@qssolutions/ssas-registration-form 1.0.9 → 2.0.1

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 (53) hide show
  1. package/README.md +7 -2
  2. package/dist/components/FormComponentRenderer.d.ts +5 -5
  3. package/dist/components/FormComponentRenderer.d.ts.map +1 -1
  4. package/dist/components/LowerFormSection.d.ts.map +1 -1
  5. package/dist/components/SSASRegistrationForm.d.ts.map +1 -1
  6. package/dist/components/UpperFormSection.d.ts +5 -5
  7. package/dist/components/UpperFormSection.d.ts.map +1 -1
  8. package/dist/components/common/FormThemeProvider.d.ts +17 -0
  9. package/dist/components/common/FormThemeProvider.d.ts.map +1 -0
  10. package/dist/components/common/SSASCheckbox.d.ts +27 -7
  11. package/dist/components/common/SSASCheckbox.d.ts.map +1 -1
  12. package/dist/components/common/SSASDropdown.d.ts +24 -0
  13. package/dist/components/common/SSASDropdown.d.ts.map +1 -0
  14. package/dist/components/common/SSASPrimaryButton.d.ts +27 -3
  15. package/dist/components/common/SSASPrimaryButton.d.ts.map +1 -1
  16. package/dist/components/common/SSASTextInput.d.ts +19 -0
  17. package/dist/components/common/SSASTextInput.d.ts.map +1 -0
  18. package/dist/components/common/index.d.ts +3 -0
  19. package/dist/components/common/index.d.ts.map +1 -1
  20. package/dist/components/form-fields/ControlledCheckbox.d.ts +11 -4
  21. package/dist/components/form-fields/ControlledCheckbox.d.ts.map +1 -1
  22. package/dist/components/form-fields/ControlledComboBox.d.ts +16 -3
  23. package/dist/components/form-fields/ControlledComboBox.d.ts.map +1 -1
  24. package/dist/components/form-fields/ControlledDropdown.d.ts +9 -2
  25. package/dist/components/form-fields/ControlledDropdown.d.ts.map +1 -1
  26. package/dist/components/form-fields/ControlledTextField.d.ts +2 -2
  27. package/dist/components/form-fields/ControlledTextField.d.ts.map +1 -1
  28. package/dist/components/form-fields/ControlledTextFieldAsync.d.ts +2 -2
  29. package/dist/components/form-fields/ControlledTextFieldAsync.d.ts.map +1 -1
  30. package/dist/index.d.ts +1 -1
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.esm.js +2970 -1767
  33. package/dist/index.esm.js.map +1 -1
  34. package/dist/index.js +2970 -1768
  35. package/dist/index.js.map +1 -1
  36. package/dist/models/form-data.d.ts +4 -4
  37. package/dist/models/form-data.d.ts.map +1 -1
  38. package/dist/models/options.d.ts +11 -0
  39. package/dist/models/options.d.ts.map +1 -0
  40. package/dist/styles/brand-theme.d.ts +13 -0
  41. package/dist/styles/brand-theme.d.ts.map +1 -0
  42. package/dist/styles/defaultStyles.d.ts +8 -142
  43. package/dist/styles/defaultStyles.d.ts.map +1 -1
  44. package/dist/styles/field-styles.d.ts +18 -0
  45. package/dist/styles/field-styles.d.ts.map +1 -0
  46. package/dist/utils/constants.d.ts +2 -2
  47. package/dist/utils/constants.d.ts.map +1 -1
  48. package/dist/web-component.d.ts.map +1 -1
  49. package/dist/web-component.js +41242 -43908
  50. package/dist/web-component.js.map +1 -1
  51. package/dist/web-component.min.js +85 -4
  52. package/dist/web-component.min.js.map +1 -1
  53. package/package.json +5 -4
@@ -1,4 +1,4 @@
1
- var SSASFormWebComponent=function(e){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r={exports:{}},o={},i=Symbol.for("react.element"),a=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),d=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.iterator;var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,b={};function _(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||v}function C(){}function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||v}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},C.prototype=_.prototype;var S=w.prototype=new C;S.constructor=w,y(S,_.prototype),S.isPureReactComponent=!0;var x=Array.isArray,k=Object.prototype.hasOwnProperty,E={current:null},F={key:!0,ref:!0,__self:!0,__source:!0};function I(e,t,n){var r,o={},a=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)k.call(t,r)&&!F.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===o[r]&&(o[r]=s[r]);return{$$typeof:i,type:e,key:a,ref:l,props:o,_owner:E.current}}function T(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var P=/\/+/g;function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function D(e,t,n,r,o){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s=!1;if(null===e)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case i:case a:s=!0}}if(s)return o=o(s=e),e=""===r?"."+R(s,0):r,x(o)?(n="",null!=e&&(n=e.replace(P,"$&/")+"/"),D(o,t,n,"",function(e){return e})):null!=o&&(T(o)&&(o=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(P,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=""===r?".":r+":",x(e))for(var u=0;u<e.length;u++){var c=r+R(l=e[u],u);s+=D(l,t,n,c,o)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=g&&e[g]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(l=e.next()).done;)s+=D(l=l.value,t,n,c=r+R(l,u++),o);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function M(e,t,n){if(null==e)return e;var r=[],o=0;return D(e,r,"","",function(e){return t.call(n,e,o++)}),r}function O(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var A={current:null},L={transition:null},N={ReactCurrentDispatcher:A,ReactCurrentBatchConfig:L,ReactCurrentOwner:E};function B(){throw Error("act(...) is not supported in production builds of React.")}o.Children={map:M,forEach:function(e,t,n){M(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return M(e,function(){t++}),t},toArray:function(e){return M(e,function(e){return e})||[]},only:function(e){if(!T(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},o.Component=_,o.Fragment=l,o.Profiler=u,o.PureComponent=w,o.StrictMode=s,o.Suspense=p,o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,o.act=B,o.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=y({},e.props),o=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=E.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(u in t)k.call(t,u)&&!F.hasOwnProperty(u)&&(r[u]=void 0===t[u]&&void 0!==s?s[u]:t[u])}var u=arguments.length-2;if(1===u)r.children=n;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:i,type:e.type,key:o,ref:a,props:r,_owner:l}},o.createContext=function(e){return(e={$$typeof:d,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},o.createElement=I,o.createFactory=function(e){var t=I.bind(null,e);return t.type=e,t},o.createRef=function(){return{current:null}},o.forwardRef=function(e){return{$$typeof:f,render:e}},o.isValidElement=T,o.lazy=function(e){return{$$typeof:m,_payload:{_status:-1,_result:e},_init:O}},o.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},o.startTransition=function(e){var t=L.transition;L.transition={};try{e()}finally{L.transition=t}},o.unstable_act=B,o.useCallback=function(e,t){return A.current.useCallback(e,t)},o.useContext=function(e){return A.current.useContext(e)},o.useDebugValue=function(){},o.useDeferredValue=function(e){return A.current.useDeferredValue(e)},o.useEffect=function(e,t){return A.current.useEffect(e,t)},o.useId=function(){return A.current.useId()},o.useImperativeHandle=function(e,t,n){return A.current.useImperativeHandle(e,t,n)},o.useInsertionEffect=function(e,t){return A.current.useInsertionEffect(e,t)},o.useLayoutEffect=function(e,t){return A.current.useLayoutEffect(e,t)},o.useMemo=function(e,t){return A.current.useMemo(e,t)},o.useReducer=function(e,t,n){return A.current.useReducer(e,t,n)},o.useRef=function(e){return A.current.useRef(e)},o.useState=function(e){return A.current.useState(e)},o.useSyncExternalStore=function(e,t,n){return A.current.useSyncExternalStore(e,t,n)},o.useTransition=function(){return A.current.useTransition()},o.version="18.3.1",r.exports=o;var z=r.exports,H=n(z),V={},W={exports:{}},U={},j={exports:{}},K={};
1
+ var SSASFormWebComponent=function(e){"use strict";function t(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(r){if("default"!==r&&!(r in e)){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}})}),Object.freeze(e)}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var o={exports:{}},a={},i=Symbol.for("react.element"),l=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),f=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.iterator;var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,w={};function k(e,t,r){this.props=e,this.context=t,this.refs=w,this.updater=r||b}function x(){}function _(e,t,r){this.props=e,this.context=t,this.refs=w,this.updater=r||b}k.prototype.isReactComponent={},k.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},k.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=k.prototype;var S=_.prototype=new x;S.constructor=_,y(S,k.prototype),S.isPureReactComponent=!0;var B=Array.isArray,E=Object.prototype.hasOwnProperty,C={current:null},z={key:!0,ref:!0,__self:!0,__source:!0};function N(e,t,r){var n,o={},a=null,l=null;if(null!=t)for(n in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)E.call(t,n)&&!z.hasOwnProperty(n)&&(o[n]=t[n]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var c=Array(s),u=0;u<s;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(n in s=e.defaultProps)void 0===o[n]&&(o[n]=s[n]);return{$$typeof:i,type:e,key:a,ref:l,props:o,_owner:C.current}}function T(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var F=/\/+/g;function R(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function P(e,t,r,n,o){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var s=!1;if(null===e)s=!0;else switch(a){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case i:case l:s=!0}}if(s)return o=o(s=e),e=""===n?"."+R(s,0):n,B(o)?(r="",null!=e&&(r=e.replace(F,"$&/")+"/"),P(o,t,r,"",function(e){return e})):null!=o&&(T(o)&&(o=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,r+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(F,"$&/")+"/")+e)),t.push(o)),1;if(s=0,n=""===n?".":n+":",B(e))for(var c=0;c<e.length;c++){var u=n+R(a=e[c],c);s+=P(a,t,r,u,o)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=v&&e[v]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(a=e.next()).done;)s+=P(a=a.value,t,r,u=n+R(a,c++),o);else if("object"===a)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function O(e,t,r){if(null==e)return e;var n=[],o=0;return P(e,n,"","",function(e){return t.call(r,e,o++)}),n}function j(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D={current:null},A={transition:null},I={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:A,ReactCurrentOwner:C};function q(){throw Error("act(...) is not supported in production builds of React.")}a.Children={map:O,forEach:function(e,t,r){O(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return O(e,function(){t++}),t},toArray:function(e){return O(e,function(e){return e})||[]},only:function(e){if(!T(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},a.Component=k,a.Fragment=s,a.Profiler=u,a.PureComponent=_,a.StrictMode=c,a.Suspense=h,a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,a.act=q,a.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=y({},e.props),o=e.key,a=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,l=C.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(c in t)E.call(t,c)&&!z.hasOwnProperty(c)&&(n[c]=void 0===t[c]&&void 0!==s?s[c]:t[c])}var c=arguments.length-2;if(1===c)n.children=r;else if(1<c){s=Array(c);for(var u=0;u<c;u++)s[u]=arguments[u+2];n.children=s}return{$$typeof:i,type:e.type,key:o,ref:a,props:n,_owner:l}},a.createContext=function(e){return(e={$$typeof:f,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:d,_context:e},e.Consumer=e},a.createElement=N,a.createFactory=function(e){var t=N.bind(null,e);return t.type=e,t},a.createRef=function(){return{current:null}},a.forwardRef=function(e){return{$$typeof:p,render:e}},a.isValidElement=T,a.lazy=function(e){return{$$typeof:g,_payload:{_status:-1,_result:e},_init:j}},a.memo=function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},a.startTransition=function(e){var t=A.transition;A.transition={};try{e()}finally{A.transition=t}},a.unstable_act=q,a.useCallback=function(e,t){return D.current.useCallback(e,t)},a.useContext=function(e){return D.current.useContext(e)},a.useDebugValue=function(){},a.useDeferredValue=function(e){return D.current.useDeferredValue(e)},a.useEffect=function(e,t){return D.current.useEffect(e,t)},a.useId=function(){return D.current.useId()},a.useImperativeHandle=function(e,t,r){return D.current.useImperativeHandle(e,t,r)},a.useInsertionEffect=function(e,t){return D.current.useInsertionEffect(e,t)},a.useLayoutEffect=function(e,t){return D.current.useLayoutEffect(e,t)},a.useMemo=function(e,t){return D.current.useMemo(e,t)},a.useReducer=function(e,t,r){return D.current.useReducer(e,t,r)},a.useRef=function(e){return D.current.useRef(e)},a.useState=function(e){return D.current.useState(e)},a.useSyncExternalStore=function(e,t,r){return D.current.useSyncExternalStore(e,t,r)},a.useTransition=function(){return D.current.useTransition()},a.version="18.3.1",o.exports=a;var L=o.exports,M=n(L),H=t({__proto__:null,default:M},[L]),V={},W={exports:{}},U={},$={exports:{}},X={};
2
2
  /**
3
3
  * @license React
4
4
  * scheduler.production.min.js
@@ -8,7 +8,7 @@ var SSASFormWebComponent=function(e){"use strict";var t="undefined"!=typeof glob
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
10
  */
11
- !function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<i&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function _(e){if(m=!1,b(e),!h)if(null!==n(s))h=!0,D(C);else{var t=n(u);null!==t&&M(_,t.startTime-e)}}function C(t,o){h=!1,m&&(m=!1,v(k),k=-1),p=!0;var i=f;try{for(b(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!I());){var a=d.callback;if("function"==typeof a){d.callback=null,f=d.priorityLevel;var l=a(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),b(o)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var g=n(u);null!==g&&M(_,g.startTime-o),c=!1}return c}finally{d=null,f=i,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var w,S=!1,x=null,k=-1,E=5,F=-1;function I(){return!(e.unstable_now()-F<E)}function T(){if(null!==x){var t=e.unstable_now();F=t;var n=!0;try{n=x(!0,t)}finally{n?w():(S=!1,x=null)}}else S=!1}if("function"==typeof y)w=function(){y(T)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,R=P.port2;P.port1.onmessage=T,w=function(){R.postMessage(null)}}else w=function(){g(T,0)};function D(e){x=e,S||(S=!0,w())}function M(t,n){k=g(function(){t(e.unstable_now())},n)}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(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,D(C))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,o,i){var a=e.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(r.sortIndex=i,t(u,r),null===n(s)&&r===n(u)&&(m?(v(k),k=-1):m=!0,M(_,i-a))):(r.sortIndex=l,t(s,r),h||p||(h=!0,D(C))),r},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(K),j.exports=K;var q=j.exports,G=z,$=q;
11
+ !function(e){function t(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,a=e[n];if(!(0<o(a,t)))break e;e[n]=t,e[r]=a,r=n}}function r(e){return 0===e.length?null:e[0]}function n(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,a=e.length,i=a>>>1;n<i;){var l=2*(n+1)-1,s=e[l],c=l+1,u=e[c];if(0>o(s,r))c<a&&0>o(u,s)?(e[n]=u,e[c]=r,n=c):(e[n]=s,e[l]=r,n=l);else{if(!(c<a&&0>o(u,r)))break e;e[n]=u,e[c]=r,n=c}}}return t}function o(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],c=[],u=1,d=null,f=3,p=!1,h=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var o=r(c);null!==o;){if(null===o.callback)n(c);else{if(!(o.startTime<=e))break;n(c),o.sortIndex=o.expirationTime,t(s,o)}o=r(c)}}function w(e){if(m=!1,y(e),!h)if(null!==r(s))h=!0,R(k);else{var t=r(c);null!==t&&P(w,t.startTime-e)}}function k(t,o){h=!1,m&&(m=!1,v(B),B=-1),p=!0;var a=f;try{for(y(o),d=r(s);null!==d&&(!(d.expirationTime>o)||t&&!z());){var i=d.callback;if("function"==typeof i){d.callback=null,f=d.priorityLevel;var l=i(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===r(s)&&n(s),y(o)}else n(s);d=r(s)}if(null!==d)var u=!0;else{var g=r(c);null!==g&&P(w,g.startTime-o),u=!1}return u}finally{d=null,f=a,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,_=!1,S=null,B=-1,E=5,C=-1;function z(){return!(e.unstable_now()-C<E)}function N(){if(null!==S){var t=e.unstable_now();C=t;var r=!0;try{r=S(!0,t)}finally{r?x():(_=!1,S=null)}}else _=!1}if("function"==typeof b)x=function(){b(N)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,F=T.port2;T.port1.onmessage=N,x=function(){F.postMessage(null)}}else x=function(){g(N,0)};function R(e){S=e,_||(_=!0,x())}function P(t,r){B=g(function(){t(e.unstable_now())},r)}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(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,R(k))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return r(s)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var r=f;f=t;try{return e()}finally{f=r}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=f;f=e;try{return t()}finally{f=r}},e.unstable_scheduleCallback=function(n,o,a){var i=e.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?i+a:i:a=i,n){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return n={id:u++,callback:o,priorityLevel:n,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(n.sortIndex=a,t(c,n),null===r(s)&&n===r(c)&&(m?(v(B),B=-1):m=!0,P(w,a-i))):(n.sortIndex=l,t(s,n),h||p||(h=!0,R(k))),n},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(e){var t=f;return function(){var r=f;f=t;try{return e.apply(this,arguments)}finally{f=r}}}}(X),$.exports=X;var G=$.exports,K=L,Q=G;
12
12
  /**
13
13
  * @license React
14
14
  * react-dom.production.min.js
@@ -17,7 +17,7 @@ var SSASFormWebComponent=function(e){"use strict";var t="undefined"!=typeof glob
17
17
  *
18
18
  * This source code is licensed under the MIT license found in the
19
19
  * LICENSE file in the root directory of this source tree.
20
- */function Q(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Z=new Set,Y={};function J(e,t){X(e,t),X(e+"Capture",t)}function X(e,t){for(Y[e]=t,e=0;e<t.length;e++)Z.add(t[e])}var ee=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),te=Object.prototype.hasOwnProperty,ne=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,re={},oe={};function ie(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var ae={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ae[e]=new ie(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ae[t]=new ie(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){ae[e]=new ie(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ae[e]=new ie(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ae[e]=new ie(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){ae[e]=new ie(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){ae[e]=new ie(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){ae[e]=new ie(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){ae[e]=new ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var le=/[\-:]([a-z])/g;function se(e){return e[1].toUpperCase()}function ue(e,t,n,r){var o=ae.hasOwnProperty(t)?ae[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!te.call(oe,e)||!te.call(re,e)&&(ne.test(e)?oe[e]=!0:(re[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(le,se);ae[t]=new ie(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(le,se);ae[t]=new ie(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(le,se);ae[t]=new ie(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){ae[e]=new ie(e,1,!1,e.toLowerCase(),null,!1,!1)}),ae.xlinkHref=new ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){ae[e]=new ie(e,1,!1,e.toLowerCase(),null,!0,!0)});var ce=G.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,de=Symbol.for("react.element"),fe=Symbol.for("react.portal"),pe=Symbol.for("react.fragment"),he=Symbol.for("react.strict_mode"),me=Symbol.for("react.profiler"),ge=Symbol.for("react.provider"),ve=Symbol.for("react.context"),ye=Symbol.for("react.forward_ref"),be=Symbol.for("react.suspense"),_e=Symbol.for("react.suspense_list"),Ce=Symbol.for("react.memo"),we=Symbol.for("react.lazy"),Se=Symbol.for("react.offscreen"),xe=Symbol.iterator;function ke(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=xe&&e[xe]||e["@@iterator"])?e:null}var Ee,Fe=Object.assign;function Ie(e){if(void 0===Ee)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Ee=t&&t[1]||""}return"\n"+Ee+e}var Te=!1;function Pe(e,t){if(!e||Te)return"";Te=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l]){var s="\n"+o[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=a&&0<=l);break}}}finally{Te=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ie(e):""}function Re(e){switch(e.tag){case 5:return Ie(e.type);case 16:return Ie("Lazy");case 13:return Ie("Suspense");case 19:return Ie("SuspenseList");case 0:case 2:case 15:return e=Pe(e.type,!1);case 11:return e=Pe(e.type.render,!1);case 1:return e=Pe(e.type,!0);default:return""}}function De(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case pe:return"Fragment";case fe:return"Portal";case me:return"Profiler";case he:return"StrictMode";case be:return"Suspense";case _e:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ve:return(e.displayName||"Context")+".Consumer";case ge:return(e._context.displayName||"Context")+".Provider";case ye:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Ce:return null!==(t=e.displayName||null)?t:De(e.type)||"Memo";case we:t=e._payload,e=e._init;try{return De(e(t))}catch(e){}}return null}function Me(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return De(t);case 8:return t===he?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function Oe(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Ae(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Le(e){e._valueTracker||(e._valueTracker=function(e){var t=Ae(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ne(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ae(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Be(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function ze(e,t){var n=t.checked;return Fe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function He(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Oe(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Ve(e,t){null!=(t=t.checked)&&ue(e,"checked",t,!1)}function We(e,t){Ve(e,t);var n=Oe(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?je(e,t.type,n):t.hasOwnProperty("defaultValue")&&je(e,t.type,Oe(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ue(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function je(e,t,n){"number"===t&&Be(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ke=Array.isArray;function qe(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Oe(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Ge(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(Q(91));return Fe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function $e(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(Q(92));if(Ke(n)){if(1<n.length)throw Error(Q(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Oe(n)}}function Qe(e,t){var n=Oe(t.value),r=Oe(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Ze(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function Ye(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Je(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Ye(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Xe,et,tt=(et=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Xe=Xe||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Xe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return et(e,t)})}:et);function nt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var rt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ot=["Webkit","ms","Moz","O"];function it(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||rt.hasOwnProperty(e)&&rt[e]?(""+t).trim():t+"px"}function at(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=it(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(rt).forEach(function(e){ot.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),rt[t]=rt[e]})});var lt=Fe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function st(e,t){if(t){if(lt[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(Q(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(Q(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(Q(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(Q(62))}}function ut(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ct=null;function dt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ft=null,pt=null,ht=null;function mt(e){if(e=ci(e)){if("function"!=typeof ft)throw Error(Q(280));var t=e.stateNode;t&&(t=fi(t),ft(e.stateNode,e.type,t))}}function gt(e){pt?ht?ht.push(e):ht=[e]:pt=e}function vt(){if(pt){var e=pt,t=ht;if(ht=pt=null,mt(e),t)for(e=0;e<t.length;e++)mt(t[e])}}function yt(e,t){return e(t)}function bt(){}var _t=!1;function Ct(e,t,n){if(_t)return e(t,n);_t=!0;try{return yt(e,t,n)}finally{_t=!1,(null!==pt||null!==ht)&&(bt(),vt())}}function wt(e,t){var n=e.stateNode;if(null===n)return null;var r=fi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(Q(231,t,typeof n));return n}var St=!1;if(ee)try{var xt={};Object.defineProperty(xt,"passive",{get:function(){St=!0}}),window.addEventListener("test",xt,xt),window.removeEventListener("test",xt,xt)}catch(et){St=!1}function kt(e,t,n,r,o,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Et=!1,Ft=null,It=!1,Tt=null,Pt={onError:function(e){Et=!0,Ft=e}};function Rt(e,t,n,r,o,i,a,l,s){Et=!1,Ft=null,kt.apply(Pt,arguments)}function Dt(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Mt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ot(e){if(Dt(e)!==e)throw Error(Q(188))}function At(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=Dt(e)))throw Error(Q(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Ot(o),e;if(i===r)return Ot(o),t;i=i.sibling}throw Error(Q(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(Q(189))}}if(n.alternate!==r)throw Error(Q(190))}if(3!==n.tag)throw Error(Q(188));return n.stateNode.current===n?e:t}(e),null!==e?Lt(e):null}function Lt(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Lt(e);if(null!==t)return t;e=e.sibling}return null}var Nt=$.unstable_scheduleCallback,Bt=$.unstable_cancelCallback,zt=$.unstable_shouldYield,Ht=$.unstable_requestPaint,Vt=$.unstable_now,Wt=$.unstable_getCurrentPriorityLevel,Ut=$.unstable_ImmediatePriority,jt=$.unstable_UserBlockingPriority,Kt=$.unstable_NormalPriority,qt=$.unstable_LowPriority,Gt=$.unstable_IdlePriority,$t=null,Qt=null;var Zt=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(Yt(e)/Jt|0)|0},Yt=Math.log,Jt=Math.LN2;var Xt=64,en=4194304;function tn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function nn(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var l=a&~o;0!==l?r=tn(l):0!==(i&=a)&&(r=tn(i))}else 0!==(a=n&~o)?r=tn(a):0!==i&&(r=tn(i));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&4194240&i))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Zt(t)),r|=e[n],t&=~o;return r}function rn(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function on(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function an(){var e=Xt;return!(4194240&(Xt<<=1))&&(Xt=64),e}function ln(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function sn(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-Zt(t)]=n}function un(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Zt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var cn=0;function dn(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var fn,pn,hn,mn,gn,vn=!1,yn=[],bn=null,_n=null,Cn=null,wn=new Map,Sn=new Map,xn=[],kn="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function En(e,t){switch(e){case"focusin":case"focusout":bn=null;break;case"dragenter":case"dragleave":_n=null;break;case"mouseover":case"mouseout":Cn=null;break;case"pointerover":case"pointerout":wn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Sn.delete(t.pointerId)}}function Fn(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=ci(t))&&pn(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function In(e){var t=ui(e.target);if(null!==t){var n=Dt(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Mt(n)))return e.blockedOn=t,void gn(e.priority,function(){hn(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Tn(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Hn(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ci(n))&&pn(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ct=r,n.target.dispatchEvent(r),ct=null,t.shift()}return!0}function Pn(e,t,n){Tn(e)&&n.delete(t)}function Rn(){vn=!1,null!==bn&&Tn(bn)&&(bn=null),null!==_n&&Tn(_n)&&(_n=null),null!==Cn&&Tn(Cn)&&(Cn=null),wn.forEach(Pn),Sn.forEach(Pn)}function Dn(e,t){e.blockedOn===t&&(e.blockedOn=null,vn||(vn=!0,$.unstable_scheduleCallback($.unstable_NormalPriority,Rn)))}function Mn(e){function t(t){return Dn(t,e)}if(0<yn.length){Dn(yn[0],e);for(var n=1;n<yn.length;n++){var r=yn[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==bn&&Dn(bn,e),null!==_n&&Dn(_n,e),null!==Cn&&Dn(Cn,e),wn.forEach(t),Sn.forEach(t),n=0;n<xn.length;n++)(r=xn[n]).blockedOn===e&&(r.blockedOn=null);for(;0<xn.length&&null===(n=xn[0]).blockedOn;)In(n),null===n.blockedOn&&xn.shift()}var On=ce.ReactCurrentBatchConfig,An=!0;function Ln(e,t,n,r){var o=cn,i=On.transition;On.transition=null;try{cn=1,Bn(e,t,n,r)}finally{cn=o,On.transition=i}}function Nn(e,t,n,r){var o=cn,i=On.transition;On.transition=null;try{cn=4,Bn(e,t,n,r)}finally{cn=o,On.transition=i}}function Bn(e,t,n,r){if(An){var o=Hn(e,t,n,r);if(null===o)Ao(e,t,r,zn,n),En(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return bn=Fn(bn,e,t,n,r,o),!0;case"dragenter":return _n=Fn(_n,e,t,n,r,o),!0;case"mouseover":return Cn=Fn(Cn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return wn.set(i,Fn(wn.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Sn.set(i,Fn(Sn.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(En(e,r),4&t&&-1<kn.indexOf(e)){for(;null!==o;){var i=ci(o);if(null!==i&&fn(i),null===(i=Hn(e,t,n,r))&&Ao(e,t,r,zn,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Ao(e,t,r,null,n)}}var zn=null;function Hn(e,t,n,r){if(zn=null,null!==(e=ui(e=dt(r))))if(null===(t=Dt(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Mt(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return zn=e,null}function Vn(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Wt()){case Ut:return 1;case jt:return 4;case Kt:case qt:return 16;case Gt:return 536870912;default:return 16}default:return 16}}var Wn=null,Un=null,jn=null;function Kn(){if(jn)return jn;var e,t,n=Un,r=n.length,o="value"in Wn?Wn.value:Wn.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return jn=o.slice(e,1<t?1-t:void 0)}function qn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Gn(){return!0}function $n(){return!1}function Qn(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?Gn:$n,this.isPropagationStopped=$n,this}return Fe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Gn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Gn)},persist:function(){},isPersistent:Gn}),t}var Zn,Yn,Jn,Xn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},er=Qn(Xn),tr=Fe({},Xn,{view:0,detail:0}),nr=Qn(tr),rr=Fe({},tr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mr,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Jn&&(Jn&&"mousemove"===e.type?(Zn=e.screenX-Jn.screenX,Yn=e.screenY-Jn.screenY):Yn=Zn=0,Jn=e),Zn)},movementY:function(e){return"movementY"in e?e.movementY:Yn}}),or=Qn(rr),ir=Qn(Fe({},rr,{dataTransfer:0})),ar=Qn(Fe({},tr,{relatedTarget:0})),lr=Qn(Fe({},Xn,{animationName:0,elapsedTime:0,pseudoElement:0})),sr=Fe({},Xn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ur=Qn(sr),cr=Qn(Fe({},Xn,{data:0})),dr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},pr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=pr[e])&&!!t[e]}function mr(){return hr}var gr=Fe({},tr,{key:function(e){if(e.key){var t=dr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=qn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?fr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mr,charCode:function(e){return"keypress"===e.type?qn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?qn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),vr=Qn(gr),yr=Qn(Fe({},rr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),br=Qn(Fe({},tr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mr})),_r=Qn(Fe({},Xn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Cr=Fe({},rr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),wr=Qn(Cr),Sr=[9,13,27,32],xr=ee&&"CompositionEvent"in window,kr=null;ee&&"documentMode"in document&&(kr=document.documentMode);var Er=ee&&"TextEvent"in window&&!kr,Fr=ee&&(!xr||kr&&8<kr&&11>=kr),Ir=String.fromCharCode(32),Tr=!1;function Pr(e,t){switch(e){case"keyup":return-1!==Sr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Dr=!1;var Mr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Or(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Mr[e.type]:"textarea"===t}function Ar(e,t,n,r){gt(r),0<(t=No(t,"onChange")).length&&(n=new er("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Lr=null,Nr=null;function Br(e){To(e,0)}function zr(e){if(Ne(di(e)))return e}function Hr(e,t){if("change"===e)return t}var Vr=!1;if(ee){var Wr;if(ee){var Ur="oninput"in document;if(!Ur){var jr=document.createElement("div");jr.setAttribute("oninput","return;"),Ur="function"==typeof jr.oninput}Wr=Ur}else Wr=!1;Vr=Wr&&(!document.documentMode||9<document.documentMode)}function Kr(){Lr&&(Lr.detachEvent("onpropertychange",qr),Nr=Lr=null)}function qr(e){if("value"===e.propertyName&&zr(Nr)){var t=[];Ar(t,Nr,e,dt(e)),Ct(Br,t)}}function Gr(e,t,n){"focusin"===e?(Kr(),Nr=n,(Lr=t).attachEvent("onpropertychange",qr)):"focusout"===e&&Kr()}function $r(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return zr(Nr)}function Qr(e,t){if("click"===e)return zr(t)}function Zr(e,t){if("input"===e||"change"===e)return zr(t)}var Yr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Jr(e,t){if(Yr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!te.call(t,o)||!Yr(e[o],t[o]))return!1}return!0}function Xr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function eo(e,t){var n,r=Xr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Xr(r)}}function to(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?to(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function no(){for(var e=window,t=Be();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Be((e=t.contentWindow).document)}return t}function ro(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function oo(e){var t=no(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&to(n.ownerDocument.documentElement,n)){if(null!==r&&ro(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=eo(n,i);var a=eo(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var io=ee&&"documentMode"in document&&11>=document.documentMode,ao=null,lo=null,so=null,uo=!1;function co(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;uo||null==ao||ao!==Be(r)||("selectionStart"in(r=ao)&&ro(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},so&&Jr(so,r)||(so=r,0<(r=No(lo,"onSelect")).length&&(t=new er("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ao)))}function fo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var po={animationend:fo("Animation","AnimationEnd"),animationiteration:fo("Animation","AnimationIteration"),animationstart:fo("Animation","AnimationStart"),transitionend:fo("Transition","TransitionEnd")},ho={},mo={};function go(e){if(ho[e])return ho[e];if(!po[e])return e;var t,n=po[e];for(t in n)if(n.hasOwnProperty(t)&&t in mo)return ho[e]=n[t];return e}ee&&(mo=document.createElement("div").style,"AnimationEvent"in window||(delete po.animationend.animation,delete po.animationiteration.animation,delete po.animationstart.animation),"TransitionEvent"in window||delete po.transitionend.transition);var vo=go("animationend"),yo=go("animationiteration"),bo=go("animationstart"),_o=go("transitionend"),Co=new Map,wo="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function So(e,t){Co.set(e,t),J(t,[e])}for(var xo=0;xo<wo.length;xo++){var ko=wo[xo];So(ko.toLowerCase(),"on"+(ko[0].toUpperCase()+ko.slice(1)))}So(vo,"onAnimationEnd"),So(yo,"onAnimationIteration"),So(bo,"onAnimationStart"),So("dblclick","onDoubleClick"),So("focusin","onFocus"),So("focusout","onBlur"),So(_o,"onTransitionEnd"),X("onMouseEnter",["mouseout","mouseover"]),X("onMouseLeave",["mouseout","mouseover"]),X("onPointerEnter",["pointerout","pointerover"]),X("onPointerLeave",["pointerout","pointerover"]),J("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),J("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),J("onBeforeInput",["compositionend","keypress","textInput","paste"]),J("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),J("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),J("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Eo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Fo=new Set("cancel close invalid load scroll toggle".split(" ").concat(Eo));function Io(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,l,s){if(Rt.apply(this,arguments),Et){if(!Et)throw Error(Q(198));var u=Ft;Et=!1,Ft=null,It||(It=!0,Tt=u)}}(r,t,void 0,e),e.currentTarget=null}function To(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;Io(o,l,u),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;Io(o,l,u),i=s}}}if(It)throw e=Tt,It=!1,Tt=null,e}function Po(e,t){var n=t[ai];void 0===n&&(n=t[ai]=new Set);var r=e+"__bubble";n.has(r)||(Oo(t,e,2,!1),n.add(r))}function Ro(e,t,n){var r=0;t&&(r|=4),Oo(n,e,r,t)}var Do="_reactListening"+Math.random().toString(36).slice(2);function Mo(e){if(!e[Do]){e[Do]=!0,Z.forEach(function(t){"selectionchange"!==t&&(Fo.has(t)||Ro(t,!1,e),Ro(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Do]||(t[Do]=!0,Ro("selectionchange",!1,t))}}function Oo(e,t,n,r){switch(Vn(t)){case 1:var o=Ln;break;case 4:o=Nn;break;default:o=Bn}n=o.bind(null,t,n,e),o=void 0,!St||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Ao(e,t,n,r,o){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=ui(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}Ct(function(){var r=i,o=dt(n),a=[];e:{var l=Co.get(e);if(void 0!==l){var s=er,u=e;switch(e){case"keypress":if(0===qn(n))break e;case"keydown":case"keyup":s=vr;break;case"focusin":u="focus",s=ar;break;case"focusout":u="blur",s=ar;break;case"beforeblur":case"afterblur":s=ar;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=or;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=ir;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=br;break;case vo:case yo:case bo:s=lr;break;case _o:s=_r;break;case"scroll":s=nr;break;case"wheel":s=wr;break;case"copy":case"cut":case"paste":s=ur;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=yr}var c=!!(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=wt(h,f))&&c.push(Lo(h,m,p)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),a.push({event:l,listeners:c}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===ct||!(u=n.relatedTarget||n.fromElement)||!ui(u)&&!u[ii])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?ui(u):null)&&(u!==(d=Dt(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=or,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=yr,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:di(s),p=null==u?l:di(u),(l=new c(m,h+"leave",s,n,o)).target=d,l.relatedTarget=p,m=null,ui(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=Bo(p))h++;for(p=0,m=f;m;m=Bo(m))p++;for(;0<h-p;)c=Bo(c),h--;for(;0<p-h;)f=Bo(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Bo(c),f=Bo(f)}c=null}else c=null;null!==s&&zo(a,l,s,c,!1),null!==u&&null!==d&&zo(a,d,u,c,!0)}if("select"===(s=(l=r?di(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Hr;else if(Or(l))if(Vr)g=Zr;else{g=$r;var v=Gr}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=Qr);switch(g&&(g=g(e,r))?Ar(a,g,n,o):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&je(l,"number",l.value)),v=r?di(r):window,e){case"focusin":(Or(v)||"true"===v.contentEditable)&&(ao=v,lo=r,so=null);break;case"focusout":so=lo=ao=null;break;case"mousedown":uo=!0;break;case"contextmenu":case"mouseup":case"dragend":uo=!1,co(a,n,o);break;case"selectionchange":if(io)break;case"keydown":case"keyup":co(a,n,o)}var y;if(xr)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Dr?Pr(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Fr&&"ko"!==n.locale&&(Dr||"onCompositionStart"!==b?"onCompositionEnd"===b&&Dr&&(y=Kn()):(Un="value"in(Wn=o)?Wn.value:Wn.textContent,Dr=!0)),0<(v=No(r,b)).length&&(b=new cr(b,e,null,n,o),a.push({event:b,listeners:v}),y?b.data=y:null!==(y=Rr(n))&&(b.data=y))),(y=Er?function(e,t){switch(e){case"compositionend":return Rr(t);case"keypress":return 32!==t.which?null:(Tr=!0,Ir);case"textInput":return(e=t.data)===Ir&&Tr?null:e;default:return null}}(e,n):function(e,t){if(Dr)return"compositionend"===e||!xr&&Pr(e,t)?(e=Kn(),jn=Un=Wn=null,Dr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fr&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=No(r,"onBeforeInput")).length&&(o=new cr("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}To(a,t)})}function Lo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function No(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=wt(e,n))&&r.unshift(Lo(e,i,o)),null!=(i=wt(e,t))&&r.push(Lo(e,i,o))),e=e.return}return r}function Bo(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function zo(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=wt(n,i))&&a.unshift(Lo(n,s,l)):o||null!=(s=wt(n,i))&&a.push(Lo(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Ho=/\r\n?/g,Vo=/\u0000|\uFFFD/g;function Wo(e){return("string"==typeof e?e:""+e).replace(Ho,"\n").replace(Vo,"")}function Uo(e,t,n){if(t=Wo(t),Wo(e)!==t&&n)throw Error(Q(425))}function jo(){}var Ko=null,qo=null;function Go(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var $o="function"==typeof setTimeout?setTimeout:void 0,Qo="function"==typeof clearTimeout?clearTimeout:void 0,Zo="function"==typeof Promise?Promise:void 0,Yo="function"==typeof queueMicrotask?queueMicrotask:void 0!==Zo?function(e){return Zo.resolve(null).then(e).catch(Jo)}:$o;function Jo(e){setTimeout(function(){throw e})}function Xo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Mn(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Mn(t)}function ei(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ti(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var ni=Math.random().toString(36).slice(2),ri="__reactFiber$"+ni,oi="__reactProps$"+ni,ii="__reactContainer$"+ni,ai="__reactEvents$"+ni,li="__reactListeners$"+ni,si="__reactHandles$"+ni;function ui(e){var t=e[ri];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ii]||n[ri]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ti(e);null!==e;){if(n=e[ri])return n;e=ti(e)}return t}n=(e=n).parentNode}return null}function ci(e){return!(e=e[ri]||e[ii])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function di(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(Q(33))}function fi(e){return e[oi]||null}var pi=[],hi=-1;function mi(e){return{current:e}}function gi(e){0>hi||(e.current=pi[hi],pi[hi]=null,hi--)}function vi(e,t){hi++,pi[hi]=e.current,e.current=t}var yi={},bi=mi(yi),_i=mi(!1),Ci=yi;function wi(e,t){var n=e.type.contextTypes;if(!n)return yi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Si(e){return null!=(e=e.childContextTypes)}function xi(){gi(_i),gi(bi)}function ki(e,t,n){if(bi.current!==yi)throw Error(Q(168));vi(bi,t),vi(_i,n)}function Ei(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(Q(108,Me(e)||"Unknown",o));return Fe({},n,r)}function Fi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||yi,Ci=bi.current,vi(bi,e),vi(_i,_i.current),!0}function Ii(e,t,n){var r=e.stateNode;if(!r)throw Error(Q(169));n?(e=Ei(e,t,Ci),r.__reactInternalMemoizedMergedChildContext=e,gi(_i),gi(bi),vi(bi,e)):gi(_i),vi(_i,n)}var Ti=null,Pi=!1,Ri=!1;function Di(e){null===Ti?Ti=[e]:Ti.push(e)}function Mi(){if(!Ri&&null!==Ti){Ri=!0;var e=0,t=cn;try{var n=Ti;for(cn=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Ti=null,Pi=!1}catch(t){throw null!==Ti&&(Ti=Ti.slice(e+1)),Nt(Ut,Mi),t}finally{cn=t,Ri=!1}}return null}var Oi=[],Ai=0,Li=null,Ni=0,Bi=[],zi=0,Hi=null,Vi=1,Wi="";function Ui(e,t){Oi[Ai++]=Ni,Oi[Ai++]=Li,Li=e,Ni=t}function ji(e,t,n){Bi[zi++]=Vi,Bi[zi++]=Wi,Bi[zi++]=Hi,Hi=e;var r=Vi;e=Wi;var o=32-Zt(r)-1;r&=~(1<<o),n+=1;var i=32-Zt(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Vi=1<<32-Zt(t)+o|n<<o|r,Wi=i+e}else Vi=1<<i|n<<o|r,Wi=e}function Ki(e){null!==e.return&&(Ui(e,1),ji(e,1,0))}function qi(e){for(;e===Li;)Li=Oi[--Ai],Oi[Ai]=null,Ni=Oi[--Ai],Oi[Ai]=null;for(;e===Hi;)Hi=Bi[--zi],Bi[zi]=null,Wi=Bi[--zi],Bi[zi]=null,Vi=Bi[--zi],Bi[zi]=null}var Gi=null,$i=null,Qi=!1,Zi=null;function Yi(e,t){var n=Cc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function Ji(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,Gi=e,$i=ei(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Gi=e,$i=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Hi?{id:Vi,overflow:Wi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Cc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Gi=e,$i=null,!0);default:return!1}}function Xi(e){return!(!(1&e.mode)||128&e.flags)}function ea(e){if(Qi){var t=$i;if(t){var n=t;if(!Ji(e,t)){if(Xi(e))throw Error(Q(418));t=ei(n.nextSibling);var r=Gi;t&&Ji(e,t)?Yi(r,n):(e.flags=-4097&e.flags|2,Qi=!1,Gi=e)}}else{if(Xi(e))throw Error(Q(418));e.flags=-4097&e.flags|2,Qi=!1,Gi=e}}}function ta(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Gi=e}function na(e){if(e!==Gi)return!1;if(!Qi)return ta(e),Qi=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Go(e.type,e.memoizedProps)),t&&(t=$i)){if(Xi(e))throw ra(),Error(Q(418));for(;t;)Yi(e,t),t=ei(t.nextSibling)}if(ta(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(Q(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){$i=ei(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}$i=null}}else $i=Gi?ei(e.stateNode.nextSibling):null;return!0}function ra(){for(var e=$i;e;)e=ei(e.nextSibling)}function oa(){$i=Gi=null,Qi=!1}function ia(e){null===Zi?Zi=[e]:Zi.push(e)}var aa=ce.ReactCurrentBatchConfig;function la(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(Q(309));var r=n.stateNode}if(!r)throw Error(Q(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(Q(284));if(!n._owner)throw Error(Q(290,e))}return e}function sa(e,t){throw e=Object.prototype.toString.call(t),Error(Q(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ua(e){return(0,e._init)(e._payload)}function ca(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Sc(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function a(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Fc(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){var i=n.type;return i===pe?c(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===we&&ua(i)===t.type)?((r=o(t,n.props)).ref=la(e,t,n),r.return=e,r):((r=xc(n.type,n.key,n.props,null,e.mode,r)).ref=la(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Ic(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,i){return null===t||7!==t.tag?((t=kc(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Fc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case de:return(n=xc(t.type,t.key,t.props,null,e.mode,n)).ref=la(e,null,t),n.return=e,n;case fe:return(t=Ic(t,e.mode,n)).return=e,t;case we:return d(e,(0,t._init)(t._payload),n)}if(Ke(t)||ke(t))return(t=kc(t,e.mode,n,null)).return=e,t;sa(e,t)}return null}function f(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case de:return n.key===o?s(e,t,n,r):null;case fe:return n.key===o?u(e,t,n,r):null;case we:return f(e,t,(o=n._init)(n._payload),r)}if(Ke(n)||ke(n))return null!==o?null:c(e,t,n,r,null);sa(e,n)}return null}function p(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case de:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case fe:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case we:return p(e,t,n,(0,r._init)(r._payload),o)}if(Ke(r)||ke(r))return c(t,e=e.get(n)||null,r,o,null);sa(t,r)}return null}function h(o,a,l,s){for(var u=null,c=null,h=a,m=a=0,g=null;null!==h&&m<l.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var v=f(o,h,l[m],s);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v,h=g}if(m===l.length)return n(o,h),Qi&&Ui(o,m),u;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(a=i(h,a,m),null===c?u=h:c.sibling=h,c=h);return Qi&&Ui(o,m),u}for(h=r(o,h);m<l.length;m++)null!==(g=p(h,o,m,l[m],s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&h.forEach(function(e){return t(o,e)}),Qi&&Ui(o,m),u}function m(o,a,l,s){var u=ke(l);if("function"!=typeof u)throw Error(Q(150));if(null==(l=u.call(l)))throw Error(Q(151));for(var c=u=null,h=a,m=a=0,g=null,v=l.next();null!==h&&!v.done;m++,v=l.next()){h.index>m?(g=h,h=null):g=h.sibling;var y=f(o,h,v.value,s);if(null===y){null===h&&(h=g);break}e&&h&&null===y.alternate&&t(o,h),a=i(y,a,m),null===c?u=y:c.sibling=y,c=y,h=g}if(v.done)return n(o,h),Qi&&Ui(o,m),u;if(null===h){for(;!v.done;m++,v=l.next())null!==(v=d(o,v.value,s))&&(a=i(v,a,m),null===c?u=v:c.sibling=v,c=v);return Qi&&Ui(o,m),u}for(h=r(o,h);!v.done;m++,v=l.next())null!==(v=p(h,o,m,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v);return e&&h.forEach(function(e){return t(o,e)}),Qi&&Ui(o,m),u}return function e(r,i,l,s){if("object"==typeof l&&null!==l&&l.type===pe&&null===l.key&&(l=l.props.children),"object"==typeof l&&null!==l){switch(l.$$typeof){case de:e:{for(var u=l.key,c=i;null!==c;){if(c.key===u){if((u=l.type)===pe){if(7===c.tag){n(r,c.sibling),(i=o(c,l.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===we&&ua(u)===c.type){n(r,c.sibling),(i=o(c,l.props)).ref=la(r,c,l),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}l.type===pe?((i=kc(l.props.children,r.mode,s,l.key)).return=r,r=i):((s=xc(l.type,l.key,l.props,null,r.mode,s)).ref=la(r,i,l),s.return=r,r=s)}return a(r);case fe:e:{for(c=l.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===l.containerInfo&&i.stateNode.implementation===l.implementation){n(r,i.sibling),(i=o(i,l.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Ic(l,r.mode,s)).return=r,r=i}return a(r);case we:return e(r,i,(c=l._init)(l._payload),s)}if(Ke(l))return h(r,i,l,s);if(ke(l))return m(r,i,l,s);sa(r,l)}return"string"==typeof l&&""!==l||"number"==typeof l?(l=""+l,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,l)).return=r,r=i):(n(r,i),(i=Fc(l,r.mode,s)).return=r,r=i),a(r)):n(r,i)}}var da=ca(!0),fa=ca(!1),pa=mi(null),ha=null,ma=null,ga=null;function va(){ga=ma=ha=null}function ya(e){var t=pa.current;gi(pa),e._currentValue=t}function ba(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function _a(e,t){ha=e,ga=ma=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(us=!0),e.firstContext=null)}function Ca(e){var t=e._currentValue;if(ga!==e)if(e={context:e,memoizedValue:t,next:null},null===ma){if(null===ha)throw Error(Q(308));ma=e,ha.dependencies={lanes:0,firstContext:e}}else ma=ma.next=e;return t}var wa=null;function Sa(e){null===wa?wa=[e]:wa.push(e)}function xa(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Sa(t)):(n.next=o.next,o.next=n),t.interleaved=n,ka(e,r)}function ka(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ea=!1;function Fa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ia(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ta(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Pa(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&yu){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,ka(e,n)}return null===(o=r.interleaved)?(t.next=t,Sa(r)):(t.next=o.next,o.next=t),r.interleaved=t,ka(e,n)}function Ra(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,un(e,n)}}function Da(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ma(e,t,n,r){var o=e.updateQueue;Ea=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==i){var d=o.baseState;for(a=0,c=u=s=null,l=i;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=Fe({},d,f);break e;case 2:Ea=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,a|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Eu|=a,e.lanes=a,e.memoizedState=d}}function Oa(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(Q(191,o));o.call(r)}}}var Aa={},La=mi(Aa),Na=mi(Aa),Ba=mi(Aa);function za(e){if(e===Aa)throw Error(Q(174));return e}function Ha(e,t){switch(vi(Ba,t),vi(Na,e),vi(La,Aa),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Je(null,"");break;default:t=Je(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}gi(La),vi(La,t)}function Va(){gi(La),gi(Na),gi(Ba)}function Wa(e){za(Ba.current);var t=za(La.current),n=Je(t,e.type);t!==n&&(vi(Na,e),vi(La,n))}function Ua(e){Na.current===e&&(gi(La),gi(Na))}var ja=mi(0);function Ka(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var qa=[];function Ga(){for(var e=0;e<qa.length;e++)qa[e]._workInProgressVersionPrimary=null;qa.length=0}var $a=ce.ReactCurrentDispatcher,Qa=ce.ReactCurrentBatchConfig,Za=0,Ya=null,Ja=null,Xa=null,el=!1,tl=!1,nl=0,rl=0;function ol(){throw Error(Q(321))}function il(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Yr(e[n],t[n]))return!1;return!0}function al(e,t,n,r,o,i){if(Za=i,Ya=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,$a.current=null===e||null===e.memoizedState?Ul:jl,e=n(r,o),tl){i=0;do{if(tl=!1,nl=0,25<=i)throw Error(Q(301));i+=1,Xa=Ja=null,t.updateQueue=null,$a.current=Kl,e=n(r,o)}while(tl)}if($a.current=Wl,t=null!==Ja&&null!==Ja.next,Za=0,Xa=Ja=Ya=null,el=!1,t)throw Error(Q(300));return e}function ll(){var e=0!==nl;return nl=0,e}function sl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Xa?Ya.memoizedState=Xa=e:Xa=Xa.next=e,Xa}function ul(){if(null===Ja){var e=Ya.alternate;e=null!==e?e.memoizedState:null}else e=Ja.next;var t=null===Xa?Ya.memoizedState:Xa.next;if(null!==t)Xa=t,Ja=e;else{if(null===e)throw Error(Q(310));e={memoizedState:(Ja=e).memoizedState,baseState:Ja.baseState,baseQueue:Ja.baseQueue,queue:Ja.queue,next:null},null===Xa?Ya.memoizedState=Xa=e:Xa=Xa.next=e}return Xa}function cl(e,t){return"function"==typeof t?t(e):t}function dl(e){var t=ul(),n=t.queue;if(null===n)throw Error(Q(311));n.lastRenderedReducer=e;var r=Ja,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var l=a=null,s=null,u=i;do{var c=u.lane;if((Za&c)===c)null!==s&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===s?(l=s=d,a=r):s=s.next=d,Ya.lanes|=c,Eu|=c}u=u.next}while(null!==u&&u!==i);null===s?a=r:s.next=l,Yr(r,t.memoizedState)||(us=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,Ya.lanes|=i,Eu|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function fl(e){var t=ul(),n=t.queue;if(null===n)throw Error(Q(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{i=e(i,a.action),a=a.next}while(a!==o);Yr(i,t.memoizedState)||(us=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function pl(){}function hl(e,t){var n=Ya,r=ul(),o=t(),i=!Yr(r.memoizedState,o);if(i&&(r.memoizedState=o,us=!0),r=r.queue,El(vl.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==Xa&&1&Xa.memoizedState.tag){if(n.flags|=2048,Cl(9,gl.bind(null,n,r,o,t),void 0,null),null===bu)throw Error(Q(349));30&Za||ml(n,t,o)}return o}function ml(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Ya.updateQueue)?(t={lastEffect:null,stores:null},Ya.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function gl(e,t,n,r){t.value=n,t.getSnapshot=r,yl(t)&&bl(e)}function vl(e,t,n){return n(function(){yl(t)&&bl(e)})}function yl(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Yr(e,n)}catch(e){return!0}}function bl(e){var t=ka(e,1);null!==t&&qu(t,e,1,-1)}function _l(e){var t=sl();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:cl,lastRenderedState:e},t.queue=e,e=e.dispatch=Bl.bind(null,Ya,e),[t.memoizedState,e]}function Cl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Ya.updateQueue)?(t={lastEffect:null,stores:null},Ya.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function wl(){return ul().memoizedState}function Sl(e,t,n,r){var o=sl();Ya.flags|=e,o.memoizedState=Cl(1|t,n,void 0,void 0===r?null:r)}function xl(e,t,n,r){var o=ul();r=void 0===r?null:r;var i=void 0;if(null!==Ja){var a=Ja.memoizedState;if(i=a.destroy,null!==r&&il(r,a.deps))return void(o.memoizedState=Cl(t,n,i,r))}Ya.flags|=e,o.memoizedState=Cl(1|t,n,i,r)}function kl(e,t){return Sl(8390656,8,e,t)}function El(e,t){return xl(2048,8,e,t)}function Fl(e,t){return xl(4,2,e,t)}function Il(e,t){return xl(4,4,e,t)}function Tl(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Pl(e,t,n){return n=null!=n?n.concat([e]):null,xl(4,4,Tl.bind(null,t,e),n)}function Rl(){}function Dl(e,t){var n=ul();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&il(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ml(e,t){var n=ul();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&il(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ol(e,t,n){return 21&Za?(Yr(n,t)||(n=an(),Ya.lanes|=n,Eu|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,us=!0),e.memoizedState=n)}function Al(e,t){var n=cn;cn=0!==n&&4>n?n:4,e(!0);var r=Qa.transition;Qa.transition={};try{e(!1),t()}finally{cn=n,Qa.transition=r}}function Ll(){return ul().memoizedState}function Nl(e,t,n){var r=Ku(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},zl(e))Hl(t,n);else if(null!==(n=xa(e,t,n,r))){qu(n,e,r,ju()),Vl(n,t,r)}}function Bl(e,t,n){var r=Ku(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(zl(e))Hl(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,Yr(l,a)){var s=t.interleaved;return null===s?(o.next=o,Sa(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=xa(e,t,o,r))&&(qu(n,e,r,o=ju()),Vl(n,t,r))}}function zl(e){var t=e.alternate;return e===Ya||null!==t&&t===Ya}function Hl(e,t){tl=el=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Vl(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,un(e,n)}}var Wl={readContext:Ca,useCallback:ol,useContext:ol,useEffect:ol,useImperativeHandle:ol,useInsertionEffect:ol,useLayoutEffect:ol,useMemo:ol,useReducer:ol,useRef:ol,useState:ol,useDebugValue:ol,useDeferredValue:ol,useTransition:ol,useMutableSource:ol,useSyncExternalStore:ol,useId:ol,unstable_isNewReconciler:!1},Ul={readContext:Ca,useCallback:function(e,t){return sl().memoizedState=[e,void 0===t?null:t],e},useContext:Ca,useEffect:kl,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Sl(4194308,4,Tl.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Sl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Sl(4,2,e,t)},useMemo:function(e,t){var n=sl();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=sl();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Nl.bind(null,Ya,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},sl().memoizedState=e},useState:_l,useDebugValue:Rl,useDeferredValue:function(e){return sl().memoizedState=e},useTransition:function(){var e=_l(!1),t=e[0];return e=Al.bind(null,e[1]),sl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ya,o=sl();if(Qi){if(void 0===n)throw Error(Q(407));n=n()}else{if(n=t(),null===bu)throw Error(Q(349));30&Za||ml(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,kl(vl.bind(null,r,i,e),[e]),r.flags|=2048,Cl(9,gl.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=sl(),t=bu.identifierPrefix;if(Qi){var n=Wi;t=":"+t+"R"+(n=(Vi&~(1<<32-Zt(Vi)-1)).toString(32)+n),0<(n=nl++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=rl++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},jl={readContext:Ca,useCallback:Dl,useContext:Ca,useEffect:El,useImperativeHandle:Pl,useInsertionEffect:Fl,useLayoutEffect:Il,useMemo:Ml,useReducer:dl,useRef:wl,useState:function(){return dl(cl)},useDebugValue:Rl,useDeferredValue:function(e){return Ol(ul(),Ja.memoizedState,e)},useTransition:function(){return[dl(cl)[0],ul().memoizedState]},useMutableSource:pl,useSyncExternalStore:hl,useId:Ll,unstable_isNewReconciler:!1},Kl={readContext:Ca,useCallback:Dl,useContext:Ca,useEffect:El,useImperativeHandle:Pl,useInsertionEffect:Fl,useLayoutEffect:Il,useMemo:Ml,useReducer:fl,useRef:wl,useState:function(){return fl(cl)},useDebugValue:Rl,useDeferredValue:function(e){var t=ul();return null===Ja?t.memoizedState=e:Ol(t,Ja.memoizedState,e)},useTransition:function(){return[fl(cl)[0],ul().memoizedState]},useMutableSource:pl,useSyncExternalStore:hl,useId:Ll,unstable_isNewReconciler:!1};function ql(e,t){if(e&&e.defaultProps){for(var n in t=Fe({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function Gl(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:Fe({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var $l={isMounted:function(e){return!!(e=e._reactInternals)&&Dt(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ju(),o=Ku(e),i=Ta(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Pa(e,i,o))&&(qu(t,e,o,r),Ra(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ju(),o=Ku(e),i=Ta(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Pa(e,i,o))&&(qu(t,e,o,r),Ra(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ju(),r=Ku(e),o=Ta(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Pa(e,o,r))&&(qu(t,e,r,n),Ra(t,e,r))}};function Ql(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Jr(n,r)||!Jr(o,i))}function Zl(e,t,n){var r=!1,o=yi,i=t.contextType;return"object"==typeof i&&null!==i?i=Ca(i):(o=Si(t)?Ci:bi.current,i=(r=null!=(r=t.contextTypes))?wi(e,o):yi),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=$l,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Yl(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&$l.enqueueReplaceState(t,t.state,null)}function Jl(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Fa(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Ca(i):(i=Si(t)?Ci:bi.current,o.context=wi(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Gl(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&$l.enqueueReplaceState(o,o.state,null),Ma(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Xl(e,t){try{var n="",r=t;do{n+=Re(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function es(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ts(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var ns="function"==typeof WeakMap?WeakMap:Map;function rs(e,t,n){(n=Ta(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ou||(Ou=!0,Au=r),ts(0,t)},n}function os(e,t,n){(n=Ta(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ts(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){ts(0,t),"function"!=typeof r&&(null===Lu?Lu=new Set([this]):Lu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function is(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ns;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=mc.bind(null,e,t,n),t.then(e,e))}function as(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function ls(e,t,n,r,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ta(-1,1)).tag=2,Pa(n,t,1))),n.lanes|=1),e)}var ss=ce.ReactCurrentOwner,us=!1;function cs(e,t,n,r){t.child=null===e?fa(t,null,n,r):da(t,e.child,n,r)}function ds(e,t,n,r,o){n=n.render;var i=t.ref;return _a(t,o),r=al(e,t,n,r,i,o),n=ll(),null===e||us?(Qi&&n&&Ki(t),t.flags|=1,cs(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Os(e,t,o))}function fs(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||wc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=xc(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,ps(e,t,i,r,o))}if(i=e.child,0===(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:Jr)(a,r)&&e.ref===t.ref)return Os(e,t,o)}return t.flags|=1,(e=Sc(i,r)).ref=t.ref,e.return=t,t.child=e}function ps(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(Jr(i,r)&&e.ref===t.ref){if(us=!1,t.pendingProps=r=i,0===(e.lanes&o))return t.lanes=e.lanes,Os(e,t,o);131072&e.flags&&(us=!0)}}return gs(e,t,n,r,o)}function hs(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,vi(Su,wu),wu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,vi(Su,wu),wu|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},vi(Su,wu),wu|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,vi(Su,wu),wu|=r;return cs(e,t,o,n),t.child}function ms(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function gs(e,t,n,r,o){var i=Si(n)?Ci:bi.current;return i=wi(t,i),_a(t,o),n=al(e,t,n,r,i,o),r=ll(),null===e||us?(Qi&&r&&Ki(t),t.flags|=1,cs(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Os(e,t,o))}function vs(e,t,n,r,o){if(Si(n)){var i=!0;Fi(t)}else i=!1;if(_a(t,o),null===t.stateNode)Ms(e,t),Zl(t,n,r),Jl(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=Ca(u):u=wi(t,u=Si(n)?Ci:bi.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&Yl(t,a,r,u),Ea=!1;var f=t.memoizedState;a.state=f,Ma(t,r,a,o),s=t.memoizedState,l!==r||f!==s||_i.current||Ea?("function"==typeof c&&(Gl(t,n,c,r),s=t.memoizedState),(l=Ea||Ql(t,n,l,r,f,s,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Ia(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ql(t.type,l),a.props=u,d=t.pendingProps,f=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=Ca(s):s=wi(t,s=Si(n)?Ci:bi.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==d||f!==s)&&Yl(t,a,r,s),Ea=!1,f=t.memoizedState,a.state=f,Ma(t,r,a,o);var h=t.memoizedState;l!==d||f!==h||_i.current||Ea?("function"==typeof p&&(Gl(t,n,p,r),h=t.memoizedState),(u=Ea||Ql(t,n,u,r,f,h,s)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return ys(e,t,n,r,i,o)}function ys(e,t,n,r,o,i){ms(e,t);var a=!!(128&t.flags);if(!r&&!a)return o&&Ii(t,n,!1),Os(e,t,i);r=t.stateNode,ss.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=da(t,e.child,null,i),t.child=da(t,null,l,i)):cs(e,t,l,i),t.memoizedState=r.state,o&&Ii(t,n,!0),t.child}function bs(e){var t=e.stateNode;t.pendingContext?ki(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ki(0,t.context,!1),Ha(e,t.containerInfo)}function _s(e,t,n,r,o){return oa(),ia(o),t.flags|=256,cs(e,t,n,r),t.child}var Cs,ws,Ss,xs,ks={dehydrated:null,treeContext:null,retryLane:0};function Es(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fs(e,t,n){var r,o=t.pendingProps,i=ja.current,a=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&i)),r?(a=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),vi(ja,1&i),null===e)return ea(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=o.children,e=o.fallback,a?(o=t.mode,a=t.child,l={mode:"hidden",children:l},1&o||null===a?a=Ec(l,o,0,null):(a.childLanes=0,a.pendingProps=l),e=kc(e,o,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Es(n),t.memoizedState=ks,e):Is(t,l));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,a){if(n)return 256&t.flags?(t.flags&=-257,Ts(e,t,a,r=es(Error(Q(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Ec({mode:"visible",children:r.children},o,0,null),(i=kc(i,o,a,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,1&t.mode&&da(t,e.child,null,a),t.child.memoizedState=Es(a),t.memoizedState=ks,i);if(!(1&t.mode))return Ts(e,t,a,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Ts(e,t,a,r=es(i=Error(Q(419)),r,void 0))}if(l=0!==(a&e.childLanes),us||l){if(null!==(r=bu)){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|a))?0:o)&&o!==i.retryLane&&(i.retryLane=o,ka(e,o),qu(r,e,o,-1))}return ic(),Ts(e,t,a,r=es(Error(Q(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=vc.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,$i=ei(o.nextSibling),Gi=t,Qi=!0,Zi=null,null!==e&&(Bi[zi++]=Vi,Bi[zi++]=Wi,Bi[zi++]=Hi,Vi=e.id,Wi=e.overflow,Hi=t),t=Is(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,i,n);if(a){a=o.fallback,l=t.mode,r=(i=e.child).sibling;var s={mode:"hidden",children:o.children};return 1&l||t.child===i?(o=Sc(i,s)).subtreeFlags=14680064&i.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null),null!==r?a=Sc(r,a):(a=kc(a,l,n,null)).flags|=2,a.return=t,o.return=t,o.sibling=a,t.child=o,o=a,a=t.child,l=null===(l=e.child.memoizedState)?Es(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},a.memoizedState=l,a.childLanes=e.childLanes&~n,t.memoizedState=ks,o}return e=(a=e.child).sibling,o=Sc(a,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Is(e,t){return(t=Ec({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ts(e,t,n,r){return null!==r&&ia(r),da(t,e.child,null,n),(e=Is(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ps(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ba(e.return,t,n)}function Rs(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Ds(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(cs(e,t,r.children,n),2&(r=ja.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ps(e,n,t);else if(19===e.tag)Ps(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(vi(ja,r),1&t.mode)switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ka(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Rs(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ka(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Rs(t,!0,n,null,i);break;case"together":Rs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Ms(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Os(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Eu|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(Q(153));if(null!==t.child){for(n=Sc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Sc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function As(e,t){if(!Qi)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ls(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Ns(e,t,n){var r=t.pendingProps;switch(qi(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ls(t),null;case 1:case 17:return Si(t.type)&&xi(),Ls(t),null;case 3:return r=t.stateNode,Va(),gi(_i),gi(bi),Ga(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(na(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==Zi&&(Zu(Zi),Zi=null))),ws(e,t),Ls(t),null;case 5:Ua(t);var o=za(Ba.current);if(n=t.type,null!==e&&null!=t.stateNode)Ss(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(Q(166));return Ls(t),null}if(e=za(La.current),na(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[ri]=t,r[oi]=i,e=!!(1&t.mode),n){case"dialog":Po("cancel",r),Po("close",r);break;case"iframe":case"object":case"embed":Po("load",r);break;case"video":case"audio":for(o=0;o<Eo.length;o++)Po(Eo[o],r);break;case"source":Po("error",r);break;case"img":case"image":case"link":Po("error",r),Po("load",r);break;case"details":Po("toggle",r);break;case"input":He(r,i),Po("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Po("invalid",r);break;case"textarea":$e(r,i),Po("invalid",r)}for(var a in st(n,i),o=null,i)if(i.hasOwnProperty(a)){var l=i[a];"children"===a?"string"==typeof l?r.textContent!==l&&(!0!==i.suppressHydrationWarning&&Uo(r.textContent,l,e),o=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(!0!==i.suppressHydrationWarning&&Uo(r.textContent,l,e),o=["children",""+l]):Y.hasOwnProperty(a)&&null!=l&&"onScroll"===a&&Po("scroll",r)}switch(n){case"input":Le(r),Ue(r,i,!0);break;case"textarea":Le(r),Ze(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=jo)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{a=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=Ye(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[ri]=t,e[oi]=r,Cs(e,t,!1,!1),t.stateNode=e;e:{switch(a=ut(n,r),n){case"dialog":Po("cancel",e),Po("close",e),o=r;break;case"iframe":case"object":case"embed":Po("load",e),o=r;break;case"video":case"audio":for(o=0;o<Eo.length;o++)Po(Eo[o],e);o=r;break;case"source":Po("error",e),o=r;break;case"img":case"image":case"link":Po("error",e),Po("load",e),o=r;break;case"details":Po("toggle",e),o=r;break;case"input":He(e,r),o=ze(e,r),Po("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Fe({},r,{value:void 0}),Po("invalid",e);break;case"textarea":$e(e,r),o=Ge(e,r),Po("invalid",e)}for(i in st(n,o),l=o)if(l.hasOwnProperty(i)){var s=l[i];"style"===i?at(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&tt(e,s):"children"===i?"string"==typeof s?("textarea"!==n||""!==s)&&nt(e,s):"number"==typeof s&&nt(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(Y.hasOwnProperty(i)?null!=s&&"onScroll"===i&&Po("scroll",e):null!=s&&ue(e,i,s,a))}switch(n){case"input":Le(e),Ue(e,r,!1);break;case"textarea":Le(e),Ze(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Oe(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?qe(e,!!r.multiple,i,!1):null!=r.defaultValue&&qe(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=jo)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ls(t),null;case 6:if(e&&null!=t.stateNode)xs(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(Q(166));if(n=za(Ba.current),za(La.current),na(t)){if(r=t.stateNode,n=t.memoizedProps,r[ri]=t,(i=r.nodeValue!==n)&&null!==(e=Gi))switch(e.tag){case 3:Uo(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Uo(r.nodeValue,n,!!(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[ri]=t,t.stateNode=r}return Ls(t),null;case 13:if(gi(ja),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(Qi&&null!==$i&&1&t.mode&&!(128&t.flags))ra(),oa(),t.flags|=98560,i=!1;else if(i=na(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(Q(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(Q(317));i[ri]=t}else oa(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ls(t),i=!1}else null!==Zi&&(Zu(Zi),Zi=null),i=!0;if(!i)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ja.current?0===xu&&(xu=3):ic())),null!==t.updateQueue&&(t.flags|=4),Ls(t),null);case 4:return Va(),ws(e,t),null===e&&Mo(t.stateNode.containerInfo),Ls(t),null;case 10:return ya(t.type._context),Ls(t),null;case 19:if(gi(ja),null===(i=t.memoizedState))return Ls(t),null;if(r=!!(128&t.flags),null===(a=i.rendering))if(r)As(i,!1);else{if(0!==xu||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(a=Ka(e))){for(t.flags|=128,As(i,!1),null!==(r=a.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(a=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return vi(ja,1&ja.current|2),t.child}e=e.sibling}null!==i.tail&&Vt()>Du&&(t.flags|=128,r=!0,As(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=Ka(a))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),As(i,!0),null===i.tail&&"hidden"===i.tailMode&&!a.alternate&&!Qi)return Ls(t),null}else 2*Vt()-i.renderingStartTime>Du&&1073741824!==n&&(t.flags|=128,r=!0,As(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=i.last)?n.sibling=a:t.child=a,i.last=a)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Vt(),t.sibling=null,n=ja.current,vi(ja,r?1&n|2:1&n),t):(Ls(t),null);case 22:case 23:return tc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&wu)&&(Ls(t),6&t.subtreeFlags&&(t.flags|=8192)):Ls(t),null;case 24:case 25:return null}throw Error(Q(156,t.tag))}function Bs(e,t){switch(qi(t),t.tag){case 1:return Si(t.type)&&xi(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Va(),gi(_i),gi(bi),Ga(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ua(t),null;case 13:if(gi(ja),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(Q(340));oa()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return gi(ja),null;case 4:return Va(),null;case 10:return ya(t.type._context),null;case 22:case 23:return tc(),null;default:return null}}Cs=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},ws=function(){},Ss=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,za(La.current);var i,a=null;switch(n){case"input":o=ze(e,o),r=ze(e,r),a=[];break;case"select":o=Fe({},o,{value:void 0}),r=Fe({},r,{value:void 0}),a=[];break;case"textarea":o=Ge(e,o),r=Ge(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=jo)}for(u in st(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(Y.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var s=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&l[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(a=a||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(Y.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&Po("scroll",e),a||l===s||(a=[])):(a=a||[]).push(u,s))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},xs=function(e,t,n,r){n!==r&&(t.flags|=4)};var zs=!1,Hs=!1,Vs="function"==typeof WeakSet?WeakSet:Set,Ws=null;function Us(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){hc(e,t,n)}else n.current=null}function js(e,t,n){try{n()}catch(n){hc(e,t,n)}}var Ks=!1;function qs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&js(t,n,i)}o=o.next}while(o!==r)}}function Gs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function $s(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function Qs(e){var t=e.alternate;null!==t&&(e.alternate=null,Qs(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[ri],delete t[oi],delete t[ai],delete t[li],delete t[si])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Zs(e){return 5===e.tag||3===e.tag||4===e.tag}function Ys(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Zs(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function Js(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=jo));else if(4!==r&&null!==(e=e.child))for(Js(e,t,n),e=e.sibling;null!==e;)Js(e,t,n),e=e.sibling}function Xs(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Xs(e,t,n),e=e.sibling;null!==e;)Xs(e,t,n),e=e.sibling}var eu=null,tu=!1;function nu(e,t,n){for(n=n.child;null!==n;)ru(e,t,n),n=n.sibling}function ru(e,t,n){if(Qt&&"function"==typeof Qt.onCommitFiberUnmount)try{Qt.onCommitFiberUnmount($t,n)}catch(e){}switch(n.tag){case 5:Hs||Us(n,t);case 6:var r=eu,o=tu;eu=null,nu(e,t,n),tu=o,null!==(eu=r)&&(tu?(e=eu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):eu.removeChild(n.stateNode));break;case 18:null!==eu&&(tu?(e=eu,n=n.stateNode,8===e.nodeType?Xo(e.parentNode,n):1===e.nodeType&&Xo(e,n),Mn(e)):Xo(eu,n.stateNode));break;case 4:r=eu,o=tu,eu=n.stateNode.containerInfo,tu=!0,nu(e,t,n),eu=r,tu=o;break;case 0:case 11:case 14:case 15:if(!Hs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(2&i||4&i)&&js(n,t,a),o=o.next}while(o!==r)}nu(e,t,n);break;case 1:if(!Hs&&(Us(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){hc(n,t,e)}nu(e,t,n);break;case 21:nu(e,t,n);break;case 22:1&n.mode?(Hs=(r=Hs)||null!==n.memoizedState,nu(e,t,n),Hs=r):nu(e,t,n);break;default:nu(e,t,n)}}function ou(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Vs),t.forEach(function(t){var r=yc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function iu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,a=t,l=a;e:for(;null!==l;){switch(l.tag){case 5:eu=l.stateNode,tu=!1;break e;case 3:case 4:eu=l.stateNode.containerInfo,tu=!0;break e}l=l.return}if(null===eu)throw Error(Q(160));ru(i,a,o),eu=null,tu=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(e){hc(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)au(t,e),t=t.sibling}function au(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(iu(t,e),lu(e),4&r){try{qs(3,e,e.return),Gs(3,e)}catch(t){hc(e,e.return,t)}try{qs(5,e,e.return)}catch(t){hc(e,e.return,t)}}break;case 1:iu(t,e),lu(e),512&r&&null!==n&&Us(n,n.return);break;case 5:if(iu(t,e),lu(e),512&r&&null!==n&&Us(n,n.return),32&e.flags){var o=e.stateNode;try{nt(o,"")}catch(t){hc(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,a=null!==n?n.memoizedProps:i,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===i.type&&null!=i.name&&Ve(o,i),ut(l,a);var u=ut(l,i);for(a=0;a<s.length;a+=2){var c=s[a],d=s[a+1];"style"===c?at(o,d):"dangerouslySetInnerHTML"===c?tt(o,d):"children"===c?nt(o,d):ue(o,c,d,u)}switch(l){case"input":We(o,i);break;case"textarea":Qe(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var p=i.value;null!=p?qe(o,!!i.multiple,p,!1):f!==!!i.multiple&&(null!=i.defaultValue?qe(o,!!i.multiple,i.defaultValue,!0):qe(o,!!i.multiple,i.multiple?[]:"",!1))}o[oi]=i}catch(t){hc(e,e.return,t)}}break;case 6:if(iu(t,e),lu(e),4&r){if(null===e.stateNode)throw Error(Q(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(t){hc(e,e.return,t)}}break;case 3:if(iu(t,e),lu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Mn(t.containerInfo)}catch(t){hc(e,e.return,t)}break;case 4:default:iu(t,e),lu(e);break;case 13:iu(t,e),lu(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Ru=Vt())),4&r&&ou(e);break;case 22:if(c=null!==n&&null!==n.memoizedState,1&e.mode?(Hs=(u=Hs)||c,iu(t,e),Hs=u):iu(t,e),lu(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!c&&1&e.mode)for(Ws=e,c=e.child;null!==c;){for(d=Ws=c;null!==Ws;){switch(p=(f=Ws).child,f.tag){case 0:case 11:case 14:case 15:qs(4,f,f.return);break;case 1:Us(f,f.return);var h=f.stateNode;if("function"==typeof h.componentWillUnmount){r=f,n=f.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){hc(r,n,e)}}break;case 5:Us(f,f.return);break;case 22:if(null!==f.memoizedState){du(d);continue}}null!==p?(p.return=f,Ws=p):du(d)}c=c.sibling}e:for(c=null,d=e;;){if(5===d.tag){if(null===c){c=d;try{o=d.stateNode,u?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=d.stateNode,a=null!=(s=d.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,l.style.display=it("display",a))}catch(t){hc(e,e.return,t)}}}else if(6===d.tag){if(null===c)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(t){hc(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:iu(t,e),lu(e),4&r&&ou(e);case 21:}}function lu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(Zs(n)){var r=n;break e}n=n.return}throw Error(Q(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(nt(o,""),r.flags&=-33),Xs(e,Ys(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;Js(e,Ys(e),i);break;default:throw Error(Q(161))}}catch(t){hc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function su(e,t,n){Ws=e,uu(e)}function uu(e,t,n){for(var r=!!(1&e.mode);null!==Ws;){var o=Ws,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||zs;if(!a){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Hs;l=zs;var u=Hs;if(zs=a,(Hs=s)&&!u)for(Ws=o;null!==Ws;)s=(a=Ws).child,22===a.tag&&null!==a.memoizedState?fu(o):null!==s?(s.return=a,Ws=s):fu(o);for(;null!==i;)Ws=i,uu(i),i=i.sibling;Ws=o,zs=l,Hs=u}cu(e)}else 8772&o.subtreeFlags&&null!==i?(i.return=o,Ws=i):cu(e)}}function cu(e){for(;null!==Ws;){var t=Ws;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Hs||Gs(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Hs)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ql(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Oa(t,i,r);break;case 3:var a=t.updateQueue;if(null!==a){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Oa(t,a,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var c=u.memoizedState;if(null!==c){var d=c.dehydrated;null!==d&&Mn(d)}}}break;default:throw Error(Q(163))}Hs||512&t.flags&&$s(t)}catch(e){hc(t,t.return,e)}}if(t===e){Ws=null;break}if(null!==(n=t.sibling)){n.return=t.return,Ws=n;break}Ws=t.return}}function du(e){for(;null!==Ws;){var t=Ws;if(t===e){Ws=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Ws=n;break}Ws=t.return}}function fu(e){for(;null!==Ws;){var t=Ws;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Gs(4,t)}catch(e){hc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){hc(t,o,e)}}var i=t.return;try{$s(t)}catch(e){hc(t,i,e)}break;case 5:var a=t.return;try{$s(t)}catch(e){hc(t,a,e)}}}catch(e){hc(t,t.return,e)}if(t===e){Ws=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Ws=l;break}Ws=t.return}}var pu,hu=Math.ceil,mu=ce.ReactCurrentDispatcher,gu=ce.ReactCurrentOwner,vu=ce.ReactCurrentBatchConfig,yu=0,bu=null,_u=null,Cu=0,wu=0,Su=mi(0),xu=0,ku=null,Eu=0,Fu=0,Iu=0,Tu=null,Pu=null,Ru=0,Du=1/0,Mu=null,Ou=!1,Au=null,Lu=null,Nu=!1,Bu=null,zu=0,Hu=0,Vu=null,Wu=-1,Uu=0;function ju(){return 6&yu?Vt():-1!==Wu?Wu:Wu=Vt()}function Ku(e){return 1&e.mode?2&yu&&0!==Cu?Cu&-Cu:null!==aa.transition?(0===Uu&&(Uu=an()),Uu):0!==(e=cn)?e:e=void 0===(e=window.event)?16:Vn(e.type):1}function qu(e,t,n,r){if(50<Hu)throw Hu=0,Vu=null,Error(Q(185));sn(e,n,r),2&yu&&e===bu||(e===bu&&(!(2&yu)&&(Fu|=n),4===xu&&Yu(e,Cu)),Gu(e,r),1===n&&0===yu&&!(1&t.mode)&&(Du=Vt()+500,Pi&&Mi()))}function Gu(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-Zt(i),l=1<<a,s=o[a];-1===s?0!==(l&n)&&0===(l&r)||(o[a]=rn(l,t)):s<=t&&(e.expiredLanes|=l),i&=~l}}(e,t);var r=nn(e,e===bu?Cu:0);if(0===r)null!==n&&Bt(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Bt(n),1===t)0===e.tag?function(e){Pi=!0,Di(e)}(Ju.bind(null,e)):Di(Ju.bind(null,e)),Yo(function(){!(6&yu)&&Mi()}),n=null;else{switch(dn(r)){case 1:n=Ut;break;case 4:n=jt;break;case 16:default:n=Kt;break;case 536870912:n=Gt}n=bc(n,$u.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function $u(e,t){if(Wu=-1,Uu=0,6&yu)throw Error(Q(327));var n=e.callbackNode;if(fc()&&e.callbackNode!==n)return null;var r=nn(e,e===bu?Cu:0);if(0===r)return null;if(30&r||0!==(r&e.expiredLanes)||t)t=ac(e,r);else{t=r;var o=yu;yu|=2;var i=oc();for(bu===e&&Cu===t||(Mu=null,Du=Vt()+500,nc(e,t));;)try{sc();break}catch(t){rc(e,t)}va(),mu.current=i,yu=o,null!==_u?t=0:(bu=null,Cu=0,t=xu)}if(0!==t){if(2===t&&(0!==(o=on(e))&&(r=o,t=Qu(e,o))),1===t)throw n=ku,nc(e,0),Yu(e,r),Gu(e,Vt()),n;if(6===t)Yu(e,r);else{if(o=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Yr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=ac(e,r),2===t&&(i=on(e),0!==i&&(r=i,t=Qu(e,i))),1!==t)))throw n=ku,nc(e,0),Yu(e,r),Gu(e,Vt()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(Q(345));case 2:case 5:dc(e,Pu,Mu);break;case 3:if(Yu(e,r),(130023424&r)===r&&10<(t=Ru+500-Vt())){if(0!==nn(e,0))break;if(((o=e.suspendedLanes)&r)!==r){ju(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=$o(dc.bind(null,e,Pu,Mu),t);break}dc(e,Pu,Mu);break;case 4:if(Yu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-Zt(r);i=1<<a,(a=t[a])>o&&(o=a),r&=~i}if(r=o,10<(r=(120>(r=Vt()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hu(r/1960))-r)){e.timeoutHandle=$o(dc.bind(null,e,Pu,Mu),r);break}dc(e,Pu,Mu);break;default:throw Error(Q(329))}}}return Gu(e,Vt()),e.callbackNode===n?$u.bind(null,e):null}function Qu(e,t){var n=Tu;return e.current.memoizedState.isDehydrated&&(nc(e,t).flags|=256),2!==(e=ac(e,t))&&(t=Pu,Pu=n,null!==t&&Zu(t)),e}function Zu(e){null===Pu?Pu=e:Pu.push.apply(Pu,e)}function Yu(e,t){for(t&=~Iu,t&=~Fu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Zt(t),r=1<<n;e[n]=-1,t&=~r}}function Ju(e){if(6&yu)throw Error(Q(327));fc();var t=nn(e,0);if(!(1&t))return Gu(e,Vt()),null;var n=ac(e,t);if(0!==e.tag&&2===n){var r=on(e);0!==r&&(t=r,n=Qu(e,r))}if(1===n)throw n=ku,nc(e,0),Yu(e,t),Gu(e,Vt()),n;if(6===n)throw Error(Q(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,dc(e,Pu,Mu),Gu(e,Vt()),null}function Xu(e,t){var n=yu;yu|=1;try{return e(t)}finally{0===(yu=n)&&(Du=Vt()+500,Pi&&Mi())}}function ec(e){null!==Bu&&0===Bu.tag&&!(6&yu)&&fc();var t=yu;yu|=1;var n=vu.transition,r=cn;try{if(vu.transition=null,cn=1,e)return e()}finally{cn=r,vu.transition=n,!(6&(yu=t))&&Mi()}}function tc(){wu=Su.current,gi(Su)}function nc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Qo(n)),null!==_u)for(n=_u.return;null!==n;){var r=n;switch(qi(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&xi();break;case 3:Va(),gi(_i),gi(bi),Ga();break;case 5:Ua(r);break;case 4:Va();break;case 13:case 19:gi(ja);break;case 10:ya(r.type._context);break;case 22:case 23:tc()}n=n.return}if(bu=e,_u=e=Sc(e.current,null),Cu=wu=t,xu=0,ku=null,Iu=Fu=Eu=0,Pu=Tu=null,null!==wa){for(t=0;t<wa.length;t++)if(null!==(r=(n=wa[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}wa=null}return e}function rc(e,t){for(;;){var n=_u;try{if(va(),$a.current=Wl,el){for(var r=Ya.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}el=!1}if(Za=0,Xa=Ja=Ya=null,tl=!1,nl=0,gu.current=null,null===n||null===n.return){xu=1,ku=t,_u=null;break}e:{var i=e,a=n.return,l=n,s=t;if(t=Cu,l.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s,c=l,d=c.tag;if(!(1&c.mode||0!==d&&11!==d&&15!==d)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=as(a);if(null!==p){p.flags&=-257,ls(p,a,l,0,t),1&p.mode&&is(i,u,t),s=u;var h=(t=p).updateQueue;if(null===h){var m=new Set;m.add(s),t.updateQueue=m}else h.add(s);break e}if(!(1&t)){is(i,u,t),ic();break e}s=Error(Q(426))}else if(Qi&&1&l.mode){var g=as(a);if(null!==g){!(65536&g.flags)&&(g.flags|=256),ls(g,a,l,0,t),ia(Xl(s,l));break e}}i=s=Xl(s,l),4!==xu&&(xu=2),null===Tu?Tu=[i]:Tu.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Da(i,rs(0,s,t));break e;case 1:l=s;var v=i.type,y=i.stateNode;if(!(128&i.flags||"function"!=typeof v.getDerivedStateFromError&&(null===y||"function"!=typeof y.componentDidCatch||null!==Lu&&Lu.has(y)))){i.flags|=65536,t&=-t,i.lanes|=t,Da(i,os(i,l,t));break e}}i=i.return}while(null!==i)}cc(n)}catch(e){t=e,_u===n&&null!==n&&(_u=n=n.return);continue}break}}function oc(){var e=mu.current;return mu.current=Wl,null===e?Wl:e}function ic(){0!==xu&&3!==xu&&2!==xu||(xu=4),null===bu||!(268435455&Eu)&&!(268435455&Fu)||Yu(bu,Cu)}function ac(e,t){var n=yu;yu|=2;var r=oc();for(bu===e&&Cu===t||(Mu=null,nc(e,t));;)try{lc();break}catch(t){rc(e,t)}if(va(),yu=n,mu.current=r,null!==_u)throw Error(Q(261));return bu=null,Cu=0,xu}function lc(){for(;null!==_u;)uc(_u)}function sc(){for(;null!==_u&&!zt();)uc(_u)}function uc(e){var t=pu(e.alternate,e,wu);e.memoizedProps=e.pendingProps,null===t?cc(e):_u=t,gu.current=null}function cc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Bs(n,t)))return n.flags&=32767,void(_u=n);if(null===e)return xu=6,void(_u=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Ns(n,t,wu)))return void(_u=n);if(null!==(t=t.sibling))return void(_u=t);_u=t=e}while(null!==t);0===xu&&(xu=5)}function dc(e,t,n){var r=cn,o=vu.transition;try{vu.transition=null,cn=1,function(e,t,n,r){do{fc()}while(null!==Bu);if(6&yu)throw Error(Q(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(Q(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Zt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,i),e===bu&&(_u=bu=null,Cu=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||Nu||(Nu=!0,bc(Kt,function(){return fc(),null})),i=!!(15990&n.flags),!!(15990&n.subtreeFlags)||i){i=vu.transition,vu.transition=null;var a=cn;cn=1;var l=yu;yu|=4,gu.current=null,function(e,t){if(Ko=An,ro(e=no())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var a=0,l=-1,s=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==n||0!==o&&3!==d.nodeType||(l=a+o),d!==i||0!==r&&3!==d.nodeType||(s=a+r),3===d.nodeType&&(a+=d.nodeValue.length),null!==(p=d.firstChild);)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++u===o&&(l=a),f===i&&++c===r&&(s=a),null!==(p=d.nextSibling))break;f=(d=f).parentNode}d=p}n=-1===l||-1===s?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(qo={focusedElem:e,selectionRange:n},An=!1,Ws=t;null!==Ws;)if(e=(t=Ws).child,1028&t.subtreeFlags&&null!==e)e.return=t,Ws=e;else for(;null!==Ws;){t=Ws;try{var h=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var m=h.memoizedProps,g=h.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:ql(t.type,m),g);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(Q(163))}}catch(e){hc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Ws=e;break}Ws=t.return}h=Ks,Ks=!1}(e,n),au(n,e),oo(qo),An=!!Ko,qo=Ko=null,e.current=n,su(n),Ht(),yu=l,cn=a,vu.transition=i}else e.current=n;if(Nu&&(Nu=!1,Bu=e,zu=o),i=e.pendingLanes,0===i&&(Lu=null),function(e){if(Qt&&"function"==typeof Qt.onCommitFiberRoot)try{Qt.onCommitFiberRoot($t,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),Gu(e,Vt()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Ou)throw Ou=!1,e=Au,Au=null,e;!!(1&zu)&&0!==e.tag&&fc(),i=e.pendingLanes,1&i?e===Vu?Hu++:(Hu=0,Vu=e):Hu=0,Mi()}(e,t,n,r)}finally{vu.transition=o,cn=r}return null}function fc(){if(null!==Bu){var e=dn(zu),t=vu.transition,n=cn;try{if(vu.transition=null,cn=16>e?16:e,null===Bu)var r=!1;else{if(e=Bu,Bu=null,zu=0,6&yu)throw Error(Q(331));var o=yu;for(yu|=4,Ws=e.current;null!==Ws;){var i=Ws,a=i.child;if(16&Ws.flags){var l=i.deletions;if(null!==l){for(var s=0;s<l.length;s++){var u=l[s];for(Ws=u;null!==Ws;){var c=Ws;switch(c.tag){case 0:case 11:case 15:qs(8,c,i)}var d=c.child;if(null!==d)d.return=c,Ws=d;else for(;null!==Ws;){var f=(c=Ws).sibling,p=c.return;if(Qs(c),c===u){Ws=null;break}if(null!==f){f.return=p,Ws=f;break}Ws=p}}}var h=i.alternate;if(null!==h){var m=h.child;if(null!==m){h.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}Ws=i}}if(2064&i.subtreeFlags&&null!==a)a.return=i,Ws=a;else e:for(;null!==Ws;){if(2048&(i=Ws).flags)switch(i.tag){case 0:case 11:case 15:qs(9,i,i.return)}var v=i.sibling;if(null!==v){v.return=i.return,Ws=v;break e}Ws=i.return}}var y=e.current;for(Ws=y;null!==Ws;){var b=(a=Ws).child;if(2064&a.subtreeFlags&&null!==b)b.return=a,Ws=b;else e:for(a=y;null!==Ws;){if(2048&(l=Ws).flags)try{switch(l.tag){case 0:case 11:case 15:Gs(9,l)}}catch(e){hc(l,l.return,e)}if(l===a){Ws=null;break e}var _=l.sibling;if(null!==_){_.return=l.return,Ws=_;break e}Ws=l.return}}if(yu=o,Mi(),Qt&&"function"==typeof Qt.onPostCommitFiberRoot)try{Qt.onPostCommitFiberRoot($t,e)}catch(e){}r=!0}return r}finally{cn=n,vu.transition=t}}return!1}function pc(e,t,n){e=Pa(e,t=rs(0,t=Xl(n,t),1),1),t=ju(),null!==e&&(sn(e,1,t),Gu(e,t))}function hc(e,t,n){if(3===e.tag)pc(e,e,n);else for(;null!==t;){if(3===t.tag){pc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Lu||!Lu.has(r))){t=Pa(t,e=os(t,e=Xl(n,e),1),1),e=ju(),null!==t&&(sn(t,1,e),Gu(t,e));break}}t=t.return}}function mc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ju(),e.pingedLanes|=e.suspendedLanes&n,bu===e&&(Cu&n)===n&&(4===xu||3===xu&&(130023424&Cu)===Cu&&500>Vt()-Ru?nc(e,0):Iu|=n),Gu(e,t)}function gc(e,t){0===t&&(1&e.mode?(t=en,!(130023424&(en<<=1))&&(en=4194304)):t=1);var n=ju();null!==(e=ka(e,t))&&(sn(e,t,n),Gu(e,n))}function vc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),gc(e,n)}function yc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(Q(314))}null!==r&&r.delete(t),gc(e,n)}function bc(e,t){return Nt(e,t)}function _c(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Cc(e,t,n,r){return new _c(e,t,n,r)}function wc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Sc(e,t){var n=e.alternate;return null===n?((n=Cc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function xc(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)wc(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case pe:return kc(n.children,o,i,t);case he:a=8,o|=8;break;case me:return(e=Cc(12,n,t,2|o)).elementType=me,e.lanes=i,e;case be:return(e=Cc(13,n,t,o)).elementType=be,e.lanes=i,e;case _e:return(e=Cc(19,n,t,o)).elementType=_e,e.lanes=i,e;case Se:return Ec(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ge:a=10;break e;case ve:a=9;break e;case ye:a=11;break e;case Ce:a=14;break e;case we:a=16,r=null;break e}throw Error(Q(130,null==e?e:typeof e,""))}return(t=Cc(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function kc(e,t,n,r){return(e=Cc(7,e,r,t)).lanes=n,e}function Ec(e,t,n,r){return(e=Cc(22,e,r,t)).elementType=Se,e.lanes=n,e.stateNode={isHidden:!1},e}function Fc(e,t,n){return(e=Cc(6,e,null,t)).lanes=n,e}function Ic(e,t,n){return(t=Cc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Tc(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ln(0),this.expirationTimes=ln(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ln(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Pc(e,t,n,r,o,i,a,l,s){return e=new Tc(e,t,n,l,s),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Cc(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fa(i),e}function Rc(e){if(!e)return yi;e:{if(Dt(e=e._reactInternals)!==e||1!==e.tag)throw Error(Q(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Si(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(Q(171))}if(1===e.tag){var n=e.type;if(Si(n))return Ei(e,n,t)}return t}function Dc(e,t,n,r,o,i,a,l,s){return(e=Pc(n,r,!0,e,0,i,0,l,s)).context=Rc(null),n=e.current,(i=Ta(r=ju(),o=Ku(n))).callback=null!=t?t:null,Pa(n,i,o),e.current.lanes=o,sn(e,o,r),Gu(e,r),e}function Mc(e,t,n,r){var o=t.current,i=ju(),a=Ku(o);return n=Rc(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ta(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Pa(o,t,a))&&(qu(e,o,a,i),Ra(e,o,a)),a}function Oc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Ac(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Lc(e,t){Ac(e,t),(e=e.alternate)&&Ac(e,t)}pu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||_i.current)us=!0;else{if(0===(e.lanes&n)&&!(128&t.flags))return us=!1,function(e,t,n){switch(t.tag){case 3:bs(t),oa();break;case 5:Wa(t);break;case 1:Si(t.type)&&Fi(t);break;case 4:Ha(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;vi(pa,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(vi(ja,1&ja.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Fs(e,t,n):(vi(ja,1&ja.current),null!==(e=Os(e,t,n))?e.sibling:null);vi(ja,1&ja.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return Ds(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),vi(ja,ja.current),r)break;return null;case 22:case 23:return t.lanes=0,hs(e,t,n)}return Os(e,t,n)}(e,t,n);us=!!(131072&e.flags)}else us=!1,Qi&&1048576&t.flags&&ji(t,Ni,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ms(e,t),e=t.pendingProps;var o=wi(t,bi.current);_a(t,n),o=al(null,t,r,e,o,n);var i=ll();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Si(r)?(i=!0,Fi(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Fa(t),o.updater=$l,t.stateNode=o,o._reactInternals=t,Jl(t,r,e,n),t=ys(null,t,r,!0,i,n)):(t.tag=0,Qi&&i&&Ki(t),cs(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ms(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return wc(e)?1:0;if(null!=e){if((e=e.$$typeof)===ye)return 11;if(e===Ce)return 14}return 2}(r),e=ql(r,e),o){case 0:t=gs(null,t,r,e,n);break e;case 1:t=vs(null,t,r,e,n);break e;case 11:t=ds(null,t,r,e,n);break e;case 14:t=fs(null,t,r,ql(r.type,e),n);break e}throw Error(Q(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,gs(e,t,r,o=t.elementType===r?o:ql(r,o),n);case 1:return r=t.type,o=t.pendingProps,vs(e,t,r,o=t.elementType===r?o:ql(r,o),n);case 3:e:{if(bs(t),null===e)throw Error(Q(387));r=t.pendingProps,o=(i=t.memoizedState).element,Ia(e,t),Ma(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=_s(e,t,r,n,o=Xl(Error(Q(423)),t));break e}if(r!==o){t=_s(e,t,r,n,o=Xl(Error(Q(424)),t));break e}for($i=ei(t.stateNode.containerInfo.firstChild),Gi=t,Qi=!0,Zi=null,n=fa(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(oa(),r===o){t=Os(e,t,n);break e}cs(e,t,r,n)}t=t.child}return t;case 5:return Wa(t),null===e&&ea(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,Go(r,o)?a=null:null!==i&&Go(r,i)&&(t.flags|=32),ms(e,t),cs(e,t,a,n),t.child;case 6:return null===e&&ea(t),null;case 13:return Fs(e,t,n);case 4:return Ha(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=da(t,null,r,n):cs(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ds(e,t,r,o=t.elementType===r?o:ql(r,o),n);case 7:return cs(e,t,t.pendingProps,n),t.child;case 8:case 12:return cs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,vi(pa,r._currentValue),r._currentValue=a,null!==i)if(Yr(i.value,a)){if(i.children===o.children&&!_i.current){t=Os(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){a=i.child;for(var s=l.firstContext;null!==s;){if(s.context===r){if(1===i.tag){(s=Ta(-1,n&-n)).tag=2;var u=i.updateQueue;if(null!==u){var c=(u=u.shared).pending;null===c?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),ba(i.return,n,t),l.lanes|=n;break}s=s.next}}else if(10===i.tag)a=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(a=i.return))throw Error(Q(341));a.lanes|=n,null!==(l=a.alternate)&&(l.lanes|=n),ba(a,n,t),a=i.sibling}else a=i.child;if(null!==a)a.return=i;else for(a=i;null!==a;){if(a===t){a=null;break}if(null!==(i=a.sibling)){i.return=a.return,a=i;break}a=a.return}i=a}cs(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,_a(t,n),r=r(o=Ca(o)),t.flags|=1,cs(e,t,r,n),t.child;case 14:return o=ql(r=t.type,t.pendingProps),fs(e,t,r,o=ql(r.type,o),n);case 15:return ps(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ql(r,o),Ms(e,t),t.tag=1,Si(r)?(e=!0,Fi(t)):e=!1,_a(t,n),Zl(t,r,o),Jl(t,r,o,n),ys(null,t,r,!0,e,n);case 19:return Ds(e,t,n);case 22:return hs(e,t,n)}throw Error(Q(156,t.tag))};var Nc="function"==typeof reportError?reportError:function(e){console.error(e)};function Bc(e){this._internalRoot=e}function zc(e){this._internalRoot=e}function Hc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Vc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Wc(){}function Uc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var l=o;o=function(){var e=Oc(a);l.call(e)}}Mc(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=Oc(a);i.call(e)}}var a=Dc(t,r,e,0,null,!1,0,"",Wc);return e._reactRootContainer=a,e[ii]=a.current,Mo(8===e.nodeType?e.parentNode:e),ec(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=Oc(s);l.call(e)}}var s=Pc(e,0,!1,null,0,!1,0,"",Wc);return e._reactRootContainer=s,e[ii]=s.current,Mo(8===e.nodeType?e.parentNode:e),ec(function(){Mc(t,s,n,r)}),s}(n,t,e,o,r);return Oc(a)}zc.prototype.render=Bc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(Q(409));Mc(e,t,null,null)},zc.prototype.unmount=Bc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ec(function(){Mc(null,e,null,null)}),t[ii]=null}},zc.prototype.unstable_scheduleHydration=function(e){if(e){var t=mn();e={blockedOn:null,target:e,priority:t};for(var n=0;n<xn.length&&0!==t&&t<xn[n].priority;n++);xn.splice(n,0,e),0===n&&In(e)}},fn=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=tn(t.pendingLanes);0!==n&&(un(t,1|n),Gu(t,Vt()),!(6&yu)&&(Du=Vt()+500,Mi()))}break;case 13:ec(function(){var t=ka(e,1);if(null!==t){var n=ju();qu(t,e,1,n)}}),Lc(e,1)}},pn=function(e){if(13===e.tag){var t=ka(e,134217728);if(null!==t)qu(t,e,134217728,ju());Lc(e,134217728)}},hn=function(e){if(13===e.tag){var t=Ku(e),n=ka(e,t);if(null!==n)qu(n,e,t,ju());Lc(e,t)}},mn=function(){return cn},gn=function(e,t){var n=cn;try{return cn=e,t()}finally{cn=n}},ft=function(e,t,n){switch(t){case"input":if(We(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=fi(r);if(!o)throw Error(Q(90));Ne(r),We(r,o)}}}break;case"textarea":Qe(e,n);break;case"select":null!=(t=n.value)&&qe(e,!!n.multiple,t,!1)}},yt=Xu,bt=ec;var jc={usingClientEntryPoint:!1,Events:[ci,di,fi,gt,vt,Xu]},Kc={findFiberByHostInstance:ui,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},qc={bundleType:Kc.bundleType,version:Kc.version,rendererPackageName:Kc.rendererPackageName,rendererConfig:Kc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ce.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=At(e))?null:e.stateNode},findFiberByHostInstance:Kc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Gc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gc.isDisabled&&Gc.supportsFiber)try{$t=Gc.inject(qc),Qt=Gc}catch(et){}}U.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=jc,U.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Hc(t))throw Error(Q(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:fe,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},U.createRoot=function(e,t){if(!Hc(e))throw Error(Q(299));var n=!1,r="",o=Nc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Pc(e,1,!1,null,0,n,0,r,o),e[ii]=t.current,Mo(8===e.nodeType?e.parentNode:e),new Bc(t)},U.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(Q(188));throw e=Object.keys(e).join(","),Error(Q(268,e))}return e=null===(e=At(t))?null:e.stateNode},U.flushSync=function(e){return ec(e)},U.hydrate=function(e,t,n){if(!Vc(t))throw Error(Q(200));return Uc(null,e,t,!0,n)},U.hydrateRoot=function(e,t,n){if(!Hc(e))throw Error(Q(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",a=Nc;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(a=n.onRecoverableError)),t=Dc(t,null,e,1,null!=n?n:null,o,0,i,a),e[ii]=t.current,Mo(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new zc(t)},U.render=function(e,t,n){if(!Vc(t))throw Error(Q(200));return Uc(null,e,t,!1,n)},U.unmountComponentAtNode=function(e){if(!Vc(e))throw Error(Q(40));return!!e._reactRootContainer&&(ec(function(){Uc(null,null,e,!1,function(){e._reactRootContainer=null,e[ii]=null})}),!0)},U.unstable_batchedUpdates=Xu,U.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Vc(n))throw Error(Q(200));if(null==e||void 0===e._reactInternals)throw Error(Q(38));return Uc(e,t,n,!1,r)},U.version="18.3.1-next-f1338f8080-20240426",function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),W.exports=U;var $c=W.exports,Qc=$c;V.createRoot=Qc.createRoot,V.hydrateRoot=Qc.hydrateRoot;var Zc=e=>"checkbox"===e.type,Yc=e=>e instanceof Date,Jc=e=>null==e;const Xc=e=>"object"==typeof e;var ed=e=>!Jc(e)&&!Array.isArray(e)&&Xc(e)&&!Yc(e),td=e=>ed(e)&&e.target?Zc(e.target)?e.target.checked:e.target.value:e,nd=(e,t)=>t.split(".").some((t,n,r)=>!isNaN(Number(t))&&e.has(r.slice(0,n).join("."))),rd="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function od(e){if(e instanceof Date)return new Date(e);const t="undefined"!=typeof FileList&&e instanceof FileList;if(rd&&(e instanceof Blob||t))return e;const n=Array.isArray(e);if(!(n||ed(e)&&(e=>{const t=e.constructor&&e.constructor.prototype;return ed(t)&&t.hasOwnProperty("isPrototypeOf")})(e)))return e;const r=n?[]:Object.create(Object.getPrototypeOf(e));for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=od(e[t]));return r}var id=e=>/^\w*$/.test(e),ad=e=>void 0===e,ld=e=>Array.isArray(e)?e.filter(Boolean):[],sd=e=>ld(e.replace(/["|']|\]/g,"").split(/\.|\[/)),ud=(e,t,n)=>{if(!t||!ed(e))return n;const r=(id(t)?[t]:sd(t)).reduce((e,t)=>Jc(e)?e:e[t],e);return ad(r)||r===e?ad(e[t])?n:e[t]:r},cd=e=>"boolean"==typeof e,dd=e=>"function"==typeof e,fd=(e,t,n)=>{let r=-1;const o=id(t)?[t]:sd(t),i=o.length,a=i-1;for(;++r<i;){const t=o[r];let i=n;if(r!==a){const n=e[t];i=ed(n)||Array.isArray(n)?n:isNaN(+o[r+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=i,e=e[t]}};const pd="blur",hd="focusout",md="change",gd="submit",vd="trigger",yd="valid",bd="onBlur",_d="onChange",Cd="onSubmit",wd="onTouched",Sd="all",xd="max",kd="min",Ed="maxLength",Fd="minLength",Id="pattern",Td="required",Pd="validate",Rd="form",Dd="root",Md=H.createContext(null);Md.displayName="HookFormControlContext";const Od=()=>H.useContext(Md);var Ad=(e,t,n,r=!0)=>{const o={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(o,i,{get:()=>{const o=i;return t._proxyFormState[o]!==Sd&&(t._proxyFormState[o]=!r||Sd),n&&(n[o]=!0),e[o]}});return o};const Ld="undefined"!=typeof window?H.useLayoutEffect:H.useEffect;var Nd=e=>"string"==typeof e,Bd=(e,t,n,r,o)=>Nd(e)?(r&&t.watch.add(e),ud(n,e,o)):Array.isArray(e)?e.map(e=>(r&&t.watch.add(e),ud(n,e))):(r&&(t.watchAll=!0),n),zd=e=>Jc(e)||!Xc(e);function Hd(e,t,n=new WeakSet){if(zd(e)||zd(t))return Object.is(e,t);if(Yc(e)&&Yc(t))return Object.is(e.getTime(),t.getTime());const r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(const i of r){const r=e[i];if(!o.includes(i))return!1;if("ref"!==i){const e=t[i];if(Yc(r)&&Yc(e)||(ed(r)||Array.isArray(r))&&(ed(e)||Array.isArray(e))?!Hd(r,e,n):!Object.is(r,e))return!1}}return!0}function Vd(e){const t=Od(),{control:n=t,name:r,defaultValue:o,disabled:i,exact:a,compute:l}=e||{},s=H.useRef(o),u=H.useRef(l),c=H.useRef(void 0),d=H.useRef(n),f=H.useRef(r);u.current=l;const[p,h]=H.useState(()=>{const e=n._getWatch(r,s.current);return u.current?u.current(e):e}),m=H.useCallback(e=>{const t=Bd(r,n._names,e||n._formValues,!1,s.current);return u.current?u.current(t):t},[n._formValues,n._names,r]),g=H.useCallback(e=>{if(!i){const t=Bd(r,n._names,e||n._formValues,!1,s.current);if(u.current){const e=u.current(t);Hd(e,c.current)||(h(e),c.current=e)}else h(t)}},[n._formValues,n._names,i,r]);Ld(()=>(d.current===n&&Hd(f.current,r)||(d.current=n,f.current=r,g()),n._subscribe({name:r,formState:{values:!0},exact:a,callback:e=>{g(e.values)}})),[n,a,r,g]),H.useEffect(()=>n._removeUnmounted());const v=d.current!==n,y=f.current,b=H.useMemo(()=>{if(i)return null;const e=!v&&!Hd(y,r);return v||e?m():null},[i,v,r,y,m]);return null!==b?b:p}function Wd(e){const t=Od(),{name:n,disabled:r,control:o=t,shouldUnregister:i,defaultValue:a,exact:l=!0}=e,s=nd(o._names.array,n),u=H.useMemo(()=>ud(o._formValues,n,ud(o._defaultValues,n,a)),[o,n,a]),c=Vd({control:o,name:n,defaultValue:u,exact:l}),d=function(e){const t=Od(),{control:n=t,disabled:r,name:o,exact:i}=e||{},[a,l]=H.useState(n._formState),s=H.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return Ld(()=>n._subscribe({name:o,formState:s.current,exact:i,callback:e=>{!r&&l({...n._formState,...e})}}),[o,r,i]),H.useEffect(()=>{s.current.isValid&&n._setValid(!0)},[n]),H.useMemo(()=>Ad(a,n,s.current,!1),[a,n])}({control:o,name:n,exact:l}),f=H.useRef(e),p=H.useRef(void 0),h=H.useRef(o.register(n,{...e.rules,value:c,...cd(e.disabled)?{disabled:e.disabled}:{}}));f.current=e;const m=H.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!ud(d.errors,n)},isDirty:{enumerable:!0,get:()=>!!ud(d.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!ud(d.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!ud(d.validatingFields,n)},error:{enumerable:!0,get:()=>ud(d.errors,n)}}),[d,n]),g=H.useCallback(e=>h.current.onChange({target:{value:td(e),name:n},type:md}),[n]),v=H.useCallback(()=>h.current.onBlur({target:{value:ud(o._formValues,n),name:n},type:pd}),[n,o._formValues]),y=H.useCallback(e=>{const t=ud(o._fields,n);t&&t._f&&e&&(t._f.ref={focus:()=>dd(e.focus)&&e.focus(),select:()=>dd(e.select)&&e.select(),setCustomValidity:t=>dd(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>dd(e.reportValidity)&&e.reportValidity()})},[o._fields,n]),b=H.useMemo(()=>({name:n,value:c,...cd(r)||d.disabled?{disabled:d.disabled||r}:{},onChange:g,onBlur:v,ref:y}),[n,r,d.disabled,g,v,y,c]);return H.useEffect(()=>{const e=o._options.shouldUnregister||i,t=p.current;t&&t!==n&&!s&&o.unregister(t),o.register(n,{...f.current.rules,...cd(f.current.disabled)?{disabled:f.current.disabled}:{}});const r=(e,t)=>{const n=ud(o._fields,e);n&&n._f&&(n._f.mount=t)};if(r(n,!0),e){const e=od(ud(o._options.defaultValues,n,f.current.defaultValue));fd(o._defaultValues,n,e),ad(ud(o._formValues,n))&&fd(o._formValues,n,e)}return!s&&o.register(n),p.current=n,()=>{(s?e&&!o._state.action:e)?o.unregister(n):r(n,!1)}},[n,o,s,i]),H.useEffect(()=>{o._setDisabledField({disabled:r,name:n})},[r,n,o]),H.useMemo(()=>({field:b,formState:d,fieldState:m}),[b,d,m])}const Ud=e=>e.render(Wd(e));H.createContext(null).displayName="HookFormContext";var jd=(e,t,n,r,o)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:o||!0}}:{},Kd=e=>Array.isArray(e)?e:[e],qd=()=>{let e=[];return{get observers(){return e},next:t=>{for(const n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};function Gd(e,t){const n={};for(const r in e)if(e.hasOwnProperty(r)){const o=e[r],i=t[r];if(o&&ed(o)&&i){const e=Gd(o,i);ed(e)&&(n[r]=e)}else e[r]&&(n[r]=i)}return n}var $d=e=>ed(e)&&!Object.keys(e).length,Qd=e=>"file"===e.type,Zd=e=>{if(!rd)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Yd=e=>"select-multiple"===e.type,Jd=e=>"radio"===e.type,Xd=e=>Zd(e)&&e.isConnected;function ef(e,t){const n=Array.isArray(t)?t:id(t)?[t]:sd(t),r=1===n.length?e:function(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=ad(e)?r++:e[t[r++]];return e}(e,n),o=n.length-1,i=n[o];return r&&delete r[i],0!==o&&(ed(r)&&$d(r)||Array.isArray(r)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!ad(e[t]))return!1;return!0}(r))&&ef(e,n.slice(0,-1)),e}function tf(e){return Array.isArray(e)||ed(e)&&!(e=>{for(const t in e)if(dd(e[t]))return!0;return!1})(e)}function nf(e,t={}){for(const n in e){const r=e[n];tf(r)?(t[n]=Array.isArray(r)?[]:{},nf(r,t[n])):ad(r)||(t[n]=!0)}return t}function rf(e,t,n){n||(n=nf(t));for(const r in e){const o=e[r];if(tf(o))ad(t)||zd(n[r])?n[r]=nf(o,Array.isArray(o)?[]:{}):rf(o,Jc(t)?{}:t[r],n[r]);else{const e=t[r];n[r]=!Hd(o,e)}}return n}const of={value:!1,isValid:!1},af={value:!0,isValid:!0};var lf=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!ad(e[0].attributes.value)?ad(e[0].value)||""===e[0].value?af:{value:e[0].value,isValid:!0}:af:of}return of},sf=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>ad(e)?e:t?""===e?NaN:e?+e:e:n&&Nd(e)?new Date(e):r?r(e):e;const uf={isValid:!1,value:null};var cf=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,uf):uf;function df(e){const t=e.ref;return Qd(t)?t.files:Jd(t)?cf(e.refs).value:Yd(t)?[...t.selectedOptions].map(({value:e})=>e):Zc(t)?lf(e.refs).value:sf(ad(t.value)?e.ref.value:t.value,e)}var ff=e=>e instanceof RegExp,pf=e=>ad(e)?e:ff(e)?e.source:ed(e)?ff(e.value)?e.value.source:e.value:e,hf=e=>({isOnSubmit:!e||e===Cd,isOnBlur:e===bd,isOnChange:e===_d,isOnAll:e===Sd,isOnTouch:e===wd});const mf="AsyncFunction";var gf=e=>!!e&&!!e.validate&&!!(dd(e.validate)&&e.validate.constructor.name===mf||ed(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===mf)),vf=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));const yf=(e,t,n,r)=>{for(const o of n||Object.keys(e)){const n=ud(e,o);if(n){const{_f:e,...i}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],o)&&!r)return!0;if(e.ref&&t(e.ref,e.name)&&!r)return!0;if(yf(i,t))break}else if(ed(i)&&yf(i,t))break}}};function bf(e,t,n){const r=ud(e,n);if(r||id(n))return{error:r,name:n};const o=n.split(".");for(;o.length;){const r=o.join("."),i=ud(t,r),a=ud(e,r);if(i&&!Array.isArray(i)&&n!==r)return{name:n};if(a&&a.type)return{name:r,error:a};if(a&&a.root&&a.root.type)return{name:`${r}.root`,error:a.root};o.pop()}return{name:n}}var _f=(e,t,n)=>{const r=Kd(ud(e,n));return fd(r,Dd,t[n]),fd(e,n,r),e};function Cf(e,t,n="validate"){if(Nd(e)||Array.isArray(e)&&e.every(Nd)||cd(e)&&!e)return{type:n,message:Nd(e)?e:"",ref:t}}var wf=e=>ed(e)&&!ff(e)?e:{value:e,message:""},Sf=async(e,t,n,r,o,i)=>{const{ref:a,refs:l,required:s,maxLength:u,minLength:c,min:d,max:f,pattern:p,validate:h,name:m,valueAsNumber:g,mount:v}=e._f,y=ud(n,m);if(!v||t.has(m))return{};const b=l?l[0]:a,_=e=>{o&&b.reportValidity&&(b.setCustomValidity(cd(e)?"":e||""),b.reportValidity())},C={},w=Jd(a),S=Zc(a),x=w||S,k=(g||Qd(a))&&ad(a.value)&&ad(y)||Zd(a)&&""===a.value||""===y||Array.isArray(y)&&!y.length,E=jd.bind(null,m,r,C),F=(e,t,n,r=Ed,o=Fd)=>{const i=e?t:n;C[m]={type:e?r:o,message:i,ref:a,...E(e?r:o,i)}};if(i?!Array.isArray(y)||!y.length:s&&(!x&&(k||Jc(y))||cd(y)&&!y||S&&!lf(l).isValid||w&&!cf(l).isValid)){const{value:e,message:t}=Nd(s)?{value:!!s,message:s}:wf(s);if(e&&(C[m]={type:Td,message:t,ref:b,...E(Td,t)},!r))return _(t),C}if(!(k||Jc(d)&&Jc(f))){let e,t;const n=wf(f),o=wf(d);if(Jc(y)||isNaN(y)){const r=a.valueAsDate||new Date(y),i=e=>new Date((new Date).toDateString()+" "+e),l="time"==a.type,s="week"==a.type;Nd(n.value)&&y&&(e=l?i(y)>i(n.value):s?y>n.value:r>new Date(n.value)),Nd(o.value)&&y&&(t=l?i(y)<i(o.value):s?y<o.value:r<new Date(o.value))}else{const r=a.valueAsNumber||(y?+y:y);Jc(n.value)||(e=r>n.value),Jc(o.value)||(t=r<o.value)}if((e||t)&&(F(!!e,n.message,o.message,xd,kd),!r))return _(C[m].message),C}if((u||c)&&!k&&(Nd(y)||i&&Array.isArray(y))){const e=wf(u),t=wf(c),n=!Jc(e.value)&&y.length>+e.value,o=!Jc(t.value)&&y.length<+t.value;if((n||o)&&(F(n,e.message,t.message),!r))return _(C[m].message),C}if(p&&!k&&Nd(y)){const{value:e,message:t}=wf(p);if(ff(e)&&!y.match(e)&&(C[m]={type:Id,message:t,ref:a,...E(Id,t)},!r))return _(t),C}if(h)if(dd(h)){const e=Cf(await h(y,n),b);if(e&&(C[m]={...e,...E(Pd,e.message)},!r))return _(e.message),C}else if(ed(h)){let e={};for(const t in h){if(!$d(e)&&!r)break;const o=Cf(await h[t](y,n),b,t);o&&(e={...o,...E(t,o.message)},_(o.message),r&&(C[m]=e))}if(!$d(e)&&(C[m]={ref:b,...e},!r))return C}return _(!0),C};const xf={mode:Cd,reValidateMode:_d,shouldFocusError:!0};function kf(e={}){let t,n={...xf,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:dd(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},o={},i=(ed(n.defaultValues)||ed(n.values))&&od(n.defaultValues||n.values)||{},a=n.shouldUnregister?{}:od(i),l={action:!1,mount:!1,watch:!1,keepIsValid:!1},s={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},u=0;const c={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={...c};let f={...d};const p={array:qd(),state:qd()},h=n.criteriaMode===Sd,m=async e=>{if(!l.keepIsValid&&!n.disabled&&(d.isValid||f.isValid||e)){let e;n.resolver?(e=$d((await C()).errors),g()):e=await S({fields:o,onlyCheckValid:!0,eventType:yd}),e!==r.isValid&&p.state.next({isValid:e})}},g=(e,t)=>{!n.disabled&&(d.isValidating||d.validatingFields||f.isValidating||f.validatingFields)&&((e||Array.from(s.mount)).forEach(e=>{e&&(t?fd(r.validatingFields,e,t):ef(r.validatingFields,e))}),p.state.next({validatingFields:r.validatingFields,isValidating:!$d(r.validatingFields)}))},v=e=>{const t=rf(i,a),n=(e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(e);fd(r.dirtyFields,n,ud(t,n))},y=(e,t,n,r)=>{const s=ud(o,e);if(s){const o=ud(a,e,ad(n)?ud(i,e):n);ad(o)||r&&r.defaultChecked||t?fd(a,e,t?o:df(s._f)):E(e,o),l.mount&&!l.action&&m()}},b=(e,t,o,a,l)=>{let s=!1,u=!1;const c={name:e};if(!n.disabled){if(!o||a){(d.isDirty||f.isDirty)&&(u=r.isDirty,r.isDirty=c.isDirty=x(),s=u!==c.isDirty);const n=Hd(ud(i,e),t);u=!!ud(r.dirtyFields,e),n?ef(r.dirtyFields,e):fd(r.dirtyFields,e,!0),c.dirtyFields=r.dirtyFields,s=s||(d.dirtyFields||f.dirtyFields)&&u!==!n}if(o){const t=ud(r.touchedFields,e);t||(fd(r.touchedFields,e,o),c.touchedFields=r.touchedFields,s=s||(d.touchedFields||f.touchedFields)&&t!==o)}s&&l&&p.state.next(c)}return s?c:{}},_=(e,o,i,a)=>{const l=ud(r.errors,e),s=(d.isValid||f.isValid)&&cd(o)&&r.isValid!==o;var c;if(n.delayError&&i?(c=()=>((e,t)=>{fd(r.errors,e,t),p.state.next({errors:r.errors})})(e,i),t=e=>{clearTimeout(u),u=setTimeout(c,e)},t(n.delayError)):(clearTimeout(u),t=null,i?fd(r.errors,e,i):ef(r.errors,e)),(i?!Hd(l,i):l)||!$d(a)||s){const t={...a,...s&&cd(o)?{isValid:o}:{},errors:r.errors,name:e};r={...r,...t},p.state.next(t)}},C=async e=>(g(e,!0),await n.resolver(a,n.context,((e,t,n,r)=>{const o={};for(const n of e){const e=ud(t,n);e&&fd(o,n,e._f)}return{criteriaMode:n,names:[...e],fields:o,shouldUseNativeValidation:r}})(e||s.mount,o,n.criteriaMode,n.shouldUseNativeValidation))),w=async({name:t,eventType:n})=>{if(e.validate){const o=await e.validate({formValues:a,formState:r,name:t,eventType:n});if(ed(o))for(const e in o){o[e]&&A(`${Rd}.${e}`,{message:Nd(o.message)?o.message:"",type:Pd})}else Nd(o)||!o?A(Rd,{message:o||"",type:Pd}):O(Rd);return o}return!0},S=async({fields:t,onlyCheckValid:o,name:i,eventType:l,context:u={valid:!0,runRootValidation:!1}})=>{if(e.validate){u.runRootValidation=!0;if(!await w({name:i,eventType:l})&&(u.valid=!1,o))return u.valid}for(const i in t){const c=t[i];if(c){const{_f:t,...f}=c;if(t){const i=s.array.has(t.name),l=c._f&&gf(c._f);l&&d.validatingFields&&g([t.name],!0);const f=await Sf(c,s.disabled,a,h,n.shouldUseNativeValidation&&!o,i);if(l&&d.validatingFields&&g([t.name]),f[t.name]&&(u.valid=!1,o))break;if(!o&&(ud(f,t.name)?i?_f(r.errors,f,t.name):fd(r.errors,t.name,f[t.name]):ef(r.errors,t.name)),e.shouldUseNativeValidation&&f[t.name])break}!$d(f)&&await S({context:u,onlyCheckValid:o,fields:f,name:i,eventType:l})}}return u.valid},x=(e,t)=>!n.disabled&&(e&&t&&fd(a,e,t),!Hd(D(),i)),k=(e,t,n)=>Bd(e,s,{...l.mount?a:ad(t)?i:Nd(e)?{[e]:t}:t},n,t),E=(e,t,n={})=>{const r=ud(o,e);let i=t;if(r){const n=r._f;n&&(!n.disabled&&fd(a,e,sf(t,n)),i=Zd(n.ref)&&Jc(t)?"":t,Yd(n.ref)?[...n.ref.options].forEach(e=>e.selected=i.includes(e.value)):n.refs?Zc(n.ref)?n.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(i)?e.checked=!!i.find(t=>t===e.value):e.checked=i===e.value||!!i)}):n.refs.forEach(e=>e.checked=e.value===i):Qd(n.ref)?n.ref.value="":(n.ref.value=i,n.ref.type||p.state.next({name:e,values:od(a)})))}(n.shouldDirty||n.shouldTouch)&&b(e,i,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&R(e)},F=(e,t,n)=>{for(const r in t){if(!t.hasOwnProperty(r))return;const i=t[r],a=e+"."+r,l=ud(o,a);(s.array.has(e)||ed(i)||l&&!l._f)&&!Yc(i)?F(a,i,n):E(a,i,n)}},I=(e,t,n={})=>{const i=ud(o,e),u=s.array.has(e),c=od(t);fd(a,e,c),u?(p.array.next({name:e,values:od(a)}),(d.isDirty||d.dirtyFields||f.isDirty||f.dirtyFields)&&n.shouldDirty&&(v(e),p.state.next({name:e,dirtyFields:r.dirtyFields,isDirty:x(e,c)}))):!i||i._f||Jc(c)?E(e,c,n):F(e,c,n),vf(e,s)?p.state.next({...r,name:e,values:od(a)}):p.state.next({name:l.mount?e:void 0,values:od(a)})},T=async i=>{l.mount=!0;const u=i.target;let c=u.name,v=!0;const y=ud(o,c),x=e=>{v=Number.isNaN(e)||Yc(e)&&isNaN(e.getTime())||Hd(e,ud(a,c,e))},k=hf(n.mode),E=hf(n.reValidateMode);if(y){let l,I;const T=u.type?df(y._f):td(i),P=i.type===pd||i.type===hd,D=!((F=y._f).mount&&(F.required||F.min||F.max||F.maxLength||F.minLength||F.pattern||F.validate)||e.validate||n.resolver||ud(r.errors,c)||y._f.deps)||((e,t,n,r,o)=>!o.isOnAll&&(!n&&o.isOnTouch?!(t||e):(n?r.isOnBlur:o.isOnBlur)?!e:!(n?r.isOnChange:o.isOnChange)||e))(P,ud(r.touchedFields,c),r.isSubmitted,E,k),M=vf(c,s,P);fd(a,c,T),P?u&&u.readOnly||(y._f.onBlur&&y._f.onBlur(i),t&&t(0)):y._f.onChange&&y._f.onChange(i);const O=b(c,T,P),A=!$d(O)||M;if(!P&&p.state.next({name:c,type:i.type,values:od(a)}),D)return(d.isValid||f.isValid)&&("onBlur"===n.mode?P&&m():P||m()),A&&p.state.next({name:c,...M?{}:O});if(!n.resolver&&e.validate&&await w({name:c,eventType:i.type}),!P&&M&&p.state.next({...r}),n.resolver){const{errors:e}=await C([c]);if(g([c]),x(T),v){const t=bf(r.errors,o,c),n=bf(e,o,t.name||c);l=n.error,c=n.name,I=$d(e)}}else g([c],!0),l=(await Sf(y,s.disabled,a,h,n.shouldUseNativeValidation))[c],g([c]),x(T),v&&(l?I=!1:(d.isValid||f.isValid)&&(I=await S({fields:o,onlyCheckValid:!0,name:c,eventType:i.type})));v&&(y._f.deps&&(!Array.isArray(y._f.deps)||y._f.deps.length>0)&&R(y._f.deps),_(c,I,l,O))}var F},P=(e,t)=>{if(ud(r.errors,t)&&e.focus)return e.focus(),1},R=async(e,t={})=>{let i,a;const l=Kd(e);if(n.resolver){const t=await(async e=>{const{errors:t}=await C(e);if(g(e),e)for(const n of e){const e=ud(t,n);e?fd(r.errors,n,e):ef(r.errors,n)}else r.errors=t;return t})(ad(e)?e:l);i=$d(t),a=e?!l.some(e=>ud(t,e)):i}else e?(a=(await Promise.all(l.map(async e=>{const t=ud(o,e);return await S({fields:t&&t._f?{[e]:t}:t,eventType:vd})}))).every(Boolean),(a||r.isValid)&&m()):a=i=await S({fields:o,name:e,eventType:vd});return p.state.next({...!Nd(e)||(d.isValid||f.isValid)&&i!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:i}:{},errors:r.errors}),t.shouldFocus&&!a&&yf(o,P,e?l:s.mount),a},D=(e,t)=>{let n={...l.mount?a:i};return t&&(n=Gd(t.dirtyFields?r.dirtyFields:r.touchedFields,n)),ad(e)?n:Nd(e)?ud(n,e):e.map(e=>ud(n,e))},M=(e,t)=>({invalid:!!ud((t||r).errors,e),isDirty:!!ud((t||r).dirtyFields,e),error:ud((t||r).errors,e),isValidating:!!ud(r.validatingFields,e),isTouched:!!ud((t||r).touchedFields,e)}),O=e=>{const t=e?Kd(e):void 0;null==t||t.forEach(e=>ef(r.errors,e)),t?t.forEach(e=>{p.state.next({name:e,errors:r.errors})}):p.state.next({errors:{}})},A=(e,t,n)=>{const i=(ud(o,e,{_f:{}})._f||{}).ref,a=ud(r.errors,e)||{},{ref:l,message:s,type:u,...c}=a;fd(r.errors,e,{...c,...t,ref:i}),p.state.next({name:e,errors:r.errors,isValid:!1}),n&&n.shouldFocus&&i&&i.focus&&i.focus()},L=e=>p.state.subscribe({next:t=>{var n,o,l;n=e.name,o=t.name,l=e.exact,n&&o&&n!==o&&!Kd(n).some(e=>e&&(l?e===o:e.startsWith(o)||o.startsWith(e)))||!((e,t,n,r)=>{n(e);const{name:o,...i}=e;return $d(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(e=>t[e]===(!r||Sd))})(t,e.formState||d,j,e.reRenderRoot)||e.callback({values:{...a},...r,...t,defaultValues:i})}}).unsubscribe,N=(e,t={})=>{for(const l of e?Kd(e):s.mount)s.mount.delete(l),s.array.delete(l),t.keepValue||(ef(o,l),ef(a,l)),!t.keepError&&ef(r.errors,l),!t.keepDirty&&ef(r.dirtyFields,l),!t.keepTouched&&ef(r.touchedFields,l),!t.keepIsValidating&&ef(r.validatingFields,l),!n.shouldUnregister&&!t.keepDefaultValue&&ef(i,l);p.state.next({values:od(a)}),p.state.next({...r,...t.keepDirty?{isDirty:x()}:{}}),!t.keepIsValid&&m()},B=({disabled:e,name:t})=>{if(cd(e)&&l.mount||e||s.disabled.has(t)){const n=s.disabled.has(t)!==!!e;e?s.disabled.add(t):s.disabled.delete(t),n&&l.mount&&!l.action&&m()}},z=(e,t={})=>{let r=ud(o,e);const a=cd(t.disabled)||cd(n.disabled),u=!s.registerName.has(e)&&r&&!r._f.mount;return fd(o,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),s.mount.add(e),r&&!u?B({disabled:cd(t.disabled)?t.disabled:n.disabled,name:e}):y(e,!0,t.value),{...a?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:pf(t.min),max:pf(t.max),minLength:pf(t.minLength),maxLength:pf(t.maxLength),pattern:pf(t.pattern)}:{},name:e,onChange:T,onBlur:T,ref:a=>{if(a){s.registerName.add(e),z(e,t),s.registerName.delete(e),r=ud(o,e);const n=ad(a.value)&&a.querySelectorAll&&a.querySelectorAll("input,select,textarea")[0]||a,l=(e=>Jd(e)||Zc(e))(n),u=r._f.refs||[];if(l?u.find(e=>e===n):n===r._f.ref)return;fd(o,e,{_f:{...r._f,...l?{refs:[...u.filter(Xd),n,...Array.isArray(ud(i,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),y(e,!1,void 0,n)}else r=ud(o,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!nd(s.array,e)||!l.action)&&s.unMount.add(e)}}},H=()=>n.shouldFocusError&&yf(o,P,s.mount),V=(e,t)=>async i=>{let l;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let u=od(a);if(p.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await C();g(),r.errors=e,u=od(t)}else await S({fields:o,eventType:gd});if(s.disabled.size)for(const e of s.disabled)ef(u,e);if(ef(r.errors,Dd),$d(r.errors)){p.state.next({errors:{}});try{await e(u,i)}catch(e){l=e}}else t&&await t({...r.errors},i),H(),setTimeout(H);if(p.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:$d(r.errors)&&!l,submitCount:r.submitCount+1,errors:r.errors}),l)throw l},W=(e,t={})=>{const u=e?od(e):i,c=od(u),f=$d(e),h=f?i:c;if(t.keepDefaultValues||(i=u),!t.keepValues){if(t.keepDirtyValues){const e=new Set([...s.mount,...Object.keys(rf(i,a))]);for(const t of Array.from(e)){const e=ud(r.dirtyFields,t),n=ud(a,t),o=ud(h,t);e&&!ad(n)?fd(h,t,n):e||ad(o)||I(t,o)}}else{if(rd&&ad(e))for(const e of s.mount){const t=ud(o,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(Zd(e)){const t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(const e of s.mount)I(e,ud(h,e));else o={}}a=n.shouldUnregister?t.keepDefaultValues?od(i):{}:od(h),p.array.next({values:{...h}}),p.state.next({values:{...h}})}s={mount:t.keepDirtyValues?s.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},l.mount=!d.isValid||!!t.keepIsValid||!!t.keepDirtyValues||!n.shouldUnregister&&!$d(h),l.watch=!!n.shouldUnregister,l.keepIsValid=!!t.keepIsValid,l.action=!1,t.keepErrors||(r.errors={}),p.state.next({submitCount:t.keepSubmitCount?r.submitCount:0,isDirty:!f&&(t.keepDirty?r.isDirty:!(!t.keepDefaultValues||Hd(e,i))),isSubmitted:!!t.keepIsSubmitted&&r.isSubmitted,dirtyFields:f?{}:t.keepDirtyValues?t.keepDefaultValues&&a?rf(i,a):r.dirtyFields:t.keepDefaultValues&&e?rf(i,e):t.keepDirty?r.dirtyFields:{},touchedFields:t.keepTouched?r.touchedFields:{},errors:t.keepErrors?r.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:i})},U=(e,t)=>W(dd(e)?e(a):e,{...n.resetOptions,...t}),j=e=>{r={...r,...e}},K={control:{register:z,unregister:N,getFieldState:M,handleSubmit:V,setError:A,_subscribe:L,_runSchema:C,_updateIsValidating:g,_focusError:H,_getWatch:k,_getDirty:x,_setValid:m,_setFieldArray:(e,t=[],i,s,u=!0,c=!0)=>{if(s&&i&&!n.disabled){if(l.action=!0,c&&Array.isArray(ud(o,e))){const t=i(ud(o,e),s.argA,s.argB);u&&fd(o,e,t)}if(c&&Array.isArray(ud(r.errors,e))){const t=i(ud(r.errors,e),s.argA,s.argB);u&&fd(r.errors,e,t),((e,t)=>{!ld(ud(e,t)).length&&ef(e,t)})(r.errors,e)}if((d.touchedFields||f.touchedFields)&&c&&Array.isArray(ud(r.touchedFields,e))){const t=i(ud(r.touchedFields,e),s.argA,s.argB);u&&fd(r.touchedFields,e,t)}(d.dirtyFields||f.dirtyFields)&&v(e),p.state.next({name:e,isDirty:x(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else fd(a,e,t)},_setDisabledField:B,_setErrors:e=>{r.errors=e,p.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>ld(ud(l.mount?a:i,e,n.shouldUnregister?ud(i,e,[]):[])),_reset:W,_resetDefaultValues:()=>dd(n.defaultValues)&&n.defaultValues().then(e=>{U(e,n.resetOptions),p.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(const e of s.unMount){const t=ud(o,e);t&&(t._f.refs?t._f.refs.every(e=>!Xd(e)):!Xd(t._f.ref))&&N(e)}s.unMount=new Set},_disableForm:e=>{cd(e)&&(p.state.next({disabled:e}),yf(o,(t,n)=>{const r=ud(o,n);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEach(t=>{t.disabled=r._f.disabled||e}))},0,!1))},_subjects:p,_proxyFormState:d,get _fields(){return o},get _formValues(){return a},get _state(){return l},set _state(e){l=e},get _defaultValues(){return i},get _names(){return s},set _names(e){s=e},get _formState(){return r},get _options(){return n},set _options(e){n={...n,...e}}},subscribe:e=>(l.mount=!0,f={...f,...e.formState},L({...e,formState:{...c,...e.formState}})),trigger:R,register:z,handleSubmit:V,watch:(e,t)=>dd(e)?p.state.subscribe({next:n=>"values"in n&&e(k(void 0,t),n)}):k(e,t,!0),setValue:I,getValues:D,reset:U,resetField:(e,t={})=>{ud(o,e)&&(ad(t.defaultValue)?I(e,od(ud(i,e))):(I(e,t.defaultValue),fd(i,e,od(t.defaultValue))),t.keepTouched||ef(r.touchedFields,e),t.keepDirty||(ef(r.dirtyFields,e),r.isDirty=t.defaultValue?x(e,od(ud(i,e))):x()),t.keepError||(ef(r.errors,e),d.isValid&&m()),p.state.next({...r}))},clearErrors:O,unregister:N,setError:A,setFocus:(e,t={})=>{const n=ud(o,e),r=n&&n._f;if(r){const e=r.refs?r.refs[0]:r.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&dd(e.select)&&e.select()})}},getFieldState:M};return{...K,formControl:K}}var Ef,Ff;e.FormModel=void 0,(Ef=e.FormModel||(e.FormModel={})).FirstName="firstName",Ef.LastName="lastName",Ef.Email="email",Ef.JobRole="jobRole",Ef.CustomerPartnerName="customerPartnerName",Ef.CustomerPartnerMail="customerPartnerMail",Ef.IsSharedMail="isSharedMail",Ef.IsConsented="isConsented",Ef.ConsentedDate="consentedDate",Ef.CompanyName="companyName",Ef.CompanySize="orgSizingId",Ef.Country="countryCode",Ef.PreferredLanguage="preferredLanguage",Ef.HearAbout="knownProductFrom",Ef.Partner="partner",Ef.PerfromedByPartner="perfromedByPartner",Ef.UserObjectId="userObjectId",Ef.OrgIndustryId="orgIndustryId",e.FormType=void 0,(Ff=e.FormType||(e.FormType={})).Text="text",Ff.AsyncText="asyncText",Ff.Dropdown="dropdown",Ff.ComboBox="combobox",Ff.CheckBox="checkbox";const If={theme:{backgroundColor:"#FCFCFF",fonts:{family:"Proxima Nova, sans-serif",sizes:{heading:36,subheading:18,body:16}}}};var Tf={exports:{}};
20
+ */function J(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Y=new Set,Z={};function ee(e,t){te(e,t),te(e+"Capture",t)}function te(e,t){for(Z[e]=t,e=0;e<t.length;e++)Y.add(t[e])}var re=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),ne=Object.prototype.hasOwnProperty,oe=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ae={},ie={};function le(e,t,r,n,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var se={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){se[e]=new le(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];se[t]=new le(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){se[e]=new le(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){se[e]=new le(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){se[e]=new le(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){se[e]=new le(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){se[e]=new le(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){se[e]=new le(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){se[e]=new le(e,5,!1,e.toLowerCase(),null,!1,!1)});var ce=/[\-:]([a-z])/g;function ue(e){return e[1].toUpperCase()}function de(e,t,r,n){var o=se.hasOwnProperty(t)?se[t]:null;(null!==o?0!==o.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,o,n)&&(r=null),n||null===o?function(e){return!!ne.call(ie,e)||!ne.call(ae,e)&&(oe.test(e)?ie[e]=!0:(ae[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=null===r?3!==o.type&&"":r:(t=o.attributeName,n=o.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(o=o.type)||4===o&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ce,ue);se[t]=new le(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ce,ue);se[t]=new le(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ce,ue);se[t]=new le(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){se[e]=new le(e,1,!1,e.toLowerCase(),null,!1,!1)}),se.xlinkHref=new le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){se[e]=new le(e,1,!1,e.toLowerCase(),null,!0,!0)});var fe=K.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,pe=Symbol.for("react.element"),he=Symbol.for("react.portal"),me=Symbol.for("react.fragment"),ge=Symbol.for("react.strict_mode"),ve=Symbol.for("react.profiler"),be=Symbol.for("react.provider"),ye=Symbol.for("react.context"),we=Symbol.for("react.forward_ref"),ke=Symbol.for("react.suspense"),xe=Symbol.for("react.suspense_list"),_e=Symbol.for("react.memo"),Se=Symbol.for("react.lazy"),Be=Symbol.for("react.offscreen"),Ee=Symbol.iterator;function Ce(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Ee&&e[Ee]||e["@@iterator"])?e:null}var ze,Ne=Object.assign;function Te(e){if(void 0===ze)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ze=t&&t[1]||""}return"\n"+ze+e}var Fe=!1;function Re(e,t){if(!e||Fe)return"";Fe=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),a=n.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l]){var s="\n"+o[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{Fe=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Te(e):""}function Pe(e){switch(e.tag){case 5:return Te(e.type);case 16:return Te("Lazy");case 13:return Te("Suspense");case 19:return Te("SuspenseList");case 0:case 2:case 15:return e=Re(e.type,!1);case 11:return e=Re(e.type.render,!1);case 1:return e=Re(e.type,!0);default:return""}}function Oe(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case me:return"Fragment";case he:return"Portal";case ve:return"Profiler";case ge:return"StrictMode";case ke:return"Suspense";case xe:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ye:return(e.displayName||"Context")+".Consumer";case be:return(e._context.displayName||"Context")+".Provider";case we:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case _e:return null!==(t=e.displayName||null)?t:Oe(e.type)||"Memo";case Se:t=e._payload,e=e._init;try{return Oe(e(t))}catch(e){}}return null}function je(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Oe(t);case 8:return t===ge?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function De(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function Ae(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ie(e){e._valueTracker||(e._valueTracker=function(e){var t=Ae(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function qe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Ae(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function Le(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Me(e,t){var r=t.checked;return Ne({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function He(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=De(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Ve(e,t){null!=(t=t.checked)&&de(e,"checked",t,!1)}function We(e,t){Ve(e,t);var r=De(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?$e(e,t.type,r):t.hasOwnProperty("defaultValue")&&$e(e,t.type,De(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ue(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function $e(e,t,r){"number"===t&&Le(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Xe=Array.isArray;function Ge(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+De(r),t=null,o=0;o<e.length;o++){if(e[o].value===r)return e[o].selected=!0,void(n&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Ke(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(J(91));return Ne({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Qe(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(J(92));if(Xe(r)){if(1<r.length)throw Error(J(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:De(r)}}function Je(e,t){var r=De(t.value),n=De(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function Ye(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function Ze(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function et(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Ze(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var tt,rt,nt=(rt=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((tt=tt||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=tt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction(function(){return rt(e,t)})}:rt);function ot(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var at={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},it=["Webkit","ms","Moz","O"];function lt(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||at.hasOwnProperty(e)&&at[e]?(""+t).trim():t+"px"}function st(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),o=lt(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}Object.keys(at).forEach(function(e){it.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),at[t]=at[e]})});var ct=Ne({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ut(e,t){if(t){if(ct[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(J(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(J(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(J(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(J(62))}}function dt(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ft=null;function pt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ht=null,mt=null,gt=null;function vt(e){if(e=fa(e)){if("function"!=typeof ht)throw Error(J(280));var t=e.stateNode;t&&(t=ha(t),ht(e.stateNode,e.type,t))}}function bt(e){mt?gt?gt.push(e):gt=[e]:mt=e}function yt(){if(mt){var e=mt,t=gt;if(gt=mt=null,vt(e),t)for(e=0;e<t.length;e++)vt(t[e])}}function wt(e,t){return e(t)}function kt(){}var xt=!1;function _t(e,t,r){if(xt)return e(t,r);xt=!0;try{return wt(e,t,r)}finally{xt=!1,(null!==mt||null!==gt)&&(kt(),yt())}}function St(e,t){var r=e.stateNode;if(null===r)return null;var n=ha(r);if(null===n)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(J(231,t,typeof r));return r}var Bt=!1;if(re)try{var Et={};Object.defineProperty(Et,"passive",{get:function(){Bt=!0}}),window.addEventListener("test",Et,Et),window.removeEventListener("test",Et,Et)}catch(rt){Bt=!1}function Ct(e,t,r,n,o,a,i,l,s){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(e){this.onError(e)}}var zt=!1,Nt=null,Tt=!1,Ft=null,Rt={onError:function(e){zt=!0,Nt=e}};function Pt(e,t,r,n,o,a,i,l,s){zt=!1,Nt=null,Ct.apply(Rt,arguments)}function Ot(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function jt(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Dt(e){if(Ot(e)!==e)throw Error(J(188))}function At(e){return e=function(e){var t=e.alternate;if(!t){if(null===(t=Ot(e)))throw Error(J(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(n=o.return)){r=n;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===r)return Dt(o),e;if(a===n)return Dt(o),t;a=a.sibling}throw Error(J(188))}if(r.return!==n.return)r=o,n=a;else{for(var i=!1,l=o.child;l;){if(l===r){i=!0,r=o,n=a;break}if(l===n){i=!0,n=o,r=a;break}l=l.sibling}if(!i){for(l=a.child;l;){if(l===r){i=!0,r=a,n=o;break}if(l===n){i=!0,n=a,r=o;break}l=l.sibling}if(!i)throw Error(J(189))}}if(r.alternate!==n)throw Error(J(190))}if(3!==r.tag)throw Error(J(188));return r.stateNode.current===r?e:t}(e),null!==e?It(e):null}function It(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=It(e);if(null!==t)return t;e=e.sibling}return null}var qt=Q.unstable_scheduleCallback,Lt=Q.unstable_cancelCallback,Mt=Q.unstable_shouldYield,Ht=Q.unstable_requestPaint,Vt=Q.unstable_now,Wt=Q.unstable_getCurrentPriorityLevel,Ut=Q.unstable_ImmediatePriority,$t=Q.unstable_UserBlockingPriority,Xt=Q.unstable_NormalPriority,Gt=Q.unstable_LowPriority,Kt=Q.unstable_IdlePriority,Qt=null,Jt=null;var Yt=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(Zt(e)/er|0)|0},Zt=Math.log,er=Math.LN2;var tr=64,rr=4194304;function nr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function or(e,t){var r=e.pendingLanes;if(0===r)return 0;var n=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&r;if(0!==i){var l=i&~o;0!==l?n=nr(l):0!==(a&=i)&&(n=nr(a))}else 0!==(i=r&~o)?n=nr(i):0!==a&&(n=nr(a));if(0===n)return 0;if(0!==t&&t!==n&&0===(t&o)&&((o=n&-n)>=(a=t&-t)||16===o&&4194240&a))return t;if(4&n&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)o=1<<(r=31-Yt(t)),n|=e[r],t&=~o;return n}function ar(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ir(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function lr(){var e=tr;return!(4194240&(tr<<=1))&&(tr=64),e}function sr(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function cr(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-Yt(t)]=r}function ur(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-Yt(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var dr=0;function fr(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var pr,hr,mr,gr,vr,br=!1,yr=[],wr=null,kr=null,xr=null,_r=new Map,Sr=new Map,Br=[],Er="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Cr(e,t){switch(e){case"focusin":case"focusout":wr=null;break;case"dragenter":case"dragleave":kr=null;break;case"mouseover":case"mouseout":xr=null;break;case"pointerover":case"pointerout":_r.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Sr.delete(t.pointerId)}}function zr(e,t,r,n,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=fa(t))&&hr(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Nr(e){var t=da(e.target);if(null!==t){var r=Ot(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=jt(r)))return e.blockedOn=t,void vr(e.priority,function(){mr(r)})}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function Tr(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Mr(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=fa(r))&&hr(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);ft=n,r.target.dispatchEvent(n),ft=null,t.shift()}return!0}function Fr(e,t,r){Tr(e)&&r.delete(t)}function Rr(){br=!1,null!==wr&&Tr(wr)&&(wr=null),null!==kr&&Tr(kr)&&(kr=null),null!==xr&&Tr(xr)&&(xr=null),_r.forEach(Fr),Sr.forEach(Fr)}function Pr(e,t){e.blockedOn===t&&(e.blockedOn=null,br||(br=!0,Q.unstable_scheduleCallback(Q.unstable_NormalPriority,Rr)))}function Or(e){function t(t){return Pr(t,e)}if(0<yr.length){Pr(yr[0],e);for(var r=1;r<yr.length;r++){var n=yr[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==wr&&Pr(wr,e),null!==kr&&Pr(kr,e),null!==xr&&Pr(xr,e),_r.forEach(t),Sr.forEach(t),r=0;r<Br.length;r++)(n=Br[r]).blockedOn===e&&(n.blockedOn=null);for(;0<Br.length&&null===(r=Br[0]).blockedOn;)Nr(r),null===r.blockedOn&&Br.shift()}var jr=fe.ReactCurrentBatchConfig,Dr=!0;function Ar(e,t,r,n){var o=dr,a=jr.transition;jr.transition=null;try{dr=1,qr(e,t,r,n)}finally{dr=o,jr.transition=a}}function Ir(e,t,r,n){var o=dr,a=jr.transition;jr.transition=null;try{dr=4,qr(e,t,r,n)}finally{dr=o,jr.transition=a}}function qr(e,t,r,n){if(Dr){var o=Mr(e,t,r,n);if(null===o)Ao(e,t,n,Lr,r),Cr(e,n);else if(function(e,t,r,n,o){switch(t){case"focusin":return wr=zr(wr,e,t,r,n,o),!0;case"dragenter":return kr=zr(kr,e,t,r,n,o),!0;case"mouseover":return xr=zr(xr,e,t,r,n,o),!0;case"pointerover":var a=o.pointerId;return _r.set(a,zr(_r.get(a)||null,e,t,r,n,o)),!0;case"gotpointercapture":return a=o.pointerId,Sr.set(a,zr(Sr.get(a)||null,e,t,r,n,o)),!0}return!1}(o,e,t,r,n))n.stopPropagation();else if(Cr(e,n),4&t&&-1<Er.indexOf(e)){for(;null!==o;){var a=fa(o);if(null!==a&&pr(a),null===(a=Mr(e,t,r,n))&&Ao(e,t,n,Lr,r),a===o)break;o=a}null!==o&&n.stopPropagation()}else Ao(e,t,n,null,r)}}var Lr=null;function Mr(e,t,r,n){if(Lr=null,null!==(e=da(e=pt(n))))if(null===(t=Ot(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=jt(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Lr=e,null}function Hr(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Wt()){case Ut:return 1;case $t:return 4;case Xt:case Gt:return 16;case Kt:return 536870912;default:return 16}default:return 16}}var Vr=null,Wr=null,Ur=null;function $r(){if(Ur)return Ur;var e,t,r=Wr,n=r.length,o="value"in Vr?Vr.value:Vr.textContent,a=o.length;for(e=0;e<n&&r[e]===o[e];e++);var i=n-e;for(t=1;t<=i&&r[n-t]===o[a-t];t++);return Ur=o.slice(e,1<t?1-t:void 0)}function Xr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Gr(){return!0}function Kr(){return!1}function Qr(e){function t(t,r,n,o,a){for(var i in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?Gr:Kr,this.isPropagationStopped=Kr,this}return Ne(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Gr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Gr)},persist:function(){},isPersistent:Gr}),t}var Jr,Yr,Zr,en={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tn=Qr(en),rn=Ne({},en,{view:0,detail:0}),nn=Qr(rn),on=Ne({},rn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Zr&&(Zr&&"mousemove"===e.type?(Jr=e.screenX-Zr.screenX,Yr=e.screenY-Zr.screenY):Yr=Jr=0,Zr=e),Jr)},movementY:function(e){return"movementY"in e?e.movementY:Yr}}),an=Qr(on),ln=Qr(Ne({},on,{dataTransfer:0})),sn=Qr(Ne({},rn,{relatedTarget:0})),cn=Qr(Ne({},en,{animationName:0,elapsedTime:0,pseudoElement:0})),un=Ne({},en,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),dn=Qr(un),fn=Qr(Ne({},en,{data:0})),pn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},mn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=mn[e])&&!!t[e]}function vn(){return gn}var bn=Ne({},rn,{key:function(e){if(e.key){var t=pn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Xr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?hn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vn,charCode:function(e){return"keypress"===e.type?Xr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Xr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),yn=Qr(bn),wn=Qr(Ne({},on,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),kn=Qr(Ne({},rn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vn})),xn=Qr(Ne({},en,{propertyName:0,elapsedTime:0,pseudoElement:0})),_n=Ne({},on,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Sn=Qr(_n),Bn=[9,13,27,32],En=re&&"CompositionEvent"in window,Cn=null;re&&"documentMode"in document&&(Cn=document.documentMode);var zn=re&&"TextEvent"in window&&!Cn,Nn=re&&(!En||Cn&&8<Cn&&11>=Cn),Tn=String.fromCharCode(32),Fn=!1;function Rn(e,t){switch(e){case"keyup":return-1!==Bn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var On=!1;var jn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Dn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!jn[e.type]:"textarea"===t}function An(e,t,r,n){bt(n),0<(t=qo(t,"onChange")).length&&(r=new tn("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var In=null,qn=null;function Ln(e){Fo(e,0)}function Mn(e){if(qe(pa(e)))return e}function Hn(e,t){if("change"===e)return t}var Vn=!1;if(re){var Wn;if(re){var Un="oninput"in document;if(!Un){var $n=document.createElement("div");$n.setAttribute("oninput","return;"),Un="function"==typeof $n.oninput}Wn=Un}else Wn=!1;Vn=Wn&&(!document.documentMode||9<document.documentMode)}function Xn(){In&&(In.detachEvent("onpropertychange",Gn),qn=In=null)}function Gn(e){if("value"===e.propertyName&&Mn(qn)){var t=[];An(t,qn,e,pt(e)),_t(Ln,t)}}function Kn(e,t,r){"focusin"===e?(Xn(),qn=r,(In=t).attachEvent("onpropertychange",Gn)):"focusout"===e&&Xn()}function Qn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Mn(qn)}function Jn(e,t){if("click"===e)return Mn(t)}function Yn(e,t){if("input"===e||"change"===e)return Mn(t)}var Zn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function eo(e,t){if(Zn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var o=r[n];if(!ne.call(t,o)||!Zn(e[o],t[o]))return!1}return!0}function to(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ro(e,t){var r,n=to(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=to(n)}}function no(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?no(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function oo(){for(var e=window,t=Le();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=Le((e=t.contentWindow).document)}return t}function ao(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function io(e){var t=oo(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&no(r.ownerDocument.documentElement,r)){if(null!==n&&ao(r))if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=r.textContent.length,a=Math.min(n.start,o);n=void 0===n.end?a:Math.min(n.end,o),!e.extend&&a>n&&(o=n,n=a,a=o),o=ro(r,a);var i=ro(r,n);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var lo=re&&"documentMode"in document&&11>=document.documentMode,so=null,co=null,uo=null,fo=!1;function po(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;fo||null==so||so!==Le(n)||("selectionStart"in(n=so)&&ao(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},uo&&eo(uo,n)||(uo=n,0<(n=qo(co,"onSelect")).length&&(t=new tn("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=so)))}function ho(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var mo={animationend:ho("Animation","AnimationEnd"),animationiteration:ho("Animation","AnimationIteration"),animationstart:ho("Animation","AnimationStart"),transitionend:ho("Transition","TransitionEnd")},go={},vo={};function bo(e){if(go[e])return go[e];if(!mo[e])return e;var t,r=mo[e];for(t in r)if(r.hasOwnProperty(t)&&t in vo)return go[e]=r[t];return e}re&&(vo=document.createElement("div").style,"AnimationEvent"in window||(delete mo.animationend.animation,delete mo.animationiteration.animation,delete mo.animationstart.animation),"TransitionEvent"in window||delete mo.transitionend.transition);var yo=bo("animationend"),wo=bo("animationiteration"),ko=bo("animationstart"),xo=bo("transitionend"),_o=new Map,So="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Bo(e,t){_o.set(e,t),ee(t,[e])}for(var Eo=0;Eo<So.length;Eo++){var Co=So[Eo];Bo(Co.toLowerCase(),"on"+(Co[0].toUpperCase()+Co.slice(1)))}Bo(yo,"onAnimationEnd"),Bo(wo,"onAnimationIteration"),Bo(ko,"onAnimationStart"),Bo("dblclick","onDoubleClick"),Bo("focusin","onFocus"),Bo("focusout","onBlur"),Bo(xo,"onTransitionEnd"),te("onMouseEnter",["mouseout","mouseover"]),te("onMouseLeave",["mouseout","mouseover"]),te("onPointerEnter",["pointerout","pointerover"]),te("onPointerLeave",["pointerout","pointerover"]),ee("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ee("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ee("onBeforeInput",["compositionend","keypress","textInput","paste"]),ee("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ee("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ee("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),No=new Set("cancel close invalid load scroll toggle".split(" ").concat(zo));function To(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,o,a,i,l,s){if(Pt.apply(this,arguments),zt){if(!zt)throw Error(J(198));var c=Nt;zt=!1,Nt=null,Tt||(Tt=!0,Ft=c)}}(n,t,void 0,e),e.currentTarget=null}function Fo(e,t){t=!!(4&t);for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var a=void 0;if(t)for(var i=n.length-1;0<=i;i--){var l=n[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;To(o,l,c),a=s}else for(i=0;i<n.length;i++){if(s=(l=n[i]).instance,c=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;To(o,l,c),a=s}}}if(Tt)throw e=Ft,Tt=!1,Ft=null,e}function Ro(e,t){var r=t[sa];void 0===r&&(r=t[sa]=new Set);var n=e+"__bubble";r.has(n)||(Do(t,e,2,!1),r.add(n))}function Po(e,t,r){var n=0;t&&(n|=4),Do(r,e,n,t)}var Oo="_reactListening"+Math.random().toString(36).slice(2);function jo(e){if(!e[Oo]){e[Oo]=!0,Y.forEach(function(t){"selectionchange"!==t&&(No.has(t)||Po(t,!1,e),Po(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Oo]||(t[Oo]=!0,Po("selectionchange",!1,t))}}function Do(e,t,r,n){switch(Hr(t)){case 1:var o=Ar;break;case 4:o=Ir;break;default:o=qr}r=o.bind(null,t,r,e),o=void 0,!Bt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),n?void 0!==o?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):void 0!==o?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function Ao(e,t,r,n,o){var a=n;if(!(1&t||2&t||null===n))e:for(;;){if(null===n)return;var i=n.tag;if(3===i||4===i){var l=n.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=n.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=da(l)))return;if(5===(s=i.tag)||6===s){n=a=i;continue e}l=l.parentNode}}n=n.return}_t(function(){var n=a,o=pt(r),i=[];e:{var l=_o.get(e);if(void 0!==l){var s=tn,c=e;switch(e){case"keypress":if(0===Xr(r))break e;case"keydown":case"keyup":s=yn;break;case"focusin":c="focus",s=sn;break;case"focusout":c="blur",s=sn;break;case"beforeblur":case"afterblur":s=sn;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=an;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=ln;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=kn;break;case yo:case wo:case ko:s=cn;break;case xo:s=xn;break;case"scroll":s=nn;break;case"wheel":s=Sn;break;case"copy":case"cut":case"paste":s=dn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=wn}var u=!!(4&t),d=!u&&"scroll"===e,f=u?null!==l?l+"Capture":null:l;u=[];for(var p,h=n;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=St(h,f))&&u.push(Io(h,m,p)))),d)break;h=h.return}0<u.length&&(l=new s(l,c,null,r,o),i.push({event:l,listeners:u}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||r===ft||!(c=r.relatedTarget||r.fromElement)||!da(c)&&!c[la])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=n,null!==(c=(c=r.relatedTarget||r.toElement)?da(c):null)&&(c!==(d=Ot(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(s=null,c=n),s!==c)){if(u=an,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=wn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:pa(s),p=null==c?l:pa(c),(l=new u(m,h+"leave",s,r,o)).target=d,l.relatedTarget=p,m=null,da(o)===n&&((u=new u(f,h+"enter",c,r,o)).target=p,u.relatedTarget=d,m=u),d=m,s&&c)e:{for(f=c,h=0,p=u=s;p;p=Lo(p))h++;for(p=0,m=f;m;m=Lo(m))p++;for(;0<h-p;)u=Lo(u),h--;for(;0<p-h;)f=Lo(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break e;u=Lo(u),f=Lo(f)}u=null}else u=null;null!==s&&Mo(i,l,s,u,!1),null!==c&&null!==d&&Mo(i,d,c,u,!0)}if("select"===(s=(l=n?pa(n):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var g=Hn;else if(Dn(l))if(Vn)g=Yn;else{g=Qn;var v=Kn}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(g=Jn);switch(g&&(g=g(e,n))?An(i,g,r,o):(v&&v(e,l,n),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&$e(l,"number",l.value)),v=n?pa(n):window,e){case"focusin":(Dn(v)||"true"===v.contentEditable)&&(so=v,co=n,uo=null);break;case"focusout":uo=co=so=null;break;case"mousedown":fo=!0;break;case"contextmenu":case"mouseup":case"dragend":fo=!1,po(i,r,o);break;case"selectionchange":if(lo)break;case"keydown":case"keyup":po(i,r,o)}var b;if(En)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else On?Rn(e,r)&&(y="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(y="onCompositionStart");y&&(Nn&&"ko"!==r.locale&&(On||"onCompositionStart"!==y?"onCompositionEnd"===y&&On&&(b=$r()):(Wr="value"in(Vr=o)?Vr.value:Vr.textContent,On=!0)),0<(v=qo(n,y)).length&&(y=new fn(y,e,null,r,o),i.push({event:y,listeners:v}),b?y.data=b:null!==(b=Pn(r))&&(y.data=b))),(b=zn?function(e,t){switch(e){case"compositionend":return Pn(t);case"keypress":return 32!==t.which?null:(Fn=!0,Tn);case"textInput":return(e=t.data)===Tn&&Fn?null:e;default:return null}}(e,r):function(e,t){if(On)return"compositionend"===e||!En&&Rn(e,t)?(e=$r(),Ur=Wr=Vr=null,On=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Nn&&"ko"!==t.locale?null:t.data}}(e,r))&&(0<(n=qo(n,"onBeforeInput")).length&&(o=new fn("onBeforeInput","beforeinput",null,r,o),i.push({event:o,listeners:n}),o.data=b))}Fo(i,t)})}function Io(e,t,r){return{instance:e,listener:t,currentTarget:r}}function qo(e,t){for(var r=t+"Capture",n=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=St(e,r))&&n.unshift(Io(e,a,o)),null!=(a=St(e,t))&&n.push(Io(e,a,o))),e=e.return}return n}function Lo(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Mo(e,t,r,n,o){for(var a=t._reactName,i=[];null!==r&&r!==n;){var l=r,s=l.alternate,c=l.stateNode;if(null!==s&&s===n)break;5===l.tag&&null!==c&&(l=c,o?null!=(s=St(r,a))&&i.unshift(Io(r,s,l)):o||null!=(s=St(r,a))&&i.push(Io(r,s,l))),r=r.return}0!==i.length&&e.push({event:t,listeners:i})}var Ho=/\r\n?/g,Vo=/\u0000|\uFFFD/g;function Wo(e){return("string"==typeof e?e:""+e).replace(Ho,"\n").replace(Vo,"")}function Uo(e,t,r){if(t=Wo(t),Wo(e)!==t&&r)throw Error(J(425))}function $o(){}var Xo=null,Go=null;function Ko(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Qo="function"==typeof setTimeout?setTimeout:void 0,Jo="function"==typeof clearTimeout?clearTimeout:void 0,Yo="function"==typeof Promise?Promise:void 0,Zo="function"==typeof queueMicrotask?queueMicrotask:void 0!==Yo?function(e){return Yo.resolve(null).then(e).catch(ea)}:Qo;function ea(e){setTimeout(function(){throw e})}function ta(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&8===o.nodeType)if("/$"===(r=o.data)){if(0===n)return e.removeChild(o),void Or(t);n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++;r=o}while(r);Or(t)}function ra(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function na(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var oa=Math.random().toString(36).slice(2),aa="__reactFiber$"+oa,ia="__reactProps$"+oa,la="__reactContainer$"+oa,sa="__reactEvents$"+oa,ca="__reactListeners$"+oa,ua="__reactHandles$"+oa;function da(e){var t=e[aa];if(t)return t;for(var r=e.parentNode;r;){if(t=r[la]||r[aa]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=na(e);null!==e;){if(r=e[aa])return r;e=na(e)}return t}r=(e=r).parentNode}return null}function fa(e){return!(e=e[aa]||e[la])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function pa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(J(33))}function ha(e){return e[ia]||null}var ma=[],ga=-1;function va(e){return{current:e}}function ba(e){0>ga||(e.current=ma[ga],ma[ga]=null,ga--)}function ya(e,t){ga++,ma[ga]=e.current,e.current=t}var wa={},ka=va(wa),xa=va(!1),_a=wa;function Sa(e,t){var r=e.type.contextTypes;if(!r)return wa;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in r)a[o]=t[o];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ba(e){return null!=(e=e.childContextTypes)}function Ea(){ba(xa),ba(ka)}function Ca(e,t,r){if(ka.current!==wa)throw Error(J(168));ya(ka,t),ya(xa,r)}function za(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var o in n=n.getChildContext())if(!(o in t))throw Error(J(108,je(e)||"Unknown",o));return Ne({},r,n)}function Na(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wa,_a=ka.current,ya(ka,e),ya(xa,xa.current),!0}function Ta(e,t,r){var n=e.stateNode;if(!n)throw Error(J(169));r?(e=za(e,t,_a),n.__reactInternalMemoizedMergedChildContext=e,ba(xa),ba(ka),ya(ka,e)):ba(xa),ya(xa,r)}var Fa=null,Ra=!1,Pa=!1;function Oa(e){null===Fa?Fa=[e]:Fa.push(e)}function ja(){if(!Pa&&null!==Fa){Pa=!0;var e=0,t=dr;try{var r=Fa;for(dr=1;e<r.length;e++){var n=r[e];do{n=n(!0)}while(null!==n)}Fa=null,Ra=!1}catch(t){throw null!==Fa&&(Fa=Fa.slice(e+1)),qt(Ut,ja),t}finally{dr=t,Pa=!1}}return null}var Da=[],Aa=0,Ia=null,qa=0,La=[],Ma=0,Ha=null,Va=1,Wa="";function Ua(e,t){Da[Aa++]=qa,Da[Aa++]=Ia,Ia=e,qa=t}function $a(e,t,r){La[Ma++]=Va,La[Ma++]=Wa,La[Ma++]=Ha,Ha=e;var n=Va;e=Wa;var o=32-Yt(n)-1;n&=~(1<<o),r+=1;var a=32-Yt(t)+o;if(30<a){var i=o-o%5;a=(n&(1<<i)-1).toString(32),n>>=i,o-=i,Va=1<<32-Yt(t)+o|r<<o|n,Wa=a+e}else Va=1<<a|r<<o|n,Wa=e}function Xa(e){null!==e.return&&(Ua(e,1),$a(e,1,0))}function Ga(e){for(;e===Ia;)Ia=Da[--Aa],Da[Aa]=null,qa=Da[--Aa],Da[Aa]=null;for(;e===Ha;)Ha=La[--Ma],La[Ma]=null,Wa=La[--Ma],La[Ma]=null,Va=La[--Ma],La[Ma]=null}var Ka=null,Qa=null,Ja=!1,Ya=null;function Za(e,t){var r=_u(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function ei(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,Ka=e,Qa=ra(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Ka=e,Qa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==Ha?{id:Va,overflow:Wa}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=_u(18,null,null,0)).stateNode=t,r.return=e,e.child=r,Ka=e,Qa=null,!0);default:return!1}}function ti(e){return!(!(1&e.mode)||128&e.flags)}function ri(e){if(Ja){var t=Qa;if(t){var r=t;if(!ei(e,t)){if(ti(e))throw Error(J(418));t=ra(r.nextSibling);var n=Ka;t&&ei(e,t)?Za(n,r):(e.flags=-4097&e.flags|2,Ja=!1,Ka=e)}}else{if(ti(e))throw Error(J(418));e.flags=-4097&e.flags|2,Ja=!1,Ka=e}}}function ni(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ka=e}function oi(e){if(e!==Ka)return!1;if(!Ja)return ni(e),Ja=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Ko(e.type,e.memoizedProps)),t&&(t=Qa)){if(ti(e))throw ai(),Error(J(418));for(;t;)Za(e,t),t=ra(t.nextSibling)}if(ni(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(J(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){Qa=ra(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}Qa=null}}else Qa=Ka?ra(e.stateNode.nextSibling):null;return!0}function ai(){for(var e=Qa;e;)e=ra(e.nextSibling)}function ii(){Qa=Ka=null,Ja=!1}function li(e){null===Ya?Ya=[e]:Ya.push(e)}var si=fe.ReactCurrentBatchConfig;function ci(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(J(309));var n=r.stateNode}if(!n)throw Error(J(147,e));var o=n,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(J(284));if(!r._owner)throw Error(J(290,e))}return e}function ui(e,t){throw e=Object.prototype.toString.call(t),Error(J(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function di(e){return(0,e._init)(e._payload)}function fi(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Bu(e,t)).index=0,e.sibling=null,e}function a(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function i(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,r,n){return null===t||6!==t.tag?((t=Nu(r,e.mode,n)).return=e,t):((t=o(t,r)).return=e,t)}function s(e,t,r,n){var a=r.type;return a===me?u(e,t,r.props.children,n,r.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===Se&&di(a)===t.type)?((n=o(t,r.props)).ref=ci(e,t,r),n.return=e,n):((n=Eu(r.type,r.key,r.props,null,e.mode,n)).ref=ci(e,t,r),n.return=e,n)}function c(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Tu(r,e.mode,n)).return=e,t):((t=o(t,r.children||[])).return=e,t)}function u(e,t,r,n,a){return null===t||7!==t.tag?((t=Cu(r,e.mode,n,a)).return=e,t):((t=o(t,r)).return=e,t)}function d(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Nu(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case pe:return(r=Eu(t.type,t.key,t.props,null,e.mode,r)).ref=ci(e,null,t),r.return=e,r;case he:return(t=Tu(t,e.mode,r)).return=e,t;case Se:return d(e,(0,t._init)(t._payload),r)}if(Xe(t)||Ce(t))return(t=Cu(t,e.mode,r,null)).return=e,t;ui(e,t)}return null}function f(e,t,r,n){var o=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==o?null:l(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case pe:return r.key===o?s(e,t,r,n):null;case he:return r.key===o?c(e,t,r,n):null;case Se:return f(e,t,(o=r._init)(r._payload),n)}if(Xe(r)||Ce(r))return null!==o?null:u(e,t,r,n,null);ui(e,r)}return null}function p(e,t,r,n,o){if("string"==typeof n&&""!==n||"number"==typeof n)return l(t,e=e.get(r)||null,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case pe:return s(t,e=e.get(null===n.key?r:n.key)||null,n,o);case he:return c(t,e=e.get(null===n.key?r:n.key)||null,n,o);case Se:return p(e,t,r,(0,n._init)(n._payload),o)}if(Xe(n)||Ce(n))return u(t,e=e.get(r)||null,n,o,null);ui(t,n)}return null}function h(o,i,l,s){for(var c=null,u=null,h=i,m=i=0,g=null;null!==h&&m<l.length;m++){h.index>m?(g=h,h=null):g=h.sibling;var v=f(o,h,l[m],s);if(null===v){null===h&&(h=g);break}e&&h&&null===v.alternate&&t(o,h),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v,h=g}if(m===l.length)return r(o,h),Ja&&Ua(o,m),c;if(null===h){for(;m<l.length;m++)null!==(h=d(o,l[m],s))&&(i=a(h,i,m),null===u?c=h:u.sibling=h,u=h);return Ja&&Ua(o,m),c}for(h=n(o,h);m<l.length;m++)null!==(g=p(h,o,m,l[m],s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g);return e&&h.forEach(function(e){return t(o,e)}),Ja&&Ua(o,m),c}function m(o,i,l,s){var c=Ce(l);if("function"!=typeof c)throw Error(J(150));if(null==(l=c.call(l)))throw Error(J(151));for(var u=c=null,h=i,m=i=0,g=null,v=l.next();null!==h&&!v.done;m++,v=l.next()){h.index>m?(g=h,h=null):g=h.sibling;var b=f(o,h,v.value,s);if(null===b){null===h&&(h=g);break}e&&h&&null===b.alternate&&t(o,h),i=a(b,i,m),null===u?c=b:u.sibling=b,u=b,h=g}if(v.done)return r(o,h),Ja&&Ua(o,m),c;if(null===h){for(;!v.done;m++,v=l.next())null!==(v=d(o,v.value,s))&&(i=a(v,i,m),null===u?c=v:u.sibling=v,u=v);return Ja&&Ua(o,m),c}for(h=n(o,h);!v.done;m++,v=l.next())null!==(v=p(h,o,m,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),i=a(v,i,m),null===u?c=v:u.sibling=v,u=v);return e&&h.forEach(function(e){return t(o,e)}),Ja&&Ua(o,m),c}return function e(n,a,l,s){if("object"==typeof l&&null!==l&&l.type===me&&null===l.key&&(l=l.props.children),"object"==typeof l&&null!==l){switch(l.$$typeof){case pe:e:{for(var c=l.key,u=a;null!==u;){if(u.key===c){if((c=l.type)===me){if(7===u.tag){r(n,u.sibling),(a=o(u,l.props.children)).return=n,n=a;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===Se&&di(c)===u.type){r(n,u.sibling),(a=o(u,l.props)).ref=ci(n,u,l),a.return=n,n=a;break e}r(n,u);break}t(n,u),u=u.sibling}l.type===me?((a=Cu(l.props.children,n.mode,s,l.key)).return=n,n=a):((s=Eu(l.type,l.key,l.props,null,n.mode,s)).ref=ci(n,a,l),s.return=n,n=s)}return i(n);case he:e:{for(u=l.key;null!==a;){if(a.key===u){if(4===a.tag&&a.stateNode.containerInfo===l.containerInfo&&a.stateNode.implementation===l.implementation){r(n,a.sibling),(a=o(a,l.children||[])).return=n,n=a;break e}r(n,a);break}t(n,a),a=a.sibling}(a=Tu(l,n.mode,s)).return=n,n=a}return i(n);case Se:return e(n,a,(u=l._init)(l._payload),s)}if(Xe(l))return h(n,a,l,s);if(Ce(l))return m(n,a,l,s);ui(n,l)}return"string"==typeof l&&""!==l||"number"==typeof l?(l=""+l,null!==a&&6===a.tag?(r(n,a.sibling),(a=o(a,l)).return=n,n=a):(r(n,a),(a=Nu(l,n.mode,s)).return=n,n=a),i(n)):r(n,a)}}var pi=fi(!0),hi=fi(!1),mi=va(null),gi=null,vi=null,bi=null;function yi(){bi=vi=gi=null}function wi(e){var t=mi.current;ba(mi),e._currentValue=t}function ki(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function xi(e,t){gi=e,bi=vi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ds=!0),e.firstContext=null)}function _i(e){var t=e._currentValue;if(bi!==e)if(e={context:e,memoizedValue:t,next:null},null===vi){if(null===gi)throw Error(J(308));vi=e,gi.dependencies={lanes:0,firstContext:e}}else vi=vi.next=e;return t}var Si=null;function Bi(e){null===Si?Si=[e]:Si.push(e)}function Ei(e,t,r,n){var o=t.interleaved;return null===o?(r.next=r,Bi(t)):(r.next=o.next,o.next=r),t.interleaved=r,Ci(e,n)}function Ci(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var zi=!1;function Ni(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ti(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ri(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,2&wc){var o=n.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),n.pending=t,Ci(e,r)}return null===(o=n.interleaved)?(t.next=t,Bi(n)):(t.next=o.next,o.next=t),n.interleaved=t,Ci(e,r)}function Pi(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&r)){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,ur(e,r)}}function Oi(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var o=null,a=null;if(null!==(r=r.firstBaseUpdate)){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===a?o=a=i:a=a.next=i,r=r.next}while(null!==r);null===a?o=a=t:a=a.next=t}else o=a=t;return r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function ji(e,t,r,n){var o=e.updateQueue;zi=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,c=s.next;s.next=null,null===i?a=c:i.next=c,i=s;var u=e.alternate;null!==u&&((l=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===l?u.firstBaseUpdate=c:l.next=c,u.lastBaseUpdate=s))}if(null!==a){var d=o.baseState;for(i=0,u=c=s=null,l=a;;){var f=l.lane,p=l.eventTime;if((n&f)===f){null!==u&&(u=u.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var h=e,m=l;switch(f=t,p=r,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=Ne({},d,f);break e;case 2:zi=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=p,s=d):u=u.next=p,i|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===u&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);zc|=i,e.lanes=i,e.memoizedState=d}}function Di(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(null!==o){if(n.callback=null,n=r,"function"!=typeof o)throw Error(J(191,o));o.call(n)}}}var Ai={},Ii=va(Ai),qi=va(Ai),Li=va(Ai);function Mi(e){if(e===Ai)throw Error(J(174));return e}function Hi(e,t){switch(ya(Li,t),ya(qi,e),ya(Ii,Ai),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:et(null,"");break;default:t=et(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ba(Ii),ya(Ii,t)}function Vi(){ba(Ii),ba(qi),ba(Li)}function Wi(e){Mi(Li.current);var t=Mi(Ii.current),r=et(t,e.type);t!==r&&(ya(qi,e),ya(Ii,r))}function Ui(e){qi.current===e&&(ba(Ii),ba(qi))}var $i=va(0);function Xi(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Gi=[];function Ki(){for(var e=0;e<Gi.length;e++)Gi[e]._workInProgressVersionPrimary=null;Gi.length=0}var Qi=fe.ReactCurrentDispatcher,Ji=fe.ReactCurrentBatchConfig,Yi=0,Zi=null,el=null,tl=null,rl=!1,nl=!1,ol=0,al=0;function il(){throw Error(J(321))}function ll(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Zn(e[r],t[r]))return!1;return!0}function sl(e,t,r,n,o,a){if(Yi=a,Zi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Qi.current=null===e||null===e.memoizedState?Ul:$l,e=r(n,o),nl){a=0;do{if(nl=!1,ol=0,25<=a)throw Error(J(301));a+=1,tl=el=null,t.updateQueue=null,Qi.current=Xl,e=r(n,o)}while(nl)}if(Qi.current=Wl,t=null!==el&&null!==el.next,Yi=0,tl=el=Zi=null,rl=!1,t)throw Error(J(300));return e}function cl(){var e=0!==ol;return ol=0,e}function ul(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===tl?Zi.memoizedState=tl=e:tl=tl.next=e,tl}function dl(){if(null===el){var e=Zi.alternate;e=null!==e?e.memoizedState:null}else e=el.next;var t=null===tl?Zi.memoizedState:tl.next;if(null!==t)tl=t,el=e;else{if(null===e)throw Error(J(310));e={memoizedState:(el=e).memoizedState,baseState:el.baseState,baseQueue:el.baseQueue,queue:el.queue,next:null},null===tl?Zi.memoizedState=tl=e:tl=tl.next=e}return tl}function fl(e,t){return"function"==typeof t?t(e):t}function pl(e){var t=dl(),r=t.queue;if(null===r)throw Error(J(311));r.lastRenderedReducer=e;var n=el,o=n.baseQueue,a=r.pending;if(null!==a){if(null!==o){var i=o.next;o.next=a.next,a.next=i}n.baseQueue=o=a,r.pending=null}if(null!==o){a=o.next,n=n.baseState;var l=i=null,s=null,c=a;do{var u=c.lane;if((Yi&u)===u)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),n=c.hasEagerState?c.eagerState:e(n,c.action);else{var d={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(l=s=d,i=n):s=s.next=d,Zi.lanes|=u,zc|=u}c=c.next}while(null!==c&&c!==a);null===s?i=n:s.next=l,Zn(n,t.memoizedState)||(ds=!0),t.memoizedState=n,t.baseState=i,t.baseQueue=s,r.lastRenderedState=n}if(null!==(e=r.interleaved)){o=e;do{a=o.lane,Zi.lanes|=a,zc|=a,o=o.next}while(o!==e)}else null===o&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function hl(e){var t=dl(),r=t.queue;if(null===r)throw Error(J(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,a=t.memoizedState;if(null!==o){r.pending=null;var i=o=o.next;do{a=e(a,i.action),i=i.next}while(i!==o);Zn(a,t.memoizedState)||(ds=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function ml(){}function gl(e,t){var r=Zi,n=dl(),o=t(),a=!Zn(n.memoizedState,o);if(a&&(n.memoizedState=o,ds=!0),n=n.queue,zl(yl.bind(null,r,n,e),[e]),n.getSnapshot!==t||a||null!==tl&&1&tl.memoizedState.tag){if(r.flags|=2048,_l(9,bl.bind(null,r,n,o,t),void 0,null),null===kc)throw Error(J(349));30&Yi||vl(r,t,o)}return o}function vl(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=Zi.updateQueue)?(t={lastEffect:null,stores:null},Zi.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function bl(e,t,r,n){t.value=r,t.getSnapshot=n,wl(t)&&kl(e)}function yl(e,t,r){return r(function(){wl(t)&&kl(e)})}function wl(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Zn(e,r)}catch(e){return!0}}function kl(e){var t=Ci(e,1);null!==t&&Gc(t,e,1,-1)}function xl(e){var t=ul();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:fl,lastRenderedState:e},t.queue=e,e=e.dispatch=Ll.bind(null,Zi,e),[t.memoizedState,e]}function _l(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=Zi.updateQueue)?(t={lastEffect:null,stores:null},Zi.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function Sl(){return dl().memoizedState}function Bl(e,t,r,n){var o=ul();Zi.flags|=e,o.memoizedState=_l(1|t,r,void 0,void 0===n?null:n)}function El(e,t,r,n){var o=dl();n=void 0===n?null:n;var a=void 0;if(null!==el){var i=el.memoizedState;if(a=i.destroy,null!==n&&ll(n,i.deps))return void(o.memoizedState=_l(t,r,a,n))}Zi.flags|=e,o.memoizedState=_l(1|t,r,a,n)}function Cl(e,t){return Bl(8390656,8,e,t)}function zl(e,t){return El(2048,8,e,t)}function Nl(e,t){return El(4,2,e,t)}function Tl(e,t){return El(4,4,e,t)}function Fl(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Rl(e,t,r){return r=null!=r?r.concat([e]):null,El(4,4,Fl.bind(null,t,e),r)}function Pl(){}function Ol(e,t){var r=dl();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ll(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function jl(e,t){var r=dl();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ll(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Dl(e,t,r){return 21&Yi?(Zn(r,t)||(r=lr(),Zi.lanes|=r,zc|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ds=!0),e.memoizedState=r)}function Al(e,t){var r=dr;dr=0!==r&&4>r?r:4,e(!0);var n=Ji.transition;Ji.transition={};try{e(!1),t()}finally{dr=r,Ji.transition=n}}function Il(){return dl().memoizedState}function ql(e,t,r){var n=Xc(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Ml(e))Hl(t,r);else if(null!==(r=Ei(e,t,r,n))){Gc(r,e,n,$c()),Vl(r,t,n)}}function Ll(e,t,r){var n=Xc(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Ml(e))Hl(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,r);if(o.hasEagerState=!0,o.eagerState=l,Zn(l,i)){var s=t.interleaved;return null===s?(o.next=o,Bi(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(r=Ei(e,t,o,n))&&(Gc(r,e,n,o=$c()),Vl(r,t,n))}}function Ml(e){var t=e.alternate;return e===Zi||null!==t&&t===Zi}function Hl(e,t){nl=rl=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Vl(e,t,r){if(4194240&r){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,ur(e,r)}}var Wl={readContext:_i,useCallback:il,useContext:il,useEffect:il,useImperativeHandle:il,useInsertionEffect:il,useLayoutEffect:il,useMemo:il,useReducer:il,useRef:il,useState:il,useDebugValue:il,useDeferredValue:il,useTransition:il,useMutableSource:il,useSyncExternalStore:il,useId:il,unstable_isNewReconciler:!1},Ul={readContext:_i,useCallback:function(e,t){return ul().memoizedState=[e,void 0===t?null:t],e},useContext:_i,useEffect:Cl,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,Bl(4194308,4,Fl.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Bl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bl(4,2,e,t)},useMemo:function(e,t){var r=ul();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=ul();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=ql.bind(null,Zi,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},ul().memoizedState=e},useState:xl,useDebugValue:Pl,useDeferredValue:function(e){return ul().memoizedState=e},useTransition:function(){var e=xl(!1),t=e[0];return e=Al.bind(null,e[1]),ul().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Zi,o=ul();if(Ja){if(void 0===r)throw Error(J(407));r=r()}else{if(r=t(),null===kc)throw Error(J(349));30&Yi||vl(n,t,r)}o.memoizedState=r;var a={value:r,getSnapshot:t};return o.queue=a,Cl(yl.bind(null,n,a,e),[e]),n.flags|=2048,_l(9,bl.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=ul(),t=kc.identifierPrefix;if(Ja){var r=Wa;t=":"+t+"R"+(r=(Va&~(1<<32-Yt(Va)-1)).toString(32)+r),0<(r=ol++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=al++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},$l={readContext:_i,useCallback:Ol,useContext:_i,useEffect:zl,useImperativeHandle:Rl,useInsertionEffect:Nl,useLayoutEffect:Tl,useMemo:jl,useReducer:pl,useRef:Sl,useState:function(){return pl(fl)},useDebugValue:Pl,useDeferredValue:function(e){return Dl(dl(),el.memoizedState,e)},useTransition:function(){return[pl(fl)[0],dl().memoizedState]},useMutableSource:ml,useSyncExternalStore:gl,useId:Il,unstable_isNewReconciler:!1},Xl={readContext:_i,useCallback:Ol,useContext:_i,useEffect:zl,useImperativeHandle:Rl,useInsertionEffect:Nl,useLayoutEffect:Tl,useMemo:jl,useReducer:hl,useRef:Sl,useState:function(){return hl(fl)},useDebugValue:Pl,useDeferredValue:function(e){var t=dl();return null===el?t.memoizedState=e:Dl(t,el.memoizedState,e)},useTransition:function(){return[hl(fl)[0],dl().memoizedState]},useMutableSource:ml,useSyncExternalStore:gl,useId:Il,unstable_isNewReconciler:!1};function Gl(e,t){if(e&&e.defaultProps){for(var r in t=Ne({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function Kl(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:Ne({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var Ql={isMounted:function(e){return!!(e=e._reactInternals)&&Ot(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=$c(),o=Xc(e),a=Fi(n,o);a.payload=t,null!=r&&(a.callback=r),null!==(t=Ri(e,a,o))&&(Gc(t,e,o,n),Pi(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=$c(),o=Xc(e),a=Fi(n,o);a.tag=1,a.payload=t,null!=r&&(a.callback=r),null!==(t=Ri(e,a,o))&&(Gc(t,e,o,n),Pi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=$c(),n=Xc(e),o=Fi(r,n);o.tag=2,null!=t&&(o.callback=t),null!==(t=Ri(e,o,n))&&(Gc(t,e,n,r),Pi(t,e,n))}};function Jl(e,t,r,n,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!eo(r,n)||!eo(o,a))}function Yl(e,t,r){var n=!1,o=wa,a=t.contextType;return"object"==typeof a&&null!==a?a=_i(a):(o=Ba(t)?_a:ka.current,a=(n=null!=(n=t.contextTypes))?Sa(e,o):wa),t=new t(r,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ql,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Zl(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&Ql.enqueueReplaceState(t,t.state,null)}function es(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},Ni(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=_i(a):(a=Ba(t)?_a:ka.current,o.context=Sa(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Kl(e,t,a,r),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Ql.enqueueReplaceState(o,o.state,null),ji(e,r,o,n),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function ts(e,t){try{var r="",n=t;do{r+=Pe(n),n=n.return}while(n);var o=r}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function rs(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function ns(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var os="function"==typeof WeakMap?WeakMap:Map;function as(e,t,r){(r=Fi(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Dc||(Dc=!0,Ac=n),ns(0,t)},r}function is(e,t,r){(r=Fi(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){ns(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(r.callback=function(){ns(0,t),"function"!=typeof n&&(null===Ic?Ic=new Set([this]):Ic.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}function ls(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new os;var o=new Set;n.set(t,o)}else void 0===(o=n.get(t))&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=vu.bind(null,e,t,r),t.then(e,e))}function ss(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function cs(e,t,r,n,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=Fi(-1,1)).tag=2,Ri(r,t,1))),r.lanes|=1),e)}var us=fe.ReactCurrentOwner,ds=!1;function fs(e,t,r,n){t.child=null===e?hi(t,null,r,n):pi(t,e.child,r,n)}function ps(e,t,r,n,o){r=r.render;var a=t.ref;return xi(t,o),n=sl(e,t,r,n,a,o),r=cl(),null===e||ds?(Ja&&r&&Xa(t),t.flags|=1,fs(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ds(e,t,o))}function hs(e,t,r,n,o){if(null===e){var a=r.type;return"function"!=typeof a||Su(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Eu(r.type,null,n,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ms(e,t,a,n,o))}if(a=e.child,0===(e.lanes&o)){var i=a.memoizedProps;if((r=null!==(r=r.compare)?r:eo)(i,n)&&e.ref===t.ref)return Ds(e,t,o)}return t.flags|=1,(e=Bu(a,n)).ref=t.ref,e.return=t,t.child=e}function ms(e,t,r,n,o){if(null!==e){var a=e.memoizedProps;if(eo(a,n)&&e.ref===t.ref){if(ds=!1,t.pendingProps=n=a,0===(e.lanes&o))return t.lanes=e.lanes,Ds(e,t,o);131072&e.flags&&(ds=!0)}}return bs(e,t,r,n,o)}function gs(e,t,r){var n=t.pendingProps,o=n.children,a=null!==e?e.memoizedState:null;if("hidden"===n.mode)if(1&t.mode){if(!(1073741824&r))return e=null!==a?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ya(Bc,Sc),Sc|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==a?a.baseLanes:r,ya(Bc,Sc),Sc|=n}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ya(Bc,Sc),Sc|=r;else null!==a?(n=a.baseLanes|r,t.memoizedState=null):n=r,ya(Bc,Sc),Sc|=n;return fs(e,t,o,r),t.child}function vs(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function bs(e,t,r,n,o){var a=Ba(r)?_a:ka.current;return a=Sa(t,a),xi(t,o),r=sl(e,t,r,n,a,o),n=cl(),null===e||ds?(Ja&&n&&Xa(t),t.flags|=1,fs(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ds(e,t,o))}function ys(e,t,r,n,o){if(Ba(r)){var a=!0;Na(t)}else a=!1;if(xi(t,o),null===t.stateNode)js(e,t),Yl(t,r,n),es(t,r,n,o),n=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,c=r.contextType;"object"==typeof c&&null!==c?c=_i(c):c=Sa(t,c=Ba(r)?_a:ka.current);var u=r.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==n||s!==c)&&Zl(t,i,n,c),zi=!1;var f=t.memoizedState;i.state=f,ji(t,n,i,o),s=t.memoizedState,l!==n||f!==s||xa.current||zi?("function"==typeof u&&(Kl(t,r,u,n),s=t.memoizedState),(l=zi||Jl(t,r,l,n,f,s,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=s),i.props=n,i.state=s,i.context=c,n=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,Ti(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:Gl(t.type,l),i.props=c,d=t.pendingProps,f=i.context,"object"==typeof(s=r.contextType)&&null!==s?s=_i(s):s=Sa(t,s=Ba(r)?_a:ka.current);var p=r.getDerivedStateFromProps;(u="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||f!==s)&&Zl(t,i,n,s),zi=!1,f=t.memoizedState,i.state=f,ji(t,n,i,o);var h=t.memoizedState;l!==d||f!==h||xa.current||zi?("function"==typeof p&&(Kl(t,r,p,n),h=t.memoizedState),(c=zi||Jl(t,r,c,n,f,h,s)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(n,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(n,h,s)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=h),i.props=n,i.state=h,i.context=s,n=c):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),n=!1)}return ws(e,t,r,n,a,o)}function ws(e,t,r,n,o,a){vs(e,t);var i=!!(128&t.flags);if(!n&&!i)return o&&Ta(t,r,!1),Ds(e,t,a);n=t.stateNode,us.current=t;var l=i&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&i?(t.child=pi(t,e.child,null,a),t.child=pi(t,null,l,a)):fs(e,t,l,a),t.memoizedState=n.state,o&&Ta(t,r,!0),t.child}function ks(e){var t=e.stateNode;t.pendingContext?Ca(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ca(0,t.context,!1),Hi(e,t.containerInfo)}function xs(e,t,r,n,o){return ii(),li(o),t.flags|=256,fs(e,t,r,n),t.child}var _s,Ss,Bs,Es,Cs={dehydrated:null,treeContext:null,retryLane:0};function zs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ns(e,t,r){var n,o=t.pendingProps,a=$i.current,i=!1,l=!!(128&t.flags);if((n=l)||(n=(null===e||null!==e.memoizedState)&&!!(2&a)),n?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),ya($i,1&a),null===e)return ri(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=o.children,e=o.fallback,i?(o=t.mode,i=t.child,l={mode:"hidden",children:l},1&o||null===i?i=zu(l,o,0,null):(i.childLanes=0,i.pendingProps=l),e=Cu(e,o,r,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=zs(r),t.memoizedState=Cs,e):Ts(t,l));if(null!==(a=e.memoizedState)&&null!==(n=a.dehydrated))return function(e,t,r,n,o,a,i){if(r)return 256&t.flags?(t.flags&=-257,Fs(e,t,i,n=rs(Error(J(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=n.fallback,o=t.mode,n=zu({mode:"visible",children:n.children},o,0,null),(a=Cu(a,o,i,null)).flags|=2,n.return=t,a.return=t,n.sibling=a,t.child=n,1&t.mode&&pi(t,e.child,null,i),t.child.memoizedState=zs(i),t.memoizedState=Cs,a);if(!(1&t.mode))return Fs(e,t,i,null);if("$!"===o.data){if(n=o.nextSibling&&o.nextSibling.dataset)var l=n.dgst;return n=l,Fs(e,t,i,n=rs(a=Error(J(419)),n,void 0))}if(l=0!==(i&e.childLanes),ds||l){if(null!==(n=kc)){switch(i&-i){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(n.suspendedLanes|i))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Ci(e,o),Gc(n,e,o,-1))}return lu(),Fs(e,t,i,n=rs(Error(J(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=yu.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,Qa=ra(o.nextSibling),Ka=t,Ja=!0,Ya=null,null!==e&&(La[Ma++]=Va,La[Ma++]=Wa,La[Ma++]=Ha,Va=e.id,Wa=e.overflow,Ha=t),t=Ts(t,n.children),t.flags|=4096,t)}(e,t,l,o,n,a,r);if(i){i=o.fallback,l=t.mode,n=(a=e.child).sibling;var s={mode:"hidden",children:o.children};return 1&l||t.child===a?(o=Bu(a,s)).subtreeFlags=14680064&a.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null),null!==n?i=Bu(n,i):(i=Cu(i,l,r,null)).flags|=2,i.return=t,o.return=t,o.sibling=i,t.child=o,o=i,i=t.child,l=null===(l=e.child.memoizedState)?zs(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~r,t.memoizedState=Cs,o}return e=(i=e.child).sibling,o=Bu(i,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=r),o.return=t,o.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function Ts(e,t){return(t=zu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fs(e,t,r,n){return null!==n&&li(n),pi(t,e.child,null,r),(e=Ts(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Rs(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ki(e.return,t,r)}function Ps(e,t,r,n,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=o)}function Os(e,t,r){var n=t.pendingProps,o=n.revealOrder,a=n.tail;if(fs(e,t,n.children,r),2&(n=$i.current))n=1&n|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Rs(e,r,t);else if(19===e.tag)Rs(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(ya($i,n),1&t.mode)switch(o){case"forwards":for(r=t.child,o=null;null!==r;)null!==(e=r.alternate)&&null===Xi(e)&&(o=r),r=r.sibling;null===(r=o)?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),Ps(t,!1,o,r,a);break;case"backwards":for(r=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Xi(e)){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}Ps(t,!0,r,null,a);break;case"together":Ps(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function js(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ds(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),zc|=t.lanes,0===(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(J(153));if(null!==t.child){for(r=Bu(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Bu(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function As(e,t){if(!Ja)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Is(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;null!==o;)r|=o.lanes|o.childLanes,n|=14680064&o.subtreeFlags,n|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function qs(e,t,r){var n=t.pendingProps;switch(Ga(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Is(t),null;case 1:case 17:return Ba(t.type)&&Ea(),Is(t),null;case 3:return n=t.stateNode,Vi(),ba(xa),ba(ka),Ki(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(oi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==Ya&&(Yc(Ya),Ya=null))),Ss(e,t),Is(t),null;case 5:Ui(t);var o=Mi(Li.current);if(r=t.type,null!==e&&null!=t.stateNode)Bs(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(null===t.stateNode)throw Error(J(166));return Is(t),null}if(e=Mi(Ii.current),oi(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[aa]=t,n[ia]=a,e=!!(1&t.mode),r){case"dialog":Ro("cancel",n),Ro("close",n);break;case"iframe":case"object":case"embed":Ro("load",n);break;case"video":case"audio":for(o=0;o<zo.length;o++)Ro(zo[o],n);break;case"source":Ro("error",n);break;case"img":case"image":case"link":Ro("error",n),Ro("load",n);break;case"details":Ro("toggle",n);break;case"input":He(n,a),Ro("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},Ro("invalid",n);break;case"textarea":Qe(n,a),Ro("invalid",n)}for(var i in ut(r,a),o=null,a)if(a.hasOwnProperty(i)){var l=a[i];"children"===i?"string"==typeof l?n.textContent!==l&&(!0!==a.suppressHydrationWarning&&Uo(n.textContent,l,e),o=["children",l]):"number"==typeof l&&n.textContent!==""+l&&(!0!==a.suppressHydrationWarning&&Uo(n.textContent,l,e),o=["children",""+l]):Z.hasOwnProperty(i)&&null!=l&&"onScroll"===i&&Ro("scroll",n)}switch(r){case"input":Ie(n),Ue(n,a,!0);break;case"textarea":Ie(n),Ye(n);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(n.onclick=$o)}n=o,t.updateQueue=n,null!==n&&(t.flags|=4)}else{i=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=Ze(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=i.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),"select"===r&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[aa]=t,e[ia]=n,_s(e,t,!1,!1),t.stateNode=e;e:{switch(i=dt(r,n),r){case"dialog":Ro("cancel",e),Ro("close",e),o=n;break;case"iframe":case"object":case"embed":Ro("load",e),o=n;break;case"video":case"audio":for(o=0;o<zo.length;o++)Ro(zo[o],e);o=n;break;case"source":Ro("error",e),o=n;break;case"img":case"image":case"link":Ro("error",e),Ro("load",e),o=n;break;case"details":Ro("toggle",e),o=n;break;case"input":He(e,n),o=Me(e,n),Ro("invalid",e);break;case"option":default:o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=Ne({},n,{value:void 0}),Ro("invalid",e);break;case"textarea":Qe(e,n),o=Ke(e,n),Ro("invalid",e)}for(a in ut(r,o),l=o)if(l.hasOwnProperty(a)){var s=l[a];"style"===a?st(e,s):"dangerouslySetInnerHTML"===a?null!=(s=s?s.__html:void 0)&&nt(e,s):"children"===a?"string"==typeof s?("textarea"!==r||""!==s)&&ot(e,s):"number"==typeof s&&ot(e,""+s):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(Z.hasOwnProperty(a)?null!=s&&"onScroll"===a&&Ro("scroll",e):null!=s&&de(e,a,s,i))}switch(r){case"input":Ie(e),Ue(e,n,!1);break;case"textarea":Ie(e),Ye(e);break;case"option":null!=n.value&&e.setAttribute("value",""+De(n.value));break;case"select":e.multiple=!!n.multiple,null!=(a=n.value)?Ge(e,!!n.multiple,a,!1):null!=n.defaultValue&&Ge(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=$o)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Is(t),null;case 6:if(e&&null!=t.stateNode)Es(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(J(166));if(r=Mi(Li.current),Mi(Ii.current),oi(t)){if(n=t.stateNode,r=t.memoizedProps,n[aa]=t,(a=n.nodeValue!==r)&&null!==(e=Ka))switch(e.tag){case 3:Uo(n.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Uo(n.nodeValue,r,!!(1&e.mode))}a&&(t.flags|=4)}else(n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[aa]=t,t.stateNode=n}return Is(t),null;case 13:if(ba($i),n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(Ja&&null!==Qa&&1&t.mode&&!(128&t.flags))ai(),ii(),t.flags|=98560,a=!1;else if(a=oi(t),null!==n&&null!==n.dehydrated){if(null===e){if(!a)throw Error(J(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(J(317));a[aa]=t}else ii(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Is(t),a=!1}else null!==Ya&&(Yc(Ya),Ya=null),a=!0;if(!a)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((n=null!==n)!==(null!==e&&null!==e.memoizedState)&&n&&(t.child.flags|=8192,1&t.mode&&(null===e||1&$i.current?0===Ec&&(Ec=3):lu())),null!==t.updateQueue&&(t.flags|=4),Is(t),null);case 4:return Vi(),Ss(e,t),null===e&&jo(t.stateNode.containerInfo),Is(t),null;case 10:return wi(t.type._context),Is(t),null;case 19:if(ba($i),null===(a=t.memoizedState))return Is(t),null;if(n=!!(128&t.flags),null===(i=a.rendering))if(n)As(a,!1);else{if(0!==Ec||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(i=Xi(e))){for(t.flags|=128,As(a,!1),null!==(n=i.updateQueue)&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;null!==r;)e=n,(a=r).flags&=14680066,null===(i=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=i.childLanes,a.lanes=i.lanes,a.child=i.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=i.memoizedProps,a.memoizedState=i.memoizedState,a.updateQueue=i.updateQueue,a.type=i.type,e=i.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return ya($i,1&$i.current|2),t.child}e=e.sibling}null!==a.tail&&Vt()>Oc&&(t.flags|=128,n=!0,As(a,!1),t.lanes=4194304)}else{if(!n)if(null!==(e=Xi(i))){if(t.flags|=128,n=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),As(a,!0),null===a.tail&&"hidden"===a.tailMode&&!i.alternate&&!Ja)return Is(t),null}else 2*Vt()-a.renderingStartTime>Oc&&1073741824!==r&&(t.flags|=128,n=!0,As(a,!1),t.lanes=4194304);a.isBackwards?(i.sibling=t.child,t.child=i):(null!==(r=a.last)?r.sibling=i:t.child=i,a.last=i)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Vt(),t.sibling=null,r=$i.current,ya($i,n?1&r|2:1&r),t):(Is(t),null);case 22:case 23:return nu(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&1&t.mode?!!(1073741824&Sc)&&(Is(t),6&t.subtreeFlags&&(t.flags|=8192)):Is(t),null;case 24:case 25:return null}throw Error(J(156,t.tag))}function Ls(e,t){switch(Ga(t),t.tag){case 1:return Ba(t.type)&&Ea(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Vi(),ba(xa),ba(ka),Ki(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ui(t),null;case 13:if(ba($i),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(J(340));ii()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ba($i),null;case 4:return Vi(),null;case 10:return wi(t.type._context),null;case 22:case 23:return nu(),null;default:return null}}_s=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Ss=function(){},Bs=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Mi(Ii.current);var a,i=null;switch(r){case"input":o=Me(e,o),n=Me(e,n),i=[];break;case"select":o=Ne({},o,{value:void 0}),n=Ne({},n,{value:void 0}),i=[];break;case"textarea":o=Ke(e,o),n=Ke(e,n),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof n.onClick&&(e.onclick=$o)}for(c in ut(r,n),r=null,o)if(!n.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(a in l)l.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(Z.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in n){var s=n[c];if(l=null!=o?o[c]:void 0,n.hasOwnProperty(c)&&s!==l&&(null!=s||null!=l))if("style"===c)if(l){for(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(r||(r={}),r[a]=s[a])}else r||(i||(i=[]),i.push(c,r)),r=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(i=i||[]).push(c,s)):"children"===c?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(Z.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Ro("scroll",e),i||l===s||(i=[])):(i=i||[]).push(c,s))}r&&(i=i||[]).push("style",r);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Es=function(e,t,r,n){r!==n&&(t.flags|=4)};var Ms=!1,Hs=!1,Vs="function"==typeof WeakSet?WeakSet:Set,Ws=null;function Us(e,t){var r=e.ref;if(null!==r)if("function"==typeof r)try{r(null)}catch(r){gu(e,t,r)}else r.current=null}function $s(e,t,r){try{r()}catch(r){gu(e,t,r)}}var Xs=!1;function Gs(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var o=n=n.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&$s(t,r,a)}o=o.next}while(o!==n)}}function Ks(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function Qs(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"==typeof t?t(e):t.current=e}}function Js(e){var t=e.alternate;null!==t&&(e.alternate=null,Js(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[aa],delete t[ia],delete t[sa],delete t[ca],delete t[ua])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Ys(e){return 5===e.tag||3===e.tag||4===e.tag}function Zs(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Ys(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ec(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=$o));else if(4!==n&&null!==(e=e.child))for(ec(e,t,r),e=e.sibling;null!==e;)ec(e,t,r),e=e.sibling}function tc(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(tc(e,t,r),e=e.sibling;null!==e;)tc(e,t,r),e=e.sibling}var rc=null,nc=!1;function oc(e,t,r){for(r=r.child;null!==r;)ac(e,t,r),r=r.sibling}function ac(e,t,r){if(Jt&&"function"==typeof Jt.onCommitFiberUnmount)try{Jt.onCommitFiberUnmount(Qt,r)}catch(e){}switch(r.tag){case 5:Hs||Us(r,t);case 6:var n=rc,o=nc;rc=null,oc(e,t,r),nc=o,null!==(rc=n)&&(nc?(e=rc,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):rc.removeChild(r.stateNode));break;case 18:null!==rc&&(nc?(e=rc,r=r.stateNode,8===e.nodeType?ta(e.parentNode,r):1===e.nodeType&&ta(e,r),Or(e)):ta(rc,r.stateNode));break;case 4:n=rc,o=nc,rc=r.stateNode.containerInfo,nc=!0,oc(e,t,r),rc=n,nc=o;break;case 0:case 11:case 14:case 15:if(!Hs&&(null!==(n=r.updateQueue)&&null!==(n=n.lastEffect))){o=n=n.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(2&a||4&a)&&$s(r,t,i),o=o.next}while(o!==n)}oc(e,t,r);break;case 1:if(!Hs&&(Us(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){gu(r,t,e)}oc(e,t,r);break;case 21:oc(e,t,r);break;case 22:1&r.mode?(Hs=(n=Hs)||null!==r.memoizedState,oc(e,t,r),Hs=n):oc(e,t,r);break;default:oc(e,t,r)}}function ic(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new Vs),t.forEach(function(t){var n=wu.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))})}}function lc(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var o=r[n];try{var a=e,i=t,l=i;e:for(;null!==l;){switch(l.tag){case 5:rc=l.stateNode,nc=!1;break e;case 3:case 4:rc=l.stateNode.containerInfo,nc=!0;break e}l=l.return}if(null===rc)throw Error(J(160));ac(a,i,o),rc=null,nc=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(e){gu(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)sc(t,e),t=t.sibling}function sc(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(lc(t,e),cc(e),4&n){try{Gs(3,e,e.return),Ks(3,e)}catch(t){gu(e,e.return,t)}try{Gs(5,e,e.return)}catch(t){gu(e,e.return,t)}}break;case 1:lc(t,e),cc(e),512&n&&null!==r&&Us(r,r.return);break;case 5:if(lc(t,e),cc(e),512&n&&null!==r&&Us(r,r.return),32&e.flags){var o=e.stateNode;try{ot(o,"")}catch(t){gu(e,e.return,t)}}if(4&n&&null!=(o=e.stateNode)){var a=e.memoizedProps,i=null!==r?r.memoizedProps:a,l=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===l&&"radio"===a.type&&null!=a.name&&Ve(o,a),dt(l,i);var c=dt(l,a);for(i=0;i<s.length;i+=2){var u=s[i],d=s[i+1];"style"===u?st(o,d):"dangerouslySetInnerHTML"===u?nt(o,d):"children"===u?ot(o,d):de(o,u,d,c)}switch(l){case"input":We(o,a);break;case"textarea":Je(o,a);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?Ge(o,!!a.multiple,p,!1):f!==!!a.multiple&&(null!=a.defaultValue?Ge(o,!!a.multiple,a.defaultValue,!0):Ge(o,!!a.multiple,a.multiple?[]:"",!1))}o[ia]=a}catch(t){gu(e,e.return,t)}}break;case 6:if(lc(t,e),cc(e),4&n){if(null===e.stateNode)throw Error(J(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){gu(e,e.return,t)}}break;case 3:if(lc(t,e),cc(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{Or(t.containerInfo)}catch(t){gu(e,e.return,t)}break;case 4:default:lc(t,e),cc(e);break;case 13:lc(t,e),cc(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Pc=Vt())),4&n&&ic(e);break;case 22:if(u=null!==r&&null!==r.memoizedState,1&e.mode?(Hs=(c=Hs)||u,lc(t,e),Hs=c):lc(t,e),cc(e),8192&n){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!u&&1&e.mode)for(Ws=e,u=e.child;null!==u;){for(d=Ws=u;null!==Ws;){switch(p=(f=Ws).child,f.tag){case 0:case 11:case 14:case 15:Gs(4,f,f.return);break;case 1:Us(f,f.return);var h=f.stateNode;if("function"==typeof h.componentWillUnmount){n=f,r=f.return;try{t=n,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){gu(n,r,e)}}break;case 5:Us(f,f.return);break;case 22:if(null!==f.memoizedState){pc(d);continue}}null!==p?(p.return=f,Ws=p):pc(d)}u=u.sibling}e:for(u=null,d=e;;){if(5===d.tag){if(null===u){u=d;try{o=d.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=d.stateNode,i=null!=(s=d.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,l.style.display=lt("display",i))}catch(t){gu(e,e.return,t)}}}else if(6===d.tag){if(null===u)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(t){gu(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;u===d&&(u=null),d=d.return}u===d&&(u=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:lc(t,e),cc(e),4&n&&ic(e);case 21:}}function cc(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(Ys(r)){var n=r;break e}r=r.return}throw Error(J(160))}switch(n.tag){case 5:var o=n.stateNode;32&n.flags&&(ot(o,""),n.flags&=-33),tc(e,Zs(e),o);break;case 3:case 4:var a=n.stateNode.containerInfo;ec(e,Zs(e),a);break;default:throw Error(J(161))}}catch(t){gu(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function uc(e,t,r){Ws=e,dc(e)}function dc(e,t,r){for(var n=!!(1&e.mode);null!==Ws;){var o=Ws,a=o.child;if(22===o.tag&&n){var i=null!==o.memoizedState||Ms;if(!i){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Hs;l=Ms;var c=Hs;if(Ms=i,(Hs=s)&&!c)for(Ws=o;null!==Ws;)s=(i=Ws).child,22===i.tag&&null!==i.memoizedState?hc(o):null!==s?(s.return=i,Ws=s):hc(o);for(;null!==a;)Ws=a,dc(a),a=a.sibling;Ws=o,Ms=l,Hs=c}fc(e)}else 8772&o.subtreeFlags&&null!==a?(a.return=o,Ws=a):fc(e)}}function fc(e){for(;null!==Ws;){var t=Ws;if(8772&t.flags){var r=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Hs||Ks(5,t);break;case 1:var n=t.stateNode;if(4&t.flags&&!Hs)if(null===r)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:Gl(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Di(t,a,n);break;case 3:var i=t.updateQueue;if(null!==i){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Di(t,i,r)}break;case 5:var l=t.stateNode;if(null===r&&4&t.flags){r=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&r.focus();break;case"img":s.src&&(r.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var u=c.memoizedState;if(null!==u){var d=u.dehydrated;null!==d&&Or(d)}}}break;default:throw Error(J(163))}Hs||512&t.flags&&Qs(t)}catch(e){gu(t,t.return,e)}}if(t===e){Ws=null;break}if(null!==(r=t.sibling)){r.return=t.return,Ws=r;break}Ws=t.return}}function pc(e){for(;null!==Ws;){var t=Ws;if(t===e){Ws=null;break}var r=t.sibling;if(null!==r){r.return=t.return,Ws=r;break}Ws=t.return}}function hc(e){for(;null!==Ws;){var t=Ws;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{Ks(4,t)}catch(e){gu(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var o=t.return;try{n.componentDidMount()}catch(e){gu(t,o,e)}}var a=t.return;try{Qs(t)}catch(e){gu(t,a,e)}break;case 5:var i=t.return;try{Qs(t)}catch(e){gu(t,i,e)}}}catch(e){gu(t,t.return,e)}if(t===e){Ws=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Ws=l;break}Ws=t.return}}var mc,gc=Math.ceil,vc=fe.ReactCurrentDispatcher,bc=fe.ReactCurrentOwner,yc=fe.ReactCurrentBatchConfig,wc=0,kc=null,xc=null,_c=0,Sc=0,Bc=va(0),Ec=0,Cc=null,zc=0,Nc=0,Tc=0,Fc=null,Rc=null,Pc=0,Oc=1/0,jc=null,Dc=!1,Ac=null,Ic=null,qc=!1,Lc=null,Mc=0,Hc=0,Vc=null,Wc=-1,Uc=0;function $c(){return 6&wc?Vt():-1!==Wc?Wc:Wc=Vt()}function Xc(e){return 1&e.mode?2&wc&&0!==_c?_c&-_c:null!==si.transition?(0===Uc&&(Uc=lr()),Uc):0!==(e=dr)?e:e=void 0===(e=window.event)?16:Hr(e.type):1}function Gc(e,t,r,n){if(50<Hc)throw Hc=0,Vc=null,Error(J(185));cr(e,r,n),2&wc&&e===kc||(e===kc&&(!(2&wc)&&(Nc|=r),4===Ec&&Zc(e,_c)),Kc(e,n),1===r&&0===wc&&!(1&t.mode)&&(Oc=Vt()+500,Ra&&ja()))}function Kc(e,t){var r=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-Yt(a),l=1<<i,s=o[i];-1===s?0!==(l&r)&&0===(l&n)||(o[i]=ar(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var n=or(e,e===kc?_c:0);if(0===n)null!==r&&Lt(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(null!=r&&Lt(r),1===t)0===e.tag?function(e){Ra=!0,Oa(e)}(eu.bind(null,e)):Oa(eu.bind(null,e)),Zo(function(){!(6&wc)&&ja()}),r=null;else{switch(fr(n)){case 1:r=Ut;break;case 4:r=$t;break;case 16:default:r=Xt;break;case 536870912:r=Kt}r=ku(r,Qc.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function Qc(e,t){if(Wc=-1,Uc=0,6&wc)throw Error(J(327));var r=e.callbackNode;if(hu()&&e.callbackNode!==r)return null;var n=or(e,e===kc?_c:0);if(0===n)return null;if(30&n||0!==(n&e.expiredLanes)||t)t=su(e,n);else{t=n;var o=wc;wc|=2;var a=iu();for(kc===e&&_c===t||(jc=null,Oc=Vt()+500,ou(e,t));;)try{uu();break}catch(t){au(e,t)}yi(),vc.current=a,wc=o,null!==xc?t=0:(kc=null,_c=0,t=Ec)}if(0!==t){if(2===t&&(0!==(o=ir(e))&&(n=o,t=Jc(e,o))),1===t)throw r=Cc,ou(e,0),Zc(e,n),Kc(e,Vt()),r;if(6===t)Zc(e,n);else{if(o=e.current.alternate,!(30&n||function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var o=r[n],a=o.getSnapshot;o=o.value;try{if(!Zn(a(),o))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=su(e,n),2===t&&(a=ir(e),0!==a&&(n=a,t=Jc(e,a))),1!==t)))throw r=Cc,ou(e,0),Zc(e,n),Kc(e,Vt()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(J(345));case 2:case 5:pu(e,Rc,jc);break;case 3:if(Zc(e,n),(130023424&n)===n&&10<(t=Pc+500-Vt())){if(0!==or(e,0))break;if(((o=e.suspendedLanes)&n)!==n){$c(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Qo(pu.bind(null,e,Rc,jc),t);break}pu(e,Rc,jc);break;case 4:if(Zc(e,n),(4194240&n)===n)break;for(t=e.eventTimes,o=-1;0<n;){var i=31-Yt(n);a=1<<i,(i=t[i])>o&&(o=i),n&=~a}if(n=o,10<(n=(120>(n=Vt()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*gc(n/1960))-n)){e.timeoutHandle=Qo(pu.bind(null,e,Rc,jc),n);break}pu(e,Rc,jc);break;default:throw Error(J(329))}}}return Kc(e,Vt()),e.callbackNode===r?Qc.bind(null,e):null}function Jc(e,t){var r=Fc;return e.current.memoizedState.isDehydrated&&(ou(e,t).flags|=256),2!==(e=su(e,t))&&(t=Rc,Rc=r,null!==t&&Yc(t)),e}function Yc(e){null===Rc?Rc=e:Rc.push.apply(Rc,e)}function Zc(e,t){for(t&=~Tc,t&=~Nc,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Yt(t),n=1<<r;e[r]=-1,t&=~n}}function eu(e){if(6&wc)throw Error(J(327));hu();var t=or(e,0);if(!(1&t))return Kc(e,Vt()),null;var r=su(e,t);if(0!==e.tag&&2===r){var n=ir(e);0!==n&&(t=n,r=Jc(e,n))}if(1===r)throw r=Cc,ou(e,0),Zc(e,t),Kc(e,Vt()),r;if(6===r)throw Error(J(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,pu(e,Rc,jc),Kc(e,Vt()),null}function tu(e,t){var r=wc;wc|=1;try{return e(t)}finally{0===(wc=r)&&(Oc=Vt()+500,Ra&&ja())}}function ru(e){null!==Lc&&0===Lc.tag&&!(6&wc)&&hu();var t=wc;wc|=1;var r=yc.transition,n=dr;try{if(yc.transition=null,dr=1,e)return e()}finally{dr=n,yc.transition=r,!(6&(wc=t))&&ja()}}function nu(){Sc=Bc.current,ba(Bc)}function ou(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,Jo(r)),null!==xc)for(r=xc.return;null!==r;){var n=r;switch(Ga(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&Ea();break;case 3:Vi(),ba(xa),ba(ka),Ki();break;case 5:Ui(n);break;case 4:Vi();break;case 13:case 19:ba($i);break;case 10:wi(n.type._context);break;case 22:case 23:nu()}r=r.return}if(kc=e,xc=e=Bu(e.current,null),_c=Sc=t,Ec=0,Cc=null,Tc=Nc=zc=0,Rc=Fc=null,null!==Si){for(t=0;t<Si.length;t++)if(null!==(n=(r=Si[t]).interleaved)){r.interleaved=null;var o=n.next,a=r.pending;if(null!==a){var i=a.next;a.next=o,n.next=i}r.pending=n}Si=null}return e}function au(e,t){for(;;){var r=xc;try{if(yi(),Qi.current=Wl,rl){for(var n=Zi.memoizedState;null!==n;){var o=n.queue;null!==o&&(o.pending=null),n=n.next}rl=!1}if(Yi=0,tl=el=Zi=null,nl=!1,ol=0,bc.current=null,null===r||null===r.return){Ec=1,Cc=t,xc=null;break}e:{var a=e,i=r.return,l=r,s=t;if(t=_c,l.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s,u=l,d=u.tag;if(!(1&u.mode||0!==d&&11!==d&&15!==d)){var f=u.alternate;f?(u.updateQueue=f.updateQueue,u.memoizedState=f.memoizedState,u.lanes=f.lanes):(u.updateQueue=null,u.memoizedState=null)}var p=ss(i);if(null!==p){p.flags&=-257,cs(p,i,l,0,t),1&p.mode&&ls(a,c,t),s=c;var h=(t=p).updateQueue;if(null===h){var m=new Set;m.add(s),t.updateQueue=m}else h.add(s);break e}if(!(1&t)){ls(a,c,t),lu();break e}s=Error(J(426))}else if(Ja&&1&l.mode){var g=ss(i);if(null!==g){!(65536&g.flags)&&(g.flags|=256),cs(g,i,l,0,t),li(ts(s,l));break e}}a=s=ts(s,l),4!==Ec&&(Ec=2),null===Fc?Fc=[a]:Fc.push(a),a=i;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Oi(a,as(0,s,t));break e;case 1:l=s;var v=a.type,b=a.stateNode;if(!(128&a.flags||"function"!=typeof v.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Ic&&Ic.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,Oi(a,is(a,l,t));break e}}a=a.return}while(null!==a)}fu(r)}catch(e){t=e,xc===r&&null!==r&&(xc=r=r.return);continue}break}}function iu(){var e=vc.current;return vc.current=Wl,null===e?Wl:e}function lu(){0!==Ec&&3!==Ec&&2!==Ec||(Ec=4),null===kc||!(268435455&zc)&&!(268435455&Nc)||Zc(kc,_c)}function su(e,t){var r=wc;wc|=2;var n=iu();for(kc===e&&_c===t||(jc=null,ou(e,t));;)try{cu();break}catch(t){au(e,t)}if(yi(),wc=r,vc.current=n,null!==xc)throw Error(J(261));return kc=null,_c=0,Ec}function cu(){for(;null!==xc;)du(xc)}function uu(){for(;null!==xc&&!Mt();)du(xc)}function du(e){var t=mc(e.alternate,e,Sc);e.memoizedProps=e.pendingProps,null===t?fu(e):xc=t,bc.current=null}function fu(e){var t=e;do{var r=t.alternate;if(e=t.return,32768&t.flags){if(null!==(r=Ls(r,t)))return r.flags&=32767,void(xc=r);if(null===e)return Ec=6,void(xc=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(r=qs(r,t,Sc)))return void(xc=r);if(null!==(t=t.sibling))return void(xc=t);xc=t=e}while(null!==t);0===Ec&&(Ec=5)}function pu(e,t,r){var n=dr,o=yc.transition;try{yc.transition=null,dr=1,function(e,t,r,n){do{hu()}while(null!==Lc);if(6&wc)throw Error(J(327));r=e.finishedWork;var o=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(J(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(function(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-Yt(r),a=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~a}}(e,a),e===kc&&(xc=kc=null,_c=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||qc||(qc=!0,ku(Xt,function(){return hu(),null})),a=!!(15990&r.flags),!!(15990&r.subtreeFlags)||a){a=yc.transition,yc.transition=null;var i=dr;dr=1;var l=wc;wc|=4,bc.current=null,function(e,t){if(Xo=Dr,ao(e=oo())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(n&&0!==n.rangeCount){r=n.anchorNode;var o=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch(e){r=null;break e}var i=0,l=-1,s=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var p;d!==r||0!==o&&3!==d.nodeType||(l=i+o),d!==a||0!==n&&3!==d.nodeType||(s=i+n),3===d.nodeType&&(i+=d.nodeValue.length),null!==(p=d.firstChild);)f=d,d=p;for(;;){if(d===e)break t;if(f===r&&++c===o&&(l=i),f===a&&++u===n&&(s=i),null!==(p=d.nextSibling))break;f=(d=f).parentNode}d=p}r=-1===l||-1===s?null:{start:l,end:s}}else r=null}r=r||{start:0,end:0}}else r=null;for(Go={focusedElem:e,selectionRange:r},Dr=!1,Ws=t;null!==Ws;)if(e=(t=Ws).child,1028&t.subtreeFlags&&null!==e)e.return=t,Ws=e;else for(;null!==Ws;){t=Ws;try{var h=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var m=h.memoizedProps,g=h.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:Gl(t.type,m),g);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var y=t.stateNode.containerInfo;1===y.nodeType?y.textContent="":9===y.nodeType&&y.documentElement&&y.removeChild(y.documentElement);break;default:throw Error(J(163))}}catch(e){gu(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Ws=e;break}Ws=t.return}h=Xs,Xs=!1}(e,r),sc(r,e),io(Go),Dr=!!Xo,Go=Xo=null,e.current=r,uc(r),Ht(),wc=l,dr=i,yc.transition=a}else e.current=r;if(qc&&(qc=!1,Lc=e,Mc=o),a=e.pendingLanes,0===a&&(Ic=null),function(e){if(Jt&&"function"==typeof Jt.onCommitFiberRoot)try{Jt.onCommitFiberRoot(Qt,e,void 0,!(128&~e.current.flags))}catch(e){}}(r.stateNode),Kc(e,Vt()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)o=t[r],n(o.value,{componentStack:o.stack,digest:o.digest});if(Dc)throw Dc=!1,e=Ac,Ac=null,e;!!(1&Mc)&&0!==e.tag&&hu(),a=e.pendingLanes,1&a?e===Vc?Hc++:(Hc=0,Vc=e):Hc=0,ja()}(e,t,r,n)}finally{yc.transition=o,dr=n}return null}function hu(){if(null!==Lc){var e=fr(Mc),t=yc.transition,r=dr;try{if(yc.transition=null,dr=16>e?16:e,null===Lc)var n=!1;else{if(e=Lc,Lc=null,Mc=0,6&wc)throw Error(J(331));var o=wc;for(wc|=4,Ws=e.current;null!==Ws;){var a=Ws,i=a.child;if(16&Ws.flags){var l=a.deletions;if(null!==l){for(var s=0;s<l.length;s++){var c=l[s];for(Ws=c;null!==Ws;){var u=Ws;switch(u.tag){case 0:case 11:case 15:Gs(8,u,a)}var d=u.child;if(null!==d)d.return=u,Ws=d;else for(;null!==Ws;){var f=(u=Ws).sibling,p=u.return;if(Js(u),u===c){Ws=null;break}if(null!==f){f.return=p,Ws=f;break}Ws=p}}}var h=a.alternate;if(null!==h){var m=h.child;if(null!==m){h.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}Ws=a}}if(2064&a.subtreeFlags&&null!==i)i.return=a,Ws=i;else e:for(;null!==Ws;){if(2048&(a=Ws).flags)switch(a.tag){case 0:case 11:case 15:Gs(9,a,a.return)}var v=a.sibling;if(null!==v){v.return=a.return,Ws=v;break e}Ws=a.return}}var b=e.current;for(Ws=b;null!==Ws;){var y=(i=Ws).child;if(2064&i.subtreeFlags&&null!==y)y.return=i,Ws=y;else e:for(i=b;null!==Ws;){if(2048&(l=Ws).flags)try{switch(l.tag){case 0:case 11:case 15:Ks(9,l)}}catch(e){gu(l,l.return,e)}if(l===i){Ws=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Ws=w;break e}Ws=l.return}}if(wc=o,ja(),Jt&&"function"==typeof Jt.onPostCommitFiberRoot)try{Jt.onPostCommitFiberRoot(Qt,e)}catch(e){}n=!0}return n}finally{dr=r,yc.transition=t}}return!1}function mu(e,t,r){e=Ri(e,t=as(0,t=ts(r,t),1),1),t=$c(),null!==e&&(cr(e,1,t),Kc(e,t))}function gu(e,t,r){if(3===e.tag)mu(e,e,r);else for(;null!==t;){if(3===t.tag){mu(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===Ic||!Ic.has(n))){t=Ri(t,e=is(t,e=ts(r,e),1),1),e=$c(),null!==t&&(cr(t,1,e),Kc(t,e));break}}t=t.return}}function vu(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=$c(),e.pingedLanes|=e.suspendedLanes&r,kc===e&&(_c&r)===r&&(4===Ec||3===Ec&&(130023424&_c)===_c&&500>Vt()-Pc?ou(e,0):Tc|=r),Kc(e,t)}function bu(e,t){0===t&&(1&e.mode?(t=rr,!(130023424&(rr<<=1))&&(rr=4194304)):t=1);var r=$c();null!==(e=Ci(e,t))&&(cr(e,t,r),Kc(e,r))}function yu(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),bu(e,r)}function wu(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;null!==o&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(J(314))}null!==n&&n.delete(t),bu(e,r)}function ku(e,t){return qt(e,t)}function xu(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function _u(e,t,r,n){return new xu(e,t,r,n)}function Su(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Bu(e,t){var r=e.alternate;return null===r?((r=_u(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Eu(e,t,r,n,o,a){var i=2;if(n=e,"function"==typeof e)Su(e)&&(i=1);else if("string"==typeof e)i=5;else e:switch(e){case me:return Cu(r.children,o,a,t);case ge:i=8,o|=8;break;case ve:return(e=_u(12,r,t,2|o)).elementType=ve,e.lanes=a,e;case ke:return(e=_u(13,r,t,o)).elementType=ke,e.lanes=a,e;case xe:return(e=_u(19,r,t,o)).elementType=xe,e.lanes=a,e;case Be:return zu(r,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case be:i=10;break e;case ye:i=9;break e;case we:i=11;break e;case _e:i=14;break e;case Se:i=16,n=null;break e}throw Error(J(130,null==e?e:typeof e,""))}return(t=_u(i,r,t,o)).elementType=e,t.type=n,t.lanes=a,t}function Cu(e,t,r,n){return(e=_u(7,e,n,t)).lanes=r,e}function zu(e,t,r,n){return(e=_u(22,e,n,t)).elementType=Be,e.lanes=r,e.stateNode={isHidden:!1},e}function Nu(e,t,r){return(e=_u(6,e,null,t)).lanes=r,e}function Tu(e,t,r){return(t=_u(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fu(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=sr(0),this.expirationTimes=sr(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=sr(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Ru(e,t,r,n,o,a,i,l,s){return e=new Fu(e,t,r,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=_u(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ni(a),e}function Pu(e){if(!e)return wa;e:{if(Ot(e=e._reactInternals)!==e||1!==e.tag)throw Error(J(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ba(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(J(171))}if(1===e.tag){var r=e.type;if(Ba(r))return za(e,r,t)}return t}function Ou(e,t,r,n,o,a,i,l,s){return(e=Ru(r,n,!0,e,0,a,0,l,s)).context=Pu(null),r=e.current,(a=Fi(n=$c(),o=Xc(r))).callback=null!=t?t:null,Ri(r,a,o),e.current.lanes=o,cr(e,o,n),Kc(e,n),e}function ju(e,t,r,n){var o=t.current,a=$c(),i=Xc(o);return r=Pu(r),null===t.context?t.context=r:t.pendingContext=r,(t=Fi(a,i)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=Ri(o,t,i))&&(Gc(e,o,i,a),Pi(e,o,i)),i}function Du(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Au(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function Iu(e,t){Au(e,t),(e=e.alternate)&&Au(e,t)}mc=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||xa.current)ds=!0;else{if(0===(e.lanes&r)&&!(128&t.flags))return ds=!1,function(e,t,r){switch(t.tag){case 3:ks(t),ii();break;case 5:Wi(t);break;case 1:Ba(t.type)&&Na(t);break;case 4:Hi(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;ya(mi,n._currentValue),n._currentValue=o;break;case 13:if(null!==(n=t.memoizedState))return null!==n.dehydrated?(ya($i,1&$i.current),t.flags|=128,null):0!==(r&t.child.childLanes)?Ns(e,t,r):(ya($i,1&$i.current),null!==(e=Ds(e,t,r))?e.sibling:null);ya($i,1&$i.current);break;case 19:if(n=0!==(r&t.childLanes),128&e.flags){if(n)return Os(e,t,r);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),ya($i,$i.current),n)break;return null;case 22:case 23:return t.lanes=0,gs(e,t,r)}return Ds(e,t,r)}(e,t,r);ds=!!(131072&e.flags)}else ds=!1,Ja&&1048576&t.flags&&$a(t,qa,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;js(e,t),e=t.pendingProps;var o=Sa(t,ka.current);xi(t,r),o=sl(null,t,n,e,o,r);var a=cl();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ba(n)?(a=!0,Na(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ni(t),o.updater=Ql,t.stateNode=o,o._reactInternals=t,es(t,n,e,r),t=ws(null,t,n,!0,a,r)):(t.tag=0,Ja&&a&&Xa(t),fs(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(js(e,t),e=t.pendingProps,n=(o=n._init)(n._payload),t.type=n,o=t.tag=function(e){if("function"==typeof e)return Su(e)?1:0;if(null!=e){if((e=e.$$typeof)===we)return 11;if(e===_e)return 14}return 2}(n),e=Gl(n,e),o){case 0:t=bs(null,t,n,e,r);break e;case 1:t=ys(null,t,n,e,r);break e;case 11:t=ps(null,t,n,e,r);break e;case 14:t=hs(null,t,n,Gl(n.type,e),r);break e}throw Error(J(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,bs(e,t,n,o=t.elementType===n?o:Gl(n,o),r);case 1:return n=t.type,o=t.pendingProps,ys(e,t,n,o=t.elementType===n?o:Gl(n,o),r);case 3:e:{if(ks(t),null===e)throw Error(J(387));n=t.pendingProps,o=(a=t.memoizedState).element,Ti(e,t),ji(t,n,null,r);var i=t.memoizedState;if(n=i.element,a.isDehydrated){if(a={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=xs(e,t,n,r,o=ts(Error(J(423)),t));break e}if(n!==o){t=xs(e,t,n,r,o=ts(Error(J(424)),t));break e}for(Qa=ra(t.stateNode.containerInfo.firstChild),Ka=t,Ja=!0,Ya=null,r=hi(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(ii(),n===o){t=Ds(e,t,r);break e}fs(e,t,n,r)}t=t.child}return t;case 5:return Wi(t),null===e&&ri(t),n=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children,Ko(n,o)?i=null:null!==a&&Ko(n,a)&&(t.flags|=32),vs(e,t),fs(e,t,i,r),t.child;case 6:return null===e&&ri(t),null;case 13:return Ns(e,t,r);case 4:return Hi(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=pi(t,null,n,r):fs(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,ps(e,t,n,o=t.elementType===n?o:Gl(n,o),r);case 7:return fs(e,t,t.pendingProps,r),t.child;case 8:case 12:return fs(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value,ya(mi,n._currentValue),n._currentValue=i,null!==a)if(Zn(a.value,i)){if(a.children===o.children&&!xa.current){t=Ds(e,t,r);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){i=a.child;for(var s=l.firstContext;null!==s;){if(s.context===n){if(1===a.tag){(s=Fi(-1,r&-r)).tag=2;var c=a.updateQueue;if(null!==c){var u=(c=c.shared).pending;null===u?s.next=s:(s.next=u.next,u.next=s),c.pending=s}}a.lanes|=r,null!==(s=a.alternate)&&(s.lanes|=r),ki(a.return,r,t),l.lanes|=r;break}s=s.next}}else if(10===a.tag)i=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(i=a.return))throw Error(J(341));i.lanes|=r,null!==(l=i.alternate)&&(l.lanes|=r),ki(i,r,t),i=a.sibling}else i=a.child;if(null!==i)i.return=a;else for(i=a;null!==i;){if(i===t){i=null;break}if(null!==(a=i.sibling)){a.return=i.return,i=a;break}i=i.return}a=i}fs(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,xi(t,r),n=n(o=_i(o)),t.flags|=1,fs(e,t,n,r),t.child;case 14:return o=Gl(n=t.type,t.pendingProps),hs(e,t,n,o=Gl(n.type,o),r);case 15:return ms(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:Gl(n,o),js(e,t),t.tag=1,Ba(n)?(e=!0,Na(t)):e=!1,xi(t,r),Yl(t,n,o),es(t,n,o,r),ws(null,t,n,!0,e,r);case 19:return Os(e,t,r);case 22:return gs(e,t,r)}throw Error(J(156,t.tag))};var qu="function"==typeof reportError?reportError:function(e){console.error(e)};function Lu(e){this._internalRoot=e}function Mu(e){this._internalRoot=e}function Hu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Vu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Wu(){}function Uu(e,t,r,n,o){var a=r._reactRootContainer;if(a){var i=a;if("function"==typeof o){var l=o;o=function(){var e=Du(i);l.call(e)}}ju(t,i,e,o)}else i=function(e,t,r,n,o){if(o){if("function"==typeof n){var a=n;n=function(){var e=Du(i);a.call(e)}}var i=Ou(t,n,e,0,null,!1,0,"",Wu);return e._reactRootContainer=i,e[la]=i.current,jo(8===e.nodeType?e.parentNode:e),ru(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof n){var l=n;n=function(){var e=Du(s);l.call(e)}}var s=Ru(e,0,!1,null,0,!1,0,"",Wu);return e._reactRootContainer=s,e[la]=s.current,jo(8===e.nodeType?e.parentNode:e),ru(function(){ju(t,s,r,n)}),s}(r,t,e,o,n);return Du(i)}Mu.prototype.render=Lu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(J(409));ju(e,t,null,null)},Mu.prototype.unmount=Lu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ru(function(){ju(null,e,null,null)}),t[la]=null}},Mu.prototype.unstable_scheduleHydration=function(e){if(e){var t=gr();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Br.length&&0!==t&&t<Br[r].priority;r++);Br.splice(r,0,e),0===r&&Nr(e)}},pr=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=nr(t.pendingLanes);0!==r&&(ur(t,1|r),Kc(t,Vt()),!(6&wc)&&(Oc=Vt()+500,ja()))}break;case 13:ru(function(){var t=Ci(e,1);if(null!==t){var r=$c();Gc(t,e,1,r)}}),Iu(e,1)}},hr=function(e){if(13===e.tag){var t=Ci(e,134217728);if(null!==t)Gc(t,e,134217728,$c());Iu(e,134217728)}},mr=function(e){if(13===e.tag){var t=Xc(e),r=Ci(e,t);if(null!==r)Gc(r,e,t,$c());Iu(e,t)}},gr=function(){return dr},vr=function(e,t){var r=dr;try{return dr=e,t()}finally{dr=r}},ht=function(e,t,r){switch(t){case"input":if(We(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=ha(n);if(!o)throw Error(J(90));qe(n),We(n,o)}}}break;case"textarea":Je(e,r);break;case"select":null!=(t=r.value)&&Ge(e,!!r.multiple,t,!1)}},wt=tu,kt=ru;var $u={usingClientEntryPoint:!1,Events:[fa,pa,ha,bt,yt,tu]},Xu={findFiberByHostInstance:da,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Gu={bundleType:Xu.bundleType,version:Xu.version,rendererPackageName:Xu.rendererPackageName,rendererConfig:Xu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:fe.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=At(e))?null:e.stateNode},findFiberByHostInstance:Xu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Ku=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ku.isDisabled&&Ku.supportsFiber)try{Qt=Ku.inject(Gu),Jt=Ku}catch(rt){}}U.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$u,U.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Hu(t))throw Error(J(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:he,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},U.createRoot=function(e,t){if(!Hu(e))throw Error(J(299));var r=!1,n="",o=qu;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(n=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Ru(e,1,!1,null,0,r,0,n,o),e[la]=t.current,jo(8===e.nodeType?e.parentNode:e),new Lu(t)},U.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(J(188));throw e=Object.keys(e).join(","),Error(J(268,e))}return e=null===(e=At(t))?null:e.stateNode},U.flushSync=function(e){return ru(e)},U.hydrate=function(e,t,r){if(!Vu(t))throw Error(J(200));return Uu(null,e,t,!0,r)},U.hydrateRoot=function(e,t,r){if(!Hu(e))throw Error(J(405));var n=null!=r&&r.hydratedSources||null,o=!1,a="",i=qu;if(null!=r&&(!0===r.unstable_strictMode&&(o=!0),void 0!==r.identifierPrefix&&(a=r.identifierPrefix),void 0!==r.onRecoverableError&&(i=r.onRecoverableError)),t=Ou(t,null,e,1,null!=r?r:null,o,0,a,i),e[la]=t.current,jo(e),n)for(e=0;e<n.length;e++)o=(o=(r=n[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new Mu(t)},U.render=function(e,t,r){if(!Vu(t))throw Error(J(200));return Uu(null,e,t,!1,r)},U.unmountComponentAtNode=function(e){if(!Vu(e))throw Error(J(40));return!!e._reactRootContainer&&(ru(function(){Uu(null,null,e,!1,function(){e._reactRootContainer=null,e[la]=null})}),!0)},U.unstable_batchedUpdates=tu,U.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Vu(r))throw Error(J(200));if(null==e||void 0===e._reactInternals)throw Error(J(38));return Uu(e,t,r,!1,n)},U.version="18.3.1-next-f1338f8080-20240426",function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),W.exports=U;var Qu=W.exports,Ju=Qu;V.createRoot=Ju.createRoot,V.hydrateRoot=Ju.hydrateRoot;var Yu=e=>"checkbox"===e.type,Zu=e=>"file"===e.type,ed=e=>e instanceof Date,td=e=>null==e;const rd=e=>"object"==typeof e;var nd=e=>!td(e)&&!Array.isArray(e)&&rd(e)&&!ed(e),od=e=>nd(e)&&e.target?Yu(e.target)?e.target.checked:Zu(e.target)?e.target.files:e.target.value:e,ad=(e,t)=>t.split(".").some((t,r,n)=>!isNaN(Number(t))&&e.has(n.slice(0,r).join("."))),id=e=>{const t=e.constructor&&e.constructor.prototype;return nd(t)&&t.hasOwnProperty("isPrototypeOf")},ld="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function sd(e){if(e instanceof Date)return new Date(e);const t="undefined"!=typeof FileList&&e instanceof FileList;if(ld&&(e instanceof Blob||t))return e;const r=Array.isArray(e);if(!(r||nd(e)&&id(e)))return e;const n=r?[]:Object.create(Object.getPrototypeOf(e));for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=sd(e[t]));return n}const cd="blur",ud="focusout",dd="change",fd="submit",pd="trigger",hd="valid",md="onBlur",gd="onChange",vd="onSubmit",bd="onTouched",yd="all",wd="max",kd="min",xd="maxLength",_d="minLength",Sd="pattern",Bd="required",Ed="validate",Cd="root",zd=["__proto__","constructor","prototype"],Nd=/^\w*$/;var Td=e=>Nd.test(e),Fd=e=>void 0===e;const Rd=/[.[\]'"]/;var Pd=e=>e.split(Rd).filter(Boolean),Od=(e,t,r)=>{if(!t||!nd(e))return r;const n=Td(t)?[t]:Pd(t);if(n.some(e=>zd.includes(e)))return r;const o=n.reduce((e,t)=>td(e)?void 0:e[t],e);return Fd(o)||o===e?Fd(e[t])?r:e[t]:o},jd=e=>"boolean"==typeof e,Dd=e=>"function"==typeof e,Ad=(e,t,r)=>{let n=-1;const o=Td(t)?[t]:Pd(t),a=o.length,i=a-1;for(;++n<a;){const t=o[n];let a=r;if(n!==i){const r=e[t];a=nd(r)||Array.isArray(r)?r:isNaN(+o[n+1])?{}:[]}if(zd.includes(t))return;e[t]=a,e=e[t]}};const Id=M.createContext(null);Id.displayName="HookFormControlContext";const qd=()=>M.useContext(Id);var Ld=(e,t,r,n=!0)=>{const o={};for(const a in e)Object.defineProperty(o,a,{get:()=>{const o=a;return t._proxyFormState[o]!==yd&&(t._proxyFormState[o]=!n||yd),r&&(r[o]=!0),e[o]}});return o};const Md=ld?M.useLayoutEffect:M.useEffect;var Hd=e=>"string"==typeof e,Vd=(e,t,r,n,o)=>Hd(e)?(n&&t.watch.add(e),Od(r,e,o)):Array.isArray(e)?e.map(e=>(n&&t.watch.add(e),Od(r,e))):(n&&(t.watchAll=!0),r),Wd=e=>td(e)||!rd(e);const Ud=(e,t)=>0===t.length&&!Array.isArray(e)&&!id(e);function $d(e,t,r=new WeakMap){if(e===t)return!0;if(Wd(e)||Wd(t))return Object.is(e,t);if(ed(e)&&ed(t))return Object.is(e.getTime(),t.getTime());const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;if(Ud(e,n)||Ud(t,o))return Object.is(e,t);if(!n.length&&Array.isArray(e)!==Array.isArray(t))return!1;const a=r.get(e);if(a&&a.has(t))return!0;if(a)a.add(t);else{const n=new WeakSet;n.add(t),r.set(e,n)}for(const o of n){const n=e[o];if(!(o in t))return!1;if("ref"!==o){const e=t[o];if(ed(n)&&ed(e)||(nd(n)||Array.isArray(n))&&(nd(e)||Array.isArray(e))?!$d(n,e,r):!Object.is(n,e))return!1}}return!0}function Xd(e){const t=qd(),{control:r=t,name:n,defaultValue:o,disabled:a,exact:i,compute:l}=e||{},s=M.useRef(o),c=M.useRef(l),u=M.useRef(void 0),d=M.useRef(r),f=M.useRef(n);c.current=l;const[p,h]=M.useState(()=>{const e=r._getWatch(n,s.current);return c.current?c.current(e):e}),m=M.useCallback(e=>{const t=Vd(n,r._names,e||r._formValues,!1,s.current);return c.current?c.current(t):t},[r._formValues,r._names,n]),g=M.useCallback(e=>{if(!a){const t=Vd(n,r._names,e||r._formValues,!1,s.current);if(c.current){const e=c.current(t);$d(e,u.current)||(h(e),u.current=e)}else h(t)}},[r._formValues,r._names,a,n]);Md(()=>(d.current===r&&$d(f.current,n)||(d.current=r,f.current=n,g()),r._subscribe({name:n,formState:{values:!0},exact:i,callback:e=>{g(e.values)}})),[r,i,n,g]),M.useEffect(()=>r._removeUnmounted());const v=d.current!==r,b=f.current,y=M.useMemo(()=>{if(a)return null;const e=!v&&!$d(b,n);return v||e?m():null},[a,v,n,b,m]);return null!==y?y:p}function Gd(e){const t=qd(),{name:r,disabled:n,control:o=t,shouldUnregister:a,defaultValue:i,exact:l=!0}=e,s=ad(o._names.array,r),c=M.useMemo(()=>Od(o._formValues,r,Od(o._defaultValues,r,i)),[o,r,i]),u=Xd({control:o,name:r,defaultValue:c,exact:l}),d=function(e){const t=qd(),{control:r=t,disabled:n,name:o,exact:a}=e||{},[i,l]=M.useState(()=>({...r._formState,defaultValues:r._defaultValues})),s=M.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return Md(()=>r._subscribe({name:o,formState:s.current,exact:a,callback:e=>{!n&&l({...r._formState,...e,defaultValues:r._defaultValues})}}),[o,n,a]),M.useEffect(()=>{s.current.isValid&&r._setValid(!0)},[r]),M.useMemo(()=>Ld(i,r,s.current,!1),[i,r])}({control:o,name:r,exact:l}),f=M.useRef(e),p=M.useRef(null),h=M.useRef(o.register(r,{...e.rules,value:u,...jd(e.disabled)?{disabled:e.disabled}:{}}));f.current=e;const m=M.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Od(d.errors,r)},isDirty:{enumerable:!0,get:()=>!!Od(d.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!Od(d.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!Od(d.validatingFields,r)},error:{enumerable:!0,get:()=>Od(d.errors,r)}}),[d,r]),g=M.useCallback(e=>{const t=od(e);return Od(o._fields,r)||(h.current=o.register(r,{...f.current.rules,value:t})),h.current.onChange({target:{value:od(e),name:r},type:dd})},[r,o]),v=M.useCallback(()=>h.current.onBlur({target:{value:Od(o._formValues,r),name:r},type:cd}),[r,o._formValues]),b=M.useCallback(e=>{e&&(p.current={focus:()=>Dd(e.focus)&&e.focus(),select:()=>Dd(e.select)&&e.select(),setCustomValidity:t=>Dd(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>Dd(e.reportValidity)&&e.reportValidity()});const t=Od(o._fields,r);t&&t._f&&e&&(t._f.ref=p.current)},[o._fields,r]),y=M.useMemo(()=>({name:r,value:u,...jd(n)||d.disabled?{disabled:d.disabled||n}:{},onChange:g,onBlur:v,ref:b}),[r,n,d.disabled,g,v,b,u]);return M.useEffect(()=>{const e=o._options.shouldUnregister||a;h.current=o.register(r,{...f.current.rules,...jd(f.current.disabled)?{disabled:f.current.disabled}:{}});const t=(e,t)=>{const r=Od(o._fields,e);r&&r._f&&(r._f.mount=t)};if(t(r,!0),e){const e=sd(Od(a?o._defaultValues:o._options.values||o._defaultValues,r,Od(o._options.defaultValues,r,f.current.defaultValue)));Ad(o._defaultValues,r,e),Fd(Od(o._formValues,r))&&Ad(o._formValues,r,e)}if(!s&&o.register(r),p.current){const e=Od(o._fields,r);e&&e._f&&(e._f.ref=p.current)}return()=>{(s?e&&!o._state.action:e)?o.unregister(r):t(r,!1)}},[r,o,s,a]),M.useEffect(()=>{o._setDisabledField({disabled:n,name:r})},[n,r,o]),M.useMemo(()=>({field:y,formState:d,fieldState:m}),[y,d,m])}const Kd=e=>e.render(Gd(e));var Qd=e=>({isOnSubmit:!e||e===vd,isOnBlur:e===md,isOnChange:e===gd,isOnAll:e===yd,isOnTouch:e===bd}),Jd=(e,t,r)=>{if(r)return!1;if(t.watchAll||t.watch.has(e))return!0;for(const r of t.watch)if(e.startsWith(r)&&"."===e.charAt(r.length))return!0;return!1};const Yd=(e,t,r,n)=>{for(const o of r||Object.keys(e)){const r=Od(e,o);if(r){const{_f:e,...a}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],o)&&!n)return!0;if(e.ref&&t(e.ref,e.name)&&!n)return!0;if(Yd(a,t))break}else if(nd(a)&&Yd(a,t))break}}};var Zd=(e,t,r)=>{const n=Od(e,r),o=Array.isArray(n)?n:[];return Ad(o,Cd,t[r]),Ad(e,r,o),e},ef=e=>nd(e)&&!Object.keys(e).length,tf=e=>{if(!ld)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},rf=e=>"radio"===e.type,nf=e=>e instanceof RegExp,of=(e,t,r,n,o)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:o||!0}}:{};const af={value:!1,isValid:!1},lf={value:!0,isValid:!0};var sf=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Fd(e[0].attributes.value)?Fd(e[0].value)||""===e[0].value?lf:{value:e[0].value,isValid:!0}:lf:af}return af};const cf={isValid:!1,value:null};var uf=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,cf):cf;function df(e,t,r="validate"){if(Hd(e)||Array.isArray(e)&&e.every(Hd)||jd(e)&&!e)return{type:r,message:Hd(e)?e:"",ref:t}}var ff=e=>nd(e)&&!nf(e)?e:{value:e,message:""},pf=async(e,t,r,n,o,a)=>{const{ref:i,refs:l,required:s,maxLength:c,minLength:u,min:d,max:f,pattern:p,validate:h,name:m,valueAsNumber:g,mount:v}=e._f,b=Od(r,m);if(!v||t.has(m))return{};const y=l?l[0]:i,w=e=>{if(o&&y.reportValidity){const t=jd(e)?"":e||"";l?l.forEach(e=>e.setCustomValidity(t)):y.setCustomValidity(t),y.reportValidity()}},k={},x=rf(i),_=Yu(i),S=x||_,B=(g||Zu(i))&&Fd(i.value)&&Fd(b)||tf(i)&&""===i.value||""===b||Array.isArray(b)&&!b.length,E=of.bind(null,m,n,k),C=(e,t,r,n=xd,o=_d)=>{const a=e?t:r;k[m]={type:e?n:o,message:a,ref:i,...E(e?n:o,a)}};if(a?!Array.isArray(b)||!b.length:s&&(!S&&(B||td(b))||jd(b)&&!b||_&&!sf(l).isValid||x&&!uf(l).isValid)){const{value:e,message:t}=Hd(s)?{value:!!s,message:s}:ff(s);if(e&&(k[m]={type:Bd,message:t,ref:y,...E(Bd,t)},!n))return w(t),k}if(!(B||td(d)&&td(f))){let e,t;const r=ff(f),o=ff(d);if(td(b)||isNaN(b)){const n=i.valueAsDate||new Date(b),a=e=>new Date((new Date).toDateString()+" "+e),l="time"==i.type,s="week"==i.type;Hd(r.value)&&b&&(e=l?a(b)>a(r.value):s?b>r.value:n>new Date(r.value)),Hd(o.value)&&b&&(t=l?a(b)<a(o.value):s?b<o.value:n<new Date(o.value))}else{const n=i.valueAsNumber||(b?+b:b);td(r.value)||(e=n>r.value),td(o.value)||(t=n<o.value)}if((e||t)&&(C(!!e,r.message,o.message,wd,kd),!n))return w(k[m].message),k}if((c||u)&&!B&&(Hd(b)||a&&Array.isArray(b))){const e=ff(c),t=ff(u),r=!td(e.value)&&b.length>+e.value,o=!td(t.value)&&b.length<+t.value;if((r||o)&&(C(r,e.message,t.message),!n))return w(k[m].message),k}if(p&&!B&&Hd(b)){const{value:e,message:t}=ff(p);if(nf(e)&&!b.match(e)&&(k[m]={type:Sd,message:t,ref:i,...E(Sd,t)},!n))return w(t),k}if(h)if(Dd(h)){const e=df(await h(b,r),y);if(e&&(k[m]={...e,...E(Ed,e.message)},!n))return w(e.message),k}else if(nd(h)){let e={};for(const t in h){if(!ef(e)&&!n)break;const o=df(await h[t](b,r),y,t);o&&(e={...o,...E(t,o.message)},w(o.message),n&&(k[m]=e))}if(!ef(e)&&(k[m]={ref:y,...e},!n))return k}return w(!0),k},hf=e=>Array.isArray(e)?e:[e],mf=e=>Array.isArray(e)?e.filter(Boolean):[];function gf(e,t){if(Hd(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;const r=Array.isArray(t)?t:Td(t)?[t]:Pd(t);if(r.some(e=>zd.includes(String(e))))return e;const n=1===r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;){if(td(e)){e=void 0;break}e=e[t[n]],n++}return e}(e,r),o=r.length-1,a=r[o];return n&&delete n[a],0!==o&&(nd(n)&&ef(n)||Array.isArray(n)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!Fd(e[t]))return!1;return!0}(n))&&gf(e,r.slice(0,-1)),e}const vf=e=>{const t={};for(const r of Object.keys(e))if(rd(e[r])&&null!==e[r]&&!ed(e[r])){const n=vf(e[r]);for(const e of Object.keys(n))t[`${r}.${e}`]=n[e]}else t[r]=e[r];return t};M.createContext(null).displayName="HookFormContext";var bf=()=>{let e=[];return{get observers(){return e},next:t=>{for(const r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};function yf(e,t){const r={};for(const n in e)if(e.hasOwnProperty(n)){const o=e[n],a=t[n];if(o&&nd(o)&&a){const e=yf(o,a);nd(e)&&(r[n]=e)}else e[n]&&(r[n]=a)}return r}var wf=e=>"select-multiple"===e.type,kf=e=>tf(e)&&e.isConnected;function xf(e){return Array.isArray(e)||nd(e)&&!(e=>{for(const t in e)if(Dd(e[t]))return!0;return!1})(e)}function _f(e){return!(!e||!("_f"in e))}function Sf(e){return Array.isArray(e)?!e.some(e=>!Fd(e)):!Object.keys(e).length}function Bf(e,t){Array.isArray(e)?e[t]=void 0:delete e[t]}function Ef(e,t={},r){for(const n in e){const o=e[n],a=r&&r[n];!xf(o)||Array.isArray(o)&&_f(a)?Fd(o)||(t[n]=!0):(t[n]=Array.isArray(o)?[]:{},Ef(o,t[n],a),Sf(t[n])&&Bf(t,n))}return t}function Cf(e,t,r,n){r||(r=Ef(t,{},n));for(const o in e){const a=e[o],i=n&&n[o];!xf(a)||Array.isArray(a)&&_f(i)?$d(a,t[o])?Bf(r,o):r[o]=!0:(Fd(t)||Wd(r[o])?r[o]=Ef(a,Array.isArray(a)?[]:{},i):Cf(a,td(t)?{}:t[o],r[o],i),Sf(r[o])&&Bf(r,o))}return r}var zf=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>Fd(e)?e:t?""===e?NaN:e?+e:e:r&&Hd(e)?new Date(e):n?n(e):e;function Nf(e){const t=e.ref;return Zu(t)?t.files:rf(t)?uf(e.refs).value:wf(t)?[...t.selectedOptions].map(({value:e})=>e):Yu(t)?sf(e.refs).value:zf(Fd(t.value)?e.ref.value:t.value,e)}var Tf=e=>Fd(e)?e:nf(e)?e.source:nd(e)?nf(e.value)?e.value.source:e.value:e;const Ff="AsyncFunction";var Rf=e=>{if(!e||!e.validate)return!1;if(Dd(e.validate))return e.validate.constructor.name===Ff;if(nd(e.validate))for(const t in e.validate)if(e.validate[t].constructor.name===Ff)return!0;return!1};function Pf(e,t,r){const n=Od(e,r);if(n||Td(r))return{error:n,name:r};const o=r.split(".");for(;o.length;){const n=o.join("."),a=Od(t,n),i=Od(e,n);if(a&&!Array.isArray(a)&&r!==n)return{name:r};if(i&&i.type)return{name:n,error:i};if(i&&i.root&&i.root.type)return{name:`${n}.root`,error:i.root};o.pop()}return{name:r}}const Of={mode:vd,reValidateMode:gd,shouldFocusError:!0},jf="form",Df={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function Af(e={}){let t={...Of,...e},r={...sd(Df),isLoading:Dd(t.defaultValues),errors:t.errors||{},disabled:t.disabled||!1},n={},o=(nd(t.defaultValues)||nd(t.values))&&sd(t.defaultValues||t.values)||{},a=t.shouldUnregister?{}:sd(o),i={action:!1,mount:!1,watch:!1,keepIsValid:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set};const s={},c={};let u=0,d=Qd(t.mode),f=Qd(t.reValidateMode);const p={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},h={...p};let m={...h};const g={array:bf(),state:bf()};let v=0;const b=t.criteriaMode===yd,y=(e,t)=>r=>{clearTimeout(c[e]),c[e]=setTimeout(t,r)},w=async e=>{if(!i.keepIsValid&&!t.disabled&&(h.isValid||m.isValid||e)){const e=++v;let o;t.resolver?(o=ef((await E()).errors),e===v&&k()):o=await z({fields:n,onlyCheckValid:!0,eventType:hd}),e===v&&o!==r.isValid&&g.state.next({isValid:o})}},k=(e,n)=>{!t.disabled&&(h.isValidating||h.validatingFields||m.isValidating||m.validatingFields)&&((e||Array.from(l.mount)).forEach(e=>{e&&(n?Ad(r.validatingFields,e,n):gf(r.validatingFields,e))}),g.state.next({validatingFields:r.validatingFields,isValidating:!ef(r.validatingFields)}))},x=()=>{r.dirtyFields=Cf(o,a,void 0,n)},_=(e,t)=>{Ad(r.errors,e,t),r.errors={...r.errors},g.state.next({errors:r.errors})},S=(t,s,c,u)=>{const d=Od(n,t);if(d){if((e=>{const t=Td(e)?[e]:Pd(e);let r=a,n=o;for(let e=0;e<t.length-1;e++){const o=t[e];if(r=td(r)?r:r[o],n=td(n)?n:n[o],null===r&&null!==n)return!0}return!1})(t))return;const n=Fd(Od(a,t)),f=Od(a,t,Fd(c)?Od(o,t):c);if(Fd(f)||u&&u.defaultChecked||s?Ad(a,t,s?f:Nf(d._f)):F(t,f),i.mount&&!i.action){if(w(),n&&r.isDirty&&(h.isDirty||m.isDirty)){N()||(r.isDirty=!1,g.state.next({...r}))}e.shouldUnregister&&n&&!Fd(Od(a,t))&&Jd(t,l)&&(i.watch=!0)}}},B=(e,i,l,s,c)=>{let u=!1,d=!1;const f={name:e};if(!t.disabled||!0===s){if(!l||s){const t=$d(Od(o,e),i);(h.isDirty||m.isDirty)&&(d=r.isDirty,r.isDirty=f.isDirty=!t||N(),u=d!==f.isDirty),d=!!Od(r.dirtyFields,e),t!==r.isDirty?((e,t)=>{for(const r in e)r in t||delete e[r];Object.assign(e,t)})(r.dirtyFields,Cf(o,a,void 0,n)):t?gf(r.dirtyFields,e):Ad(r.dirtyFields,e,!0),f.dirtyFields=r.dirtyFields,u=u||(h.dirtyFields||m.dirtyFields)&&d!==!t}if(l){const t=Od(r.touchedFields,e);t||(Ad(r.touchedFields,e,l),f.touchedFields=r.touchedFields,u=u||(h.touchedFields||m.touchedFields)&&t!==l)}u&&c&&g.state.next(f)}return u?f:{}},E=async e=>(k(e,!0),await t.resolver(a,t.context,((e,t,r,n)=>{const o={};for(const r of e){const e=Od(t,r);e&&Ad(o,r,e._f)}return{criteriaMode:r,names:[...e],fields:o,shouldUseNativeValidation:n}})(e||l.mount,n,t.criteriaMode,t.shouldUseNativeValidation))),C=async({name:t,eventType:n})=>{if(e.validate){const o=await e.validate({formValues:a,formState:r,name:t,eventType:n});if(nd(o))for(const e in o){const t=o[e];t&&L(`${jf}.${e}`,{message:Hd(t.message)?t.message:"",type:t.type||Ed})}else Hd(o)||!o?L(jf,{message:o||"",type:Ed}):q(jf);return o}return!0},z=async({fields:n,onlyCheckValid:o,name:i,eventType:s,context:c={valid:!0,runRootValidation:!1}})=>{if(e.validate){c.runRootValidation=!0;if(!await C({name:i,eventType:s})&&(c.valid=!1,o))return c.valid}for(const i in n){const u=n[i];if(u){const{_f:n,...d}=u;if(n){const i=l.array.has(n.name),s=u._f&&Rf(u._f),d=h.validatingFields||h.isValidating||m.validatingFields||m.isValidating;s&&d&&k([n.name],!0);const f=await pf(u,l.disabled,a,b,t.shouldUseNativeValidation&&!o,i);if(s&&d&&k([n.name]),f[n.name]&&(c.valid=!1,o))break;if(!o&&(Od(f,n.name)?i?Zd(r.errors,f,n.name):Ad(r.errors,n.name,f[n.name]):gf(r.errors,n.name)),e.shouldUseNativeValidation&&f[n.name])break}!ef(d)&&await z({context:c,onlyCheckValid:o,fields:d,name:i,eventType:s})}}return c.valid},N=(e,t)=>(e&&t&&Ad(a,e,t),!$d(i.mount?a:o,o)),T=(e,t,r)=>Vd(e,l,{...i.mount?a:Fd(t)?o:Hd(e)?{[e]:t}:t},r,t),F=(e,t,r={},o=!1,i=!1)=>{const l=Od(n,e);let s=t;if(l){const r=l._f;r&&(!r.disabled&&Ad(a,e,zf(t,r)),s=tf(r.ref)&&td(t)?"":t,wf(r.ref)?[...r.ref.options].forEach(e=>e.selected=s.includes(e.value)):r.refs?Yu(r.ref)?r.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(s)?e.checked=!!s.find(t=>t===e.value):e.checked=s===e.value||!!s)}):r.refs.forEach(e=>e.checked=e.value===s):Zu(r.ref)?r.ref.value="":(r.ref.value=s,r.ref.type||i||g.state.next({name:e,values:o?a:sd(a)})))}(r.shouldDirty||r.shouldTouch)&&B(e,s,r.shouldTouch,r.shouldDirty,!i),r.shouldValidate&&A(e,{delayError:r.delayError})},R=(e,t,r,o=!1,a=!1)=>{for(const i in t){if(!t.hasOwnProperty(i))return;const s=t[i],c=e+"."+i,u=Od(n,c);(l.array.has(e)||nd(s)||u&&!u._f)&&!ed(s)?R(c,s,r,o,a):F(c,s,r,o,a)}},P=(e,t,o,s,c=!1)=>{const u=Od(n,e),d=l.array.has(e),f=s?t:sd(t),p=$d(Od(a,e),f);if(p||Ad(a,e,f),d)g.array.next({name:e,values:s?a:sd(a)}),(h.isDirty||h.dirtyFields||m.isDirty||m.dirtyFields)&&o.shouldDirty&&(x(),c||g.state.next({name:e,dirtyFields:r.dirtyFields,isDirty:N(e,f)}));else{const t=Array.isArray(f)&&!f.length||ef(f);!u||u._f||td(f)||t?F(e,f,o,s,c):R(e,f,o,s,c)}if(!p&&!c){const t=Jd(e,l),n=s?a:sd(a);g.state.next({...t&&r,name:i.mount||t?e:void 0,values:n})}},O=(e,t,r={})=>P(e,t,r,!1),j=async o=>{i.mount=!0;const p=o.target;let v=p.name,x=!0;const S=Od(n,v),N=e=>{x=Number.isNaN(e)||ed(e)&&isNaN(e.getTime())||$d(e,Od(a,v,e))};if(S){let i,F;const R=p.type?Nf(S._f):od(o),P=o.type===cd||o.type===ud,O=!(T=S._f,T.mount&&(T.required||T.min||T.max||T.maxLength||T.minLength||T.pattern||T.validate)||e.validate||t.resolver||Od(r.errors,v)||S._f.deps),j=O||((e,t,r,n,o)=>!o.isOnAll&&(!r&&o.isOnTouch?!(t||e):(r?n.isOnBlur:o.isOnBlur)?!e:!(r?n.isOnChange:o.isOnChange)||e))(P,Od(r.touchedFields,v),r.isSubmitted,f,d),D=Jd(v,l,P);if(Ad(a,v,R),P){if(!p||!p.readOnly){S._f.onBlur&&S._f.onBlur(o);const e=s[v];e&&e(0)}}else S._f.onChange&&S._f.onChange(o);const I=B(v,R,P),q=!ef(I)||D;if(!P&&g.state.next({name:v,type:o.type,...u?{values:sd(a)}:{}}),j)return O&&r.isValid||!h.isValid&&!m.isValid||("onBlur"===t.mode?P&&w():P||w()),q&&g.state.next({name:v,...D?{}:I});if(!t.resolver&&e.validate&&await C({name:v,eventType:o.type}),!P&&D&&g.state.next({...r}),t.resolver){const{errors:e}=await E([v]);if(k([v]),N(R),!x)return void(!ef(I)&&g.state.next(I));const t=Pf(r.errors,n,v),o=Pf(e,n,t.name||v);i=o.error,v=o.name,F=ef(e)}else k([v],!0),i=(await pf(S,l.disabled,a,b,t.shouldUseNativeValidation))[v],k([v]),N(R),x&&(i?F=!1:(h.isValid||m.isValid)&&(F=await z({fields:n,onlyCheckValid:!0,name:v,eventType:o.type})));x&&(S._f.deps&&(!Array.isArray(S._f.deps)||S._f.deps.length>0)&&A(S._f.deps),((e,n,o,a)=>{const i=Od(r.errors,e),l=(h.isValid||m.isValid)&&jd(n)&&r.isValid!==n;if(t.delayError&&o?(s[e]=y(e,()=>_(e,o)),s[e](t.delayError)):(clearTimeout(c[e]),delete s[e],o?Ad(r.errors,e,o):gf(r.errors,e),r.errors={...r.errors}),(o?!$d(i,o):i)||!ef(a)||l){const t={...a,...l&&jd(n)?{isValid:n}:{},errors:r.errors,name:e};r={...r,...t},g.state.next(t)}})(v,F,i,I))}var T},D=(e,t)=>{if(Od(r.errors,t)&&e.focus)return e.focus(),1},A=async(e,o={})=>{let a,i;const u=hf(e);if(t.resolver){const t=await(async e=>{const{errors:t}=await E(e);if(k(e),e){for(const n of e){const e=Od(t,n);e?l.array.has(n)&&nd(e)&&!Object.keys(e).some(e=>!Number.isNaN(Number(e)))?Zd(r.errors,{[n]:e},n):Ad(r.errors,n,e):gf(r.errors,n)}r.errors={...r.errors}}else r.errors=t;return t})(Fd(e)?e:u);a=ef(t),i=e?!u.some(e=>Od(t,e)):a}else e?(i=(await Promise.all(u.map(async e=>{const t=Od(n,e);return await z({fields:t&&t._f?{[e]:t}:t,eventType:pd})}))).every(Boolean),(i||r.isValid)&&w()):i=a=await z({fields:n,name:e,eventType:pd});if(o.delayError&&t.delayError&&Hd(e)){const n=Od(r.errors,e);n?(gf(r.errors,e),s[e]=y(e,()=>_(e,n)),s[e](t.delayError)):(clearTimeout(c[e]),delete s[e])}return g.state.next({...!Hd(e)||(h.isValid||m.isValid)&&a!==r.isValid?{}:{name:e},...t.resolver||!e?{isValid:a}:{},errors:r.errors}),o.shouldFocus&&!i&&Yd(n,D,e?u:l.mount),i},I=(e,t)=>({invalid:!!Od((t||r).errors,e),isDirty:!!Od((t||r).dirtyFields,e),error:Od((t||r).errors,e),isValidating:!!Od(r.validatingFields,e),isTouched:!!Od((t||r).touchedFields,e)}),q=e=>{const t=e?hf(e):void 0;null==t||t.forEach(e=>gf(r.errors,e)),t?t.forEach(e=>{g.state.next({name:e,errors:r.errors})}):(r.errors={},g.state.next({errors:r.errors}))},L=(e,t,o)=>{const a=(Od(n,e,{_f:{}})._f||{}).ref,i=Od(r.errors,e)||{},{ref:l,message:s,type:c,...u}=i;Ad(r.errors,e,{...u,...t,ref:a}),g.state.next({name:e,errors:r.errors,isValid:!1}),o&&o.shouldFocus&&a&&a.focus&&a.focus()},M=e=>{var t;const n=!!(null===(t=e.formState)||void 0===t?void 0:t.values);n&&u++;const{unsubscribe:i}=g.state.subscribe({next:t=>{if(n=e.name,i=t.name,l=e.exact,(!n||!i||n===i||hf(n).some(e=>e&&(l?e===i||e.startsWith(i+"."):e.startsWith(i)||i.startsWith(e))))&&((e,t,r,n)=>{r(e);const{name:o,...a}=e,i=Object.keys(a);return!i.length||n&&i.length>=Object.keys(t).length||i.find(e=>t[e]===(!n||yd))})(t,e.formState||h,K,e.reRenderRoot)){const n={...a};e.callback({values:n,...r,...t,defaultValues:o})}var n,i,l}});if(!n)return i;let l=!1;return()=>{l||(l=!0,u--,i())}},H=(e,i={})=>{for(const s of e?hf(e):l.mount)l.mount.delete(s),l.array.delete(s),i.keepValue||(gf(n,s),gf(a,s)),!i.keepError&&gf(r.errors,s),!i.keepDirty&&gf(r.dirtyFields,s),!i.keepTouched&&gf(r.touchedFields,s),!i.keepIsValidating&&gf(r.validatingFields,s),!t.shouldUnregister&&!i.keepDefaultValue&&gf(o,s);g.state.next({values:sd(a)}),g.state.next({...r,...i.keepDirty?{isDirty:N()}:{}}),!i.keepIsValid&&w()},V=({disabled:e,name:t})=>{if(jd(e)&&i.mount||e||l.disabled.has(t)){const r=l.disabled.has(t)!==!!e;e?l.disabled.add(t):l.disabled.delete(t),r&&i.mount&&!i.action&&w()}},W=(e,r={})=>{let a=Od(n,e);const s=jd(r.disabled)||jd(t.disabled),c=!l.registerName.has(e)&&a&&a._f&&!a._f.mount;return Ad(n,e,{...a||{},_f:{...a&&a._f?a._f:{ref:{name:e}},name:e,mount:!0,...r}}),l.mount.add(e),a&&!c?V({disabled:jd(r.disabled)?r.disabled:t.disabled,name:e}):S(e,!0,r.value),{...s?{disabled:r.disabled||t.disabled}:{},...t.progressive?{required:!!r.required,min:Tf(r.min),max:Tf(r.max),minLength:Tf(r.minLength),maxLength:Tf(r.maxLength),pattern:Tf(r.pattern)}:{},name:e,onChange:j,onBlur:j,ref:s=>{if(s){l.registerName.add(e),W(e,r),l.registerName.delete(e),a=Od(n,e);const t=Fd(s.value)&&s.querySelectorAll&&s.querySelectorAll("input,select,textarea")[0]||s,i=(e=>rf(e)||Yu(e))(t),c=a._f.refs||[];if(i?c.find(e=>e===t):t===a._f.ref)return;const u={...a._f};i?(u.refs=[...c.filter(kf),t,...Array.isArray(Od(o,e))?[{}]:[]],u.ref={type:t.type,name:e}):(u.ref=t,delete u.refs),Ad(n,e,{_f:u}),S(e,!1,void 0,t)}else a=Od(n,e,{}),a._f&&(a._f.mount=!1),(t.shouldUnregister||r.shouldUnregister)&&(!ad(l.array,e)||!i.action)&&l.unMount.add(e)}}},U=()=>t.shouldFocusError&&!t.shouldUseNativeValidation&&Yd(n,D,l.mount),$=(e,o)=>async i=>{let s;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let c=sd(a);if(g.state.next({isSubmitting:!0}),t.resolver){const{errors:e,values:t}=await E();k(),r.errors=e,c=sd(t)}else await z({fields:n,eventType:fd});if(l.disabled.size)for(const e of l.disabled)gf(c,e);if(gf(r.errors,Cd),ef(r.errors)){g.state.next({errors:{}});try{await e(c,i)}catch(e){s=e}}else o&&await o({...r.errors},i),U(),setTimeout(U);if(g.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ef(r.errors)&&!s,submitCount:r.submitCount+1,errors:r.errors}),s)throw s},X=(e,s={})=>{const c=e?sd(e):o,u=sd(c),d=ef(e),f=u,p=n;if(s.keepDefaultValues||(o=c),!s.keepValues){if(s.keepDirtyValues){const e=new Set([...l.mount,...Object.keys(Cf(o,a,void 0,p))]);for(const t of Array.from(e)){const e=Od(r.dirtyFields,t),n=Od(a,t),o=Od(f,t);e&&!Fd(n)?Ad(f,t,n):e||Fd(o)||O(t,o)}}else{if(ld&&Fd(e))for(const e of l.mount){const t=Od(n,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(tf(e)){const t=e.closest("form");if(t){t.reset();break}}}}if(s.keepFieldsRef)for(const e of l.mount)O(e,Od(f,e));else n={}}if(t.shouldUnregister){if(a=s.keepDefaultValues?sd(o):{},s.keepFieldsRef)for(const e of l.mount)Ad(a,e,Od(f,e))}else a=sd(f);g.array.next({values:{...f}}),g.state.next({name:void 0,type:void 0,values:{...f}})}l={mount:s.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},i.mount=!h.isValid||!!s.keepIsValid||!!s.keepDirtyValues||!t.shouldUnregister&&!ef(f),i.watch=!!t.shouldUnregister,i.keepIsValid=!!s.keepIsValid,i.action=!1,s.keepErrors||(r.errors={}),g.state.next({submitCount:s.keepSubmitCount?r.submitCount:0,isDirty:!d&&(s.keepDirty?r.isDirty:s.keepValues?N():!(!s.keepDefaultValues||$d(e,o))),isSubmitted:!!s.keepIsSubmitted&&r.isSubmitted,dirtyFields:d?{}:s.keepDirtyValues?s.keepDefaultValues&&a?Cf(o,a,void 0,p):r.dirtyFields:s.keepDefaultValues&&e?Cf(o,e,void 0,p):s.keepDirty?r.dirtyFields:{},touchedFields:s.keepTouched?r.touchedFields:{},errors:s.keepErrors?r.errors:{},isSubmitSuccessful:!!s.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:o})},G=(e,r)=>X(Dd(e)?e(a):e,{...t.resetOptions,...r}),K=e=>{const{name:t,type:n,values:o,...a}=e;r={...r,...a}},Q={control:{register:W,unregister:H,getFieldState:I,handleSubmit:$,setError:L,_subscribe:M,_runSchema:E,_updateIsValidating:k,_focusError:U,_getWatch:T,_getDirty:N,_setValid:w,_setFieldArray:(e,o=[],l,s,c=!0,u=!0)=>{if(s&&l&&!t.disabled){if(i.action=!0,u&&Array.isArray(Od(n,e))){const t=l(Od(n,e),s.argA,s.argB);c&&Ad(n,e,t)}if(u&&Array.isArray(Od(r.errors,e))){const t=l(Od(r.errors,e),s.argA,s.argB);c&&Ad(r.errors,e,t),((e,t)=>{!mf(Od(e,t)).length&&gf(e,t)})(r.errors,e)}if((h.touchedFields||m.touchedFields)&&u&&Array.isArray(Od(r.touchedFields,e))){const t=l(Od(r.touchedFields,e),s.argA,s.argB);c&&Ad(r.touchedFields,e,t)}(h.dirtyFields||m.dirtyFields)&&x(),g.state.next({name:e,isDirty:N(e,o),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else Ad(a,e,o)},_setDisabledField:V,_setErrors:e=>{r.errors=e,g.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>mf(Od(i.mount?a:o,e,t.shouldUnregister?Od(o,e,[]):[])),_reset:X,_resetDefaultValues:()=>Dd(t.defaultValues)&&t.defaultValues().then(e=>{G(e,t.resetOptions),g.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(const e of l.unMount){const t=Od(n,e);t&&(t._f.refs?t._f.refs.every(e=>!kf(e)):!kf(t._f.ref))&&H(e)}l.unMount=new Set},_disableForm:e=>{jd(e)&&(g.state.next({disabled:e}),Yd(n,(t,r)=>{const o=Od(n,r);o&&(t.disabled=o._f.disabled||e,Array.isArray(o._f.refs)&&o._f.refs.forEach(t=>{t.disabled=o._f.disabled||e}))},0,!1))},_subjects:g,_proxyFormState:h,get _fields(){return n},get _formValues(){return a},get _state(){return i},set _state(e){i=e},get _defaultValues(){return o},get _names(){return l},set _names(e){l=e},get _formState(){return r},get _options(){return t},set _options(e){t={...t,...e},d=Qd(t.mode),f=Qd(t.reValidateMode)}},subscribe:e=>(i.mount=!0,m={...m,...e.formState},M({...e,formState:{...p,...e.formState}})),trigger:A,register:W,handleSubmit:$,watch:(e,t)=>{if(Dd(e)){u++;const{unsubscribe:r}=g.state.subscribe({next:r=>"values"in r&&e(r.values||T(void 0,t),r)});let n=!1;return{unsubscribe:()=>{n||(n=!0,u--,r())}}}return T(e,t,!0)},setValue:O,setValues:(e,t={})=>{const n=Dd(e)?e(a):e;if(!$d(a,n)){a={...a,...n};const e=vf(n);for(const r of l.mount)r in e&&P(r,e[r],t,!0,!0);g.state.next({...r,name:void 0,type:void 0,...u?{values:a}:{}}),t.shouldValidate&&w()}},getValues:(e,t)=>{let n={...i.mount?a:o};return t&&(n=yf(t.dirtyFields?r.dirtyFields:r.touchedFields,n)),Fd(e)?n:Hd(e)?Od(n,e):e.map(e=>Od(n,e))},reset:G,resetField:(e,t={})=>{Od(n,e)&&(Fd(t.defaultValue)?O(e,sd(Od(o,e))):(O(e,t.defaultValue),Ad(o,e,sd(t.defaultValue))),t.keepTouched||gf(r.touchedFields,e),t.keepDirty||(gf(r.dirtyFields,e),r.isDirty=t.defaultValue?N(e,sd(Od(o,e))):N()),t.keepError||(gf(r.errors,e),h.isValid&&w()),g.state.next({...r}))},resetDefaultValues:(e,t={})=>{if(o=sd(e),!t.keepDirty){const e=Cf(o,a,void 0,n);r.dirtyFields=e,r.isDirty=!ef(e)}t.keepIsValid||w(),g.state.next({...r,defaultValues:o})},clearErrors:q,unregister:H,setError:L,setFocus:(e,t={})=>{const r=Od(n,e),o=r&&r._f;if(o){const e=o.refs?o.refs[0]:o.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&Dd(e.select)&&e.select()})}},getFieldState:I};return{...Q,formControl:Q}}var If,qf;e.FormModel=void 0,(If=e.FormModel||(e.FormModel={})).FirstName="firstName",If.LastName="lastName",If.Email="email",If.JobRole="jobRole",If.CustomerPartnerName="customerPartnerName",If.CustomerPartnerMail="customerPartnerMail",If.IsSharedMail="isSharedMail",If.IsConsented="isConsented",If.ConsentedDate="consentedDate",If.CompanyName="companyName",If.CompanySize="orgSizingId",If.Country="countryCode",If.PreferredLanguage="preferredLanguage",If.HearAbout="knownProductFrom",If.Partner="partner",If.PerfromedByPartner="perfromedByPartner",If.UserObjectId="userObjectId",If.OrgIndustryId="orgIndustryId",e.FormType=void 0,(qf=e.FormType||(e.FormType={})).Text="text",qf.AsyncText="asyncText",qf.Dropdown="dropdown",qf.ComboBox="combobox",qf.CheckBox="checkbox";const Lf={theme:{backgroundColor:"#FCFCFF",fonts:{family:"Proxima Nova, sans-serif",sizes:{heading:36,subheading:18,body:16}}}};var Mf={exports:{}};
21
21
  /**
22
22
  * @license
23
23
  * Lodash <https://lodash.com/>
@@ -25,5 +25,86 @@ var SSASFormWebComponent=function(e){"use strict";var t="undefined"!=typeof glob
25
25
  * Released under MIT license <https://lodash.com/license>
26
26
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
27
27
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
28
- */!function(e,n){(function(){var r,o="Expected a function",i="__lodash_hash_undefined__",a="__lodash_placeholder__",l=16,s=32,u=64,c=128,d=256,f=1/0,p=9007199254740991,h=NaN,m=4294967295,g=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",s],["partialRight",u],["rearg",d]],v="[object Arguments]",y="[object Array]",b="[object Boolean]",_="[object Date]",C="[object Error]",w="[object Function]",S="[object GeneratorFunction]",x="[object Map]",k="[object Number]",E="[object Object]",F="[object Promise]",I="[object RegExp]",T="[object Set]",P="[object String]",R="[object Symbol]",D="[object WeakMap]",M="[object ArrayBuffer]",O="[object DataView]",A="[object Float32Array]",L="[object Float64Array]",N="[object Int8Array]",B="[object Int16Array]",z="[object Int32Array]",H="[object Uint8Array]",V="[object Uint8ClampedArray]",W="[object Uint16Array]",U="[object Uint32Array]",j=/\b__p \+= '';/g,K=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,$=/[&<>"']/g,Q=RegExp(G.source),Z=RegExp($.source),Y=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,X=/<%=([\s\S]+?)%>/g,ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,te=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,re=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(re.source),ie=/^\s+/,ae=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,ce=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,he=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,ye=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ce=/($^)/,we=/['\n\r\u2028\u2029\\]/g,Se="\\ud800-\\udfff",xe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ke="\\u2700-\\u27bf",Ee="a-z\\xdf-\\xf6\\xf8-\\xff",Fe="A-Z\\xc0-\\xd6\\xd8-\\xde",Ie="\\ufe0e\\ufe0f",Te="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pe="['’]",Re="["+Se+"]",De="["+Te+"]",Me="["+xe+"]",Oe="\\d+",Ae="["+ke+"]",Le="["+Ee+"]",Ne="[^"+Se+Te+Oe+ke+Ee+Fe+"]",Be="\\ud83c[\\udffb-\\udfff]",ze="[^"+Se+"]",He="(?:\\ud83c[\\udde6-\\uddff]){2}",Ve="[\\ud800-\\udbff][\\udc00-\\udfff]",We="["+Fe+"]",Ue="\\u200d",je="(?:"+Le+"|"+Ne+")",Ke="(?:"+We+"|"+Ne+")",qe="(?:['’](?:d|ll|m|re|s|t|ve))?",Ge="(?:['’](?:D|LL|M|RE|S|T|VE))?",$e="(?:"+Me+"|"+Be+")"+"?",Qe="["+Ie+"]?",Ze=Qe+$e+("(?:"+Ue+"(?:"+[ze,He,Ve].join("|")+")"+Qe+$e+")*"),Ye="(?:"+[Ae,He,Ve].join("|")+")"+Ze,Je="(?:"+[ze+Me+"?",Me,He,Ve,Re].join("|")+")",Xe=RegExp(Pe,"g"),et=RegExp(Me,"g"),tt=RegExp(Be+"(?="+Be+")|"+Je+Ze,"g"),nt=RegExp([We+"?"+Le+"+"+qe+"(?="+[De,We,"$"].join("|")+")",Ke+"+"+Ge+"(?="+[De,We+je,"$"].join("|")+")",We+"?"+je+"+"+qe,We+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Oe,Ye].join("|"),"g"),rt=RegExp("["+Ue+Se+xe+Ie+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,it=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],at=-1,lt={};lt[A]=lt[L]=lt[N]=lt[B]=lt[z]=lt[H]=lt[V]=lt[W]=lt[U]=!0,lt[v]=lt[y]=lt[M]=lt[b]=lt[O]=lt[_]=lt[C]=lt[w]=lt[x]=lt[k]=lt[E]=lt[I]=lt[T]=lt[P]=lt[D]=!1;var st={};st[v]=st[y]=st[M]=st[O]=st[b]=st[_]=st[A]=st[L]=st[N]=st[B]=st[z]=st[x]=st[k]=st[E]=st[I]=st[T]=st[P]=st[R]=st[H]=st[V]=st[W]=st[U]=!0,st[C]=st[w]=st[D]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ct=parseFloat,dt=parseInt,ft="object"==typeof t&&t&&t.Object===Object&&t,pt="object"==typeof self&&self&&self.Object===Object&&self,ht=ft||pt||Function("return this")(),mt=n&&!n.nodeType&&n,gt=mt&&e&&!e.nodeType&&e,vt=gt&&gt.exports===mt,yt=vt&&ft.process,bt=function(){try{var e=gt&&gt.require&&gt.require("util").types;return e||yt&&yt.binding&&yt.binding("util")}catch(e){}}(),_t=bt&&bt.isArrayBuffer,Ct=bt&&bt.isDate,wt=bt&&bt.isMap,St=bt&&bt.isRegExp,xt=bt&&bt.isSet,kt=bt&&bt.isTypedArray;function Et(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ft(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function It(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Tt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Pt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Rt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Dt(e,t){return!!(null==e?0:e.length)&&Wt(e,t,0)>-1}function Mt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Ot(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function At(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Lt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Nt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Bt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var zt=qt("length");function Ht(e,t,n){var r;return n(e,function(e,n,o){if(t(e,n,o))return r=n,!1}),r}function Vt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Wt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Vt(e,jt,n)}function Ut(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function jt(e){return e!=e}function Kt(e,t){var n=null==e?0:e.length;return n?Qt(e,t)/n:h}function qt(e){return function(t){return null==t?r:t[e]}}function Gt(e){return function(t){return null==e?r:e[t]}}function $t(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}function Qt(e,t){for(var n,o=-1,i=e.length;++o<i;){var a=t(e[o]);a!==r&&(n=n===r?a:n+a)}return n}function Zt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Yt(e){return e?e.slice(0,mn(e)+1).replace(ie,""):e}function Jt(e){return function(t){return e(t)}}function Xt(e,t){return Ot(t,function(t){return e[t]})}function en(e,t){return e.has(t)}function tn(e,t){for(var n=-1,r=e.length;++n<r&&Wt(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length;n--&&Wt(t,e[n],0)>-1;);return n}var rn=Gt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),on=Gt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function an(e){return"\\"+ut[e]}function ln(e){return rt.test(e)}function sn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function un(e,t){return function(n){return e(t(n))}}function cn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var l=e[n];l!==t&&l!==a||(e[n]=a,i[o++]=n)}return i}function dn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function fn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function pn(e){return ln(e)?function(e){var t=tt.lastIndex=0;for(;tt.test(e);)++t;return t}(e):zt(e)}function hn(e){return ln(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.split("")}(e)}function mn(e){for(var t=e.length;t--&&ae.test(e.charAt(t)););return t}var gn=Gt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var vn=function e(t){var n,ae=(t=null==t?ht:vn.defaults(ht.Object(),t,vn.pick(ht,it))).Array,Se=t.Date,xe=t.Error,ke=t.Function,Ee=t.Math,Fe=t.Object,Ie=t.RegExp,Te=t.String,Pe=t.TypeError,Re=ae.prototype,De=ke.prototype,Me=Fe.prototype,Oe=t["__core-js_shared__"],Ae=De.toString,Le=Me.hasOwnProperty,Ne=0,Be=(n=/[^.]+$/.exec(Oe&&Oe.keys&&Oe.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",ze=Me.toString,He=Ae.call(Fe),Ve=ht._,We=Ie("^"+Ae.call(Le).replace(re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue=vt?t.Buffer:r,je=t.Symbol,Ke=t.Uint8Array,qe=Ue?Ue.allocUnsafe:r,Ge=un(Fe.getPrototypeOf,Fe),$e=Fe.create,Qe=Me.propertyIsEnumerable,Ze=Re.splice,Ye=je?je.isConcatSpreadable:r,Je=je?je.iterator:r,tt=je?je.toStringTag:r,rt=function(){try{var e=pi(Fe,"defineProperty");return e({},"",{}),e}catch(e){}}(),ut=t.clearTimeout!==ht.clearTimeout&&t.clearTimeout,ft=Se&&Se.now!==ht.Date.now&&Se.now,pt=t.setTimeout!==ht.setTimeout&&t.setTimeout,mt=Ee.ceil,gt=Ee.floor,yt=Fe.getOwnPropertySymbols,bt=Ue?Ue.isBuffer:r,zt=t.isFinite,Gt=Re.join,yn=un(Fe.keys,Fe),bn=Ee.max,_n=Ee.min,Cn=Se.now,wn=t.parseInt,Sn=Ee.random,xn=Re.reverse,kn=pi(t,"DataView"),En=pi(t,"Map"),Fn=pi(t,"Promise"),In=pi(t,"Set"),Tn=pi(t,"WeakMap"),Pn=pi(Fe,"create"),Rn=Tn&&new Tn,Dn={},Mn=zi(kn),On=zi(En),An=zi(Fn),Ln=zi(In),Nn=zi(Tn),Bn=je?je.prototype:r,zn=Bn?Bn.valueOf:r,Hn=Bn?Bn.toString:r;function Vn(e){if(nl(e)&&!Ka(e)&&!(e instanceof Kn)){if(e instanceof jn)return e;if(Le.call(e,"__wrapped__"))return Hi(e)}return new jn(e)}var Wn=function(){function e(){}return function(t){if(!tl(t))return{};if($e)return $e(t);e.prototype=t;var n=new e;return e.prototype=r,n}}();function Un(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function Kn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function $n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Qn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new $n;++t<n;)this.add(e[t])}function Zn(e){var t=this.__data__=new Gn(e);this.size=t.size}function Yn(e,t){var n=Ka(e),r=!n&&ja(e),o=!n&&!r&&Qa(e),i=!n&&!r&&!o&&cl(e),a=n||r||o||i,l=a?Zt(e.length,Te):[],s=l.length;for(var u in e)!t&&!Le.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||_i(u,s))||l.push(u);return l}function Jn(e){var t=e.length;return t?e[Qr(0,t-1)]:r}function Xn(e,t){return Li(Ro(e),sr(t,0,e.length))}function er(e){return Li(Ro(e))}function tr(e,t,n){(n!==r&&!Va(e[t],n)||n===r&&!(t in e))&&ar(e,t,n)}function nr(e,t,n){var o=e[t];Le.call(e,t)&&Va(o,n)&&(n!==r||t in e)||ar(e,t,n)}function rr(e,t){for(var n=e.length;n--;)if(Va(e[n][0],t))return n;return-1}function or(e,t,n,r){return pr(e,function(e,o,i){t(r,e,n(e),i)}),r}function ir(e,t){return e&&Do(t,Dl(t),e)}function ar(e,t,n){"__proto__"==t&&rt?rt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function lr(e,t){for(var n=-1,o=t.length,i=ae(o),a=null==e;++n<o;)i[n]=a?r:Fl(e,t[n]);return i}function sr(e,t,n){return e==e&&(n!==r&&(e=e<=n?e:n),t!==r&&(e=e>=t?e:t)),e}function ur(e,t,n,o,i,a){var l,s=1&t,u=2&t,c=4&t;if(n&&(l=i?n(e,o,i,a):n(e)),l!==r)return l;if(!tl(e))return e;var d=Ka(e);if(d){if(l=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return Ro(e,l)}else{var f=gi(e),p=f==w||f==S;if(Qa(e))return ko(e,s);if(f==E||f==v||p&&!i){if(l=u||p?{}:yi(e),!s)return u?function(e,t){return Do(e,mi(e),t)}(e,function(e,t){return e&&Do(t,Ml(t),e)}(l,e)):function(e,t){return Do(e,hi(e),t)}(e,ir(l,e))}else{if(!st[f])return i?e:{};l=function(e,t,n){var r=e.constructor;switch(t){case M:return Eo(e);case b:case _:return new r(+e);case O:return function(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case A:case L:case N:case B:case z:case H:case V:case W:case U:return Fo(e,n);case x:return new r;case k:case P:return new r(e);case I:return function(e){var t=new e.constructor(e.source,he.exec(e));return t.lastIndex=e.lastIndex,t}(e);case T:return new r;case R:return o=e,zn?Fe(zn.call(o)):{}}var o}(e,f,s)}}a||(a=new Zn);var h=a.get(e);if(h)return h;a.set(e,l),ll(e)?e.forEach(function(r){l.add(ur(r,t,n,r,e,a))}):rl(e)&&e.forEach(function(r,o){l.set(o,ur(r,t,n,o,e,a))});var m=d?r:(c?u?ai:ii:u?Ml:Dl)(e);return It(m||e,function(r,o){m&&(r=e[o=r]),nr(l,o,ur(r,t,n,o,e,a))}),l}function cr(e,t,n){var o=n.length;if(null==e)return!o;for(e=Fe(e);o--;){var i=n[o],a=t[i],l=e[i];if(l===r&&!(i in e)||!a(l))return!1}return!0}function dr(e,t,n){if("function"!=typeof e)throw new Pe(o);return Di(function(){e.apply(r,n)},t)}function fr(e,t,n,r){var o=-1,i=Dt,a=!0,l=e.length,s=[],u=t.length;if(!l)return s;n&&(t=Ot(t,Jt(n))),r?(i=Mt,a=!1):t.length>=200&&(i=en,a=!1,t=new Qn(t));e:for(;++o<l;){var c=e[o],d=null==n?c:n(c);if(c=r||0!==c?c:0,a&&d==d){for(var f=u;f--;)if(t[f]===d)continue e;s.push(c)}else i(t,d,r)||s.push(c)}return s}Vn.templateSettings={escape:Y,evaluate:J,interpolate:X,variable:"",imports:{_:Vn}},Vn.prototype=Un.prototype,Vn.prototype.constructor=Vn,jn.prototype=Wn(Un.prototype),jn.prototype.constructor=jn,Kn.prototype=Wn(Un.prototype),Kn.prototype.constructor=Kn,qn.prototype.clear=function(){this.__data__=Pn?Pn(null):{},this.size=0},qn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},qn.prototype.get=function(e){var t=this.__data__;if(Pn){var n=t[e];return n===i?r:n}return Le.call(t,e)?t[e]:r},qn.prototype.has=function(e){var t=this.__data__;return Pn?t[e]!==r:Le.call(t,e)},qn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Pn&&t===r?i:t,this},Gn.prototype.clear=function(){this.__data__=[],this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=rr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ze.call(t,n,1),--this.size,!0)},Gn.prototype.get=function(e){var t=this.__data__,n=rr(t,e);return n<0?r:t[n][1]},Gn.prototype.has=function(e){return rr(this.__data__,e)>-1},Gn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},$n.prototype.clear=function(){this.size=0,this.__data__={hash:new qn,map:new(En||Gn),string:new qn}},$n.prototype.delete=function(e){var t=di(this,e).delete(e);return this.size-=t?1:0,t},$n.prototype.get=function(e){return di(this,e).get(e)},$n.prototype.has=function(e){return di(this,e).has(e)},$n.prototype.set=function(e,t){var n=di(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Qn.prototype.add=Qn.prototype.push=function(e){return this.__data__.set(e,i),this},Qn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Zn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Zn.prototype.get=function(e){return this.__data__.get(e)},Zn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Gn){var r=n.__data__;if(!En||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new $n(r)}return n.set(e,t),this.size=n.size,this};var pr=Ao(Cr),hr=Ao(wr,!0);function mr(e,t){var n=!0;return pr(e,function(e,r,o){return n=!!t(e,r,o)}),n}function gr(e,t,n){for(var o=-1,i=e.length;++o<i;){var a=e[o],l=t(a);if(null!=l&&(s===r?l==l&&!ul(l):n(l,s)))var s=l,u=a}return u}function vr(e,t){var n=[];return pr(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}function yr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=bi),o||(o=[]);++i<a;){var l=e[i];t>0&&n(l)?t>1?yr(l,t-1,n,r,o):At(o,l):r||(o[o.length]=l)}return o}var br=Lo(),_r=Lo(!0);function Cr(e,t){return e&&br(e,t,Dl)}function wr(e,t){return e&&_r(e,t,Dl)}function Sr(e,t){return Rt(t,function(t){return Ja(e[t])})}function xr(e,t){for(var n=0,o=(t=Co(t,e)).length;null!=e&&n<o;)e=e[Bi(t[n++])];return n&&n==o?e:r}function kr(e,t,n){var r=t(e);return Ka(e)?r:At(r,n(e))}function Er(e){return null==e?e===r?"[object Undefined]":"[object Null]":tt&&tt in Fe(e)?function(e){var t=Le.call(e,tt),n=e[tt];try{e[tt]=r;var o=!0}catch(e){}var i=ze.call(e);o&&(t?e[tt]=n:delete e[tt]);return i}(e):function(e){return ze.call(e)}(e)}function Fr(e,t){return e>t}function Ir(e,t){return null!=e&&Le.call(e,t)}function Tr(e,t){return null!=e&&t in Fe(e)}function Pr(e,t,n){for(var o=n?Mt:Dt,i=e[0].length,a=e.length,l=a,s=ae(a),u=1/0,c=[];l--;){var d=e[l];l&&t&&(d=Ot(d,Jt(t))),u=_n(d.length,u),s[l]=!n&&(t||i>=120&&d.length>=120)?new Qn(l&&d):r}d=e[0];var f=-1,p=s[0];e:for(;++f<i&&c.length<u;){var h=d[f],m=t?t(h):h;if(h=n||0!==h?h:0,!(p?en(p,m):o(c,m,n))){for(l=a;--l;){var g=s[l];if(!(g?en(g,m):o(e[l],m,n)))continue e}p&&p.push(m),c.push(h)}}return c}function Rr(e,t,n){var o=null==(e=Ti(e,t=Co(t,e)))?e:e[Bi(Yi(t))];return null==o?r:Et(o,e,n)}function Dr(e){return nl(e)&&Er(e)==v}function Mr(e,t,n,o,i){return e===t||(null==e||null==t||!nl(e)&&!nl(t)?e!=e&&t!=t:function(e,t,n,o,i,a){var l=Ka(e),s=Ka(t),u=l?y:gi(e),c=s?y:gi(t),d=(u=u==v?E:u)==E,f=(c=c==v?E:c)==E,p=u==c;if(p&&Qa(e)){if(!Qa(t))return!1;l=!0,d=!1}if(p&&!d)return a||(a=new Zn),l||cl(e)?ri(e,t,n,o,i,a):function(e,t,n,r,o,i,a){switch(n){case O:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case M:return!(e.byteLength!=t.byteLength||!i(new Ke(e),new Ke(t)));case b:case _:case k:return Va(+e,+t);case C:return e.name==t.name&&e.message==t.message;case I:case P:return e==t+"";case x:var l=sn;case T:var s=1&r;if(l||(l=dn),e.size!=t.size&&!s)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var c=ri(l(e),l(t),r,o,i,a);return a.delete(e),c;case R:if(zn)return zn.call(e)==zn.call(t)}return!1}(e,t,u,n,o,i,a);if(!(1&n)){var h=d&&Le.call(e,"__wrapped__"),m=f&&Le.call(t,"__wrapped__");if(h||m){var g=h?e.value():e,w=m?t.value():t;return a||(a=new Zn),i(g,w,n,o,a)}}if(!p)return!1;return a||(a=new Zn),function(e,t,n,o,i,a){var l=1&n,s=ii(e),u=s.length,c=ii(t),d=c.length;if(u!=d&&!l)return!1;var f=u;for(;f--;){var p=s[f];if(!(l?p in t:Le.call(t,p)))return!1}var h=a.get(e),m=a.get(t);if(h&&m)return h==t&&m==e;var g=!0;a.set(e,t),a.set(t,e);var v=l;for(;++f<u;){var y=e[p=s[f]],b=t[p];if(o)var _=l?o(b,y,p,t,e,a):o(y,b,p,e,t,a);if(!(_===r?y===b||i(y,b,n,o,a):_)){g=!1;break}v||(v="constructor"==p)}if(g&&!v){var C=e.constructor,w=t.constructor;C==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof C&&C instanceof C&&"function"==typeof w&&w instanceof w||(g=!1)}return a.delete(e),a.delete(t),g}(e,t,n,o,i,a)}(e,t,n,o,Mr,i))}function Or(e,t,n,o){var i=n.length,a=i,l=!o;if(null==e)return!a;for(e=Fe(e);i--;){var s=n[i];if(l&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){var u=(s=n[i])[0],c=e[u],d=s[1];if(l&&s[2]){if(c===r&&!(u in e))return!1}else{var f=new Zn;if(o)var p=o(c,d,u,e,t,f);if(!(p===r?Mr(d,c,3,o,f):p))return!1}}return!0}function Ar(e){return!(!tl(e)||(t=e,Be&&Be in t))&&(Ja(e)?We:ve).test(zi(e));var t}function Lr(e){return"function"==typeof e?e:null==e?os:"object"==typeof e?Ka(e)?Wr(e[0],e[1]):Vr(e):ps(e)}function Nr(e){if(!ki(e))return yn(e);var t=[];for(var n in Fe(e))Le.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Br(e){if(!tl(e))return function(e){var t=[];if(null!=e)for(var n in Fe(e))t.push(n);return t}(e);var t=ki(e),n=[];for(var r in e)("constructor"!=r||!t&&Le.call(e,r))&&n.push(r);return n}function zr(e,t){return e<t}function Hr(e,t){var n=-1,r=Ga(e)?ae(e.length):[];return pr(e,function(e,o,i){r[++n]=t(e,o,i)}),r}function Vr(e){var t=fi(e);return 1==t.length&&t[0][2]?Fi(t[0][0],t[0][1]):function(n){return n===e||Or(n,e,t)}}function Wr(e,t){return wi(e)&&Ei(t)?Fi(Bi(e),t):function(n){var o=Fl(n,e);return o===r&&o===t?Il(n,e):Mr(t,o,3)}}function Ur(e,t,n,o,i){e!==t&&br(t,function(a,l){if(i||(i=new Zn),tl(a))!function(e,t,n,o,i,a,l){var s=Pi(e,n),u=Pi(t,n),c=l.get(u);if(c)return void tr(e,n,c);var d=a?a(s,u,n+"",e,t,l):r,f=d===r;if(f){var p=Ka(u),h=!p&&Qa(u),m=!p&&!h&&cl(u);d=u,p||h||m?Ka(s)?d=s:$a(s)?d=Ro(s):h?(f=!1,d=ko(u,!0)):m?(f=!1,d=Fo(u,!0)):d=[]:il(u)||ja(u)?(d=s,ja(s)?d=yl(s):tl(s)&&!Ja(s)||(d=yi(u))):f=!1}f&&(l.set(u,d),i(d,u,o,a,l),l.delete(u));tr(e,n,d)}(e,t,l,n,Ur,o,i);else{var s=o?o(Pi(e,l),a,l+"",e,t,i):r;s===r&&(s=a),tr(e,l,s)}},Ml)}function jr(e,t){var n=e.length;if(n)return _i(t+=t<0?n:0,n)?e[t]:r}function Kr(e,t,n){t=t.length?Ot(t,function(e){return Ka(e)?function(t){return xr(t,1===e.length?e[0]:e)}:e}):[os];var r=-1;t=Ot(t,Jt(ci()));var o=Hr(e,function(e,n,o){var i=Ot(t,function(t){return t(e)});return{criteria:i,index:++r,value:e}});return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,l=n.length;for(;++r<a;){var s=Io(o[r],i[r]);if(s)return r>=l?s:s*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)})}function qr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],l=xr(e,a);n(l,a)&&eo(i,Co(a,e),l)}return i}function Gr(e,t,n,r){var o=r?Ut:Wt,i=-1,a=t.length,l=e;for(e===t&&(t=Ro(t)),n&&(l=Ot(e,Jt(n)));++i<a;)for(var s=0,u=t[i],c=n?n(u):u;(s=o(l,c,s,r))>-1;)l!==e&&Ze.call(l,s,1),Ze.call(e,s,1);return e}function $r(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;_i(o)?Ze.call(e,o,1):po(e,o)}}return e}function Qr(e,t){return e+gt(Sn()*(t-e+1))}function Zr(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Yr(e,t){return Mi(Ii(e,t,os),e+"")}function Jr(e){return Jn(Vl(e))}function Xr(e,t){var n=Vl(e);return Li(n,sr(t,0,n.length))}function eo(e,t,n,o){if(!tl(e))return e;for(var i=-1,a=(t=Co(t,e)).length,l=a-1,s=e;null!=s&&++i<a;){var u=Bi(t[i]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=l){var d=s[u];(c=o?o(d,u,s):r)===r&&(c=tl(d)?d:_i(t[i+1])?[]:{})}nr(s,u,c),s=s[u]}return e}var to=Rn?function(e,t){return Rn.set(e,t),e}:os,no=rt?function(e,t){return rt(e,"toString",{configurable:!0,enumerable:!1,value:ts(t),writable:!0})}:os;function ro(e){return Li(Vl(e))}function oo(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=ae(o);++r<o;)i[r]=e[r+t];return i}function io(e,t){var n;return pr(e,function(e,r,o){return!(n=t(e,r,o))}),!!n}function ao(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!ul(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return lo(e,t,os,n)}function lo(e,t,n,o){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var l=(t=n(t))!=t,s=null===t,u=ul(t),c=t===r;i<a;){var d=gt((i+a)/2),f=n(e[d]),p=f!==r,h=null===f,m=f==f,g=ul(f);if(l)var v=o||m;else v=c?m&&(o||p):s?m&&p&&(o||!h):u?m&&p&&!h&&(o||!g):!h&&!g&&(o?f<=t:f<t);v?i=d+1:a=d}return _n(a,4294967294)}function so(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],l=t?t(a):a;if(!n||!Va(l,s)){var s=l;i[o++]=0===a?0:a}}return i}function uo(e){return"number"==typeof e?e:ul(e)?h:+e}function co(e){if("string"==typeof e)return e;if(Ka(e))return Ot(e,co)+"";if(ul(e))return Hn?Hn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function fo(e,t,n){var r=-1,o=Dt,i=e.length,a=!0,l=[],s=l;if(n)a=!1,o=Mt;else if(i>=200){var u=t?null:Yo(e);if(u)return dn(u);a=!1,o=en,s=new Qn}else s=t?[]:l;e:for(;++r<i;){var c=e[r],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d==d){for(var f=s.length;f--;)if(s[f]===d)continue e;t&&s.push(d),l.push(c)}else o(s,d,n)||(s!==l&&s.push(d),l.push(c))}return l}function po(e,t){var n=-1,r=(t=Co(t,e)).length;if(!r)return!0;for(;++n<r;){var o=Bi(t[n]);if("__proto__"===o&&!Le.call(e,"__proto__"))return!1;if(("constructor"===o||"prototype"===o)&&n<r-1)return!1}var i=Ti(e,t);return null==i||delete i[Bi(Yi(t))]}function ho(e,t,n,r){return eo(e,t,n(xr(e,t)),r)}function mo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?oo(e,r?0:i,r?i+1:o):oo(e,r?i+1:0,r?o:i)}function go(e,t){var n=e;return n instanceof Kn&&(n=n.value()),Lt(t,function(e,t){return t.func.apply(t.thisArg,At([e],t.args))},n)}function vo(e,t,n){var r=e.length;if(r<2)return r?fo(e[0]):[];for(var o=-1,i=ae(r);++o<r;)for(var a=e[o],l=-1;++l<r;)l!=o&&(i[o]=fr(i[o]||a,e[l],t,n));return fo(yr(i,1),t,n)}function yo(e,t,n){for(var o=-1,i=e.length,a=t.length,l={};++o<i;){var s=o<a?t[o]:r;n(l,e[o],s)}return l}function bo(e){return $a(e)?e:[]}function _o(e){return"function"==typeof e?e:os}function Co(e,t){return Ka(e)?e:wi(e,t)?[e]:Ni(bl(e))}var wo=Yr;function So(e,t,n){var o=e.length;return n=n===r?o:n,!t&&n>=o?e:oo(e,t,n)}var xo=ut||function(e){return ht.clearTimeout(e)};function ko(e,t){if(t)return e.slice();var n=e.length,r=qe?qe(n):new e.constructor(n);return e.copy(r),r}function Eo(e){var t=new e.constructor(e.byteLength);return new Ke(t).set(new Ke(e)),t}function Fo(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Io(e,t){if(e!==t){var n=e!==r,o=null===e,i=e==e,a=ul(e),l=t!==r,s=null===t,u=t==t,c=ul(t);if(!s&&!c&&!a&&e>t||a&&l&&u&&!s&&!c||o&&l&&u||!n&&u||!i)return 1;if(!o&&!a&&!c&&e<t||c&&n&&i&&!o&&!a||s&&n&&i||!l&&i||!u)return-1}return 0}function To(e,t,n,r){for(var o=-1,i=e.length,a=n.length,l=-1,s=t.length,u=bn(i-a,0),c=ae(s+u),d=!r;++l<s;)c[l]=t[l];for(;++o<a;)(d||o<i)&&(c[n[o]]=e[o]);for(;u--;)c[l++]=e[o++];return c}function Po(e,t,n,r){for(var o=-1,i=e.length,a=-1,l=n.length,s=-1,u=t.length,c=bn(i-l,0),d=ae(c+u),f=!r;++o<c;)d[o]=e[o];for(var p=o;++s<u;)d[p+s]=t[s];for(;++a<l;)(f||o<i)&&(d[p+n[a]]=e[o++]);return d}function Ro(e,t){var n=-1,r=e.length;for(t||(t=ae(r));++n<r;)t[n]=e[n];return t}function Do(e,t,n,o){var i=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var s=t[a],u=o?o(n[s],e[s],s,n,e):r;u===r&&(u=e[s]),i?ar(n,s,u):nr(n,s,u)}return n}function Mo(e,t){return function(n,r){var o=Ka(n)?Ft:or,i=t?t():{};return o(n,e,ci(r,2),i)}}function Oo(e){return Yr(function(t,n){var o=-1,i=n.length,a=i>1?n[i-1]:r,l=i>2?n[2]:r;for(a=e.length>3&&"function"==typeof a?(i--,a):r,l&&Ci(n[0],n[1],l)&&(a=i<3?r:a,i=1),t=Fe(t);++o<i;){var s=n[o];s&&e(t,s,o,a)}return t})}function Ao(e,t){return function(n,r){if(null==n)return n;if(!Ga(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Fe(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Lo(e){return function(t,n,r){for(var o=-1,i=Fe(t),a=r(t),l=a.length;l--;){var s=a[e?l:++o];if(!1===n(i[s],s,i))break}return t}}function No(e){return function(t){var n=ln(t=bl(t))?hn(t):r,o=n?n[0]:t.charAt(0),i=n?So(n,1).join(""):t.slice(1);return o[e]()+i}}function Bo(e){return function(t){return Lt(Jl(jl(t).replace(Xe,"")),e,"")}}function zo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Wn(e.prototype),r=e.apply(n,t);return tl(r)?r:n}}function Ho(e){return function(t,n,o){var i=Fe(t);if(!Ga(t)){var a=ci(n,3);t=Dl(t),n=function(e){return a(i[e],e,i)}}var l=e(t,n,o);return l>-1?i[a?t[l]:l]:r}}function Vo(e){return oi(function(t){var n=t.length,i=n,a=jn.prototype.thru;for(e&&t.reverse();i--;){var l=t[i];if("function"!=typeof l)throw new Pe(o);if(a&&!s&&"wrapper"==si(l))var s=new jn([],!0)}for(i=s?i:n;++i<n;){var u=si(l=t[i]),c="wrapper"==u?li(l):r;s=c&&Si(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[si(c[0])].apply(s,c[3]):1==l.length&&Si(l)?s[u]():s.thru(l)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&Ka(r))return s.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}})}function Wo(e,t,n,o,i,a,l,s,u,d){var f=t&c,p=1&t,h=2&t,m=24&t,g=512&t,v=h?r:zo(e);return function c(){for(var y=arguments.length,b=ae(y),_=y;_--;)b[_]=arguments[_];if(m)var C=ui(c),w=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,C);if(o&&(b=To(b,o,i,m)),a&&(b=Po(b,a,l,m)),y-=w,m&&y<d){var S=cn(b,C);return Qo(e,t,Wo,c.placeholder,n,b,S,s,u,d-y)}var x=p?n:this,k=h?x[e]:e;return y=b.length,s?b=function(e,t){var n=e.length,o=_n(t.length,n),i=Ro(e);for(;o--;){var a=t[o];e[o]=_i(a,n)?i[a]:r}return e}(b,s):g&&y>1&&b.reverse(),f&&u<y&&(b.length=u),this&&this!==ht&&this instanceof c&&(k=v||zo(k)),k.apply(x,b)}}function Uo(e,t){return function(n,r){return function(e,t,n,r){return Cr(e,function(e,o,i){t(r,n(e),o,i)}),r}(n,e,t(r),{})}}function jo(e,t){return function(n,o){var i;if(n===r&&o===r)return t;if(n!==r&&(i=n),o!==r){if(i===r)return o;"string"==typeof n||"string"==typeof o?(n=co(n),o=co(o)):(n=uo(n),o=uo(o)),i=e(n,o)}return i}}function Ko(e){return oi(function(t){return t=Ot(t,Jt(ci())),Yr(function(n){var r=this;return e(t,function(e){return Et(e,r,n)})})})}function qo(e,t){var n=(t=t===r?" ":co(t)).length;if(n<2)return n?Zr(t,e):t;var o=Zr(t,mt(e/pn(t)));return ln(t)?So(hn(o),0,e).join(""):o.slice(0,e)}function Go(e){return function(t,n,o){return o&&"number"!=typeof o&&Ci(t,n,o)&&(n=o=r),t=hl(t),n===r?(n=t,t=0):n=hl(n),function(e,t,n,r){for(var o=-1,i=bn(mt((t-e)/(n||1)),0),a=ae(i);i--;)a[r?i:++o]=e,e+=n;return a}(t,n,o=o===r?t<n?1:-1:hl(o),e)}}function $o(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=vl(t),n=vl(n)),e(t,n)}}function Qo(e,t,n,o,i,a,l,c,d,f){var p=8&t;t|=p?s:u,4&(t&=~(p?u:s))||(t&=-4);var h=[e,t,i,p?a:r,p?l:r,p?r:a,p?r:l,c,d,f],m=n.apply(r,h);return Si(e)&&Ri(m,h),m.placeholder=o,Oi(m,e,t)}function Zo(e){var t=Ee[e];return function(e,n){if(e=vl(e),(n=null==n?0:_n(ml(n),292))&&zt(e)){var r=(bl(e)+"e").split("e");return+((r=(bl(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Yo=In&&1/dn(new In([,-0]))[1]==f?function(e){return new In(e)}:us;function Jo(e){return function(t){var n=gi(t);return n==x?sn(t):n==T?fn(t):function(e,t){return Ot(t,function(t){return[t,e[t]]})}(t,e(t))}}function Xo(e,t,n,i,f,p,h,m){var g=2&t;if(!g&&"function"!=typeof e)throw new Pe(o);var v=i?i.length:0;if(v||(t&=-97,i=f=r),h=h===r?h:bn(ml(h),0),m=m===r?m:ml(m),v-=f?f.length:0,t&u){var y=i,b=f;i=f=r}var _=g?r:li(e),C=[e,t,n,i,f,y,b,p,h,m];if(_&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,l=r==c&&8==n||r==c&&n==d&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!l)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var s=t[3];if(s){var u=e[3];e[3]=u?To(u,s,t[4]):s,e[4]=u?cn(e[3],a):t[4]}(s=t[5])&&(u=e[5],e[5]=u?Po(u,s,t[6]):s,e[6]=u?cn(e[5],a):t[6]);(s=t[7])&&(e[7]=s);r&c&&(e[8]=null==e[8]?t[8]:_n(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(C,_),e=C[0],t=C[1],n=C[2],i=C[3],f=C[4],!(m=C[9]=C[9]===r?g?0:e.length:bn(C[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)w=8==t||t==l?function(e,t,n){var o=zo(e);return function i(){for(var a=arguments.length,l=ae(a),s=a,u=ui(i);s--;)l[s]=arguments[s];var c=a<3&&l[0]!==u&&l[a-1]!==u?[]:cn(l,u);return(a-=c.length)<n?Qo(e,t,Wo,i.placeholder,r,l,c,r,r,n-a):Et(this&&this!==ht&&this instanceof i?o:e,this,l)}}(e,t,m):t!=s&&33!=t||f.length?Wo.apply(r,C):function(e,t,n,r){var o=1&t,i=zo(e);return function t(){for(var a=-1,l=arguments.length,s=-1,u=r.length,c=ae(u+l),d=this&&this!==ht&&this instanceof t?i:e;++s<u;)c[s]=r[s];for(;l--;)c[s++]=arguments[++a];return Et(d,o?n:this,c)}}(e,t,n,i);else var w=function(e,t,n){var r=1&t,o=zo(e);return function t(){return(this&&this!==ht&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return Oi((_?to:Ri)(w,C),e,t)}function ei(e,t,n,o){return e===r||Va(e,Me[n])&&!Le.call(o,n)?t:e}function ti(e,t,n,o,i,a){return tl(e)&&tl(t)&&(a.set(t,e),Ur(e,t,r,ti,a),a.delete(t)),e}function ni(e){return il(e)?r:e}function ri(e,t,n,o,i,a){var l=1&n,s=e.length,u=t.length;if(s!=u&&!(l&&u>s))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var f=-1,p=!0,h=2&n?new Qn:r;for(a.set(e,t),a.set(t,e);++f<s;){var m=e[f],g=t[f];if(o)var v=l?o(g,m,f,t,e,a):o(m,g,f,e,t,a);if(v!==r){if(v)continue;p=!1;break}if(h){if(!Bt(t,function(e,t){if(!en(h,t)&&(m===e||i(m,e,n,o,a)))return h.push(t)})){p=!1;break}}else if(m!==g&&!i(m,g,n,o,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function oi(e){return Mi(Ii(e,r,qi),e+"")}function ii(e){return kr(e,Dl,hi)}function ai(e){return kr(e,Ml,mi)}var li=Rn?function(e){return Rn.get(e)}:us;function si(e){for(var t=e.name+"",n=Dn[t],r=Le.call(Dn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ui(e){return(Le.call(Vn,"placeholder")?Vn:e).placeholder}function ci(){var e=Vn.iteratee||is;return e=e===is?Lr:e,arguments.length?e(arguments[0],arguments[1]):e}function di(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function fi(e){for(var t=Dl(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ei(o)]}return t}function pi(e,t){var n=function(e,t){return null==e?r:e[t]}(e,t);return Ar(n)?n:r}var hi=yt?function(e){return null==e?[]:(e=Fe(e),Rt(yt(e),function(t){return Qe.call(e,t)}))}:gs,mi=yt?function(e){for(var t=[];e;)At(t,hi(e)),e=Ge(e);return t}:gs,gi=Er;function vi(e,t,n){for(var r=-1,o=(t=Co(t,e)).length,i=!1;++r<o;){var a=Bi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&el(o)&&_i(a,o)&&(Ka(e)||ja(e))}function yi(e){return"function"!=typeof e.constructor||ki(e)?{}:Wn(Ge(e))}function bi(e){return Ka(e)||ja(e)||!!(Ye&&e&&e[Ye])}function _i(e,t){var n=typeof e;return!!(t=null==t?p:t)&&("number"==n||"symbol"!=n&&be.test(e))&&e>-1&&e%1==0&&e<t}function Ci(e,t,n){if(!tl(n))return!1;var r=typeof t;return!!("number"==r?Ga(n)&&_i(t,n.length):"string"==r&&t in n)&&Va(n[t],e)}function wi(e,t){if(Ka(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ul(e))||(te.test(e)||!ee.test(e)||null!=t&&e in Fe(t))}function Si(e){var t=si(e),n=Vn[t];if("function"!=typeof n||!(t in Kn.prototype))return!1;if(e===n)return!0;var r=li(n);return!!r&&e===r[0]}(kn&&gi(new kn(new ArrayBuffer(1)))!=O||En&&gi(new En)!=x||Fn&&gi(Fn.resolve())!=F||In&&gi(new In)!=T||Tn&&gi(new Tn)!=D)&&(gi=function(e){var t=Er(e),n=t==E?e.constructor:r,o=n?zi(n):"";if(o)switch(o){case Mn:return O;case On:return x;case An:return F;case Ln:return T;case Nn:return D}return t});var xi=Oe?Ja:vs;function ki(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Me)}function Ei(e){return e==e&&!tl(e)}function Fi(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==r||e in Fe(n)))}}function Ii(e,t,n){return t=bn(t===r?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=bn(r.length-t,0),a=ae(i);++o<i;)a[o]=r[t+o];o=-1;for(var l=ae(t+1);++o<t;)l[o]=r[o];return l[t]=n(a),Et(e,this,l)}}function Ti(e,t){return t.length<2?e:xr(e,oo(t,0,-1))}function Pi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ri=Ai(to),Di=pt||function(e,t){return ht.setTimeout(e,t)},Mi=Ai(no);function Oi(e,t,n){var r=t+"";return Mi(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return It(g,function(n){var r="_."+n[0];t&n[1]&&!Dt(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(se);return t?t[1].split(ue):[]}(r),n)))}function Ai(e){var t=0,n=0;return function(){var o=Cn(),i=16-(o-n);if(n=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Li(e,t){var n=-1,o=e.length,i=o-1;for(t=t===r?o:t;++n<t;){var a=Qr(n,i),l=e[a];e[a]=e[n],e[n]=l}return e.length=t,e}var Ni=function(e){var t=Aa(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ne,function(e,n,r,o){t.push(r?o.replace(fe,"$1"):n||e)}),t});function Bi(e){if("string"==typeof e||ul(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function zi(e){if(null!=e){try{return Ae.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Hi(e){if(e instanceof Kn)return e.clone();var t=new jn(e.__wrapped__,e.__chain__);return t.__actions__=Ro(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Vi=Yr(function(e,t){return $a(e)?fr(e,yr(t,1,$a,!0)):[]}),Wi=Yr(function(e,t){var n=Yi(t);return $a(n)&&(n=r),$a(e)?fr(e,yr(t,1,$a,!0),ci(n,2)):[]}),Ui=Yr(function(e,t){var n=Yi(t);return $a(n)&&(n=r),$a(e)?fr(e,yr(t,1,$a,!0),r,n):[]});function ji(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ml(n);return o<0&&(o=bn(r+o,0)),Vt(e,ci(t,3),o)}function Ki(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var i=o-1;return n!==r&&(i=ml(n),i=n<0?bn(o+i,0):_n(i,o-1)),Vt(e,ci(t,3),i,!0)}function qi(e){return(null==e?0:e.length)?yr(e,1):[]}function Gi(e){return e&&e.length?e[0]:r}var $i=Yr(function(e){var t=Ot(e,bo);return t.length&&t[0]===e[0]?Pr(t):[]}),Qi=Yr(function(e){var t=Yi(e),n=Ot(e,bo);return t===Yi(n)?t=r:n.pop(),n.length&&n[0]===e[0]?Pr(n,ci(t,2)):[]}),Zi=Yr(function(e){var t=Yi(e),n=Ot(e,bo);return(t="function"==typeof t?t:r)&&n.pop(),n.length&&n[0]===e[0]?Pr(n,r,t):[]});function Yi(e){var t=null==e?0:e.length;return t?e[t-1]:r}var Ji=Yr(Xi);function Xi(e,t){return e&&e.length&&t&&t.length?Gr(e,t):e}var ea=oi(function(e,t){var n=null==e?0:e.length,r=lr(e,t);return $r(e,Ot(t,function(e){return _i(e,n)?+e:e}).sort(Io)),r});function ta(e){return null==e?e:xn.call(e)}var na=Yr(function(e){return fo(yr(e,1,$a,!0))}),ra=Yr(function(e){var t=Yi(e);return $a(t)&&(t=r),fo(yr(e,1,$a,!0),ci(t,2))}),oa=Yr(function(e){var t=Yi(e);return t="function"==typeof t?t:r,fo(yr(e,1,$a,!0),r,t)});function ia(e){if(!e||!e.length)return[];var t=0;return e=Rt(e,function(e){if($a(e))return t=bn(e.length,t),!0}),Zt(t,function(t){return Ot(e,qt(t))})}function aa(e,t){if(!e||!e.length)return[];var n=ia(e);return null==t?n:Ot(n,function(e){return Et(t,r,e)})}var la=Yr(function(e,t){return $a(e)?fr(e,t):[]}),sa=Yr(function(e){return vo(Rt(e,$a))}),ua=Yr(function(e){var t=Yi(e);return $a(t)&&(t=r),vo(Rt(e,$a),ci(t,2))}),ca=Yr(function(e){var t=Yi(e);return t="function"==typeof t?t:r,vo(Rt(e,$a),r,t)}),da=Yr(ia);var fa=Yr(function(e){var t=e.length,n=t>1?e[t-1]:r;return n="function"==typeof n?(e.pop(),n):r,aa(e,n)});function pa(e){var t=Vn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var ma=oi(function(e){var t=e.length,n=t?e[0]:0,o=this.__wrapped__,i=function(t){return lr(t,e)};return!(t>1||this.__actions__.length)&&o instanceof Kn&&_i(n)?((o=o.slice(n,+n+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:r}),new jn(o,this.__chain__).thru(function(e){return t&&!e.length&&e.push(r),e})):this.thru(i)});var ga=Mo(function(e,t,n){Le.call(e,n)?++e[n]:ar(e,n,1)});var va=Ho(ji),ya=Ho(Ki);function ba(e,t){return(Ka(e)?It:pr)(e,ci(t,3))}function _a(e,t){return(Ka(e)?Tt:hr)(e,ci(t,3))}var Ca=Mo(function(e,t,n){Le.call(e,n)?e[n].push(t):ar(e,n,[t])});var wa=Yr(function(e,t,n){var r=-1,o="function"==typeof t,i=Ga(e)?ae(e.length):[];return pr(e,function(e){i[++r]=o?Et(t,e,n):Rr(e,t,n)}),i}),Sa=Mo(function(e,t,n){ar(e,n,t)});function xa(e,t){return(Ka(e)?Ot:Hr)(e,ci(t,3))}var ka=Mo(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var Ea=Yr(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ci(e,t[0],t[1])?t=[]:n>2&&Ci(t[0],t[1],t[2])&&(t=[t[0]]),Kr(e,yr(t,1),[])}),Fa=ft||function(){return ht.Date.now()};function Ia(e,t,n){return t=n?r:t,t=e&&null==t?e.length:t,Xo(e,c,r,r,r,r,t)}function Ta(e,t){var n;if("function"!=typeof t)throw new Pe(o);return e=ml(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var Pa=Yr(function(e,t,n){var r=1;if(n.length){var o=cn(n,ui(Pa));r|=s}return Xo(e,r,t,n,o)}),Ra=Yr(function(e,t,n){var r=3;if(n.length){var o=cn(n,ui(Ra));r|=s}return Xo(t,r,e,n,o)});function Da(e,t,n){var i,a,l,s,u,c,d=0,f=!1,p=!1,h=!0;if("function"!=typeof e)throw new Pe(o);function m(t){var n=i,o=a;return i=a=r,d=t,s=e.apply(o,n)}function g(e){var n=e-c;return c===r||n>=t||n<0||p&&e-d>=l}function v(){var e=Fa();if(g(e))return y(e);u=Di(v,function(e){var n=t-(e-c);return p?_n(n,l-(e-d)):n}(e))}function y(e){return u=r,h&&i?m(e):(i=a=r,s)}function b(){var e=Fa(),n=g(e);if(i=arguments,a=this,c=e,n){if(u===r)return function(e){return d=e,u=Di(v,t),f?m(e):s}(c);if(p)return xo(u),u=Di(v,t),m(c)}return u===r&&(u=Di(v,t)),s}return t=vl(t)||0,tl(n)&&(f=!!n.leading,l=(p="maxWait"in n)?bn(vl(n.maxWait)||0,t):l,h="trailing"in n?!!n.trailing:h),b.cancel=function(){u!==r&&xo(u),d=0,i=c=a=u=r},b.flush=function(){return u===r?s:y(Fa())},b}var Ma=Yr(function(e,t){return dr(e,1,t)}),Oa=Yr(function(e,t,n){return dr(e,vl(t)||0,n)});function Aa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Pe(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Aa.Cache||$n),n}function La(e){if("function"!=typeof e)throw new Pe(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Aa.Cache=$n;var Na=wo(function(e,t){var n=(t=1==t.length&&Ka(t[0])?Ot(t[0],Jt(ci())):Ot(yr(t,1),Jt(ci()))).length;return Yr(function(r){for(var o=-1,i=_n(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Et(e,this,r)})}),Ba=Yr(function(e,t){var n=cn(t,ui(Ba));return Xo(e,s,r,t,n)}),za=Yr(function(e,t){var n=cn(t,ui(za));return Xo(e,u,r,t,n)}),Ha=oi(function(e,t){return Xo(e,d,r,r,r,t)});function Va(e,t){return e===t||e!=e&&t!=t}var Wa=$o(Fr),Ua=$o(function(e,t){return e>=t}),ja=Dr(function(){return arguments}())?Dr:function(e){return nl(e)&&Le.call(e,"callee")&&!Qe.call(e,"callee")},Ka=ae.isArray,qa=_t?Jt(_t):function(e){return nl(e)&&Er(e)==M};function Ga(e){return null!=e&&el(e.length)&&!Ja(e)}function $a(e){return nl(e)&&Ga(e)}var Qa=bt||vs,Za=Ct?Jt(Ct):function(e){return nl(e)&&Er(e)==_};function Ya(e){if(!nl(e))return!1;var t=Er(e);return t==C||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!il(e)}function Ja(e){if(!tl(e))return!1;var t=Er(e);return t==w||t==S||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xa(e){return"number"==typeof e&&e==ml(e)}function el(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function tl(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function nl(e){return null!=e&&"object"==typeof e}var rl=wt?Jt(wt):function(e){return nl(e)&&gi(e)==x};function ol(e){return"number"==typeof e||nl(e)&&Er(e)==k}function il(e){if(!nl(e)||Er(e)!=E)return!1;var t=Ge(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ae.call(n)==He}var al=St?Jt(St):function(e){return nl(e)&&Er(e)==I};var ll=xt?Jt(xt):function(e){return nl(e)&&gi(e)==T};function sl(e){return"string"==typeof e||!Ka(e)&&nl(e)&&Er(e)==P}function ul(e){return"symbol"==typeof e||nl(e)&&Er(e)==R}var cl=kt?Jt(kt):function(e){return nl(e)&&el(e.length)&&!!lt[Er(e)]};var dl=$o(zr),fl=$o(function(e,t){return e<=t});function pl(e){if(!e)return[];if(Ga(e))return sl(e)?hn(e):Ro(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=gi(e);return(t==x?sn:t==T?dn:Vl)(e)}function hl(e){return e?(e=vl(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ml(e){var t=hl(e),n=t%1;return t==t?n?t-n:t:0}function gl(e){return e?sr(ml(e),0,m):0}function vl(e){if("number"==typeof e)return e;if(ul(e))return h;if(tl(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=tl(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Yt(e);var n=ge.test(e);return n||ye.test(e)?dt(e.slice(2),n?2:8):me.test(e)?h:+e}function yl(e){return Do(e,Ml(e))}function bl(e){return null==e?"":co(e)}var _l=Oo(function(e,t){if(ki(t)||Ga(t))Do(t,Dl(t),e);else for(var n in t)Le.call(t,n)&&nr(e,n,t[n])}),Cl=Oo(function(e,t){Do(t,Ml(t),e)}),wl=Oo(function(e,t,n,r){Do(t,Ml(t),e,r)}),Sl=Oo(function(e,t,n,r){Do(t,Dl(t),e,r)}),xl=oi(lr);var kl=Yr(function(e,t){e=Fe(e);var n=-1,o=t.length,i=o>2?t[2]:r;for(i&&Ci(t[0],t[1],i)&&(o=1);++n<o;)for(var a=t[n],l=Ml(a),s=-1,u=l.length;++s<u;){var c=l[s],d=e[c];(d===r||Va(d,Me[c])&&!Le.call(e,c))&&(e[c]=a[c])}return e}),El=Yr(function(e){return e.push(r,ti),Et(Al,r,e)});function Fl(e,t,n){var o=null==e?r:xr(e,t);return o===r?n:o}function Il(e,t){return null!=e&&vi(e,t,Tr)}var Tl=Uo(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ze.call(t)),e[t]=n},ts(os)),Pl=Uo(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ze.call(t)),Le.call(e,t)?e[t].push(n):e[t]=[n]},ci),Rl=Yr(Rr);function Dl(e){return Ga(e)?Yn(e):Nr(e)}function Ml(e){return Ga(e)?Yn(e,!0):Br(e)}var Ol=Oo(function(e,t,n){Ur(e,t,n)}),Al=Oo(function(e,t,n,r){Ur(e,t,n,r)}),Ll=oi(function(e,t){var n={};if(null==e)return n;var r=!1;t=Ot(t,function(t){return t=Co(t,e),r||(r=t.length>1),t}),Do(e,ai(e),n),r&&(n=ur(n,7,ni));for(var o=t.length;o--;)po(n,t[o]);return n});var Nl=oi(function(e,t){return null==e?{}:function(e,t){return qr(e,t,function(t,n){return Il(e,n)})}(e,t)});function Bl(e,t){if(null==e)return{};var n=Ot(ai(e),function(e){return[e]});return t=ci(t),qr(e,n,function(e,n){return t(e,n[0])})}var zl=Jo(Dl),Hl=Jo(Ml);function Vl(e){return null==e?[]:Xt(e,Dl(e))}var Wl=Bo(function(e,t,n){return t=t.toLowerCase(),e+(n?Ul(t):t)});function Ul(e){return Yl(bl(e).toLowerCase())}function jl(e){return(e=bl(e))&&e.replace(_e,rn).replace(et,"")}var Kl=Bo(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),ql=Bo(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Gl=No("toLowerCase");var $l=Bo(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var Ql=Bo(function(e,t,n){return e+(n?" ":"")+Yl(t)});var Zl=Bo(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Yl=No("toUpperCase");function Jl(e,t,n){return e=bl(e),(t=n?r:t)===r?function(e){return ot.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(ce)||[]}(e):e.match(t)||[]}var Xl=Yr(function(e,t){try{return Et(e,r,t)}catch(e){return Ya(e)?e:new xe(e)}}),es=oi(function(e,t){return It(t,function(t){t=Bi(t),ar(e,t,Pa(e[t],e))}),e});function ts(e){return function(){return e}}var ns=Vo(),rs=Vo(!0);function os(e){return e}function is(e){return Lr("function"==typeof e?e:ur(e,1))}var as=Yr(function(e,t){return function(n){return Rr(n,e,t)}}),ls=Yr(function(e,t){return function(n){return Rr(e,n,t)}});function ss(e,t,n){var r=Dl(t),o=Sr(t,r);null!=n||tl(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=Sr(t,Dl(t)));var i=!(tl(n)&&"chain"in n&&!n.chain),a=Ja(e);return It(o,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Ro(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,At([this.value()],arguments))})}),e}function us(){}var cs=Ko(Ot),ds=Ko(Pt),fs=Ko(Bt);function ps(e){return wi(e)?qt(Bi(e)):function(e){return function(t){return xr(t,e)}}(e)}var hs=Go(),ms=Go(!0);function gs(){return[]}function vs(){return!1}var ys=jo(function(e,t){return e+t},0),bs=Zo("ceil"),_s=jo(function(e,t){return e/t},1),Cs=Zo("floor");var ws,Ss=jo(function(e,t){return e*t},1),xs=Zo("round"),ks=jo(function(e,t){return e-t},0);return Vn.after=function(e,t){if("function"!=typeof t)throw new Pe(o);return e=ml(e),function(){if(--e<1)return t.apply(this,arguments)}},Vn.ary=Ia,Vn.assign=_l,Vn.assignIn=Cl,Vn.assignInWith=wl,Vn.assignWith=Sl,Vn.at=xl,Vn.before=Ta,Vn.bind=Pa,Vn.bindAll=es,Vn.bindKey=Ra,Vn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ka(e)?e:[e]},Vn.chain=pa,Vn.chunk=function(e,t,n){t=(n?Ci(e,t,n):t===r)?1:bn(ml(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,l=ae(mt(o/t));i<o;)l[a++]=oo(e,i,i+=t);return l},Vn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Vn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ae(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return At(Ka(n)?Ro(n):[n],yr(t,1))},Vn.cond=function(e){var t=null==e?0:e.length,n=ci();return e=t?Ot(e,function(e){if("function"!=typeof e[1])throw new Pe(o);return[n(e[0]),e[1]]}):[],Yr(function(n){for(var r=-1;++r<t;){var o=e[r];if(Et(o[0],this,n))return Et(o[1],this,n)}})},Vn.conforms=function(e){return function(e){var t=Dl(e);return function(n){return cr(n,e,t)}}(ur(e,1))},Vn.constant=ts,Vn.countBy=ga,Vn.create=function(e,t){var n=Wn(e);return null==t?n:ir(n,t)},Vn.curry=function e(t,n,o){var i=Xo(t,8,r,r,r,r,r,n=o?r:n);return i.placeholder=e.placeholder,i},Vn.curryRight=function e(t,n,o){var i=Xo(t,l,r,r,r,r,r,n=o?r:n);return i.placeholder=e.placeholder,i},Vn.debounce=Da,Vn.defaults=kl,Vn.defaultsDeep=El,Vn.defer=Ma,Vn.delay=Oa,Vn.difference=Vi,Vn.differenceBy=Wi,Vn.differenceWith=Ui,Vn.drop=function(e,t,n){var o=null==e?0:e.length;return o?oo(e,(t=n||t===r?1:ml(t))<0?0:t,o):[]},Vn.dropRight=function(e,t,n){var o=null==e?0:e.length;return o?oo(e,0,(t=o-(t=n||t===r?1:ml(t)))<0?0:t):[]},Vn.dropRightWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!0,!0):[]},Vn.dropWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!0):[]},Vn.fill=function(e,t,n,o){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Ci(e,t,n)&&(n=0,o=i),function(e,t,n,o){var i=e.length;for((n=ml(n))<0&&(n=-n>i?0:i+n),(o=o===r||o>i?i:ml(o))<0&&(o+=i),o=n>o?0:gl(o);n<o;)e[n++]=t;return e}(e,t,n,o)):[]},Vn.filter=function(e,t){return(Ka(e)?Rt:vr)(e,ci(t,3))},Vn.flatMap=function(e,t){return yr(xa(e,t),1)},Vn.flatMapDeep=function(e,t){return yr(xa(e,t),f)},Vn.flatMapDepth=function(e,t,n){return n=n===r?1:ml(n),yr(xa(e,t),n)},Vn.flatten=qi,Vn.flattenDeep=function(e){return(null==e?0:e.length)?yr(e,f):[]},Vn.flattenDepth=function(e,t){return(null==e?0:e.length)?yr(e,t=t===r?1:ml(t)):[]},Vn.flip=function(e){return Xo(e,512)},Vn.flow=ns,Vn.flowRight=rs,Vn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];ar(r,o[0],o[1])}return r},Vn.functions=function(e){return null==e?[]:Sr(e,Dl(e))},Vn.functionsIn=function(e){return null==e?[]:Sr(e,Ml(e))},Vn.groupBy=Ca,Vn.initial=function(e){return(null==e?0:e.length)?oo(e,0,-1):[]},Vn.intersection=$i,Vn.intersectionBy=Qi,Vn.intersectionWith=Zi,Vn.invert=Tl,Vn.invertBy=Pl,Vn.invokeMap=wa,Vn.iteratee=is,Vn.keyBy=Sa,Vn.keys=Dl,Vn.keysIn=Ml,Vn.map=xa,Vn.mapKeys=function(e,t){var n={};return t=ci(t,3),Cr(e,function(e,r,o){ar(n,t(e,r,o),e)}),n},Vn.mapValues=function(e,t){var n={};return t=ci(t,3),Cr(e,function(e,r,o){ar(n,r,t(e,r,o))}),n},Vn.matches=function(e){return Vr(ur(e,1))},Vn.matchesProperty=function(e,t){return Wr(e,ur(t,1))},Vn.memoize=Aa,Vn.merge=Ol,Vn.mergeWith=Al,Vn.method=as,Vn.methodOf=ls,Vn.mixin=ss,Vn.negate=La,Vn.nthArg=function(e){return e=ml(e),Yr(function(t){return jr(t,e)})},Vn.omit=Ll,Vn.omitBy=function(e,t){return Bl(e,La(ci(t)))},Vn.once=function(e){return Ta(2,e)},Vn.orderBy=function(e,t,n,o){return null==e?[]:(Ka(t)||(t=null==t?[]:[t]),Ka(n=o?r:n)||(n=null==n?[]:[n]),Kr(e,t,n))},Vn.over=cs,Vn.overArgs=Na,Vn.overEvery=ds,Vn.overSome=fs,Vn.partial=Ba,Vn.partialRight=za,Vn.partition=ka,Vn.pick=Nl,Vn.pickBy=Bl,Vn.property=ps,Vn.propertyOf=function(e){return function(t){return null==e?r:xr(e,t)}},Vn.pull=Ji,Vn.pullAll=Xi,Vn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,ci(n,2)):e},Vn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,r,n):e},Vn.pullAt=ea,Vn.range=hs,Vn.rangeRight=ms,Vn.rearg=Ha,Vn.reject=function(e,t){return(Ka(e)?Rt:vr)(e,La(ci(t,3)))},Vn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=ci(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return $r(e,o),n},Vn.rest=function(e,t){if("function"!=typeof e)throw new Pe(o);return Yr(e,t=t===r?t:ml(t))},Vn.reverse=ta,Vn.sampleSize=function(e,t,n){return t=(n?Ci(e,t,n):t===r)?1:ml(t),(Ka(e)?Xn:Xr)(e,t)},Vn.set=function(e,t,n){return null==e?e:eo(e,t,n)},Vn.setWith=function(e,t,n,o){return o="function"==typeof o?o:r,null==e?e:eo(e,t,n,o)},Vn.shuffle=function(e){return(Ka(e)?er:ro)(e)},Vn.slice=function(e,t,n){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&Ci(e,t,n)?(t=0,n=o):(t=null==t?0:ml(t),n=n===r?o:ml(n)),oo(e,t,n)):[]},Vn.sortBy=Ea,Vn.sortedUniq=function(e){return e&&e.length?so(e):[]},Vn.sortedUniqBy=function(e,t){return e&&e.length?so(e,ci(t,2)):[]},Vn.split=function(e,t,n){return n&&"number"!=typeof n&&Ci(e,t,n)&&(t=n=r),(n=n===r?m:n>>>0)?(e=bl(e))&&("string"==typeof t||null!=t&&!al(t))&&!(t=co(t))&&ln(e)?So(hn(e),0,n):e.split(t,n):[]},Vn.spread=function(e,t){if("function"!=typeof e)throw new Pe(o);return t=null==t?0:bn(ml(t),0),Yr(function(n){var r=n[t],o=So(n,0,t);return r&&At(o,r),Et(e,this,o)})},Vn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Vn.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===r?1:ml(t))<0?0:t):[]},Vn.takeRight=function(e,t,n){var o=null==e?0:e.length;return o?oo(e,(t=o-(t=n||t===r?1:ml(t)))<0?0:t,o):[]},Vn.takeRightWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!1,!0):[]},Vn.takeWhile=function(e,t){return e&&e.length?mo(e,ci(t,3)):[]},Vn.tap=function(e,t){return t(e),e},Vn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Pe(o);return tl(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Da(e,t,{leading:r,maxWait:t,trailing:i})},Vn.thru=ha,Vn.toArray=pl,Vn.toPairs=zl,Vn.toPairsIn=Hl,Vn.toPath=function(e){return Ka(e)?Ot(e,Bi):ul(e)?[e]:Ro(Ni(bl(e)))},Vn.toPlainObject=yl,Vn.transform=function(e,t,n){var r=Ka(e),o=r||Qa(e)||cl(e);if(t=ci(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:tl(e)&&Ja(i)?Wn(Ge(e)):{}}return(o?It:Cr)(e,function(e,r,o){return t(n,e,r,o)}),n},Vn.unary=function(e){return Ia(e,1)},Vn.union=na,Vn.unionBy=ra,Vn.unionWith=oa,Vn.uniq=function(e){return e&&e.length?fo(e):[]},Vn.uniqBy=function(e,t){return e&&e.length?fo(e,ci(t,2)):[]},Vn.uniqWith=function(e,t){return t="function"==typeof t?t:r,e&&e.length?fo(e,r,t):[]},Vn.unset=function(e,t){return null==e||po(e,t)},Vn.unzip=ia,Vn.unzipWith=aa,Vn.update=function(e,t,n){return null==e?e:ho(e,t,_o(n))},Vn.updateWith=function(e,t,n,o){return o="function"==typeof o?o:r,null==e?e:ho(e,t,_o(n),o)},Vn.values=Vl,Vn.valuesIn=function(e){return null==e?[]:Xt(e,Ml(e))},Vn.without=la,Vn.words=Jl,Vn.wrap=function(e,t){return Ba(_o(t),e)},Vn.xor=sa,Vn.xorBy=ua,Vn.xorWith=ca,Vn.zip=da,Vn.zipObject=function(e,t){return yo(e||[],t||[],nr)},Vn.zipObjectDeep=function(e,t){return yo(e||[],t||[],eo)},Vn.zipWith=fa,Vn.entries=zl,Vn.entriesIn=Hl,Vn.extend=Cl,Vn.extendWith=wl,ss(Vn,Vn),Vn.add=ys,Vn.attempt=Xl,Vn.camelCase=Wl,Vn.capitalize=Ul,Vn.ceil=bs,Vn.clamp=function(e,t,n){return n===r&&(n=t,t=r),n!==r&&(n=(n=vl(n))==n?n:0),t!==r&&(t=(t=vl(t))==t?t:0),sr(vl(e),t,n)},Vn.clone=function(e){return ur(e,4)},Vn.cloneDeep=function(e){return ur(e,5)},Vn.cloneDeepWith=function(e,t){return ur(e,5,t="function"==typeof t?t:r)},Vn.cloneWith=function(e,t){return ur(e,4,t="function"==typeof t?t:r)},Vn.conformsTo=function(e,t){return null==t||cr(e,t,Dl(t))},Vn.deburr=jl,Vn.defaultTo=function(e,t){return null==e||e!=e?t:e},Vn.divide=_s,Vn.endsWith=function(e,t,n){e=bl(e),t=co(t);var o=e.length,i=n=n===r?o:sr(ml(n),0,o);return(n-=t.length)>=0&&e.slice(n,i)==t},Vn.eq=Va,Vn.escape=function(e){return(e=bl(e))&&Z.test(e)?e.replace($,on):e},Vn.escapeRegExp=function(e){return(e=bl(e))&&oe.test(e)?e.replace(re,"\\$&"):e},Vn.every=function(e,t,n){var o=Ka(e)?Pt:mr;return n&&Ci(e,t,n)&&(t=r),o(e,ci(t,3))},Vn.find=va,Vn.findIndex=ji,Vn.findKey=function(e,t){return Ht(e,ci(t,3),Cr)},Vn.findLast=ya,Vn.findLastIndex=Ki,Vn.findLastKey=function(e,t){return Ht(e,ci(t,3),wr)},Vn.floor=Cs,Vn.forEach=ba,Vn.forEachRight=_a,Vn.forIn=function(e,t){return null==e?e:br(e,ci(t,3),Ml)},Vn.forInRight=function(e,t){return null==e?e:_r(e,ci(t,3),Ml)},Vn.forOwn=function(e,t){return e&&Cr(e,ci(t,3))},Vn.forOwnRight=function(e,t){return e&&wr(e,ci(t,3))},Vn.get=Fl,Vn.gt=Wa,Vn.gte=Ua,Vn.has=function(e,t){return null!=e&&vi(e,t,Ir)},Vn.hasIn=Il,Vn.head=Gi,Vn.identity=os,Vn.includes=function(e,t,n,r){e=Ga(e)?e:Vl(e),n=n&&!r?ml(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),sl(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Wt(e,t,n)>-1},Vn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ml(n);return o<0&&(o=bn(r+o,0)),Wt(e,t,o)},Vn.inRange=function(e,t,n){return t=hl(t),n===r?(n=t,t=0):n=hl(n),function(e,t,n){return e>=_n(t,n)&&e<bn(t,n)}(e=vl(e),t,n)},Vn.invoke=Rl,Vn.isArguments=ja,Vn.isArray=Ka,Vn.isArrayBuffer=qa,Vn.isArrayLike=Ga,Vn.isArrayLikeObject=$a,Vn.isBoolean=function(e){return!0===e||!1===e||nl(e)&&Er(e)==b},Vn.isBuffer=Qa,Vn.isDate=Za,Vn.isElement=function(e){return nl(e)&&1===e.nodeType&&!il(e)},Vn.isEmpty=function(e){if(null==e)return!0;if(Ga(e)&&(Ka(e)||"string"==typeof e||"function"==typeof e.splice||Qa(e)||cl(e)||ja(e)))return!e.length;var t=gi(e);if(t==x||t==T)return!e.size;if(ki(e))return!Nr(e).length;for(var n in e)if(Le.call(e,n))return!1;return!0},Vn.isEqual=function(e,t){return Mr(e,t)},Vn.isEqualWith=function(e,t,n){var o=(n="function"==typeof n?n:r)?n(e,t):r;return o===r?Mr(e,t,r,n):!!o},Vn.isError=Ya,Vn.isFinite=function(e){return"number"==typeof e&&zt(e)},Vn.isFunction=Ja,Vn.isInteger=Xa,Vn.isLength=el,Vn.isMap=rl,Vn.isMatch=function(e,t){return e===t||Or(e,t,fi(t))},Vn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:r,Or(e,t,fi(t),n)},Vn.isNaN=function(e){return ol(e)&&e!=+e},Vn.isNative=function(e){if(xi(e))throw new xe("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ar(e)},Vn.isNil=function(e){return null==e},Vn.isNull=function(e){return null===e},Vn.isNumber=ol,Vn.isObject=tl,Vn.isObjectLike=nl,Vn.isPlainObject=il,Vn.isRegExp=al,Vn.isSafeInteger=function(e){return Xa(e)&&e>=-9007199254740991&&e<=p},Vn.isSet=ll,Vn.isString=sl,Vn.isSymbol=ul,Vn.isTypedArray=cl,Vn.isUndefined=function(e){return e===r},Vn.isWeakMap=function(e){return nl(e)&&gi(e)==D},Vn.isWeakSet=function(e){return nl(e)&&"[object WeakSet]"==Er(e)},Vn.join=function(e,t){return null==e?"":Gt.call(e,t)},Vn.kebabCase=Kl,Vn.last=Yi,Vn.lastIndexOf=function(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var i=o;return n!==r&&(i=(i=ml(n))<0?bn(o+i,0):_n(i,o-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Vt(e,jt,i,!0)},Vn.lowerCase=ql,Vn.lowerFirst=Gl,Vn.lt=dl,Vn.lte=fl,Vn.max=function(e){return e&&e.length?gr(e,os,Fr):r},Vn.maxBy=function(e,t){return e&&e.length?gr(e,ci(t,2),Fr):r},Vn.mean=function(e){return Kt(e,os)},Vn.meanBy=function(e,t){return Kt(e,ci(t,2))},Vn.min=function(e){return e&&e.length?gr(e,os,zr):r},Vn.minBy=function(e,t){return e&&e.length?gr(e,ci(t,2),zr):r},Vn.stubArray=gs,Vn.stubFalse=vs,Vn.stubObject=function(){return{}},Vn.stubString=function(){return""},Vn.stubTrue=function(){return!0},Vn.multiply=Ss,Vn.nth=function(e,t){return e&&e.length?jr(e,ml(t)):r},Vn.noConflict=function(){return ht._===this&&(ht._=Ve),this},Vn.noop=us,Vn.now=Fa,Vn.pad=function(e,t,n){e=bl(e);var r=(t=ml(t))?pn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return qo(gt(o),n)+e+qo(mt(o),n)},Vn.padEnd=function(e,t,n){e=bl(e);var r=(t=ml(t))?pn(e):0;return t&&r<t?e+qo(t-r,n):e},Vn.padStart=function(e,t,n){e=bl(e);var r=(t=ml(t))?pn(e):0;return t&&r<t?qo(t-r,n)+e:e},Vn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),wn(bl(e).replace(ie,""),t||0)},Vn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Ci(e,t,n)&&(t=n=r),n===r&&("boolean"==typeof t?(n=t,t=r):"boolean"==typeof e&&(n=e,e=r)),e===r&&t===r?(e=0,t=1):(e=hl(e),t===r?(t=e,e=0):t=hl(t)),e>t){var o=e;e=t,t=o}if(n||e%1||t%1){var i=Sn();return _n(e+i*(t-e+ct("1e-"+((i+"").length-1))),t)}return Qr(e,t)},Vn.reduce=function(e,t,n){var r=Ka(e)?Lt:$t,o=arguments.length<3;return r(e,ci(t,4),n,o,pr)},Vn.reduceRight=function(e,t,n){var r=Ka(e)?Nt:$t,o=arguments.length<3;return r(e,ci(t,4),n,o,hr)},Vn.repeat=function(e,t,n){return t=(n?Ci(e,t,n):t===r)?1:ml(t),Zr(bl(e),t)},Vn.replace=function(){var e=arguments,t=bl(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Vn.result=function(e,t,n){var o=-1,i=(t=Co(t,e)).length;for(i||(i=1,e=r);++o<i;){var a=null==e?r:e[Bi(t[o])];a===r&&(o=i,a=n),e=Ja(a)?a.call(e):a}return e},Vn.round=xs,Vn.runInContext=e,Vn.sample=function(e){return(Ka(e)?Jn:Jr)(e)},Vn.size=function(e){if(null==e)return 0;if(Ga(e))return sl(e)?pn(e):e.length;var t=gi(e);return t==x||t==T?e.size:Nr(e).length},Vn.snakeCase=$l,Vn.some=function(e,t,n){var o=Ka(e)?Bt:io;return n&&Ci(e,t,n)&&(t=r),o(e,ci(t,3))},Vn.sortedIndex=function(e,t){return ao(e,t)},Vn.sortedIndexBy=function(e,t,n){return lo(e,t,ci(n,2))},Vn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ao(e,t);if(r<n&&Va(e[r],t))return r}return-1},Vn.sortedLastIndex=function(e,t){return ao(e,t,!0)},Vn.sortedLastIndexBy=function(e,t,n){return lo(e,t,ci(n,2),!0)},Vn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=ao(e,t,!0)-1;if(Va(e[n],t))return n}return-1},Vn.startCase=Ql,Vn.startsWith=function(e,t,n){return e=bl(e),n=null==n?0:sr(ml(n),0,e.length),t=co(t),e.slice(n,n+t.length)==t},Vn.subtract=ks,Vn.sum=function(e){return e&&e.length?Qt(e,os):0},Vn.sumBy=function(e,t){return e&&e.length?Qt(e,ci(t,2)):0},Vn.template=function(e,t,n){var o=Vn.templateSettings;n&&Ci(e,t,n)&&(t=r),e=bl(e),t=Sl({},t,o,ei);var i=Sl({},t.imports,o.imports,ei),a=Dl(i),l=Xt(i,a);It(a,function(e){if(de.test(e))throw new xe("Invalid `imports` option passed into `_.template`")});var s,u,c=0,d=t.interpolate||Ce,f="__p += '",p=Ie((t.escape||Ce).source+"|"+d.source+"|"+(d===X?pe:Ce).source+"|"+(t.evaluate||Ce).source+"|$","g"),h="//# sourceURL="+(Le.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++at+"]")+"\n";e.replace(p,function(t,n,r,o,i,a){return r||(r=o),f+=e.slice(c,a).replace(we,an),n&&(s=!0,f+="' +\n__e("+n+") +\n'"),i&&(u=!0,f+="';\n"+i+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=a+t.length,t}),f+="';\n";var m=Le.call(t,"variable")&&t.variable;if(m){if(de.test(m))throw new xe("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(u?f.replace(j,""):f).replace(K,"$1").replace(q,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var g=Xl(function(){return ke(a,h+"return "+f).apply(r,l)});if(g.source=f,Ya(g))throw g;return g},Vn.times=function(e,t){if((e=ml(e))<1||e>p)return[];var n=m,r=_n(e,m);t=ci(t),e-=m;for(var o=Zt(r,t);++n<e;)t(n);return o},Vn.toFinite=hl,Vn.toInteger=ml,Vn.toLength=gl,Vn.toLower=function(e){return bl(e).toLowerCase()},Vn.toNumber=vl,Vn.toSafeInteger=function(e){return e?sr(ml(e),-9007199254740991,p):0===e?e:0},Vn.toString=bl,Vn.toUpper=function(e){return bl(e).toUpperCase()},Vn.trim=function(e,t,n){if((e=bl(e))&&(n||t===r))return Yt(e);if(!e||!(t=co(t)))return e;var o=hn(e),i=hn(t);return So(o,tn(o,i),nn(o,i)+1).join("")},Vn.trimEnd=function(e,t,n){if((e=bl(e))&&(n||t===r))return e.slice(0,mn(e)+1);if(!e||!(t=co(t)))return e;var o=hn(e);return So(o,0,nn(o,hn(t))+1).join("")},Vn.trimStart=function(e,t,n){if((e=bl(e))&&(n||t===r))return e.replace(ie,"");if(!e||!(t=co(t)))return e;var o=hn(e);return So(o,tn(o,hn(t))).join("")},Vn.truncate=function(e,t){var n=30,o="...";if(tl(t)){var i="separator"in t?t.separator:i;n="length"in t?ml(t.length):n,o="omission"in t?co(t.omission):o}var a=(e=bl(e)).length;if(ln(e)){var l=hn(e);a=l.length}if(n>=a)return e;var s=n-pn(o);if(s<1)return o;var u=l?So(l,0,s).join(""):e.slice(0,s);if(i===r)return u+o;if(l&&(s+=u.length-s),al(i)){if(e.slice(s).search(i)){var c,d=u;for(i.global||(i=Ie(i.source,bl(he.exec(i))+"g")),i.lastIndex=0;c=i.exec(d);)var f=c.index;u=u.slice(0,f===r?s:f)}}else if(e.indexOf(co(i),s)!=s){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+o},Vn.unescape=function(e){return(e=bl(e))&&Q.test(e)?e.replace(G,gn):e},Vn.uniqueId=function(e){var t=++Ne;return bl(e)+t},Vn.upperCase=Zl,Vn.upperFirst=Yl,Vn.each=ba,Vn.eachRight=_a,Vn.first=Gi,ss(Vn,(ws={},Cr(Vn,function(e,t){Le.call(Vn.prototype,t)||(ws[t]=e)}),ws),{chain:!1}),Vn.VERSION="4.18.1",It(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Vn[e].placeholder=Vn}),It(["drop","take"],function(e,t){Kn.prototype[e]=function(n){n=n===r?1:bn(ml(n),0);var o=this.__filtered__&&!t?new Kn(this):this.clone();return o.__filtered__?o.__takeCount__=_n(n,o.__takeCount__):o.__views__.push({size:_n(n,m),type:e+(o.__dir__<0?"Right":"")}),o},Kn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),It(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;Kn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ci(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),It(["head","last"],function(e,t){var n="take"+(t?"Right":"");Kn.prototype[e]=function(){return this[n](1).value()[0]}}),It(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Kn.prototype[e]=function(){return this.__filtered__?new Kn(this):this[n](1)}}),Kn.prototype.compact=function(){return this.filter(os)},Kn.prototype.find=function(e){return this.filter(e).head()},Kn.prototype.findLast=function(e){return this.reverse().find(e)},Kn.prototype.invokeMap=Yr(function(e,t){return"function"==typeof e?new Kn(this):this.map(function(n){return Rr(n,e,t)})}),Kn.prototype.reject=function(e){return this.filter(La(ci(e)))},Kn.prototype.slice=function(e,t){e=ml(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Kn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(n=(t=ml(t))<0?n.dropRight(-t):n.take(t-e)),n)},Kn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Kn.prototype.toArray=function(){return this.take(m)},Cr(Kn.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),i=Vn[o?"take"+("last"==t?"Right":""):t],a=o||/^find/.test(t);i&&(Vn.prototype[t]=function(){var t=this.__wrapped__,l=o?[1]:arguments,s=t instanceof Kn,u=l[0],c=s||Ka(t),d=function(e){var t=i.apply(Vn,At([e],l));return o&&f?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(s=c=!1);var f=this.__chain__,p=!!this.__actions__.length,h=a&&!f,m=s&&!p;if(!a&&c){t=m?t:new Kn(this);var g=e.apply(t,l);return g.__actions__.push({func:ha,args:[d],thisArg:r}),new jn(g,f)}return h&&m?e.apply(this,l):(g=this.thru(d),h?o?g.value()[0]:g.value():g)})}),It(["pop","push","shift","sort","splice","unshift"],function(e){var t=Re[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Vn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ka(o)?o:[],e)}return this[n](function(n){return t.apply(Ka(n)?n:[],e)})}}),Cr(Kn.prototype,function(e,t){var n=Vn[t];if(n){var r=n.name+"";Le.call(Dn,r)||(Dn[r]=[]),Dn[r].push({name:t,func:n})}}),Dn[Wo(r,2).name]=[{name:"wrapper",func:r}],Kn.prototype.clone=function(){var e=new Kn(this.__wrapped__);return e.__actions__=Ro(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ro(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ro(this.__views__),e},Kn.prototype.reverse=function(){if(this.__filtered__){var e=new Kn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Kn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ka(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=_n(t,e+a);break;case"takeRight":e=bn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,l=i.end,s=l-a,u=r?l:a-1,c=this.__iteratees__,d=c.length,f=0,p=_n(s,this.__takeCount__);if(!n||!r&&o==s&&p==s)return go(e,this.__actions__);var h=[];e:for(;s--&&f<p;){for(var m=-1,g=e[u+=t];++m<d;){var v=c[m],y=v.iteratee,b=v.type,_=y(g);if(2==b)g=_;else if(!_){if(1==b)continue e;break e}}h[f++]=g}return h},Vn.prototype.at=ma,Vn.prototype.chain=function(){return pa(this)},Vn.prototype.commit=function(){return new jn(this.value(),this.__chain__)},Vn.prototype.next=function(){this.__values__===r&&(this.__values__=pl(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?r:this.__values__[this.__index__++]}},Vn.prototype.plant=function(e){for(var t,n=this;n instanceof Un;){var o=Hi(n);o.__index__=0,o.__values__=r,t?i.__wrapped__=o:t=o;var i=o;n=n.__wrapped__}return i.__wrapped__=e,t},Vn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Kn){var t=e;return this.__actions__.length&&(t=new Kn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ta],thisArg:r}),new jn(t,this.__chain__)}return this.thru(ta)},Vn.prototype.toJSON=Vn.prototype.valueOf=Vn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Vn.prototype.first=Vn.prototype.head,Je&&(Vn.prototype[Je]=function(){return this}),Vn}();gt?((gt.exports=vn)._=vn,mt._=vn):ht._=vn}).call(t)}(Tf,Tf.exports);var Pf=n(Tf.exports);const Rf=e=>z.useMemo(()=>Pf.merge({},If,e),[e]);function Df(e,t){return function(){return e.apply(t,arguments)}}const{toString:Mf}=Object.prototype,{getPrototypeOf:Of}=Object,{iterator:Af,toStringTag:Lf}=Symbol,Nf=(Bf=Object.create(null),e=>{const t=Mf.call(e);return Bf[t]||(Bf[t]=t.slice(8,-1).toLowerCase())});var Bf;const zf=e=>(e=e.toLowerCase(),t=>Nf(t)===e),Hf=e=>t=>typeof t===e,{isArray:Vf}=Array,Wf=Hf("undefined");function Uf(e){return null!==e&&!Wf(e)&&null!==e.constructor&&!Wf(e.constructor)&&qf(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const jf=zf("ArrayBuffer");const Kf=Hf("string"),qf=Hf("function"),Gf=Hf("number"),$f=e=>null!==e&&"object"==typeof e,Qf=e=>{if("object"!==Nf(e))return!1;const t=Of(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Lf in e||Af in e)},Zf=zf("Date"),Yf=zf("File"),Jf=zf("Blob"),Xf=zf("FileList");const ep="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},tp=void 0!==ep.FormData?ep.FormData:void 0,np=zf("URLSearchParams"),[rp,op,ip,ap]=["ReadableStream","Request","Response","Headers"].map(zf);function lp(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),Vf(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Uf(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function sp(e,t){if(Uf(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const up="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,cp=e=>!Wf(e)&&e!==up;const dp=(fp="undefined"!=typeof Uint8Array&&Of(Uint8Array),e=>fp&&e instanceof fp);var fp;const pp=zf("HTMLFormElement"),hp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),mp=zf("RegExp"),gp=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};lp(n,(n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)};const vp=zf("AsyncFunction"),yp=(bp="function"==typeof setImmediate,_p=qf(up.postMessage),bp?setImmediate:_p?(Cp=`axios@${Math.random()}`,wp=[],up.addEventListener("message",({source:e,data:t})=>{e===up&&t===Cp&&wp.length&&wp.shift()()},!1),e=>{wp.push(e),up.postMessage(Cp,"*")}):e=>setTimeout(e));var bp,_p,Cp,wp;const Sp="undefined"!=typeof queueMicrotask?queueMicrotask.bind(up):"undefined"!=typeof process&&process.nextTick||yp;var xp={isArray:Vf,isArrayBuffer:jf,isBuffer:Uf,isFormData:e=>{let t;return e&&(tp&&e instanceof tp||qf(e.append)&&("formdata"===(t=Nf(e))||"object"===t&&qf(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&jf(e.buffer),t},isString:Kf,isNumber:Gf,isBoolean:e=>!0===e||!1===e,isObject:$f,isPlainObject:Qf,isEmptyObject:e=>{if(!$f(e)||Uf(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:rp,isRequest:op,isResponse:ip,isHeaders:ap,isUndefined:Wf,isDate:Zf,isFile:Yf,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:Jf,isRegExp:mp,isFunction:qf,isStream:e=>$f(e)&&qf(e.pipe),isURLSearchParams:np,isTypedArray:dp,isFileList:Xf,forEach:lp,merge:function e(){const{caseless:t,skipUndefined:n}=cp(this)&&this||{},r={},o=(o,i)=>{if("__proto__"===i||"constructor"===i||"prototype"===i)return;const a=t&&sp(r,i)||i;Qf(r[a])&&Qf(o)?r[a]=e(r[a],o):Qf(o)?r[a]=e({},o):Vf(o)?r[a]=o.slice():n&&Wf(o)||(r[a]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&lp(arguments[e],o);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(lp(t,(t,r)=>{n&&qf(t)?Object.defineProperty(e,r,{value:Df(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const l={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&Of(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Nf,kindOfTest:zf,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(Vf(e))return e;let t=e.length;if(!Gf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Af]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:pp,hasOwnProperty:hp,hasOwnProp:hp,reduceDescriptors:gp,freezeMethods:e=>{gp(e,(t,n)=>{if(qf(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];qf(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return Vf(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:sp,global:up,isContextDefined:cp,isSpecCompliantForm:function(e){return!!(e&&qf(e.append)&&"FormData"===e[Lf]&&e[Af])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if($f(e)){if(t.indexOf(e)>=0)return;if(Uf(e))return e;if(!("toJSON"in e)){t[r]=e;const o=Vf(e)?[]:{};return lp(e,(e,t)=>{const i=n(e,r+1);!Wf(i)&&(o[t]=i)}),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:vp,isThenable:e=>e&&($f(e)||qf(e))&&qf(e.then)&&qf(e.catch),setImmediate:yp,asap:Sp,isIterable:e=>null!=e&&qf(e[Af])};class kp extends Error{static from(e,t,n,r,o,i){const a=new kp(e.message,t||e.code,n,r,o);return a.cause=e,a.name=e.name,null!=e.status&&null==a.status&&(a.status=e.status),i&&Object.assign(a,i),a}constructor(e,t,n,r,o){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:xp.toJSONObject(this.config),code:this.code,status:this.status}}}kp.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",kp.ERR_BAD_OPTION="ERR_BAD_OPTION",kp.ECONNABORTED="ECONNABORTED",kp.ETIMEDOUT="ETIMEDOUT",kp.ERR_NETWORK="ERR_NETWORK",kp.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",kp.ERR_DEPRECATED="ERR_DEPRECATED",kp.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",kp.ERR_BAD_REQUEST="ERR_BAD_REQUEST",kp.ERR_CANCELED="ERR_CANCELED",kp.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",kp.ERR_INVALID_URL="ERR_INVALID_URL";var Ep=kp;function Fp(e){return xp.isPlainObject(e)||xp.isArray(e)}function Ip(e){return xp.endsWith(e,"[]")?e.slice(0,-2):e}function Tp(e,t,n){return e?e.concat(t).map(function(e,t){return e=Ip(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const Pp=xp.toFlatObject(xp,{},null,function(e){return/^is[A-Z]/.test(e)});function Rp(e,t,n){if(!xp.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=xp.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!xp.isUndefined(t[e])})).metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&xp.isSpecCompliantForm(t);if(!xp.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(xp.isDate(e))return e.toISOString();if(xp.isBoolean(e))return e.toString();if(!l&&xp.isBlob(e))throw new Ep("Blob is not supported. Use a Buffer instead.");return xp.isArrayBuffer(e)||xp.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,o){let l=e;if(xp.isReactNative(t)&&xp.isReactNativeBlob(e))return t.append(Tp(o,n,i),s(e)),!1;if(e&&!o&&"object"==typeof e)if(xp.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(xp.isArray(e)&&function(e){return xp.isArray(e)&&!e.some(Fp)}(e)||(xp.isFileList(e)||xp.endsWith(n,"[]"))&&(l=xp.toArray(e)))return n=Ip(n),l.forEach(function(e,r){!xp.isUndefined(e)&&null!==e&&t.append(!0===a?Tp([n],r,i):null===a?n:n+"[]",s(e))}),!1;return!!Fp(e)||(t.append(Tp(o,n,i),s(e)),!1)}const c=[],d=Object.assign(Pp,{defaultVisitor:u,convertValue:s,isVisitable:Fp});if(!xp.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!xp.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),xp.forEach(n,function(n,i){!0===(!(xp.isUndefined(n)||null===n)&&o.call(t,n,xp.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])}),c.pop()}}(e),t}function Dp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Mp(e,t){this._pairs=[],e&&Rp(e,this,t)}const Op=Mp.prototype;function Ap(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Lp(e,t,n){if(!t)return e;const r=n&&n.encode||Ap,o=xp.isFunction(n)?{serialize:n}:n,i=o&&o.serialize;let a;if(a=i?i(t,o):xp.isURLSearchParams(t)?t.toString():new Mp(t,o).toString(r),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}Op.append=function(e,t){this._pairs.push([e,t])},Op.toString=function(e){const t=e?function(t){return e.call(this,t,Dp)}:Dp;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var Np=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){xp.forEach(this.handlers,function(t){null!==t&&e(t)})}},Bp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},zp={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Mp,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Hp="undefined"!=typeof window&&"undefined"!=typeof document,Vp="object"==typeof navigator&&navigator||void 0,Wp=Hp&&(!Vp||["ReactNative","NativeScript","NS"].indexOf(Vp.product)<0),Up="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,jp=Hp&&window.location.href||"http://localhost";var Kp={...Object.freeze({__proto__:null,hasBrowserEnv:Hp,hasStandardBrowserEnv:Wp,hasStandardBrowserWebWorkerEnv:Up,navigator:Vp,origin:jp}),...zp};function qp(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),l=o>=e.length;if(i=!i&&xp.isArray(r)?r.length:i,l)return xp.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&xp.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&xp.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a}if(xp.isFormData(e)&&xp.isFunction(e.entries)){const n={};return xp.forEachEntry(e,(e,r)=>{t(function(e){return xp.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null}const Gp={transitional:Bp,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=xp.isObject(e);o&&xp.isHTMLForm(e)&&(e=new FormData(e));if(xp.isFormData(e))return r?JSON.stringify(qp(e)):e;if(xp.isArrayBuffer(e)||xp.isBuffer(e)||xp.isStream(e)||xp.isFile(e)||xp.isBlob(e)||xp.isReadableStream(e))return e;if(xp.isArrayBufferView(e))return e.buffer;if(xp.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Rp(e,new Kp.classes.URLSearchParams,{visitor:function(e,t,n,r){return Kp.isNode&&xp.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=xp.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Rp(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(xp.isString(e))try{return(t||JSON.parse)(e),xp.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Gp.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(xp.isResponse(e)||xp.isReadableStream(e))return e;if(e&&xp.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw Ep.from(e,Ep.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Kp.classes.FormData,Blob:Kp.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};xp.forEach(["delete","get","head","post","put","patch"],e=>{Gp.headers[e]={}});var $p=Gp;const Qp=xp.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Zp=Symbol("internals");function Yp(e,t){if(!1!==e&&null!=e)if(xp.isArray(e))e.forEach(e=>Yp(e,t));else if(!(e=>!/[\r\n]/.test(e))(String(e)))throw new Error(`Invalid character in header content ["${t}"]`)}function Jp(e){return e&&String(e).trim().toLowerCase()}function Xp(e){return!1===e||null==e?e:xp.isArray(e)?e.map(Xp):function(e){let t=e.length;for(;t>0;){const n=e.charCodeAt(t-1);if(10!==n&&13!==n)break;t-=1}return t===e.length?e:e.slice(0,t)}(String(e))}function eh(e,t,n,r,o){return xp.isFunction(r)?r.call(this,t,n):(o&&(t=n),xp.isString(t)?xp.isString(r)?-1!==t.indexOf(r):xp.isRegExp(r)?r.test(t):void 0:void 0)}class th{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Jp(t);if(!o)throw new Error("header name must be a non-empty string");const i=xp.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(Yp(e,t),r[i||t]=Xp(e))}const i=(e,t)=>xp.forEach(e,(e,n)=>o(e,n,t));if(xp.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(xp.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Qp[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(xp.isObject(e)&&xp.isIterable(e)){let n,r,o={};for(const t of e){if(!xp.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?xp.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=Jp(e)){const n=xp.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(xp.isFunction(t))return t.call(this,e,n);if(xp.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Jp(e)){const n=xp.findKey(this,e);return!(!n||void 0===this[n]||t&&!eh(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Jp(e)){const o=xp.findKey(n,e);!o||t&&!eh(0,n[o],o,t)||(delete n[o],r=!0)}}return xp.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!eh(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return xp.forEach(this,(r,o)=>{const i=xp.findKey(n,o);if(i)return t[i]=Xp(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();a!==o&&delete t[o],t[a]=Xp(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return xp.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&xp.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[Zp]=this[Zp]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Jp(e);t[r]||(!function(e,t){const n=xp.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return xp.isArray(e)?e.forEach(r):r(e),this}}th.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),xp.reduceDescriptors(th.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),xp.freezeMethods(th);var nh=th;function rh(e,t){const n=this||$p,r=t||n,o=nh.from(r.headers);let i=r.data;return xp.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function oh(e){return!(!e||!e.__CANCEL__)}var ih=class extends Ep{constructor(e,t,n){super(null==e?"canceled":e,Ep.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function ah(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Ep("Request failed with status code "+n.status,[Ep.ERR_BAD_REQUEST,Ep.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const lh=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(l){const s=Date.now(),u=r[a];o||(o=s),n[i]=l,r[i]=s;let c=a,d=0;for(;c!==i;)d+=n[c++],c%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),s-o<t)return;const f=u&&s-u;return f?Math.round(1e3*d/f):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),l=t-o;l>=i?a(e,t):(n=e,r||(r=setTimeout(()=>{r=null,a(n)},i-l)))},()=>n&&a(n)]}(n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,l=i-r,s=o(l);r=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&i<=a?(a-i)/s:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},sh=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},uh=e=>(...t)=>xp.asap(()=>e(...t));var ch=Kp.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Kp.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Kp.origin),Kp.navigator&&/(msie|trident)/i.test(Kp.navigator.userAgent)):()=>!0,dh=Kp.hasStandardBrowserEnv?{write(e,t,n,r,o,i,a){if("undefined"==typeof document)return;const l=[`${e}=${encodeURIComponent(t)}`];xp.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),xp.isString(r)&&l.push(`path=${r}`),xp.isString(o)&&l.push(`domain=${o}`),!0===i&&l.push("secure"),xp.isString(a)&&l.push(`SameSite=${a}`),document.cookie=l.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function fh(e,t,n){let r=!("string"==typeof(o=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o));var o;return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const ph=e=>e instanceof nh?{...e}:e;function hh(e,t){t=t||{};const n={};function r(e,t,n,r){return xp.isPlainObject(e)&&xp.isPlainObject(t)?xp.merge.call({caseless:r},e,t):xp.isPlainObject(t)?xp.merge({},t):xp.isArray(t)?t.slice():t}function o(e,t,n,o){return xp.isUndefined(t)?xp.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!xp.isUndefined(t))return r(void 0,t)}function a(e,t){return xp.isUndefined(t)?xp.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function l(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(e,t,n)=>o(ph(e),ph(t),0,!0)};return xp.forEach(Object.keys({...e,...t}),function(r){if("__proto__"===r||"constructor"===r||"prototype"===r)return;const i=xp.hasOwnProp(s,r)?s[r]:o,a=i(e[r],t[r],r);xp.isUndefined(a)&&i!==l||(n[r]=a)}),n}var mh=e=>{const t=hh({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:l}=t;if(t.headers=a=nh.from(a),t.url=Lp(fh(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),xp.isFormData(n))if(Kp.hasStandardBrowserEnv||Kp.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(xp.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&a.set(e,n)})}if(Kp.hasStandardBrowserEnv&&(r&&xp.isFunction(r)&&(r=r(t)),r||!1!==r&&ch(t.url))){const e=o&&i&&dh.read(i);e&&a.set(o,e)}return t};var gh="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=mh(e);let o=r.data;const i=nh.from(r.headers).normalize();let a,l,s,u,c,{responseType:d,onUploadProgress:f,onDownloadProgress:p}=r;function h(){u&&u(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=nh.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());ah(function(e){t(e),h()},function(e){n(e),h()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new Ep("Request aborted",Ep.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new Ep(r,Ep.ERR_NETWORK,e,m);o.event=t||null,n(o),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||Bp;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Ep(t,o.clarifyTimeoutError?Ep.ETIMEDOUT:Ep.ECONNABORTED,e,m)),m=null},void 0===o&&i.setContentType(null),"setRequestHeader"in m&&xp.forEach(i.toJSON(),function(e,t){m.setRequestHeader(t,e)}),xp.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),p&&([s,c]=lh(p,!0),m.addEventListener("progress",s)),f&&m.upload&&([l,u]=lh(f),m.upload.addEventListener("progress",l),m.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(a=t=>{m&&(n(!t||t.type?new ih(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const v=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);v&&-1===Kp.protocols.indexOf(v)?n(new Ep("Unsupported protocol "+v+":",Ep.ERR_BAD_REQUEST,e)):m.send(o||null)})};var vh=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Ep?t:new ih(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new Ep(`timeout of ${t}ms exceeded`,Ep.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>xp.asap(a),l}};const yh=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},bh=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},_h=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of bh(e))yield*yh(n,t)}(e,t);let i,a=0,l=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return l(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw l(e),e}},cancel:e=>(l(e),o.return())},{highWaterMark:2})},{isFunction:Ch}=xp,wh=(({Request:e,Response:t})=>({Request:e,Response:t}))(xp.global),{ReadableStream:Sh,TextEncoder:xh}=xp.global,kh=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Eh=e=>{e=xp.merge.call({skipUndefined:!0},wh,e);const{fetch:t,Request:n,Response:r}=e,o=t?Ch(t):"function"==typeof fetch,i=Ch(n),a=Ch(r);if(!o)return!1;const l=o&&Ch(Sh),s=o&&("function"==typeof xh?(u=new xh,e=>u.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var u;const c=i&&l&&kh(()=>{let e=!1;const t=new Sh,r=new n(Kp.origin,{body:t,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return t.cancel(),e&&!r}),d=a&&l&&kh(()=>xp.isReadableStream(new r("").body)),f={stream:d&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!f[e]&&(f[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new Ep(`Response type '${e}' is not supported`,Ep.ERR_NOT_SUPPORT,n)})});const p=async(e,t)=>{const r=xp.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(xp.isBlob(e))return e.size;if(xp.isSpecCompliantForm(e)){const t=new n(Kp.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return xp.isArrayBufferView(e)||xp.isArrayBuffer(e)?e.byteLength:(xp.isURLSearchParams(e)&&(e+=""),xp.isString(e)?(await s(e)).byteLength:void 0)})(t):r};return async e=>{let{url:o,method:a,data:l,signal:s,cancelToken:u,timeout:h,onDownloadProgress:m,onUploadProgress:g,responseType:v,headers:y,withCredentials:b="same-origin",fetchOptions:_}=mh(e),C=t||fetch;v=v?(v+"").toLowerCase():"text";let w=vh([s,u&&u.toAbortSignal()],h),S=null;const x=w&&w.unsubscribe&&(()=>{w.unsubscribe()});let k;try{if(g&&c&&"get"!==a&&"head"!==a&&0!==(k=await p(y,l))){let e,t=new n(o,{method:"POST",body:l,duplex:"half"});if(xp.isFormData(l)&&(e=t.headers.get("content-type"))&&y.setContentType(e),t.body){const[e,n]=sh(k,lh(uh(g)));l=_h(t.body,65536,e,n)}}xp.isString(b)||(b=b?"include":"omit");const t=i&&"credentials"in n.prototype,s={..._,signal:w,method:a.toUpperCase(),headers:y.normalize().toJSON(),body:l,duplex:"half",credentials:t?b:void 0};S=i&&new n(o,s);let u=await(i?C(S,_):C(o,s));const h=d&&("stream"===v||"response"===v);if(d&&(m||h&&x)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=u[t]});const t=xp.toFiniteNumber(u.headers.get("content-length")),[n,o]=m&&sh(t,lh(uh(m),!0))||[];u=new r(_h(u.body,65536,n,()=>{o&&o(),x&&x()}),e)}v=v||"text";let E=await f[xp.findKey(f,v)||"text"](u,e);return!h&&x&&x(),await new Promise((t,n)=>{ah(t,n,{data:E,headers:nh.from(u.headers),status:u.status,statusText:u.statusText,config:e,request:S})})}catch(t){if(x&&x(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Ep("Network Error",Ep.ERR_NETWORK,e,S,t&&t.response),{cause:t.cause||t});throw Ep.from(t,t&&t.code,e,S,t&&t.response)}}},Fh=new Map,Ih=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let a,l,s=i.length,u=Fh;for(;s--;)a=i[s],l=u.get(a),void 0===l&&u.set(a,l=s?new Map:Eh(t)),u=l;return l};Ih();const Th={http:null,xhr:gh,fetch:{get:Ih}};xp.forEach(Th,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const Ph=e=>`- ${e}`,Rh=e=>xp.isFunction(e)||null===e||!1===e;var Dh={getAdapter:function(e,t){e=xp.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let a=0;a<n;a++){let n;if(r=e[a],o=r,!Rh(r)&&(o=Th[(n=String(r)).toLowerCase()],void 0===o))throw new Ep(`Unknown adapter '${n}'`);if(o&&(xp.isFunction(o)||(o=o.get(t))))break;i[n||"#"+a]=o}if(!o){const e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(Ph).join("\n"):" "+Ph(e[0]):"as no adapter specified";throw new Ep("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o},adapters:Th};function Mh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ih(null,e)}function Oh(e){Mh(e),e.headers=nh.from(e.headers),e.data=rh.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Dh.getAdapter(e.adapter||$p.adapter,e)(e).then(function(t){return Mh(e),t.data=rh.call(e,e.transformResponse,t),t.headers=nh.from(t.headers),t},function(t){return oh(t)||(Mh(e),t&&t.response&&(t.response.data=rh.call(e,e.transformResponse,t.response),t.response.headers=nh.from(t.response.headers))),Promise.reject(t)})}const Ah="1.15.0",Lh={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Lh[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Nh={};Lh.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Ah+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Ep(r(o," has been removed"+(t?" in "+t:"")),Ep.ERR_DEPRECATED);return t&&!Nh[o]&&(Nh[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},Lh.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var Bh={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Ep("options must be an object",Ep.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new Ep("option "+i+" must be "+n,Ep.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new Ep("Unknown option "+i,Ep.ERR_BAD_OPTION)}},validators:Lh};const zh=Bh.validators;class Hh{constructor(e){this.defaults=e||{},this.interceptors={request:new Np,response:new Np}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(n){const t=n.indexOf("\n"),r=-1===t?-1:n.indexOf("\n",t+1),o=-1===r?"":n.slice(r+1);String(e.stack).endsWith(o)||(e.stack+="\n"+n)}}else e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=hh(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Bh.assertOptions(n,{silentJSONParsing:zh.transitional(zh.boolean),forcedJSONParsing:zh.transitional(zh.boolean),clarifyTimeoutError:zh.transitional(zh.boolean),legacyInterceptorReqResOrdering:zh.transitional(zh.boolean)},!1),null!=r&&(xp.isFunction(r)?t.paramsSerializer={serialize:r}:Bh.assertOptions(r,{encode:zh.function,serialize:zh.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Bh.assertOptions(t,{baseUrl:zh.spelling("baseURL"),withXsrfToken:zh.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&xp.merge(o.common,o[t.method]);o&&xp.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=nh.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;l=l&&e.synchronous;const n=t.transitional||Bp;n&&n.legacyInterceptorReqResOrdering?a.unshift(e.fulfilled,e.rejected):a.push(e.fulfilled,e.rejected)});const s=[];let u;this.interceptors.response.forEach(function(e){s.push(e.fulfilled,e.rejected)});let c,d=0;if(!l){const e=[Oh.bind(this),void 0];for(e.unshift(...a),e.push(...s),c=e.length,u=Promise.resolve(t);d<c;)u=u.then(e[d++],e[d++]);return u}c=a.length;let f=t;for(;d<c;){const e=a[d++],t=a[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{u=Oh.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,c=s.length;d<c;)u=u.then(s[d++],s[d++]);return u}getUri(e){return Lp(fh((e=hh(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}xp.forEach(["delete","get","head","options"],function(e){Hh.prototype[e]=function(t,n){return this.request(hh(n||{},{method:e,url:t,data:(n||{}).data}))}}),xp.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,o){return this.request(hh(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Hh.prototype[e]=t(),Hh.prototype[e+"Form"]=t(!0)});var Vh=Hh;class Wh{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new ih(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;const t=new Wh(function(t){e=t});return{token:t,cancel:e}}}var Uh=Wh;const jh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(jh).forEach(([e,t])=>{jh[t]=e});var Kh=jh;const qh=function e(t){const n=new Vh(t),r=Df(Vh.prototype.request,n);return xp.extend(r,Vh.prototype,n,{allOwnKeys:!0}),xp.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(hh(t,n))},r}($p);qh.Axios=Vh,qh.CanceledError=ih,qh.CancelToken=Uh,qh.isCancel=oh,qh.VERSION=Ah,qh.toFormData=Rp,qh.AxiosError=Ep,qh.Cancel=qh.CanceledError,qh.all=function(e){return Promise.all(e)},qh.spread=function(e){return function(t){return e.apply(null,t)}},qh.isAxiosError=function(e){return xp.isObject(e)&&!0===e.isAxiosError},qh.mergeConfig=hh,qh.AxiosHeaders=nh,qh.formToJSON=e=>qp(xp.isHTMLForm(e)?new FormData(e):e),qh.getAdapter=Dh.getAdapter,qh.HttpStatusCode=Kh,qh.default=qh;var Gh=qh;const $h=[{key:1,text:"English",data:{code:"en"}},{key:2,text:"French",data:{code:"fr"}},{key:3,text:"German",data:{code:"de"}},{key:4,text:"Italian",data:{code:"it"}},{key:5,text:"Japanese",data:{code:"ja"}},{key:6,text:"Korean",data:{code:"ko"}},{key:7,text:"Portuguese",data:{code:"pt"}},{key:8,text:"Spanish",data:{code:"es"}},{key:9,text:"Dutch",data:{code:"nl"}},{key:10,text:"Arabic",data:{code:"ar"}},{key:11,text:"Hebrew",data:{code:"he"}},{key:12,text:"Portuguese, Brazilian",data:{code:"pt-br"}},{key:13,text:"Turkish",data:{code:"tr"}},{key:14,text:"Indonesian",data:{code:"id"}},{key:15,text:"Thai",data:{code:"th"}},{key:16,text:"Vietnamese",data:{code:"vi"}},{key:17,text:"Polish",data:{code:"pl"}}],Qh={en:{formScreen:{ApplySSAS:"apply_ssas",ApplySSASDesc:"apply_ssas_desc",AppForm:"app_form",AppFormDesc:"app_from_desc",FirstName:"first_name",FirstNamePlaceholder:"first_name_placeholder",FirstNameError:"first_name_error",LastName:"last_name",LastNamePlaceholder:"last_name_placeholder",LastNameError:"last_name_error",EmailAddress:"email_address",EmailPlaceholder:"email_placeholder",EmailDesc:"email_desc",EmailError:"email_error",EmailInvalid:"email_invalid",EmailNotConnected:"email_not_connected",JobRole:"job_role",JobRolePlaceholder:"job_role_placeholder",CompanyName:"company_name",CompanyNamePlaceholder:"company_name_placeholder",CompanyNameError:"company_name_error",CompanySize:"company_size",Country:"country",CountryPlaceholder:"country_placeholder",CountryError:"country_error",AcceptTerm:"accept_term",TermCondition:"term_condition",SubmitRequest:"submit_request",ThankYou:"thank_you",ThankYouDesc:"thank_you_desc",BackToHome:"back_to_home",CompanyScore:"company_score",IsSharedMailTerm:"shared_mail_term",AcceptPrivacy:"accept_privacy",PrivacyStatementLink:"privacy_statement_link",PrivacyNotice:"privacy_notice",SelectPreferredLanguage:"select_preferred_language",ValidatingMessage:"validating_message",PartnerName:"partner_name",PartnerNamePlaceholder:"partner_name_placeholder",PartnerNameError:"partner_name_error",PartnerEmail:"partner_email",PartnerEmailPlaceholder:"partner_email_placeholder",PartnerEmailError:"partner_email_error",ByCustomer:"by_customer",ByPartner:"by_partner",HearAbout:"hear_about",HearAboutPlaceholder:"hear_about_placeholder",HearAboutError:"hear_about_error",Industry:"industry"}}},Zh="/user/add-from-partner",Yh="/user/validate",Jh="/form-library/country-list",Xh="/app-configuration/maintenance-status",em="/form-library/orgsizing-list",tm="/form-library/industry-list",nm="/partner/get",rm="/partner/get-by-guid",om="/localization/get";class im{constructor(e,t){this.baseUrl=e.endsWith("/")?e.slice(0,-1):e,this.axios=Gh.create(),this.axios.interceptors.request.use(e=>(t&&e.headers.set("X-Partner-Guid",t),e)),this.axiosPlain=Gh.create()}getUrl(e){const t=this.baseUrl.includes("localhost")?"":"/api";return`${this.baseUrl}${t}${e}`}async addUser(e,t,n){return new Promise((r,o)=>{this.axios.post(this.getUrl(`${Zh}?partnerName=${t}&callingDomain=${n}`),e).then(t=>{t.data.isSuccess?r(e):o(t.data.error)}).catch(e=>{o(e)})})}async validateEmail(e,t){try{const n=await this.axios.get(this.getUrl(Yh),{params:{email:e},signal:t});if(n.data.isSuccess)return n.data.data;throw new Error(n.data.error||"Email validation failed")}catch(e){if(Gh.isCancel(e))throw e;throw new Error(e.response?.data?.error||e.message||"Email validation failed")}}async getCountries(){try{const e=await this.axios.get(this.getUrl(Jh));if(void 0!==e.data.isSuccess){if(e.data.isSuccess)return e.data.data.map(e=>({name:e.name,alpha2Code:e.alpha2Code}));throw new Error(e.data.error||"Failed to fetch countries")}if(Array.isArray(e.data))return e.data.map(e=>({name:e.name?.common||e.name,alpha2Code:e.cca2||e.alpha2Code}));throw new Error("Unexpected response format")}catch(e){console.error("Failed to fetch countries:",e);const t=new Error(e.response?.data?.error||e.message||"Failed to fetch countries");throw t.status=e.response?.status,t}}async checkMaintenanceStatus(){try{const e=await this.axios.get(this.getUrl(Xh));return!!e.data.isSuccess&&e.data.data}catch(e){return!1}}async getOrgSizes(){try{const e=await this.axios.get(this.getUrl(em));if(e.data.isSuccess)return e.data.data.map(e=>({id:e.id,sizeLowerBound:e.lowerBound,sizeUpperBound:e.upperBound,sortOrder:e.sortOrder,microsoftSizingId:e.microsoftSizingId,label:void 0}));throw new Error(e.data.error||"Failed to fetch organization sizes")}catch(e){console.error("Failed to fetch org sizes:",e);const t=new Error(e.response?.data?.error||e.message||"Failed to fetch organization sizes");throw t.status=e.response?.status,t}}async getIndustries(){try{const e=await this.axios.get(this.getUrl(tm));if(e.data.isSuccess)return e.data.data;throw new Error(e.data.error||"Failed to fetch industries")}catch(e){console.error("Failed to fetch industries:",e);const t=new Error(e.response?.data?.error||e.message||"Failed to fetch industries");throw t.status=e.response?.status,t}}async getPartnerByDomain(){try{let e=new URL(this.baseUrl).host;e=e.replace(/^(https?:\/\/)/,""),e=e.replace(/^www\./,"");const t=await this.axios.get(this.getUrl(nm),{params:{domain:e}});if(t.data.isSuccess)return t.data.data;throw new Error(t.data.error||"Failed to fetch partner")}catch(e){throw console.error("Failed to fetch partner:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch partner")}}async getPartnerByGuid(e){try{const t=await this.axiosPlain.get(this.getUrl(rm),{params:{guid:e}});if(t.data.isSuccess)return t.data.data;throw new Error(t.data.error||"Failed to fetch partner")}catch(e){throw console.error("Failed to fetch partner:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch partner")}}async getFormScreenLocalization(e,t){try{const n=await this.axios.get(this.getUrl(`${om}/${e}/FormScreen/${t}`));if(n.data.isSuccess)return n.data.data;throw new Error(n.data.error||"Failed to fetch localization")}catch(e){throw console.error("Failed to fetch localization:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch localization")}}}var am=function(e,t){return am=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},am(e,t)};function lm(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}am(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var sm=function(){return sm=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},sm.apply(this,arguments)};function um(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function cm(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function dm(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var fm={},pm=void 0;try{pm=window}catch(bI){}function hm(e,t){if(void 0!==pm){var n=pm.__packages__=pm.__packages__||{};if(!n[e]||!fm[e])fm[e]=t,(n[e]=n[e]||[]).push(t)}}hm("@fluentui/set-version","6.0.0");var mm,gm="__global__",vm="__shadow_dom_stylesheet__",ym={stylesheetKey:gm,inShadow:!1,window:void 0,__isShadowConfig__:!0},bm=function(e){return!(!e||!function(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}(e))&&!0===e.__isShadowConfig__};function _m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=[],o=[],i=e;return function e(t){for(var n=0,a=t;n<a.length;n++){var l=a[n];if(l&&!bm(l))if("string"==typeof l)if(l.indexOf(" ")>=0)e(l.split(" "));else{var s=i.argsFromClassName(l);s?e(s):-1===r.indexOf(l)&&r.push(l)}else Array.isArray(l)?e(l):"object"==typeof l&&o.push(l)}}(t),{classes:r,objects:o}}function Cm(e){mm!==e&&(mm=e)}function wm(){return void 0===mm&&(mm="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),mm}function Sm(){return{rtl:wm(),shadowConfig:ym}}mm=wm();var xm,km=0,Em=1,Fm=2,Im="__stylesheet__",Tm="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),Pm={};try{Pm=window||{}}catch(cF){}var Rm,Dm=function(){function e(e,t){var n,r,o,i,a,l;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=sm({injectionMode:"undefined"==typeof document?km:Em,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(n=null==t?void 0:t.classNameToArgs)&&void 0!==n?n:this._classNameToArgs,this._counter=null!==(r=null==t?void 0:t.counter)&&void 0!==r?r:this._counter,this._keyToClassName=null!==(i=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==t?void 0:t.keyToClassName)&&void 0!==i?i:this._keyToClassName,this._preservedRules=null!==(a=null==t?void 0:t.preservedRules)&&void 0!==a?a:this._preservedRules,this._rules=null!==(l=null==t?void 0:t.rules)&&void 0!==l?l:this._rules}return e.getInstance=function(t){if(xm=Pm[Im],Pm[vm])return Pm[vm].getInstance(t);if(!xm||xm._lastStyleElement&&xm._lastStyleElement.ownerDocument!==document){var n=(null==Pm?void 0:Pm.FabricConfig)||{},r=new e(n.mergeStyles,n.serializedStylesheet);xm=r,Pm[Im]=r}return xm},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=sm(sm({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter(function(t){return t!==e})}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter(function(t){return t!==e})}},e.prototype.getClassName=function(e){var t=this._config.namespace,n=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(n,"-").concat(this._counter++)},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(e)]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t,n){void 0===n&&(n=gm);var r=this._config.injectionMode,o=r!==km?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),o)switch(r){case Em:this._insertRuleIntoSheet(o.sheet,e);break;case Fm:o.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach(function(t){return t({key:n,sheet:o?o.sheet:void 0,rule:e})})},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach(function(e){return e()})},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,n=t.head,r=t.createElement("style"),o=null;r.setAttribute("data-merge-styles","true");var i=this._config.cspSettings;if(i&&i.nonce&&r.setAttribute("nonce",i.nonce),this._lastStyleElement)o=this._lastStyleElement.nextElementSibling;else{var a=this._findPlaceholderStyleTag();o=a?a.nextElementSibling:n.childNodes[0]}return n.insertBefore(r,n.contains(o)?o:null),this._lastStyleElement=r,r},e.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(e){}return!1},e.prototype._getCacheKey=function(e){return e},e.prototype._getStyleElement=function(){var e=this;this._styleElement||(this._styleElement=this._createStyleElement(),Tm||(this._config.window||window).requestAnimationFrame(function(){e._styleElement=void 0}));return this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}(),Mm={};function Om(e,t){var n=e[t];"-"!==n.charAt(0)&&(e[t]=Mm[n]=Mm[n]||n.replace(/([A-Z])/g,"-$1").toLowerCase())}var Am={"user-select":1};function Lm(e,t){var n=function(){var e;if(!Rm){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();Rm=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!n||!/rv:11.0/i.test(n.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return Rm}(),r=e[t];if(Am[r]){var o=e[t+1];Am[r]&&(n.isWebkit&&e.push("-webkit-"+r,o),n.isMoz&&e.push("-moz-"+r,o),n.isMs&&e.push("-ms-"+r,o),n.isOpera&&e.push("-o-"+r,o))}}var Nm,Bm=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function zm(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var o=Bm.indexOf(n)>-1,i=n.indexOf("--")>-1,a=o||i?"":"px";e[t+1]="".concat(r).concat(a)}}var Hm="left",Vm="right",Wm=((Nm={})[Hm]=Vm,Nm[Vm]=Hm,Nm),Um={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function jm(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var o=t[n+1];if("string"==typeof o&&o.indexOf("@noflip")>=0)t[n+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(Hm)>=0)t[n]=r.replace(Hm,Vm);else if(r.indexOf(Vm)>=0)t[n]=r.replace(Vm,Hm);else if(String(o).indexOf(Hm)>=0)t[n+1]=o.replace(Hm,Vm);else if(String(o).indexOf(Vm)>=0)t[n+1]=o.replace(Vm,Hm);else if(Wm[r])t[n]=Wm[r];else if(Um[o])t[n+1]=Um[o];else switch(r){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return"".concat(t[0]," ").concat(t[3]," ").concat(t[2]," ").concat(t[1])}return e}(o);break;case"box-shadow":t[n+1]=function(e,t){var n=e.split(" "),r=parseInt(n[t],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(o,0)}}}var Km=/\:global\((.+?)\)/g;function qm(e){return e.indexOf(":global(")>=0||0===e.indexOf(":")}function Gm(e,t){return e.indexOf(":global(")>=0?e.replace(Km,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function $m(e,t,n,r,o){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?Qm([r],t,n=n+"{"+e,o):n.indexOf(",")>-1?function(e){if(!Km.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map(function(e){return":global(".concat(e.trim(),")")}).join(", ")]);return t.reverse().reduce(function(e,t){var n=t[0],r=t[1],o=t[2];return e.slice(0,n)+o+e.slice(r)},e)}(n).split(",").map(function(e){return e.trim()}).forEach(function(n){return Qm([r],t,Gm(n,e),o)}):Qm([r],t,Gm(n,e),o)}function Qm(e,t,n,r){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var o=t[n];o||(o={},t[n]=o,t.__order.push(n));for(var i=0,a=e;i<a.length;i++){var l=a[i];if("string"==typeof l){var s=r.argsFromClassName(l);s&&Qm(s,t,n,r)}else if(Array.isArray(l))Qm(l,t,n,r);else for(var u in l)if(l.hasOwnProperty(u)){var c=l[u];if("selectors"===u){var d=l.selectors;for(var f in d)d.hasOwnProperty(f)&&$m(n,t,f,d[f],r)}else"object"==typeof c||qm(u)?null!=c&&$m(n,t,u,c,r):void 0!==c&&("margin"===u||"padding"===u?Zm(o,u,c):o[u]=c)}}return t}function Zm(e,t,n){var r="string"==typeof n?function(e){for(var t=[],n=0,r=0,o=0;o<e.length;o++)switch(e[o]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(o>n&&t.push(e.substring(n,o)),n=o+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map(function(e){return e+" !important"})),e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function Ym(e,t){return t<=0?"":1===t?e:e+Ym(e,t-1)}function Jm(e,t){if(!t)return"";var n=[];for(var r in t)t.hasOwnProperty(r)&&"displayName"!==r&&void 0!==t[r]&&n.push(r,t[r]);for(var o=0;o<n.length;o+=2)Om(n,o),zm(n,o),jm(e,n,o),Lm(n,o);for(o=1;o<n.length;o+=4)n.splice(o,1,":",n[o],";");return n.join("")}function Xm(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=null!==(t=e.stylesheet)&&void 0!==t?t:Dm.getInstance(e.shadowConfig),i=Qm(n,void 0,void 0,o),a=function(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,o=0,i=t.__order;o<i.length;o++){var a=i[o];n.push(a);var l=t[a];for(var s in l)l.hasOwnProperty(s)&&void 0!==l[s]&&(r=!0,n.push(s,l[s]))}return r?n.join(""):void 0}(e,i);if(a){var l={className:o.classNameFromKey(a),key:a,args:n};if(!l.className){l.className=o.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(i));for(var s=[],u=0,c=i.__order;u<c.length;u++){var d=c[u];s.push(d,Jm(e,i[d]))}l.rulesToInsert=s}return l}}function eg(e,t,n,r){void 0===t&&(t=1);var o=null!=r?r:Dm.getInstance(n),i=e.className,a=e.key,l=e.args,s=e.rulesToInsert;if(s){for(var u=0;u<s.length;u+=2){var c=s[u+1];if(c){var d=s[u];d=d.replace(/&/g,Ym(".".concat(e.className),t));var f="".concat(d,"{").concat(c,"}").concat(0===d.indexOf("@")?"}":"");o.insertRule(f)}}o.cacheClassName(i,a,l,s)}}function tg(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(e,t){var n=e instanceof Array?e:[e],r=t||{};bm(n[0])&&(r.shadowConfig=n[0]);r.stylesheet=Dm.getInstance(r.shadowConfig);var o=_m(r.stylesheet,n),i=o.classes,a=o.objects;a.length&&i.push(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Xm.apply(void 0,dm([e],t,!1));return r?(eg(r,e.specificityMultiplier,e.shadowConfig,e.stylesheet),r.className):""}(r,a));return i.join(" ")}(e,Sm())}function ng(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles&&!bm(e[0]))return e[0];for(var n={},r={},o=0,i=e;o<i.length;o++){var a=i[o];if(a&&!bm(a))for(var l in a)if(a.hasOwnProperty(l)){if("subComponentStyles"===l&&void 0!==a.subComponentStyles){var s=a.subComponentStyles;for(var u in s)s.hasOwnProperty(u)&&(r.hasOwnProperty(u)?r[u].push(s[u]):r[u]=[s[u]]);continue}var c=n[l],d=a[l];n[l]=void 0===c?d:dm(dm([],Array.isArray(c)?c:[c],!0),Array.isArray(d)?d:[d],!0)}}if(Object.keys(r).length>0){n.subComponentStyles={};var f=n.subComponentStyles,p=function(e){if(r.hasOwnProperty(e)){var t=r[e];f[e]=function(e){return ng.apply(void 0,t.map(function(t){return"function"==typeof t?t(e):t}))}}};for(var u in r)p(u)}return n}function rg(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return og(e,Sm())}function og(e,t){var n,r={subComponentStyles:{}},o=void 0;bm(e[0])?(o=e[0],n=e[1]):n=e[0],null!=o||(o=null==t?void 0:t.shadowConfig);var i=sm(sm({},t),{shadowConfig:o});if(!n&&e.length<=1)return{subComponentStyles:{}};var a=Dm.getInstance(o);i.stylesheet=a;var l=ng.apply(void 0,e),s=[];for(var u in l)if(l.hasOwnProperty(u)){if("subComponentStyles"===u){r.subComponentStyles=l.subComponentStyles||{};continue}if("__shadowConfig__"===u)continue;var c=_m(a,l[u]),d=c.classes,f=c.objects;if(null==f?void 0:f.length)(m=Xm(i||{},{displayName:u},f))&&(s.push(m),r[u]=d.concat([m.className]).join(" "));else r[u]=d.join(" ")}for(var p=0,h=s;p<h.length;p++){var m;(m=h[p])&&eg(m,null==t?void 0:t.specificityMultiplier,o)}return r}function ig(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],o=0,i=t;o<i.length;o++){var a=i[o];a&&r.push("function"==typeof a?a(e):a)}return 1===r.length?r[0]:r.length?ng.apply(void 0,r):{}}function ag(e){var t=Dm.getInstance(),n=Jm(Sm(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{".concat(n,"}"),!0),t.cacheClassName(r,n,[],["font-face",n])}}function lg(e){var t=Dm.getInstance(),n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r,"{",Jm(Sm(),e[r]),"}");var o=n.join(""),i=t.classNameFromKey(o);if(i)return i;var a=t.getClassName();return t.insertRule("@keyframes ".concat(a,"{").concat(o,"}"),!0),t.cacheClassName(a,o,[],["keyframes",o]),a}function sg(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}var ug=void 0;try{ug=window}catch(bI){}function cg(e){if(sg()&&void 0!==ug){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:ug}}var dg=function(){function e(e,t){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=e||null,this._onErrorHandler=t,this._noop=function(){}}return e.prototype.dispose=function(){var e;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(e in this._timeoutIds)this._timeoutIds.hasOwnProperty(e)&&this.clearTimeout(parseInt(e,10));this._timeoutIds=null}if(this._immediateIds){for(e in this._immediateIds)this._immediateIds.hasOwnProperty(e)&&this.clearImmediate(parseInt(e,10));this._immediateIds=null}if(this._intervalIds){for(e in this._intervalIds)this._intervalIds.hasOwnProperty(e)&&this.clearInterval(parseInt(e,10));this._intervalIds=null}if(this._animationFrameIds){for(e in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(e)&&this.cancelAnimationFrame(parseInt(e,10));this._animationFrameIds=null}},e.prototype.setTimeout=function(e,t){var n=this,r=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),r=setTimeout(function(){try{n._timeoutIds&&delete n._timeoutIds[r],e.apply(n._parent)}catch(e){n._logError(e)}},t),this._timeoutIds[r]=!0),r},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e,t){var n=this,r=0,o=cg(t);if(!this._isDisposed){this._immediateIds||(this._immediateIds={});r=o.setTimeout(function(){try{n._immediateIds&&delete n._immediateIds[r],e.apply(n._parent)}catch(e){n._logError(e)}},0),this._immediateIds[r]=!0}return r},e.prototype.clearImmediate=function(e,t){var n=cg(t);this._immediateIds&&this._immediateIds[e]&&(n.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var n=this,r=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),r=setInterval(function(){try{e.apply(n._parent)}catch(e){n._logError(e)}},t),this._intervalIds[r]=!0),r},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,n){var r=this;if(this._isDisposed)return this._noop;var o,i,a=t||0,l=!0,s=!0,u=0,c=null;n&&"boolean"==typeof n.leading&&(l=n.leading),n&&"boolean"==typeof n.trailing&&(s=n.trailing);var d=function(t){var n=Date.now(),f=n-u,p=l?a-f:a;return f>=a&&(!t||l)?(u=n,c&&(r.clearTimeout(c),c=null),o=e.apply(r._parent,i)):null===c&&s&&(c=r.setTimeout(d,p)),o};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i=e,d(!0)}},e.prototype.debounce=function(e,t,n){var r=this;if(this._isDisposed){var o=function(){};return o.cancel=function(){},o.flush=function(){return null},o.pending=function(){return!1},o}var i,a,l=t||0,s=!1,u=!0,c=null,d=0,f=Date.now(),p=null;n&&"boolean"==typeof n.leading&&(s=n.leading),n&&"boolean"==typeof n.trailing&&(u=n.trailing),n&&"number"==typeof n.maxWait&&!isNaN(n.maxWait)&&(c=n.maxWait);var h=function(e){p&&(r.clearTimeout(p),p=null),f=e},m=function(t){h(t),i=e.apply(r._parent,a)},g=function(e){var t=Date.now(),n=!1;e&&(s&&t-d>=l&&(n=!0),d=t);var o=t-d,a=l-o,h=t-f,v=!1;return null!==c&&(h>=c&&p?v=!0:a=Math.min(a,c-h)),o>=l||v||n?m(t):null!==p&&e||!u||(p=r.setTimeout(g,a)),i},v=function(){return!!p},y=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a=e,g(!0)};return y.cancel=function(){v()&&h(Date.now())},y.flush=function(){return v()&&m(Date.now()),i},y.pending=v,y},e.prototype.requestAnimationFrame=function(e,t){var n=this,r=0,o=cg(t);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var i=function(){try{n._animationFrameIds&&delete n._animationFrameIds[r],e.apply(n._parent)}catch(e){n._logError(e)}};r=o.requestAnimationFrame?o.requestAnimationFrame(i):o.setTimeout(i,0),this._animationFrameIds[r]=!0}return r},e.prototype.cancelAnimationFrame=function(e,t){var n=cg(t);this._animationFrameIds&&this._animationFrameIds[e]&&(n.cancelAnimationFrame?n.cancelAnimationFrame(e):n.clearTimeout(e),delete this._animationFrameIds[e])},e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},e}();function fg(e){return e&&!!e._virtual}function pg(e,t){var n,r;if(void 0===t&&(t=!0),!e)return null;var o=t&&function(e){var t;return e&&fg(e)&&(t=e._virtual.parent),t}(e);return o||("function"!=typeof e.assignedElements&&(null===(n=e.assignedSlot)||void 0===n?void 0:n.parentNode)?e.assignedSlot:11===(null===(r=e.parentNode)||void 0===r?void 0:r.nodeType)?e.parentNode.host:e.parentNode)}function hg(e,t,n){void 0===n&&(n=!0);var r=!1;if(e&&t)if(n)if(e===t)r=!0;else for(r=!1;t;){var o=pg(t);if(o===e){r=!0;break}t=o}else e.contains&&(r=e.contains(t));return r}function mg(e,t,n){return null!=n||(n=document),!e||e===n.body||e instanceof Document?null:t(e)?e:mg(pg(e),t)}var gg=function(e){for(var t=e.activeElement;null==t?void 0:t.shadowRoot;)t=t.shadowRoot.activeElement;return t};var vg=function(e){var t=e.target;return t&&t.shadowRoot&&(t=e.composedPath()[0]),t},yg="data-portal-element";function bg(e,t,n){var r,o=mg(e,function(e){var n;return t===e||!!(null===(n=e.hasAttribute)||void 0===n?void 0:n.call(e,yg))},n);return null!==o&&!!(null===(r=o.hasAttribute)||void 0===r?void 0:r.call(o,yg))}function _g(e){if(sg()&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}function Cg(e,t,n,r){return xg(e,t,!0,!1,!1,n,void 0,void 0,void 0,r)}function wg(e,t,n,r){return Sg(e,t,!0,!1,!0,n,void 0,void 0,r)}function Sg(e,t,n,r,o,i,a,l,s){var u;if(!t||!a&&t===e)return null;var c=kg(t);if(o&&c&&(i||!Ig(t)&&!Tg(t))){var d=Sg(e,t.lastElementChild||s&&(null===(u=t.shadowRoot)||void 0===u?void 0:u.lastElementChild),!0,!0,!0,i,a,l,s);if(d){if(l&&Fg(d,!0,s)||!l)return d;var f=Sg(e,d.previousElementSibling,!0,!0,!0,i,a,l,s);if(f)return f;for(var p=d.parentElement;p&&p!==t;){var h=Sg(e,p.previousElementSibling,!0,!0,!0,i,a,l,s);if(h)return h;p=p.parentElement}}}if(n&&c&&Fg(t,l,s))return t;var m=Sg(e,t.previousElementSibling,!0,!0,!0,i,a,l,s);return m||(r?null:Sg(e,t.parentElement,!0,!1,!1,i,a,l,s))}function xg(e,t,n,r,o,i,a,l,s,u){var c;if(!t||t===e&&o&&!a)return null;var d=(s?Eg:kg)(t);if(n&&d&&Fg(t,l,u))return t;if(!o&&d&&(i||!Ig(t)&&!Tg(t))){var f=xg(e,t.firstElementChild||u&&(null===(c=t.shadowRoot)||void 0===c?void 0:c.firstElementChild),!0,!0,!1,i,a,l,s,u);if(f)return f}if(t===e)return null;var p=xg(e,t.nextElementSibling,!0,!0,!1,i,a,l,s,u);return p||(r?null:xg(e,t.parentElement,!1,!1,!0,i,a,l,s,u))}function kg(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute("data-is-visible");return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function Eg(e,t){var n=null!=t?t:cg();return!!e&&kg(e)&&!e.hidden&&"hidden"!==n.getComputedStyle(e).visibility}function Fg(e,t,n){if(void 0===n&&(n=!0),!e||e.disabled)return!1;var r=0,o=null;e&&e.getAttribute&&(o=e.getAttribute("tabIndex"))&&(r=parseInt(o,10));var i=e.getAttribute?e.getAttribute("data-is-focusable"):null,a=null!==o&&r>=0,l=!(!n||!e.shadowRoot)&&!!e.shadowRoot.delegatesFocus,s=!!e&&"false"!==i&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===i||a||l);return t?-1!==r&&s:s}function Ig(e){return!!(e&&e.getAttribute&&e.getAttribute("data-focuszone-id"))}function Tg(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute("data-is-sub-focuszone"))}function Pg(e,t,n){return"true"!==function(e,t,n){var r=mg(e,function(e){return e.hasAttribute(t)},n);return r&&r.getAttribute(t)}(e,t,null!=n?n:_g())}var Rg=void 0;function Dg(e){if(e){var t=cg(e);t&&(void 0!==Rg&&t.cancelAnimationFrame(Rg),Rg=t.requestAnimationFrame(function(){e&&e.focus(),Rg=void 0}))}}function Mg(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function Og(e,t){if(!e||!t)return!e&&!t;for(var n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||t[n]!==e[n]))return!1;for(var n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}function Ag(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Lg.apply(this,[null,e].concat(t))}function Lg(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t=t||{};for(var o=0,i=n;o<i.length;o++){var a=i[o];if(a)for(var l in a)!a.hasOwnProperty(l)||e&&!e(l)||(t[l]=a[l])}return t}var Ng,Bg=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,n,r,o,i){var a,l=null!=i?i:_g();if(e._isElement(t)){if(void 0!==l&&l.createEvent){var s=l.createEvent("HTMLEvents");s.initEvent(n,o||!1,!0),Ag(s,r),a=t.dispatchEvent(s)}else if(void 0!==l&&l.createEventObject){var u=l.createEventObject(r);t.fireEvent("on"+n,u)}}else for(;t&&!1!==a;){var c=t.__events__,d=c?c[n]:null;if(d)for(var f in d)if(d.hasOwnProperty(f))for(var p=d[f],h=0;!1!==a&&h<p.length;h++){var m=p[h];m.objectCallback&&(a=m.objectCallback.call(m.parent,r))}t=o?t.parent:null}return a},e.isObserved=function(e,t){var n=e&&e.__events__;return!!n&&!!n[t]},e.isDeclared=function(e,t){var n=e&&e.__declaredEvents;return!!n&&!!n[t]},e.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},e._isElement=function(e){return!!e&&(!!e.addEventListener||"undefined"!=typeof HTMLElement&&e instanceof HTMLElement)},e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.off(),this._parent=null)},e.prototype.onAll=function(e,t,n){for(var r in t)t.hasOwnProperty(r)&&this.on(e,r,t[r],n)},e.prototype.on=function(t,n,r,o){var i=this;if(n.indexOf(",")>-1)for(var a=n.split(/[ ,]+/),l=0;l<a.length;l++)this.on(t,a[l],r,o);else{var s=this._parent,u={target:t,eventName:n,parent:s,callback:r,options:o};if((a=t.__events__=t.__events__||{})[n]=a[n]||{count:0},a[n][this._id]=a[n][this._id]||[],a[n][this._id].push(u),a[n].count++,e._isElement(t)){var c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed){var n;try{if(!1===(n=r.apply(s,e))&&e[0]){var o=e[0];o.preventDefault&&o.preventDefault(),o.stopPropagation&&o.stopPropagation(),o.cancelBubble=!0}}catch(o){}return n}};u.elementCallback=c,t.addEventListener?t.addEventListener(n,c,o):t.attachEvent&&t.attachEvent("on"+n,c)}else{u.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed)return r.apply(s,e)}}this._eventRecords.push(u)}},e.prototype.off=function(e,t,n,r){for(var o=0;o<this._eventRecords.length;o++){var i=this._eventRecords[o];if(!(e&&e!==i.target||t&&t!==i.eventName||n&&n!==i.callback||"boolean"==typeof r&&r!==i.options)){var a=i.target.__events__,l=a[i.eventName],s=l?l[this._id]:null;s&&(1!==s.length&&n?(l.count--,s.splice(s.indexOf(i),1)):(l.count-=s.length,delete a[i.eventName][this._id]),l.count||delete a[i.eventName]),i.elementCallback&&(i.target.removeEventListener?i.target.removeEventListener(i.eventName,i.elementCallback,i.options):i.target.detachEvent&&i.target.detachEvent("on"+i.eventName,i.elementCallback)),this._eventRecords.splice(o--,1)}}},e.prototype.raise=function(t,n,r){return e.raise(this._parent,t,n,r)},e.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"==typeof e)t[e]=!0;else for(var n=0;n<e.length;n++)t[e[n]]=!0},e._uniqueId=0,e}(),zg=0,Hg=tg({overflow:"hidden !important"}),Vg="data-is-scrollable",Wg=function(e){e.preventDefault()};function Ug(e){for(var t=e,n=_g(e);t&&t!==n.body;){if("true"===t.getAttribute(Vg))return t;t=t.parentElement}for(t=e;t&&t!==n.body;){if("false"!==t.getAttribute(Vg)){var r=getComputedStyle(t),o=r?r.getPropertyValue("overflow-y"):"";if(o&&("scroll"===o||"auto"===o))return t}t=t.parentElement}return t&&t!==n.body||(t=cg(e)),t}function jg(e){console&&console.warn&&console.warn(e)}function Kg(e,t,n){var r=e[n],o=t[n];(r||o)&&(e[n]=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o&&(e=o.apply(this,t)),r!==o&&(e=r.apply(this,t)),e})}function qg(){return null}!function(e){function t(n,r){var o=e.call(this,n,r)||this;return function(e,t,n){for(var r=0,o=n.length;r<o;r++)Kg(e,t,n[r])}(o,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),o}lm(t,e),t.prototype.componentDidUpdate=function(e,t){this._updateComponentRef(e,this.props)},t.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)},t.prototype.componentWillUnmount=function(){if(this._setComponentRef(this.props.componentRef,null),this.__disposables){for(var e=0,t=this._disposables.length;e<t;e++){var n=this.__disposables[e];n.dispose&&n.dispose()}this.__disposables=null}},Object.defineProperty(t.prototype,"className",{get:function(){if(!this.__className){var e=/function (.{1,})\(/.exec(this.constructor.toString());this.__className=e&&e.length>1?e[1]:""}return this.__className},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new dg(this),this._disposables.push(this.__async)),this.__async},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new Bg(this),this._disposables.push(this.__events)),this.__events},enumerable:!1,configurable:!0}),t.prototype._resolveRef=function(e){var t=this;return this.__resolves||(this.__resolves={}),this.__resolves[e]||(this.__resolves[e]=function(n){return t[e]=n}),this.__resolves[e]},t.prototype._updateComponentRef=function(e,t){void 0===t&&(t={}),e&&t&&e.componentRef!==t.componentRef&&(this._setComponentRef(e.componentRef,null),this._setComponentRef(t.componentRef,this))},t.prototype._warnDeprecations=function(e){this.className,this.props},t.prototype._warnMutuallyExclusive=function(e){this.className,this.props},t.prototype._warnConditionallyRequiredProps=function(e,t,n){this.className,this.props},t.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"==typeof e&&e(t),"object"==typeof e&&(e.current=t))}}(z.Component);var Gg=function(e){function t(t){var n=e.call(this,t)||this;return n.state={isRendered:void 0===cg()},n}return lm(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=window.setTimeout(function(){e.setState({isRendered:!0})},t)},t.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},t.prototype.render=function(){return this.state.isRendered?z.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(z.Component),$g="__globalSettings__",Qg="__callbacks__",Zg=0,Yg=function(){function e(){}return e.getValue=function(e,t){var n=Jg();return void 0===n[e]&&(n[e]="function"==typeof t?t():t),n[e]},e.setValue=function(e,t){var n=Jg(),r=n[Qg],o=n[e];if(t!==o){n[e]=t;var i={oldValue:o,value:t,key:e};for(var a in r)r.hasOwnProperty(a)&&r[a](i)}return t},e.addChangeListener=function(e){var t=e.__id__,n=Xg();t||(t=e.__id__=String(Zg++)),n[t]=e},e.removeChangeListener=function(e){delete Xg()[e.__id__]},e}();function Jg(){var e,t=cg()||{};return t[$g]||(t[$g]=((e={})[Qg]={},e)),t[$g]}function Xg(){return Jg()[Qg]}var ev=8,tv=9,nv=13,rv=18,ov=27,iv=32,av=33,lv=34,sv=35,uv=36,cv=37,dv=38,fv=39,pv=40,hv=function(){function e(e,t,n,r){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===r&&(r=0),this.top=n,this.bottom=r,this.left=e,this.right=t}return Object.defineProperty(e.prototype,"width",{get:function(){return this.right-this.left},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!1,configurable:!0}),e.prototype.equals=function(e){return parseFloat(this.top.toFixed(4))===parseFloat(e.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(e.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(e.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(e.right.toFixed(4))},e}();function mv(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.length<2?t[0]:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.forEach(function(t){return t&&t.apply(e,n)})}}function gv(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(function(e){return e}).join(" ").trim();return""===n?void 0:n}function vv(e,t,n){void 0===n&&(n=0);for(var r=-1,o=n;e&&o<e.length;o++)if(t(e[o],o)){r=o;break}return r}function yv(e){var t=null;try{var n=cg();t=n?n.sessionStorage.getItem(e):null}catch(e){}return t}var bv,_v="isRTL";function Cv(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===bv){var t=yv(_v);null!==t&&function(e,t){void 0===t&&(t=!1);var n=_g();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr");t&&function(e,t){var n;try{null===(n=cg())||void 0===n||n.sessionStorage.setItem(e,t)}catch(e){}}(_v,e?"1":"0");Cm(bv=e)}(bv="1"===t);var n=_g();void 0===bv&&n&&Cm(bv="rtl"===(n.body&&n.body.getAttribute("dir")||n.documentElement.getAttribute("dir")))}return!!bv}var wv=0,Sv=Dm.getInstance();Sv&&Sv.onReset&&Sv.onReset(function(){return wv++});var xv="__retval__";function kv(e){void 0===e&&(e={});var t=new Map,n=0,r=0,o=wv;return function(i,a){var l;if(void 0===a&&(a={}),e.useStaticStyles&&"function"==typeof i&&i.__noStyleOverride__)return i(a);r++;var s=i?i.__shadowConfig__:void 0,u=s&&s.window?s.window:"__default__";t.has(u)||t.set(u,new Map);var c=t.get(u),d=a.theme,f=d&&void 0!==d.rtl?d.rtl:Cv(),p=e.disableCaching;if(o!==wv&&(o=wv,t.set(u,new Map),c=t.get(u),n=0),e.disableCaching||(c=Fv(t.get(u),i),c=Fv(c,a)),!p&&c[xv]||(c[xv]=void 0===i?{}:og(["function"==typeof i?i(a):i],{shadowConfig:i.__shadowConfig__,rtl:!!f,specificityMultiplier:e.useStaticStyles?5:void 0}),p||n++),n>(e.cacheSize||50)){var h=cg();(null===(l=null==h?void 0:h.FabricConfig)||void 0===l?void 0:l.enableClassNameCacheFullWarning)&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is ".concat(n,"/").concat(r,".")),console.trace()),t.get(u).clear(),n=0,e.disableCaching=!0}return c[xv]}}function Ev(e,t){return t=function(e){switch(e){case void 0:return"__undefined__";case null:return"__null__";default:return e}}(t),e.has(t)||e.set(t,new Map),e.get(t)}function Fv(e,t){if("function"==typeof t)if(t.__cachedInputs__)for(var n=0,r=t.__cachedInputs__;n<r.length;n++){e=Ev(e,r[n])}else e=Ev(e,t);else if("object"==typeof t)for(var o in t)t.hasOwnProperty(o)&&(e=Ev(e,t[o]));return e}var Iv=!1,Tv=0,Pv={empty:!0},Rv={},Dv="undefined"==typeof WeakMap?null:WeakMap;function Mv(){Tv++}function Ov(e,t,n){if(void 0===t&&(t=100),void 0===n&&(n=!1),!Dv)return e;if(!Iv){var r=Dm.getInstance();r&&r.onReset&&Dm.getInstance().onReset(Mv),Iv=!0}var o,i=0,a=Tv;return function(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];var s=o;(void 0===o||a!==Tv||t>0&&i>t)&&(o=Nv(),i=0,a=Tv),s=o;for(var u=0;u<r.length;u++){var c=Lv(r[u]);s.map.has(c)||s.map.set(c,Nv()),s=s.map.get(c)}return s.hasOwnProperty("value")||(s.value=e.apply(void 0,r),i++),!n||null!==s.value&&void 0!==s.value||(s.value=e.apply(void 0,r)),s.value}}function Av(e){if(!Dv)return e;var t=new Dv;return function(n){if(!n||"function"!=typeof n&&"object"!=typeof n)return e(n);if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}function Lv(e){return e?"object"==typeof e||"function"==typeof e?e:(Rv[e]||(Rv[e]={val:e}),Rv[e]):Pv}function Nv(){return{map:Dv?new Dv:null}}var Bv=Av(function(e){var t=e;return Av(function(n){if(e===n)throw new Error("Attempted to compose a component with itself.");var r=n,o=Av(function(e){return function(t){return z.createElement(r,sm({},t,{defaultRender:e}))}});return function(e){var n=e.defaultRender;return z.createElement(t,sm({},e,{defaultRender:n?o(n):r}))}})});function zv(e,t){return Bv(e)(t)}function Hv(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];if(i)if("string"==typeof i)n.push(i);else if(i.hasOwnProperty("toString")&&"function"==typeof i.toString)n.push(i.toString());else for(var a in i)i[a]&&n.push(a)}return n.join(" ")}var Vv={settings:{},scopedSettings:{},inCustomizerContext:!1},Wv=Yg.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),Uv=[],jv=function(){function e(){}return e.reset=function(){Wv.settings={},Wv.scopedSettings={}},e.applySettings=function(t){Wv.settings=sm(sm({},Wv.settings),t),e._raiseChange()},e.applyScopedSettings=function(t,n){Wv.scopedSettings[t]=sm(sm({},Wv.scopedSettings[t]),n),e._raiseChange()},e.getSettings=function(e,t,n){void 0===n&&(n=Vv);for(var r={},o=t&&n.scopedSettings[t]||{},i=t&&Wv.scopedSettings[t]||{},a=0,l=e;a<l.length;a++){var s=l[a];r[s]=o[s]||n.settings[s]||i[s]||Wv.settings[s]}return r},e.applyBatchedUpdates=function(t,n){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1,n||e._raiseChange()},e.observe=function(e){Uv.push(e)},e.unobserve=function(e){Uv=Uv.filter(function(t){return t!==e})},e._raiseChange=function(){e._suppressUpdates||Uv.forEach(function(e){return e()})},e}(),Kv=z.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}});function qv(e,t){void 0===e&&(e={});var n=$v(t)?t:function(e){return function(t){return e?sm(sm({},t),e):t}}(t);return n(e)}function Gv(e,t){return void 0===e&&(e={}),($v(t)?t:function(e){void 0===e&&(e={});return function(t){var n=sm({},t);for(var r in e)e.hasOwnProperty(r)&&(n[r]=sm(sm({},t[r]),e[r]));return n}}(t))(e)}function $v(e){return"function"==typeof e}var Qv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onCustomizationChange=function(){return t.forceUpdate()},t}return lm(t,e),t.prototype.componentDidMount=function(){jv.observe(this._onCustomizationChange)},t.prototype.componentWillUnmount=function(){jv.unobserve(this._onCustomizationChange)},t.prototype.render=function(){var e=this,t=this.props.contextTransform;return z.createElement(Kv.Consumer,null,function(n){var r=function(e,t){var n=(t||{}).customizations,r=void 0===n?{settings:{},scopedSettings:{}}:n;return{customizations:{settings:qv(r.settings,e.settings),scopedSettings:Gv(r.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}}(e.props,n);return t&&(r=t(r)),z.createElement(Kv.Provider,{value:r},e.props.children)})},t}(z.Component);var Zv=function(){return!1},Yv=function(){return ym},Jv=function(){return new Map},Xv=function(){},ey=z.createContext({stylesheets:new Map,useAdoptedStylesheetEx:Zv,useAdoptedStylesheet:Zv,useShadowConfig:Yv,useMergeStylesShadowRootContext:Xv,useHasMergeStylesShadowRootContext:Zv,useMergeStylesRootStylesheets:Jv,useWindow:Xv,useStyled:Xv}),ty=function(){var e=z.useContext(ey);return{useAdoptedStylesheet:e.useAdoptedStylesheet,useAdoptedStylesheetEx:e.useAdoptedStylesheetEx,useShadowConfig:e.useShadowConfig,useMergeStylesShadowRootContext:e.useMergeStylesShadowRootContext,useHasMergeStylesShadowRootContext:e.useHasMergeStylesShadowRootContext,useMergeStylesRootStylesheets:e.useMergeStylesRootStylesheets,useWindow:e.useWindow,useStyled:e.useStyled}},ny=z.createContext(void 0),ry=function(){return z.useContext(ny)},oy=function(e){var t=e.stylesheetKey,n=e.children,r=ty(),o=r.useAdoptedStylesheetEx,i=r.useMergeStylesRootStylesheets,a=r.useWindow,l=ry(),s=i(),u=a();return o(gm,l,s,u),o(t,l,s,u),n(!!l)},iy=z.createContext({window:"object"==typeof window?window:void 0}),ay=function(){return z.useContext(iy).window},ly=function(){var e;return null===(e=z.useContext(iy).window)||void 0===e?void 0:e.document},sy=Ov(function(e,t,n){return{stylesheetKey:e,inShadow:t,window:n,__isShadowConfig__:!0}}),uy=Ov(function(e,t,n){var r,o=null!==(r=null!=t?t:e)&&void 0!==r?r:{};return o.__shadowConfig__=n,o});function cy(e,t,n){return function(r){var o,i=(o=function(o){function i(e){var t=o.call(this,e)||this;return t._styleCache={},t._onSettingChanged=t._onSettingChanged.bind(t),t}return lm(i,o),i.prototype.componentDidMount=function(){jv.observe(this._onSettingChanged)},i.prototype.componentWillUnmount=function(){jv.unobserve(this._onSettingChanged)},i.prototype.render=function(){var o=this;return z.createElement(oy,{stylesheetKey:e},function(i){return z.createElement(Kv.Consumer,null,function(a){var l,s=jv.getSettings(t,e,a.customizations),u=null!==(l=o.context.window)&&void 0!==l?l:cg(),c=sy(e,i,u),d=o.props;if(s.styles&&"function"==typeof s.styles&&(s.styles=s.styles(sm(sm({},s),d))),n&&s.styles){if(o._styleCache.default!==s.styles||o._styleCache.component!==d.styles){var f=ng(s.styles,d.styles);f.__shadowConfig__=c,o._styleCache.default=s.styles,o._styleCache.component=d.styles,o._styleCache.merged=f}return z.createElement(r,sm({},s,d,{styles:o._styleCache.merged}))}var p=uy(s.styles,d.styles,c);return z.createElement(r,sm({},s,d,{styles:p}))})})},i.prototype._onSettingChanged=function(){this.forceUpdate()},i}(z.Component),o.displayName="Customized"+e,o.contextType=iy,o);return function(e,t){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(r,i)}}function dy(e,t){var n=function(){var e=z.useState(0),t=e[1];return function(){return t(function(e){return++e})}}(),r=z.useContext(Kv).customizations,o=r.inCustomizerContext;return z.useEffect(function(){return o||jv.observe(n),function(){o||jv.unobserve(n)}},[o]),jv.getSettings(e,t,r)}function fy(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=mv(e,e[n],t[n]))}var py="__currentId__",hy=cg()||{};void 0===hy[py]&&(hy[py]=0);var my=!1;function gy(e){if(!my){var t=Dm.getInstance();t&&t.onReset&&t.onReset(vy),my=!0}return(void 0===e?"id__":e)+hy[py]++}function vy(e){void 0===e&&(e=0),hy[py]=e}var yy=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},r=0,o=e;r<o.length;r++)for(var i=o[r],a=0,l=Array.isArray(i)?i:Object.keys(i);a<l.length;a++){n[l[a]]=1}return n},by=yy(["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"]),_y=yy(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),Cy=yy(_y,by);yy(Cy,["form"]);var wy=yy(Cy,["height","loop","muted","preload","src","width"]);yy(wy,["poster"]),yy(Cy,["start"]),yy(Cy,["value"]);var Sy=yy(Cy,["download","href","hrefLang","media","rel","target","type"]),xy=yy(Cy,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),ky=yy(xy,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),Ey=yy(xy,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]);yy(xy,["form","multiple","required"]),yy(Cy,["selected","value"]),yy(Cy,["cellPadding","cellSpacing"]),yy(Cy,["rowSpan","scope"]),yy(Cy,["colSpan","headers","rowSpan","scope"]),yy(Cy,["span"]),yy(Cy,["span"]),yy(Cy,["acceptCharset","action","encType","encType","method","noValidate","target"]),yy(Cy,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]);var Fy,Iy=yy(Cy,["alt","crossOrigin","height","src","srcSet","useMap","width"]),Ty=Cy;function Py(e,t,n){for(var r=Array.isArray(t),o={},i=0,a=Object.keys(e);i<a.length;i++){var l=a[i];!(!r&&t[l]||r&&t.indexOf(l)>=0||0===l.indexOf("data-")||0===l.indexOf("aria-"))||n&&-1!==(null==n?void 0:n.indexOf(l))||(o[l]=e[l])}return o}function Ry(e){fy(e,{componentDidMount:Dy,componentDidUpdate:My,componentWillUnmount:Oy})}function Dy(){Ay(this.props.componentRef,this)}function My(e){e.componentRef!==this.props.componentRef&&(Ay(e.componentRef,null),Ay(this.props.componentRef,this))}function Oy(){Ay(this.props.componentRef,null)}function Ay(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}var Ly=((Fy={})[dv]=1,Fy[pv]=1,Fy[cv]=1,Fy[fv]=1,Fy[uv]=1,Fy[sv]=1,Fy[tv]=1,Fy[av]=1,Fy[lv]=1,Fy);function Ny(e){return!!Ly[e]}var By="ms-Fabric--isFocusVisible",zy="ms-Fabric--isFocusHidden";function Hy(e,t){e&&(e.classList.add(t?By:zy),e.classList.remove(t?zy:By))}function Vy(e,t,n){var r;n?n.forEach(function(t){return Hy(t.current,e)}):Hy(null===(r=cg(t))||void 0===r?void 0:r.document.body,e)}var Wy=new WeakMap,Uy=new WeakMap;function jy(e,t){var n,r=Wy.get(e);return n=r?r+t:1,Wy.set(e,n),n}function Ky(e){var t=Uy.get(e);if(t)return t;return t={onMouseDown:function(t){return Qy(t,e.registeredProviders)},onPointerDown:function(t){return Zy(t,e.registeredProviders)},onKeyDown:function(t){return Yy(t,e.registeredProviders)},onKeyUp:function(t){return Jy(t,e.registeredProviders)}},Uy.set(e,t),t}var qy=z.createContext(void 0);function Gy(e){var t=z.useContext(qy);z.useEffect(function(){var n,r,o,i,a=cg(null==e?void 0:e.current);if(a&&!0!==(null===(n=a.FabricConfig)||void 0===n?void 0:n.disableFocusRects)){var l,s,u,c,d=a;if((null===(r=null==t?void 0:t.providerRef)||void 0===r?void 0:r.current)&&(null===(i=null===(o=null==t?void 0:t.providerRef)||void 0===o?void 0:o.current)||void 0===i?void 0:i.addEventListener)){d=t.providerRef.current;var f=Ky(t);l=f.onMouseDown,s=f.onPointerDown,u=f.onKeyDown,c=f.onKeyUp}else l=Qy,s=Zy,u=Yy,c=Jy;var p=jy(d,1);return p<=1&&(d.addEventListener("mousedown",l,!0),d.addEventListener("pointerdown",s,!0),d.addEventListener("keydown",u,!0),d.addEventListener("keyup",c,!0)),function(){var e;a&&!0!==(null===(e=a.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&0===(p=jy(d,-1))&&(d.removeEventListener("mousedown",l,!0),d.removeEventListener("pointerdown",s,!0),d.removeEventListener("keydown",u,!0),d.removeEventListener("keyup",c,!0))}}},[t,e])}var $y=function(e){return Gy(e.rootRef),null};function Qy(e,t){Vy(!1,e.target,t)}function Zy(e,t){"mouse"!==e.pointerType&&Vy(!1,e.target,t)}function Yy(e,t){Ny(e.which)&&Vy(!0,e.target,t)}function Jy(e,t){Ny(e.which)&&Vy(!0,e.target,t)}var Xy,eb=function(e){var t=e.providerRef,n=e.layerRoot,r=z.useState([])[0],o=z.useContext(qy),i=void 0!==o&&!n,a=z.useMemo(function(){return i?void 0:{providerRef:t,registeredProviders:r,registerProvider:function(e){r.push(e),null==o||o.registerProvider(e)},unregisterProvider:function(e){null==o||o.unregisterProvider(e);var t=r.indexOf(e);t>=0&&r.splice(t,1)}}},[t,r,o,i]);return z.useEffect(function(){if(a)return a.registerProvider(a.providerRef),function(){return a.unregisterProvider(a.providerRef)}},[a]),a?z.createElement(qy.Provider,{value:a},e.children):z.createElement(z.Fragment,null,e.children)};var tb="language";function nb(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++){rb(e||{},o[r])}return e}function rb(e,t,n){for(var r in void 0===n&&(n=[]),n.push(t),t)if(t.hasOwnProperty(r)&&"__proto__"!==r&&"constructor"!==r&&"prototype"!==r){var o=t[r];if("object"!=typeof o||null===o||Array.isArray(o))e[r]=o;else{var i=n.indexOf(o)>-1;e[r]=i?o:rb(e[r]||{},o,n)}}return n.pop(),e}var ob,ib=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)},ab=["TEMPLATE","STYLE","SCRIPT"];function lb(e){var t=_g(e);if(!t)return function(){};for(var n=[];e!==t.body&&e.parentElement;){for(var r=0,o=e.parentElement.children;r<o.length;r++){var i=o[r],a=i.getAttribute("aria-hidden");i!==e&&"true"!==(null==a?void 0:a.toLowerCase())&&-1===ab.indexOf(i.tagName)&&n.push([i,a])}e=e.parentElement}return n.forEach(function(e){e[0].setAttribute("aria-hidden","true")}),function(){!function(e){e.forEach(function(e){var t=e[0],n=e[1];n?t.setAttribute("aria-hidden",n):t.removeAttribute("aria-hidden")})}(n),n=[]}}function sb(e){var t;if(void 0===ob||e){var n=cg(),r=null===(t=null==n?void 0:n.navigator)||void 0===t?void 0:t.userAgent;ob=!!r&&-1!==r.indexOf("Macintosh")}return!!ob}var ub=Av(function(e){return Av(function(t){var n=Av(function(e){return function(n){return t(n,e)}});return function(r,o){return e(r,o?n(o):t)}})});function cb(e,t){return ub(e)(t)}var db=["theme","styles"];function fb(e,t,n,r,o){var i=(r=r||{scope:"",fields:void 0}).scope,a=r.fields,l=void 0===a?db:a,s=z.forwardRef(function(r,o){var a=z.useRef(void 0),s=dy(l,i),u=s.styles;s.dir;var c=um(s,["styles","dir"]),d=n?n(r):void 0,f=ty().useStyled,p=a.current&&a.current.__cachedInputs__||[],h=r.styles;if(!a.current||u!==p[1]||h!==p[2]){var m=function(e){return ig(e,t,u,h)};m.__cachedInputs__=[t,u,h],m.__noStyleOverride__=!u&&!h,a.current=m}return a.current.__shadowConfig__=f(i),z.createElement(e,sm({ref:o},c,d,r,{styles:a.current}))});s.displayName="Styled".concat(e.displayName||e.name);var u=o?z.memo(s):s;return s.displayName&&(u.displayName=s.displayName),u}var pb=function(){var e,t=cg();return!!(null===(e=null==t?void 0:t.navigator)||void 0===e?void 0:e.userAgent)&&t.navigator.userAgent.indexOf("rv:11.0")>-1};function hb(e,t){for(var n=sm({},t),r=0,o=Object.keys(e);r<o.length;r++){var i=o[r];void 0===n[i]&&(n[i]=e[i])}return n}var mb=function(e){var t={refs:[]};return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.resolver&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t.refs,e)||(t.resolver=function(e){return function(t){for(var n=0,r=e.refs;n<r.length;n++){var o=r[n];"function"==typeof o?o(t):o&&(o.current=t)}}}(t)),t.refs=e,t.resolver}},gb=sg()?z.useLayoutEffect:z.useEffect,vb=Yg.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),yb=Dm.getInstance();yb&&yb.onReset&&yb.onReset(function(){for(var e in vb)vb.hasOwnProperty(e)&&vb[e].subset&&(vb[e].subset.className=void 0)});var bb=function(e){return e.toLowerCase()};function _b(e,t){var n=sm(sm({},e),{isRegistered:!1,className:void 0}),r=e.icons;for(var o in t=t?sm(sm({},vb.__options),t):vb.__options,r)if(r.hasOwnProperty(o)){var i=r[o],a=bb(o);vb[a]?xb(o):vb[a]={code:i,subset:n}}}function Cb(e,t){vb.__remapped[bb(e)]=bb(t)}var wb=[],Sb=void 0;function xb(e){var t=vb.__options;t.disableWarnings||(wb.push(e),void 0===Sb&&(Sb=setTimeout(function(){jg("Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include: \n"+wb.slice(0,10).join(", ")+(wb.length>10?" (+ ".concat(wb.length-10," more)"):"")),Sb=void 0,wb=[]},2e3)))}function kb(e,t,n,r,o){return void 0===o&&(o=!1),function(e,t){var n="";!0===t&&(n=" /* @deprecated */");return e.listTextColor=e.listText+n,e.menuItemBackgroundChecked+=n,e.warningHighlight+=n,e.warningText=e.messageText+n,e.successText+=n,e}(Eb(e,t,sm({primaryButtonBorder:"transparent",errorText:r?"#F1707B":"#a4262c",messageText:r?"#F3F2F1":"#323130",messageLink:r?"#6CB8F6":"#005A9E",messageLinkHovered:r?"#82C7FF":"#004578",infoIcon:r?"#C8C6C4":"#605e5c",errorIcon:r?"#F1707B":"#A80000",blockingIcon:r?"#442726":"#FDE7E9",warningIcon:r?"#C8C6C4":"#797775",severeWarningIcon:r?"#FCE100":"#D83B01",successIcon:r?"#92C353":"#107C10",infoBackground:r?"#323130":"#f3f2f1",errorBackground:r?"#442726":"#FDE7E9",blockingBackground:r?"#442726":"#FDE7E9",warningBackground:r?"#433519":"#FFF4CE",severeWarningBackground:r?"#4F2A0F":"#FED9CC",successBackground:r?"#393D1B":"#DFF6DD",warningHighlight:r?"#fff100":"#ffb900",successText:r?"#92c353":"#107C10"},n),r),o)}function Eb(e,t,n,r,o){var i={},a=e||{},l=a.white,s=a.black,u=a.themePrimary,c=a.themeDark,d=a.themeDarker,f=a.themeDarkAlt,p=a.themeLighter,h=a.neutralLight,m=a.neutralLighter,g=a.neutralDark,v=a.neutralQuaternary,y=a.neutralQuaternaryAlt,b=a.neutralPrimary,_=a.neutralSecondary,C=a.neutralSecondaryAlt,w=a.neutralTertiary,S=a.neutralTertiaryAlt,x=a.neutralLighterAlt,k=a.accent;return l&&(i.bodyBackground=l,i.bodyFrameBackground=l,i.accentButtonText=l,i.buttonBackground=l,i.primaryButtonText=l,i.primaryButtonTextHovered=l,i.primaryButtonTextPressed=l,i.inputBackground=l,i.inputForegroundChecked=l,i.listBackground=l,i.menuBackground=l,i.cardStandoutBackground=l),s&&(i.bodyTextChecked=s,i.buttonTextCheckedHovered=s),u&&(i.link=u,i.primaryButtonBackground=u,i.inputBackgroundChecked=u,i.inputIcon=u,i.inputFocusBorderAlt=u,i.menuIcon=u,i.menuHeader=u,i.accentButtonBackground=u),c&&(i.primaryButtonBackgroundPressed=c,i.inputBackgroundCheckedHovered=c,i.inputIconHovered=c),d&&(i.linkHovered=d),f&&(i.primaryButtonBackgroundHovered=f),p&&(i.inputPlaceholderBackgroundChecked=p),h&&(i.bodyBackgroundChecked=h,i.bodyFrameDivider=h,i.bodyDivider=h,i.variantBorder=h,i.buttonBackgroundCheckedHovered=h,i.buttonBackgroundPressed=h,i.listItemBackgroundChecked=h,i.listHeaderBackgroundPressed=h,i.menuItemBackgroundPressed=h,i.menuItemBackgroundChecked=h),m&&(i.bodyBackgroundHovered=m,i.buttonBackgroundHovered=m,i.buttonBackgroundDisabled=m,i.buttonBorderDisabled=m,i.primaryButtonBackgroundDisabled=m,i.disabledBackground=m,i.listItemBackgroundHovered=m,i.listHeaderBackgroundHovered=m,i.menuItemBackgroundHovered=m),v&&(i.primaryButtonTextDisabled=v,i.disabledSubtext=v),y&&(i.listItemBackgroundCheckedHovered=y),w&&(i.disabledBodyText=w,i.variantBorderHovered=(null==n?void 0:n.variantBorderHovered)||w,i.buttonTextDisabled=w,i.inputIconDisabled=w,i.disabledText=w),b&&(i.bodyText=b,i.actionLink=b,i.buttonText=b,i.inputBorderHovered=b,i.inputText=b,i.listText=b,i.menuItemText=b),x&&(i.bodyStandoutBackground=x,i.defaultStateBackground=x),g&&(i.actionLinkHovered=g,i.buttonTextHovered=g,i.buttonTextChecked=g,i.buttonTextPressed=g,i.inputTextHovered=g,i.menuItemTextHovered=g),_&&(i.bodySubtext=_,i.focusBorder=_,i.inputBorder=_,i.smallInputBorder=_,i.inputPlaceholderText=_),C&&(i.buttonBorder=C),S&&(i.disabledBodySubtext=S,i.disabledBorder=S,i.buttonBackgroundChecked=S,i.menuDivider=S),k&&(i.accentButtonBackground=k),(null==t?void 0:t.elevation4)&&(i.cardShadow=t.elevation4),!r&&(null==t?void 0:t.elevation8)?i.cardShadowHovered=t.elevation8:i.variantBorderHovered&&(i.cardShadowHovered="0 0 1px "+i.variantBorderHovered),i=sm(sm({},i),n)}var Fb,Ib={themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#0078d4",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",neutralDark:"#201f1e",neutralPrimary:"#323130",neutralPrimaryAlt:"#3b3a39",neutralSecondary:"#605e5c",neutralSecondaryAlt:"#8a8886",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#c8c6c4",neutralQuaternary:"#d2d0ce",neutralQuaternaryAlt:"#e1dfdd",neutralLight:"#edebe9",neutralLighter:"#f3f2f1",neutralLighterAlt:"#faf9f8",accent:"#0078d4",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellowDark:"#d29200",yellow:"#ffb900",yellowLight:"#fff100",orange:"#d83b01",orangeLight:"#ea4300",orangeLighter:"#ff8c00",redDark:"#a4262c",red:"#e81123",magentaDark:"#5c005c",magenta:"#b4009e",magentaLight:"#e3008c",purpleDark:"#32145a",purple:"#5c2d91",purpleLight:"#b4a0ff",blueDark:"#002050",blueMid:"#00188f",blue:"#0078d4",blueLight:"#00bcf2",tealDark:"#004b50",teal:"#008272",tealLight:"#00b294",greenDark:"#004b1c",green:"#107c10",greenLight:"#bad80a"};!function(e){e.depth0="0 0 0 0 transparent",e.depth4="0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",e.depth8="0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",e.depth16="0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",e.depth64="0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)"}(Fb||(Fb={}));var Tb,Pb,Rb,Db,Mb,Ob={elevation4:Fb.depth4,elevation8:Fb.depth8,elevation16:Fb.depth16,elevation64:Fb.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"},Ab={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"},Lb="cubic-bezier(.1,.9,.2,1)",Nb="cubic-bezier(.1,.25,.75,.9)",Bb="0.167s",zb="0.267s",Hb="0.367s",Vb="0.467s",Wb=lg({from:{opacity:0},to:{opacity:1}}),Ub=lg({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),jb=x_(-10),Kb=x_(-20),qb=x_(-40),Gb=x_(-400),$b=x_(10),Qb=x_(20),Zb=x_(40),Yb=x_(400),Jb=k_(10),Xb=k_(20),e_=k_(-10),t_=k_(-20),n_=E_(10),r_=E_(20),o_=E_(40),i_=E_(400),a_=E_(-10),l_=E_(-20),s_=E_(-40),u_=E_(-400),c_=F_(-10),d_=F_(-20),f_=F_(10),p_=F_(20),h_=lg({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),m_=lg({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),g_=lg({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),v_=lg({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),y_=lg({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),b_=lg({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),__=Nb,C_=Hb,w_={slideRightIn10:S_("".concat(Wb,",").concat(jb),Hb,Lb),slideRightIn20:S_("".concat(Wb,",").concat(Kb),Hb,Lb),slideRightIn40:S_("".concat(Wb,",").concat(qb),Hb,Lb),slideRightIn400:S_("".concat(Wb,",").concat(Gb),Hb,Lb),slideLeftIn10:S_("".concat(Wb,",").concat($b),Hb,Lb),slideLeftIn20:S_("".concat(Wb,",").concat(Qb),Hb,Lb),slideLeftIn40:S_("".concat(Wb,",").concat(Zb),Hb,Lb),slideLeftIn400:S_("".concat(Wb,",").concat(Yb),Hb,Lb),slideUpIn10:S_("".concat(Wb,",").concat(Jb),Hb,Lb),slideUpIn20:S_("".concat(Wb,",").concat(Xb),Hb,Lb),slideDownIn10:S_("".concat(Wb,",").concat(e_),Hb,Lb),slideDownIn20:S_("".concat(Wb,",").concat(t_),Hb,Lb),slideRightOut10:S_("".concat(Ub,",").concat(n_),Hb,Lb),slideRightOut20:S_("".concat(Ub,",").concat(r_),Hb,Lb),slideRightOut40:S_("".concat(Ub,",").concat(o_),Hb,Lb),slideRightOut400:S_("".concat(Ub,",").concat(i_),Hb,Lb),slideLeftOut10:S_("".concat(Ub,",").concat(a_),Hb,Lb),slideLeftOut20:S_("".concat(Ub,",").concat(l_),Hb,Lb),slideLeftOut40:S_("".concat(Ub,",").concat(s_),Hb,Lb),slideLeftOut400:S_("".concat(Ub,",").concat(u_),Hb,Lb),slideUpOut10:S_("".concat(Ub,",").concat(c_),Hb,Lb),slideUpOut20:S_("".concat(Ub,",").concat(d_),Hb,Lb),slideDownOut10:S_("".concat(Ub,",").concat(f_),Hb,Lb),slideDownOut20:S_("".concat(Ub,",").concat(p_),Hb,Lb),scaleUpIn100:S_("".concat(Wb,",").concat(h_),Hb,Lb),scaleDownIn100:S_("".concat(Wb,",").concat(g_),Hb,Lb),scaleUpOut103:S_("".concat(Ub,",").concat(v_),Bb,Nb),scaleDownOut98:S_("".concat(Ub,",").concat(m_),Bb,Nb),fadeIn100:S_(Wb,Bb,Nb),fadeIn200:S_(Wb,zb,Nb),fadeIn400:S_(Wb,Hb,Nb),fadeIn500:S_(Wb,Vb,Nb),fadeOut100:S_(Ub,Bb,Nb),fadeOut200:S_(Ub,zb,Nb),fadeOut400:S_(Ub,Hb,Nb),fadeOut500:S_(Ub,Vb,Nb),rotate90deg:S_(y_,"0.1s",Nb),rotateN90deg:S_(b_,"0.1s",Nb)};function S_(e,t,n){return{animationName:e,animationDuration:t,animationTimingFunction:n,animationFillMode:"both"}}function x_(e){return lg({from:{transform:"translate3d(".concat(e,"px,0,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function k_(e){return lg({from:{transform:"translate3d(0,".concat(e,"px,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function E_(e){return lg({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(".concat(e,"px,0,0)")}})}function F_(e){return lg({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,".concat(e,"px,0)")}})}!function(e){e.Arabic="Segoe UI Web (Arabic)",e.Cyrillic="Segoe UI Web (Cyrillic)",e.EastEuropean="Segoe UI Web (East European)",e.Greek="Segoe UI Web (Greek)",e.Hebrew="Segoe UI Web (Hebrew)",e.Thai="Leelawadee UI Web",e.Vietnamese="Segoe UI Web (Vietnamese)",e.WestEuropean="Segoe UI Web (West European)",e.Selawik="Selawik Web",e.Armenian="Segoe UI Web (Armenian)",e.Georgian="Segoe UI Web (Georgian)"}(Tb||(Tb={})),function(e){e.Arabic="'".concat(Tb.Arabic,"'"),e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'".concat(Tb.Cyrillic,"'"),e.EastEuropean="'".concat(Tb.EastEuropean,"'"),e.Greek="'".concat(Tb.Greek,"'"),e.Hebrew="'".concat(Tb.Hebrew,"'"),e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'".concat(Tb.Selawik,"'"),e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'".concat(Tb.Vietnamese,"'"),e.WestEuropean="'".concat(Tb.WestEuropean,"'"),e.Armenian="'".concat(Tb.Armenian,"'"),e.Georgian="'".concat(Tb.Georgian,"'")}(Pb||(Pb={})),function(e){e.size10="10px",e.size12="12px",e.size14="14px",e.size16="16px",e.size18="18px",e.size20="20px",e.size24="24px",e.size28="28px",e.size32="32px",e.size42="42px",e.size68="68px",e.mini="10px",e.xSmall="10px",e.small="12px",e.smallPlus="12px",e.medium="14px",e.mediumPlus="16px",e.icon="16px",e.large="18px",e.xLarge="20px",e.xLargePlus="24px",e.xxLarge="28px",e.xxLargePlus="32px",e.superLarge="42px",e.mega="68px"}(Rb||(Rb={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(Db||(Db={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(Mb||(Mb={}));var I_="'Segoe UI', '".concat(Tb.WestEuropean,"'"),T_={ar:Pb.Arabic,bg:Pb.Cyrillic,cs:Pb.EastEuropean,el:Pb.Greek,et:Pb.EastEuropean,he:Pb.Hebrew,hi:Pb.Hindi,hr:Pb.EastEuropean,hu:Pb.EastEuropean,ja:Pb.Japanese,kk:Pb.EastEuropean,ko:Pb.Korean,lt:Pb.EastEuropean,lv:Pb.EastEuropean,pl:Pb.EastEuropean,ru:Pb.Cyrillic,sk:Pb.EastEuropean,"sr-latn":Pb.EastEuropean,th:Pb.Thai,tr:Pb.EastEuropean,uk:Pb.Cyrillic,vi:Pb.Vietnamese,"zh-hans":Pb.ChineseSimplified,"zh-hant":Pb.ChineseTraditional,hy:Pb.Armenian,ka:Pb.Georgian};function P_(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}var R_,D_,M_,O_=(R_=function(e){if(void 0===e&&(e="sessionStorage"),void 0===Xy){var t=_g(),n="localStorage"===e?function(e){var t=null;try{var n=cg();t=n?n.localStorage.getItem(e):null}catch(e){}return t}(tb):"sessionStorage"===e?yv(tb):void 0;n&&(Xy=n),void 0===Xy&&t&&(Xy=t.documentElement.getAttribute("lang")),void 0===Xy&&(Xy="en")}return Xy}(),D_=function(e){for(var t in T_)if(T_.hasOwnProperty(t)&&e&&0===t.indexOf(e))return T_[t];return I_}(R_),M_="".concat(D_,", ").concat("'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif"),{tiny:P_(Rb.mini,Db.regular,M_),xSmall:P_(Rb.xSmall,Db.regular,M_),small:P_(Rb.small,Db.regular,M_),smallPlus:P_(Rb.smallPlus,Db.regular,M_),medium:P_(Rb.medium,Db.regular,M_),mediumPlus:P_(Rb.mediumPlus,Db.regular,M_),large:P_(Rb.large,Db.regular,M_),xLarge:P_(Rb.xLarge,Db.semibold,M_),xLargePlus:P_(Rb.xLargePlus,Db.semibold,M_),xxLarge:P_(Rb.xxLarge,Db.semibold,M_),xxLargePlus:P_(Rb.xxLargePlus,Db.semibold,M_),superLarge:P_(Rb.superLarge,Db.semibold,M_),mega:P_(Rb.mega,Db.semibold,M_)});function A_(e,t,n,r){ag({fontFamily:e="'".concat(e,"'"),src:(void 0!==r?"local('".concat(r,"'),"):"")+"url('".concat(t,".woff2') format('woff2'),")+"url('".concat(t,".woff') format('woff')"),fontWeight:n,fontStyle:"normal",fontDisplay:"swap"})}function L_(e,t,n,r,o){void 0===r&&(r="segoeui");var i="".concat(e,"/").concat(n,"/").concat(r);A_(t,i+"-light",Db.light,o&&o+" Light"),A_(t,i+"-semilight",Db.semilight,o&&o+" SemiLight"),A_(t,i+"-regular",Db.regular,o),A_(t,i+"-semibold",Db.semibold,o&&o+" SemiBold"),A_(t,i+"-bold",Db.bold,o&&o+" Bold")}function N_(e,t){void 0===e&&(e={}),void 0===t&&(t=!1);var n=!!e.isInverted;return function(e,t){var n,r,o;void 0===t&&(t={});var i=nb({},e,t,{semanticColors:Eb(t.palette,t.effects,t.semanticColors,void 0===t.isInverted?e.isInverted:t.isInverted)});if((null===(n=t.palette)||void 0===n?void 0:n.themePrimary)&&!(null===(r=t.palette)||void 0===r?void 0:r.accent)&&(i.palette.accent=t.palette.themePrimary),t.defaultFontStyle)for(var a=0,l=Object.keys(i.fonts);a<l.length;a++){var s=l[a];i.fonts[s]=nb(i.fonts[s],t.defaultFontStyle,null===(o=null==t?void 0:t.fonts)||void 0===o?void 0:o[s])}return i}({palette:Ib,effects:Ob,fonts:O_,spacing:Ab,isInverted:n,disableGlobalClassNames:!1,semanticColors:kb(Ib,Ob,void 0,n,t),rtl:void 0},e)}!function(e){if(e){var t="".concat(e,"/fonts");L_(t,Tb.Thai,"leelawadeeui-thai","leelawadeeui"),L_(t,Tb.Arabic,"segoeui-arabic"),L_(t,Tb.Cyrillic,"segoeui-cyrillic"),L_(t,Tb.EastEuropean,"segoeui-easteuropean"),L_(t,Tb.Greek,"segoeui-greek"),L_(t,Tb.Hebrew,"segoeui-hebrew"),L_(t,Tb.Vietnamese,"segoeui-vietnamese"),L_(t,Tb.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),L_(t,Pb.Selawik,"selawik","selawik"),L_(t,Tb.Armenian,"segoeui-armenian"),L_(t,Tb.Georgian,"segoeui-georgian"),A_("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-semilight"),Db.light),A_("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-bold"),Db.semibold)}}(function(){var e,t,n=null===(e=cg())||void 0===e?void 0:e.FabricConfig;return null!==(t=null==n?void 0:n.fontBaseUrl)&&void 0!==t?t:"https://res-1.cdn.office.net/files/fabric-cdn-prod_20230815.002/assets"}());var B_,z_="@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)",H_=480,V_=1366;function W_(e,t){var n="number"==typeof e?" and (min-width: ".concat(e,"px)"):"",r="number"==typeof t?" and (max-width: ".concat(t,"px)"):"";return"@media only screen".concat(n).concat(r)}function U_(e,t,n,r,o,i,a,l){return j_(e,"number"!=typeof t&&t?t:{inset:t,position:n,highContrastStyle:r,borderColor:o,outlineColor:i,isFocusedOnly:a,borderRadius:l})}function j_(e,t){var n,r;void 0===t&&(t={});var o=t.borderRadius,i=t.inset,a=void 0===i?0:i,l=t.width,s=void 0===l?1:l,u=t.position,c=void 0===u?"relative":u,d=t.highContrastStyle,f=t.borderColor,p=void 0===f?e.palette.white:f,h=t.outlineColor,m=void 0===h?e.palette.neutralSecondary:h,g=t.isFocusedOnly,v=void 0===g||g,y=t.pointerEvents;return{outline:"transparent",position:c,selectors:(n={"::-moz-focus-inner":{border:"0"}},n[".".concat(By," &").concat(v?":focus":"",":after, :host(.").concat(By,") &").concat(v?":focus":"",":after")]={content:'""',position:"absolute",pointerEvents:y,left:a+1,top:a+1,bottom:a+1,right:a+1,border:"".concat(s,"px solid ").concat(p),outline:"".concat(s,"px solid ").concat(m),zIndex:B_.FocusStyle,borderRadius:o,selectors:(r={},r[z_]=d,r)},n)}}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(B_||(B_={}));var K_=function(e,t,n,r){var o,i,a;void 0===n&&(n="border"),void 0===r&&(r=-1);var l="borderBottom"===n;return{borderColor:e,selectors:{":after":(o={pointerEvents:"none",content:"''",position:"absolute",left:l?0:r,top:r,bottom:r,right:l?0:r},o[n]="2px solid ".concat(e),o.borderRadius=t,o.width="borderBottom"===n?"100%":void 0,o.selectors=(i={},i[z_]=(a={},a["border"===n?"borderColor":"borderBottomColor"]="Highlight",a),i),o)}}},q_={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden",whiteSpace:"nowrap"},G_=Ov(function(e,t){var n=Dm.getInstance();return t?Object.keys(e).reduce(function(t,r){return t[r]=n.getClassName(e[r]),t},{}):e});function $_(e,t,n){return G_(e,void 0!==n?n:t.disableGlobalClassNames)}var Q_=function(){return Q_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Q_.apply(this,arguments)},Z_="undefined"==typeof window?global:window,Y_=Z_&&Z_.CSPSettings&&Z_.CSPSettings.nonce,J_=function(){var e=Z_.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};e.runState||(e=Q_(Q_({},e),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}}));e.registeredThemableStyles||(e=Q_(Q_({},e),{registeredThemableStyles:[]}));return Z_.__themeState__=e,e}();function X_(e,t){J_.loadStyles?J_.loadStyles(nC(e).styleString,e):function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),r=nC(e),o=r.styleString,i=r.themable;n.setAttribute("data-load-themed-styles","true"),Y_&&n.setAttribute("nonce",Y_);n.appendChild(document.createTextNode(o)),J_.perf.count++,t.appendChild(n);var a=document.createEvent("HTMLEvents");a.initEvent("styleinsert",!0,!1),a.args={newStyle:n},document.dispatchEvent(a);var l={styleElement:n,themableStyle:e};i?J_.registeredThemableStyles.push(l):J_.registeredStyles.push(l)}(e)}function eC(e){J_.theme=e,function(){if(J_.theme){for(var e=[],t=0,n=J_.registeredThemableStyles;t<n.length;t++){var r=n[t];e.push(r.themableStyle)}e.length>0&&(!function(e){void 0===e&&(e=3);3!==e&&2!==e||(tC(J_.registeredStyles),J_.registeredStyles=[]);3!==e&&1!==e||(tC(J_.registeredThemableStyles),J_.registeredThemableStyles=[])}(1),X_([].concat.apply([],e)))}}()}function tC(e){e.forEach(function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)})}function nC(e){var t=J_.theme,n=!1;return{styleString:(e||[]).map(function(e){var r=e.theme;if(r){n=!0;var o=t?t[r]:void 0,i=e.defaultValue||"inherit";return t&&!o&&console&&!(r in t)&&"undefined"!=typeof DEBUG&&DEBUG&&console.warn('Theming value not provided for "'.concat(r,'". Falling back to "').concat(i,'".')),o||i}return e.rawString}).join(""),themable:n}}var rC=N_({}),oC=[],iC="theme";function aC(){var e,t,n,r=cg();(null===(t=null==r?void 0:r.FabricConfig)||void 0===t?void 0:t.legacyTheme)?function(e,t){var n;void 0===t&&(t=!1);rC=N_(e,t),eC(sm(sm(sm(sm({},rC.palette),rC.semanticColors),rC.effects),function(e){for(var t={},n=0,r=Object.keys(e.fonts);n<r.length;n++)for(var o=r[n],i=e.fonts[o],a=0,l=Object.keys(i);a<l.length;a++){var s=l[a],u=o+s.charAt(0).toUpperCase()+s.slice(1),c=i[s];"fontSize"===s&&"number"==typeof c&&(c+="px"),t[u]=c}return t}(rC))),jv.applySettings((n={},n[iC]=rC,n)),oC.forEach(function(e){try{e(rC)}catch(e){}})}(r.FabricConfig.legacyTheme):jv.getSettings([iC]).theme||((null===(n=null==r?void 0:r.FabricConfig)||void 0===n?void 0:n.theme)&&(rC=N_(r.FabricConfig.theme)),jv.applySettings(((e={})[iC]=rC,e)))}aC();var lC={boxShadow:"none",margin:0,padding:0,boxSizing:"border-box"};function sC(e){return{selectors:{"::placeholder":e,":-ms-input-placeholder":e,"::-ms-input-placeholder":e}}}var uC=function(e){var t={},n=function(n){var r;e.hasOwnProperty(n)&&Object.defineProperty(t,n,{get:function(){return void 0===r&&(r=tg(e[n]).toString()),r},enumerable:!0,configurable:!0})};for(var r in e)n(r);return t}(w_);hm("@fluentui/style-utilities","8.15.0"),aC();var cC,dC,fC,pC=0,hC=1,mC=2,gC=3,vC=4,yC=5,bC=6,_C=7,CC=8,wC=9,SC=10,xC=11,kC=12,EC=13;function FC(e,t,n){return{targetEdge:e,alignmentEdge:t,isAuto:n}}!function(e){e[e.top=1]="top",e[e.bottom=-1]="bottom",e[e.left=2]="left",e[e.right=-2]="right"}(cC||(cC={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(dC||(dC={}));var IC=((fC={})[pC]=FC(cC.top,cC.left),fC[hC]=FC(cC.top),fC[mC]=FC(cC.top,cC.right),fC[gC]=FC(cC.top,void 0,!0),fC[vC]=FC(cC.bottom,cC.left),fC[yC]=FC(cC.bottom),fC[bC]=FC(cC.bottom,cC.right),fC[_C]=FC(cC.bottom,void 0,!0),fC[CC]=FC(cC.left,cC.top),fC[wC]=FC(cC.left),fC[SC]=FC(cC.left,cC.bottom),fC[xC]=FC(cC.right,cC.top),fC[kC]=FC(cC.right),fC[EC]=FC(cC.right,cC.bottom),fC);function TC(e,t){return!(e.top<t.top)&&(!(e.bottom>t.bottom)&&(!(e.left<t.left)&&!(e.right>t.right)))}function PC(e,t){var n=[];return e.top<t.top&&n.push(cC.top),e.bottom>t.bottom&&n.push(cC.bottom),e.left<t.left&&n.push(cC.left),e.right>t.right&&n.push(cC.right),n}function RC(e,t){return e[cC[t]]}function DC(e,t,n){return e[cC[t]]=n,e}function MC(e,t){var n=qC(t);return(RC(e,n.positiveEdge)+RC(e,n.negativeEdge))/2}function OC(e,t){return e>0?t:-1*t}function AC(e,t){return OC(e,RC(t,e))}function LC(e,t,n){return OC(n,RC(e,n)-RC(t,n))}function NC(e,t,n,r){void 0===r&&(r=!0);var o=RC(e,t)-n,i=DC(e,t,n);return r&&(i=DC(e,-1*t,RC(e,-1*t)-o)),i}function BC(e,t,n,r){return void 0===r&&(r=0),NC(e,n,RC(t,n)+OC(n,r))}function zC(e,t,n){return AC(n,e)>AC(n,t)}function HC(e,t){for(var n=0,r=0,o=PC(e,t);r<o.length;r++){var i=o[r];n+=Math.pow(LC(e,t,i),2)}return n}function VC(e,t,n,r){return void 0===r&&(r=200),(n===cC.bottom||n===cC.top)&&LC(e,t,n)>=r}function WC(e,t,n,r,o,i,a,l,s){void 0===o&&(o=!1),void 0===a&&(a=0);var u=r.alignmentEdge,c=r.alignTargetEdge,d={elementRectangle:e,targetEdge:r.targetEdge,alignmentEdge:u};l||s||(d=function(e,t,n,r,o,i,a){void 0===o&&(o=!1),void 0===a&&(a=0);var l=[cC.left,cC.right,cC.bottom,cC.top];Cv()&&(l[0]*=-1,l[1]*=-1);for(var s,u=e,c=r.targetEdge,d=r.alignmentEdge,f=c,p=d,h=0;h<4;h++){if(zC(u,n,c))return{elementRectangle:u,targetEdge:c,alignmentEdge:d};if(o&&VC(t,n,c,i)){switch(c){case cC.bottom:u.bottom=n.bottom;break;case cC.top:u.top=n.top}return{elementRectangle:u,targetEdge:c,alignmentEdge:d,forcedInBounds:!0}}var m=HC(u,n);(!s||m<s)&&(s=m,f=c,p=d),l.splice(l.indexOf(c),1),l.length>0&&(l.indexOf(-1*c)>-1?c*=-1:(d=c,c=l.slice(-1)[0]),u=KC(e,t,{targetEdge:c,alignmentEdge:d},a))}return{elementRectangle:u=KC(e,t,{targetEdge:f,alignmentEdge:p},a),targetEdge:f,alignmentEdge:p}}(e,t,n,r,o,i,a));var f=PC(d.elementRectangle,n),p=l?-d.targetEdge:void 0;if(f.length>0)if(c)if(d.alignmentEdge&&f.indexOf(-1*d.alignmentEdge)>-1){var h=function(e,t,n,r){var o=e.alignmentEdge,i=e.targetEdge,a=-1*o;return{elementRectangle:KC(e.elementRectangle,t,{targetEdge:i,alignmentEdge:a},n,r),targetEdge:i,alignmentEdge:a}}(d,t,a,s);if(TC(h.elementRectangle,n))return h;d=UC(PC(h.elementRectangle,n),d,n,p)}else d=UC(f,d,n,p);else d=UC(f,d,n,p);return d}function UC(e,t,n,r){for(var o=0,i=e;o<i.length;o++){var a=i[o],l=void 0;if(r&&r===-1*a)l=NC(t.elementRectangle,a,RC(n,a),!1),t.forcedInBounds=!0;else zC(l=BC(t.elementRectangle,n,a),n,-1*a)||(l=NC(l,-1*a,RC(n,-1*a),!1),t.forcedInBounds=!0);t.elementRectangle=l}return t}function jC(e,t,n){var r=qC(t).positiveEdge;return NC(e,r,n-(MC(e,t)-RC(e,r)))}function KC(e,t,n,r,o){void 0===r&&(r=0);var i=new hv(e.left,e.right,e.top,e.bottom),a=n.alignmentEdge,l=n.targetEdge,s=o?l:-1*l;(i=o?BC(i,t,l,r):function(e,t,n,r){void 0===r&&(r=0);var o=OC(-1*n,r);return NC(e,-1*n,RC(t,n)+o)}(i,t,l,r),a)?i=BC(i,t,a):i=jC(i,s,MC(t,l));return i}function qC(e){return e===cC.top||e===cC.bottom?{positiveEdge:cC.left,negativeEdge:cC.right}:{positiveEdge:cC.top,negativeEdge:cC.bottom}}function GC(e,t,n){return n&&Math.abs(LC(e,n,t))>Math.abs(LC(e,n,-1*t))?-1*t:t}function $C(e,t,n,r,o,i,a,l){var s,u={},c=ZC(t),d=i?n:-1*n,f=o||qC(n).positiveEdge;return a&&!function(e,t,n){return void 0!==n&&RC(e,t)===RC(n,t)}(e,(s=f,-1*s),r)||(f=GC(e,f,r)),u[cC[d]]=LC(e,c,d),u[cC[f]]=LC(e,c,f),l&&(u[cC[-1*d]]=LC(e,c,-1*d),u[cC[-1*f]]=LC(e,c,-1*f)),u}function QC(e,t,n){var r=MC(t,e),o=MC(n,e),i=qC(e),a=i.positiveEdge,l=i.negativeEdge;return r<=o?a:l}function ZC(e){var t=e.getBoundingClientRect();return new hv(t.left,t.right,t.top,t.bottom)}function YC(e,t,n,r,o,i){void 0===o&&(o=!1);var a=e.gapSpace?e.gapSpace:0,l=function(e,t){var n;if(t){if(t.preventDefault){var r=t;n=new hv(r.clientX,r.clientX,r.clientY,r.clientY)}else if(t.getBoundingClientRect)n=ZC(t);else{var o=t,i=o.left||o.x,a=o.top||o.y,l=o.right||i,s=o.bottom||a;n=new hv(i,l,a,s)}if(!TC(n,e))for(var u=0,c=PC(n,e);u<c.length;u++){var d=c[u];n[cC[d]]=e[cC[d]]}}else n=new hv(0,0,0,0);return n}(n,e.target),s=function(e,t,n,r,o){return e.isAuto&&(e.alignmentEdge=QC(e.targetEdge,t,n)),e.alignTargetEdge=o,e}(function(e,t,n){if(void 0===e&&(e=_C),n)return{alignmentEdge:n.alignmentEdge,isAuto:n.isAuto,targetEdge:n.targetEdge};var r=sm({},IC[e]);return Cv()?(r.alignmentEdge&&r.alignmentEdge%2==0&&(r.alignmentEdge=-1*r.alignmentEdge),void 0!==t?IC[t]:r):r}(e.directionalHint,e.directionalHintForRTL,r),l,n,e.coverTarget,e.alignTargetEdge),u=function(e,t,n,r,o,i,a,l,s){void 0===i&&(i=!1);var u=KC(e,t,r,o,s);return TC(u,n)?{elementRectangle:u,targetEdge:r.targetEdge,alignmentEdge:r.alignmentEdge}:WC(u,t,n,r,i,a,o,l,s)}(ZC(t),l,n,s,a,o,i,e.directionalHintFixed,e.coverTarget);return sm(sm({},u),{targetRectangle:l})}function JC(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=0),function(e){return Math.sqrt(e*e*2)}(e?t:0)/2+n}function XC(e,t,n,r,o,i,a,l){void 0===o&&(o=!1);var s=null!=l?l:cg(),u=e.isBeakVisible&&e.beakWidth||0,c=JC(e.isBeakVisible,e.beakWidth,e.gapSpace),d=e;d.gapSpace=c;var f,p,h,m,g,v,y,b,_,C=e.bounds?(f=e.bounds,new hv(f.left,f.right,f.top,f.bottom)):new hv(0,s.innerWidth-function(e){if(void 0===Ng){var t=null!=e?e:_g(),n=t.createElement("div");n.style.setProperty("width","100px"),n.style.setProperty("height","100px"),n.style.setProperty("overflow","scroll"),n.style.setProperty("position","absolute"),n.style.setProperty("top","-9999px"),t.body.appendChild(n),Ng=n.offsetWidth-n.clientWidth,t.body.removeChild(n)}return Ng}(),0,s.innerHeight),w=YC(d,n,C,r,o,i),S=function(e,t){var n=t.targetRectangle,r=qC(t.targetEdge),o=r.positiveEdge,i=r.negativeEdge,a=MC(n,t.targetEdge),l=new hv(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),s=new hv(0,e,0,e);return zC(s=jC(s=NC(s,-1*t.targetEdge,-e/2),-1*t.targetEdge,a-AC(o,t.elementRectangle)),l,o)?zC(s,l,i)||(s=BC(s,l,i)):s=BC(s,l,o),s}(u,w),x=(h=S,m=C,g=-1*(p=w).targetEdge,v=new hv(0,p.elementRectangle.width,0,p.elementRectangle.height),y={},b=GC(p.elementRectangle,p.alignmentEdge?p.alignmentEdge:qC(g).positiveEdge,m),_=LC(p.elementRectangle,p.targetRectangle,g)>Math.abs(RC(h,g)),y[cC[g]]=RC(h,g),y[cC[b]]=LC(h,v,b),{elementPosition:sm({},y),closestEdge:QC(p.targetEdge,h,v),targetEdge:g,hideBeak:!_});return sm(sm({},function(e,t,n,r,o){return{elementPosition:$C(e.elementRectangle,t,e.targetEdge,n,e.alignmentEdge,r,o,e.forcedInBounds),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}(w,t,C,e.coverTarget,a)),{beakPosition:x})}function ew(e,t,n,r,o){return function(e,t,n,r,o){return XC(e,t,n,r,!1,void 0,!0,null!=o?o:cg())}(e,t,n,r,o)}function tw(e){return function(e){var t,n,r,o,i=e,a=e,l=e,s=null!==(t=l.left)&&void 0!==t?t:l.x,u=null!==(n=l.top)&&void 0!==n?n:l.y,c=null!==(r=l.right)&&void 0!==r?r:s,d=null!==(o=l.bottom)&&void 0!==o?o:u;return i.stopPropagation?new hv(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==s&&void 0!==u?new hv(s,c,u,d):ZC(a)}(e)}function nw(){var e=z.useRef(void 0);return e.current||(e.current=new dg),z.useEffect(function(){return function(){var t;null===(t=e.current)||void 0===t||t.dispose(),e.current=void 0}},[]),e.current}function rw(e){var t=z.useRef(void 0);return void 0===t.current&&(t.current={value:"function"==typeof e?e():e}),t.current.value}function ow(e,t,n){var r=z.useState(t),o=r[0],i=r[1],a=rw(void 0!==e),l=a?e:o,s=z.useRef(l),u=z.useRef(n);z.useEffect(function(){s.current=l,u.current=n});var c=rw(function(){return function(e,t){var n="function"==typeof e?e(s.current):e;u.current&&u.current(t,n),a||i(n)}});return[l,c]}function iw(e){var t=z.useRef(function(){throw new Error("Cannot call an event handler while rendering")});return gb(function(){t.current=e},[e]),rw(function(){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.current.apply(void 0,e)}})}function aw(e,t){var n=z.useRef(t);return n.current||(n.current=gy(e)),n.current}function lw(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=z.useCallback(function(t){n.current=t;for(var r=0,o=e;r<o.length;r++){var i=o[r];"function"==typeof i?i(t):i&&(i.current=t)}},dm([],e,!0));return n}function sw(e,t,n,r){var o=z.useRef(n);o.current=n,z.useEffect(function(){var n=e&&"current"in e?e.current:e;if(n&&n.addEventListener)return Mg(n,t,function(e){return o.current(e)},r)},[e,t,r])}function uw(e){var t=z.useRef(void 0);return z.useEffect(function(){t.current=e}),t.current}function cw(e,t){var n,r,o,i=z.useRef(void 0),a=z.useRef(null),l=ay();if(!e||e!==i.current||"string"==typeof e){var s=null==t?void 0:t.current;if(e)if("string"==typeof e)if(null===(n=null==s?void 0:s.getRootNode())||void 0===n?void 0:n.host)a.current=null!==(o=null===(r=null==s?void 0:s.getRootNode())||void 0===r?void 0:r.querySelector(e))&&void 0!==o?o:null;else{var u=_g(s);a.current=u?u.querySelector(e):null}else a.current="stopPropagation"in e||"getBoundingClientRect"in e?e:"current"in e?e.current:e;i.current=e}return[a,l]}function dw(e){var t=e.originalElement,n=e.containsFocus;t&&n&&t!==cg()&&setTimeout(function(){var e;null===(e=t.focus)||void 0===e||e.call(t)},0)}function fw(e,t){var n=e.onRestoreFocus,r=void 0===n?dw:n,o=z.useRef(void 0),i=z.useRef(!1);z.useEffect(function(){var e,n,a;return o.current=_g().activeElement,e=t.current,n=_g(e),(a=n&&n.activeElement)&&hg(e,a)&&(i.current=!0),function(){var e;null==r||r({originalElement:o.current,containsFocus:i.current,documentContainsFocus:(null===(e=_g())||void 0===e?void 0:e.hasFocus())||!1}),o.current=void 0}},[]),sw(t,"focus",z.useCallback(function(){i.current=!0},[]),!0),sw(t,"blur",z.useCallback(function(e){t.current&&e.relatedTarget&&!t.current.contains(e.relatedTarget)&&(i.current=!1)},[]),!0)}var pw=z.forwardRef(function(e,t){var n=hb({shouldRestoreFocus:!0,enableAriaHiddenSiblings:!0},e),r=z.useRef(void 0),o=lw(r,t);!function(e,t){var n="true"===String(e["aria-modal"]).toLowerCase()&&e.enableAriaHiddenSiblings;z.useEffect(function(){if(n&&t.current)return lb(t.current)},[t,n])}(n,r),fw(n,r);var i=n.role,a=n.className,l=n.ariaLabel,s=n.ariaLabelledBy,u=n.ariaDescribedBy,c=n.style,d=n.children,f=n.onDismiss,p=function(e,t){var n=nw(),r=z.useState(!1),o=r[0],i=r[1];return z.useEffect(function(){return n.requestAnimationFrame(function(){var n;if(!e.style||!e.style.overflowY){var r=!1;if(t&&t.current&&(null===(n=t.current)||void 0===n?void 0:n.firstElementChild)){var a=t.current.clientHeight,l=t.current.firstElementChild.clientHeight;a>0&&l>a&&(r=l-a>1)}o!==r&&i(r)}}),function(){return n.dispose()}}),o}(n,r),h=z.useCallback(function(e){if(e.which===ov)f&&(f(e),e.preventDefault(),e.stopPropagation())},[f]);return sw(ay(),"keydown",h),z.createElement("div",sm({ref:o},Py(n,Ty),{className:a,role:i,"aria-label":l,"aria-labelledby":s,"aria-describedby":u,onKeyDown:h,style:sm({overflowY:p?"scroll":void 0,outline:"none"},c)}),d)});pw.displayName="Popup";var hw,mw=function(){var e;return null!==(e=ay())&&void 0!==e?e:"undefined"!=typeof window?window:void 0},gw=function(e){var t,n;return null!==(n=null===(t=null==e?void 0:e.window)||void 0===t?void 0:t.document)&&void 0!==n?n:"undefined"!=typeof document?document:void 0},vw=function(e){var t;return null!==(t=null==e?void 0:e.window)&&void 0!==t?t:"undefined"!=typeof window?window:void 0},yw=((hw={})[cC.top]=uC.slideUpIn10,hw[cC.bottom]=uC.slideDownIn10,hw[cC.left]=uC.slideLeftIn10,hw[cC.right]=uC.slideRightIn10,hw),bw=0,_w=0,Cw={opacity:0,filter:"opacity(0)",pointerEvents:"none"},ww=["role","aria-roledescription"],Sw={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:_C},xw=kv({disableCaching:!0});function kw(e,t,n,r){var o,i=e.calloutMaxHeight,a=e.finalHeight,l=e.directionalHint,s=e.directionalHintFixed,u=e.hidden,c=e.gapSpace,d=e.beakWidth,f=e.isBeakVisible,p=e.coverTarget,h=z.useState(),m=h[0],g=h[1],v=null!==(o=null==r?void 0:r.elementPosition)&&void 0!==o?o:{},y=v.top,b=v.bottom,_=(null==n?void 0:n.current)?tw(n.current):void 0;return z.useEffect(function(){var e,n,o=null!==(e=t())&&void 0!==e?e:{},a=o.top,l=o.bottom;(null==r?void 0:r.targetEdge)===cC.top&&(null==_?void 0:_.top)&&!p&&(l=_.top-function(e,t,n){return JC(e,t,n)}(f,d,c)),"number"==typeof y&&l?n=l-y:"number"==typeof b&&"number"==typeof a&&l&&(n=l-a-b),g(!i&&!u||i&&n&&i>n?n:i||void 0)},[b,i,a,l,s,t,u,r,y,c,d,f,_,p]),m}function Ew(e,t,n,r,o,i){var a,l=z.useState(),s=l[0],u=l[1],c=z.useRef(0),d=z.useRef(void 0),f=nw(),p=e.hidden,h=e.target,m=e.finalHeight,g=e.calloutMaxHeight,v=e.onPositioned,y=e.directionalHint,b=e.hideOverflow,_=e.preferScrollResizePositioning,C=mw(),w=z.useRef(void 0);w.current!==i.current&&(w.current=i.current,a=i.current?null==C?void 0:C.getComputedStyle(i.current):void 0);var S=null==a?void 0:a.overflowY;return z.useEffect(function(){if(!p){var i=f.requestAnimationFrame(function(){var i,a,l,f;if(t.current&&n){var p=sm(sm({},e),{target:r.current,bounds:o()}),y=n.cloneNode(!0);y.style.maxHeight=g?"".concat(g):"",y.style.visibility="hidden",null===(i=n.parentElement)||void 0===i||i.appendChild(y);var w=d.current===h?s:void 0,x=_&&!(b||"clip"===S||"hidden"===S),k=m?ew(p,t.current,y,w,C):function(e,t,n,r,o,i,a){return XC(e,t,n,r,o,i,void 0,a)}(p,t.current,y,w,x,void 0,C);null===(a=n.parentElement)||void 0===a||a.removeChild(y),!s&&k||s&&k&&(f=k,!Pw((l=s).elementPosition,f.elementPosition)||!Pw(l.beakPosition.elementPosition,f.beakPosition.elementPosition))&&c.current<5?(c.current++,u(k)):c.current>0&&(c.current=0,null==v||v(s))}},n);return d.current=h,function(){f.cancelAnimationFrame(i),d.current=void 0}}u(void 0),c.current=0},[p,y,f,n,g,t,r,m,o,v,s,e,h,b,_,S,C]),s}function Fw(e,t,n){var r=e.hidden,o=e.setInitialFocus,i=nw(),a=!!t;z.useEffect(function(){if(!r&&o&&a&&n){var e=i.requestAnimationFrame(function(){return!!(o=xg(e=n,e,!0,!1,!1,!0,void 0,void 0,t,r))&&(Dg(o),!0);var e,t,r,o},n);return function(){return i.cancelAnimationFrame(e)}}},[r,a,i,n,o])}var Iw=z.memo(z.forwardRef(function(e,t){var n=hb(Sw,e),r=n.styles,o=n.style,i=n.ariaLabel,a=n.ariaDescribedBy,l=n.ariaLabelledBy,s=n.className,u=n.isBeakVisible,c=n.children,d=n.beakWidth,f=n.calloutWidth,p=n.calloutMaxWidth,h=n.calloutMinWidth,m=n.doNotLayer,g=n.finalHeight,v=n.hideOverflow,y=void 0===v?!!g:v,b=n.backgroundColor,_=n.calloutMaxHeight,C=n.onScroll,w=n.shouldRestoreFocus,S=void 0===w||w,x=n.target,k=n.hidden,E=n.onLayerMounted,F=n.popupProps,I=z.useRef(null),T=lw(z.useRef(null),null==F?void 0:F.ref),P=z.useState(null),R=P[0],D=P[1],M=z.useCallback(function(e){D(e)},[]),O=lw(I,t),A=cw(n.target,{current:R}),L=A[0],N=A[1],B=function(e,t,n){var r=e.bounds,o=e.minPagePadding,i=void 0===o?Sw.minPagePadding:o,a=e.target,l=z.useState(!1),s=l[0],u=l[1],c=z.useRef(void 0),d=z.useCallback(function(){if(!c.current||s){var e="function"==typeof r?n?r(a,n):void 0:r;!e&&n&&(e=function(e,t){return function(e,t){var n=void 0;if(t.getWindowSegments&&(n=t.getWindowSegments()),void 0===n||n.length<=1)return{top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight};var r=0,o=0;if(null!==e&&e.getBoundingClientRect){var i=e.getBoundingClientRect();r=(i.left+i.right)/2,o=(i.top+i.bottom)/2}else null!==e&&(r=e.left||e.x,o=e.top||e.y);for(var a={top:0,left:0,right:0,bottom:0,width:0,height:0},l=0,s=n;l<s.length;l++){var u=s[l];r&&u.left<=r&&u.right>=r&&o&&u.top<=o&&u.bottom>=o&&(a={top:u.top,left:u.left,right:u.right,bottom:u.bottom,width:u.width,height:u.height})}return a}(e,t)}(t.current,n),e={top:e.top+i,left:e.left+i,right:e.right-i,bottom:e.bottom-i,width:e.width-2*i,height:e.height-2*i}),c.current=e,s&&u(!1)}return c.current},[r,i,a,t,n,s]),f=nw();return sw(n,"resize",f.debounce(function(){u(!0)},500,{leading:!0})),d}(n,L,N),H=Ew(n,I,R,L,B,T),V=kw(n,B,L,H),W=function(e,t,n,r,o){var i=e.hidden,a=e.onDismiss,l=e.preventDismissOnScroll,s=e.preventDismissOnResize,u=e.preventDismissOnLostFocus,c=e.dismissOnTargetClick,d=e.shouldDismissOnWindowFocus,f=e.preventDismissOnEvent,p=z.useRef(!1),h=nw(),m=rw([function(){p.current=!0},function(){p.current=!1}]),g=!!t;return z.useEffect(function(){var e=function(e){g&&!l&&v(e)},t=function(e){s||f&&f(e)||null==a||a(e)},m=function(e){u||v(e)},v=function(e){var t=e.composedPath?e.composedPath():[],i=t.length>0?t[0]:e.target,l=n.current&&!hg(n.current,i);if(l&&p.current)p.current=!1;else if(!r.current&&l||e.target!==o&&l&&(!r.current||"stopPropagation"in r.current||c||i!==r.current&&!hg(r.current,i))){if(f&&f(e))return;null==a||a(e)}},y=function(e){d&&((!f||f(e))&&(f||u)||(null==o?void 0:o.document.hasFocus())||null!==e.relatedTarget||null==a||a(e))},b=new Promise(function(n){h.setTimeout(function(){if(!i&&o){var r=[Mg(o,"scroll",e,!0),Mg(o,"resize",t,!0),Mg(o.document.documentElement,"focus",m,!0),Mg(o.document.documentElement,"click",m,!0),Mg(o,"blur",y,!0)];n(function(){r.forEach(function(e){return e()})})}},0)});return function(){b.then(function(e){return e()})}},[i,h,n,r,o,a,d,c,u,s,l,g,f]),m}(n,H,I,L,N),U=W[0],j=W[1],K=(null==H?void 0:H.elementPosition.top)&&(null==H?void 0:H.elementPosition.bottom),q=sm(sm({},null==H?void 0:H.elementPosition),{maxHeight:V});if(K&&(q.bottom=void 0),Fw(n,H,R),z.useEffect(function(){k||null==E||E()},[k]),!N)return null;var G=y,$=u&&!!x,Q=xw(r,{theme:n.theme,className:s,overflowYHidden:G,calloutWidth:f,positions:H,beakWidth:d,backgroundColor:b,calloutMaxWidth:p,calloutMinWidth:h,doNotLayer:m}),Z=sm(sm({maxHeight:_||"100%"},o),G&&{overflowY:"hidden"}),Y=n.hidden?{visibility:"hidden"}:void 0;return z.createElement("div",{ref:O,className:Q.container,style:Y},z.createElement("div",sm({},Py(n,Ty,ww),{className:Hv(Q.root,H&&H.targetEdge&&yw[H.targetEdge]),style:H?sm({},q):Cw,tabIndex:-1,ref:M}),$&&z.createElement("div",{className:Q.beak,style:Tw(H)}),$&&z.createElement("div",{className:Q.beakCurtain}),z.createElement(pw,sm({role:n.role,"aria-roledescription":n["aria-roledescription"],ariaDescribedBy:a,ariaLabel:i,ariaLabelledBy:l,className:Q.calloutMain,onDismiss:n.onDismiss,onMouseDown:U,onMouseUp:j,onRestoreFocus:n.onRestoreFocus,onScroll:C,shouldRestoreFocus:S,style:Z},F,{ref:T}),c)))}),function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||Og(e,t)});function Tw(e){var t,n,r=sm(sm({},null===(t=null==e?void 0:e.beakPosition)||void 0===t?void 0:t.elementPosition),{display:(null===(n=null==e?void 0:e.beakPosition)||void 0===n?void 0:n.hideBeak)?"none":void 0});return r.top||r.bottom||r.left||r.right||(r.left=_w,r.top=bw),r}function Pw(e,t){for(var n in t)if(t.hasOwnProperty(n)){var r=e[n],o=t[n];if(void 0===r||void 0===o)return!1;if(r.toFixed(2)!==o.toFixed(2))return!1}return!0}function Rw(e){return{height:e,width:e}}Iw.displayName="CalloutContentBase";var Dw={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},Mw=fb(Iw,function(e){var t,n=e.theme,r=e.className,o=e.overflowYHidden,i=e.calloutWidth,a=e.beakWidth,l=e.backgroundColor,s=e.calloutMaxWidth,u=e.calloutMinWidth,c=e.doNotLayer,d=$_(Dw,n),f=n.semanticColors,p=n.effects;return{container:[d.container,{position:"relative"}],root:[d.root,n.fonts.medium,{position:"absolute",display:"flex",zIndex:c?B_.Layer:void 0,boxSizing:"border-box",borderRadius:p.roundedCorner2,boxShadow:p.elevation16,selectors:(t={},t[z_]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}},r,!!i&&{width:i},!!s&&{maxWidth:s},!!u&&{minWidth:u}],beak:[d.beak,{position:"absolute",backgroundColor:f.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},Rw(a),l&&{backgroundColor:l}],beakCurtain:[d.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:f.menuBackground,borderRadius:p.roundedCorner2}],calloutMain:[d.calloutMain,{backgroundColor:f.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",width:"100%",borderRadius:p.roundedCorner2},o&&{overflowY:"hidden"},l&&{backgroundColor:l}]}},void 0,{scope:"CalloutContent"}),Ow=z.createContext(void 0),Aw=function(){return function(){}};Ow.Provider;var Lw=kv(),Nw=Ov(function(e,t){return N_(sm(sm({},e),{rtl:t}))}),Bw=z.forwardRef(function(e,t){var n=e.className,r=e.theme,o=e.applyTheme,i=e.applyThemeToBody,a=e.styles,l=Lw(a,{theme:r,applyTheme:o,className:n}),s=z.useRef(null);return function(e,t,n){var r=t.bodyThemed;z.useEffect(function(){if(e){var t=_g(n.current);if(t)return t.body.classList.add(r),function(){t.body.classList.remove(r)}}},[r,e,n])}(i,l,s),z.createElement(z.Fragment,null,function(e,t,n,r){var o=t.root,i=e.as,a=void 0===i?"div":i,l=e.dir,s=e.theme,u=Py(e,Ty,["dir"]),c=function(e){var t=e.theme,n=e.dir,r=Cv(t)?"rtl":"ltr",o=Cv()?"rtl":"ltr",i=n||r;return{rootDir:i!==r||i!==o?i:n,needsTheme:i!==r}}(e),d=c.rootDir,f=c.needsTheme,p=z.createElement(eb,{providerRef:n},z.createElement(a,sm({dir:d},u,{className:o,ref:lw(n,r)})));f&&(p=z.createElement(Qv,{settings:{theme:Nw(s,"rtl"===l)}},p));return p}(e,l,s,t))});Bw.displayName="FabricBase";var zw={fontFamily:"inherit"},Hw={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},Vw=fb(Bw,function(e){var t=e.applyTheme,n=e.className,r=e.preventBlanketFontInheritance,o=e.theme;return{root:[$_(Hw,o).root,o.fonts.medium,{color:o.palette.neutralPrimary},!r&&{"& button":zw,"& input":zw,"& textarea":zw},t&&{color:o.semanticColors.bodyText,backgroundColor:o.semanticColors.bodyBackground},n],bodyThemed:[{backgroundColor:o.semanticColors.bodyBackground}]}},void 0,{scope:"Fabric"}),Ww={},Uw={},jw="fluent-default-layer-host",Kw="#".concat(jw);var qw,Gw=kv(),$w=z.forwardRef(function(e,t){var n,r=null!==(n=z.useContext(Ow))&&void 0!==n?n:Aw,o=z.useRef(null),i=lw(o,t),a=z.useRef(void 0),l=z.useRef(null),s=z.useContext(qy),u=z.useState(!1),c=u[0],d=u[1],f=z.useCallback(function(e){var t,n=!!(null==(t=null==s?void 0:s.providerRef)?void 0:t.current)&&t.current.classList.contains(By);e&&n&&e.classList.add(By)},[s]),p=e.children,h=e.className,m=e.eventBubblingEnabled,g=e.fabricProps,v=e.hostId,y=e.insertFirst,b=e.onLayerDidMount,_=void 0===b?function(){}:b,C=e.onLayerMounted,w=void 0===C?function(){}:C,S=e.onLayerWillUnmount,x=e.styles,k=e.theme,E=lw(l,null==g?void 0:g.ref,f),F=Gw(x,{theme:k,className:h,isNotHost:!v}),I=function(e,t){var n,r;void 0===t&&(t=null);var o=null!=t?t:e;if(v){var i=function(e){var t=Uw[e];return t&&t[0]||void 0}(v);return i?null!==(n=i.rootRef.current)&&void 0!==n?n:null:null!==(r=o.getElementById(v))&&void 0!==r?r:null}var a=Kw,l=a?o.querySelector(a):null;return l||(l=function(e,t){void 0===t&&(t=null);var n=e.createElement("div");return n.setAttribute("id",jw),n.style.cssText="position:fixed;z-index:1000000",t?t.appendChild(n):null==e||e.body.appendChild(n),n}(e,t)),l},T=function(){null==S||S();var e=a.current;a.current=void 0,e&&e.parentNode&&e.parentNode.removeChild(e)},P=function(){var e,t,n,r,i=_g(o.current),l=(null===(t=null===(e=o.current)||void 0===e?void 0:e.getRootNode())||void 0===t?void 0:t.host)?null===(n=null==o?void 0:o.current)||void 0===n?void 0:n.getRootNode():void 0;if(i&&(i||l)){var s=I(i,l);if(s){s.__tabsterElementFlags||(s.__tabsterElementFlags={}),s.__tabsterElementFlags.noDirectAriaHidden=!0,T();var u=(null!==(r=s.ownerDocument)&&void 0!==r?r:i).createElement("div");u.className=F.root,u.setAttribute(yg,"true"),function(e,t){var n=e,r=t;n._virtual||(n._virtual={children:[]});var o=n._virtual.parent;if(o&&o!==t){var i=o._virtual.children.indexOf(n);i>-1&&o._virtual.children.splice(i,1)}n._virtual.parent=r||void 0,r&&(r._virtual||(r._virtual={children:[]}),r._virtual.children.push(n))}(u,o.current),y?s.insertBefore(u,s.firstChild):s.appendChild(u),a.current=u,d(!0)}}};return gb(function(){P(),v&&function(e,t){Ww[e]||(Ww[e]=[]),Ww[e].push(t);var n=Uw[e];if(n)for(var r=0,o=n;r<o.length;r++)o[r].notifyLayersChanged()}(v,P);var e=a.current?r(a.current):void 0;return function(){e&&e(),T(),v&&function(e,t){var n=Ww[e];if(n){var r=n.indexOf(t);r>=0&&(n.splice(r,1),0===n.length&&delete Ww[e])}var o=Uw[e];if(o)for(var i=0,a=o;i<a.length;i++)a[i].notifyLayersChanged()}(v,P)}},[v]),z.useEffect(function(){a.current&&c&&(null==w||w(),null==_||_(),d(!1))},[c,w,_]),z.createElement("span",{className:"ms-layer",ref:i},a.current&&$c.createPortal(z.createElement(eb,{layerRoot:!0,providerRef:E},z.createElement(Vw,sm({},!m&&function(){qw||(qw={},["onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOver","onMouseOut","onMouseUp","onTouchMove","onTouchStart","onTouchCancel","onTouchEnd","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit"].forEach(function(e){return qw[e]=Qw}));return qw}(),g,{className:Hv(F.content,null==g?void 0:g.className),ref:E}),p)),a.current))});$w.displayName="LayerBase";var Qw=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()};var Zw={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},Yw=fb($w,function(e){var t=e.className,n=e.isNotHost,r=e.theme,o=$_(Zw,r);return{root:[o.root,r.fonts.medium,n&&[o.rootNoHost,{position:"fixed",zIndex:B_.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[o.content,{visibility:"visible"}]}},void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),Jw=z.forwardRef(function(e,t){var n=e.layerProps,r=e.doNotLayer,o=um(e,["layerProps","doNotLayer"]),i=z.createElement(Mw,sm({},o,{doNotLayer:r,ref:t}));return r?i:z.createElement(Yw,sm({},n),i)});Jw.displayName="Callout";var Xw,eS,tS,nS,rS={disabled:!1,disableFirstFocus:!1,forceFocusInsideTrap:!0,isClickableOutsideFocusTrap:!1,"data-tabster":'{"uncontrolled": {"completely": true}}'},oS=z.forwardRef(function(e,t){var n,r,o,i=z.useRef(null),a=z.useRef(null),l=z.useRef(null),s=lw(i,t),u=ly(),c=mw(),d=!!ry(),f=null===(n=uw(!1))||void 0===n||n,p=hb(rS,e),h=rw({hasFocus:!1,focusStackId:aw("ftz-",p.id)}),m=p.children,g=p.componentRef,v=p.disabled,y=p.disableFirstFocus,b=p.forceFocusInsideTrap,_=p.focusPreviouslyFocusedInnerElement,C=p.firstFocusableSelector,w=p.firstFocusableTarget,S=p.disableRestoreFocus,x=void 0===S?p.ignoreExternalFocusing:S,k=p.isClickableOutsideFocusTrap,E=p.enableAriaHiddenSiblings,F={"aria-hidden":!0,style:{pointerEvents:"none",position:"fixed"},tabIndex:v?-1:0,"data-is-visible":!0,"data-is-focus-trap-zone-bumper":!0},I=z.useCallback(function(e){e!==a.current&&e!==l.current&&Dg(e)},[]),T=iw(function(){if(i.current){var e=h.previouslyFocusedElementInTrapZone;if(_&&e&&hg(i.current,e))I(e);else{var t=null;if("string"==typeof w)t=i.current.querySelector(w);else if(w)t=w(i.current);else if(C){var n="string"==typeof C?C:C();t=i.current.querySelector("."+n)}t||(t=xg(i.current,i.current.firstChild,!1,!1,!1,!0,void 0,void 0,void 0,d)),t&&I(t)}}}),P=function(e){if(!v&&i.current){var t,n,r,o=e===h.hasFocus?(t=i.current,n=l.current,void 0===(r=!1)&&(r=!0),Sg(t,n,r,!1,!0,!0,!1,!0,d)):function(e,t,n,r,o){return void 0===r&&(r=!0),xg(e,t,r,!1,!1,n,!1,!0,void 0,o)}(i.current,a.current,!0,!1,d);o&&(o===a.current||o===l.current?T():o.focus())}},R=iw(function(e){if(oS.focusStack=oS.focusStack.filter(function(e){return h.focusStackId!==e}),u){var t=u.activeElement;x||"function"!=typeof(null==e?void 0:e.focus)||!hg(i.current,t)&&t!==u.body&&!t.shadowRoot||I(e)}}),D=iw(function(e){if(!v&&h.focusStackId===oS.focusStack.slice(-1)[0]){var t=vg(e);t&&!hg(i.current,t)&&(u&&gg(u)===u.body?setTimeout(function(){u&&gg(u)===u.body&&(T(),h.hasFocus=!0)},0):(T(),h.hasFocus=!0),e.preventDefault(),e.stopPropagation())}});return z.useEffect(function(){var e=[];return b&&e.push(Mg(c,"focus",D,!0)),k||e.push(Mg(c,"click",D,!0)),function(){e.forEach(function(e){return e()})}},[b,k,c]),z.useEffect(function(){if(!v&&(f||b)&&i.current){oS.focusStack.push(h.focusStackId);var e=p.elementToFocusOnDismiss||gg(u);return y||hg(i.current,e)||T(),function(){return R(e)}}},[b,v]),z.useEffect(function(){if(!v&&E)return lb(i.current)},[v,E,i]),r=function(){delete h.previouslyFocusedElementInTrapZone},(o=z.useRef(r)).current=r,z.useEffect(function(){return function(){var e;null===(e=o.current)||void 0===e||e.call(o)}},[]),function(e,t,n){z.useImperativeHandle(e,function(){return{get previouslyFocusedElement(){return t},focus:n}},[n,t])}(g,h.previouslyFocusedElementInTrapZone,T),z.createElement("div",sm({"aria-labelledby":p.ariaLabelledBy},Py(p,Ty),{ref:s,onFocusCapture:function(e){var t;null===(t=p.onFocusCapture)||void 0===t||t.call(p,e),e.target===a.current?P(!0):e.target===l.current&&P(!1),h.hasFocus=!0,e.target!==e.currentTarget&&e.target!==a.current&&e.target!==l.current&&(h.previouslyFocusedElementInTrapZone=vg(e.nativeEvent))},onBlurCapture:function(e){var t;null===(t=p.onBlurCapture)||void 0===t||t.call(p,e);var n=e.relatedTarget;null===e.relatedTarget&&(n=gg(u)),hg(i.current,n)||(h.hasFocus=!1)}}),z.createElement("div",sm({},F,{ref:a})),m,z.createElement("div",sm({},F,{ref:l})))});oS.displayName="FocusTrapZone",oS.focusStack=[],function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(Xw||(Xw={})),function(e){e[e.center=0]="center",e[e.contain=1]="contain",e[e.cover=2]="cover",e[e.none=3]="none",e[e.centerCover=4]="centerCover",e[e.centerContain=5]="centerContain"}(eS||(eS={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(tS||(tS={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(nS||(nS={}));var iS=kv(),aS=/\.svg$/i;var lS=z.forwardRef(function(e,t){var n=z.useRef(void 0),r=z.useRef(void 0),o=function(e,t){var n=e.onLoadingStateChange,r=e.onLoad,o=e.onError,i=e.src,a=z.useState(nS.notLoaded),l=a[0],s=a[1];gb(function(){s(nS.notLoaded)},[i]),z.useEffect(function(){l===nS.notLoaded&&t.current&&(i&&t.current.naturalWidth>0&&t.current.naturalHeight>0||t.current.complete&&aS.test(i))&&s(nS.loaded)}),z.useEffect(function(){null==n||n(l)},[l]);var u=z.useCallback(function(e){null==r||r(e),i&&s(nS.loaded)},[i,r]),c=z.useCallback(function(e){null==o||o(e),s(nS.error)},[o]);return[l,u,c]}(e,r),i=o[0],a=o[1],l=o[2],s=Py(e,Iy,["width","height"]),u=e.src,c=e.alt,d=e.width,f=e.height,p=e.shouldFadeIn,h=void 0===p||p,m=e.shouldStartVisible,g=e.className,v=e.imageFit,y=e.role,b=e.maximizeFrame,_=e.styles,C=e.theme,w=e.loading,S=function(e,t,n,r){var o=z.useRef(t),i=z.useRef(void 0);(void 0===i||o.current===nS.notLoaded&&t===nS.loaded)&&(i.current=function(e,t,n,r){var o=e.imageFit,i=e.width,a=e.height;if(void 0!==e.coverStyle)return e.coverStyle;if(t===nS.loaded&&(o===eS.cover||o===eS.contain||o===eS.centerContain||o===eS.centerCover)&&n.current&&r.current){var l=void 0;if(l="number"==typeof i&&"number"==typeof a&&o!==eS.centerContain&&o!==eS.centerCover?i/a:r.current.clientWidth/r.current.clientHeight,n.current.naturalWidth/n.current.naturalHeight>l)return tS.landscape}return tS.portrait}(e,t,n,r));return o.current=t,i.current}(e,i,r,n),x=iS(_,{theme:C,className:g,width:d,height:f,maximizeFrame:b,shouldFadeIn:h,shouldStartVisible:m,isLoaded:i===nS.loaded||i===nS.notLoaded&&e.shouldStartVisible,isLandscape:S===tS.landscape,isCenter:v===eS.center,isCenterContain:v===eS.centerContain,isCenterCover:v===eS.centerCover,isContain:v===eS.contain,isCover:v===eS.cover,isNone:v===eS.none,isError:i===nS.error,isNotImageFit:void 0===v});return z.createElement("div",{className:x.root,style:{width:d,height:f},ref:n},z.createElement("img",sm({},s,{onLoad:a,onError:l,key:"fabricImage"+e.src||"",className:x.image,ref:lw(r,t),src:u,alt:c,role:y,loading:w})))});lS.displayName="ImageBase";var sS={root:"ms-Image",rootMaximizeFrame:"ms-Image--maximizeFrame",image:"ms-Image-image",imageCenter:"ms-Image-image--center",imageContain:"ms-Image-image--contain",imageCover:"ms-Image-image--cover",imageCenterContain:"ms-Image-image--centerContain",imageCenterCover:"ms-Image-image--centerCover",imageNone:"ms-Image-image--none",imageLandscape:"ms-Image-image--landscape",imagePortrait:"ms-Image-image--portrait"},uS=fb(lS,function(e){var t=e.className,n=e.width,r=e.height,o=e.maximizeFrame,i=e.isLoaded,a=e.shouldFadeIn,l=e.shouldStartVisible,s=e.isLandscape,u=e.isCenter,c=e.isContain,d=e.isCover,f=e.isCenterContain,p=e.isCenterCover,h=e.isNone,m=e.isError,g=e.isNotImageFit,v=e.theme,y=$_(sS,v),b={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},_=cg(),C=void 0!==_&&void 0===_.navigator.msMaxTouchPoints,w=c&&s||d&&!s?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[y.root,v.fonts.medium,{overflow:"hidden"},o&&[y.rootMaximizeFrame,{height:"100%",width:"100%"}],i&&a&&!l&&uC.fadeIn400,(u||c||d||f||p)&&{position:"relative"},t],image:[y.image,{display:"block",opacity:0},i&&["is-loaded",{opacity:1}],u&&[y.imageCenter,b],c&&[y.imageContain,C&&{width:"100%",height:"100%",objectFit:"contain"},!C&&w,!C&&b],d&&[y.imageCover,C&&{width:"100%",height:"100%",objectFit:"cover"},!C&&w,!C&&b],f&&[y.imageCenterContain,s&&{maxWidth:"100%"},!s&&{maxHeight:"100%"},b],p&&[y.imageCenterCover,s&&{maxHeight:"100%"},!s&&{maxWidth:"100%"},b],h&&[y.imageNone,{width:"auto",height:"auto"}],g&&[!!n&&!r&&{height:"auto",width:"100%"},!n&&!!r&&{height:"100%",width:"auto"},!!n&&!!r&&{height:"100%",width:"100%"}],s&&y.imageLandscape,!s&&y.imagePortrait,!i&&"is-notLoaded",a&&"is-fadeIn",m&&"is-error"]}},void 0,{scope:"Image"},!0);uS.displayName="Image";var cS=rg({root:{display:"inline-block",textDecoration:"inherit"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),dS="ms-Icon",fS=Ov(function(e){var t=function(e){var t=void 0,n=vb.__options;if(e=e?bb(e):"",e=vb.__remapped[e]||e)if(t=vb[e]){var r=t.subset;r&&r.fontFace&&(r.isRegistered||(ag(r.fontFace),r.isRegistered=!0),r.className||(r.className=tg(r.style,{fontFamily:r.fontFace.fontFamily,fontWeight:r.fontFace.fontWeight||"normal",fontStyle:r.fontFace.fontStyle||"normal"})))}else!n.disableWarnings&&n.warnOnMissingIcons&&jg('The icon "'.concat(e,'" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.'));return t}(e)||{subset:{},code:void 0},n=t.code,r=t.subset;return n?{children:n,iconClassName:r.className,fontFamily:r.fontFace&&r.fontFace.fontFamily,mergeImageProps:r.mergeImageProps}:null},void 0,!0),pS=function(e){var t=e.iconName,n=e.className,r=e.style,o=void 0===r?{}:r,i=fS(t)||{},a=i.iconClassName,l=i.children,s=i.fontFamily,u=i.mergeImageProps,c=Py(e,Cy),d=e["aria-label"]||e.title,f=e["aria-label"]||e["aria-labelledby"]||e.title?{role:u?void 0:"img"}:{"aria-hidden":!0},p=l;return u&&"object"==typeof l&&"object"==typeof l.props&&d&&(p=z.cloneElement(l,{alt:d})),z.createElement("i",sm({"data-icon-name":t},f,c,u?{title:void 0,"aria-label":void 0}:{},{className:Hv(dS,cS.root,a,!t&&cS.placeholder,n),style:sm({fontFamily:s},o)}),p)};Ov(function(e,t,n){return pS({iconName:e,className:t,"aria-label":n})});var hS=kv({cacheSize:100}),mS=function(e){function t(t){var n=e.call(this,t)||this;return n._onImageLoadingStateChange=function(e){n.props.imageProps&&n.props.imageProps.onLoadingStateChange&&n.props.imageProps.onLoadingStateChange(e),e===nS.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return lm(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=e.styles,o=e.iconName,i=e.imageErrorAs,a=e.theme,l="string"==typeof o&&0===o.length,s=!!this.props.imageProps||this.props.iconType===Xw.image||this.props.iconType===Xw.Image,u=fS(o)||{},c=u.iconClassName,d=u.children,f=u.mergeImageProps,p=hS(r,{theme:a,className:n,iconClassName:c,isImage:s,isPlaceholder:l}),h=s?"span":"i",m=Py(this.props,Cy,["aria-label"]),g=this.state.imageLoadError,v=sm(sm({},this.props.imageProps),{onLoadingStateChange:this._onImageLoadingStateChange}),y=g&&i||uS,b=this.props["aria-label"]||this.props.ariaLabel,_=v.alt||b||this.props.title,C=!!(_||this.props["aria-labelledby"]||v["aria-label"]||v["aria-labelledby"])?{role:s||f?void 0:"img","aria-label":s||f?void 0:_}:{"aria-hidden":!0},w=d;return f&&d&&"object"==typeof d&&_&&(w=z.cloneElement(d,{alt:_})),z.createElement(h,sm({"data-icon-name":o},C,m,f?{title:void 0,"aria-label":void 0}:{},{className:p.root}),s?z.createElement(y,sm({},v)):t||w)},t}(z.Component),gS=fb(mS,function(e){var t=e.className,n=e.iconClassName,r=e.isPlaceholder,o=e.isImage,i=e.styles;return{root:[r&&cS.placeholder,cS.root,o&&cS.image,n,t,i&&i.root,i&&i.imageContainer]}},void 0,{scope:"Icon"},!0);gS.displayName="Icon";var vS=function(e){var t=e.className,n=e.imageProps,r=Py(e,Cy,["aria-label","aria-labelledby","title","aria-describedby"]),o=n.alt||e["aria-label"],i=o||e["aria-labelledby"]||e.title||n["aria-label"]||n["aria-labelledby"]||n.title,a={"aria-labelledby":e["aria-labelledby"],"aria-describedby":e["aria-describedby"],title:e.title},l=i?{}:{"aria-hidden":!0};return z.createElement("div",sm({},l,r,{className:Hv(dS,cS.root,cS.image,t)}),z.createElement(uS,sm({},a,n,{alt:i?o:""})))},yS="backward",bS=function(e){function t(t){var n=e.call(this,t)||this;return n._inputElement=z.createRef(),n._autoFillEnabled=!0,n._onCompositionStart=function(e){n.setState({isComposing:!0}),n._autoFillEnabled=!1},n._onCompositionUpdate=function(){pb()&&n._updateValue(n._getCurrentInputValue(),!0)},n._onCompositionEnd=function(e){var t=n._getCurrentInputValue();n._tryEnableAutofill(t,n.value,!1,!0),n.setState({isComposing:!1}),n._async.setTimeout(function(){n._updateValue(n._getCurrentInputValue(),!1)},0)},n._onClick=function(){n.value&&""!==n.value&&n._autoFillEnabled&&(n._autoFillEnabled=!1)},n._onKeyDown=function(e){if(n.props.onKeyDown&&n.props.onKeyDown(e),!e.nativeEvent.isComposing)switch(e.which){case ev:n._autoFillEnabled=!1;break;case cv:case fv:n._autoFillEnabled&&(n.setState(function(e){return{inputValue:n.props.suggestedDisplayValue||e.inputValue}}),n._autoFillEnabled=!1);break;default:n._autoFillEnabled||-1!==n.props.enableAutofillOnKeyPress.indexOf(e.which)&&(n._autoFillEnabled=!0)}},n._onInputChanged=function(e){var t=n._getCurrentInputValue(e);if(n.state.isComposing||n._tryEnableAutofill(t,n.value,e.nativeEvent.isComposing),!pb()||!n.state.isComposing){var r=e.nativeEvent.isComposing,o=void 0===r?n.state.isComposing:r;n._updateValue(t,o)}},n._onChanged=function(){},n._updateValue=function(e,t){if(e||e!==n.value){var r=n.props,o=r.onInputChange,i=r.onInputValueChange;o&&(e=(null==o?void 0:o(e,t))||""),n.setState({inputValue:e},function(){return null==i?void 0:i(e,t)})}},Ry(n),n._async=new dg(n),n.state={inputValue:t.defaultVisibleValue||"",isComposing:!1},n}return lm(t,e),t.getDerivedStateFromProps=function(e,t){if(e.updateValueInWillReceiveProps){var n=e.updateValueInWillReceiveProps();if(null!==n&&n!==t.inputValue&&!t.isComposing)return sm(sm({},t),{inputValue:n})}return null},Object.defineProperty(t.prototype,"cursorLocation",{get:function(){if(this._inputElement.current){var e=this._inputElement.current;return"forward"!==e.selectionDirection?e.selectionEnd:e.selectionStart}return-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValueSelected",{get:function(){return Boolean(this.inputElement&&this.inputElement.selectionStart!==this.inputElement.selectionEnd)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._getControlledValue()||this.state.inputValue||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._inputElement.current?this._inputElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._inputElement.current?this._inputElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputElement",{get:function(){return this._inputElement.current},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t,n){var r,o=this.props,i=o.suggestedDisplayValue,a=o.shouldSelectFullInputValueInComponentDidUpdate,l=0;if(!o.preventValueSelection){var s=(null===(r=this.context)||void 0===r?void 0:r.window.document)||_g(this._inputElement.current);if(this._inputElement.current&&this._inputElement.current===(null==s?void 0:s.activeElement)&&this._autoFillEnabled&&this.value&&i&&_S(i,this.value)){var u=!1;if(a&&(u=a()),u)this._inputElement.current.setSelectionRange(0,i.length,yS);else{for(;l<this.value.length&&this.value[l].toLocaleLowerCase()===i[l].toLocaleLowerCase();)l++;l>0&&this._inputElement.current.setSelectionRange(l,i.length,yS)}}else this._inputElement.current&&(null===n||this._autoFillEnabled||this.state.isComposing||this._inputElement.current.setSelectionRange(n.start,n.end,n.dir))}},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=Py(this.props,ky),t=sm(sm({},this.props.style),{fontFamily:"inherit"});return z.createElement("input",sm({autoCapitalize:"off",autoComplete:"off","aria-autocomplete":"both"},e,{style:t,ref:this._inputElement,value:this._getDisplayValue(),onCompositionStart:this._onCompositionStart,onCompositionUpdate:this._onCompositionUpdate,onCompositionEnd:this._onCompositionEnd,onChange:this._onChanged,onInput:this._onInputChanged,onKeyDown:this._onKeyDown,onClick:this.props.onClick?this.props.onClick:this._onClick,"data-lpignore":!0}))},t.prototype.focus=function(){this._inputElement.current&&this._inputElement.current.focus()},t.prototype.clear=function(){this._autoFillEnabled=!0,this._updateValue("",!1),this._inputElement.current&&this._inputElement.current.setSelectionRange(0,0)},t.prototype.getSnapshotBeforeUpdate=function(){var e,t,n=this._inputElement.current;return n&&n.selectionStart!==this.value.length?{start:null!==(e=n.selectionStart)&&void 0!==e?e:n.value.length,end:null!==(t=n.selectionEnd)&&void 0!==t?t:n.value.length,dir:n.selectionDirection||"backward"}:null},t.prototype._getCurrentInputValue=function(e){return e&&e.target&&e.target.value?e.target.value:this.inputElement&&this.inputElement.value?this.inputElement.value:""},t.prototype._tryEnableAutofill=function(e,t,n,r){!n&&e&&this._inputElement.current&&this._inputElement.current.selectionStart===e.length&&!this._autoFillEnabled&&(e.length>t.length||r)&&(this._autoFillEnabled=!0)},t.prototype._getDisplayValue=function(){return this._autoFillEnabled?function(e,t){var n=e;t&&e&&_S(t,n)&&(n=t);return n}(this.value,this.props.suggestedDisplayValue):this.value},t.prototype._getControlledValue=function(){var e=this.props.value;return void 0===e||"string"==typeof e?e:(console.warn("props.value of Autofill should be a string, but it is ".concat(e," with type of ").concat(typeof e)),e.toString())},t.defaultProps={enableAutofillOnKeyPress:[pv,dv]},t.contextType=iy,t}(z.Component);function _S(e,t){return!(!e||!t)&&0===e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())}var CS,wS=1,SS=2;!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(CS||(CS={}));var xS,kS="data-is-focusable",ES="data-focuszone-id",FS="tabindex",IS="data-no-vertical-wrap",TS="data-no-horizontal-wrap",PS=999999999,RS=-999999999;function DS(e,t){var n;"function"==typeof MouseEvent?n=new MouseEvent("click",{ctrlKey:null==t?void 0:t.ctrlKey,metaKey:null==t?void 0:t.metaKey,shiftKey:null==t?void 0:t.shiftKey,altKey:null==t?void 0:t.altKey,bubbles:null==t?void 0:t.bubbles,cancelable:null==t?void 0:t.cancelable}):(n=document.createEvent("MouseEvents")).initMouseEvent("click",!!t&&t.bubbles,!!t&&t.cancelable,window,0,0,0,0,0,!!t&&t.ctrlKey,!!t&&t.altKey,!!t&&t.shiftKey,!!t&&t.metaKey,0,null),e.dispatchEvent(n)}var MS,OS={},AS=new Set,LS=["text","number","password","email","tel","url","search","textarea"],NS=!1,BS=function(e){function t(n){var r,o,i,a,l=e.call(this,n)||this;l._root=z.createRef(),l._mergedRef=mb(),l._onFocus=function(e){if(!l._portalContainsElement(e.target)){var t,n=l.props,r=n.onActiveElementChanged,o=n.doNotAllowFocusEventToPropagate,i=n.stopFocusPropagation,a=n.onFocusNotification,s=n.onFocus,u=n.shouldFocusInnerElementWhenReceivedFocus,c=n.defaultTabbableElement,d=l._isImmediateDescendantOfZone(e.target);if(d)t=e.target;else for(var f=e.target;f&&f!==l._root.current;){if(Fg(f,void 0,l._inShadowRoot)&&l._isImmediateDescendantOfZone(f)){t=f;break}f=pg(f,NS)}if(u&&e.target===l._root.current){var p=c&&"function"==typeof c&&l._root.current&&c(l._root.current);p&&Fg(p,void 0,l._inShadowRoot)?(t=p,p.focus()):(l.focus(!0),l._activeElement&&(t=null))}var h=!l._activeElement;t&&t!==l._activeElement&&((d||h)&&l._setFocusAlignment(t,!0,!0),l._activeElement=t,h&&l._updateTabIndexes()),r&&r(l._activeElement,e),(i||o)&&e.stopPropagation(),s?s(e):a&&a()}},l._onBlur=function(){l._setParkedFocus(!1)},l._onMouseDown=function(e){if(!l._portalContainsElement(e.target)&&!l.props.disabled){for(var t=e.target,n=[];t&&t!==l._root.current;)n.push(t),t=pg(t,NS);for(;n.length&&((t=n.pop())&&Fg(t,void 0,l._inShadowRoot)&&l._setActiveElement(t,!0),!Ig(t)););}},l._onKeyDown=function(e,t){if(!l._portalContainsElement(e.target)){var n=l.props,r=n.direction,o=n.disabled,i=n.isInnerZoneKeystroke,a=n.pagingSupportDisabled,s=n.shouldEnterInnerZone;if(!(o||(l.props.onKeyDown&&l.props.onKeyDown(e),e.isDefaultPrevented()||l._getDocument().activeElement===l._root.current&&l._isInnerZone))){if((s&&s(e)||i&&i(e))&&l._isImmediateDescendantOfZone(e.target)){var u=l._getFirstInnerZone();if(u){if(!u.focus(!0))return}else{if(!Tg(e.target))return;if(!l.focusElement(xg(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case iv:if(l._shouldRaiseClicksOnSpace&&l._tryInvokeClickForFocusable(e.target,e))break;return;case cv:if(r!==CS.vertical&&(l._preventDefaultWhenHandled(e),l._moveFocusLeft(t)))break;return;case fv:if(r!==CS.vertical&&(l._preventDefaultWhenHandled(e),l._moveFocusRight(t)))break;return;case dv:if(r!==CS.horizontal&&(l._preventDefaultWhenHandled(e),l._moveFocusUp()))break;return;case pv:if(r!==CS.horizontal&&(l._preventDefaultWhenHandled(e),l._moveFocusDown()))break;return;case lv:if(!a&&l._moveFocusPaging(!0))break;return;case av:if(!a&&l._moveFocusPaging(!1))break;return;case tv:if(l.props.allowTabKey||l.props.handleTabKey===wS||l.props.handleTabKey===SS&&l._isElementInput(e.target)){var c=!1;if(l._processingTabKey=!0,r!==CS.vertical&&l._shouldWrapFocus(l._activeElement,TS))c=(Cv(t)?!e.shiftKey:e.shiftKey)?l._moveFocusLeft(t):l._moveFocusRight(t);else c=e.shiftKey?l._moveFocusUp():l._moveFocusDown();if(l._processingTabKey=!1,c)break;l.props.shouldResetActiveElementWhenTabFromZone&&(l._activeElement=null)}return;case uv:if(l._isContentEditableElement(e.target)||l._isElementInput(e.target)&&!l._shouldInputLoseFocus(e.target,!1))return!1;var d=l._root.current&&l._root.current.firstChild;if(l._root.current&&d&&l.focusElement(xg(l._root.current,d,!0)))break;return;case sv:if(l._isContentEditableElement(e.target)||l._isElementInput(e.target)&&!l._shouldInputLoseFocus(e.target,!0))return!1;var f=l._root.current&&l._root.current.lastChild;if(l._root.current&&l.focusElement(Sg(l._root.current,f,!0,!0,!0)))break;return;case nv:if(l._shouldRaiseClicksOnEnter&&l._tryInvokeClickForFocusable(e.target,e))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},l._getHorizontalDistanceFromCenter=function(e,t,n){var r=l._focusAlignment.left||l._focusAlignment.x||0,o=Math.floor(n.top),i=Math.floor(t.bottom),a=Math.floor(n.bottom),s=Math.floor(t.top);return e&&o>i||!e&&a<s?r>=n.left&&r<=n.left+n.width?0:Math.abs(n.left+n.width/2-r):l._shouldWrapFocus(l._activeElement,IS)?PS:RS},Ry(l),l._id=gy("FocusZone"),l._focusAlignment={left:0,top:0},l._processingTabKey=!1;var s=null===(o=null!==(r=n.shouldRaiseClicks)&&void 0!==r?r:t.defaultProps.shouldRaiseClicks)||void 0===o||o;return l._shouldRaiseClicksOnEnter=null!==(i=n.shouldRaiseClicksOnEnter)&&void 0!==i?i:s,l._shouldRaiseClicksOnSpace=null!==(a=n.shouldRaiseClicksOnSpace)&&void 0!==a?a:s,l}return lm(t,e),t.getOuterZones=function(){return AS.size},t._onKeyDownCapture=function(e){e.which===tv&&AS.forEach(function(e){return e._updateTabIndexes()})},t.prototype.componentDidMount=function(){var e,n=this._root.current;if(this._inShadowRoot=!!(null===(e=this.context)||void 0===e?void 0:e.shadowRoot),OS[this._id]=this,n){for(var r=pg(n,NS);r&&r!==this._getDocument().body&&1===r.nodeType;){if(Ig(r)){this._isInnerZone=!0;break}r=pg(r,NS)}this._isInnerZone||(AS.add(this),this._root.current&&this._root.current.addEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.addEventListener("blur",this._onBlur,!0),this._updateTabIndexes(),this.props.defaultTabbableElement&&"string"==typeof this.props.defaultTabbableElement?this._activeElement=this._getDocument().querySelector(this.props.defaultTabbableElement):this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement)),this.props.shouldFocusOnMount&&this.focus()}},t.prototype.componentDidUpdate=function(){var e,t=this._root.current,n=this._getDocument();if(this._inShadowRoot=!!(null===(e=this.context)||void 0===e?void 0:e.shadowRoot),(this._activeElement&&!hg(this._root.current,this._activeElement,NS)||this._defaultFocusElement&&!hg(this._root.current,this._defaultFocusElement,NS))&&(this._activeElement=null,this._defaultFocusElement=null,this._updateTabIndexes()),!this.props.preventFocusRestoration&&n&&this._lastIndexPath&&(n.activeElement===n.body||null===n.activeElement||n.activeElement===t)){var r=function(e,t){for(var n=e,r=0,o=t;r<o.length;r++){var i=o[r],a=n.children[Math.min(i,n.children.length-1)];if(!a)break;n=a}return Fg(n)&&kg(n)?n:xg(e,n,!0)||Sg(e,n)}(t,this._lastIndexPath);r?(this._setActiveElement(r,!0),r.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete OS[this._id],this._isInnerZone||(AS.delete(this),this._root.current&&this._root.current.removeEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},t.prototype.render=function(){var e=this,t=this.props,n=t.as,r=t.elementType,o=t.rootProps,i=t.ariaDescribedBy,a=t.ariaLabelledBy,l=t.className,s=Py(this.props,Cy),u=n||r||"div";this._evaluateFocusBeforeRender();var c,d=(void 0===c&&(c=!1),!0===c&&(rC=N_({},c)),rC);return z.createElement(u,sm({"aria-labelledby":a,"aria-describedby":i},s,o,{className:Hv((xS||(xS=tg({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),xS),l),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(t){return e._onKeyDown(t,d)},onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},t.prototype.focus=function(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=!1),this._root.current){if(!e&&"true"===this._root.current.getAttribute(kS)&&this._isInnerZone){var n=this._getOwnerZone(this._root.current);if(n!==this._root.current){var r=OS[n.getAttribute(ES)];return!!r&&r.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&hg(this._root.current,this._activeElement)&&Fg(this._activeElement,void 0,this._inShadowRoot)&&(!t||Eg(this._activeElement)))return this._activeElement.focus(),!0;var o=this._root.current.firstChild;return this.focusElement(xg(this._root.current,o,!0,void 0,void 0,void 0,void 0,void 0,t))}return!1},t.prototype.focusLast=function(){if(this._root.current){var e=this._root.current&&this._root.current.lastChild;return this.focusElement(Sg(this._root.current,e,!0,!0,!0))}return!1},t.prototype.focusElement=function(e,t){var n=this.props,r=n.onBeforeFocus,o=n.shouldReceiveFocus;return!(o&&!o(e)||r&&!r(e))&&(!!e&&(this._setActiveElement(e,t),this._activeElement&&this._activeElement.focus(),!0))},t.prototype.setFocusAlignment=function(e){this._focusAlignment=e},Object.defineProperty(t.prototype,"defaultFocusElement",{get:function(){return this._defaultFocusElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeElement",{get:function(){return this._activeElement},enumerable:!1,configurable:!0}),t.prototype._evaluateFocusBeforeRender=function(){var e=this._root.current,t=this._getDocument();if(t){var n=t.activeElement;if(n!==e){var r=hg(e,n,!1);this._lastIndexPath=r?function(e,t){for(var n=[];t&&e&&t!==e;){var r=pg(t,!0);if(null===r)return[];n.unshift(Array.prototype.indexOf.call(r.children,t)),t=r}return n}(e,n):void 0}}},t.prototype._setParkedFocus=function(e){var t=this._root.current;t&&this._isParked!==e&&(this._isParked=e,e?(this.props.allowFocusRoot||(this._parkedTabIndex=t.getAttribute("tabindex"),t.setAttribute("tabindex","-1")),t.focus()):this.props.allowFocusRoot||(this._parkedTabIndex?(t.setAttribute("tabindex",this._parkedTabIndex),this._parkedTabIndex=void 0):t.removeAttribute("tabindex")))},t.prototype._setActiveElement=function(e,t){var n=this._activeElement;this._activeElement=e,n&&(Ig(n)&&this._updateTabIndexes(n),n.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},t.prototype._preventDefaultWhenHandled=function(e){this.props.preventDefaultWhenHandled&&e.preventDefault()},t.prototype._tryInvokeClickForFocusable=function(e,t){var n=e;if(n===this._root.current)return!1;do{if("BUTTON"===n.tagName||"A"===n.tagName||"INPUT"===n.tagName||"TEXTAREA"===n.tagName||"SUMMARY"===n.tagName)return!1;if(this._isImmediateDescendantOfZone(n)&&"true"===n.getAttribute(kS)&&"true"!==n.getAttribute("data-disable-click-on-enter"))return DS(n,t),!0;n=pg(n,NS)}while(n!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(Ig(e))return OS[e.getAttribute(ES)];for(var t=e.firstElementChild;t;){if(Ig(t))return OS[t.getAttribute(ES)];var n=this._getFirstInnerZone(t);if(n)return n;t=t.nextElementSibling}return null},t.prototype._moveFocus=function(e,t,n,r){void 0===r&&(r=!0);var o=this._activeElement,i=-1,a=void 0,l=!1,s=this.props.direction===CS.bidirectional;if(!o||!this._root.current)return!1;if(this._isElementInput(o)&&!this._shouldInputLoseFocus(o,e))return!1;var u=s?o.getBoundingClientRect():null;do{if(o=e?xg(this._root.current,o):Sg(this._root.current,o),!s){a=o;break}if(o){var c=t(u,o.getBoundingClientRect());if(-1===c&&-1===i){a=o;break}if(c>-1&&(-1===i||c<i)&&(i=c,a=o),i>=0&&c<0)break}}while(o);if(a&&a!==this._activeElement)l=!0,this.focusElement(a);else if(this.props.isCircularNavigation&&r)return e?this.focusElement(xg(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(Sg(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return l},t.prototype._moveFocusDown=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!0,function(r,o){var i=-1,a=Math.floor(o.top),l=Math.floor(r.bottom);return a<l?e._shouldWrapFocus(e._activeElement,IS)?PS:RS:((-1===t&&a>=l||a===t)&&(t=a,i=n>=o.left&&n<=o.left+o.width?0:Math.abs(o.left+o.width/2-n)),i)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusUp=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!1,function(r,o){var i=-1,a=Math.floor(o.bottom),l=Math.floor(o.top),s=Math.floor(r.top);return a>s?e._shouldWrapFocus(e._activeElement,IS)?PS:RS:((-1===t&&a<=s||l===t)&&(t=l,i=n>=o.left&&n<=o.left+o.width?0:Math.abs(o.left+o.width/2-n)),i)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusLeft=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,TS);return!!this._moveFocus(Cv(e),function(r,o){var i=-1;return(Cv(e)?parseFloat(o.top.toFixed(3))<parseFloat(r.bottom.toFixed(3)):parseFloat(o.bottom.toFixed(3))>parseFloat(r.top.toFixed(3)))&&o.right<=r.right&&t.props.direction!==CS.vertical?i=r.right-o.right:n||(i=RS),i},void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,TS);return!!this._moveFocus(!Cv(e),function(r,o){var i=-1;return(Cv(e)?parseFloat(o.bottom.toFixed(3))>parseFloat(r.top.toFixed(3)):parseFloat(o.top.toFixed(3))<parseFloat(r.bottom.toFixed(3)))&&o.left>=r.left&&t.props.direction!==CS.vertical?i=o.left-r.left:n||(i=RS),i},void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusPaging=function(e,t){void 0===t&&(t=!0);var n=this._activeElement;if(!n||!this._root.current)return!1;if(this._isElementInput(n)&&!this._shouldInputLoseFocus(n,e))return!1;var r=Ug(n);if(!r)return!1;var o=-1,i=void 0,a=-1,l=-1,s=r.clientHeight,u=n.getBoundingClientRect();do{if(n=e?xg(this._root.current,n):Sg(this._root.current,n)){var c=n.getBoundingClientRect(),d=Math.floor(c.top),f=Math.floor(u.bottom),p=Math.floor(c.bottom),h=Math.floor(u.top),m=this._getHorizontalDistanceFromCenter(e,u,c);if(e&&d>f+s||!e&&p<h-s)break;m>-1&&(e&&d>a?(a=d,o=m,i=n):!e&&p<l?(l=p,o=m,i=n):(-1===o||m<=o)&&(o=m,i=n))}}while(n);var g=!1;if(i&&i!==this._activeElement)g=!0,this.focusElement(i),this._setFocusAlignment(i,!1,!0);else if(this.props.isCircularNavigation&&t)return e?this.focusElement(xg(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(Sg(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return g},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===CS.bidirectional&&(!this._focusAlignment||t||n)){var r=e.getBoundingClientRect(),o=r.left+r.width/2,i=r.top+r.height/2;this._focusAlignment||(this._focusAlignment={left:o,top:i}),t&&(this._focusAlignment.left=o),n&&(this._focusAlignment.top=i)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=pg(e,NS);t&&t!==this._root.current&&t!==this._getDocument().body;){if(Ig(t))return t;t=pg(t,NS)}return t},t.prototype._updateTabIndexes=function(e){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!hg(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!Fg(this._activeElement,void 0,this._inShadowRoot)&&(this._activeElement=null);for(var t=e&&e.children,n=0;t&&n<t.length;n++){var r=t[n];Ig(r)?"true"===r.getAttribute(kS)&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(FS)&&r.setAttribute(FS,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(FS)&&r.setAttribute(FS,"0"))):(r.getAttribute&&"false"===r.getAttribute(kS)&&r.setAttribute(FS,"-1"),Fg(r,void 0,this._inShadowRoot)?this.props.disabled?r.setAttribute(FS,"-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(FS)&&r.setAttribute(FS,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(FS)&&r.setAttribute(FS,"0")):"svg"===r.tagName&&"false"!==r.getAttribute("focusable")&&r.setAttribute("focusable","false")),this._updateTabIndexes(r)}},t.prototype._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")},t.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())},t.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&LS.indexOf(e.type.toLowerCase())>-1){var n=e.selectionStart,r=n!==e.selectionEnd,o=e.value,i=e.readOnly;if(r||n>0&&!t&&!i||n!==o.length&&t&&!i||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0},t.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||Pg(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&bg(e,this._root.current)},t.prototype._getDocument=function(){return _g(this._root.current)},t.defaultProps={isCircularNavigation:!1,direction:CS.bidirectional,shouldRaiseClicks:!0,"data-tabster":'{"uncontrolled": {}}'},t.contextType=ny,t}(z.Component);function zS(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function HS(e){return!(!e.subMenuProps&&!e.items)}function VS(e){return!(!e.isDisabled&&!e.disabled)}function WS(e){return null!==zS(e)?"menuitemcheckbox":"menuitem"}!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(MS||(MS={}));var US,jS=function(e){var t=e.item,n=e.classNames,r=t.iconProps;return z.createElement(gS,sm({},r,{className:n.icon}))},KS=function(e){var t=e.item;return e.hasIcons?t.onRenderIcon?t.onRenderIcon(e,jS):jS(e):null},qS=function(e){var t=e.onCheckmarkClick,n=e.item,r=e.classNames,o=zS(n);if(t){return z.createElement(gS,{iconName:!1!==n.canCheck&&o?"CheckMark":"",className:r.checkmarkIcon,onClick:function(e){return t(n,e)}})}return null},GS=function(e){var t=e.item,n=e.classNames;return t.text||t.name?z.createElement("span",{className:n.label},t.text||t.name):null},$S=function(e){var t=e.item,n=e.classNames;return t.secondaryText?z.createElement("span",{className:n.secondaryText},t.secondaryText):null},QS=function(e){var t=e.item,n=e.classNames,r=e.theme;return HS(t)?z.createElement(gS,sm({iconName:Cv(r)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:n.subMenuIcon})):null},ZS=function(e){function t(t){var n=e.call(this,t)||this;return n.openSubMenu=function(){var e=n.props,t=e.item,r=e.openSubMenu,o=e.getSubmenuTarget;if(o){var i=o();HS(t)&&r&&i&&r(t,i)}},n.dismissSubMenu=function(){var e=n.props,t=e.item,r=e.dismissSubMenu;HS(t)&&r&&r()},n.dismissMenu=function(e){var t=n.props.dismissMenu;t&&t(void 0,e)},Ry(n),n}return lm(t,e),t.prototype.render=function(){var e=this.props,t=e.item,n=e.classNames,r=t.onRenderContent||this._renderLayout;return z.createElement("div",{className:t.split?n.linkContentMenu:n.linkContent},r(this.props,{renderCheckMarkIcon:qS,renderItemIcon:KS,renderItemName:GS,renderSecondaryText:$S,renderSubMenuIcon:QS}))},t.prototype._renderLayout=function(e,t){return z.createElement(z.Fragment,null,t.renderCheckMarkIcon(e),t.renderItemIcon(e),t.renderItemName(e),t.renderSecondaryText(e),t.renderSubMenuIcon(e))},t}(z.Component),YS=Ov(function(e){return rg({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})}),JS=36,XS=W_(0,639),ex=Ov(function(e){var t,n,r,o,i,a=e.semanticColors,l=e.fonts,s=e.palette,u=a.menuItemBackgroundHovered,c=a.menuItemTextHovered,d=a.menuItemBackgroundPressed,f=a.bodyDivider;return ng({item:[l.medium,{color:a.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:f,position:"relative"},root:[U_(e),l.medium,{color:a.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:JS,lineHeight:JS,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:a.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[z_]={color:"GrayText",opacity:1},t)},rootHovered:{backgroundColor:u,color:c,selectors:{".ms-ContextualMenu-icon":{color:s.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:s.neutralPrimary}}},rootFocused:{backgroundColor:s.white},rootChecked:{selectors:{".ms-ContextualMenu-checkmarkIcon":{color:s.neutralPrimary}}},rootPressed:{backgroundColor:d,selectors:{".ms-ContextualMenu-icon":{color:s.themeDark},".ms-ContextualMenu-submenuIcon":{color:s.neutralPrimary}}},rootExpanded:{backgroundColor:d,color:a.bodyTextChecked,selectors:(n={".ms-ContextualMenu-submenuIcon":(r={},r[z_]={color:"inherit"},r)},n[z_]=sm({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)},linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:JS,fontSize:Mb.medium,width:Mb.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(o={},o[XS]={fontSize:Mb.large,width:Mb.large},o)},iconColor:{color:a.menuIcon},iconDisabled:{color:a.disabledBodyText},checkmarkIcon:{color:a.bodySubtext},subMenuIcon:{height:JS,lineHeight:JS,color:s.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:Mb.small,selectors:(i={":hover":{color:s.neutralPrimary},":active":{color:s.neutralPrimary}},i[XS]={fontSize:Mb.medium},i)},splitButtonFlexContainer:[U_(e),{display:"flex",height:JS,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]})}),tx="28px",nx=W_(0,639),rx=Ov(function(e){var t;return rg(YS(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[nx]={right:32},t)},divider:{height:16,width:1}})}),ox={item:"ms-ContextualMenu-item",divider:"ms-ContextualMenu-divider",root:"ms-ContextualMenu-link",isChecked:"is-checked",isExpanded:"is-expanded",isDisabled:"is-disabled",linkContent:"ms-ContextualMenu-linkContent",linkContentMenu:"ms-ContextualMenu-linkContent",icon:"ms-ContextualMenu-icon",iconColor:"ms-ContextualMenu-iconColor",checkmarkIcon:"ms-ContextualMenu-checkmarkIcon",subMenuIcon:"ms-ContextualMenu-submenuIcon",label:"ms-ContextualMenu-itemText",secondaryText:"ms-ContextualMenu-secondaryText",splitMenu:"ms-ContextualMenu-splitMenu",screenReaderText:"ms-ContextualMenu-screenReaderText"},ix=Ov(function(e,t,n,r,o,i,a,l,s,u,c,d){var f,p,h,m,g=ex(e),v=$_(ox,e);return rg({item:[v.item,g.item,a],divider:[v.divider,g.divider,l],root:[v.root,g.root,r&&[v.isChecked,g.rootChecked],o&&g.anchorLink,n&&[v.isExpanded,g.rootExpanded],t&&[v.isDisabled,g.rootDisabled],!t&&!n&&[{selectors:(f={":hover":g.rootHovered,":active":g.rootPressed},f[".".concat(By," &:focus, .").concat(By," &:focus:hover, :host(.").concat(By,") &:focus, :host(.").concat(By,") &:focus:hover")]=g.rootFocused,f[".".concat(By," &:hover, :host(.").concat(By,") &:hover")]={background:"inherit;"},f)}],d],splitPrimary:[g.root,{width:"calc(100% - ".concat(tx,")")},r&&["is-checked",g.rootChecked],(t||c)&&["is-disabled",g.rootDisabled],!(t||c)&&!r&&[{selectors:(p={":hover":g.rootHovered},p[":hover ~ .".concat(v.splitMenu)]=g.rootHovered,p[":active"]=g.rootPressed,p[".".concat(By," &:focus, .").concat(By," &:focus:hover, :host(.").concat(By,") &:focus, :host(.").concat(By,") &:focus:hover")]=g.rootFocused,p[".".concat(By," &:hover, :host(.").concat(By,") &:hover")]={background:"inherit;"},p)}]],splitMenu:[v.splitMenu,g.root,{flexBasis:"0",padding:"0 8px",minWidth:tx},n&&["is-expanded",g.rootExpanded],t&&["is-disabled",g.rootDisabled],!t&&!n&&[{selectors:(h={":hover":g.rootHovered,":active":g.rootPressed},h[".".concat(By," &:focus, .").concat(By," &:focus:hover, :host(.").concat(By,") &:focus, :host(.").concat(By,") &:focus:hover")]=g.rootFocused,h[".".concat(By," &:hover, :host(.").concat(By,") &:hover")]={background:"inherit;"},h)}]],anchorLink:g.anchorLink,linkContent:[v.linkContent,g.linkContent],linkContentMenu:[v.linkContentMenu,g.linkContent,{justifyContent:"center"}],icon:[v.icon,i&&g.iconColor,g.icon,s,t&&[v.isDisabled,g.iconDisabled]],iconColor:g.iconColor,checkmarkIcon:[v.checkmarkIcon,i&&g.checkmarkIcon,g.icon,s],subMenuIcon:[v.subMenuIcon,g.subMenuIcon,u,n&&{color:e.palette.neutralPrimary},t&&[g.iconDisabled]],label:[v.label,g.label],secondaryText:[v.secondaryText,g.secondaryText],splitContainer:[g.splitButtonFlexContainer,!t&&!r&&[{selectors:(m={},m[".".concat(By," &:focus, .").concat(By," &:focus:hover, :host(.").concat(By,") &:focus, :host(.").concat(By,") &:focus:hover")]=g.rootFocused,m)}]],screenReaderText:[v.screenReaderText,g.screenReaderText,q_,{visibility:"hidden"}]})}),ax=function(e){var t=e.theme,n=e.disabled,r=e.expanded,o=e.checked,i=e.isAnchorLink,a=e.knownIcon,l=e.itemClassName,s=e.dividerClassName,u=e.iconClassName,c=e.subMenuClassName,d=e.primaryDisabled,f=e.className;return ix(t,n,r,o,i,a,l,s,u,c,d,f)},lx=fb(ZS,ax,void 0,{scope:"ContextualMenuItem"}),sx=function(e){function t(t){var n=e.call(this,t)||this;return n._onItemMouseEnter=function(e){var t=n.props,r=t.item,o=t.onItemMouseEnter;o&&o(r,e,e.currentTarget)},n._onItemClick=function(e){var t=n.props,r=t.item,o=t.onItemClickBase;o&&o(r,e,e.currentTarget)},n._onItemMouseLeave=function(e){var t=n.props,r=t.item,o=t.onItemMouseLeave;o&&o(r,e)},n._onItemKeyDown=function(e){var t=n.props,r=t.item,o=t.onItemKeyDown;o&&o(r,e)},n._onItemMouseMove=function(e){var t=n.props,r=t.item,o=t.onItemMouseMove;o&&o(r,e,e.currentTarget)},n._getSubmenuTarget=function(){},Ry(n),n}return lm(t,e),t.prototype.shouldComponentUpdate=function(e){return!Og(e,this.props)},t}(z.Component);!function(e){e.KEYTIP_ADDED="keytipAdded",e.KEYTIP_REMOVED="keytipRemoved",e.KEYTIP_UPDATED="keytipUpdated",e.PERSISTED_KEYTIP_ADDED="persistedKeytipAdded",e.PERSISTED_KEYTIP_REMOVED="persistedKeytipRemoved",e.PERSISTED_KEYTIP_EXECUTE="persistedKeytipExecute",e.ENTER_KEYTIP_MODE="enterKeytipMode",e.EXIT_KEYTIP_MODE="exitKeytipMode"}(US||(US={}));var ux=function(){function e(){this.keytips={},this.persistedKeytips={},this.sequenceMapping={},this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0,this.delayUpdatingKeytipChange=!1}return e.getInstance=function(){return this._instance},e.prototype.init=function(e){this.delayUpdatingKeytipChange=e},e.prototype.register=function(e,t){void 0===t&&(t=!1);var n=e;t||(n=this.addParentOverflow(e),this.sequenceMapping[n.keySequences.toString()]=n);var r=this._getUniqueKtp(n);if(t?this.persistedKeytips[r.uniqueID]=r:this.keytips[r.uniqueID]=r,this.inKeytipMode||!this.delayUpdatingKeytipChange){var o=t?US.PERSISTED_KEYTIP_ADDED:US.KEYTIP_ADDED;Bg.raise(this,o,{keytip:n,uniqueID:r.uniqueID})}return r.uniqueID},e.prototype.update=function(e,t){var n=this.addParentOverflow(e),r=this._getUniqueKtp(n,t),o=this.keytips[t];o&&(r.keytip.visible=o.keytip.visible,this.keytips[t]=r,delete this.sequenceMapping[o.keytip.keySequences.toString()],this.sequenceMapping[r.keytip.keySequences.toString()]=r.keytip,!this.inKeytipMode&&this.delayUpdatingKeytipChange||Bg.raise(this,US.KEYTIP_UPDATED,{keytip:r.keytip,uniqueID:r.uniqueID}))},e.prototype.unregister=function(e,t,n){void 0===n&&(n=!1),n?delete this.persistedKeytips[t]:delete this.keytips[t],!n&&delete this.sequenceMapping[e.keySequences.toString()];var r=n?US.PERSISTED_KEYTIP_REMOVED:US.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||Bg.raise(this,r,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){Bg.raise(this,US.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){Bg.raise(this,US.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){var e=this;return Object.keys(this.keytips).map(function(t){return e.keytips[t].keytip})},e.prototype.addParentOverflow=function(e){var t=dm([],e.keySequences,!0);if(t.pop(),0!==t.length){var n=this.sequenceMapping[t.toString()];if(n&&n.overflowSetSequence)return sm(sm({},e),{overflowSetSequence:n.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){Bg.raise(this,US.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=gy()),{keytip:sm({},e),uniqueID:t}},e._instance=new e,e}();function cx(e){return e.reduce(function(e,t){return e+"-"+t.split("").join("-")},"ktp")}function dx(e){var t=z.useRef(void 0),n=e.keytipProps?sm({disabled:e.disabled},e.keytipProps):void 0,r=rw(ux.getInstance()),o=uw(e);gb(function(){t.current&&n&&((null==o?void 0:o.keytipProps)!==e.keytipProps||(null==o?void 0:o.disabled)!==e.disabled)&&r.update(n,t.current)}),gb(function(){return n&&(t.current=r.register(n)),function(){n&&r.unregister(n,t.current)}},[]);var i={ariaDescribedBy:e.ariaDescribedBy,keytipId:void 0};return n&&(i=function(e,t,n){var r=e.addParentOverflow(t),o=gv(n,function(e){var t=" ktp-layer-id";return e.length?t+" "+cx(e):t}(r.keySequences)),i=dm([],r.keySequences,!0);r.overflowSetSequence&&(i=function(e,t){var n,r,o,i=t.length,a=dm([],t,!0).pop(),l=dm([],e,!0);return n=i-1,r=a,(o=l.slice()).splice(n,0,r),o}(i,r.overflowSetSequence));var a=cx(i);return{ariaDescribedBy:o,keytipId:a}}(r,n,e.ariaDescribedBy)),i}var fx=function(e){var t,n=e.children,r=dx(um(e,["children"])),o=r.keytipId,i=r.ariaDescribedBy;return n(((t={})["data-ktp-target"]=o,t["data-ktp-execute-target"]=o,t["aria-describedby"]=i,t))},px=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=z.createRef(),t._getMemoizedMenuButtonKeytipProps=Ov(function(e){return sm(sm({},e),{hasMenu:!0})}),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var n=t.props,r=n.item,o=n.onItemClick;o&&o(r,e)},t._renderAriaDescription=function(e,n){return e?z.createElement("span",{id:t._ariaDescriptionId,className:n},e):null},t}return lm(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,o=t.index,i=t.focusableElementIndex,a=t.totalItemCount,l=t.hasCheckmarks,s=t.hasIcons,u=t.expandedMenuItemKey,c=t.onItemClick,d=t.openSubMenu,f=t.dismissSubMenu,p=t.dismissMenu,h=lx;this.props.item.contextualMenuItemAs&&(h=zv(this.props.item.contextualMenuItemAs,h)),this.props.contextualMenuItemAs&&(h=zv(this.props.contextualMenuItemAs,h));var m=n.rel;n.target&&"_blank"===n.target.toLowerCase()&&(m=m||"nofollow noopener noreferrer");var g=HS(n),v=Py(n,Sy),y=VS(n),b=n.itemProps,_=n.ariaDescription,C=n.keytipProps;C&&g&&(C=this._getMemoizedMenuButtonKeytipProps(C)),_&&(this._ariaDescriptionId=gy());var w=gv(n.ariaDescribedBy,_?this._ariaDescriptionId:void 0,v["aria-describedby"]),S={"aria-describedby":w};return z.createElement("div",null,z.createElement(fx,{keytipProps:n.keytipProps,ariaDescribedBy:w,disabled:y},function(t){return z.createElement("a",sm({},S,v,t,{ref:e._anchor,href:n.href,target:n.target,rel:m,className:r.root,role:"menuitem","aria-haspopup":g||void 0,"aria-expanded":g?n.key===u:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":VS(n),style:n.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:g?e._onItemKeyDown:void 0}),z.createElement(h,sm({componentRef:n.componentRef,item:n,classNames:r,index:o,onCheckmarkClick:l&&c?c:void 0,hasIcons:s,openSubMenu:d,dismissSubMenu:f,dismissMenu:p,getSubmenuTarget:e._getSubmenuTarget},b)),e._renderAriaDescription(_,r.screenReaderText))}))},t}(sx),hx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=z.createRef(),t._getMemoizedMenuButtonKeytipProps=Ov(function(e){return sm(sm({},e),{hasMenu:!0})}),t._renderAriaDescription=function(e,n){return e?z.createElement("span",{id:t._ariaDescriptionId,className:n},e):null},t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return lm(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,o=t.index,i=t.focusableElementIndex,a=t.totalItemCount,l=t.hasCheckmarks,s=t.hasIcons,u=t.contextualMenuItemAs,c=t.expandedMenuItemKey,d=t.onItemMouseDown,f=t.onItemClick,p=t.openSubMenu,h=t.dismissSubMenu,m=t.dismissMenu,g=lx;n.contextualMenuItemAs&&(g=zv(n.contextualMenuItemAs,g)),u&&(g=zv(u,g));var v=zS(n),y=null!==v,b=WS(n),_=HS(n),C=n.itemProps,w=n.ariaLabel,S=n.ariaDescription,x=Py(n,xy);delete x.disabled;var k=n.role||b;S&&(this._ariaDescriptionId=gy());var E=gv(n.ariaDescribedBy,S?this._ariaDescriptionId:void 0,x["aria-describedby"]),F={className:r.root,onClick:this._onItemClick,onKeyDown:_?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return d?d(n,e):void 0},onMouseMove:this._onItemMouseMove,href:n.href,title:n.title,"aria-label":w,"aria-describedby":E,"aria-haspopup":_||void 0,"aria-expanded":_?n.key===c:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":VS(n),"aria-checked":"menuitemcheckbox"!==k&&"menuitemradio"!==k||!y?void 0:!!v,"aria-selected":"menuitem"===k&&y?!!v:void 0,role:k,style:n.style},I=n.keytipProps;return I&&_&&(I=this._getMemoizedMenuButtonKeytipProps(I)),z.createElement(fx,{keytipProps:I,ariaDescribedBy:E,disabled:VS(n)},function(t){return z.createElement("button",sm({ref:e._btn},x,F,t),z.createElement(g,sm({componentRef:n.componentRef,item:n,classNames:r,index:o,onCheckmarkClick:l&&f?f:void 0,hasIcons:s,openSubMenu:p,dismissSubMenu:h,dismissMenu:m,getSubmenuTarget:e._getSubmenuTarget},C)),e._renderAriaDescription(S,r.screenReaderText))})},t}(sx),mx=kv(),gx=z.forwardRef(function(e,t){var n=e.styles,r=e.theme,o=e.getClassNames,i=e.className,a=mx(n,{theme:r,getClassNames:o,className:i});return z.createElement("span",{className:a.wrapper,ref:t},z.createElement("span",{className:a.divider}))});gx.displayName="VerticalDividerBase";var vx,yx=fb(gx,function(e){var t=e.theme,n=e.getClassNames,r=e.className;if(!t)throw new Error("Theme is undefined or null.");if(n){var o=n(t);return{wrapper:[o.wrapper],divider:[o.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},r],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}},void 0,{scope:"VerticalDivider"}),bx=function(e){function t(t){var n=e.call(this,t)||this;return n._getMemoizedMenuButtonKeytipProps=Ov(function(e){return sm(sm({},e),{hasMenu:!0})}),n._onItemKeyDown=function(e){var t=n.props,r=t.item,o=t.onItemKeyDown;e.which===nv?(n._executeItemClick(e),e.preventDefault(),e.stopPropagation()):o&&o(r,e)},n._getSubmenuTarget=function(){return n._splitButton},n._renderAriaDescription=function(e,t){return e?z.createElement("span",{id:n._ariaDescriptionId,className:t},e):null},n._onItemMouseEnterPrimary=function(e){var t=n.props,r=t.item,o=t.onItemMouseEnter;o&&o(sm(sm({},r),{subMenuProps:void 0,items:void 0}),e,n._splitButton)},n._onItemMouseEnterIcon=function(e){var t=n.props,r=t.item,o=t.onItemMouseEnter;o&&o(r,e,n._splitButton)},n._onItemMouseMovePrimary=function(e){var t=n.props,r=t.item,o=t.onItemMouseMove;o&&o(sm(sm({},r),{subMenuProps:void 0,items:void 0}),e,n._splitButton)},n._onItemMouseMoveIcon=function(e){var t=n.props,r=t.item,o=t.onItemMouseMove;o&&o(r,e,n._splitButton)},n._onIconItemClick=function(e){var t=n.props,r=t.item,o=t.onItemClickBase;o&&o(r,e,n._splitButton?n._splitButton:e.currentTarget)},n._executeItemClick=function(e){var t=n.props,r=t.item,o=t.executeItemClick,i=t.onItemClick;if(!r.disabled&&!r.isDisabled)return n._processingTouch&&!r.canCheck&&i?i(r,e):void(o&&o(r,e))},n._onTouchStart=function(e){n._splitButton&&!("onpointerdown"in n._splitButton)&&n._handleTouchAndPointerEvent(e)},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},n._async=new dg(n),n._events=new Bg(n),n._dismissLabelId=gy(),n}return lm(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e,t=this,n=this.props,r=n.item,o=n.classNames,i=n.index,a=n.focusableElementIndex,l=n.totalItemCount,s=n.hasCheckmarks,u=n.hasIcons,c=n.onItemMouseLeave,d=n.expandedMenuItemKey,f=HS(r),p=r.keytipProps;p&&(p=this._getMemoizedMenuButtonKeytipProps(p));var h=r.ariaDescription;h&&(this._ariaDescriptionId=gy());var m=null!==(e=zS(r))&&void 0!==e?e:void 0;return z.createElement(fx,{keytipProps:p,disabled:VS(r)},function(e){return z.createElement("div",{"data-ktp-target":e["data-ktp-target"],ref:function(e){t._splitButton=e},role:WS(r),"aria-label":r.ariaLabel,className:o.splitContainer,"aria-disabled":VS(r),"aria-expanded":f?r.key===d:void 0,"aria-haspopup":!0,"aria-describedby":gv(r.ariaDescribedBy,h?t._ariaDescriptionId:void 0,e["aria-describedby"]),"aria-checked":m,"aria-posinset":a+1,"aria-setsize":l,onMouseEnter:t._onItemMouseEnterPrimary,onMouseLeave:c?c.bind(t,sm(sm({},r),{subMenuProps:null,items:null})):void 0,onMouseMove:t._onItemMouseMovePrimary,onKeyDown:t._onItemKeyDown,onClick:t._executeItemClick,onTouchStart:t._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":r["aria-roledescription"]},t._renderSplitPrimaryButton(r,o,i,s,u),t._renderSplitDivider(r),t._renderSplitIconButton(r,o,i,e),t._renderAriaDescription(h,o.screenReaderText))})},t.prototype._renderSplitPrimaryButton=function(e,t,n,r,o){var i=this.props,a=i.contextualMenuItemAs,l=void 0===a?lx:a,s=i.onItemClick,u={key:e.key,disabled:VS(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,secondaryText:e.secondaryText,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,id:this._dismissLabelId,onRenderIcon:e.onRenderIcon,data:e.data,"data-is-focusable":!1},c=e.itemProps;return z.createElement("button",sm({},Py(u,xy)),z.createElement(l,sm({"data-is-focusable":!1,item:sm(sm({},u),{onClick:e.onClick}),classNames:t,index:n,onCheckmarkClick:r&&s?s:void 0,hasIcons:o},c)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||rx;return z.createElement(yx,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,n,r){var o=this.props,i=o.onItemMouseLeave,a=o.onItemMouseDown,l=o.openSubMenu,s=o.dismissSubMenu,u=o.dismissMenu,c=lx;this.props.item.contextualMenuItemAs&&(c=zv(this.props.item.contextualMenuItemAs,c)),this.props.contextualMenuItemAs&&(c=zv(this.props.contextualMenuItemAs,c));var d={onClick:this._onIconItemClick,disabled:VS(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key,"aria-labelledby":this._dismissLabelId},f=sm(sm({},Py(d,xy)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:i?i.bind(this,e):void 0,onMouseDown:function(t){return a?a(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":r["data-ktp-execute-target"],"aria-haspopup":!0}),p=e.itemProps;return z.createElement("button",sm({},f),z.createElement(c,sm({componentRef:e.componentRef,item:d,classNames:t,index:n,hasIcons:!1,openSubMenu:l,dismissSubMenu:s,dismissMenu:u,getSubmenuTarget:this._getSubmenuTarget},p)))},t.prototype._handleTouchAndPointerEvent=function(e){var t=this,n=this.props.onTap;n&&n(e),this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){t._processingTouch=!1,t._lastTouchTimeoutId=void 0},500)},t}(sx);!function(e){e[e.small=0]="small",e[e.medium=1]="medium",e[e.large=2]="large",e[e.xLarge=3]="xLarge",e[e.xxLarge=4]="xxLarge",e[e.xxxLarge=5]="xxxLarge",e[e.unknown=999]="unknown"}(vx||(vx={}));var _x,Cx=[479,639,1023,1365,1919,99999999];function wx(){var e;return null!==(e=_x)&&void 0!==e?e:vx.large}function Sx(e){try{return e.document.documentElement.clientWidth}catch(t){return e.innerWidth}}var xx=function(e,t){var n=z.useState(wx()),r=n[0],o=n[1],i=z.useCallback(function(){var t=function(e){var t=vx.small;if(!e)throw new Error("Content was rendered in a server environment without providing a default responsive mode. Call setResponsiveMode to define what the responsive mode is.");try{for(;Sx(e)>Cx[t];)t++}catch(e){t=wx()}return _x=t,t}(cg(e.current));r!==t&&o(t)},[e,r]);return sw(ay(),"resize",i),z.useEffect(function(){void 0===t&&i()},[t]),null!=t?t:r},kx=z.createContext({}),Ex=kv(),Fx=kv(),Ix={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:_C,beakWidth:16};function Tx(e){for(var t=0,n=0,r=e;n<r.length;n++){var o=r[n];if(o.itemType!==MS.Divider&&o.itemType!==MS.Header)t+=o.customOnRenderListLength?o.customOnRenderListLength:1}return t}function Px(e,t){var n=null==t?void 0:t.target,r=e.subMenuProps?e.subMenuProps.items:e.items;if(r){for(var o=[],i=0,a=r;i<a.length;i++){var l=a[i];if(l.preferMenuTargetAsEventTarget){var s=l.onClick,u=um(l,["onClick"]);o.push(sm(sm({},u),{onClick:Hx(s,n)}))}else o.push(l)}return o}}var Rx="ContextualMenu",Dx=Ov(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return ig.apply(void 0,dm([t,ax],e,!1))}});function Mx(e,t){var n=e.hidden,r=e.items,o=e.theme,i=e.className,a=e.id,l=e.target,s=z.useState(),u=s[0],c=s[1],d=z.useState(),f=d[0],p=d[1],h=z.useState(),m=h[0],g=h[1],v=aw(Rx,a),y=z.useCallback(function(){g(void 0),c(void 0),p(void 0)},[]),b=z.useCallback(function(e,t,n){var r=e.key;u!==r&&(t.focus(),g(n),c(r),p(t))},[u]);z.useEffect(function(){n&&y()},[n,y]);var _=function(e,t){var n=z.useRef(!1);z.useEffect(function(){return n.current=!0,function(){n.current=!1}},[]);var r=function(r,o){o?e(r,o):n.current&&t()};return r}(t,y);return[u,b,function(){var e=zx(u,r),t=null;if(e&&(t={items:Px(e,{target:l}),target:f,onDismiss:_,isSubMenu:!0,id:v,shouldFocusOnMount:!0,shouldFocusOnContainer:m,directionalHint:Cv(o)?CC:xC,className:i,gapSpace:0,isBeakVisible:!1},e.subMenuProps&&Ag(t,e.subMenuProps),e.preferMenuTargetAsEventTarget)){var n=e.onItemClick;t.onItemClick=Hx(n,l)}return t},_]}function Ox(e,t,n,r){var o=e.theme,i=e.isSubMenu,a=e.focusZoneProps,l=void 0===a?{}:a,s=l.checkForNoWrap,u=l.direction,c=void 0===u?CS.vertical:u,d=z.useRef(void 0),f=function(e,n,r){var o=!1;return n(e)&&(t(e,r),e.preventDefault(),e.stopPropagation(),o=!0),o},p=function(e){return e.which===ov||function(e){var t=Cv(o)?fv:cv;return!(e.which!==t||!i||c!==CS.vertical&&(!s||Pg(e.target,"data-no-horizontal-wrap")))}(e)||e.which===dv&&(e.altKey||e.metaKey)},h=function(e){d.current=Lx(e);var t=e.which===ov&&(sb()||ib());return f(e,p,t)},m=function(e){var t=d.current&&Lx(e);return d.current=!1,!!t&&!(ib()||sb())};return[h,function(e){return f(e,m,!0)},function(e){if(!h(e)&&n.current){var t=!(!e.altKey&&!e.metaKey),r=e.which===dv,o=e.which===pv;if(!t&&(r||o)){var i=r?wg(n.current,n.current.lastChild,!0):Cg(n.current,n.current.firstChild,!0);i&&(i.focus(),e.preventDefault(),e.stopPropagation())}}},function(e,t){var n=Cv(o)?cv:fv;e.disabled||t.which!==n&&t.which!==nv&&(t.which!==pv||!t.altKey&&!t.metaKey)||(r(e,t.currentTarget),t.preventDefault())}]}var Ax=z.memo(z.forwardRef(function(e,t){var n,r=hb(Ix,e);r.ref;var o=um(r,["ref"]),i=z.useRef(null),a=nw(),l=aw(Rx,o.id),s=function(e,t){var n;return null===(n=o.onDismiss)||void 0===n?void 0:n.call(o,e,t)},u=cw(o.target,i),c=u[0],d=u[1],f=function(e,t,n){var r=e.hidden,o=e.onRestoreFocus,i=z.useRef(void 0),a=z.useCallback(function(e){var t,n;o?o(e):(null==e?void 0:e.documentContainsFocus)&&(null===(n=null===(t=i.current)||void 0===t?void 0:t.focus)||void 0===n||n.call(t))},[o]);return gb(function(){var e,o;if(r)i.current&&(a({originalElement:i.current,containsFocus:!0,documentContainsFocus:(null===(o=_g())||void 0===o?void 0:o.hasFocus())||!1}),i.current=void 0);else{var l=null==t?void 0:t.document.activeElement;(null===(e=n.current)||void 0===e?void 0:e.contains(l))||"BODY"===l.tagName||(i.current=l)}},[r,null==t?void 0:t.document.activeElement,a,n]),[a]}(o,d,i)[0],p=Mx(o,s),h=p[0],m=p[1],g=p[2],v=p[3],y=function(e){var t=e.delayUpdateFocusOnHover,n=e.hidden,r=z.useRef(!t),o=z.useRef(!1);z.useEffect(function(){r.current=!t,o.current=!n&&!t&&o.current},[t,n]);var i=z.useCallback(function(){t&&(r.current=!1)},[t]);return[r,o,i]}(o),b=y[0],_=y[1],C=y[2],w=function(e){var t=z.useRef(!0),n=z.useRef(void 0);return[function(){t.current||void 0===n.current?t.current=!1:(e.clearTimeout(n.current),n.current=void 0),n.current=e.setTimeout(function(){t.current=!0},250)},t]}(a),S=w[0],x=w[1],k=function(e,t){var n=e.subMenuHoverDelay,r=void 0===n?250:n,o=z.useRef(void 0),i=function(){void 0!==o.current&&(t.clearTimeout(o.current),o.current=void 0)};return[i,function(e){o.current=t.setTimeout(function(){e(),i()},r)},o]}(o,a),E=k[0],F=k[1],I=k[2],T=xx(i,o.responsiveMode);!function(e){var t=e.hidden,n=void 0!==t&&t,r=e.onMenuDismissed,o=e.onMenuOpened,i=uw(n),a=z.useRef(o),l=z.useRef(r),s=z.useRef(e);a.current=o,l.current=r,s.current=e,z.useEffect(function(){var e,t;n&&!1===i?null===(e=l.current)||void 0===e||e.call(l,s.current):n||!1===i||null===(t=a.current)||void 0===t||t.call(a,s.current)},[n,i]),z.useEffect(function(){return function(){var e;return null===(e=l.current)||void 0===e?void 0:e.call(l,s.current)}},[])}(o);var P=Ox(o,s,i,m),R=P[0],D=P[1],M=P[2],O=P[3],A=function(e,t,n,r,o,i,a,l,s,u,c,d,f){var p=e.target,h=function(){return!t.current||!i.current},m=function(e,t,n){var r=n||t.currentTarget;e.key!==a&&(u(),void 0===a&&r.focus(),HS(e)?(t.stopPropagation(),s(function(){r.focus(),c(e,r,!0)})):s(function(){d(t),r.focus()}))},g=function(t,n,r){var o=Px(t,{target:p});if(u(),HS(t)||o&&o.length){if(t.key!==a){var i="boolean"==typeof e.shouldFocusOnContainer?e.shouldFocusOnContainer:"mouse"===n.nativeEvent.pointerType;c(t,r,i)}}else v(t,n);n.stopPropagation(),n.preventDefault()},v=function(t,n){if(!t.disabled&&!t.isDisabled){t.preferMenuTargetAsEventTarget&&Vx(n,p);var r=!1;t.onClick?r=!!t.onClick(n,t):e.onItemClick&&(r=!!e.onItemClick(n,t)),!r&&n.defaultPrevented||f(n,!0)}};return[function(e,t,n){o.current&&(i.current=!0),h()||m(e,t,n)},function(e,a,l){var s=a.currentTarget;o.current&&(i.current=!0,t.current&&void 0===n.current&&s!==(null==r?void 0:r.document.activeElement)&&m(e,a,l))},function(e,t){var n;if(!h()&&(u(),void 0===a))if(l.current.setActive)try{l.current.setActive()}catch(e){}else null===(n=l.current)||void 0===n||n.focus()},function(e,t){g(e,t,t.currentTarget)},function(e,t){v(e,t),t.stopPropagation()},v,g]}(o,x,I,d,b,_,h,i,F,E,m,v,s),L=A[0],N=A[1],B=A[2],H=A[3],V=A[4],W=A[5],U=A[6],j=function(e,t,n){var r=0,o=e.items,i=e.totalItemCount,a=e.hasCheckmarks,l=e.hasIcons;return z.createElement("ul",{className:t.list,onKeyDown:R,onKeyUp:D,role:"presentation"},o.map(function(e,n){var o=K(e,n,r,i,a,l,t);if(e.itemType!==MS.Divider&&e.itemType!==MS.Header){var s=e.customOnRenderListLength?e.customOnRenderListLength:1;r+=s}return o}))},K=function(e,t,n,r,i,a,l){var s,u,c=[],d=e.iconProps||{iconName:"None"},f=e.getItemClassNames,p=e.itemProps,m=p?p.styles:void 0,g=e.itemType===MS.Divider?e.className:void 0,v=e.submenuIconProps?e.submenuIconProps.className:"";if(f)u=f(o.theme,VS(e),h===e.key,!!zS(e),!!e.href,"None"!==d.iconName,e.className,g,d.className,v,e.primaryDisabled);else{var y={theme:o.theme,disabled:VS(e),expanded:h===e.key,checked:!!zS(e),isAnchorLink:!!e.href,knownIcon:"None"!==d.iconName,itemClassName:e.className,dividerClassName:g,iconClassName:d.className,subMenuClassName:v,primaryDisabled:e.primaryDisabled};u=Fx(Dx(null===(s=l.subComponentStyles)||void 0===s?void 0:s.menuItem,m),y)}switch("-"!==e.text&&"-"!==e.name||(e.itemType=MS.Divider),e.itemType){case MS.Divider:c.push($(t,u));break;case MS.Header:c.push($(t,u));var b=Z(e,u,l,t,i,a);c.push(G(b,e.key||t,u,e.title));break;case MS.Section:c.push(q(e,u,l,t,i,a));break;default:var _=function(){return Q(e,u,t,n,r,i,a)},C=o.onRenderContextualMenuItem?o.onRenderContextualMenuItem(e,_):_();c.push(G(C,e.key||t,u,e.title))}return z.createElement(z.Fragment,{key:e.key},c)},q=function(e,t,n,r,o,i){var a=e.sectionProps;if(a){var s,u;if(a.title){var c=void 0,d="";if("string"==typeof a.title){var f=l+a.title.replace(/\s/g,"");c={key:"section-".concat(a.title,"-title"),itemType:MS.Header,text:a.title,id:f},d=f}else{var p=a.title.id||l+a.title.key.replace(/\s/g,"");c=sm(sm({},a.title),{id:p}),d=p}c&&(u={role:"group","aria-labelledby":d},s=Z(c,t,n,r,o,i))}if(a.items&&a.items.length>0){var h=0;return z.createElement("li",{role:"presentation",key:a.key||e.key||"section-".concat(r)},z.createElement("div",sm({},u),z.createElement("ul",{className:n.list,role:"presentation"},a.topDivider&&$(r,t,!0,!0),s&&G(s,e.key||r,t,e.title),a.items.map(function(e,t){var r=K(e,t,h,Tx(a.items),o,i,n);if(e.itemType!==MS.Divider&&e.itemType!==MS.Header){var l=e.customOnRenderListLength?e.customOnRenderListLength:1;h+=l}return r}),a.bottomDivider&&$(r,t,!1,!0))))}}},G=function(e,t,n,r){return z.createElement("li",{role:"presentation",title:r,key:t,className:n.item},e)},$=function(e,t,n,r){return r||e>0?z.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},Q=function(e,t,n,r,i,a,l){if(e.onRender)return e.onRender(sm({"aria-posinset":r+1,"aria-setsize":i},e),s);var u={item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:i,hasCheckmarks:a,hasIcons:l,contextualMenuItemAs:o.contextualMenuItemAs,onItemMouseEnter:L,onItemMouseLeave:B,onItemMouseMove:N,onItemMouseDown:Nx,executeItemClick:W,onItemKeyDown:O,expandedMenuItemKey:h,openSubMenu:m,dismissSubMenu:v,dismissMenu:s};if(e.href){var c=px;return e.contextualMenuItemWrapperAs&&(c=zv(e.contextualMenuItemWrapperAs,c)),z.createElement(c,sm({},u,{onItemClick:V}))}if(e.split&&HS(e)){var d=bx;return e.contextualMenuItemWrapperAs&&(d=zv(e.contextualMenuItemWrapperAs,d)),z.createElement(d,sm({},u,{onItemClick:H,onItemClickBase:U,onTap:E}))}var f=hx;return e.contextualMenuItemWrapperAs&&(f=zv(e.contextualMenuItemWrapperAs,f)),z.createElement(f,sm({},u,{onItemClick:H,onItemClickBase:U}))},Z=function(e,t,n,r,i,a){var l=lx;e.contextualMenuItemAs&&(l=zv(e.contextualMenuItemAs,l)),o.contextualMenuItemAs&&(l=zv(o.contextualMenuItemAs,l));var s=e.itemProps,u=e.id,c=s&&Py(s,Ty);return z.createElement("div",sm({id:u,className:n.header},c,{style:e.style}),z.createElement(l,sm({item:e,classNames:t,index:r,onCheckmarkClick:i?H:void 0,hasIcons:a},s)))},Y=o.isBeakVisible,J=o.items,X=o.labelElementId,ee=o.id,te=o.className,ne=o.beakWidth,re=o.directionalHint,oe=o.directionalHintForRTL,ie=o.alignTargetEdge,ae=o.gapSpace,le=o.coverTarget,se=o.ariaLabel,ue=o.doNotLayer,ce=o.target,de=o.bounds,fe=o.useTargetWidth,pe=o.useTargetAsMinWidth,he=o.directionalHintFixed,me=o.shouldFocusOnMount,ge=o.shouldFocusOnContainer,ve=o.title,ye=o.styles,be=o.theme,_e=o.calloutProps,Ce=o.onRenderSubMenu,we=void 0===Ce?Bx:Ce,Se=o.onRenderMenuList,xe=void 0===Se?function(e,t){return j(e,Fe)}:Se,ke=o.focusZoneProps,Ee=o.getMenuClassNames,Fe=Ee?Ee(be,te):Ex(ye,{theme:be,className:te}),Ie=function e(t){for(var n=0,r=t;n<r.length;n++){var o=r[n];if(o.iconProps)return!0;if(o.itemType===MS.Section&&o.sectionProps&&e(o.sectionProps.items))return!0}return!1}(J);var Te,Pe=sm(sm({direction:CS.vertical,handleTabKey:wS,isCircularNavigation:!0,"data-tabster":'{"uncontrolled": {}, "focusable": { "excludeFromMover": true }}'},ke),{className:Hv(Fe.root,null===(n=o.focusZoneProps)||void 0===n?void 0:n.className)}),Re=function(e){return e.some(function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some(function(e){return!0===e.canCheck}))})}(J),De=h&&!0!==o.hidden?g():null;Y=void 0===Y?T<=vx.medium:Y;var Me=c.current;if((fe||pe)&&Me&&Me.offsetWidth){var Oe=Me.getBoundingClientRect().width-2;fe?Te={width:Oe}:pe&&(Te={minWidth:Oe})}if(J&&J.length>0){var Ae=Tx(J),Le=Fe.subComponentStyles?Fe.subComponentStyles.callout:void 0;return z.createElement(kx.Consumer,null,function(e){return z.createElement(Jw,sm({styles:Le,onRestoreFocus:f},_e,{target:ce||e.target,isBeakVisible:Y,beakWidth:ne,directionalHint:re,directionalHintForRTL:oe,gapSpace:ae,coverTarget:le,doNotLayer:ue,className:Hv("ms-ContextualMenu-Callout",_e&&_e.className),setInitialFocus:me,onDismiss:o.onDismiss||e.onDismiss,onScroll:S,bounds:de,directionalHintFixed:he,alignTargetEdge:ie,hidden:o.hidden||e.hidden,ref:t}),z.createElement("div",{style:Te,ref:i,id:ee,className:Fe.container,tabIndex:ge?0:-1,onKeyDown:M,onKeyUp:D,onFocusCapture:C,"aria-label":se,"aria-labelledby":X,role:"menu"},ve&&z.createElement("div",{className:Fe.title}," ",ve," "),J&&J.length?function(e,t){var n=o.focusZoneAs,r=void 0===n?BS:n;return z.createElement(r,sm({},t),e)}(xe({ariaLabel:se,items:J,totalItemCount:Ae,hasCheckmarks:Re,hasIcons:Ie,defaultMenuItemRenderer:function(e){return function(e,t){var n=e.index,r=e.focusableElementIndex,o=e.totalItemCount,i=e.hasCheckmarks,a=e.hasIcons;return K(e,n,r,o,i,a,t)}(e,Fe)},labelElementId:X},function(e,t){return j(e,Fe)}),Pe):null,De&&we(De,Bx)),z.createElement($y,null))})}return null}),function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||Og(e,t)});function Lx(e){return e.which===rv||"Meta"===e.key}function Nx(e,t){var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,e,t)}function Bx(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")}function zx(e,t){for(var n=0,r=t;n<r.length;n++){var o=r[n];if(o.itemType===MS.Section&&o.sectionProps){var i=zx(e,o.sectionProps.items);if(i)return i}else if(o.key&&o.key===e)return o}}function Hx(e,t){return e?function(n,r){return Vx(n,t),e(n,r)}:e}function Vx(e,t){e&&t&&(e.persist(),t instanceof Event?e.target=t.target:t instanceof Element&&(e.target=t))}Ax.displayName="ContextualMenuBase";var Wx={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function Ux(e){return z.createElement(jx,sm({},e))}var jx=fb(Ax,function(e){var t=e.className,n=e.theme,r=$_(Wx,n),o=n.fonts,i=n.semanticColors,a=n.effects;return{root:[n.fonts.medium,r.root,r.isopen,{backgroundColor:i.menuBackground,minWidth:"180px"},t],container:[r.container,{selectors:{":focus":{outline:0}}}],list:[r.list,r.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[r.header,o.small,{fontWeight:Db.semibold,color:i.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:JS,lineHeight:JS,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[r.title,{fontSize:o.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:i.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}},function(e){return{onRenderSubMenu:e.onRenderSubMenu?cb(e.onRenderSubMenu,Ux):Ux}},{scope:"ContextualMenu"}),Kx=jx;Kx.displayName="ContextualMenu";var qx={msButton:"ms-Button",msButtonHasMenu:"ms-Button--hasMenu",msButtonIcon:"ms-Button-icon",msButtonMenuIcon:"ms-Button-menuIcon",msButtonLabel:"ms-Button-label",msButtonDescription:"ms-Button-description",msButtonScreenReaderText:"ms-Button-screenReaderText",msButtonFlexContainer:"ms-Button-flexContainer",msButtonTextContainer:"ms-Button-textContainer"},Gx=Ov(function(e,t,n,r,o,i,a,l,s,u,c){var d,f,p=$_(qx,e||{}),h=u&&!c;return rg(t.__shadowConfig__,{root:[p.msButton,t.root,r,s&&["is-checked",t.rootChecked],h&&["is-expanded",t.rootExpanded,(d={},d[":hover .".concat(p.msButtonIcon)]=t.iconExpandedHovered,d[":hover .".concat(p.msButtonMenuIcon)]=t.menuIconExpandedHovered||t.rootExpandedHovered,d[":hover"]=t.rootExpandedHovered,d)],l&&[qx.msButtonHasMenu,t.rootHasMenu],a&&["is-disabled",t.rootDisabled],!a&&!h&&!s&&(f={":hover":t.rootHovered},f[":hover .".concat(p.msButtonLabel)]=t.labelHovered,f[":hover .".concat(p.msButtonIcon)]=t.iconHovered,f[":hover .".concat(p.msButtonDescription)]=t.descriptionHovered,f[":hover .".concat(p.msButtonMenuIcon)]=t.menuIconHovered,f[":focus"]=t.rootFocused,f[":active"]=t.rootPressed,f[":active .".concat(p.msButtonIcon)]=t.iconPressed,f[":active .".concat(p.msButtonDescription)]=t.descriptionPressed,f[":active .".concat(p.msButtonMenuIcon)]=t.menuIconPressed,f),a&&s&&[t.rootCheckedDisabled],!a&&s&&{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed},n],flexContainer:[p.msButtonFlexContainer,t.flexContainer],textContainer:[p.msButtonTextContainer,t.textContainer],icon:[p.msButtonIcon,o,t.icon,h&&t.iconExpanded,s&&t.iconChecked,a&&t.iconDisabled],label:[p.msButtonLabel,t.label,s&&t.labelChecked,a&&t.labelDisabled],menuIcon:[p.msButtonMenuIcon,i,t.menuIcon,s&&t.menuIconChecked,a&&!c&&t.menuIconDisabled,!a&&!h&&!s&&{":hover":t.menuIconHovered,":active":t.menuIconPressed},h&&["is-expanded",t.menuIconExpanded]],description:[p.msButtonDescription,t.description,s&&t.descriptionChecked,a&&t.descriptionDisabled],screenReaderText:[p.msButtonScreenReaderText,t.screenReaderText]})}),$x="ms-SplitButton-divider",Qx=Ov(function(e,t,n,r,o){return{root:tg(e.splitButtonMenuButton,n&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],r&&!t&&[e.splitButtonMenuButtonChecked],o&&!t&&[{":focus":e.splitButtonMenuFocused}]),splitButtonContainer:tg(e.splitButtonContainer,!t&&r&&[e.splitButtonContainerChecked,{":hover":e.splitButtonContainerCheckedHovered}],!t&&!r&&[{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}],t&&e.splitButtonContainerDisabled),icon:tg(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&o&&e.splitButtonMenuIcon),flexContainer:tg(e.splitButtonFlexContainer),divider:tg($x,e.splitButtonDivider,(o||t)&&e.splitButtonDividerDisabled)}}),Zx=function(e){function t(t){var n=e.call(this,t)||this;return n._buttonElement=z.createRef(),n._splitButtonContainer=z.createRef(),n._mergedRef=mb(),n._renderedVisibleMenu=!1,n._getMemoizedMenuButtonKeytipProps=Ov(function(e){return sm(sm({},e),{hasMenu:!0})}),n._onRenderIcon=function(e,t){var r=n.props.iconProps;if(r&&(void 0!==r.iconName||r.imageProps)){var o=r.className,i=r.imageProps,a=um(r,["className","imageProps"]);if(r.styles)return z.createElement(gS,sm({className:Hv(n._classNames.icon,o),imageProps:i},a));if(r.iconName)return z.createElement(pS,sm({className:Hv(n._classNames.icon,o)},a));if(i)return z.createElement(vS,sm({className:Hv(n._classNames.icon,o),imageProps:i},a))}return null},n._onRenderTextContents=function(){var e=n.props,t=e.text,r=e.children,o=e.secondaryText,i=void 0===o?n.props.description:o,a=e.onRenderText,l=void 0===a?n._onRenderText:a,s=e.onRenderDescription,u=void 0===s?n._onRenderDescription:s;return t||"string"==typeof r||i?z.createElement("span",{className:n._classNames.textContainer},l(n.props,n._onRenderText),u(n.props,n._onRenderDescription)):[l(n.props,n._onRenderText),u(n.props,n._onRenderDescription)]},n._onRenderText=function(){var e=n.props.text,t=n.props.children;return void 0===e&&"string"==typeof t&&(e=t),n._hasText()?z.createElement("span",{key:n._labelId,className:n._classNames.label,id:n._labelId},e):null},n._onRenderChildren=function(){var e=n.props.children;return"string"==typeof e?null:e},n._onRenderDescription=function(e){var t=e.secondaryText,r=void 0===t?n.props.description:t;return r?z.createElement("span",{key:n._descriptionId,className:n._classNames.description,id:n._descriptionId},r):null},n._onRenderAriaDescription=function(){var e=n.props.ariaDescription;return e?z.createElement("span",{className:n._classNames.screenReaderText,id:n._ariaDescriptionId},e):null},n._onRenderMenuIcon=function(e){var t=n.props.menuIconProps;return z.createElement(pS,sm({iconName:"ChevronDown"},t,{className:n._classNames.menuIcon}))},n._onRenderMenu=function(e){var t=n.props.menuAs?zv(n.props.menuAs,Kx):Kx;return z.createElement(t,sm({},e))},n._onDismissMenu=function(e){var t=n.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||n._dismissMenu()},n._dismissMenu=function(){n._menuShouldFocusOnMount=void 0,n._menuShouldFocusOnContainer=void 0,n.setState({menuHidden:!0})},n._openMenu=function(e,t){void 0===t&&(t=!0),n.props.menuProps&&(n._menuShouldFocusOnContainer=e,n._menuShouldFocusOnMount=t,n._renderedVisibleMenu=!0,n.setState({menuHidden:!1}))},n._onToggleMenu=function(e){var t=!0;n.props.menuProps&&!1===n.props.menuProps.shouldFocusOnMount&&(t=!1),n.state.menuHidden?n._openMenu(e,t):n._dismissMenu()},n._onSplitContainerFocusCapture=function(e){var t=n._splitButtonContainer.current;!t||e.target&&bg(e.target,t)||t.focus()},n._onSplitButtonPrimaryClick=function(e){n.state.menuHidden||n._dismissMenu();var t=n._processingTouch&&!n.props.toggle;!t&&n.props.onClick?n.props.onClick(e):t&&n._onMenuClick(e)},n._onKeyDown=function(e){!n.props.disabled||e.which!==nv&&e.which!==iv?n.props.disabled||(n.props.menuProps?n._onMenuKeyDown(e):void 0!==n.props.onKeyDown&&n.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},n._onKeyUp=function(e){n.props.disabled||void 0===n.props.onKeyUp||n.props.onKeyUp(e)},n._onKeyPress=function(e){n.props.disabled||void 0===n.props.onKeyPress||n.props.onKeyPress(e)},n._onMouseUp=function(e){n.props.disabled||void 0===n.props.onMouseUp||n.props.onMouseUp(e)},n._onMouseDown=function(e){n.props.disabled||void 0===n.props.onMouseDown||n.props.onMouseDown(e)},n._onClick=function(e){n.props.disabled||(n.props.menuProps?n._onMenuClick(e):void 0!==n.props.onClick&&n.props.onClick(e))},n._onSplitButtonContainerKeyDown=function(e){e.which===nv||e.which===iv?n._buttonElement.current&&(n._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):n._onMenuKeyDown(e)},n._onMenuKeyDown=function(e){var t;if(!n.props.disabled){n.props.onKeyDown&&n.props.onKeyDown(e);var r=e.which===dv,o=e.which===pv;if(!e.defaultPrevented&&n._isValidMenuOpenKey(e)){var i=n.props.onMenuClick;i&&i(e,n.props),n._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}if(e.which!==nv&&e.which!==iv||Vy(!0,e.target,null===(t=n.context)||void 0===t?void 0:t.registeredProviders),!e.altKey&&!e.metaKey&&(r||o))if(!n.state.menuHidden&&n.props.menuProps)(void 0!==n._menuShouldFocusOnMount?n._menuShouldFocusOnMount:n.props.menuProps.shouldFocusOnMount)||(e.preventDefault(),e.stopPropagation(),n._menuShouldFocusOnMount=!0,n.forceUpdate())}},n._onTouchStart=function(){n._isSplitButton&&n._splitButtonContainer.current&&!("onpointerdown"in n._splitButtonContainer.current)&&n._handleTouchAndPointerEvent()},n._onMenuClick=function(e){var t=n.props,r=t.onMenuClick,o=t.menuProps;r&&r(e,n.props);var i="boolean"==typeof(null==o?void 0:o.shouldFocusOnContainer)?o.shouldFocusOnContainer:"mouse"===e.nativeEvent.pointerType;e.defaultPrevented||(n._onToggleMenu(i),e.preventDefault(),e.stopPropagation())},Ry(n),n._async=new dg(n),n._events=new Bg(n),n.props.split,n._labelId=gy(),n._descriptionId=gy(),n._ariaDescriptionId=gy(),n.state={menuHidden:!0},n}return lm(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this.props,n=t.ariaDescription,r=t.ariaLabel,o=t.ariaHidden,i=t.className,a=t.disabled,l=t.allowDisabledFocus,s=t.primaryDisabled,u=t.secondaryText,c=void 0===u?this.props.description:u,d=t.href,f=t.iconProps,p=t.menuIconProps,h=t.styles,m=t.checked,g=t.variantClassName,v=t.theme,y=t.toggle,b=t.getClassNames,_=t.role,C=this.state.menuHidden,w=a||s;this._classNames=b?b(v,i,g,f&&f.className,p&&p.className,w,m,!C,!!this.props.menuProps,this.props.split,!!l):Gx(v,h,i,g,f&&f.className,p&&p.className,w,!!this.props.menuProps,m,!C,this.props.split);var S=this,x=S._ariaDescriptionId,k=S._labelId,E=S._descriptionId,F=!w&&!!d,I=F?"a":"button",T=Py(Ag(F?{}:{type:"button"},this.props.rootProps,this.props),F?Sy:xy,["disabled"]),P=r||T["aria-label"],R=void 0;n?R=x:c&&this.props.onRenderDescription!==qg?R=E:T["aria-describedby"]&&(R=T["aria-describedby"]);var D=void 0;T["aria-labelledby"]?D=T["aria-labelledby"]:R&&!P&&(D=this._hasText()?k:void 0);var M=!(!1===this.props["data-is-focusable"]||a&&!l||this._isSplitButton),O="menuitemcheckbox"===_||"checkbox"===_,A=O||!0===y?!!m:void 0,L=Ag(T,((e={className:this._classNames.root,ref:this._mergedRef(this.props.elementRef,this._buttonElement),disabled:w&&!l,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":P,"aria-labelledby":D,"aria-describedby":R,"aria-disabled":w,"data-is-focusable":M})[O?"aria-checked":"aria-pressed"]=A,e));if(o&&(L["aria-hidden"]=!0),this._isSplitButton)return this._onRenderSplitButtonContent(I,L);if(this.props.menuProps){var N=this.props.menuProps.id,B=void 0===N?"".concat(this._labelId,"-menu"):N;Ag(L,{"aria-expanded":!C,"aria-controls":C?null:B,"aria-haspopup":!0})}return this._onRenderContent(I,L)},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&("onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0),"onpointerup"in this._splitButtonContainer.current&&this.props.onPointerUp&&this._events.on(this._splitButtonContainer.current,"pointerup",this.props.onPointerUp,!0))},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.focus=function(){var e,t;this._isSplitButton&&this._splitButtonContainer.current?(Vy(!0,void 0,null===(e=this.context)||void 0===e?void 0:e.registeredProviders),this._splitButtonContainer.current.focus()):this._buttonElement.current&&(Vy(!0,void 0,null===(t=this.context)||void 0===t?void 0:t.registeredProviders),this._buttonElement.current.focus())},t.prototype.dismissMenu=function(){this._dismissMenu()},t.prototype.openMenu=function(e,t){this._openMenu(e,t)},t.prototype._onRenderContent=function(e,t){var n=this,r=this.props,o=e,i=r.menuIconProps,a=r.menuProps,l=r.onRenderIcon,s=void 0===l?this._onRenderIcon:l,u=r.onRenderAriaDescription,c=void 0===u?this._onRenderAriaDescription:u,d=r.onRenderChildren,f=void 0===d?this._onRenderChildren:d,p=r.onRenderMenu,h=void 0===p?this._onRenderMenu:p,m=r.onRenderMenuIcon,g=void 0===m?this._onRenderMenuIcon:m,v=r.disabled,y=r.keytipProps;y&&a&&(y=this._getMemoizedMenuButtonKeytipProps(y));var b=function(e){return z.createElement(o,sm({},t,e),z.createElement("span",{className:n._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},s(r,n._onRenderIcon),n._onRenderTextContents(),c(r,n._onRenderAriaDescription),f(r,n._onRenderChildren),!n._isSplitButton&&(a||i||n.props.onRenderMenuIcon)&&g(n.props,n._onRenderMenuIcon),a&&!a.doNotLayer&&n._shouldRenderMenu()&&h(n._getMenuProps(a),n._onRenderMenu)))},_=y?z.createElement(fx,{keytipProps:this._isSplitButton?void 0:y,ariaDescribedBy:t["aria-describedby"],disabled:v},function(e){return b(e)}):b();return a&&a.doNotLayer?z.createElement(z.Fragment,null,_,this._shouldRenderMenu()&&h(this._getMenuProps(a),this._onRenderMenu)):z.createElement(z.Fragment,null,_,z.createElement($y,null))},t.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,n=t.persistMenu,r=t.renderPersistedMenuHiddenOnMount;return!e||!(!n||!this._renderedVisibleMenu&&!r)},t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)},t.prototype._getMenuProps=function(e){var t=this.props.persistMenu,n=this.state.menuHidden;return e.ariaLabel||e.labelElementId||!this._hasText()||(e=sm(sm({},e),{labelElementId:this._labelId})),sm(sm({id:this._labelId+"-menu",directionalHint:vC},e),{shouldFocusOnContainer:this._menuShouldFocusOnContainer,shouldFocusOnMount:this._menuShouldFocusOnMount,hidden:t?n:void 0,className:Hv("ms-BaseButton-menuhost",e.className),target:this._isSplitButton?this._splitButtonContainer.current:this._buttonElement.current,onDismiss:this._onDismissMenu})},t.prototype._onRenderSplitButtonContent=function(e,t){var n=this,r=this.props,o=r.styles,i=void 0===o?{}:o,a=r.disabled,l=r.allowDisabledFocus,s=r.checked,u=r.getSplitButtonClassNames,c=r.primaryDisabled,d=r.menuProps,f=r.toggle,p=r.role,h=r.primaryActionButtonProps,m=this.props.keytipProps,g=this.state.menuHidden,v=u?u(!!a,!g,!!s,!!l):i&&Qx(i,!!a,!g,!!s,!!c);Ag(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1}),m&&d&&(m=this._getMemoizedMenuButtonKeytipProps(m));var y=Py(t,[],["disabled"]);h&&Ag(t,h);var b=function(r){return z.createElement("div",sm({},y,{"data-ktp-target":r?r["data-ktp-target"]:void 0,role:p||"button","aria-disabled":a,"aria-haspopup":!0,"aria-expanded":!g,"aria-pressed":f?!!s:void 0,"aria-describedby":gv(t["aria-describedby"],r?r["aria-describedby"]:void 0),className:v&&v.splitButtonContainer,onKeyDown:n._onSplitButtonContainerKeyDown,onTouchStart:n._onTouchStart,ref:n._splitButtonContainer,"data-is-focusable":!0,onClick:a||c?void 0:n._onSplitButtonPrimaryClick,tabIndex:!a&&!c||l?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:n._onSplitContainerFocusCapture}),z.createElement("span",{style:{display:"flex",width:"100%"}},n._onRenderContent(e,t),n._onRenderSplitButtonMenuButton(v,r),n._onRenderSplitButtonDivider(v)))};return m?z.createElement(fx,{keytipProps:m,disabled:a},function(e){return b(e)}):b()},t.prototype._onRenderSplitButtonDivider=function(e){if(e&&e.divider){return z.createElement("span",{className:e.divider,"aria-hidden":!0,onClick:function(e){e.stopPropagation()}})}return null},t.prototype._onRenderSplitButtonMenuButton=function(e,n){var r=this.props,o=r.allowDisabledFocus,i=r.checked,a=r.disabled,l=r.splitButtonMenuProps,s=r.splitButtonAriaLabel,u=r.primaryDisabled,c=this.state.menuHidden,d=this.props.menuIconProps;void 0===d&&(d={iconName:"ChevronDown"});var f=sm(sm({},l),{styles:e,checked:i,disabled:a,allowDisabledFocus:o,onClick:this._onMenuClick,menuProps:void 0,iconProps:sm(sm({},d),{className:this._classNames.menuIcon}),ariaLabel:s,"aria-haspopup":!0,"aria-expanded":!c,"data-is-focusable":!1});return z.createElement(t,sm({},f,{"data-ktp-execute-target":n?n["data-ktp-execute-target"]:n,onMouseDown:this._onMouseDown,tabIndex:u&&!o?0:-1}))},t.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(e),"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0,e.state.menuHidden&&e.focus()},500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&(e.which===pv&&(e.altKey||e.metaKey))},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t.contextType=qy,t}(z.Component),Yx={outline:0},Jx=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}},Xx=Ov(function(e){var t,n,r=e.semanticColors,o=e.effects,i=e.fonts,a=r.buttonBorder,l=r.disabledBackground,s=r.disabledText,u={left:-2,top:-2,bottom:-2,right:-2,outlineColor:"ButtonText"};return{root:[U_(e,{inset:1,highContrastStyle:u,borderColor:"transparent"}),e.fonts.medium,{border:"1px solid "+a,borderRadius:o.roundedCorner2,boxSizing:"border-box",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"0 16px",textDecoration:"none",textAlign:"center",userSelect:"none",":active > span":{position:"relative",left:0,top:0}}],rootDisabled:[U_(e,{inset:1,highContrastStyle:u,borderColor:"transparent"}),{backgroundColor:l,borderColor:l,color:s,cursor:"default",":hover":Yx,":focus":Yx}],iconDisabled:(t={color:s},t[z_]={color:"GrayText"},t),menuIconDisabled:(n={color:s},n[z_]={color:"GrayText"},n),flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:Jx(i.mediumPlus.fontSize),menuIcon:Jx(i.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:q_}}),ek=Ov(function(e,t){var n,r,o,i,a,l,s,u,c,d,f,p,h,m,g,v,y,b=e.effects,_=e.palette,C=e.semanticColors,w={left:-2,top:-2,bottom:-2,right:-2,border:"none"},S={position:"absolute",width:1,right:31,top:8,bottom:8};return ng({splitButtonContainer:[U_(e,{highContrastStyle:w,inset:2,pointerEvents:"none"}),{display:"inline-flex",".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none",flexGrow:"1"},".ms-Button--primary":(n={borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",flexGrow:"1",":hover":{border:"none"},":active":{border:"none"}},n[z_]=sm(sm({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{":hover":{backgroundColor:"Highlight",border:"1px solid Highlight",borderRightWidth:"0",color:"HighlightText"},":active":{border:"1px solid Highlight"}}),n),".ms-Button--default + .ms-Button":(r={},r[z_]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":sm({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})}},r),'.ms-Button--default + .ms-Button[aria-expanded="true"]':(o={},o[z_]={backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":sm({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})},o),".ms-Button--primary + .ms-Button":(i={border:"none"},i[z_]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{borderLeftWidth:"0",backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",".ms-Button-menuIcon":sm(sm({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"HighlightText"})}},i),'.ms-Button--primary + .ms-Button[aria-expanded="true"]':(a={},a[z_]=sm(sm({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{".ms-Button-menuIcon":{color:"HighlightText"}}),a),".ms-Button.is-disabled":(l={},l[z_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},l)}],splitButtonContainerHovered:{".ms-Button--default.is-disabled":(s={backgroundColor:C.buttonBackgroundDisabled,color:C.buttonTextDisabled},s[z_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},s),".ms-Button--primary.is-disabled":(u={backgroundColor:C.primaryButtonBackgroundDisabled,color:C.primaryButtonTextDisabled},u[z_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},u)},splitButtonContainerChecked:{".ms-Button--primary":(c={},c[z_]=sm({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),c)},splitButtonContainerCheckedHovered:{".ms-Button--primary":(d={},d[z_]=sm({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),d)},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:(f={padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:b.roundedCorner2,borderBottomRightRadius:b.roundedCorner2,border:"1px solid ".concat(_.neutralSecondaryAlt),borderLeft:"none",outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:32,marginLeft:-1,marginTop:0,marginRight:0,marginBottom:0},f[z_]={".ms-Button-menuIcon":{color:"WindowText"}},f),splitButtonDivider:sm(sm({},S),(p={},p[z_]={backgroundColor:"WindowText"},p)),splitButtonDividerDisabled:sm(sm({},S),(h={},h[z_]={backgroundColor:"GrayText"},h)),splitButtonMenuButtonDisabled:(m={pointerEvents:"none",border:"none",":hover":{cursor:"default"},".ms-Button--primary":(g={},g[z_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},g),".ms-Button-menuIcon":(v={},v[z_]={color:"GrayText"},v)},m[z_]={color:"GrayText",border:"1px solid GrayText",backgroundColor:"Window"},m),splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:(y={outline:"none",border:"none"},y[z_]=sm({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),y),splitButtonMenuFocused:sm({},U_(e,{highContrastStyle:w,inset:2}))},t)});var tk=Ov(function(e,t,n){var r=Xx(e),o=ek(e);return ng(r,{root:{minWidth:"80px",minHeight:"32px"},label:{fontWeight:Db.semibold}},n?function(e){var t,n,r,o,i,a,l,s,u,c=e.palette,d=e.semanticColors;return{root:(t={backgroundColor:d.primaryButtonBackground,border:"1px solid ".concat(d.primaryButtonBackground),color:d.primaryButtonText},t[z_]=sm({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t[".".concat(By," &:focus, :host(.").concat(By,") &:focus")]={":after":{border:"none",outlineColor:c.white}},t),rootHovered:(n={backgroundColor:d.primaryButtonBackgroundHovered,border:"1px solid ".concat(d.primaryButtonBackgroundHovered),color:d.primaryButtonTextHovered},n[z_]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},n),rootPressed:(r={backgroundColor:d.primaryButtonBackgroundPressed,border:"1px solid ".concat(d.primaryButtonBackgroundPressed),color:d.primaryButtonTextPressed},r[z_]=sm({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r),rootExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootChecked:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootDisabled:(o={color:d.primaryButtonTextDisabled,backgroundColor:d.primaryButtonBackgroundDisabled},o[z_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},o),splitButtonContainer:(i={},i[z_]={border:"none"},i),splitButtonDivider:sm(sm({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(a={backgroundColor:c.white},a[z_]={backgroundColor:"Window"},a)),splitButtonMenuButton:(l={backgroundColor:d.primaryButtonBackground,color:d.primaryButtonText},l[z_]={backgroundColor:"Canvas"},l[":hover"]=(s={backgroundColor:d.primaryButtonBackgroundHovered},s[z_]={color:"Highlight"},s),l),splitButtonMenuButtonDisabled:{backgroundColor:d.primaryButtonBackgroundDisabled,":hover":{backgroundColor:d.primaryButtonBackgroundDisabled}},splitButtonMenuButtonChecked:{backgroundColor:d.primaryButtonBackgroundPressed,":hover":{backgroundColor:d.primaryButtonBackgroundPressed}},splitButtonMenuButtonExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,":hover":{backgroundColor:d.primaryButtonBackgroundPressed}},splitButtonMenuIcon:{color:d.primaryButtonText},splitButtonMenuIconDisabled:(u={color:c.neutralTertiary},u[z_]={color:"GrayText"},u)}}(e):function(e){var t,n,r,o,i,a=e.semanticColors,l=e.palette,s=a.buttonBackground,u=a.buttonBackgroundPressed,c=a.buttonBackgroundHovered,d=a.buttonBackgroundDisabled,f=a.buttonText,p=a.buttonTextHovered,h=a.buttonTextDisabled,m=a.buttonTextChecked,g=a.buttonTextCheckedHovered;return{root:{backgroundColor:s,color:f},rootHovered:(t={backgroundColor:c,color:p},t[z_]={borderColor:"Highlight",color:"Highlight"},t),rootPressed:{backgroundColor:u,color:m},rootExpanded:{backgroundColor:u,color:m},rootChecked:{backgroundColor:u,color:m},rootCheckedHovered:{backgroundColor:u,color:g},rootDisabled:(n={color:h,backgroundColor:d},n[z_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},n),splitButtonContainer:(r={},r[z_]={border:"none"},r),splitButtonMenuButton:{color:l.white,backgroundColor:"transparent",":hover":(o={backgroundColor:l.neutralLight},o[z_]={color:"Highlight"},o)},splitButtonMenuButtonDisabled:{backgroundColor:a.buttonBackgroundDisabled,":hover":{backgroundColor:a.buttonBackgroundDisabled}},splitButtonDivider:sm(sm({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(i={backgroundColor:l.neutralTertiaryAlt},i[z_]={backgroundColor:"WindowText"},i)),splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:l.neutralQuaternaryAlt,":hover":{backgroundColor:l.neutralQuaternaryAlt}},splitButtonMenuButtonExpanded:{backgroundColor:l.neutralQuaternaryAlt,":hover":{backgroundColor:l.neutralQuaternaryAlt}},splitButtonMenuIcon:{color:a.buttonText},splitButtonMenuIconDisabled:{color:a.buttonTextDisabled}}}(e),o,t)}),nk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return lm(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,r=e.styles,o=e.theme;return z.createElement(Zx,sm({},this.props,{variantClassName:n?"ms-Button--primary":"ms-Button--default",styles:tk(o,r,n),onRenderDescription:qg}))},t=cm([cy("DefaultButton",["theme","styles"],!0)],t)}(z.Component),rk=Ov(function(e,t){var n,r,o;return ng(Xx(e),{root:(n={padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},n[z_]={borderColor:"Window"},n),rootHovered:(r={color:e.palette.themePrimary},r[z_]={color:"Highlight"},r),iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:(o={color:e.palette.neutralTertiary,backgroundColor:"transparent",borderColor:"transparent"},o[z_]={color:"GrayText"},o),rootChecked:{color:e.palette.black},iconChecked:{color:e.palette.themeDarker},flexContainer:{justifyContent:"flex-start"},icon:{color:e.palette.themeDarkAlt},iconDisabled:{color:"inherit"},menuIcon:{color:e.palette.neutralSecondary},textContainer:{flexGrow:0}},t)}),ok=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return lm(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return z.createElement(Zx,sm({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:rk(n,t),onRenderDescription:qg}))},t=cm([cy("ActionButton",["theme","styles"],!0)],t)}(z.Component),ik=Ov(function(e,t){var n,r=Xx(e),o=ek(e),i=e.palette;return ng(r,{root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:(n={color:i.themeDarkAlt,backgroundColor:i.neutralLighter},n[z_]={borderColor:"Highlight",color:"Highlight"},n),rootHasMenu:{width:"auto"},rootPressed:{color:i.themeDark,backgroundColor:i.neutralLight},rootExpanded:{color:i.themeDark,backgroundColor:i.neutralLight},rootChecked:{color:i.themeDark,backgroundColor:i.neutralLight},rootCheckedHovered:{color:i.themeDark,backgroundColor:i.neutralQuaternaryAlt},rootDisabled:{color:i.neutralTertiaryAlt}},o,t)}),ak=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return lm(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return z.createElement(Zx,sm({},this.props,{variantClassName:"ms-Button--icon",styles:ik(n,t),onRenderText:qg,onRenderDescription:qg}))},t=cm([cy("IconButton",["theme","styles"],!0)],t)}(z.Component),lk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return lm(t,e),t.prototype.render=function(){return z.createElement(nk,sm({},this.props,{primary:!0,onRenderDescription:qg}))},t=cm([cy("PrimaryButton",["theme","styles"],!0)],t)}(z.Component),sk=ok,uk=kv(),ck=z.forwardRef(function(e,t){var n=e.disabled,r=e.required,o=e.inputProps,i=e.name,a=e.ariaLabel,l=e.ariaLabelledBy,s=e.ariaDescribedBy,u=e.ariaPositionInSet,c=e.ariaSetSize,d=e.title,f=e.checkmarkIconProps,p=e.styles,h=e.theme,m=e.className,g=e.boxSide,v=void 0===g?"start":g,y=aw("checkbox-",e.id),b=z.useRef(null),_=lw(b,t),C=z.useRef(null),w=ow(e.checked,e.defaultChecked,e.onChange),S=w[0],x=w[1],k=ow(e.indeterminate,e.defaultIndeterminate),E=k[0],F=k[1];Gy(b);var I=uk(p,{theme:h,className:m,disabled:n,indeterminate:E,checked:S,reversed:"start"!==v,isUsingCustomLabelRender:!!e.onRenderLabel}),T=z.useCallback(function(e){E?(x(!!S,e),F(!1)):x(!S,e)},[x,F,E,S]),P=z.useCallback(function(e){return e&&e.label?z.createElement("span",{className:I.text,title:e.title},e.label):null},[I.text]),R=z.useCallback(function(e){if(C.current){var t=!!e;C.current.indeterminate=t,F(t)}},[F]);!function(e,t,n,r,o){z.useImperativeHandle(e.componentRef,function(){return{get checked(){return!!t},get indeterminate(){return!!n},set indeterminate(e){r(e)},focus:function(){o.current&&o.current.focus()}}},[o,t,n,r])}(e,S,E,R,C),z.useEffect(function(){return R(E)},[R,E]);var D=e.onRenderLabel||P,M=E?"mixed":void 0,O=sm(sm({className:I.input,type:"checkbox"},o),{checked:!!S,disabled:n,required:r,name:i,id:y,title:d,onChange:T,"aria-disabled":n,"aria-label":a,"aria-labelledby":l,"aria-describedby":s,"aria-posinset":u,"aria-setsize":c,"aria-checked":M});return z.createElement("div",{className:I.root,title:d,ref:_},z.createElement("input",sm({},O,{ref:C,title:d,"data-ktp-execute-target":!0})),z.createElement("label",{className:I.label,htmlFor:y},z.createElement("div",{className:I.checkbox,"data-ktp-target":!0},z.createElement(gS,sm({iconName:"CheckMark"},f,{className:I.checkmark}))),D(e,P)))});ck.displayName="CheckboxBase";var dk={root:"ms-Checkbox",label:"ms-Checkbox-label",checkbox:"ms-Checkbox-checkbox",checkmark:"ms-Checkbox-checkmark",text:"ms-Checkbox-text"},fk="20px",pk="200ms",hk="cubic-bezier(.4, 0, .23, 1)",mk=fb(ck,function(e){var t,n,r,o,i,a,l,s,u,c,d,f,p,h,m,g,v,y,b=e.className,_=e.theme,C=e.reversed,w=e.checked,S=e.disabled,x=e.isUsingCustomLabelRender,k=e.indeterminate,E=_.semanticColors,F=_.effects,I=_.palette,T=_.fonts,P=$_(dk,_),R=E.inputForegroundChecked,D=I.neutralSecondary,M=I.neutralPrimary,O=E.inputBackgroundChecked,A=E.inputBackgroundChecked,L=E.disabledBodySubtext,N=E.inputBorderHovered,B=E.inputBackgroundCheckedHovered,z=E.inputBackgroundChecked,H=E.inputBackgroundCheckedHovered,V=E.inputBackgroundCheckedHovered,W=E.inputTextHovered,U=E.disabledBodySubtext,j=E.bodyText,K=E.disabledText,q=[(t={content:'""',borderRadius:F.roundedCorner2,position:"absolute",width:10,height:10,top:4,left:4,boxSizing:"border-box",borderWidth:5,borderStyle:"solid",borderColor:S?L:O,transitionProperty:"border-width, border, border-color",transitionDuration:pk,transitionTimingFunction:hk},t[z_]={borderColor:"WindowText"},t)];return{root:[P.root,{position:"relative",display:"flex"},C&&"reversed",w&&"is-checked",!S&&"is-enabled",S&&"is-disabled",!S&&[!w&&(n={},n[":hover .".concat(P.checkbox)]=(r={borderColor:N},r[z_]={borderColor:"Highlight"},r),n[":focus .".concat(P.checkbox)]={borderColor:N},n[":hover .".concat(P.checkmark)]=(o={color:D,opacity:"1"},o[z_]={color:"Highlight"},o),n),w&&!k&&(i={},i[":hover .".concat(P.checkbox)]={background:H,borderColor:V},i[":focus .".concat(P.checkbox)]={background:H,borderColor:V},i[z_]=(a={},a[":hover .".concat(P.checkbox)]={background:"Highlight",borderColor:"Highlight"},a[":focus .".concat(P.checkbox)]={background:"Highlight"},a[":focus:hover .".concat(P.checkbox)]={background:"Highlight"},a[":focus:hover .".concat(P.checkmark)]={color:"Window"},a[":hover .".concat(P.checkmark)]={color:"Window"},a),i),k&&(l={},l[":hover .".concat(P.checkbox,", :hover .").concat(P.checkbox,":after")]=(s={borderColor:B},s[z_]={borderColor:"WindowText"},s),l[":focus .".concat(P.checkbox)]={borderColor:B},l[":hover .".concat(P.checkmark)]={opacity:"0"},l),(u={},u[":hover .".concat(P.text,", :focus .").concat(P.text)]=(c={color:W},c[z_]={color:S?"GrayText":"WindowText"},c),u)],b],input:(d={position:"absolute",background:"none",opacity:0},d[".".concat(By," &:focus + label::before, :host(.").concat(By,") &:focus + label::before")]=(f={outline:"1px solid "+_.palette.neutralSecondary,outlineOffset:"2px"},f[z_]={outline:"1px solid WindowText"},f),d),label:[P.label,_.fonts.medium,{display:"flex",alignItems:x?"center":"flex-start",cursor:S?"default":"pointer",position:"relative",userSelect:"none"},C&&{flexDirection:"row-reverse",justifyContent:"flex-end"},{"&::before":{position:"absolute",left:0,right:0,top:0,bottom:0,content:'""',pointerEvents:"none"}}],checkbox:[P.checkbox,(p={position:"relative",display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",height:fk,width:fk,border:"1px solid ".concat(M),borderRadius:F.roundedCorner2,boxSizing:"border-box",transitionProperty:"background, border, border-color",transitionDuration:pk,transitionTimingFunction:hk,overflow:"hidden",":after":k?q:null},p[z_]=sm({borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),p),k&&{borderColor:O},C?{marginLeft:4}:{marginRight:4},!S&&!k&&w&&(h={background:z,borderColor:A},h[z_]={background:"Highlight",borderColor:"Highlight"},h),S&&(m={borderColor:L},m[z_]={borderColor:"GrayText"},m),w&&S&&(g={background:U,borderColor:L},g[z_]={background:"Window"},g)],checkmark:[P.checkmark,(v={opacity:w&&!k?"1":"0",color:R},v[z_]=sm({color:S?"GrayText":"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),v)],text:[P.text,(y={color:S?K:j,fontSize:T.medium.fontSize,lineHeight:"20px"},y[z_]=sm({color:S?"GrayText":"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),y),C?{marginRight:4}:{marginLeft:4}]}},void 0,{scope:"Checkbox"}),gk=kv({cacheSize:100}),vk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return lm(t,e),t.prototype.render=function(){var e=this.props,t=e.as,n=void 0===t?"label":t,r=e.children,o=e.className,i=e.disabled,a=e.styles,l=e.required,s=e.theme,u=gk(a,{className:o,disabled:i,required:l,theme:s});return z.createElement(n,sm({},Py(this.props,Ty),{className:u.root}),r)},t}(z.Component),yk=fb(vk,function(e){var t,n=e.theme,r=e.className,o=e.disabled,i=e.required,a=n.semanticColors,l=Db.semibold,s=a.bodyText,u=a.disabledBodyText,c=a.errorText;return{root:["ms-Label",n.fonts.medium,{fontWeight:l,color:s,boxSizing:"border-box",boxShadow:"none",margin:0,display:"block",padding:"5px 0",wordWrap:"break-word",overflowWrap:"break-word"},o&&{color:u,selectors:(t={},t[z_]=sm({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},i&&{selectors:{"::after":{content:"' *'",color:c,paddingRight:12}}},r]}},void 0,{scope:"Label"}),bk=kv(),_k={imageSize:{width:32,height:32}},Ck=function(e){var t=hb(sm(sm({},_k),{key:e.itemKey}),e),n=t.ariaLabel,r=t.focused,o=t.required,i=t.theme,a=t.iconProps,l=t.imageSrc,s=t.imageSize,u=t.disabled,c=t.checked,d=t.id,f=t.styles,p=t.name,h=um(t,["ariaLabel","focused","required","theme","iconProps","imageSrc","imageSize","disabled","checked","id","styles","name"]),m=bk(f,{theme:i,hasIcon:!!a,hasImage:!!l,checked:c,disabled:u,imageIsLarge:!!l&&(s.width>71||s.height>71),imageSize:s,focused:r}),g=Py(h,ky),v=g.className,y=um(g,["className"]),b=function(){return z.createElement("span",{id:t.labelId,className:"ms-ChoiceFieldLabel"},t.text)},_=function(){var e=t.imageAlt,n=void 0===e?"":e,r=t.selectedImageSrc,o=(t.onRenderLabel?cb(t.onRenderLabel,b):b)(sm(sm({},t),{key:t.itemKey}));return z.createElement("label",{htmlFor:d,className:m.field},l&&z.createElement("div",{className:m.innerField},z.createElement("div",{className:m.imageWrapper},z.createElement(uS,sm({src:l,alt:n},s))),z.createElement("div",{className:m.selectedImageWrapper},z.createElement(uS,sm({src:r,alt:n},s)))),a&&z.createElement("div",{className:m.innerField},z.createElement("div",{className:m.iconWrapper},z.createElement(gS,sm({},a)))),l||a?z.createElement("div",{className:m.labelWrapper},o):o)},C=t.onRenderField,w=void 0===C?_:C;return z.createElement("div",{className:m.root},z.createElement("div",{className:m.choiceFieldWrapper},z.createElement("input",sm({"aria-label":n,id:d,className:Hv(m.input,v),type:"radio",name:p,disabled:u,checked:c,required:o},y,{onChange:function(e){var n;null===(n=t.onChange)||void 0===n||n.call(t,e,sm(sm({},t),{key:t.itemKey}))},onFocus:function(e){var n;null===(n=t.onFocus)||void 0===n||n.call(t,e,sm(sm({},t),{key:t.itemKey}))},onBlur:function(e){var n;null===(n=t.onBlur)||void 0===n||n.call(t,e)}})),w(sm(sm({},t),{key:t.itemKey}),_)))};Ck.displayName="ChoiceGroupOption";var wk={root:"ms-ChoiceField",choiceFieldWrapper:"ms-ChoiceField-wrapper",input:"ms-ChoiceField-input",field:"ms-ChoiceField-field",innerField:"ms-ChoiceField-innerField",imageWrapper:"ms-ChoiceField-imageWrapper",iconWrapper:"ms-ChoiceField-iconWrapper",labelWrapper:"ms-ChoiceField-labelWrapper",checked:"is-checked"},Sk="200ms",xk="cubic-bezier(.4, 0, .23, 1)";function kk(e,t){var n,r;return["is-inFocus",{selectors:(n={},n[".".concat(By," &, :host(.").concat(By,") &")]={position:"relative",outline:"transparent",selectors:{"::-moz-focus-inner":{border:0},":after":{content:'""',top:-2,right:-2,bottom:-2,left:-2,pointerEvents:"none",border:"1px solid ".concat(e),position:"absolute",selectors:(r={},r[z_]={borderColor:"WindowText",borderWidth:t?1:2},r)}}},n)}]}function Ek(e,t,n){return[t,{paddingBottom:2,transitionProperty:"opacity",transitionDuration:Sk,transitionTimingFunction:"ease",selectors:{".ms-Image":{display:"inline-block",borderStyle:"none"}}},(n?!e:e)&&["is-hidden",{position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",opacity:0}]]}var Fk=fb(Ck,function(e){var t,n,r,o,i,a=e.theme,l=e.hasIcon,s=e.hasImage,u=e.checked,c=e.disabled,d=e.imageIsLarge,f=e.focused,p=e.imageSize,h=a.palette,m=a.semanticColors,g=a.fonts,v=$_(wk,a),y=h.neutralPrimary,b=m.inputBorderHovered,_=m.inputBackgroundChecked,C=h.themeDark,w=m.disabledBodySubtext,S=m.bodyBackground,x=h.neutralSecondary,k=m.inputBackgroundChecked,E=h.themeDark,F=m.disabledBodySubtext,I=h.neutralDark,T=m.focusBorder,P=m.inputBorderHovered,R=m.inputBackgroundChecked,D=h.themeDark,M=h.neutralLighter,O={selectors:{".ms-ChoiceFieldLabel":{color:I},":before":{borderColor:u?C:b},":after":[!l&&!s&&!u&&{content:'""',transitionProperty:"background-color",left:5,top:5,width:10,height:10,backgroundColor:x},u&&{borderColor:E,background:E}]}},A={borderColor:u?D:P,selectors:{":before":{opacity:1,borderColor:u?C:b}}},L=[{content:'""',display:"inline-block",backgroundColor:S,borderWidth:1,borderStyle:"solid",borderColor:y,width:20,height:20,fontWeight:"normal",position:"absolute",top:0,left:0,boxSizing:"border-box",transitionProperty:"border-color",transitionDuration:Sk,transitionTimingFunction:xk,borderRadius:"50%"},c&&{borderColor:w,selectors:(t={},t[z_]=sm({borderColor:"GrayText",background:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},u&&{borderColor:c?w:_,selectors:(n={},n[z_]={borderColor:"Highlight",background:"Window",forcedColorAdjust:"none"},n)},(l||s)&&{top:3,right:3,left:"auto",opacity:u?1:0}],N=[{content:'""',width:0,height:0,borderRadius:"50%",position:"absolute",left:10,right:0,transitionProperty:"border-width",transitionDuration:Sk,transitionTimingFunction:xk,boxSizing:"border-box"},u&&{borderWidth:5,borderStyle:"solid",borderColor:c?F:k,background:k,left:5,top:5,width:10,height:10,selectors:(r={},r[z_]={borderColor:"Highlight",forcedColorAdjust:"none"},r)},u&&(l||s)&&{top:8,right:8,left:"auto"}];return{root:[v.root,a.fonts.medium,{display:"flex",alignItems:"center",boxSizing:"border-box",color:m.bodyText,minHeight:26,border:"none",position:"relative",marginTop:8,selectors:{".ms-ChoiceFieldLabel":{display:"inline-block"}}},!l&&!s&&{selectors:{".ms-ChoiceFieldLabel":{paddingLeft:"26px"}}},s&&"ms-ChoiceField--image",l&&"ms-ChoiceField--icon",(l||s)&&{display:"inline-flex",fontSize:0,margin:"0 4px 4px 0",paddingLeft:0,backgroundColor:M,height:"100%"}],choiceFieldWrapper:[v.choiceFieldWrapper,f&&kk(T,l||s)],input:[v.input,{position:"absolute",opacity:0,top:0,right:0,width:"100%",height:"100%",margin:0},c&&"is-disabled"],field:[v.field,u&&v.checked,{display:"inline-block",cursor:"pointer",marginTop:0,position:"relative",verticalAlign:"top",userSelect:"none",minHeight:20,selectors:{":hover":!c&&O,":focus":!c&&O,":before":L,":after":N}},l&&"ms-ChoiceField--icon",s&&"ms-ChoiceField-field--image",(l||s)&&{boxSizing:"content-box",cursor:"pointer",paddingTop:22,margin:0,textAlign:"center",transitionProperty:"all",transitionDuration:Sk,transitionTimingFunction:"ease",border:"1px solid transparent",justifyContent:"center",alignItems:"center",display:"flex",flexDirection:"column"},u&&{borderColor:R},(l||s)&&!c&&{selectors:{":hover":A,":focus":A}},c&&{cursor:"default",selectors:{".ms-ChoiceFieldLabel":{color:m.disabledBodyText,selectors:(o={},o[z_]=sm({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)}}},u&&c&&{borderColor:M}],innerField:[v.innerField,s&&{height:p.height,width:p.width},(l||s)&&{position:"relative",display:"inline-block",paddingLeft:30,paddingRight:30},(l||s)&&d&&{paddingLeft:24,paddingRight:24},(l||s)&&c&&{opacity:.25,selectors:(i={},i[z_]={color:"GrayText",opacity:1},i)}],imageWrapper:Ek(!1,v.imageWrapper,u),selectedImageWrapper:Ek(!0,v.imageWrapper,u),iconWrapper:[v.iconWrapper,{fontSize:32,lineHeight:32,height:32}],labelWrapper:[v.labelWrapper,g.medium,(l||s)&&{display:"block",position:"relative",margin:"4px 8px 2px 8px",height:32,lineHeight:15,maxWidth:2*p.width,overflow:"hidden",whiteSpace:"pre-wrap"}]}},void 0,{scope:"ChoiceGroupOption"}),Ik=kv(),Tk=function(e,t){return"".concat(t,"-").concat(e.key)},Pk=function(e,t){return void 0===t?void 0:function(e,t){var n=vv(e,t);if(!(n<0))return e[n]}(e,function(e){return e.key===t})},Rk=function(e,t,n,r,o){var i=Pk(e,t)||e.filter(function(e){return!e.disabled})[0],a=i&&(null==o?void 0:o.getElementById(Tk(i,n)));a&&(a.focus(),Vy(!0,a,r))},Dk=function(e,t,n,r,o){var i=function(){var e;return null!==(e=ly())&&void 0!==e?e:"undefined"!=typeof document?document:void 0}();z.useImperativeHandle(r,function(){return{get checkedOption(){return Pk(e,t)},focus:function(){Rk(e,t,n,o,i)}}},[e,t,n,o,i])},Mk=z.forwardRef(function(e,t){var n=e.className,r=e.theme,o=e.styles,i=e.options,a=void 0===i?[]:i,l=e.label,s=e.required,u=e.disabled,c=e.name,d=e.defaultSelectedKey,f=e.componentRef,p=e.onChange,h=aw("ChoiceGroup"),m=aw("ChoiceGroupLabel"),g=Py(e,Ty,["onChange","className","required"]),v=Ik(o,{theme:r,className:n,optionsContainIconOrImage:a.some(function(e){return!(!e.iconProps&&!e.imageSrc)})}),y=e.ariaLabelledBy||(l?m:e["aria-labelledby"]),b=ow(e.selectedKey,d),_=b[0],C=b[1],w=z.useState(),S=w[0],x=w[1],k=z.useRef(null),E=lw(k,t),F=z.useContext(qy);Dk(a,_,h,f,null==F?void 0:F.registeredProviders),Gy(k);var I=z.useCallback(function(e,t){var n;t&&(x(t.itemKey),null===(n=t.onFocus)||void 0===n||n.call(t,e))},[]),T=z.useCallback(function(e,t){var n;x(void 0),null===(n=null==t?void 0:t.onBlur)||void 0===n||n.call(t,e)},[]),P=z.useCallback(function(e,t){var n;t&&(C(t.itemKey),null===(n=t.onChange)||void 0===n||n.call(t,e),null==p||p(e,Pk(a,t.itemKey)))},[p,a,C]),R=z.useCallback(function(e){(function(e){return e.relatedTarget instanceof HTMLElement&&"true"===e.relatedTarget.dataset.isFocusTrapZoneBumper})(e)&&Rk(a,_,h,null==F?void 0:F.registeredProviders)},[a,_,h,F]);return z.createElement("div",sm({className:v.root},g,{ref:E}),z.createElement("div",sm({role:"radiogroup"},y&&{"aria-labelledby":y},{onFocus:R}),l&&z.createElement(yk,{className:v.label,required:s,id:m,disabled:u},l),z.createElement("div",{className:v.flexContainer},a.map(function(e){return z.createElement(Fk,sm({itemKey:e.key},e,{key:e.key,onBlur:T,onFocus:I,onChange:P,focused:e.key===S,checked:e.key===_,disabled:e.disabled||u,id:Tk(e,h),labelId:e.labelId||"".concat(m,"-").concat(e.key),name:c||h,required:s}))}))))});Mk.displayName="ChoiceGroup";var Ok,Ak={root:"ms-ChoiceFieldGroup",flexContainer:"ms-ChoiceFieldGroup-flexContainer"},Lk=fb(Mk,function(e){var t=e.className,n=e.optionsContainIconOrImage,r=e.theme,o=$_(Ak,r);return{root:[t,o.root,r.fonts.medium,{display:"block"}],flexContainer:[o.flexContainer,n&&{display:"flex",flexDirection:"row",flexWrap:"wrap"}]}},void 0,{scope:"ChoiceGroup"}),Nk=kv(),Bk="TextField",zk=function(e){function t(t){var n=e.call(this,t)||this;n._textElement=z.createRef(),n._onFocus=function(e){n.props.onFocus&&n.props.onFocus(e),n.setState({isFocused:!0},function(){n.props.validateOnFocusIn&&n._validate(n.value)})},n._onBlur=function(e){n.props.onBlur&&n.props.onBlur(e),n.setState({isFocused:!1},function(){n.props.validateOnFocusOut&&n._validate(n.value)})},n._onRenderLabel=function(e){var t=e.label,r=e.required,o=n._classNames.subComponentStyles?n._classNames.subComponentStyles.label:void 0;return t?z.createElement(yk,{required:r,htmlFor:n._id,styles:o,disabled:e.disabled,id:n._labelId},e.label):null},n._onRenderDescription=function(e){return e.description?z.createElement("span",{className:n._classNames.description},e.description):null},n._onRevealButtonClick=function(e){n.setState(function(e){return{isRevealingPassword:!e.isRevealingPassword}})},n._onInputChange=function(e){var t,r,o=e.target.value,i=Hk(n.props,n.state)||"";void 0!==o&&o!==n._lastChangeValue&&o!==i?(n._lastChangeValue=o,null===(r=(t=n.props).onChange)||void 0===r||r.call(t,e,o),n._isControlled||n.setState({uncontrolledValue:o})):n._lastChangeValue=void 0},Ry(n),n._async=new dg(n),n._fallbackId=gy(Bk),n._descriptionId=gy(Bk+"Description"),n._labelId=gy(Bk+"Label"),n._prefixId=gy(Bk+"Prefix"),n._suffixId=gy(Bk+"Suffix"),n._warnControlledUsage();var r=t.defaultValue,o=void 0===r?"":r;return"number"==typeof o&&(o=String(o)),n.state={uncontrolledValue:n._isControlled?void 0:o,isFocused:!1,errorMessage:""},n._delayedValidate=n._async.debounce(n._validate,n.props.deferredValidationTime),n._lastValidation=0,n}return lm(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return Hk(this.props,this.state)},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._adjustInputHeight(),this.props.validateOnLoad&&this._validate(this.value)},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.getSnapshotBeforeUpdate=function(e,t){return{selection:[this.selectionStart,this.selectionEnd]}},t.prototype.componentDidUpdate=function(e,t,n){var r=this.props,o=(n||{}).selection,i=void 0===o?[null,null]:o,a=i[0],l=i[1];!!e.multiline!=!!r.multiline&&t.isFocused&&(this.focus(),null!==a&&null!==l&&a>=0&&l>=0&&this.setSelectionRange(a,l)),e.value!==r.value&&(this._lastChangeValue=void 0);var s=Hk(e,t),u=this.value;s!==u&&(this._warnControlledUsage(e),this.state.errorMessage&&!r.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),Vk(r)&&this._delayedValidate(u))},t.prototype.render=function(){var e=this.props,t=e.borderless,n=e.className,r=e.disabled,o=e.invalid,i=e.iconProps,a=e.inputClassName,l=e.label,s=e.multiline,u=e.required,c=e.underlined,d=e.prefix,f=e.resizable,p=e.suffix,h=e.theme,m=e.styles,g=e.autoAdjustHeight,v=e.canRevealPassword,y=e.revealPasswordAriaLabel,b=e.type,_=e.onRenderPrefix,C=void 0===_?this._onRenderPrefix:_,w=e.onRenderSuffix,S=void 0===w?this._onRenderSuffix:w,x=e.onRenderLabel,k=void 0===x?this._onRenderLabel:x,E=e.onRenderDescription,F=void 0===E?this._onRenderDescription:E,I=this.state,T=I.isFocused,P=I.isRevealingPassword,R=this._errorMessage,D="boolean"==typeof o?o:!!R,M=!!v&&"password"===b&&function(){if("boolean"!=typeof Ok){var e=cg();if(null==e?void 0:e.navigator){var t=/Edg/.test(e.navigator.userAgent||"");Ok=!(pb()||t)}else Ok=!0}return Ok}(),O=this._classNames=Nk(m,{theme:h,className:n,disabled:r,focused:T,required:u,multiline:s,hasLabel:!!l,hasErrorMessage:D,borderless:t,resizable:f,hasIcon:!!i,underlined:c,inputClassName:a,autoAdjustHeight:g,hasRevealButton:M});return z.createElement("div",{ref:this.props.elementRef,className:O.root},z.createElement("div",{className:O.wrapper},k(this.props,this._onRenderLabel),z.createElement("div",{className:O.fieldGroup},(void 0!==d||this.props.onRenderPrefix)&&z.createElement("div",{className:O.prefix,id:this._prefixId},C(this.props,this._onRenderPrefix)),s?this._renderTextArea():this._renderInput(),i&&z.createElement(gS,sm({className:O.icon},i)),M&&z.createElement("button",{"aria-label":y,className:O.revealButton,onClick:this._onRevealButtonClick,"aria-pressed":!!P,type:"button"},z.createElement("span",{className:O.revealSpan},z.createElement(gS,{className:O.revealIcon,iconName:P?"Hide":"RedEye"}))),(void 0!==p||this.props.onRenderSuffix)&&z.createElement("div",{className:O.suffix,id:this._suffixId},S(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&z.createElement("span",{id:this._descriptionId},F(this.props,this._onRenderDescription),R&&z.createElement("div",{role:"alert"},z.createElement(Gg,null,this._renderErrorMessage()))))},t.prototype.focus=function(){this._textElement.current&&this._textElement.current.focus()},t.prototype.blur=function(){this._textElement.current&&this._textElement.current.blur()},t.prototype.select=function(){this._textElement.current&&this._textElement.current.select()},t.prototype.setSelectionStart=function(e){this._textElement.current&&(this._textElement.current.selectionStart=e)},t.prototype.setSelectionEnd=function(e){this._textElement.current&&(this._textElement.current.selectionEnd=e)},Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._textElement.current?this._textElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),t.prototype.setSelectionRange=function(e,t){this._textElement.current&&this._textElement.current.setSelectionRange(e,t)},t.prototype._warnControlledUsage=function(e){this._id,this.props,null!==this.props.value||this._hasWarnedNullValue||(this._hasWarnedNullValue=!0,jg("Warning: 'value' prop on '".concat(Bk,"' should not be null. Consider using an ")+"empty string to clear the component or undefined to indicate an uncontrolled component."))},Object.defineProperty(t.prototype,"_id",{get:function(){return this.props.id||this._fallbackId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_isControlled",{get:function(){return void 0!==(e=this.props)[t="value"]&&null!==e[t];var e,t},enumerable:!1,configurable:!0}),t.prototype._onRenderPrefix=function(e){var t=e.prefix;return z.createElement("span",{style:{paddingBottom:"1px"}},t)},t.prototype._onRenderSuffix=function(e){var t=e.suffix;return z.createElement("span",{style:{paddingBottom:"1px"}},t)},Object.defineProperty(t.prototype,"_errorMessage",{get:function(){var e=this.props.errorMessage;return(void 0===e?this.state.errorMessage:e)||""},enumerable:!1,configurable:!0}),t.prototype._renderErrorMessage=function(){var e=this._errorMessage;return e?"string"==typeof e?z.createElement("p",{className:this._classNames.errorMessage},z.createElement("span",{"data-automation-id":"error-message"},e)):z.createElement("div",{className:this._classNames.errorMessage,"data-automation-id":"error-message"},e):null},Object.defineProperty(t.prototype,"_isDescriptionAvailable",{get:function(){var e=this.props;return!!(e.onRenderDescription||e.description||this._errorMessage)},enumerable:!1,configurable:!0}),t.prototype._renderTextArea=function(){var e=this.props.invalid,t=void 0===e?!!this._errorMessage:e,n=Py(this.props,Ey,["defaultValue"]),r=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return z.createElement("textarea",sm({id:this._id},n,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-labelledby":r,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":t,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._renderInput=function(){var e=this.props,t=e.ariaLabel,n=e.invalid,r=void 0===n?!!this._errorMessage:n,o=e.onRenderPrefix,i=e.onRenderSuffix,a=e.prefix,l=e.suffix,s=e.type,u=void 0===s?"text":s,c=[];e.label&&c.push(this._labelId),(void 0!==a||o)&&c.push(this._prefixId),(void 0!==l||i)&&c.push(this._suffixId);var d=sm(sm({type:this.state.isRevealingPassword?"text":u,id:this._id},Py(this.props,ky,["defaultValue","type"])),{"aria-labelledby":this.props["aria-labelledby"]||(c.length>0?c.join(" "):void 0),ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":t,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":r,onFocus:this._onFocus,onBlur:this._onBlur}),f=function(e){return z.createElement("input",sm({},e))};return(this.props.onRenderInput||f)(d,f)},t.prototype._validate=function(e){var t=this;if(this._latestValidateValue!==e||!Vk(this.props)){this._latestValidateValue=e;var n=this.props.onGetErrorMessage,r=n&&n(e||"");if(void 0!==r)if("string"!=typeof r&&"then"in r){var o=++this._lastValidation;r.then(function(n){o===t._lastValidation&&t.setState({errorMessage:n}),t._notifyAfterValidate(e,n)})}else this.setState({errorMessage:r}),this._notifyAfterValidate(e,r);else this._notifyAfterValidate(e,"")}},t.prototype._notifyAfterValidate=function(e,t){e===this.value&&this.props.onNotifyValidationResult&&this.props.onNotifyValidationResult(t,e)},t.prototype._adjustInputHeight=function(){var e,t;if(this._textElement.current&&this.props.autoAdjustHeight&&this.props.multiline){var n=null===(t=null===(e=this.props.scrollContainerRef)||void 0===e?void 0:e.current)||void 0===t?void 0:t.scrollTop,r=this._textElement.current;r.style.height="",r.style.height=r.scrollHeight+"px",n&&(this.props.scrollContainerRef.current.scrollTop=n)}},t.defaultProps={resizable:!0,deferredValidationTime:200,validateOnLoad:!0},t}(z.Component);function Hk(e,t){var n=e.value,r=void 0===n?t.uncontrolledValue:n;return"number"==typeof r?String(r):r}function Vk(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}var Wk={root:"ms-TextField",description:"ms-TextField-description",errorMessage:"ms-TextField-errorMessage",field:"ms-TextField-field",fieldGroup:"ms-TextField-fieldGroup",prefix:"ms-TextField-prefix",suffix:"ms-TextField-suffix",wrapper:"ms-TextField-wrapper",revealButton:"ms-TextField-reveal",multiline:"ms-TextField--multiline",borderless:"ms-TextField--borderless",underlined:"ms-TextField--underlined",unresizable:"ms-TextField--unresizable",required:"is-required",disabled:"is-disabled",active:"is-active"};function Uk(e){var t=e.underlined,n=e.disabled,r=e.focused,o=e.theme,i=o.palette,a=o.fonts;return function(){var e;return{root:[t&&n&&{color:i.neutralTertiary},t&&{fontSize:a.medium.fontSize,marginRight:8,paddingLeft:12,paddingRight:0,lineHeight:"22px",height:32},t&&r&&{selectors:(e={},e[z_]={height:31},e)}]}}}var jk,Kk,qk,Gk,$k,Qk=fb(zk,function(e){var t,n,r,o,i,a,l,s,u,c,d,f,p=e.theme,h=e.className,m=e.disabled,g=e.focused,v=e.required,y=e.multiline,b=e.hasLabel,_=e.borderless,C=e.underlined,w=e.hasIcon,S=e.resizable,x=e.hasErrorMessage,k=e.inputClassName,E=e.autoAdjustHeight,F=e.hasRevealButton,I=p.semanticColors,T=p.effects,P=p.fonts,R=$_(Wk,p),D={background:I.disabledBackground,color:m?I.disabledText:I.inputPlaceholderText,display:"flex",alignItems:"center",padding:"0 10px",lineHeight:1,whiteSpace:"nowrap",flexShrink:0,selectors:(t={},t[z_]={background:"Window",color:m?"GrayText":"WindowText"},t)},M=[{color:I.inputPlaceholderText,opacity:1,selectors:(n={},n[z_]={color:"GrayText"},n)}],O={color:I.disabledText,selectors:(r={},r[z_]={color:"GrayText"},r)};return{root:[R.root,P.medium,v&&R.required,m&&R.disabled,g&&R.active,y&&R.multiline,_&&R.borderless,C&&R.underlined,lC,{position:"relative"},h],wrapper:[R.wrapper,C&&[{display:"flex",borderBottom:"1px solid ".concat(x?I.errorText:I.inputBorder),width:"100%"},m&&{borderBottomColor:I.disabledBackground,selectors:(o={},o[z_]=sm({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)},!m&&{selectors:{":hover":{borderBottomColor:x?I.errorText:I.inputBorderHovered,selectors:(i={},i[z_]=sm({borderBottomColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}}},g&&[{position:"relative"},K_(x?I.errorText:I.inputFocusBorderAlt,0,"borderBottom")]]],fieldGroup:[R.fieldGroup,lC,{border:"1px solid ".concat(I.inputBorder),borderRadius:T.roundedCorner2,background:I.inputBackground,cursor:"text",height:32,display:"flex",flexDirection:"row",alignItems:"stretch",position:"relative"},y&&{minHeight:"60px",height:"auto",display:"flex"},!g&&!m&&{selectors:{":hover":{borderColor:I.inputBorderHovered,selectors:(a={},a[z_]=sm({borderColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a)}}},g&&!C&&K_(x?I.errorText:I.inputFocusBorderAlt,T.roundedCorner2),m&&{borderColor:I.disabledBackground,selectors:(l={},l[z_]=sm({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),l),cursor:"default"},_&&{border:"none"},_&&g&&{border:"none",selectors:{":after":{border:"none"}}},C&&{flex:"1 1 0px",border:"none",textAlign:"left"},C&&m&&{backgroundColor:"transparent"},x&&!C&&{borderColor:I.errorText,selectors:{"&:hover":{borderColor:I.errorText}}},!b&&v&&{selectors:(s={":before":{content:"'*'",color:I.errorText,position:"absolute",top:-5,right:-10}},s[z_]={selectors:{":before":{color:"WindowText",right:-14}}},s)}],field:[P.medium,R.field,lC,{borderRadius:0,border:"none",background:"none",backgroundColor:"transparent",color:I.inputText,padding:"0 8px",width:"100%",minWidth:0,textOverflow:"ellipsis",outline:0,selectors:(u={"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"}},u[z_]={background:"Window",color:m?"GrayText":"WindowText"},u)},sC(M),y&&!S&&[R.unresizable,{resize:"none"}],y&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,paddingBottom:6,overflow:"auto",width:"100%"},y&&E&&{overflow:"hidden"},w&&!F&&{paddingRight:24},y&&w&&{paddingRight:40},m&&[{backgroundColor:I.disabledBackground,color:I.disabledText,borderColor:I.disabledBackground},sC(O)],C&&{textAlign:"left"},g&&!_&&{selectors:(c={},c[z_]={paddingLeft:11,paddingRight:11},c)},g&&y&&!_&&{selectors:(d={},d[z_]={paddingTop:4},d)},k],icon:[y&&{paddingRight:24,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:6,right:8,top:"auto",fontSize:Mb.medium,lineHeight:18},m&&{color:I.disabledText}],description:[R.description,{color:I.bodySubtext,fontSize:P.xSmall.fontSize}],errorMessage:[R.errorMessage,uC.slideDownIn20,P.small,{color:I.errorText,margin:0,paddingTop:5,display:"flex",alignItems:"center"}],prefix:[R.prefix,D],suffix:[R.suffix,D],revealButton:[R.revealButton,"ms-Button","ms-Button--icon",U_(p,{inset:1}),{height:30,width:32,border:"none",padding:"0px 4px",backgroundColor:"transparent",color:I.link,selectors:{":hover":{outline:0,color:I.primaryButtonBackgroundHovered,backgroundColor:I.buttonBackgroundHovered,selectors:(f={},f[z_]={borderColor:"Highlight",color:"Highlight"},f)},":focus":{outline:0}}},w&&{marginRight:28}],revealSpan:{display:"flex",height:"100%",alignItems:"center"},revealIcon:{margin:"0px 4px",pointerEvents:"none",bottom:6,right:8,top:"auto",fontSize:Mb.medium,lineHeight:18},subComponentStyles:{label:Uk(e)}}},void 0,{scope:"TextField"}),Zk=Ov(function(e){var t,n=e.semanticColors;return{backgroundColor:n.disabledBackground,color:n.disabledText,cursor:"default",selectors:(t={":after":{borderColor:n.disabledBackground}},t[z_]={color:"GrayText",selectors:{":after":{borderColor:"GrayText"}}},t)}}),Yk={selectors:(jk={},jk[z_]=sm({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),jk)},Jk={selectors:(Kk={},Kk[z_]=sm({color:"WindowText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),Kk)},Xk=Ov(function(e,t,n,r,o,i){var a,l=e.palette,s=e.semanticColors,u={textHoveredColor:s.menuItemTextHovered,textSelectedColor:l.neutralDark,textDisabledColor:s.disabledText,backgroundHoveredColor:s.menuItemBackgroundHovered,backgroundPressedColor:s.menuItemBackgroundPressed};return ng({root:[e.fonts.medium,{backgroundColor:r?u.backgroundHoveredColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:o?"none":"block",width:"100%",height:"auto",minHeight:36,lineHeight:"20px",padding:"0 8px",position:"relative",borderWidth:"1px",borderStyle:"solid",borderColor:"transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",selectors:sm(sm((a={},a[z_]={border:"none",borderColor:"Background"},a),!o&&{"&.ms-Checkbox":{display:"flex",alignItems:"center"}}),{"&.ms-Button--command:hover:active":{backgroundColor:u.backgroundPressedColor},".ms-Checkbox-label":{width:"100%"}})},i?[{backgroundColor:"transparent",color:u.textSelectedColor,selectors:{":hover":[{backgroundColor:u.backgroundHoveredColor},Yk]}},U_(e,{inset:-1,isFocusedOnly:!1}),Yk]:[]],rootHovered:{backgroundColor:u.backgroundHoveredColor,color:u.textHoveredColor},rootFocused:{backgroundColor:u.backgroundHoveredColor},rootDisabled:{color:u.textDisabledColor,cursor:"default"},optionText:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:"0px",maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",display:"inline-block"},optionTextWrapper:{maxWidth:"100%",display:"flex",alignItems:"center"}},t,n)}),eE=Ov(function(e,t){var n,r,o=e.semanticColors,i=e.fonts,a={buttonTextColor:o.bodySubtext,buttonTextHoveredCheckedColor:o.buttonTextChecked,buttonBackgroundHoveredColor:o.listItemBackgroundHovered,buttonBackgroundCheckedColor:o.listItemBackgroundChecked,buttonBackgroundCheckedHoveredColor:o.listItemBackgroundCheckedHovered},l={selectors:(n={},n[z_]=sm({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)};return ng({root:{color:a.buttonTextColor,fontSize:i.small.fontSize,position:"absolute",top:0,height:"100%",lineHeight:30,width:32,textAlign:"center",cursor:"default",selectors:(r={},r[z_]=sm({backgroundColor:"ButtonFace",borderColor:"ButtonText",color:"ButtonText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},icon:{fontSize:i.small.fontSize},rootHovered:[{backgroundColor:a.buttonBackgroundHoveredColor,color:a.buttonTextHoveredCheckedColor,cursor:"pointer"},l],rootPressed:[{backgroundColor:a.buttonBackgroundCheckedColor,color:a.buttonTextHoveredCheckedColor},l],rootChecked:[{backgroundColor:a.buttonBackgroundCheckedColor,color:a.buttonTextHoveredCheckedColor},l],rootCheckedHovered:[{backgroundColor:a.buttonBackgroundCheckedHoveredColor,color:a.buttonTextHoveredCheckedColor},l],rootDisabled:[Zk(e),{position:"absolute"}]},t)}),tE=Ov(function(e,t,n){var r,o,i,a,l,s,u=e.semanticColors,c=e.fonts,d=e.effects,f={textColor:u.inputText,borderColor:u.inputBorder,borderHoveredColor:u.inputBorderHovered,borderPressedColor:u.inputFocusBorderAlt,borderFocusedColor:u.inputFocusBorderAlt,backgroundColor:u.inputBackground,erroredColor:u.errorText},p={headerTextColor:u.menuHeader,dividerBorderColor:u.bodyDivider},h={selectors:(r={},r[z_]={color:"GrayText"},r)},m=[{color:u.inputPlaceholderText},h],g=[{color:u.inputTextHovered},h],v=[{color:u.disabledText},h],y=sm(sm({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),b=K_(f.borderPressedColor,d.roundedCorner2,"border",0);return ng({container:{},label:{},labelDisabled:{},root:[e.fonts.medium,{boxShadow:"none",marginLeft:"0",paddingRight:32,paddingLeft:9,color:f.textColor,position:"relative",outline:"0",userSelect:"none",backgroundColor:f.backgroundColor,cursor:"text",display:"block",height:32,whiteSpace:"nowrap",textOverflow:"ellipsis",boxSizing:"border-box",selectors:{".ms-Label":{display:"inline-block",marginBottom:"8px"},"&.is-open":{selectors:(o={},o[z_]=y,o)},":after":{pointerEvents:"none",content:"''",position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:"1px",borderStyle:"solid",borderColor:f.borderColor,borderRadius:d.roundedCorner2}}}],rootHovered:{selectors:(i={":after":{borderColor:f.borderHoveredColor},".ms-ComboBox-Input":[{color:u.inputTextHovered},sC(g),Jk]},i[z_]=sm(sm({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),i)},rootPressed:[{position:"relative",selectors:(a={},a[z_]=y,a)}],rootFocused:[{selectors:(l={".ms-ComboBox-Input":[{color:u.inputTextHovered},Jk]},l[z_]=y,l)},b],rootDisabled:Zk(e),rootError:{selectors:{":after":{borderColor:f.erroredColor},":hover:after":{borderColor:u.inputBorderHovered}}},rootDisallowFreeForm:{},input:[sC(m),{backgroundColor:f.backgroundColor,color:f.textColor,boxSizing:"border-box",width:"100%",height:"100%",borderStyle:"none",outline:"none",font:"inherit",textOverflow:"ellipsis",padding:"0",selectors:{"::-ms-clear":{display:"none"}}},Jk],inputDisabled:[Zk(e),sC(v)],errorMessage:[e.fonts.small,{color:f.erroredColor,marginTop:"5px"}],callout:{boxShadow:d.elevation8},optionsContainerWrapper:{width:n},optionsContainer:{display:"block"},screenReaderText:q_,header:[c.medium,{fontWeight:Db.semibold,color:p.headerTextColor,backgroundColor:"none",borderStyle:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(s={},s[z_]=sm({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s)}],divider:{height:1,backgroundColor:p.dividerBorderColor}},t)}),nE=Ov(function(e,t,n,r,o,i,a,l){return{container:tg(e.__shadowConfig__,"ms-ComboBox-container",t,e.container),label:tg(e.__shadowConfig__,e.label,r&&e.labelDisabled),root:tg(e.__shadowConfig__,"ms-ComboBox",l?e.rootError:n&&"is-open",o&&"is-required",e.root,!a&&e.rootDisallowFreeForm,l&&!i?e.rootError:!r&&i&&e.rootFocused,!r&&{selectors:{":hover":l?e.rootError:!n&&!i&&e.rootHovered,":active":l?e.rootError:e.rootPressed,":focus":l?e.rootError:e.rootFocused}},r&&["is-disabled",e.rootDisabled]),input:tg(e.__shadowConfig__,"ms-ComboBox-Input",e.input,r&&e.inputDisabled),errorMessage:tg(e.__shadowConfig__,e.errorMessage),callout:tg(e.__shadowConfig__,"ms-ComboBox-callout",e.callout),optionsContainerWrapper:tg(e.__shadowConfig__,"ms-ComboBox-optionsContainerWrapper",e.optionsContainerWrapper),optionsContainer:tg(e.__shadowConfig__,"ms-ComboBox-optionsContainer",e.optionsContainer),header:tg(e.__shadowConfig__,"ms-ComboBox-header",e.header),divider:tg(e.__shadowConfig__,"ms-ComboBox-divider",e.divider),screenReaderText:tg(e.__shadowConfig__,e.screenReaderText)}}),rE=Ov(function(e){return{optionText:tg(e.__shadowConfig__,"ms-ComboBox-optionText",e.optionText),root:tg(e.__shadowConfig__,"ms-ComboBox-option",e.root,{selectors:{":hover":e.rootHovered,":focus":e.rootFocused,":active":e.rootPressed}}),optionTextWrapper:tg(e.__shadowConfig__,e.optionTextWrapper)}});function oE(e,t){for(var n=[],r=0,o=t;r<o.length;r++){var i=e[o[r]];i&&n.push(i)}return n}!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.SelectAll=3]="SelectAll"}(qk||(qk={})),function(e){e[e.backward=-1]="backward",e[e.none=0]="none",e[e.forward=1]="forward"}(Gk||(Gk={})),function(e){e[e.clearAll=-2]="clearAll",e[e.default=-1]="default"}($k||($k={}));var iE=z.memo(function(e){return(0,e.render)()},function(e,t){e.render;var n=um(e,["render"]);return t.render,Og(n,um(t,["render"]))}),aE={options:[],allowFreeform:!1,allowParentArrowNavigation:!1,autoComplete:"on",buttonIconProps:{iconName:"ChevronDown"}};function lE(e){var t=e.options,n=e.defaultSelectedKey,r=e.selectedKey,o=z.useState(function(){return pE(t,function(e,t){var n=hE(e);if(n.length)return n;return hE(t)}(n,r))}),i=o[0],a=o[1],l=z.useState(t),s=l[0],u=l[1],c=z.useState(),d=c[0],f=c[1];return z.useEffect(function(){if(void 0!==r){var e=hE(r),n=pE(t,e);a(n)}u(t)},[t,r]),z.useEffect(function(){null===r&&f(void 0)},[r]),[i,a,s,u,d,f]}var sE=z.forwardRef(function(e,t){var n=hb(aE,e);n.ref;var r=um(n,["ref"]),o=z.useRef(null),i=lw(o,t),a=lE(r),l=a[0],s=a[1],u=a[2],c=a[3],d=a[4],f=a[5];return z.createElement(fE,sm({},r,{hoisted:{mergedRootRef:i,rootRef:o,selectedIndices:l,setSelectedIndices:s,currentOptions:u,setCurrentOptions:c,suggestedDisplayValue:d,setSuggestedDisplayValue:f}}))});function uE(e,t){for(var n=function(e,t){void 0===t&&(t=!0);var n=[];if(e){for(var r=0;r<e.children.length;r++)n.push(e.children.item(r));t&&fg(e)&&n.push.apply(n,e._virtual.children)}return n}(e),r=0;r<n.length;r++){var o=n[r];if(t(o))return o;var i=uE(o,t);if(i)return i}return null}sE.displayName="ComboBox";var cE,dE,fE=function(e){function t(t){var n=e.call(this,t)||this;return n._autofill=z.createRef(),n._comboBoxWrapper=z.createRef(),n._comboBoxMenu=z.createRef(),n._selectedElement=z.createRef(),n._overrideScrollDismiss=!1,n.focus=function(e,t){n.props.disabled||(n._autofill.current&&(t?Dg(n._autofill.current):n._autofill.current.focus(),e&&n.setState({isOpen:!0})),n._hasFocus()||n.setState({focusState:"focused"}))},n.dismissMenu=function(){n.state.isOpen&&n.setState({isOpen:!1})},n._onUpdateValueInAutofillWillReceiveProps=function(){var e=n._autofill.current;return e?null===e.value||void 0===e.value?null:mE(n._currentVisibleValue):null},n._renderComboBoxWrapper=function(e,t){var r=n.props,o=r.label,i=r.disabled,a=r.ariaLabel,l=r.ariaDescribedBy,s=void 0===l?n.props["aria-describedby"]:l,u=r.required,c=r.errorMessage,d=r.buttonIconProps,f=r.isButtonAriaHidden,p=r.title,h=r.placeholder,m=r.tabIndex,g=r.autofill,v=r.iconButtonProps,y=r.hoisted.suggestedDisplayValue,b=n.state,_=b.ariaActiveDescendantValue,C=b.isOpen,w=n._hasFocus()&&n.props.multiSelect&&e?e:h,S=[n.props["aria-labelledby"],o&&n._id+"-label"].join(" ").trim(),x={"aria-labelledby":S||void 0,"aria-label":a&&!o?a:void 0},k=!!(c&&c.length>0);return z.createElement("div",{"data-ktp-target":!0,ref:n._comboBoxWrapper,id:n._id+"wrapper",className:n._classNames.root,"aria-owns":C?n._id+"-list":void 0},z.createElement(bS,sm({"data-ktp-execute-target":!0,"data-is-interactable":!i,componentRef:n._autofill,id:n._id+"-input",className:n._classNames.input,type:"text",onFocus:n._onFocus,onBlur:n._onBlur,onKeyDown:n._onInputKeyDown,onKeyUp:n._onInputKeyUp,onClick:n._onAutofillClick,onTouchStart:n._onTouchStart,onInputValueChange:n._onInputChange,"aria-expanded":C,"aria-autocomplete":n._getAriaAutoCompleteValue(),role:"combobox",readOnly:i},x,{"aria-describedby":void 0!==c?gv(s,t):s,"aria-activedescendant":_,"aria-required":u,"aria-disabled":i,"aria-invalid":k,"aria-controls":C?n._id+"-list":void 0,spellCheck:!1,defaultVisibleValue:n._currentVisibleValue,suggestedDisplayValue:y,updateValueInWillReceiveProps:n._onUpdateValueInAutofillWillReceiveProps,shouldSelectFullInputValueInComponentDidUpdate:n._onShouldSelectFullInputValueInAutofillComponentDidUpdate,title:p,preventValueSelection:!n._hasFocus(),placeholder:w,tabIndex:i?-1:m},g)),z.createElement(ak,sm({className:"ms-ComboBox-CaretDown-button",styles:n._getCaretButtonStyles(),role:f?"presentation":void 0,"aria-hidden":f},f?void 0:x,{"data-is-focusable":!1,tabIndex:-1,onClick:n._onComboBoxClick,onBlur:n._onBlur,iconProps:d,disabled:i,checked:C},v)))},n._onShouldSelectFullInputValueInAutofillComponentDidUpdate=function(){return n._currentVisibleValue===n.props.hoisted.suggestedDisplayValue},n._getVisibleValue=function(){var e=n.props,t=e.text,r=e.allowFreeform,o=e.allowFreeInput,i=e.autoComplete,a=e.hoisted,l=a.suggestedDisplayValue,s=a.selectedIndices,u=a.currentOptions,c=n.state,d=c.currentPendingValueValidIndex,f=c.currentPendingValue,p=c.isOpen,h=gE(u,d);if((!p||!h)&&(t||""===t)&&null==f)return t;if(n.props.multiSelect){if(n._hasFocus()){var m=-1;return"on"===i&&h&&(m=d),n._getPendingString(f,u,m)}return n._getMultiselectDisplayString(s,u,l)}m=n._getFirstSelectedIndex();return r||o?("on"===i&&h&&(m=d),n._getPendingString(f,u,m)):h&&"on"===i?(m=d,mE(f)):!n.state.isOpen&&f?gE(u,m)?f:mE(l):gE(u,m)?bE(u[m]):mE(l)},n._onInputChange=function(e){n.props.disabled?n._handleInputWhenDisabled(null):(n.props.onInputValueChange&&n.props.onInputValueChange(e),n.props.allowFreeform||n.props.allowFreeInput?n._processInputChangeWithFreeform(e):n._processInputChangeWithoutFreeform(e))},n._onFocus=function(){var e,t;null===(t=null===(e=n._autofill.current)||void 0===e?void 0:e.inputElement)||void 0===t||t.select(),n._hasFocus()||n.setState({focusState:"focusing"})},n._onResolveOptions=function(){if(n.props.onResolveOptions){var e=n.props.onResolveOptions(dm([],n.props.hoisted.currentOptions,!0));Array.isArray(e)?n.props.hoisted.setCurrentOptions(e):e&&e.then&&(n._currentPromise=e,e.then(function(t){e===n._currentPromise&&n.props.hoisted.setCurrentOptions(t)}))}},n._onBlur=function(e){var t,r,o=gw(n.context),i=e.relatedTarget;if(null===e.relatedTarget&&(i=null==o?void 0:o.activeElement),i){var a=null===(t=n.props.hoisted.rootRef.current)||void 0===t?void 0:t.contains(i),l=null===(r=n._comboBoxMenu.current)||void 0===r?void 0:r.contains(i),s=n._comboBoxMenu.current&&mg(n._comboBoxMenu.current,function(e){return e===i},o);if(a||l||s)return s&&n._hasFocus()&&(!n.props.multiSelect||n.props.allowFreeform)&&n._submitPendingValue(e),e.preventDefault(),void e.stopPropagation()}n._hasFocus()&&(n.setState({focusState:"none"}),n.props.multiSelect&&!n.props.allowFreeform||n._submitPendingValue(e))},n._onRenderContainer=function(e,t){var r=e.onRenderList,o=e.calloutProps,i=e.dropdownWidth,a=e.dropdownMaxWidth,l=e.onRenderUpperContent,s=void 0===l?n._onRenderUpperContent:l,u=e.onRenderLowerContent,c=void 0===u?n._onRenderLowerContent:u,d=e.useComboBoxAsMenuWidth,f=e.persistMenu,p=e.shouldRestoreFocus,h=void 0===p||p,m=n.state.isOpen,g=n._id,v=d&&n._comboBoxWrapper.current?n._comboBoxWrapper.current.clientWidth+2:void 0;return z.createElement(Jw,sm({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHint:vC,directionalHintFixed:!1},o,{onLayerMounted:n._onLayerMounted,className:Hv(n._classNames.callout,null==o?void 0:o.className),target:n._comboBoxWrapper.current,onDismiss:n._onDismiss,onMouseDown:n._onCalloutMouseDown,onScroll:n._onScroll,setInitialFocus:!1,calloutWidth:d&&n._comboBoxWrapper.current?v&&v:i,calloutMaxWidth:a||v,hidden:f?!m:void 0,shouldRestoreFocus:h,preventDismissOnEvent:function(e){return n._preventDismissOnScrollOrResize(e)}}),s(n.props,n._onRenderUpperContent),z.createElement("div",{className:n._classNames.optionsContainerWrapper,ref:n._comboBoxMenu},null==r?void 0:r(sm(sm({},e),{id:g}),n._onRenderList)),c(n.props,n._onRenderLowerContent))},n._onLayerMounted=function(){n._onCalloutLayerMounted(),n._async.setTimeout(function(){n._scrollIntoView()},0),n.props.calloutProps&&n.props.calloutProps.onLayerMounted&&n.props.calloutProps.onLayerMounted()},n._onRenderLabel=function(e){var t=e.props,r=t.label,o=t.disabled,i=t.required;return r?z.createElement(yk,{id:n._id+"-label",disabled:o,required:i,className:n._classNames.label},r,e.multiselectAccessibleText&&z.createElement("span",{className:n._classNames.screenReaderText},e.multiselectAccessibleText)):null},n._onRenderList=function(e){var t=e.onRenderItem,r=void 0===t?n._onRenderItem:t,o=e.label,i=e.ariaLabel,a=e.multiSelect,l={items:[]},s=[],u=function(){var e=l.id?[z.createElement("div",{role:"group",key:l.id,"aria-labelledby":l.id},l.items)]:l.items;s=dm(dm([],s,!0),e,!0),l={items:[]}};e.options.forEach(function(e,t){!function(e,t){switch(e.itemType){case qk.Header:l.items.length>0&&u();var o=n._id+e.key;l.items.push(r(sm(sm({id:o},e),{index:t}),n._onRenderItem)),l.id=o;break;case qk.Divider:t>0&&l.items.push(r(sm(sm({},e),{index:t}),n._onRenderItem)),l.items.length>0&&u();break;default:l.items.push(r(sm(sm({},e),{index:t}),n._onRenderItem))}}(e,t)}),l.items.length>0&&u();var c=n._id;return z.createElement("div",{id:c+"-list",className:n._classNames.optionsContainer,"aria-labelledby":o&&c+"-label","aria-label":i&&!o?i:void 0,"aria-multiselectable":a?"true":void 0,role:"listbox"},s)},n._onRenderItem=function(e){switch(e.itemType){case qk.Divider:return n._renderSeparator(e);case qk.Header:return n._renderHeader(e);default:return n._renderOption(e)}},n._onRenderLowerContent=function(){return null},n._onRenderUpperContent=function(){return null},n._renderOption=function(e){var t,r=n.props.onRenderOption,o=void 0===r?n._onRenderOptionContent:r,i=null!==(t=e.id)&&void 0!==t?t:n._id+"-list"+e.index,a=n._isOptionSelected(e.index),l=n._isOptionChecked(e.index),s=n._isOptionIndeterminate(e.index),u=n._getCurrentOptionStyles(e),c=rE(u),d=e.title;return z.createElement(iE,{key:e.key,index:e.index,disabled:e.disabled,isSelected:a,isChecked:l,isIndeterminate:s,text:e.text,render:function(){return n.props.multiSelect?z.createElement(mk,{id:i,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabel?void 0:i+"-label",key:e.key,styles:u,className:"ms-ComboBox-option",onChange:n._onItemClick(e),label:e.text,checked:l,indeterminate:s,title:d,disabled:e.disabled,onRenderLabel:n._renderCheckboxLabel.bind(n,sm(sm({},e),{id:i+"-label"})),inputProps:sm({"aria-selected":l?"true":"false",role:"option"},{"data-index":e.index,"data-is-focusable":!0})}):z.createElement(sk,{id:i,key:e.key,"data-index":e.index,styles:u,checked:a,className:"ms-ComboBox-option",onClick:n._onItemClick(e),onMouseEnter:n._onOptionMouseEnter.bind(n,e.index),onMouseMove:n._onOptionMouseMove.bind(n,e.index),onMouseLeave:n._onOptionMouseLeave,role:"option","aria-selected":a?"true":"false",ariaLabel:e.ariaLabel,disabled:e.disabled,title:d},z.createElement("span",{className:c.optionTextWrapper,ref:a?n._selectedElement:void 0},o(e,n._onRenderOptionContent)))},data:e.data})},n._onCalloutMouseDown=function(e){e.preventDefault()},n._onScroll=function(){var e;n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(n._async.clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),(null===(e=n.props.calloutProps)||void 0===e?void 0:e.onScroll)&&n.props.calloutProps.onScroll(),n._scrollIdleTimeoutId=n._async.setTimeout(function(){n._isScrollIdle=!0},250)},n._onRenderOptionContent=function(e){var t=rE(n._getCurrentOptionStyles(e));return z.createElement("span",{className:t.optionText},e.text)},n._onRenderMultiselectOptionContent=function(e){var t=rE(n._getCurrentOptionStyles(e));return z.createElement("span",{id:e.id,"aria-hidden":"true",className:t.optionText},e.text)},n._onDismiss=function(){var e=n.props.onMenuDismiss;e&&e(),n.props.persistMenu&&n._onCalloutLayerMounted(),n._setOpenStateAndFocusOnClose(!1,!1),n._resetSelectedIndex()},n._onAfterClearPendingInfo=function(){n._processingClearPendingInfo=!1},n._onInputKeyDown=function(e){var t=n.props,r=t.disabled,o=t.allowFreeform,i=t.allowFreeInput,a=t.allowParentArrowNavigation,l=t.autoComplete,s=t.hoisted.currentOptions,u=n.state,c=u.isOpen,d=u.currentPendingValueValidIndexOnHover;if(n._lastKeyDownWasAltOrMeta=_E(e),r)n._handleInputWhenDisabled(e);else{var f=n._getPendingSelectedIndex(!1);switch(e.which){case nv:n._autofill.current&&n._autofill.current.inputElement&&n._autofill.current.inputElement.select(),n._submitPendingValue(e),n.props.multiSelect&&c?n.setState({currentPendingValueValidIndex:f}):(c||(!o||void 0===n.state.currentPendingValue||null===n.state.currentPendingValue||n.state.currentPendingValue.length<=0)&&n.state.currentPendingValueValidIndex<0)&&n.setState({isOpen:!c});break;case tv:return n.props.multiSelect||n._submitPendingValue(e),void(c&&n._setOpenStateAndFocusOnClose(!c,!1));case ov:if(n._resetSelectedIndex(),!c)return;n.setState({isOpen:!1});break;case dv:if(d===$k.clearAll&&(f=n.props.hoisted.currentOptions.length),e.altKey||e.metaKey){if(c){n._setOpenStateAndFocusOnClose(!c,!0);break}return}e.preventDefault(),n._setPendingInfoFromIndexAndDirection(f,Gk.backward);break;case pv:e.altKey||e.metaKey?n._setOpenStateAndFocusOnClose(!0,!0):(d===$k.clearAll&&(f=-1),e.preventDefault(),n._setPendingInfoFromIndexAndDirection(f,Gk.forward));break;case uv:case sv:if(o||i)return;f=-1;var p=Gk.forward;e.which===sv&&(f=s.length,p=Gk.backward),n._setPendingInfoFromIndexAndDirection(f,p);break;case iv:if(!o&&!i&&"off"===l)break;default:if(e.which>=112&&e.which<=123)return;if(e.keyCode===rv||"Meta"===e.key)return;if(a&&(e.keyCode===cv||e.keyCode===fv))return;if(!o&&!i&&"on"===l){n._onInputChange(e.key);break}return}e.stopPropagation(),e.preventDefault()}},n._onInputKeyUp=function(e){var t=n.props,r=t.disabled,o=t.allowFreeform,i=t.allowFreeInput,a=t.autoComplete,l=n.state.isOpen,s=n._lastKeyDownWasAltOrMeta&&_E(e);n._lastKeyDownWasAltOrMeta=!1;var u=s&&!(sb()||ib());r?n._handleInputWhenDisabled(e):e.which!==iv?u&&l?n._setOpenStateAndFocusOnClose(!l,!0):("focusing"===n.state.focusState&&n.props.openOnKeyboardFocus&&n.setState({isOpen:!0}),"focused"!==n.state.focusState&&n.setState({focusState:"focused"})):o||i||"off"!==a||n._setOpenStateAndFocusOnClose(!l,!!l)},n._onOptionMouseLeave=function(){n._shouldIgnoreMouseEvent()||n.props.persistMenu&&!n.state.isOpen||n.setState({currentPendingValueValidIndexOnHover:$k.clearAll})},n._onComboBoxClick=function(){var e=n.props.disabled,t=n.state.isOpen;e||(n._setOpenStateAndFocusOnClose(!t,!1),n.setState({focusState:"focused"}))},n._onAutofillClick=function(){var e=n.props,t=e.disabled;e.allowFreeform&&!t?n.focus(n.state.isOpen||n._processingTouch):n._onComboBoxClick()},n._onTouchStart=function(){n._comboBoxWrapper.current&&!("onpointerdown"in n._comboBoxWrapper)&&n._handleTouchAndPointerEvent()},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},Ry(n),n._async=new dg(n),n._events=new Bg(n),n._id=t.id||gy("ComboBox"),n._isScrollIdle=!0,n._processingTouch=!1,n._gotMouseMove=!1,n._processingClearPendingInfo=!1,n.state={isOpen:!1,focusState:"none",currentPendingValueValidIndex:-1,currentPendingValue:void 0,currentPendingValueValidIndexOnHover:$k.default},n}return lm(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props.hoisted;return oE(e.currentOptions,e.selectedIndices)},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._comboBoxWrapper.current&&!this.props.disabled&&(this._events.on(this._comboBoxWrapper.current,"focus",this._onResolveOptions,!0),"onpointerdown"in this._comboBoxWrapper.current&&this._events.on(this._comboBoxWrapper.current,"pointerdown",this._onPointerDown,!0))},t.prototype.componentDidUpdate=function(e,t){var n,r,o,i=this,a=this.props,l=a.allowFreeform,s=a.allowFreeInput,u=a.text,c=a.onMenuOpen,d=a.onMenuDismissed,f=a.hoisted,p=f.currentOptions,h=f.selectedIndices,m=this.state,g=m.currentPendingValue,v=m.currentPendingValueValidIndex,y=m.isOpen;!y||t.isOpen&&t.currentPendingValueValidIndex===v||this._async.setTimeout(function(){return i._scrollIntoView()},0);var b=gw(this.context);this._hasFocus()&&(y||t.isOpen&&!y&&this._focusInputAfterClose&&this._autofill.current&&(null==b?void 0:b.activeElement)!==this._autofill.current.inputElement)&&this.focus(void 0,!0),this._focusInputAfterClose&&(t.isOpen&&!y||this._hasFocus()&&(!y&&!this.props.multiSelect&&e.hoisted.selectedIndices&&h&&e.hoisted.selectedIndices[0]!==h[0]||!l&&!s||u!==e.text))&&this._onFocus(),this._notifyPendingValueChanged(t),y&&!t.isOpen&&(this._overrideScrollDismiss=!0,this._async.clearTimeout(this._overrideScrollDimissTimeout),this._overrideScrollDimissTimeout=this._async.setTimeout(function(){i._overrideScrollDismiss=!1},100),null==c||c()),!y&&t.isOpen&&d&&d();var _=v,C=p.map(function(e,t){return sm(sm({},e),{index:t})});!Og(e.hoisted.currentOptions,p)&&g&&(_=this.props.allowFreeform||this.props.allowFreeInput?this._processInputChangeWithFreeform(g):this._updateAutocompleteIndexWithoutFreeform(g));var w=void 0;y&&this._hasFocus()&&-1!==_?w=null!==(n=C[_].id)&&void 0!==n?n:this._id+"-list"+_:y&&h.length&&(w=null!==(o=null===(r=C[h[0]])||void 0===r?void 0:r.id)&&void 0!==o?o:this._id+"-list"+h[0]),w!==this.state.ariaActiveDescendantValue&&this.setState({ariaActiveDescendantValue:w})},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this._id+"-error",t=this.props,n=t.className,r=t.disabled,o=t.required,i=t.errorMessage,a=t.onRenderContainer,l=void 0===a?this._onRenderContainer:a,s=t.onRenderLabel,u=void 0===s?this._onRenderLabel:s,c=t.onRenderList,d=void 0===c?this._onRenderList:c,f=t.onRenderItem,p=void 0===f?this._onRenderItem:f,h=t.onRenderOption,m=void 0===h?this._onRenderOptionContent:h,g=t.allowFreeform,v=t.styles,y=t.theme,b=t.persistMenu,_=t.multiSelect,C=t.hoisted,w=C.suggestedDisplayValue,S=C.selectedIndices,x=C.currentOptions,k=this.state.isOpen;this._currentVisibleValue=this._getVisibleValue();var E=_?this._getMultiselectDisplayString(S,x,w):void 0,F=Py(this.props,Ty,["onChange","value","aria-describedby","aria-labelledby"]),I=!!(i&&i.length>0);this._classNames=this.props.getClassNames?this.props.getClassNames(y,!!k,!!r,!!o,!!this._hasFocus(),!!g,!!I,n):nE(tE(y,v),n,!!k,!!r,!!o,!!this._hasFocus(),!!g,!!I);var T=this._renderComboBoxWrapper(E,e);return z.createElement("div",sm({},F,{ref:this.props.hoisted.mergedRootRef,className:this._classNames.container}),u({props:this.props,multiselectAccessibleText:E},this._onRenderLabel),T,(b||k)&&l(sm(sm({},this.props),{onRenderList:d,onRenderItem:p,onRenderOption:m,options:x.map(function(e,t){return sm(sm({},e),{index:t})}),onDismiss:this._onDismiss}),this._onRenderContainer),I&&z.createElement("div",{role:"alert",id:e,className:this._classNames.errorMessage},i))},t.prototype._getPendingString=function(e,t,n){return null!=e?e:gE(t,n)?bE(t[n]):""},t.prototype._getMultiselectDisplayString=function(e,t,n){for(var r=[],o=0;e&&o<e.length;o++){var i=e[o];t[i].itemType!==qk.SelectAll&&r.push(gE(t,i)?t[i].text:mE(n))}var a=this.props.multiSelectDelimiter,l=void 0===a?", ":a;return r.join(l)},t.prototype._preventDismissOnScrollOrResize=function(e){var t=this.props.calloutProps;return(null==t?void 0:t.preventDismissOnEvent)?t.preventDismissOnEvent(e):!(!this._overrideScrollDismiss||"scroll"!==e.type&&"resize"!==e.type)},t.prototype._processInputChangeWithFreeform=function(e){var t=this,n=this.props.hoisted.currentOptions,r=-1;if(""===e)return 1===(i=n.map(function(e,t){return sm(sm({},e),{index:t})}).filter(function(t){return vE(t)&&!t.disabled&&bE(t)===e})).length&&(r=i[0].index),this._setPendingInfo(e,r,e),r;var o=e;e=this._adjustForCaseSensitivity(e);var i,a="";if("on"===this.props.autoComplete){if((i=n.map(function(e,t){return sm(sm({},e),{index:t})}).filter(function(n){return vE(n)&&!n.disabled&&0===t._adjustForCaseSensitivity(bE(n)).indexOf(e)})).length>0){var l=bE(i[0]);a=this._adjustForCaseSensitivity(l)!==e?l:"",r=i[0].index}}else 1===(i=n.map(function(e,t){return sm(sm({},e),{index:t})}).filter(function(n){return vE(n)&&!n.disabled&&t._adjustForCaseSensitivity(bE(n))===e})).length&&(r=i[0].index);return this._setPendingInfo(o,r,a),r},t.prototype._processInputChangeWithoutFreeform=function(e){var t=this,n=this.state,r=n.currentPendingValue,o=n.currentPendingValueValidIndex;if("on"===this.props.autoComplete&&""!==e){this._autoCompleteTimeout&&(this._async.clearTimeout(this._autoCompleteTimeout),this._autoCompleteTimeout=void 0,e=mE(r)+e);var i=this._updateAutocompleteIndexWithoutFreeform(e);return this._autoCompleteTimeout=this._async.setTimeout(function(){t._autoCompleteTimeout=void 0},1e3),i}var a=o>=0?o:this._getFirstSelectedIndex();return this._setPendingInfoFromIndex(a),a},t.prototype._updateAutocompleteIndexWithoutFreeform=function(e){var t=this,n=this.props.hoisted.currentOptions,r=e;e=this._adjustForCaseSensitivity(e);var o=n.map(function(e,t){return sm(sm({},e),{index:t})}).filter(function(n){return vE(n)&&!n.disabled&&0===t._adjustForCaseSensitivity(n.text).indexOf(e)});return o.length>0?(this._setPendingInfo(r,o[0].index,bE(o[0])),o[0].index):-1},t.prototype._getFirstSelectedIndex=function(){var e=this.props.hoisted.selectedIndices;return(null==e?void 0:e.length)?e[0]:-1},t.prototype._getNextSelectableIndex=function(e,t){var n=this.props.hoisted.currentOptions,r=e+t;if(!gE(n,r=Math.max(0,Math.min(n.length-1,r))))return-1;var o=n[r];if(!yE(o)||!0===o.hidden){if(t===Gk.none||!(r>0&&t<Gk.none||r>=0&&r<n.length&&t>Gk.none))return e;r=this._getNextSelectableIndex(r,t)}return r},t.prototype._setSelectedIndex=function(e,t,n){void 0===n&&(n=Gk.none);var r=this.props,o=r.onChange,i=r.onPendingValueChanged,a=r.hoisted,l=a.selectedIndices,s=a.currentOptions,u=l?l.slice():[],c=s.slice();if(gE(s,e=this._getNextSelectableIndex(e,n))){if(this.props.multiSelect||u.length<1||1===u.length&&u[0]!==e){var d=sm({},s[e]);if(!d||d.disabled)return;if(this.props.multiSelect)if(d.selected=void 0!==d.selected?!d.selected:u.indexOf(e)<0,d.itemType===qk.SelectAll)u=[],d.selected?s.forEach(function(e,t){!e.disabled&&yE(e)&&(u.push(t),c[t]=sm(sm({},e),{selected:!0}))}):c=s.map(function(e){return sm(sm({},e),{selected:!1})});else{d.selected&&u.indexOf(e)<0?u.push(e):!d.selected&&u.indexOf(e)>=0&&(u=u.filter(function(t){return t!==e})),c[e]=d;var f=c.filter(function(e){return e.itemType===qk.SelectAll})[0];if(f){var p=this._isSelectAllChecked(u),h=c.indexOf(f);p?(u.push(h),c[h]=sm(sm({},f),{selected:!0})):(u=u.filter(function(e){return e!==h}),c[h]=sm(sm({},f),{selected:!1}))}}else u[0]=e;t.persist(),this.props.selectedKey||null===this.props.selectedKey||(this.props.hoisted.setSelectedIndices(u),this.props.hoisted.setCurrentOptions(c)),this._hasPendingValue&&i&&(i(),this._hasPendingValue=!1),o&&o(t,d,e,bE(d))}this.props.multiSelect&&this.state.isOpen||this._clearPendingInfo()}},t.prototype._submitPendingValue=function(e){var t,n=this.props,r=n.onChange,o=n.allowFreeform,i=n.autoComplete,a=n.multiSelect,l=n.hoisted,s=l.currentOptions,u=this.state,c=u.currentPendingValue,d=u.currentPendingValueValidIndex,f=u.currentPendingValueValidIndexOnHover,p=this.props.hoisted.selectedIndices;if(!this._processingClearPendingInfo){if(o){if(null==c)return void(f>=0&&(this._setSelectedIndex(f,e),this._clearPendingInfo()));if(gE(s,d)){var h=this._adjustForCaseSensitivity(bE(s[d])),m=this._autofill.current,g=this._adjustForCaseSensitivity(c);if(g===h||i&&0===h.indexOf(g)&&(null==m?void 0:m.isValueSelected)&&c.length+(m.selectionEnd-m.selectionStart)===h.length||void 0!==(null===(t=null==m?void 0:m.inputElement)||void 0===t?void 0:t.value)&&this._adjustForCaseSensitivity(m.inputElement.value)===h){if(this._setSelectedIndex(d,e),a&&this.state.isOpen)return;return void this._clearPendingInfo()}}if(r)r&&r(e,void 0,void 0,c);else{var v={key:c||gy(),text:mE(c)};a&&(v.selected=!0);var y=s.concat([v]);p&&(a||(p=[]),p.push(y.length-1)),l.setCurrentOptions(y),l.setSelectedIndices(p)}}else d>=0?this._setSelectedIndex(d,e):f>=0&&this._setSelectedIndex(f,e);this._clearPendingInfo()}},t.prototype._onCalloutLayerMounted=function(){this._gotMouseMove=!1},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key;return t&&t>0?z.createElement("div",{role:"presentation",key:n,className:this._classNames.divider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOptionContent:t;return z.createElement("div",{id:e.id,key:e.key,className:this._classNames.header},n(e,this._onRenderOptionContent))},t.prototype._renderCheckboxLabel=function(e){var t=this.props.onRenderOption;return(void 0===t?this._onRenderMultiselectOptionContent:t)(e,this._onRenderMultiselectOptionContent)},t.prototype._isOptionHighlighted=function(e){var t=this.state.currentPendingValueValidIndexOnHover;return t!==$k.clearAll&&(t>=0?t===e:this._isOptionSelected(e))},t.prototype._isOptionSelected=function(e){return this._getPendingSelectedIndex(!0)===e},t.prototype._isOptionChecked=function(e){if(this.props.multiSelect&&void 0!==e&&this.props.hoisted.selectedIndices){return this.props.hoisted.selectedIndices.indexOf(e)>=0}return!1},t.prototype._isOptionIndeterminate=function(e){var t=this.props,n=t.multiSelect,r=t.hoisted;if(n&&void 0!==e&&r.selectedIndices&&r.currentOptions){var o=r.currentOptions[e];if(o&&o.itemType===qk.SelectAll)return r.selectedIndices.length>0&&!this._isSelectAllChecked()}return!1},t.prototype._isSelectAllChecked=function(e){var t=this.props,n=t.multiSelect,r=t.hoisted,o=r.currentOptions.find(function(e){return e.itemType===qk.SelectAll}),i=e||r.selectedIndices;if(!n||!i||!o)return!1;var a=r.currentOptions.indexOf(o),l=i.filter(function(e){return e!==a}),s=r.currentOptions.filter(function(e){return!e.disabled&&e.itemType!==qk.SelectAll&&yE(e)});return l.length===s.length},t.prototype._getPendingSelectedIndex=function(e){var t=this.state,n=t.currentPendingValueValidIndex,r=t.currentPendingValue;return n>=0||e&&null!=r?n:this.props.multiSelect?-1:this._getFirstSelectedIndex()},t.prototype._scrollIntoView=function(){var e=this.props,t=e.onScrollToItem,n=e.scrollSelectedToTop,r=this._getPendingSelectedIndex(!0);if(t)t(r>=0?r:this._getFirstSelectedIndex());else{var o=this._selectedElement.current;if(this.props.multiSelect&&this._comboBoxMenu.current&&(o=uE(this._comboBoxMenu.current,function(e){var t;return(null===(t=e.dataset)||void 0===t?void 0:t.index)===r.toString()})),o&&o.offsetParent){var i=!0;if(this._comboBoxMenu.current&&this._comboBoxMenu.current.offsetParent){var a=this._comboBoxMenu.current.offsetParent,l=o.offsetParent,s=l.offsetHeight,u=l.offsetTop,c=a,d=c.offsetHeight,f=c.scrollTop,p=u+s>f+d;u<f||n?(i=!1,a.scrollTo(0,u)):p&&a.scrollTo(0,u-d+s)}else o.offsetParent.scrollIntoView(i)}}},t.prototype._onItemClick=function(e){var t=this,n=this.props.onItemClick,r=e.index;return function(o){t.props.multiSelect||(t._autofill.current&&t._autofill.current.focus(),t.setState({isOpen:!1})),n&&n(o,e,r),t._setSelectedIndex(r,o)}},t.prototype._resetSelectedIndex=function(){var e=this.props.hoisted.currentOptions;this._clearPendingInfo();var t=this._getFirstSelectedIndex();t>0&&t<e.length?this.props.hoisted.setSuggestedDisplayValue(e[t].text):this.props.text&&this.props.hoisted.setSuggestedDisplayValue(this.props.text)},t.prototype._clearPendingInfo=function(){this._processingClearPendingInfo=!0,this.props.hoisted.setSuggestedDisplayValue(void 0),this.setState({currentPendingValue:void 0,currentPendingValueValidIndex:-1,currentPendingValueValidIndexOnHover:$k.default},this._onAfterClearPendingInfo)},t.prototype._setPendingInfo=function(e,t,n){void 0===t&&(t=-1),this._processingClearPendingInfo||(this.props.hoisted.setSuggestedDisplayValue(n),this.setState({currentPendingValue:mE(e),currentPendingValueValidIndex:t,currentPendingValueValidIndexOnHover:$k.default}))},t.prototype._setPendingInfoFromIndex=function(e){var t=this.props.hoisted.currentOptions;if(e>=0&&e<t.length){var n=t[e];this._setPendingInfo(bE(n),e,bE(n))}else this._clearPendingInfo()},t.prototype._setPendingInfoFromIndexAndDirection=function(e,t){var n=this.props.hoisted.currentOptions;t===Gk.forward&&e>=n.length-1?e=-1:t===Gk.backward&&e<=0&&(e=n.length);var r=this._getNextSelectableIndex(e,t);e===r?t===Gk.forward?e=this._getNextSelectableIndex(-1,t):t===Gk.backward&&(e=this._getNextSelectableIndex(n.length,t)):e=r,gE(n,e)&&this._setPendingInfoFromIndex(e)},t.prototype._notifyPendingValueChanged=function(e){var t=this.props.onPendingValueChanged;if(t){var n=this.props.hoisted.currentOptions,r=this.state,o=r.currentPendingValue,i=r.currentPendingValueValidIndex,a=r.currentPendingValueValidIndexOnHover,l=void 0,s=void 0;a!==e.currentPendingValueValidIndexOnHover&&gE(n,a)?l=a:i!==e.currentPendingValueValidIndex&&gE(n,i)?l=i:o!==e.currentPendingValue&&(s=o),(void 0!==l||void 0!==s||this._hasPendingValue)&&(t(void 0!==l?n[l]:void 0,l,s),this._hasPendingValue=void 0!==l||void 0!==s)}},t.prototype._setOpenStateAndFocusOnClose=function(e,t){this._focusInputAfterClose=t,this.setState({isOpen:e})},t.prototype._onOptionMouseEnter=function(e){this._shouldIgnoreMouseEvent()||this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._onOptionMouseMove=function(e){this._gotMouseMove=!0,this._isScrollIdle&&this.state.currentPendingValueValidIndexOnHover!==e&&this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._handleInputWhenDisabled=function(e){this.props.disabled&&(this.state.isOpen&&this.setState({isOpen:!1}),null!==e&&e.which!==tv&&e.which!==ov&&(e.which<112||e.which>123)&&(e.stopPropagation(),e.preventDefault()))},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0},500)},t.prototype._getCaretButtonStyles=function(){var e=this.props.caretDownButtonStyles;return eE(this.props.theme,e)},t.prototype._getCurrentOptionStyles=function(e){var t,n=this.props.comboBoxOptionStyles,r=e.styles,o=Xk(this.props.theme,n,r,this._isPendingOption(e),e.hidden,this._isOptionHighlighted(e.index));return o.__shadowConfig__=null===(t=this.props.styles)||void 0===t?void 0:t.__shadowConfig__,o},t.prototype._getAriaAutoCompleteValue=function(){return!this.props.disabled&&"on"===this.props.autoComplete?this.props.allowFreeform?"inline":"both":"list"},t.prototype._isPendingOption=function(e){return e&&e.index===this.state.currentPendingValueValidIndex},t.prototype._hasFocus=function(){return"none"!==this.state.focusState},t.prototype._adjustForCaseSensitivity=function(e){return this.props.caseSensitive?e:e.toLowerCase()},t.contextType=iy,t=cm([cy("ComboBox",["theme","styles"],!0)],t)}(z.Component);function pE(e,t){if(!e||!t)return[];var n={};e.forEach(function(e,t){e.selected&&(n[t]=!0)});for(var r=function(t){var r=vv(e,function(e){return e.key===t});r>-1&&(n[r]=!0)},o=0,i=t;o<i.length;o++){r(i[o])}return Object.keys(n).map(Number).sort()}function hE(e){return void 0===e?[]:e instanceof Array?e:[e]}function mE(e){return e||""}function gE(e,t){return!!e&&t>=0&&t<e.length}function vE(e){return e.itemType!==qk.Header&&e.itemType!==qk.Divider&&e.itemType!==qk.SelectAll}function yE(e){return e.itemType!==qk.Header&&e.itemType!==qk.Divider}function bE(e){return e.useAriaLabelAsText&&e.ariaLabel?e.ariaLabel:e.text}function _E(e){return e.which===rv||"Meta"===e.key}!function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(cE||(cE={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(dE||(dE={}));var CE,wE=kv(),SE=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return lm(t,e),t.prototype.render=function(){var e=this.props,t=e.type,n=e.size,r=e.ariaLabel,o=e.ariaLive,i=e.styles,a=e.label,l=e.theme,s=e.className,u=e.labelPosition,c=r,d=Py(this.props,Ty,["size"]),f=n;void 0===f&&void 0!==t&&(f=t===dE.large?cE.large:cE.medium);var p=wE(i,{theme:l,size:f,className:s,labelPosition:u});return z.createElement("div",sm({},d,{className:p.root}),z.createElement("div",{className:p.circle}),a&&z.createElement("div",{className:p.label},a),c&&z.createElement("div",{role:"status","aria-live":o},z.createElement(Gg,null,z.createElement("div",{className:p.screenReaderText},c))))},t.defaultProps={size:cE.medium,ariaLive:"polite",labelPosition:"bottom"},t}(z.Component),xE={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},kE=Ov(function(){return lg({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})}),EE=fb(SE,function(e){var t,n=e.theme,r=e.size,o=e.className,i=e.labelPosition,a=n.palette,l=$_(xE,n);return{root:[l.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"top"===i&&{flexDirection:"column-reverse"},"right"===i&&{flexDirection:"row"},"left"===i&&{flexDirection:"row-reverse"},o],circle:[l.circle,{boxSizing:"border-box",borderRadius:"50%",borderWidth:"1.5px",borderStyle:"solid",borderTopColor:a.themePrimary,borderRightColor:a.themeLight,borderBottomColor:a.themeLight,borderLeftColor:a.themeLight,animationName:kE(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[z_]=sm({borderTopColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},r===cE.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],r===cE.small&&["ms-Spinner--small",{width:16,height:16}],r===cE.medium&&["ms-Spinner--medium",{width:20,height:20}],r===cE.large&&["ms-Spinner--large",{width:28,height:28}]],label:[l.label,n.fonts.small,{color:a.themePrimary,margin:"8px 0 0",textAlign:"center"},"top"===i&&{margin:"0 0 8px"},"right"===i&&{margin:"0 0 0 8px"},"left"===i&&{margin:"0 8px 0 0"}],screenReaderText:q_}},void 0,{scope:"Spinner"}),FE=kv(),IE=function(e){function t(t){var n=e.call(this,t)||this;Ry(n);var r=n.props.allowTouchBodyScroll,o=void 0!==r&&r;return n._allowTouchBodyScroll=o,n}return lm(t,e),t.prototype.componentDidMount=function(){var e;!this._allowTouchBodyScroll&&((e=_g())&&e.body&&!zg&&(e.body.classList.add(Hg),e.body.addEventListener("touchmove",Wg,{passive:!1,capture:!1})),zg++)},t.prototype.componentWillUnmount=function(){!this._allowTouchBodyScroll&&function(){if(zg>0){var e=_g();e&&e.body&&1===zg&&(e.body.classList.remove(Hg),e.body.removeEventListener("touchmove",Wg)),zg--}}()},t.prototype.render=function(){var e=this.props,t=e.isDarkThemed,n=e.className,r=e.theme,o=e.styles,i=Py(this.props,Ty),a=FE(o,{theme:r,className:n,isDark:t});return z.createElement("div",sm({},i,{className:a.root}))},t}(z.Component),TE={root:"ms-Overlay",rootDark:"ms-Overlay--dark"},PE=fb(IE,function(e){var t,n=e.className,r=e.theme,o=e.isNone,i=e.isDark,a=r.palette,l=$_(TE,r);return{root:[l.root,r.fonts.medium,{backgroundColor:a.whiteTranslucent40,top:0,right:0,bottom:0,left:0,position:"absolute",selectors:(t={},t[z_]={border:"1px solid WindowText",opacity:0},t)},o&&{visibility:"hidden"},i&&[l.rootDark,{backgroundColor:a.blackTranslucent40}],n]}},void 0,{scope:"Overlay"}),RE=function(){function e(){this._size=0}return e.prototype.updateOptions=function(e){for(var t=[],n=[],r=0,o=0;o<e.length;o++){var i=e[o],a=i.itemType,l=i.hidden;a===qk.Divider||a===qk.Header?(t.push(o),n.push(o)):l?n.push(o):r++}this._size=r,this._displayOnlyOptionsCache=t,this._notSelectableOptionsCache=n,this._cachedOptions=dm([],e,!0)},Object.defineProperty(e.prototype,"optionSetSize",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cachedOptions",{get:function(){return this._cachedOptions},enumerable:!1,configurable:!0}),e.prototype.positionInSet=function(e){if(void 0!==e){for(var t=0;e>this._notSelectableOptionsCache[t];)t++;if(this._displayOnlyOptionsCache[t]===e)throw new Error("Unexpected: Option at index ".concat(e," is not a selectable element."));if(this._notSelectableOptionsCache[t]!==e)return e-t+1}},e}();!function(e){e[e.smallFluid=0]="smallFluid",e[e.smallFixedFar=1]="smallFixedFar",e[e.smallFixedNear=2]="smallFixedNear",e[e.medium=3]="medium",e[e.large=4]="large",e[e.largeFixed=5]="largeFixed",e[e.extraLarge=6]="extraLarge",e[e.custom=7]="custom",e[e.customNear=8]="customNear"}(CE||(CE={}));var DE,ME=kv();!function(e){e[e.closed=0]="closed",e[e.animatingOpen=1]="animatingOpen",e[e.open=2]="open",e[e.animatingClosed=3]="animatingClosed"}(DE||(DE={}));var OE,AE,LE,NE,BE,zE=function(e){function t(t){var n=e.call(this,t)||this;n._panel=z.createRef(),n._animationCallback=null,n._hasCustomNavigation=!(!n.props.onRenderNavigation&&!n.props.onRenderNavigationContent),n.dismiss=function(e){n.props.onDismiss&&n.isActive&&n.props.onDismiss(e),(!e||e&&!e.defaultPrevented)&&n.close()},n._allowScrollOnPanel=function(e){var t,r,o;n._resizeObserver=n._createResizeObserver(function(t){t.length>0&&t[0].target===e&&n._updateFooterPosition()}),e?(null===(t=n._resizeObserver)||void 0===t||t.observe(e),n._allowTouchBodyScroll?(r=e,o=n._events,r&&o.on(r,"touchmove",function(e){e.stopPropagation()},{passive:!1})):function(e,t){var n=cg(e);if(e&&n){var r=0,o=null,i=n.getComputedStyle(e);t.on(e,"touchstart",function(e){1===e.targetTouches.length&&(r=e.targetTouches[0].clientY)},{passive:!1}),t.on(e,"touchmove",function(e){if(1===e.targetTouches.length&&(e.stopPropagation(),o)){var t=e.targetTouches[0].clientY-r,a=Ug(e.target);a&&o!==a&&(o=a,i=n.getComputedStyle(o));var l=o.scrollTop,s="column-reverse"===(null==i?void 0:i.flexDirection);0===l&&(s?t<0:t>0)&&e.preventDefault(),o.scrollHeight-Math.abs(Math.ceil(l))<=o.clientHeight&&(s?t>0:t<0)&&e.preventDefault()}},{passive:!1}),o=e}}(e,n._events)):n._events.off(n._scrollableContent),n._scrollableContent=e},n._onRenderNavigation=function(e){if(!n.props.onRenderNavigationContent&&!n.props.onRenderNavigation&&!n.props.hasCloseButton)return null;var t=n.props.onRenderNavigationContent,r=void 0===t?n._onRenderNavigationContent:t;return z.createElement("div",{className:n._classNames.navigation},r(e,n._onRenderNavigationContent))},n._onRenderNavigationContent=function(e){var t,r=e.closeButtonAriaLabel,o=e.hasCloseButton,i=e.onRenderHeader,a=void 0===i?n._onRenderHeader:i;if(o){var l=null===(t=n._classNames.subComponentStyles)||void 0===t?void 0:t.closeButton();return z.createElement(z.Fragment,null,!n._hasCustomNavigation&&a(n.props,n._onRenderHeader,n._headerTextId),z.createElement(ak,{styles:l,className:n._classNames.closeButton,onClick:n._onPanelClick,ariaLabel:r,title:r,"data-is-visible":!0,iconProps:{iconName:"Cancel"}}))}return null},n._onRenderHeader=function(e,t,r){var o=e.headerText,i=e.headerTextProps,a=void 0===i?{}:i;return o?z.createElement("div",{className:n._classNames.header},z.createElement("div",sm({id:r,role:"heading","aria-level":1},a,{className:Hv(n._classNames.headerText,a.className)}),o)):null},n._onRenderBody=function(e){return z.createElement("div",{className:n._classNames.content},e.children)},n._onRenderFooter=function(e){var t=n.props.onRenderFooterContent,r=void 0===t?null:t;return r?z.createElement("div",{className:n._classNames.footer},z.createElement("div",{className:n._classNames.footerInner},r())):null},n._animateTo=function(e){e===DE.open&&n.props.onOpen&&n.props.onOpen(),n._animationCallback=n._async.setTimeout(function(){n.setState({visibility:e}),n._onTransitionComplete(e)},200)},n._clearExistingAnimationTimer=function(){null!==n._animationCallback&&n._async.clearTimeout(n._animationCallback)},n._onPanelClick=function(e){n.dismiss(e)},n._onTransitionComplete=function(e){n._updateFooterPosition(),e===DE.open&&n.props.onOpened&&n.props.onOpened(),e===DE.closed&&n.props.onDismissed&&n.props.onDismissed()};var r=n.props.allowTouchBodyScroll,o=void 0!==r&&r;return n._allowTouchBodyScroll=o,Ry(n),n.state={isFooterSticky:!1,visibility:DE.closed,id:gy("Panel")},n}return lm(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.isOpen?null:!e.isOpen||t.visibility!==DE.closed&&t.visibility!==DE.animatingClosed?e.isOpen||t.visibility!==DE.open&&t.visibility!==DE.animatingOpen?null:{visibility:DE.animatingClosed}:{visibility:DE.animatingOpen}},t.prototype.componentDidMount=function(){this._async=new dg(this),this._events=new Bg(this);var e=vw(this.context),t=gw(this.context);this._events.on(e,"resize",this._updateFooterPosition),this._shouldListenForOuterClick(this.props)&&this._events.on(null==t?void 0:t.body,"mousedown",this._dismissOnOuterClick,!0),this.props.isOpen&&this.setState({visibility:DE.animatingOpen})},t.prototype.componentDidUpdate=function(e,t){var n=this._shouldListenForOuterClick(this.props),r=this._shouldListenForOuterClick(e);this.state.visibility!==t.visibility&&(this._clearExistingAnimationTimer(),this.state.visibility===DE.animatingOpen?this._animateTo(DE.open):this.state.visibility===DE.animatingClosed&&this._animateTo(DE.closed));var o=gw(this.context);n&&!r?this._events.on(null==o?void 0:o.body,"mousedown",this._dismissOnOuterClick,!0):!n&&r&&this._events.off(null==o?void 0:o.body,"mousedown",this._dismissOnOuterClick,!0)},t.prototype.componentWillUnmount=function(){var e;this._async.dispose(),this._events.dispose(),null===(e=this._resizeObserver)||void 0===e||e.disconnect()},t.prototype.render=function(){var e=this.props,t=e.className,n=void 0===t?"":t,r=e.elementToFocusOnDismiss,o=e.firstFocusableSelector,i=e.focusTrapZoneProps,a=e.forceFocusInsideTrap,l=e.hasCloseButton,s=e.headerText,u=e.headerClassName,c=void 0===u?"":u,d=e.ignoreExternalFocusing,f=e.isBlocking,p=e.isFooterAtBottom,h=e.isLightDismiss,m=e.isHiddenOnDismiss,g=e.layerProps,v=e.overlayProps,y=e.popupProps,b=e.type,_=e.styles,C=e.theme,w=e.customWidth,S=e.onLightDismissClick,x=void 0===S?this._onPanelClick:S,k=e.onRenderNavigation,E=void 0===k?this._onRenderNavigation:k,F=e.onRenderHeader,I=void 0===F?this._onRenderHeader:F,T=e.onRenderBody,P=void 0===T?this._onRenderBody:T,R=e.onRenderFooter,D=void 0===R?this._onRenderFooter:R,M=this.state,O=M.isFooterSticky,A=M.visibility,L=M.id,N=b===CE.smallFixedNear||b===CE.customNear,B=Cv(C)?N:!N,H=b===CE.custom||b===CE.customNear?{width:w}:{},V=Py(this.props,Ty),W=this.isActive,U=A===DE.animatingClosed||A===DE.animatingOpen;if(this._headerTextId=s&&L+"-headerText",!W&&!U&&!m)return null;this._classNames=ME(_,{theme:C,className:n,focusTrapZoneClassName:i?i.className:void 0,hasCloseButton:l,headerClassName:c,isAnimating:U,isFooterSticky:O,isFooterAtBottom:p,isOnRightSide:B,isOpen:W,isHiddenOnDismiss:m,type:b,hasCustomNavigation:this._hasCustomNavigation});var j,K=this._classNames,q=this._allowTouchBodyScroll;return f&&W&&(j=z.createElement(PE,sm({className:K.overlay,isDarkThemed:!1,onClick:h?x:void 0,allowTouchBodyScroll:q},v))),z.createElement(Yw,sm({},g),z.createElement(pw,sm({role:"dialog","aria-modal":f?"true":void 0,ariaLabelledBy:this._headerTextId?this._headerTextId:void 0,onDismiss:this.dismiss,className:K.hiddenPanel,enableAriaHiddenSiblings:!!W},y),z.createElement("div",sm({"aria-hidden":!W&&U},V,{ref:this._panel,className:K.root}),j,z.createElement(oS,sm({ignoreExternalFocusing:d,forceFocusInsideTrap:!(!f||m&&!W)&&a,firstFocusableSelector:o,isClickableOutsideFocusTrap:!0},i,{className:K.main,style:H,elementToFocusOnDismiss:r}),z.createElement("div",{className:K.contentInner},z.createElement("div",{ref:this._allowScrollOnPanel,className:K.scrollableContent,"data-is-scrollable":!0},z.createElement("div",{className:K.commands,"data-is-visible":!0},E(this.props,this._onRenderNavigation)),(this._hasCustomNavigation||!l)&&I(this.props,this._onRenderHeader,this._headerTextId),P(this.props,this._onRenderBody),D(this.props,this._onRenderFooter)))))))},t.prototype.open=function(){void 0===this.props.isOpen&&(this.isActive||this.setState({visibility:DE.animatingOpen}))},t.prototype.close=function(){void 0===this.props.isOpen&&this.isActive&&this.setState({visibility:DE.animatingClosed})},Object.defineProperty(t.prototype,"isActive",{get:function(){return this.state.visibility===DE.open||this.state.visibility===DE.animatingOpen},enumerable:!1,configurable:!0}),t.prototype._createResizeObserver=function(e){var t,n=gw(this.context),r=null;return(null===(t=null==n?void 0:n.defaultView)||void 0===t?void 0:t.ResizeObserver)&&(r=new n.defaultView.ResizeObserver(e)),r},t.prototype._shouldListenForOuterClick=function(e){return!!e.isBlocking&&!!e.isOpen},t.prototype._updateFooterPosition=function(){var e=this._scrollableContent;if(e){var t=e.clientHeight,n=e.scrollHeight;this.setState({isFooterSticky:t<n})}},t.prototype._dismissOnOuterClick=function(e){var t=this._panel.current;this.isActive&&t&&!e.defaultPrevented&&(hg(t,e.target)||(this.props.onOuterClick?this.props.onOuterClick(e):this.dismiss(e)))},t.defaultProps={isHiddenOnDismiss:!1,isOpen:void 0,isBlocking:!0,hasCloseButton:!0,type:CE.smallFixedFar},t.contextType=iy,t}(z.Component),HE={root:"ms-Panel",main:"ms-Panel-main",commands:"ms-Panel-commands",contentInner:"ms-Panel-contentInner",scrollableContent:"ms-Panel-scrollableContent",navigation:"ms-Panel-navigation",closeButton:"ms-Panel-closeButton ms-PanelAction-close",header:"ms-Panel-header",headerText:"ms-Panel-headerText",content:"ms-Panel-content",footer:"ms-Panel-footer",footerInner:"ms-Panel-footerInner",isOpen:"is-open",hasCloseButton:"ms-Panel--hasCloseButton",smallFluid:"ms-Panel--smFluid",smallFixedNear:"ms-Panel--smLeft",smallFixedFar:"ms-Panel--sm",medium:"ms-Panel--md",large:"ms-Panel--lg",largeFixed:"ms-Panel--fixed",extraLarge:"ms-Panel--xl",custom:"ms-Panel--custom",customNear:"ms-Panel--customLeft"},VE="100%",WE="auto",UE=272,jE=340,KE=592,qE=644,GE=940,$E="auto",QE=0,ZE=48,YE=428,JE=176,XE=((OE={})["@media (min-width: ".concat(H_,"px)")]={width:jE},OE),eF=((AE={})["@media (min-width: ".concat(640,"px)")]={width:KE},AE["@media (min-width: ".concat(1024,"px)")]={width:qE},AE),tF=((LE={})["@media (min-width: ".concat(768,"px)")]={left:ZE,width:WE},LE["@media (min-width: ".concat(V_,"px)")]={left:YE},LE),nF=((NE={})["@media (min-width: ".concat(V_,"px)")]={left:$E,width:GE},NE),rF=((BE={})["@media (min-width: ".concat(V_,"px)")]={left:JE},BE),oF=function(e){var t;switch(e){case CE.smallFixedFar:t=sm({},XE);break;case CE.medium:t=sm(sm({},XE),eF);break;case CE.large:t=sm(sm(sm({},XE),eF),tF);break;case CE.largeFixed:t=sm(sm(sm(sm({},XE),eF),tF),nF);break;case CE.extraLarge:t=sm(sm(sm(sm({},XE),eF),tF),rF)}return t},iF={paddingLeft:"24px",paddingRight:"24px"},aF=fb(zE,function(e){var t,n,r,o,i=e.className,a=e.focusTrapZoneClassName,l=e.hasCloseButton,s=e.headerClassName,u=e.isAnimating,c=e.isFooterSticky,d=e.isFooterAtBottom,f=e.isOnRightSide,p=e.isOpen,h=e.isHiddenOnDismiss,m=e.hasCustomNavigation,g=e.theme,v=e.type,y=void 0===v?CE.smallFixedFar:v,b=g.effects,_=g.fonts,C=g.semanticColors,w=$_(HE,g),S=y===CE.custom||y===CE.customNear;return{root:[w.root,g.fonts.medium,p&&w.isOpen,l&&w.hasCloseButton,{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0},S&&f&&w.custom,S&&!f&&w.customNear,i],overlay:[{pointerEvents:"auto",cursor:"pointer"},p&&u&&uC.fadeIn100,!p&&u&&uC.fadeOut100],hiddenPanel:[!p&&!u&&h&&{visibility:"hidden"}],main:[w.main,{backgroundColor:C.bodyBackground,boxShadow:b.elevation64,pointerEvents:"auto",position:"absolute",display:"flex",flexDirection:"column",overflowX:"hidden",overflowY:"auto",WebkitOverflowScrolling:"touch",bottom:0,top:0,left:$E,right:QE,width:VE,selectors:sm((t={},t[z_]={borderLeft:"3px solid ".concat(C.variantBorder),borderRight:"3px solid ".concat(C.variantBorder)},t),oF(y))},y===CE.smallFluid&&{left:QE},y===CE.smallFixedNear&&{left:QE,right:$E,width:UE},y===CE.customNear&&{right:"auto",left:0},S&&{maxWidth:"100vw"},p&&u&&!f&&uC.slideRightIn40,p&&u&&f&&uC.slideLeftIn40,!p&&u&&!f&&uC.slideLeftOut40,!p&&u&&f&&uC.slideRightOut40,a],commands:[w.commands,{backgroundColor:C.bodyBackground,paddingTop:18,selectors:(n={},n["@media (min-height: ".concat(H_,"px)")]={position:"sticky",top:0,zIndex:1},n)},m&&{paddingTop:"inherit"}],navigation:[w.navigation,{display:"flex",justifyContent:"flex-end"},m&&{height:"44px"}],contentInner:[w.contentInner,{display:"flex",flexDirection:"column",flexGrow:1,overflowY:"hidden"}],header:[w.header,iF,{alignSelf:"flex-start"},l&&!m&&{flexGrow:1},m&&{flexShrink:0}],headerText:[w.headerText,_.xLarge,{color:C.bodyText,lineHeight:"27px",overflowWrap:"break-word",wordWrap:"break-word",wordBreak:"break-word",hyphens:"auto"},s],scrollableContent:[w.scrollableContent,{overflowY:"auto"},d&&{flexGrow:1,display:"inherit",flexDirection:"inherit"}],content:[w.content,iF,{paddingBottom:20},d&&{selectors:(r={},r["@media (min-height: ".concat(H_,"px)")]={flexGrow:1},r)}],footer:[w.footer,{flexShrink:0,borderTop:"1px solid transparent",transition:"opacity ".concat(C_," ").concat(__),selectors:(o={},o["@media (min-height: ".concat(H_,"px)")]={position:"sticky",bottom:0},o)},c&&{backgroundColor:C.bodyBackground,borderTopColor:C.variantBorder}],footerInner:[w.footerInner,iF,{paddingBottom:16,paddingTop:16}],subComponentStyles:{closeButton:{root:[w.closeButton,{marginRight:14,color:g.palette.neutralSecondary,fontSize:Mb.large},m&&{marginRight:0,height:"auto",width:"44px"}],rootHovered:{color:g.palette.neutralPrimary}}}}},void 0,{scope:"Panel"}),lF=kv(),sF={options:[]};var uF=z.forwardRef(function(e,t){var n=hb(sF,e),r=z.useRef(null),o=lw(t,r),i=xx(r,n.responsiveMode),a=function(e){var t,n=e.defaultSelectedKeys,r=e.selectedKeys,o=e.defaultSelectedKey,i=e.selectedKey,a=e.options,l=e.multiSelect,s=uw(a),u=z.useState([]),c=u[0],d=u[1],f=a!==s,p=uw(t=l?f&&void 0!==n?n:r:f&&void 0!==o?o:i);return z.useEffect(function(){var e=function(){return a.map(function(e,t){return e.selected?t:-1}).filter(function(e){return-1!==e})},n=function(e){return vv(a,function(t){return null!=e?t.key===e:!!t.selected||!!t.isSelected})};void 0===t&&s||t===p&&!f||d(function(){if(void 0===t)return l?e():-1!==(a=n(null))?[a]:[];if(!Array.isArray(t))return-1!==(a=n(t))?[a]:[];for(var r=[],o=0,i=t;o<i.length;o++){var a,s=i[o];-1!==(a=n(s))&&r.push(a)}return r}())},[f,l,s,p,a,t]),[c,d]}(n),l=a[0],s=a[1];return z.createElement(mF,sm({},n,{responsiveMode:i,hoisted:{rootRef:o,selectedIndices:l,setSelectedIndices:s}}))});uF.displayName="DropdownBase";var cF,dF,fF,pF,hF,mF=function(e){function t(t){var n,r,o=e.call(this,t)||this;o._host=z.createRef(),o._focusZone=z.createRef(),o._dropDown=z.createRef(),o._scrollIdleDelay=250,o._sizePosCache=new RE,o._requestAnimationFrame=(n=o,function(e){r||(r=new Set,fy(n,{componentWillUnmount:function(){r.forEach(function(e){return cancelAnimationFrame(e)})}}));var t=requestAnimationFrame(function(){r.delete(t),e()});r.add(t)}),o.dismissMenu=function(){o.state.isOpen&&o.setState({isOpen:!1})},o._onChange=function(e,t,n,r,i){var a=o.props,l=a.onChange,s=a.onChanged;if(l||s){var u=i?sm(sm({},t[n]),{selected:!r}):t[n];l&&l(sm(sm({},e),{target:o._dropDown.current}),u,n),s&&s(u,n)}},o._getPlaceholder=function(){return o.props.placeholder||o.props.placeHolder},o._getTitle=function(e,t){var n=o.props.multiSelectDelimiter,r=void 0===n?", ":n;return e.map(function(e){return e.text}).join(r)},o._onRenderTitle=function(e){return z.createElement(z.Fragment,null,o._getTitle(e))},o._onRenderPlaceholder=function(e){return o._getPlaceholder()?z.createElement(z.Fragment,null,o._getPlaceholder()):null},o._onRenderContainer=function(e){var t=e.calloutProps,n=e.panelProps,r=o.props,i=r.responsiveMode,a=r.dropdownWidth,l=i<=vx.medium,s={firstFocusableTarget:"#".concat(o._listId,"1")},u=o._classNames.subComponentStyles?o._classNames.subComponentStyles.panel:void 0,c=void 0,d=void 0;return"auto"===a?d=o._dropDown.current?o._dropDown.current.clientWidth:0:c=a||(o._dropDown.current?o._dropDown.current.clientWidth:0),l?z.createElement(aF,sm({closeButtonAriaLabel:"Close",focusTrapZoneProps:s,hasCloseButton:!0,isOpen:!0,isLightDismiss:!0,onDismiss:o._onDismiss,styles:u},n),o._renderFocusableList(e)):z.createElement(Jw,sm({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHintFixed:!1,directionalHint:vC,calloutWidth:c,calloutMinWidth:d},t,{className:o._classNames.callout,target:o._dropDown.current,onDismiss:o._onDismiss,onScroll:o._onScroll,onPositioned:o._onPositioned}),o._renderFocusableList(e))},o._onRenderCaretDown=function(e){return z.createElement(gS,{className:o._classNames.caretDown,iconName:"ChevronDown","aria-hidden":!0})},o._onRenderList=function(e){var t=e.onRenderItem,n=void 0===t?o._onRenderItem:t,r={items:[]},i=[],a=function(){var e=r.id?[z.createElement("div",{role:"group",key:r.id,"aria-labelledby":r.id},r.items)]:r.items;i=dm(dm([],i,!0),e,!0),r={items:[]}};return e.options.forEach(function(e,t){!function(e,t){switch(e.itemType){case qk.Header:r.items.length>0&&a();var i=o._id+e.key;r.items.push(n(sm(sm({id:i},e),{index:t}),o._onRenderItem)),r.id=i;break;case qk.Divider:t>0&&r.items.push(n(sm(sm({},e),{index:t}),o._onRenderItem)),r.items.length>0&&a();break;default:r.items.push(n(sm(sm({},e),{index:t}),o._onRenderItem))}}(e,t)}),r.items.length>0&&a(),z.createElement(z.Fragment,null,i)},o._onRenderItem=function(e){switch(e.itemType){case qk.Divider:return o._renderSeparator(e);case qk.Header:return o._renderHeader(e);default:return o._renderOption(e)}},o._renderOption=function(e){var t,n=o.props,r=n.onRenderOption,i=void 0===r?o._onRenderOption:r,a=n.hoisted.selectedIndices,l=void 0===a?[]:a,s=!(void 0===e.index||!l)&&l.indexOf(e.index)>-1,u=e.hidden?o._classNames.dropdownItemHidden:s&&!0===e.disabled?o._classNames.dropdownItemSelectedAndDisabled:s?o._classNames.dropdownItemSelected:!0===e.disabled?o._classNames.dropdownItemDisabled:o._classNames.dropdownItem,c=e.title,d=o._listId+e.index,f=null!==(t=e.id)&&void 0!==t?t:d+"-label",p=o._classNames.subComponentStyles?o._classNames.subComponentStyles.multiSelectItem:void 0;return o.props.multiSelect?z.createElement(mk,{id:d,key:e.key,disabled:e.disabled,onChange:o._onItemClick(e),inputProps:sm({"aria-selected":s,onMouseEnter:o._onItemMouseEnter.bind(o,e),onMouseLeave:o._onMouseItemLeave.bind(o,e),onMouseMove:o._onItemMouseMove.bind(o,e),role:"option"},{"data-index":e.index,"data-is-focusable":!(e.disabled||e.hidden)}),label:e.text,title:c,onRenderLabel:o._onRenderItemLabel.bind(o,sm(sm({},e),{id:f})),className:Hv(u,"is-multi-select"),checked:s,styles:p,ariaPositionInSet:e.hidden?void 0:o._sizePosCache.positionInSet(e.index),ariaSetSize:e.hidden?void 0:o._sizePosCache.optionSetSize,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabel?void 0:f}):z.createElement(sk,{id:d,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:u,onClick:o._onItemClick(e),onMouseEnter:o._onItemMouseEnter.bind(o,e),onMouseLeave:o._onMouseItemLeave.bind(o,e),onMouseMove:o._onItemMouseMove.bind(o,e),role:"option","aria-selected":s?"true":"false",ariaLabel:e.ariaLabel,title:c,"aria-posinset":o._sizePosCache.positionInSet(e.index),"aria-setsize":o._sizePosCache.optionSetSize},i(e,o._onRenderOption))},o._onRenderOption=function(e){return z.createElement("span",{className:o._classNames.dropdownOptionText},e.text)},o._onRenderMultiselectOption=function(e){return z.createElement("span",{id:e.id,"aria-hidden":"true",className:o._classNames.dropdownOptionText},e.text)},o._onRenderItemLabel=function(e){var t=o.props.onRenderOption;return(void 0===t?o._onRenderMultiselectOption:t)(e,o._onRenderMultiselectOption)},o._onPositioned=function(e){o._focusZone.current&&o._requestAnimationFrame(function(){var e=o.props.hoisted.selectedIndices;if(o._focusZone.current)if(!o._hasBeenPositioned&&e&&e[0]&&!o.props.options[e[0]].disabled){var t=_g().getElementById("".concat(o._id,"-list").concat(e[0]));t&&o._focusZone.current.focusElement(t),o._hasBeenPositioned=!0}else o._focusZone.current.focus()}),o.state.calloutRenderEdge&&o.state.calloutRenderEdge===e.targetEdge||o.setState({calloutRenderEdge:e.targetEdge})},o._onItemClick=function(e){return function(t){e.disabled||(o.setSelectedIndex(t,e.index),o.props.multiSelect||o.setState({isOpen:!1}))}},o._onScroll=function(){var e=vw(o.context);o._isScrollIdle||void 0===o._scrollIdleTimeoutId?o._isScrollIdle=!1:(e.clearTimeout(o._scrollIdleTimeoutId),o._scrollIdleTimeoutId=void 0),o._scrollIdleTimeoutId=e.setTimeout(function(){o._isScrollIdle=!0},o._scrollIdleDelay)},o._onMouseItemLeave=function(e,t){if(!o._shouldIgnoreMouseEvent()&&o._host.current)if(o._host.current.setActive)try{o._host.current.setActive()}catch(e){}else o._host.current.focus()},o._onDismiss=function(){o.setState({isOpen:!1})},o._onDropdownBlur=function(e){o._isDisabled()||o.state.isOpen||(o.setState({hasFocus:!1}),o.props.onBlur&&o.props.onBlur(e))},o._onDropdownKeyDown=function(e){if(!o._isDisabled()&&(o._lastKeyDownWasAltOrMeta=o._isAltOrMeta(e),!o.props.onKeyDown||(o.props.onKeyDown(e),!e.defaultPrevented))){var t,n=o.props.hoisted.selectedIndices.length?o.props.hoisted.selectedIndices[0]:-1,r=e.altKey||e.metaKey,i=o.state.isOpen;switch(e.which){case nv:o.setState({isOpen:!i});break;case ov:if(!i)return;o.setState({isOpen:!1});break;case dv:if(r){if(i){o.setState({isOpen:!1});break}return}o.props.multiSelect?o.setState({isOpen:!0}):o._isDisabled()||(t=o._moveIndex(e,-1,n-1,n));break;case pv:r&&(e.stopPropagation(),e.preventDefault()),r&&!i||o.props.multiSelect?o.setState({isOpen:!0}):o._isDisabled()||(t=o._moveIndex(e,1,n+1,n));break;case uv:o.props.multiSelect||(t=o._moveIndex(e,1,0,n));break;case sv:o.props.multiSelect||(t=o._moveIndex(e,-1,o.props.options.length-1,n));break;case iv:break;default:return}t!==n&&(e.stopPropagation(),e.preventDefault())}},o._onDropdownKeyUp=function(e){if(!o._isDisabled()){var t=o._shouldHandleKeyUp(e),n=o.state.isOpen;o.props.onKeyUp&&(o.props.onKeyUp(e),e.defaultPrevented)||(e.which===iv?(o.setState({isOpen:!n}),e.stopPropagation(),e.preventDefault()):t&&n&&o.setState({isOpen:!1}))}},o._onZoneKeyDown=function(e){var t,n,r;o._lastKeyDownWasAltOrMeta=o._isAltOrMeta(e);var i=e.altKey||e.metaKey;switch(e.which){case dv:i?o.setState({isOpen:!1}):o._host.current&&(r=wg(o._host.current,o._host.current.lastChild,!0));break;case uv:case sv:case av:case lv:break;case pv:!i&&o._host.current&&(r=Cg(o._host.current,o._host.current.firstChild,!0));break;case ov:o.setState({isOpen:!1});break;case tv:o.setState({isOpen:!1});var a=_g();a&&(e.shiftKey?null===(t=Sg(a.body,o._dropDown.current,!1,!1,!0,!0))||void 0===t||t.focus():null===(n=xg(a.body,o._dropDown.current,!1,!1,!0,!0))||void 0===n||n.focus());break;default:return}r&&r.focus(),e.stopPropagation(),e.preventDefault()},o._onZoneKeyUp=function(e){o._shouldHandleKeyUp(e)&&o.state.isOpen&&(o.setState({isOpen:!1}),e.preventDefault())},o._onDropdownClick=function(e){if(!o.props.onClick||(o.props.onClick(e),!e.defaultPrevented)){var t=o.state.isOpen;o._isDisabled()||o._shouldOpenOnFocus()||o.setState({isOpen:!t}),o._isFocusedByClick=!1}},o._onDropdownMouseDown=function(){o._isFocusedByClick=!0},o._onFocus=function(e){if(!o._isDisabled()){o.props.onFocus&&o.props.onFocus(e);var t={hasFocus:!0};o._shouldOpenOnFocus()&&(t.isOpen=!0),o.setState(t)}},o._isDisabled=function(){var e=o.props.disabled,t=o.props.isDisabled;return void 0===e&&(e=t),e},o._onRenderLabel=function(e){var t=e.label,n=e.required,r=e.disabled,i=o._classNames.subComponentStyles?o._classNames.subComponentStyles.label:void 0;return t?z.createElement(yk,{className:o._classNames.label,id:o._labelId,required:n,styles:i,disabled:r},t):null},Ry(o),t.multiSelect,t.selectedKey,t.selectedKeys,t.defaultSelectedKey,t.defaultSelectedKeys;var i=t.options;return o._id=t.id||gy("Dropdown"),o._labelId=o._id+"-label",o._listId=o._id+"-list",o._optionId=o._id+"-option",o._isScrollIdle=!0,o._hasBeenPositioned=!1,o._sizePosCache.updateOptions(i),o.state={isOpen:!1,hasFocus:!1,calloutRenderEdge:void 0},o}return lm(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props;return oE(e.options,e.hoisted.selectedIndices)},enumerable:!1,configurable:!0}),t.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},t.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this._hasBeenPositioned=!1,this.props.onDismiss&&this.props.onDismiss())},t.prototype.render=function(){var e=this._id,t=this.props,n=t.className,r=t.label,o=t.options,i=t.ariaLabel,a=t.required,l=t.errorMessage,s=t.styles,u=t.theme,c=t.panelProps,d=t.calloutProps,f=t.onRenderTitle,p=void 0===f?this._getTitle:f,h=t.onRenderContainer,m=void 0===h?this._onRenderContainer:h,g=t.onRenderCaretDown,v=void 0===g?this._onRenderCaretDown:g,y=t.onRenderLabel,b=void 0===y?this._onRenderLabel:y,_=t.onRenderItem,C=void 0===_?this._onRenderItem:_,w=t.hoisted.selectedIndices,S=t.responsiveMode,x=this.state,k=x.isOpen,E=x.calloutRenderEdge,F=x.hasFocus,I=t.onRenderPlaceholder||t.onRenderPlaceHolder||this._getPlaceholder;o!==this._sizePosCache.cachedOptions&&this._sizePosCache.updateOptions(o);var T=oE(o,w),P=Py(t,Ty),R=this._isDisabled(),D=S<=vx.medium,M=e+"-errorMessage";this._classNames=lF(s,{theme:u,className:n,hasError:!!(l&&l.length>0),hasLabel:!!r,isOpen:k,required:a,disabled:R,isRenderingPlaceholder:!T.length,panelClassName:c?c.className:void 0,calloutClassName:d?d.className:void 0,calloutRenderEdge:E});var O=!!l&&l.length>0;return z.createElement("div",{className:this._classNames.root,ref:this.props.hoisted.rootRef,"aria-owns":k&&!D?this._listId:void 0},b(this.props,this._onRenderLabel),z.createElement("div",sm({"data-is-focusable":!R,"data-ktp-target":!0,ref:this._dropDown,id:e,tabIndex:R?-1:0,role:"combobox","aria-haspopup":"listbox","aria-expanded":k?"true":"false","aria-label":i,"aria-labelledby":r&&!i?gv(this._labelId,this._optionId):void 0,"aria-describedby":O?this._id+"-errorMessage":void 0,"aria-required":a,"aria-disabled":R,"aria-invalid":O,"aria-controls":k&&!D?this._listId:void 0},P,{className:this._classNames.dropdown,onBlur:this._onDropdownBlur,onKeyDown:this._onDropdownKeyDown,onKeyUp:this._onDropdownKeyUp,onClick:this._onDropdownClick,onMouseDown:this._onDropdownMouseDown,onFocus:this._onFocus}),z.createElement("span",{id:this._optionId,className:this._classNames.title,"aria-live":F?"polite":void 0,"aria-atomic":!!F||void 0},T.length?p(T,this._onRenderTitle):I(t,this._onRenderPlaceholder)),z.createElement("span",{className:this._classNames.caretDownWrapper},v(t,this._onRenderCaretDown))),k&&m(sm(sm({},t),{onDismiss:this._onDismiss,onRenderItem:C}),this._onRenderContainer),O&&z.createElement("div",{role:"alert",id:M,className:this._classNames.errorMessage},l))},t.prototype.focus=function(e){this._dropDown.current&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},t.prototype.setSelectedIndex=function(e,t){var n=this.props,r=n.options,o=n.selectedKey,i=n.selectedKeys,a=n.multiSelect,l=n.notifyOnReselect,s=n.hoisted.selectedIndices,u=void 0===s?[]:s,c=!!u&&u.indexOf(t)>-1,d=[];if(t=Math.max(0,Math.min(r.length-1,t)),void 0===o&&void 0===i){if(a||l||t!==u[0]){if(a)if(d=u?this._copyArray(u):[],c){var f=d.indexOf(t);f>-1&&d.splice(f,1)}else d.push(t);else d=[t];e.persist(),this.props.hoisted.setSelectedIndices(d),this._onChange(e,r,t,c,a)}}else this._onChange(e,r,t,c,a)},t.prototype._copyArray=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n];t.push(o)}return t},t.prototype._moveIndex=function(e,t,n,r){var o=this.props.options;if(r===n||0===o.length)return r;n>=o.length?n=0:n<0&&(n=o.length-1);for(var i=0;o[n].itemType===qk.Header||o[n].itemType===qk.Divider||o[n].disabled;){if(i>=o.length)return r;n+t<0?n=o.length:n+t>=o.length&&(n=-1),n+=t,i++}return this.setSelectedIndex(e,n),n},t.prototype._renderFocusableList=function(e){var t=e.onRenderList,n=void 0===t?this._onRenderList:t,r=e.label,o=e.ariaLabel,i=e.multiSelect;return z.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},z.createElement(BS,{ref:this._focusZone,direction:CS.vertical,id:this._listId,className:this._classNames.dropdownItems,role:"listbox","aria-label":o,"aria-labelledby":r&&!o?this._labelId:void 0,"aria-multiselectable":i},n(e,this._onRenderList)))},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key,r=e.hidden?this._classNames.dropdownDividerHidden:this._classNames.dropdownDivider;return t>0?z.createElement("div",{role:"presentation",key:n,className:r}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOption:t,r=e.key,o=e.id,i=e.hidden?this._classNames.dropdownItemHeaderHidden:this._classNames.dropdownItemHeader;return z.createElement("div",{id:o,key:r,className:i},n(e,this._onRenderOption))},t.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},t.prototype._onItemMouseMove=function(e,t){var n=gw(this.context),r=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&n.activeElement!==r&&r.focus()},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._isAltOrMeta=function(e){return e.which===rv||"Meta"===e.key},t.prototype._shouldHandleKeyUp=function(e){var t=this._lastKeyDownWasAltOrMeta&&this._isAltOrMeta(e);return this._lastKeyDownWasAltOrMeta=!1,!!t&&!(sb()||ib())},t.prototype._shouldOpenOnFocus=function(){var e=this.state.hasFocus,t=this.props.openOnKeyboardFocus;return!this._isFocusedByClick&&!0===t&&!e},t.defaultProps={options:[]},t.contextType=iy,t}(z.Component),gF={root:"ms-Dropdown-container",label:"ms-Dropdown-label",dropdown:"ms-Dropdown",title:"ms-Dropdown-title",caretDownWrapper:"ms-Dropdown-caretDownWrapper",caretDown:"ms-Dropdown-caretDown",callout:"ms-Dropdown-callout",panel:"ms-Dropdown-panel",dropdownItems:"ms-Dropdown-items",dropdownItem:"ms-Dropdown-item",dropdownDivider:"ms-Dropdown-divider",dropdownOptionText:"ms-Dropdown-optionText",dropdownItemHeader:"ms-Dropdown-header",titleIsPlaceHolder:"ms-Dropdown-titleIsPlaceHolder",titleHasError:"ms-Dropdown-title--hasError"},vF=((cF={})["".concat(z_,", ").concat("@media screen and (-ms-high-contrast: black-on-white), screen and (forced-colors: active) and (prefers-color-scheme: light)".replace("@media ",""))]=sm({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),cF),yF={selectors:sm((dF={},dF[z_]=(fF={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},fF[".".concat(By," &:focus:after")]={borderColor:"HighlightText"},fF),dF[".ms-Checkbox-checkbox"]=(pF={},pF[z_]={borderColor:"HighlightText"},pF),dF),vF)},bF={selectors:(hF={},hF[z_]={borderColor:"Highlight"},hF)},_F=W_(0,H_),CF=fb(uF,function(e){var t,n,r,o,i,a,l,s,u,c,d,f,p=e.theme,h=e.hasError,m=e.hasLabel,g=e.className,v=e.isOpen,y=e.disabled,b=e.required,_=e.isRenderingPlaceholder,C=e.panelClassName,w=e.calloutClassName,S=e.calloutRenderEdge;if(!p)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var x=$_(gF,p),k=p.palette,E=p.semanticColors,F=p.effects,I=p.fonts,T={color:E.menuItemTextHovered},P={color:E.menuItemText},R={borderColor:E.errorText},D=[x.dropdownItem,{backgroundColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:"flex",alignItems:"center",padding:"0 8px",width:"100%",minHeight:36,lineHeight:20,height:0,position:"relative",border:"1px solid transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",".ms-Button-flexContainer":{width:"100%"}}],M=[x.dropdownItemHeader,sm(sm({},I.medium),{fontWeight:Db.semibold,color:E.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(t={},t[z_]=sm({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)})],O=E.menuItemBackgroundPressed,A=function(e){var t,n;return void 0===e&&(e=!1),{selectors:(t={"&:hover":[{color:E.menuItemTextHovered,backgroundColor:e?O:E.menuItemBackgroundHovered},yF],"&.is-multi-select:hover":[{backgroundColor:e?O:"transparent"},yF],"&:active:hover":[{color:E.menuItemTextHovered,backgroundColor:e?E.menuItemBackgroundHovered:E.menuItemBackgroundPressed},yF]},t[".".concat(By," &:focus:after, :host(.").concat(By,") &:focus:after")]=(n={left:0,top:0,bottom:0,right:0},n[z_]={inset:"2px"},n),t[z_]={border:"none"},t)}},L=dm(dm([],D,!0),[{backgroundColor:O,color:E.menuItemTextHovered},A(!0),yF],!1),N=dm(dm([],D,!0),[{color:E.disabledText,cursor:"default",selectors:(n={},n[z_]={color:"GrayText",border:"none"},n)}],!1),B=S===cC.bottom?"".concat(F.roundedCorner2," ").concat(F.roundedCorner2," 0 0"):"0 0 ".concat(F.roundedCorner2," ").concat(F.roundedCorner2),z=S===cC.bottom?"0 0 ".concat(F.roundedCorner2," ").concat(F.roundedCorner2):"".concat(F.roundedCorner2," ").concat(F.roundedCorner2," 0 0");return{root:[x.root,g],label:x.label,dropdown:[x.dropdown,lC,I.medium,{color:E.menuItemText,borderColor:E.focusBorder,position:"relative",outline:0,userSelect:"none",selectors:(r={},r["&:hover ."+x.title]=[!y&&T,{borderColor:v?k.neutralSecondary:k.neutralPrimary},bF],r["&:focus ."+x.title]=[!y&&T,{selectors:(o={},o[z_]={color:"Highlight"},o)}],r["&:focus:after"]=[{pointerEvents:"none",content:"''",position:"absolute",boxSizing:"border-box",top:"0px",left:"0px",width:"100%",height:"100%",border:y?"none":"2px solid ".concat(k.themePrimary),borderRadius:"2px",selectors:(i={},i[z_]={color:"Highlight"},i)}],r["&:active ."+x.title]=[!y&&T,{borderColor:k.themePrimary},bF],r["&:hover ."+x.caretDown]=!y&&P,r["&:focus ."+x.caretDown]=[!y&&P,{selectors:(a={},a[z_]={color:"Highlight"},a)}],r["&:active ."+x.caretDown]=!y&&P,r["&:hover ."+x.titleIsPlaceHolder]=!y&&P,r["&:focus ."+x.titleIsPlaceHolder]=!y&&P,r["&:active ."+x.titleIsPlaceHolder]=!y&&P,r["&:hover ."+x.titleHasError]=R,r["&:active ."+x.titleHasError]=R,r)},v&&"is-open",y&&"is-disabled",b&&"is-required",b&&!m&&{selectors:(l={":before":{content:"'*'",color:E.errorText,position:"absolute",top:-5,right:-10}},l[z_]={selectors:{":after":{right:-14}}},l)}],title:[x.title,lC,{backgroundColor:E.inputBackground,borderWidth:1,borderStyle:"solid",borderColor:E.inputBorder,borderRadius:v?B:F.roundedCorner2,cursor:"pointer",display:"block",height:32,lineHeight:30,padding:"0 28px 0 8px",position:"relative",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},_&&[x.titleIsPlaceHolder,{color:E.inputPlaceholderText}],h&&[x.titleHasError,R],y&&{backgroundColor:E.disabledBackground,border:"none",color:E.disabledText,cursor:"default",selectors:(s={},s[z_]=sm({border:"1px solid GrayText",color:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s)}],caretDownWrapper:[x.caretDownWrapper,{height:32,lineHeight:30,paddingTop:1,position:"absolute",right:8,top:0},!y&&{cursor:"pointer"}],caretDown:[x.caretDown,{color:k.neutralSecondary,fontSize:I.small.fontSize,pointerEvents:"none"},y&&{color:E.disabledText,selectors:(u={},u[z_]=sm({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)}],errorMessage:sm(sm({color:E.errorText},p.fonts.small),{paddingTop:5}),callout:[x.callout,{boxShadow:F.elevation8,borderRadius:z,selectors:(c={},c[".ms-Callout-main"]={borderRadius:z},c)},w],dropdownItemsWrapper:{selectors:{"&:focus":{outline:0}}},dropdownItems:[x.dropdownItems,{display:"block"}],dropdownItem:dm(dm([],D,!0),[A()],!1),dropdownItemSelected:L,dropdownItemDisabled:N,dropdownItemSelectedAndDisabled:[L,N,{backgroundColor:"transparent"}],dropdownItemHidden:dm(dm([],D,!0),[{display:"none"}],!1),dropdownDivider:[x.dropdownDivider,{height:1,backgroundColor:E.bodyDivider}],dropdownDividerHidden:[x.dropdownDivider,{display:"none"}],dropdownOptionText:[x.dropdownOptionText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:0,maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",margin:"1px"}],dropdownItemHeader:M,dropdownItemHeaderHidden:dm(dm([],M,!0),[{display:"none"}],!1),subComponentStyles:{label:{root:{display:"inline-block"}},multiSelectItem:{root:{padding:0},label:{alignSelf:"stretch",padding:"0 8px",width:"100%"},input:{selectors:(d={},d[".".concat(By," &:focus + label::before, :host(.").concat(By,") &:focus + label::before")]={outlineOffset:"0px"},d)}},panel:{root:[C],main:{selectors:(f={},f[_F]={width:272},f)},contentInner:{padding:"0 0 20px"}}}}},void 0,{scope:"Dropdown"});function wF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('".concat(e,"fabric-icons-a13498cf.woff') format('woff')")},icons:{GlobalNavButton:"",ChevronDown:"",ChevronUp:"",Edit:"",Add:"",Cancel:"",More:"",Settings:"",Mail:"",Filter:"",Search:"",Share:"",BlockedSite:"",FavoriteStar:"",FavoriteStarFill:"",CheckMark:"",Delete:"",ChevronLeft:"",ChevronRight:"",Calendar:"",Megaphone:"",Undo:"",Flag:"",Page:"",Pinned:"",View:"",Clear:"",Download:"",Upload:"",Folder:"",Sort:"",AlignRight:"",AlignLeft:"",Tag:"",AddFriend:"",Info:"",SortLines:"",List:"",CircleRing:"",Heart:"",HeartFill:"",Tiles:"",Embed:"",Glimmer:"",Ascending:"",Descending:"",SortUp:"",SortDown:"",SyncToPC:"",LargeGrid:"",SkypeCheck:"",SkypeClock:"",SkypeMinus:"",ClearFilter:"",Flow:"",StatusCircleCheckmark:"",MoreVertical:""}},t)}function SF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-0"',src:"url('".concat(e,"fabric-icons-0-467ee27f.woff') format('woff')")},icons:{PageLink:"",CommentSolid:"",ChangeEntitlements:"",Installation:"",WebAppBuilderModule:"",WebAppBuilderFragment:"",WebAppBuilderSlot:"",BullseyeTargetEdit:"",WebAppBuilderFragmentCreate:"",PageData:"",PageHeaderEdit:"",ProductList:"",UnpublishContent:"",DependencyAdd:"",DependencyRemove:"",EntitlementPolicy:"",EntitlementRedemption:"",SchoolDataSyncLogo:"",PinSolid12:"",PinSolidOff12:"",AddLink:"",SharepointAppIcon16:"",DataflowsLink:"",TimePicker:"",UserWarning:"",ComplianceAudit:"",InternetSharing:"",Brightness:"",MapPin:"",Airplane:"",Tablet:"",QuickNote:"",Video:"",People:"",Phone:"",Pin:"",Shop:"",Stop:"",Link:"",AllApps:"",Zoom:"",ZoomOut:"",Microphone:"",Camera:"",Attach:"",Send:"",FavoriteList:"",PageSolid:"",Forward:"",Back:"",Refresh:"",Lock:"",ReportHacked:"",EMI:"",MiniLink:"",Blocked:"",ReadingMode:"",Favicon:"",Remove:"",Checkbox:"",CheckboxComposite:"",CheckboxFill:"",CheckboxIndeterminate:"",CheckboxCompositeReversed:"",BackToWindow:"",FullScreen:"",Print:"",Up:"",Down:"",OEM:"",Save:"",ReturnKey:"",Cloud:"",Flashlight:"",CommandPrompt:"",Sad:"",RealEstate:"",SIPMove:"",EraseTool:"",GripperTool:"",Dialpad:"",PageLeft:"",PageRight:"",MultiSelect:"",KeyboardClassic:"",Play:"",Pause:"",InkingTool:"",Emoji2:"",GripperBarHorizontal:"",System:"",Personalize:"",SearchAndApps:"",Globe:"",EaseOfAccess:"",ContactInfo:"",Unpin:"",Contact:"",Memo:"",IncomingCall:""}},t)}function xF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-1"',src:"url('".concat(e,"fabric-icons-1-4d521695.woff') format('woff')")},icons:{Paste:"",WindowsLogo:"",Error:"",GripperBarVertical:"",Unlock:"",Slideshow:"",Trim:"",AutoEnhanceOn:"",AutoEnhanceOff:"",Color:"",SaveAs:"",Light:"",Filters:"",AspectRatio:"",Contrast:"",Redo:"",Crop:"",PhotoCollection:"",Album:"",Rotate:"",PanoIndicator:"",Translate:"",RedEye:"",ViewOriginal:"",ThumbnailView:"",Package:"",Telemarketer:"",Warning:"",Financial:"",Education:"",ShoppingCart:"",Train:"",Move:"",TouchPointer:"",Merge:"",TurnRight:"",Ferry:"",Highlight:"",PowerButton:"",Tab:"",Admin:"",TVMonitor:"",Speakers:"",Game:"",HorizontalTabKey:"",UnstackSelected:"",StackIndicator:"",Nav2DMapView:"",StreetsideSplitMinimize:"",Car:"",Bus:"",EatDrink:"",SeeDo:"",LocationCircle:"",Home:"",SwitcherStartEnd:"",ParkingLocation:"",IncidentTriangle:"",Touch:"",MapDirections:"",CaretHollow:"",CaretSolid:"",History:"",Location:"",MapLayers:"",SearchNearby:"",Work:"",Recent:"",Hotel:"",Bank:"",LocationDot:"",Dictionary:"",ChromeBack:"",FolderOpen:"",PinnedFill:"",RevToggleKey:"",USB:"",Previous:"",Next:"",Sync:"",Help:"",Emoji:"",MailForward:"",ClosePane:"",OpenPane:"",PreviewLink:"",ZoomIn:"",Bookmarks:"",Document:"",ProtectedDocument:"",OpenInNewWindow:"",MailFill:"",ViewAll:"",Switch:"",Rename:"",Go:"",Remote:"",SelectAll:"",Orientation:"",Import:""}},t)}function kF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-2"',src:"url('".concat(e,"fabric-icons-2-63c99abf.woff') format('woff')")},icons:{Picture:"",ChromeClose:"",ShowResults:"",Message:"",CalendarDay:"",CalendarWeek:"",MailReplyAll:"",Read:"",Cut:"",PaymentCard:"",Copy:"",Important:"",MailReply:"",GotoToday:"",Font:"",FontColor:"",FolderFill:"",Permissions:"",DisableUpdates:"",Unfavorite:"",Italic:"",Underline:"",Bold:"",MoveToFolder:"",Dislike:"",Like:"",AlignCenter:"",OpenFile:"",ClearSelection:"",FontDecrease:"",FontIncrease:"",FontSize:"",CellPhone:"",RepeatOne:"",RepeatAll:"",Calculator:"",Library:"",PostUpdate:"",NewFolder:"",CalendarReply:"",UnsyncFolder:"",SyncFolder:"",BlockContact:"",Accept:"",BulletedList:"",Preview:"",News:"",Chat:"",Group:"",World:"",Comment:"",DockLeft:"",DockRight:"",Repair:"",Accounts:"",Street:"",RadioBullet:"",Stopwatch:"",Clock:"",WorldClock:"",AlarmClock:"",Photo:"",ActionCenter:"",Hospital:"",Timer:"",FullCircleMask:"",LocationFill:"",ChromeMinimize:"",ChromeRestore:"",Annotation:"",Fingerprint:"",Handwriting:"",ChromeFullScreen:"",Completed:"",Label:"",FlickDown:"",FlickUp:"",FlickLeft:"",FlickRight:"",MiniExpand:"",MiniContract:"",Streaming:"",MusicInCollection:"",OneDriveLogo:"",CompassNW:"",Code:"",LightningBolt:"",CalculatorMultiply:"",CalculatorAddition:"",CalculatorSubtract:"",CalculatorPercentage:"",CalculatorEqualTo:"",PrintfaxPrinterFile:"",StorageOptical:"",Communications:"",Headset:"",Health:"",Webcam2:"",FrontCamera:"",ChevronUpSmall:""}},t)}function EF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-3"',src:"url('".concat(e,"fabric-icons-3-089e217a.woff') format('woff')")},icons:{ChevronDownSmall:"",ChevronLeftSmall:"",ChevronRightSmall:"",ChevronUpMed:"",ChevronDownMed:"",ChevronLeftMed:"",ChevronRightMed:"",Devices2:"",PC1:"",PresenceChickletVideo:"",Reply:"",HalfAlpha:"",ConstructionCone:"",DoubleChevronLeftMed:"",Volume0:"",Volume1:"",Volume2:"",Volume3:"",Chart:"",Robot:"",Manufacturing:"",LockSolid:"",FitPage:"",FitWidth:"",BidiLtr:"",BidiRtl:"",RightDoubleQuote:"",Sunny:"",CloudWeather:"",Cloudy:"",PartlyCloudyDay:"",PartlyCloudyNight:"",ClearNight:"",RainShowersDay:"",Rain:"",Thunderstorms:"",RainSnow:"",Snow:"",BlowingSnow:"",Frigid:"",Fog:"",Squalls:"",Duststorm:"",Unknown:"",Precipitation:"",Ribbon:"",AreaChart:"",Assign:"",FlowChart:"",CheckList:"",Diagnostic:"",Generate:"",LineChart:"",Equalizer:"",BarChartHorizontal:"",BarChartVertical:"",Freezing:"",FunnelChart:"",Processing:"",Quantity:"",ReportDocument:"",StackColumnChart:"",SnowShowerDay:"",HailDay:"",WorkFlow:"",HourGlass:"",StoreLogoMed20:"",TimeSheet:"",TriangleSolid:"",UpgradeAnalysis:"",VideoSolid:"",RainShowersNight:"",SnowShowerNight:"",Teamwork:"",HailNight:"",PeopleAdd:"",Glasses:"",DateTime2:"",Shield:"",Header1:"",PageAdd:"",NumberedList:"",PowerBILogo:"",Info2:"",MusicInCollectionFill:"",Asterisk:"",ErrorBadge:"",CircleFill:"",Record2:"",AllAppsMirrored:"",BookmarksMirrored:"",BulletedListMirrored:"",CaretHollowMirrored:"",CaretSolidMirrored:"",ChromeBackMirrored:"",ClearSelectionMirrored:"",ClosePaneMirrored:"",DockLeftMirrored:"",DoubleChevronLeftMedMirrored:"",GoMirrored:""}},t)}function FF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-4"',src:"url('".concat(e,"fabric-icons-4-a656cc0a.woff') format('woff')")},icons:{HelpMirrored:"",ImportMirrored:"",ImportAllMirrored:"",ListMirrored:"",MailForwardMirrored:"",MailReplyMirrored:"",MailReplyAllMirrored:"",MiniContractMirrored:"",MiniExpandMirrored:"",OpenPaneMirrored:"",ParkingLocationMirrored:"",SendMirrored:"",ShowResultsMirrored:"",ThumbnailViewMirrored:"",Media:"",Devices3:"",Focus:"",VideoLightOff:"",Lightbulb:"",StatusTriangle:"",VolumeDisabled:"",Puzzle:"",EmojiNeutral:"",EmojiDisappointed:"",HomeSolid:"",Ringer:"",PDF:"",HeartBroken:"",StoreLogo16:"",MultiSelectMirrored:"",Broom:"",AddToShoppingList:"",Cocktails:"",Wines:"",Articles:"",Cycling:"",DietPlanNotebook:"",Pill:"",ExerciseTracker:"",HandsFree:"",Medical:"",Running:"",Weights:"",Trackers:"",AddNotes:"",AllCurrency:"",BarChart4:"",CirclePlus:"",Coffee:"",Cotton:"",Market:"",Money:"",PieDouble:"",PieSingle:"",RemoveFilter:"",Savings:"",Sell:"",StockDown:"",StockUp:"",Lamp:"",Source:"",MSNVideos:"",Cricket:"",Golf:"",Baseball:"",Soccer:"",MoreSports:"",AutoRacing:"",CollegeHoops:"",CollegeFootball:"",ProFootball:"",ProHockey:"",Rugby:"",SubstitutionsIn:"",Tennis:"",Arrivals:"",Design:"",Website:"",Drop:"",HistoricalWeather:"",SkiResorts:"",Snowflake:"",BusSolid:"",FerrySolid:"",AirplaneSolid:"",TrainSolid:"",Ticket:"",WifiWarning4:"",Devices4:"",AzureLogo:"",BingLogo:"",MSNLogo:"",OutlookLogoInverse:"",OfficeLogo:"",SkypeLogo:"",Door:"",EditMirrored:"",GiftCard:"",DoubleBookmark:"",StatusErrorFull:""}},t)}function IF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-5"',src:"url('".concat(e,"fabric-icons-5-f95ba260.woff') format('woff')")},icons:{Certificate:"",FastForward:"",Rewind:"",Photo2:"",OpenSource:"",Movers:"",CloudDownload:"",Family:"",WindDirection:"",Bug:"",SiteScan:"",BrowserScreenShot:"",F12DevTools:"",CSS:"",JS:"",DeliveryTruck:"",ReminderPerson:"",ReminderGroup:"",ReminderTime:"",TabletMode:"",Umbrella:"",NetworkTower:"",CityNext:"",CityNext2:"",Section:"",OneNoteLogoInverse:"",ToggleFilled:"",ToggleBorder:"",SliderThumb:"",ToggleThumb:"",Documentation:"",Badge:"",Giftbox:"",VisualStudioLogo:"",HomeGroup:"",ExcelLogoInverse:"",WordLogoInverse:"",PowerPointLogoInverse:"",Cafe:"",SpeedHigh:"",Commitments:"",ThisPC:"",MusicNote:"",MicOff:"",PlaybackRate1x:"",EdgeLogo:"",CompletedSolid:"",AlbumRemove:"",MessageFill:"",TabletSelected:"",MobileSelected:"",LaptopSelected:"",TVMonitorSelected:"",DeveloperTools:"",Shapes:"",InsertTextBox:"",LowerBrightness:"",WebComponents:"",OfflineStorage:"",DOM:"",CloudUpload:"",ScrollUpDown:"",DateTime:"",Event:"",Cake:"",Org:"",PartyLeader:"",DRM:"",CloudAdd:"",AppIconDefault:"",Photo2Add:"",Photo2Remove:"",Calories:"",POI:"",AddTo:"",RadioBtnOff:"",RadioBtnOn:"",ExploreContent:"",Product:"",ProgressLoopInner:"",ProgressLoopOuter:"",Blocked2:"",FangBody:"",Toolbox:"",PageHeader:"",ChatInviteFriend:"",Brush:"",Shirt:"",Crown:"",Diamond:"",ScaleUp:"",QRCode:"",Feedback:"",SharepointLogoInverse:"",YammerLogo:"",Hide:"",Uneditable:"",ReturnToSession:"",OpenFolderHorizontal:"",CalendarMirrored:""}},t)}function TF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-6"',src:"url('".concat(e,"fabric-icons-6-ef6fd590.woff') format('woff')")},icons:{SwayLogoInverse:"",OutOfOffice:"",Trophy:"",ReopenPages:"",EmojiTabSymbols:"",AADLogo:"",AccessLogo:"",AdminALogoInverse32:"",AdminCLogoInverse32:"",AdminDLogoInverse32:"",AdminELogoInverse32:"",AdminLLogoInverse32:"",AdminMLogoInverse32:"",AdminOLogoInverse32:"",AdminPLogoInverse32:"",AdminSLogoInverse32:"",AdminYLogoInverse32:"",DelveLogoInverse:"",ExchangeLogoInverse:"",LyncLogo:"",OfficeVideoLogoInverse:"",SocialListeningLogo:"",VisioLogoInverse:"",Balloons:"",Cat:"",MailAlert:"",MailCheck:"",MailLowImportance:"",MailPause:"",MailRepeat:"",SecurityGroup:"",Table:"",VoicemailForward:"",VoicemailReply:"",Waffle:"",RemoveEvent:"",EventInfo:"",ForwardEvent:"",WipePhone:"",AddOnlineMeeting:"",JoinOnlineMeeting:"",RemoveLink:"",PeopleBlock:"",PeopleRepeat:"",PeopleAlert:"",PeoplePause:"",TransferCall:"",AddPhone:"",UnknownCall:"",NoteReply:"",NoteForward:"",NotePinned:"",RemoveOccurrence:"",Timeline:"",EditNote:"",CircleHalfFull:"",Room:"",Unsubscribe:"",Subscribe:"",HardDrive:"",RecurringTask:"",TaskManager:"",TaskManagerMirrored:"",Combine:"",Split:"",DoubleChevronUp:"",DoubleChevronLeft:"",DoubleChevronRight:"",TextBox:"",TextField:"",NumberField:"",Dropdown:"",PenWorkspace:"",BookingsLogo:"",ClassNotebookLogoInverse:"",DelveAnalyticsLogo:"",DocsLogoInverse:"",Dynamics365Logo:"",DynamicSMBLogo:"",OfficeAssistantLogo:"",OfficeStoreLogo:"",OneNoteEduLogoInverse:"",PlannerLogo:"",PowerApps:"",Suitcase:"",ProjectLogoInverse:"",CaretLeft8:"",CaretRight8:"",CaretUp8:"",CaretDown8:"",CaretLeftSolid8:"",CaretRightSolid8:"",CaretUpSolid8:"",CaretDownSolid8:"",ClearFormatting:"",Superscript:"",Subscript:"",Strikethrough:"",Export:"",ExportMirrored:""}},t)}function PF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-7"',src:"url('".concat(e,"fabric-icons-7-2b97bb99.woff') format('woff')")},icons:{SingleBookmark:"",SingleBookmarkSolid:"",DoubleChevronDown:"",FollowUser:"",ReplyAll:"",WorkforceManagement:"",RecruitmentManagement:"",Questionnaire:"",ManagerSelfService:"",ProductionFloorManagement:"",ProductRelease:"",ProductVariant:"",ReplyMirrored:"",ReplyAllMirrored:"",Medal:"",AddGroup:"",QuestionnaireMirrored:"",CloudImportExport:"",TemporaryUser:"",CaretSolid16:"",GroupedDescending:"",GroupedAscending:"",AwayStatus:"",MyMoviesTV:"",GenericScan:"",AustralianRules:"",WifiEthernet:"",TrackersMirrored:"",DateTimeMirrored:"",StopSolid:"",DoubleChevronUp12:"",DoubleChevronDown12:"",DoubleChevronLeft12:"",DoubleChevronRight12:"",CalendarAgenda:"",ConnectVirtualMachine:"",AddEvent:"",AssetLibrary:"",DataConnectionLibrary:"",DocLibrary:"",FormLibrary:"",FormLibraryMirrored:"",ReportLibrary:"",ReportLibraryMirrored:"",ContactCard:"",CustomList:"",CustomListMirrored:"",IssueTracking:"",IssueTrackingMirrored:"",PictureLibrary:"",OfficeAddinsLogo:"",OfflineOneDriveParachute:"",OfflineOneDriveParachuteDisabled:"",TriangleSolidUp12:"",TriangleSolidDown12:"",TriangleSolidLeft12:"",TriangleSolidRight12:"",TriangleUp12:"",TriangleDown12:"",TriangleLeft12:"",TriangleRight12:"",ArrowUpRight8:"",ArrowDownRight8:"",DocumentSet:"",GoToDashboard:"",DelveAnalytics:"",ArrowUpRightMirrored8:"",ArrowDownRightMirrored8:"",CompanyDirectory:"",OpenEnrollment:"",CompanyDirectoryMirrored:"",OneDriveAdd:"",ProfileSearch:"",Header2:"",Header3:"",Header4:"",RingerSolid:"",Eyedropper:"",MarketDown:"",CalendarWorkWeek:"",SidePanel:"",GlobeFavorite:"",CaretTopLeftSolid8:"",CaretTopRightSolid8:"",ViewAll2:"",DocumentReply:"",PlayerSettings:"",ReceiptForward:"",ReceiptReply:"",ReceiptCheck:"",Fax:"",RecurringEvent:"",ReplyAlt:"",ReplyAllAlt:"",EditStyle:"",EditMail:"",Lifesaver:"",LifesaverLock:"",InboxCheck:"",FolderSearch:""}},t)}function RF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-8"',src:"url('".concat(e,"fabric-icons-8-6fdf1528.woff') format('woff')")},icons:{CollapseMenu:"",ExpandMenu:"",Boards:"",SunAdd:"",SunQuestionMark:"",LandscapeOrientation:"",DocumentSearch:"",PublicCalendar:"",PublicContactCard:"",PublicEmail:"",PublicFolder:"",WordDocument:"",PowerPointDocument:"",ExcelDocument:"",GroupedList:"",ClassroomLogo:"",Sections:"",EditPhoto:"",Starburst:"",ShareiOS:"",AirTickets:"",PencilReply:"",Tiles2:"",SkypeCircleCheck:"",SkypeCircleClock:"",SkypeCircleMinus:"",SkypeMessage:"",ClosedCaption:"",ATPLogo:"",OfficeFormsLogoInverse:"",RecycleBin:"",EmptyRecycleBin:"",Hide2:"",Breadcrumb:"",BirthdayCake:"",TimeEntry:"",CRMProcesses:"",PageEdit:"",PageArrowRight:"",PageRemove:"",Database:"",DataManagementSettings:"",CRMServices:"",EditContact:"",ConnectContacts:"",AppIconDefaultAdd:"",AppIconDefaultList:"",ActivateOrders:"",DeactivateOrders:"",ProductCatalog:"",ScatterChart:"",AccountActivity:"",DocumentManagement:"",CRMReport:"",KnowledgeArticle:"",Relationship:"",HomeVerify:"",ZipFolder:"",SurveyQuestions:"",TextDocument:"",TextDocumentShared:"",PageCheckedOut:"",PageShared:"",SaveAndClose:"",Script:"",Archive:"",ActivityFeed:"",Compare:"",EventDate:"",ArrowUpRight:"",CaretRight:"",SetAction:"",ChatBot:"",CaretSolidLeft:"",CaretSolidDown:"",CaretSolidRight:"",CaretSolidUp:"",PowerAppsLogo:"",PowerApps2Logo:"",SearchIssue:"",SearchIssueMirrored:"",FabricAssetLibrary:"",FabricDataConnectionLibrary:"",FabricDocLibrary:"",FabricFormLibrary:"",FabricFormLibraryMirrored:"",FabricReportLibrary:"",FabricReportLibraryMirrored:"",FabricPublicFolder:"",FabricFolderSearch:"",FabricMovetoFolder:"",FabricUnsyncFolder:"",FabricSyncFolder:"",FabricOpenFolderHorizontal:"",FabricFolder:"",FabricFolderFill:"",FabricNewFolder:"",FabricPictureLibrary:"",PhotoVideoMedia:"",AddFavorite:""}},t)}function DF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-9"',src:"url('".concat(e,"fabric-icons-9-c6162b42.woff') format('woff')")},icons:{AddFavoriteFill:"",BufferTimeBefore:"",BufferTimeAfter:"",BufferTimeBoth:"",PublishContent:"",ClipboardList:"",ClipboardListMirrored:"",CannedChat:"",SkypeForBusinessLogo:"",TabCenter:"",PageCheckedin:"",PageList:"",ReadOutLoud:"",CaretBottomLeftSolid8:"",CaretBottomRightSolid8:"",FolderHorizontal:"",MicrosoftStaffhubLogo:"",GiftboxOpen:"",StatusCircleOuter:"",StatusCircleInner:"",StatusCircleRing:"",StatusTriangleOuter:"",StatusTriangleInner:"",StatusTriangleExclamation:"",StatusCircleExclamation:"",StatusCircleErrorX:"",StatusCircleInfo:"",StatusCircleBlock:"",StatusCircleBlock2:"",StatusCircleQuestionMark:"",StatusCircleSync:"",Toll:"",ExploreContentSingle:"",CollapseContent:"",CollapseContentSingle:"",InfoSolid:"",GroupList:"",ProgressRingDots:"",CaloriesAdd:"",BranchFork:"",MuteChat:"",AddHome:"",AddWork:"",MobileReport:"",ScaleVolume:"",HardDriveGroup:"",FastMode:"",ToggleLeft:"",ToggleRight:"",TriangleShape:"",RectangleShape:"",CubeShape:"",Trophy2:"",BucketColor:"",BucketColorFill:"",Taskboard:"",SingleColumn:"",DoubleColumn:"",TripleColumn:"",ColumnLeftTwoThirds:"",ColumnRightTwoThirds:"",AccessLogoFill:"",AnalyticsLogo:"",AnalyticsQuery:"",NewAnalyticsQuery:"",AnalyticsReport:"",WordLogo:"",WordLogoFill:"",ExcelLogo:"",ExcelLogoFill:"",OneNoteLogo:"",OneNoteLogoFill:"",OutlookLogo:"",OutlookLogoFill:"",PowerPointLogo:"",PowerPointLogoFill:"",PublisherLogo:"",PublisherLogoFill:"",ScheduleEventAction:"",FlameSolid:"",ServerProcesses:"",Server:"",SaveAll:"",LinkedInLogo:"",Decimals:"",SidePanelMirrored:"",ProtectRestrict:"",Blog:"",UnknownMirrored:"",PublicContactCardMirrored:"",GridViewSmall:"",GridViewMedium:"",GridViewLarge:"",Step:"",StepInsert:"",StepShared:"",StepSharedAdd:"",StepSharedInsert:"",ViewDashboard:"",ViewList:""}},t)}function MF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-10"',src:"url('".concat(e,"fabric-icons-10-c4ded8e4.woff') format('woff')")},icons:{ViewListGroup:"",ViewListTree:"",TriggerAuto:"",TriggerUser:"",PivotChart:"",StackedBarChart:"",StackedLineChart:"",BuildQueue:"",BuildQueueNew:"",UserFollowed:"",ContactLink:"",Stack:"",Bullseye:"",VennDiagram:"",FiveTileGrid:"",FocalPoint:"",Insert:"",RingerRemove:"",TeamsLogoInverse:"",TeamsLogo:"",TeamsLogoFill:"",SkypeForBusinessLogoFill:"",SharepointLogo:"",SharepointLogoFill:"",DelveLogo:"",DelveLogoFill:"",OfficeVideoLogo:"",OfficeVideoLogoFill:"",ExchangeLogo:"",ExchangeLogoFill:"",Signin:"",DocumentApproval:"",CloneToDesktop:"",InstallToDrive:"",Blur:"",Build:"",ProcessMetaTask:"",BranchFork2:"",BranchLocked:"",BranchCommit:"",BranchCompare:"",BranchMerge:"",BranchPullRequest:"",BranchSearch:"",BranchShelveset:"",RawSource:"",MergeDuplicate:"",RowsGroup:"",RowsChild:"",Deploy:"",Redeploy:"",ServerEnviroment:"",VisioDiagram:"",HighlightMappedShapes:"",TextCallout:"",IconSetsFlag:"",VisioLogo:"",VisioLogoFill:"",VisioDocument:"",TimelineProgress:"",TimelineDelivery:"",Backlog:"",TeamFavorite:"",TaskGroup:"",TaskGroupMirrored:"",ScopeTemplate:"",AssessmentGroupTemplate:"",NewTeamProject:"",CommentAdd:"",CommentNext:"",CommentPrevious:"",ShopServer:"",LocaleLanguage:"",QueryList:"",UserSync:"",UserPause:"",StreamingOff:"",ArrowTallUpLeft:"",ArrowTallUpRight:"",ArrowTallDownLeft:"",ArrowTallDownRight:"",FieldEmpty:"",FieldFilled:"",FieldChanged:"",FieldNotChanged:"",RingerOff:"",PlayResume:"",BulletedList2:"",BulletedList2Mirrored:"",ImageCrosshair:"",GitGraph:"",Repo:"",RepoSolid:"",FolderQuery:"",FolderList:"",FolderListMirrored:"",LocationOutline:"",POISolid:"",CalculatorNotEqualTo:"",BoxSubtractSolid:""}},t)}function OF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-11"',src:"url('".concat(e,"fabric-icons-11-2a8393d6.woff') format('woff')")},icons:{BoxAdditionSolid:"",BoxMultiplySolid:"",BoxPlaySolid:"",BoxCheckmarkSolid:"",CirclePauseSolid:"",CirclePause:"",MSNVideosSolid:"",CircleStopSolid:"",CircleStop:"",NavigateBack:"",NavigateBackMirrored:"",NavigateForward:"",NavigateForwardMirrored:"",UnknownSolid:"",UnknownMirroredSolid:"",CircleAddition:"",CircleAdditionSolid:"",FilePDB:"",FileTemplate:"",FileSQL:"",FileJAVA:"",FileASPX:"",FileCSS:"",FileSass:"",FileLess:"",FileHTML:"",JavaScriptLanguage:"",CSharpLanguage:"",CSharp:"",VisualBasicLanguage:"",VB:"",CPlusPlusLanguage:"",CPlusPlus:"",FSharpLanguage:"",FSharp:"",TypeScriptLanguage:"",PythonLanguage:"",PY:"",CoffeeScript:"",MarkDownLanguage:"",FullWidth:"",FullWidthEdit:"",Plug:"",PlugSolid:"",PlugConnected:"",PlugDisconnected:"",UnlockSolid:"",Variable:"",Parameter:"",CommentUrgent:"",Storyboard:"",DiffInline:"",DiffSideBySide:"",ImageDiff:"",ImagePixel:"",FileBug:"",FileCode:"",FileComment:"",BusinessHoursSign:"",FileImage:"",FileSymlink:"",AutoFillTemplate:"",WorkItem:"",WorkItemBug:"",LogRemove:"",ColumnOptions:"",Packages:"",BuildIssue:"",AssessmentGroup:"",VariableGroup:"",FullHistory:"",Wheelchair:"",SingleColumnEdit:"",DoubleColumnEdit:"",TripleColumnEdit:"",ColumnLeftTwoThirdsEdit:"",ColumnRightTwoThirdsEdit:"",StreamLogo:"",PassiveAuthentication:"",AlertSolid:"",MegaphoneSolid:"",TaskSolid:"",ConfigurationSolid:"",BugSolid:"",CrownSolid:"",Trophy2Solid:"",QuickNoteSolid:"",ConstructionConeSolid:"",PageListSolid:"",PageListMirroredSolid:"",StarburstSolid:"",ReadingModeSolid:"",SadSolid:"",HealthSolid:"",ShieldSolid:"",GiftBoxSolid:"",ShoppingCartSolid:"",MailSolid:"",ChatSolid:"",RibbonSolid:""}},t)}function AF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-12"',src:"url('".concat(e,"fabric-icons-12-7e945a1e.woff') format('woff')")},icons:{FinancialSolid:"",FinancialMirroredSolid:"",HeadsetSolid:"",PermissionsSolid:"",ParkingSolid:"",ParkingMirroredSolid:"",DiamondSolid:"",AsteriskSolid:"",OfflineStorageSolid:"",BankSolid:"",DecisionSolid:"",Parachute:"",ParachuteSolid:"",FiltersSolid:"",ColorSolid:"",ReviewSolid:"",ReviewRequestSolid:"",ReviewRequestMirroredSolid:"",ReviewResponseSolid:"",FeedbackRequestSolid:"",FeedbackRequestMirroredSolid:"",FeedbackResponseSolid:"",WorkItemBar:"",WorkItemBarSolid:"",Separator:"",NavigateExternalInline:"",PlanView:"",TimelineMatrixView:"",EngineeringGroup:"",ProjectCollection:"",CaretBottomRightCenter8:"",CaretBottomLeftCenter8:"",CaretTopRightCenter8:"",CaretTopLeftCenter8:"",DonutChart:"",ChevronUnfold10:"",ChevronFold10:"",DoubleChevronDown8:"",DoubleChevronUp8:"",DoubleChevronLeft8:"",DoubleChevronRight8:"",ChevronDownEnd6:"",ChevronUpEnd6:"",ChevronLeftEnd6:"",ChevronRightEnd6:"",ContextMenu:"",AzureAPIManagement:"",AzureServiceEndpoint:"",VSTSLogo:"",VSTSAltLogo1:"",VSTSAltLogo2:"",FileTypeSolution:"",WordLogoInverse16:"",WordLogo16:"",WordLogoFill16:"",PowerPointLogoInverse16:"",PowerPointLogo16:"",PowerPointLogoFill16:"",ExcelLogoInverse16:"",ExcelLogo16:"",ExcelLogoFill16:"",OneNoteLogoInverse16:"",OneNoteLogo16:"",OneNoteLogoFill16:"",OutlookLogoInverse16:"",OutlookLogo16:"",OutlookLogoFill16:"",PublisherLogoInverse16:"",PublisherLogo16:"",PublisherLogoFill16:"",VisioLogoInverse16:"",VisioLogo16:"",VisioLogoFill16:"",TestBeaker:"",TestBeakerSolid:"",TestExploreSolid:"",TestAutoSolid:"",TestUserSolid:"",TestImpactSolid:"",TestPlan:"",TestStep:"",TestParameter:"",TestSuite:"",TestCase:"",Sprint:"",SignOut:"",TriggerApproval:"",Rocket:"",AzureKeyVault:"",Onboarding:"",Transition:"",LikeSolid:"",DislikeSolid:"",CRMCustomerInsightsApp:"",EditCreate:"",PlayReverseResume:"",PlayReverse:"",SearchData:"",UnSetColor:"",DeclineCall:""}},t)}function LF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-13"',src:"url('".concat(e,"fabric-icons-13-c3989a02.woff') format('woff')")},icons:{RectangularClipping:"",TeamsLogo16:"",TeamsLogoFill16:"",Spacer:"",SkypeLogo16:"",SkypeForBusinessLogo16:"",SkypeForBusinessLogoFill16:"",FilterSolid:"",MailUndelivered:"",MailTentative:"",MailTentativeMirrored:"",MailReminder:"",ReceiptUndelivered:"",ReceiptTentative:"",ReceiptTentativeMirrored:"",Inbox:"",IRMReply:"",IRMReplyMirrored:"",IRMForward:"",IRMForwardMirrored:"",VoicemailIRM:"",EventAccepted:"",EventTentative:"",EventTentativeMirrored:"",EventDeclined:"",IDBadge:"",BackgroundColor:"",OfficeFormsLogoInverse16:"",OfficeFormsLogo:"",OfficeFormsLogoFill:"",OfficeFormsLogo16:"",OfficeFormsLogoFill16:"",OfficeFormsLogoInverse24:"",OfficeFormsLogo24:"",OfficeFormsLogoFill24:"",PageLock:"",NotExecuted:"",NotImpactedSolid:"",FieldReadOnly:"",FieldRequired:"",BacklogBoard:"",ExternalBuild:"",ExternalTFVC:"",ExternalXAML:"",IssueSolid:"",DefectSolid:"",LadybugSolid:"",NugetLogo:"",TFVCLogo:"",ProjectLogo32:"",ProjectLogoFill32:"",ProjectLogo16:"",ProjectLogoFill16:"",SwayLogo32:"",SwayLogoFill32:"",SwayLogo16:"",SwayLogoFill16:"",ClassNotebookLogo32:"",ClassNotebookLogoFill32:"",ClassNotebookLogo16:"",ClassNotebookLogoFill16:"",ClassNotebookLogoInverse32:"",ClassNotebookLogoInverse16:"",StaffNotebookLogo32:"",StaffNotebookLogoFill32:"",StaffNotebookLogo16:"",StaffNotebookLogoFill16:"",StaffNotebookLogoInverted32:"",StaffNotebookLogoInverted16:"",KaizalaLogo:"",TaskLogo:"",ProtectionCenterLogo32:"",GallatinLogo:"",Globe2:"",Guitar:"",Breakfast:"",Brunch:"",BeerMug:"",Vacation:"",Teeth:"",Taxi:"",Chopsticks:"",SyncOccurence:"",UnsyncOccurence:"",GIF:"",PrimaryCalendar:"",SearchCalendar:"",VideoOff:"",MicrosoftFlowLogo:"",BusinessCenterLogo:"",ToDoLogoBottom:"",ToDoLogoTop:"",EditSolid12:"",EditSolidMirrored12:"",UneditableSolid12:"",UneditableSolidMirrored12:"",UneditableMirrored:"",AdminALogo32:"",AdminALogoFill32:"",ToDoLogoInverse:""}},t)}function NF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-14"',src:"url('".concat(e,"fabric-icons-14-5cf58db8.woff') format('woff')")},icons:{Snooze:"",WaffleOffice365:"",ImageSearch:"",NewsSearch:"",VideoSearch:"",R:"",FontColorA:"",FontColorSwatch:"",LightWeight:"",NormalWeight:"",SemiboldWeight:"",GroupObject:"",UngroupObject:"",AlignHorizontalLeft:"",AlignHorizontalCenter:"",AlignHorizontalRight:"",AlignVerticalTop:"",AlignVerticalCenter:"",AlignVerticalBottom:"",HorizontalDistributeCenter:"",VerticalDistributeCenter:"",Ellipse:"",Line:"",Octagon:"",Hexagon:"",Pentagon:"",RightTriangle:"",HalfCircle:"",QuarterCircle:"",ThreeQuarterCircle:"","6PointStar":"","12PointStar":"",ArrangeBringToFront:"",ArrangeSendToBack:"",ArrangeSendBackward:"",ArrangeBringForward:"",BorderDash:"",BorderDot:"",LineStyle:"",LineThickness:"",WindowEdit:"",HintText:"",MediaAdd:"",AnchorLock:"",AutoHeight:"",ChartSeries:"",ChartXAngle:"",ChartYAngle:"",Combobox:"",LineSpacing:"",Padding:"",PaddingTop:"",PaddingBottom:"",PaddingLeft:"",PaddingRight:"",NavigationFlipper:"",AlignJustify:"",TextOverflow:"",VisualsFolder:"",VisualsStore:"",PictureCenter:"",PictureFill:"",PicturePosition:"",PictureStretch:"",PictureTile:"",Slider:"",SliderHandleSize:"",DefaultRatio:"",NumberSequence:"",GUID:"",ReportAdd:"",DashboardAdd:"",MapPinSolid:"",WebPublish:"",PieSingleSolid:"",BlockedSolid:"",DrillDown:"",DrillDownSolid:"",DrillExpand:"",DrillShow:"",SpecialEvent:"",OneDriveFolder16:"",FunctionalManagerDashboard:"",BIDashboard:"",CodeEdit:"",RenewalCurrent:"",RenewalFuture:"",SplitObject:"",BulkUpload:"",DownloadDocument:"",GreetingCard:"",Flower:"",WaitlistConfirm:"",WaitlistConfirmMirrored:"",LaptopSecure:"",DragObject:"",EntryView:"",EntryDecline:"",ContactCardSettings:"",ContactCardSettingsMirrored:""}},t)}function BF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-15"',src:"url('".concat(e,"fabric-icons-15-3807251b.woff') format('woff')")},icons:{CalendarSettings:"",CalendarSettingsMirrored:"",HardDriveLock:"",HardDriveUnlock:"",AccountManagement:"",ReportWarning:"",TransitionPop:"",TransitionPush:"",TransitionEffect:"",LookupEntities:"",ExploreData:"",AddBookmark:"",SearchBookmark:"",DrillThrough:"",MasterDatabase:"",CertifiedDatabase:"",MaximumValue:"",MinimumValue:"",VisualStudioIDELogo32:"",PasteAsText:"",PasteAsCode:"",BrowserTab:"",BrowserTabScreenshot:"",DesktopScreenshot:"",FileYML:"",ClipboardSolid:"",FabricUserFolder:"",FabricNetworkFolder:"",BullseyeTarget:"",AnalyticsView:"",Video360Generic:"",Untag:"",Leave:"",Trending12:"",Blocked12:"",Warning12:"",CheckedOutByOther12:"",CheckedOutByYou12:"",CircleShapeSolid:"",SquareShapeSolid:"",TriangleShapeSolid:"",DropShapeSolid:"",RectangleShapeSolid:"",ZoomToFit:"",InsertColumnsLeft:"",InsertColumnsRight:"",InsertRowsAbove:"",InsertRowsBelow:"",DeleteColumns:"",DeleteRows:"",DeleteRowsMirrored:"",DeleteTable:"",AccountBrowser:"",VersionControlPush:"",StackedColumnChart2:"",TripleColumnWide:"",QuadColumn:"",WhiteBoardApp16:"",WhiteBoardApp32:"",PinnedSolid:"",InsertSignatureLine:"",ArrangeByFrom:"",Phishing:"",CreateMailRule:"",PublishCourse:"",DictionaryRemove:"",UserRemove:"",UserEvent:"",Encryption:"",PasswordField:"",OpenInNewTab:"",Hide3:"",VerifiedBrandSolid:"",MarkAsProtected:"",AuthenticatorApp:"",WebTemplate:"",DefenderTVM:"",MedalSolid:"",D365TalentLearn:"",D365TalentInsight:"",D365TalentHRCore:"",BacklogList:"",ButtonControl:"",TableGroup:"",MountainClimbing:"",TagUnknown:"",TagUnknownMirror:"",TagUnknown12:"",TagUnknown12Mirror:"",Link12:"",Presentation:"",Presentation12:"",Lock12:"",BuildDefinition:"",ReleaseDefinition:"",SaveTemplate:"",UserGauge:"",BlockedSiteSolid12:"",TagSolid:"",OfficeChat:""}},t)}function zF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-16"',src:"url('".concat(e,"fabric-icons-16-9cf93f3b.woff') format('woff')")},icons:{OfficeChatSolid:"",MailSchedule:"",WarningSolid:"",Blocked2Solid:"",SkypeCircleArrow:"",SkypeArrow:"",SyncStatus:"",SyncStatusSolid:"",ProjectDocument:"",ToDoLogoOutline:"",VisioOnlineLogoFill32:"",VisioOnlineLogo32:"",VisioOnlineLogoCloud32:"",VisioDiagramSync:"",Event12:"",EventDateMissed12:"",UserOptional:"",ResponsesMenu:"",DoubleDownArrow:"",DistributeDown:"",BookmarkReport:"",FilterSettings:"",GripperDotsVertical:"",MailAttached:"",AddIn:"",LinkedDatabase:"",TableLink:"",PromotedDatabase:"",BarChartVerticalFilter:"",BarChartVerticalFilterSolid:"",MicOff2:"",MicrosoftTranslatorLogo:"",ShowTimeAs:"",FileRequest:"",WorkItemAlert:"",PowerBILogo16:"",PowerBILogoBackplate16:"",BulletedListText:"",BulletedListBullet:"",BulletedListTextMirrored:"",BulletedListBulletMirrored:"",NumberedListText:"",NumberedListNumber:"",NumberedListTextMirrored:"",NumberedListNumberMirrored:"",RemoveLinkChain:"",RemoveLinkX:"",FabricTextHighlight:"",ClearFormattingA:"",ClearFormattingEraser:"",Photo2Fill:"",IncreaseIndentText:"",IncreaseIndentArrow:"",DecreaseIndentText:"",DecreaseIndentArrow:"",IncreaseIndentTextMirrored:"",IncreaseIndentArrowMirrored:"",DecreaseIndentTextMirrored:"",DecreaseIndentArrowMirrored:"",CheckListText:"",CheckListCheck:"",CheckListTextMirrored:"",CheckListCheckMirrored:"",NumberSymbol:"",Coupon:"",VerifiedBrand:"",ReleaseGate:"",ReleaseGateCheck:"",ReleaseGateError:"",M365InvoicingLogo:"",RemoveFromShoppingList:"",ShieldAlert:"",FabricTextHighlightComposite:"",Dataflows:"",GenericScanFilled:"",DiagnosticDataBarTooltip:"",SaveToMobile:"",Orientation2:"",ScreenCast:"",ShowGrid:"",SnapToGrid:"",ContactList:"",NewMail:"",EyeShadow:"",FabricFolderConfirm:"",InformationBarriers:"",CommentActive:"",ColumnVerticalSectionEdit:"",WavingHand:"",ShakeDevice:"",SmartGlassRemote:"",Rotate90Clockwise:"",Rotate90CounterClockwise:"",CampaignTemplate:"",ChartTemplate:"",PageListFilter:"",SecondaryNav:"",ColumnVerticalSection:"",SkypeCircleSlash:"",SkypeSlash:""}},t)}function HF(e,t){void 0===e&&(e=""),_b({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-17"',src:"url('".concat(e,"fabric-icons-17-0c4ed701.woff') format('woff')")},icons:{CustomizeToolbar:"",DuplicateRow:"",RemoveFromTrash:"",MailOptions:"",Childof:"",Footer:"",Header:"",BarChartVerticalFill:"",StackedColumnChart2Fill:"",PlainText:"",AccessibiltyChecker:"",DatabaseSync:"",ReservationOrders:"",TabOneColumn:"",TabTwoColumn:"",TabThreeColumn:"",BulletedTreeList:"",MicrosoftTranslatorLogoGreen:"",MicrosoftTranslatorLogoBlue:"",InternalInvestigation:"",AddReaction:"",ContactHeart:"",VisuallyImpaired:"",EventToDoLogo:"",Variable2:"",ModelingView:"",DisconnectVirtualMachine:"",ReportLock:"",Uneditable2:"",Uneditable2Mirrored:"",BarChartVerticalEdit:"",GlobalNavButtonActive:"",PollResults:"",Rerun:"",QandA:"",QandAMirror:"",BookAnswers:"",AlertSettings:"",TrimStart:"",TrimEnd:"",TableComputed:"",DecreaseIndentLegacy:"",IncreaseIndentLegacy:"",SizeLegacy:""}},t)}CF.displayName="Dropdown";hm("@fluentui/font-icons-mdl2","8.5.72");var VF="".concat("https://res.cdn.office.net/files/fabric-cdn-prod_20260115.001","/assets/icons/"),WF=cg();const UF=(e="#00BAE4",t,n="#FCFCFF")=>rg({mainContainer:{backgroundColor:n,fontFamily:t?.family||"Proxima Nova, sans-serif",WebkitFontSmoothing:"antialiased"},topWrapper:{display:"flex",flexDirection:"column",alignItems:"center",padding:"5% 25%","@media (max-width: 768px)":{padding:"5% 10%"}},thankyouTopWrapper:{display:"flex",flexDirection:"column",alignItems:"center",padding:"5% 15%","@media (max-width: 768px)":{padding:"5% 10%"}},formWrapper:{backgroundColor:"#fff",minWidth:"600px",padding:"5%",border:"solid 1px #ADADAD",borderRadius:8,textAlign:"left","@media (max-width: 768px)":{minWidth:"100%",width:"100%"}},inputFieldContainer:{display:"grid",gridTemplateColumns:"minmax(0, 5fr) minmax(0, 3fr)",gap:"15px 20px",marginBottom:"20px","@media (max-width: 768px)":{gridTemplateColumns:"1fr"}},checkboxIsSharedMail:{gridColumn:"span 2",margin:"10px 0 10px 0","@media (max-width: 768px)":{gridColumn:"span 1"}},bigColumn:{gridColumn:"1 / span 1"},recaptchaWrapper:{margin:"20px 0"},finalStepContainer:{width:"100%",maxWidth:"800px",margin:"0 auto",textAlign:"center"},textBlock:{padding:"40px",backgroundColor:"#fff",borderRadius:8,border:"solid 1px #ADADAD"},primaryButton:{backgroundColor:e,selectors:{":hover":{backgroundColor:e,filter:"brightness(0.9)"},":active":{backgroundColor:e,filter:"brightness(0.85)"}}}}),jF=e=>t=>{const n=e?.family||"Proxima Nova, sans-serif";return{fieldGroup:[{backgroundColor:"#F5F5F5",border:"solid 1px #DDDDDD",borderRadius:5,height:50,fontFamily:n,WebkitFontSmoothing:"antialiased"}],subComponentStyles:{label:{root:{fontSize:e?.sizes?.body||16,fontWeight:"normal",fontFamily:n,WebkitFontSmoothing:"antialiased",textAlign:"left"}}},description:{fontSize:14}}},KF=e=>{const t=e?.family||"Proxima Nova, sans-serif";return{dropdown:{backgroundColor:"#F5F5F5",border:"none",borderRadius:5,height:50},title:{backgroundColor:"#F5F5F5",border:"solid 1px #DDDDDD",borderRadius:5,height:50,lineHeight:"48px",fontFamily:t,WebkitFontSmoothing:"antialiased"},caretDownWrapper:{height:50,lineHeight:"48px"},label:{fontSize:e?.sizes?.body||16,fontWeight:"normal",fontFamily:t,WebkitFontSmoothing:"antialiased",textAlign:"left"}}},qF=e=>{const t=e?.family||"Proxima Nova, sans-serif";return{root:{backgroundColor:"#F5F5F5",height:50,selectors:{":after":{borderRadius:5,border:"solid 1px #DDDDDD"}}},input:{backgroundColor:"#F5F5F5",height:48,lineHeight:"48px",fontFamily:t,WebkitFontSmoothing:"antialiased"},label:{fontSize:e?.sizes?.body||16,fontWeight:"normal",fontFamily:t,WebkitFontSmoothing:"antialiased",textAlign:"left"}}},GF=(e,t="#00BAE4",n)=>({root:{display:"flex",flexDirection:e?"row-reverse":"row",gap:"20px",marginBottom:"30px"},flexContainer:{display:"flex",flexDirection:"column",gap:"4px",selectors:{".ms-ChoiceFieldLabel":{fontSize:n?.sizes?.body||16},".ms-ChoiceField-field":{selectors:{":hover .ms-ChoiceField-field::before":{borderColor:t},"::before":{borderColor:"#DDDDDD"}}},".ms-ChoiceField-field.is-checked":{selectors:{"::before":{borderColor:t},"::after":{backgroundColor:t,borderColor:t}}}}}}),$F=({name:e,control:t,rules:n,defaultValue:r,...o})=>H.createElement(Ud,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{onChange:e,onBlur:t,name:n,value:r},fieldState:{error:i}})=>H.createElement(Qk,{...o,onChange:e,value:r,onBlur:t,name:n,errorMessage:i&&i.message,defaultValue:void 0})}),QF=({name:e,control:t,rules:n,defaultValue:r,setValue:o,setError:i,clearErrors:a,trigger:l,setIsValidating:s,translation:u,validateEmail:c,config:d,apiService:f,...p})=>{const[h,m]=z.useState(null),g=z.useCallback(async e=>{if(!e)return s(!1),u.EmailError;s(!0);try{let t=!1;if(c)t=await c(e);else if(d?.onValidateEmail)t=await d.onValidateEmail(e);else if(f)t=await f.validateEmail(e);else{t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e)}return s(!1),!!t||u.EmailInvalid}catch(e){return s(!1),u.EmailInvalid}},[c,d,f,u,s]),v=(e,t)=>{h&&clearTimeout(h);const n=setTimeout(async()=>{const t=await g(e);a("email"),!0!==t?i("email",{type:"manual",message:t}):a("email")},900);m(n)};return H.createElement(Ud,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{name:e,value:t,onChange:n},fieldState:{error:r}})=>H.createElement(Qk,{...p,onChange:(e,t)=>{s(!0),n(t),v(t)},onBlur:e=>{s(!0),v(t)},value:t,name:e,errorMessage:r?r.message:void 0,defaultValue:void 0})})},ZF=({name:e,control:t,rules:n,defaultValue:r,primaryColor:o,...i})=>{const a=o||"#00BAE4",l=e=>({checkbox:{borderRadius:"3px",borderColor:"#DDDDDD",selectors:{":hover":{borderColor:a}},...e.checked&&{backgroundColor:a,borderColor:a}},checkmark:{color:"#fff"},label:{fontSize:16,fontWeight:"normal",fontFamily:"Proxima Nova, sans-serif",WebkitFontSmoothing:"antialiased"}});return H.createElement(Ud,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{onChange:e,name:t,value:n},fieldState:{error:r}})=>H.createElement(mk,{...i,checked:n,onChange:e,styles:l})})},YF=({name:t,control:n,rules:r,defaultValue:o,options:i,...a})=>{const l=n=>{switch(t){case e.FormModel.CompanySize:return n;case e.FormModel.OrgIndustryId:return i.find(e=>e.text===n)?.text;default:return i.find(e=>e.text===n)?.key}};return H.createElement(Ud,{name:t,control:n,rules:r,defaultValue:o||"",render:({field:{onChange:n,onBlur:r,value:o},fieldState:{error:s}})=>H.createElement(CF,{...a,options:i,selectedKey:l(o),onChange:(r,o)=>{"string"==typeof o?.key||t==e.FormModel.CompanySize||t==e.FormModel.OrgIndustryId?n(o?.key):n(o?.text)},onBlur:r,errorMessage:s&&s.message,styles:s?{...a.styles,title:{...a.styles?.title,border:"solid 1px #a4262c"}}:a.styles})})},JF=({name:e,control:t,rules:n,defaultValue:r,options:o,...i})=>H.createElement(Ud,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{onChange:e,onBlur:t,name:n,value:r},fieldState:{error:a}})=>H.createElement(sE,{...i,options:o,selectedKey:r,onChange:(t,n)=>{e("string"==typeof n?.key?n.key:n?.text)},onBlur:t,errorMessage:a&&a.message,defaultValue:void 0,allowFreeInput:!0,autoComplete:"on",styles:a?{...i.styles,root:{...i.styles?.root,selectors:{...i.styles?.root?.selectors,":after":{...i.styles?.root?.selectors?.[":after"],border:"solid 1px #a4262c"}}}}:i.styles})});var XF;e.FormDataModels=void 0,(XF=e.FormDataModels||(e.FormDataModels={})).CompanySizeDropdownOptions=[{key:1,text:"1-9"},{key:2,text:"10-24"},{key:3,text:"25-49"},{key:4,text:"50-99"},{key:5,text:"100-199"},{key:6,text:"200-299"},{key:7,text:"300-499"},{key:8,text:"500-999"},{key:9,text:"1000-2499"},{key:10,text:"2500-4999"},{key:11,text:"5000+"}],XF.IndustryOptions=[{key:1,text:"Agriculture, Forestry, Fishing, and Hunting"},{key:2,text:"Mining, Quarrying, and Oil and Gas Extraction"},{key:3,text:"Utilities"},{key:4,text:"Construction"},{key:5,text:"Manufacturing"},{key:6,text:"Wholesale Trade"},{key:7,text:"Retail Trade"},{key:8,text:"Transportation and Warehousing"},{key:9,text:"Information, Media, and Publishing"},{key:10,text:"Telecommunications"},{key:11,text:"Finance and Insurance"},{key:12,text:"Real Estate and Rental and Leasing"},{key:13,text:"Professional, Scientific, and Technical Services"},{key:14,text:"Management of Companies and Enterprises"},{key:15,text:"Administrative and Support and Waste Management and Remediation Services"},{key:16,text:"Educational Services"},{key:17,text:"Health Care and Social Assistance"},{key:18,text:"Arts, Entertainment, and Recreation"},{key:19,text:"Accommodation and Food Services"},{key:20,text:"E-commerce and Digital Services"},{key:21,text:"Defense and Aerospace"},{key:22,text:"Other Services (except Public Administration)"},{key:23,text:"Public Administration"}],XF.HearAboutOptions=[{key:1,text:"Microsoft Partner"},{key:2,text:"Search Engine"},{key:3,text:"Social Media"},{key:4,text:"Microsoft Website"},{key:5,text:"Microsoft Event"},{key:6,text:"Email Newsletter"},{key:7,text:"Colleague or Friend"},{key:8,text:"Advertisement"},{key:9,text:"Blog or Article"},{key:10,text:"Other"}];const eI=({formModels:t,isRegistering:n,control:r,setValue:o,setError:i,clearErrors:a,errors:l,trigger:s,performByPartner:u,watchFormField:c,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:y,partnerData:b,primaryColor:_})=>{const C=_||f.theme?.primaryColor||"#00BAE4",[w,S]=z.useState({}),x=t.reduce((t,n)=>{const r=((t,n,r)=>[{name:e.FormModel.CustomerPartnerName,type:e.FormType.Text,label:t.PartnerName,placeholder:t.PartnerNamePlaceholder,rules:{required:!!n&&t.PartnerNameError}},{name:e.FormModel.CustomerPartnerMail,type:e.FormType.Text,label:t.PartnerEmail,placeholder:t.PartnerEmailPlaceholder,rules:{required:!!n&&t.PartnerEmailError,pattern:{value:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,message:t.EmailInvalid}}},{name:e.FormModel.FirstName,type:e.FormType.Text,label:t.FirstName,placeholder:t.FirstNamePlaceholder,rules:{required:t.FirstNameError}},{name:e.FormModel.LastName,type:e.FormType.Text,label:t.LastName,placeholder:t.LastNamePlaceholder,rules:{required:t.LastNameError}},{name:e.FormModel.Email,type:e.FormType.AsyncText,label:t.EmailAddress,placeholder:t.EmailPlaceholder,description:t.EmailDesc,rules:{required:t.EmailError}},{name:e.FormModel.JobRole,type:e.FormType.Text,label:t.JobRole,placeholder:t.JobRolePlaceholder},{name:e.FormModel.IsSharedMail,type:e.FormType.CheckBox,label:t.IsSharedMailTerm},{name:e.FormModel.CompanyName,type:e.FormType.Text,label:t.CompanyName,placeholder:t.CompanyNamePlaceholder,rules:{required:t.CompanyNameError}},{name:e.FormModel.CompanySize,type:e.FormType.Dropdown,label:t.CompanySize},{name:e.FormModel.Country,type:e.FormType.ComboBox,label:t.Country,placeholder:t.CountryPlaceholder,rules:{required:t.CountryError}},{name:e.FormModel.PreferredLanguage,type:e.FormType.Dropdown,label:t.SelectPreferredLanguage},{name:e.FormModel.HearAbout,type:e.FormType.Dropdown,label:t.HearAbout,placeholder:t.HearAboutPlaceholder,rules:{required:t.HearAboutError},bigColumn:!0},{name:e.FormModel.OrgIndustryId,type:e.FormType.Dropdown,label:t.Industry,placeholder:t.HearAboutPlaceholder,rules:{required:t.HearAboutError},bigColumn:!0}].find(e=>e.name===r)||null)(d,u,n);return r?[...t,r]:t},[]),k=t=>{switch(t){case e.FormModel.CompanySize:return g||e.FormDataModels.CompanySizeDropdownOptions;case e.FormModel.OrgIndustryId:return v||e.FormDataModels.IndustryOptions;case e.FormModel.HearAbout:return y||e.FormDataModels.HearAboutOptions;case e.FormModel.PreferredLanguage:{const e=b?.supportedLanguages||[];return 0===e.length?$h:$h.filter(t=>e.includes(t.data.code))}case e.FormModel.Country:return m||[];default:return[]}};return H.createElement(H.Fragment,null,x.map(t=>((t,u)=>{const g=w[t.name]||!1;switch(t.type){case e.FormType.Text:return H.createElement($F,{name:t.name,control:r,rules:t.rules,label:t.label,placeholder:t.placeholder,required:t.rules?.required,disabled:n,styles:jF(f.theme?.fonts),key:u});case e.FormType.AsyncText:return H.createElement("div",{key:u},H.createElement(QF,{label:t.label,placeholder:t.placeholder,control:r,setValue:o,setError:i,clearErrors:a,name:t.name,styles:jF(f.theme?.fonts),trigger:s,setIsValidating:(y=t.name,e=>{S(t=>{const n=t[y]||!1,r="function"==typeof e?e(n):e;return{...t,[y]:r}})}),translation:d,config:f,apiService:p,rules:{required:d.EmailError},required:t.rules?.required,description:t.name in l||g?void 0:t.description,disabled:n}),g&&H.createElement(EE,{label:d.ValidatingMessage,styles:{root:{alignItems:"flex-end",justifyContent:"flex-start",flexDirection:"row"},label:{marginLeft:"5px"}}}));case e.FormType.Dropdown:return H.createElement(YF,{key:u,required:void 0!==t.rules?.required,options:k(t.name),label:t.label,rules:t.rules,control:r,name:t.name,placeholder:t.placeholder,disabled:(v=t.name,v===e.FormModel.PreferredLanguage&&"AU"===c(e.FormModel.Country)&&"Microsoft"===b?.partnerName||n),className:t.bigColumn?h.bigColumn:"",styles:KF(f.theme?.fonts)});case e.FormType.ComboBox:return H.createElement(JF,{key:u,options:m||[],label:t.label,control:r,rules:t.rules,name:t.name,placeholder:t.placeholder,required:""!==t.rules?.required,disabled:n,autoComplete:"off",styles:qF(f.theme?.fonts)});case e.FormType.CheckBox:return H.createElement(ZF,{key:u,name:t.name,label:t.label,rules:t.rules,disabled:n,control:r,primaryColor:C,className:h.checkboxIsSharedMail});default:return null}var v,y})(t,t.name)))};function tI(e,t){const n=Object.assign({},e);return nI(e)&&nI(t)&&Object.keys(t).forEach(r=>{nI(t[r])?r in e?n[r]=tI(e[r],t[r]):Object.assign(n,{[r]:t[r]}):Object.assign(n,{[r]:t[r]})}),n}function nI(e){return e&&"object"==typeof e&&!Array.isArray(e)}function rI(e){return!!e&&["ar","he"].includes(e.toLowerCase())}const oI=({isRegistering:t,performByPartner:n,setPerformByPartner:r,setValue:o,setError:i,clearErrors:a,control:l,errors:s,trigger:u,watch:c,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:y,partnerData:b,primaryColor:_})=>{const C=_||"#00BAE4",w=[{key:"ByCustomer",text:d.ByCustomer},{key:"ByPartner",text:d.ByPartner}],S=y&&y.length>0,x=[n&&e.FormModel.CustomerPartnerName,n&&e.FormModel.CustomerPartnerMail,e.FormModel.FirstName,e.FormModel.LastName,e.FormModel.Email,e.FormModel.JobRole,e.FormModel.IsSharedMail,e.FormModel.CompanyName,e.FormModel.CompanySize,e.FormModel.Country,e.FormModel.PreferredLanguage,!n&&e.FormModel.CustomerPartnerName,!n&&e.FormModel.CustomerPartnerMail,e.FormModel.OrgIndustryId,!!S&&e.FormModel.HearAbout];return H.createElement(H.Fragment,null,H.createElement(Lk,{defaultSelectedKey:"ByCustomer",options:w,styles:GF(rI(b?.languageCode),C,f.theme?.fonts),onChange:(t,n)=>{o(e.FormModel.CustomerPartnerMail,""),o(e.FormModel.CustomerPartnerName,""),a(e.FormModel.CustomerPartnerMail),a(e.FormModel.CustomerPartnerName),r("ByPartner"===n?.key)}}),H.createElement("div",{className:h.inputFieldContainer},H.createElement(eI,{formModels:x,isRegistering:t,control:l,setValue:o,setError:i,clearErrors:a,errors:s,trigger:u,performByPartner:n,watchFormField:c,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:y,partnerData:b,primaryColor:C})))};var iI={exports:{}};function aI(){}function lI(){}lI.resetWarningCache=aI;iI.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:lI,resetWarningCache:aI};return n.PropTypes=n,n}();var sI=n(iI.exports),uI=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function cI(){return cI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cI.apply(this,arguments)}function dI(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fI(e,t){return fI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fI(e,t)}var pI=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(dI(t)),t.handleErrored=t.handleErrored.bind(dI(t)),t.handleChange=t.handleChange.bind(dI(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(dI(t)),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,fI(t,n);var o=r.prototype;return o.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},o.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},o.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},o.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},o.executeAsync=function(){var e=this;return new Promise(function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()})},o.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},o.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},o.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},o.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},o.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},o.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},o.componentDidMount=function(){this.explicitRender()},o.componentDidUpdate=function(){this.explicitRender()},o.handleRecaptchaRef=function(e){this.captcha=e},o.render=function(){var e=this.props;e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated;var t=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,uI);return z.createElement("div",cI({},t,{ref:this.handleRecaptchaRef}))},r}(z.Component);pI.displayName="ReCAPTCHA",pI.propTypes={sitekey:sI.string.isRequired,onChange:sI.func,grecaptcha:sI.object,theme:sI.oneOf(["dark","light"]),type:sI.oneOf(["image","audio"]),tabindex:sI.number,onExpired:sI.func,onErrored:sI.func,size:sI.oneOf(["compact","normal","invisible"]),stoken:sI.string,hl:sI.string,badge:sI.oneOf(["bottomright","bottomleft","inline"]),isolated:sI.bool},pI.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var hI={exports:{}},mI={},gI="function"==typeof Symbol&&Symbol.for,vI=gI?Symbol.for("react.element"):60103,yI=gI?Symbol.for("react.portal"):60106,bI=gI?Symbol.for("react.fragment"):60107,_I=gI?Symbol.for("react.strict_mode"):60108,CI=gI?Symbol.for("react.profiler"):60114,wI=gI?Symbol.for("react.provider"):60109,SI=gI?Symbol.for("react.context"):60110,xI=gI?Symbol.for("react.async_mode"):60111,kI=gI?Symbol.for("react.concurrent_mode"):60111,EI=gI?Symbol.for("react.forward_ref"):60112,FI=gI?Symbol.for("react.suspense"):60113,II=gI?Symbol.for("react.suspense_list"):60120,TI=gI?Symbol.for("react.memo"):60115,PI=gI?Symbol.for("react.lazy"):60116,RI=gI?Symbol.for("react.block"):60121,DI=gI?Symbol.for("react.fundamental"):60117,MI=gI?Symbol.for("react.responder"):60118,OI=gI?Symbol.for("react.scope"):60119;function AI(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case vI:switch(e=e.type){case xI:case kI:case bI:case CI:case _I:case FI:return e;default:switch(e=e&&e.$$typeof){case SI:case EI:case PI:case TI:case wI:return e;default:return t}}case yI:return t}}}function LI(e){return AI(e)===kI}mI.AsyncMode=xI,mI.ConcurrentMode=kI,mI.ContextConsumer=SI,mI.ContextProvider=wI,mI.Element=vI,mI.ForwardRef=EI,mI.Fragment=bI,mI.Lazy=PI,mI.Memo=TI,mI.Portal=yI,mI.Profiler=CI,mI.StrictMode=_I,mI.Suspense=FI,mI.isAsyncMode=function(e){return LI(e)||AI(e)===xI},mI.isConcurrentMode=LI,mI.isContextConsumer=function(e){return AI(e)===SI},mI.isContextProvider=function(e){return AI(e)===wI},mI.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===vI},mI.isForwardRef=function(e){return AI(e)===EI},mI.isFragment=function(e){return AI(e)===bI},mI.isLazy=function(e){return AI(e)===PI},mI.isMemo=function(e){return AI(e)===TI},mI.isPortal=function(e){return AI(e)===yI},mI.isProfiler=function(e){return AI(e)===CI},mI.isStrictMode=function(e){return AI(e)===_I},mI.isSuspense=function(e){return AI(e)===FI},mI.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===bI||e===kI||e===CI||e===_I||e===FI||e===II||"object"==typeof e&&null!==e&&(e.$$typeof===PI||e.$$typeof===TI||e.$$typeof===wI||e.$$typeof===SI||e.$$typeof===EI||e.$$typeof===DI||e.$$typeof===MI||e.$$typeof===OI||e.$$typeof===RI)},mI.typeOf=AI,hI.exports=mI;var NI=hI.exports,BI={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},zI={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},HI={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},VI={};function WI(e){return NI.isMemo(e)?HI:VI[e.$$typeof]||BI}VI[NI.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},VI[NI.Memo]=HI;var UI=Object.defineProperty,jI=Object.getOwnPropertyNames,KI=Object.getOwnPropertySymbols,qI=Object.getOwnPropertyDescriptor,GI=Object.getPrototypeOf,$I=Object.prototype;var QI=function e(t,n,r){if("string"!=typeof n){if($I){var o=GI(n);o&&o!==$I&&e(t,o,r)}var i=jI(n);KI&&(i=i.concat(KI(n)));for(var a=WI(t),l=WI(n),s=0;s<i.length;++s){var u=i[s];if(!(zI[u]||r&&r[u]||l&&l[u]||a&&a[u])){var c=qI(n,u);try{UI(t,u,c)}catch(e){}}}}return t},ZI=n(QI);function YI(){return YI=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},YI.apply(this,arguments)}var JI={},XI=0;var eT="onloadcallback";function tT(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}var nT,rT,oT=(nT=function(){var e=tT(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+eT+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+eT+"&render=explicit"},rT=(rT={callbackName:eT,globalName:"grecaptcha",attributes:tT().nonce?{nonce:tT().nonce}:{}})||{},function(e){var t=e.displayName||e.name||"Component",n=function(t){var n,r;function o(e,n){var r;return(r=t.call(this,e,n)||this).state={},r.__scriptURL="",r}r=t,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r;var i=o.prototype;return i.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+XI++),this.__scriptLoaderID},i.setupScriptURL=function(){return this.__scriptURL="function"==typeof nT?nT():nT,this.__scriptURL},i.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},i.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=JI[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[rT.callbackName]},i.componentDidMount=function(){var e=this,t=this.setupScriptURL(),n=this.asyncScriptLoaderGetScriptLoaderID(),r=rT,o=r.globalName,i=r.callbackName,a=r.scriptId;if(o&&void 0!==window[o]&&(JI[t]={loaded:!0,observers:{}}),JI[t]){var l=JI[t];return l&&(l.loaded||l.errored)?void this.asyncScriptLoaderHandleLoad(l):void(l.observers[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var s={};s[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)},JI[t]={loaded:!1,observers:s};var u=document.createElement("script");for(var c in u.src=t,u.async=!0,rT.attributes)u.setAttribute(c,rT.attributes[c]);a&&(u.id=a);var d=function(e){if(JI[t]){var n=JI[t].observers;for(var r in n)e(n[r])&&delete n[r]}};i&&"undefined"!=typeof window&&(window[i]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),u.onload=function(){var e=JI[t];e&&(e.loaded=!0,d(function(t){return!i&&(t(e),!0)}))},u.onerror=function(){var e=JI[t];e&&(e.errored=!0,d(function(t){return t(e),!0}))},document.body.appendChild(u)},i.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===rT.removeOnUnmount)for(var t=document.getElementsByTagName("script"),n=0;n<t.length;n+=1)t[n].src.indexOf(e)>-1&&t[n].parentNode&&t[n].parentNode.removeChild(t[n]);var r=JI[e];r&&(delete r.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===rT.removeOnUnmount&&delete JI[e])},i.render=function(){var t=rT.globalName,n=this.props;n.asyncScriptOnLoad;var r=n.forwardedRef,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(o[t]=void 0!==window[t]?window[t]:void 0),o.ref=r,z.createElement(e,o)},o}(z.Component),r=z.forwardRef(function(e,t){return z.createElement(n,YI({},e,{forwardedRef:t}))});return r.displayName="AsyncScriptLoader("+t+")",r.propTypes={asyncScriptOnLoad:sI.func},ZI(r,e)})(pI);const iT=e=>{const{styles:t,description:n,primaryColor:r,fonts:o,...i}=e;return H.createElement("div",null,H.createElement(mk,{...i,styles:e=>{const n=((e,t,n)=>{const r=t||"#00BAE4",o=n?.family||"Proxima Nova, sans-serif",i=n?.sizes?.body||16;return{root:{margin:"10px 0 5px 0"},checkbox:{borderRadius:"3px",borderColor:"#DDDDDD",selectors:{":hover":{borderColor:r}},...e.checked&&{backgroundColor:r,borderColor:r}},checkmark:{color:"#fff"},label:{fontSize:i,fontWeight:"normal",fontFamily:o,WebkitFontSmoothing:"antialiased"},text:[{fontSize:"18px",margin:"0 4px"},e.checked&&{fontWeight:600}]}})(e,r,o);return t?tI(n,"function"==typeof t?t(e):t):n}}),n&&H.createElement("div",{style:{margin:"0 28px",cursor:"default"},className:"checkboxDescription"},n))},aT=(e,t)=>({root:{borderRadius:8,height:60,boxShadow:t?"none":"0px 2px 5px 0px #b1b1b1f2",border:"none !important",backgroundColor:e||"#00BAE4"},rootHovered:{backgroundColor:e||"#00BAE4",filter:"brightness(0.9)"},rootPressed:{backgroundColor:e||"#00BAE4",filter:"brightness(0.85)"},rootDisabled:{backgroundColor:"#cecece",color:"#fff"},textContainer:{fontSize:"18px",fontWeight:"600"},menuIcon:{fontSize:"25px",fontWeight:"700"},menuIconDisabled:{color:"#fff"},icon:{fontSize:"25px",fontWeight:"700"},iconDisabled:{color:"#fff"}}),lT=()=>z.createElement(EE,{size:cE.medium,style:{marginRight:8}}),sT=e=>{const{primaryColor:t,noShadow:n,iconProps:r,noIcon:o,iconName:i,loadingIcon:a,styles:l,...s}=e,u=void 0===i?rI()?"ChevronLeft":"ChevronRight":i,c=l?tI(aT(t,n),l):aT(t,n);return o?z.createElement(lk,{...s,styles:c}):r?z.createElement(lk,{...s,styles:c,iconProps:{iconName:u},disabled:a,onRenderIcon:()=>a?lT():null}):z.createElement(lk,{...s,styles:c,menuIconProps:{iconName:u},onRenderIcon:()=>a?lT():null})},uT=({setValue:t,isRegistering:n,errors:r,translation:o,config:i,submissionError:a,primaryColor:l,partnerData:s})=>{const[u,c]=z.useState(!1),[d,f]=z.useState(!1),[p,h]=z.useState(!1),m=l||"#00BAE4",g=s?`https://${s.domain}/terms-and-conditions`:"",v=o.PrivacyStatementLink,y=v&&!/^https?:\/\//.test(v)&&s?`https://${s.domain}${v}`:v;return H.createElement("div",null,H.createElement("div",{style:{margin:"20px 0"}},H.createElement(oT,{sitekey:"6LeSgOkgAAAAAG820G9BYrck3obgjOBn05IdJhom",onChange:e=>c(!!e)})),H.createElement(iT,{onRenderLabel:()=>H.createElement("span",{style:{margin:"0 8px",fontSize:14}},o.AcceptPrivacy," ",H.createElement("a",{href:y,target:"_blank",rel:"noopener noreferrer",style:{color:m}},o.PrivacyNotice)),styles:{root:{margin:"30px 0"}},onChange:(n,r)=>{t(e.FormModel.IsConsented,r),h(r)},disabled:n,primaryColor:m,fonts:i.theme?.fonts}),H.createElement(iT,{onRenderLabel:()=>H.createElement("span",{style:{margin:"0 8px",fontSize:14}},o.AcceptTerm," ",H.createElement("a",{href:g,target:"_blank",rel:"noopener noreferrer",style:{color:m}},o.TermCondition)),styles:{root:{margin:"30px 0"}},onChange:(n,r)=>{r?(f(!0),t(e.FormModel.ConsentedDate,new Date)):(f(!1),t(e.FormModel.ConsentedDate,void 0))},disabled:n,primaryColor:m,fonts:i.theme?.fonts}),a&&H.createElement("div",{style:{backgroundColor:"#FDE7E9",border:"1px solid #DC3545",borderRadius:4,padding:"12px 16px",marginBottom:20,color:"#DC3545",fontSize:14,display:"flex",alignItems:"center",gap:8}},H.createElement("span",{style:{fontSize:16,fontWeight:600}},"⚠"),H.createElement("span",null,a)),H.createElement(sT,{text:o.SubmitRequest,primaryColor:m,styles:{root:{display:"block",width:"100%"}},type:"submit",disabled:Object.keys(r).length>0||n||!d||!p||!u,onRenderMenuIcon:(e,t)=>n?H.createElement(EE,{size:cE.medium}):t?t():null}))},cT="ColorWidget",dT="KnownProductFrom",fT=({config:t})=>{const[n,r]=z.useState(),[o,i]=z.useState(),a=Rf(t),l=a.apiBaseUrl||"https://portal.selfserviceassessment.com",s=z.useMemo(()=>new im(l,a.partnerGuid),[l,a.partnerGuid]),u=z.useMemo(()=>new im(n?.domain?new URL(`https://${n?.domain}`).toString():"",a.partnerGuid),[n?.domain,a.partnerGuid]),c=z.useMemo(()=>UF(a.theme?.primaryColor||o?.column1,a.theme?.fonts,a.theme?.backgroundColor),[a.theme?.primaryColor,a.theme?.fonts,a.theme?.backgroundColor,o?.column1]),[d,f]=z.useState(!1),[p,h]=z.useState(!1),[m,g]=z.useState(""),[v,y]=z.useState(),[b,_]=z.useState(),[C,w]=z.useState(e.FormDataModels.CompanySizeDropdownOptions),[S,x]=z.useState(e.FormDataModels.IndustryOptions),[k,E]=z.useState(),[F,I]=z.useState(),[T,P]=z.useState(!1),[R,D]=z.useState(!1),[M,O]=z.useState(!1),[A,L]=z.useState(!1),[N,B]=z.useState(!1),[V,W]=z.useState(!1),[U,j]=z.useState(!1),K=T||R||M||A||N,q=z.useMemo(()=>{const e=n?.supportedLanguages?n.supportedLanguages.split(",").map(e=>e.trim()):[];return Pf.isEmpty(e)?$h:$h.filter(t=>e.includes(t.data.code))},[n?.supportedLanguages]),G=z.useMemo(()=>{const e=a.languageCode||n?.languageCode||"en";return q.find(t=>t.data.code===e)?.text||"English"},[a.languageCode,n?.languageCode,q]),{handleSubmit:$,setValue:Q,setError:Z,control:Y,watch:J,clearErrors:X,trigger:ee,formState:{errors:te}}=function(e={}){const t=H.useRef(void 0),n=H.useRef(void 0),[r,o]=H.useState({isDirty:!1,isValidating:!1,isLoading:dd(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:dd(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!dd(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:n,...o}=kf(e);t.current={...o,formState:r}}const i=t.current.control;return i._options=e,Ld(()=>{const e=i._subscribe({formState:i._proxyFormState,callback:()=>o({...i._formState}),reRenderRoot:!0});return o(e=>({...e,isReady:!0})),i._formState.isReady=!0,e},[i]),H.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),H.useEffect(()=>{e.mode&&(i._options.mode=e.mode),e.reValidateMode&&(i._options.reValidateMode=e.reValidateMode)},[i,e.mode,e.reValidateMode]),H.useEffect(()=>{e.errors&&(i._setErrors(e.errors),i._focusError())},[i,e.errors]),H.useEffect(()=>{e.shouldUnregister&&i._subjects.state.next({values:i._getWatch()})},[i,e.shouldUnregister]),H.useEffect(()=>{if(i._proxyFormState.isDirty){const e=i._getDirty();e!==r.isDirty&&i._subjects.state.next({isDirty:e})}},[i,r.isDirty]),H.useEffect(()=>{var t;e.values&&!Hd(e.values,n.current)?(i._reset(e.values,{keepFieldsRef:!0,...i._options.resetOptions}),(null===(t=i._options.resetOptions)||void 0===t?void 0:t.keepIsValid)||i._setValid(),n.current=e.values,o(e=>({...e}))):i._resetDefaultValues()},[i,e.values]),H.useEffect(()=>{i._state.mount||(i._setValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),t.current.formState=H.useMemo(()=>Ad(r,i),[i,r]),t.current}({defaultValues:{orgSizingId:1,isSharedMail:!0,isConsented:!1,consentedDate:void 0,preferredLanguage:G,assessmentProgresses:[]},mode:"all"});z.useEffect(()=>{L(!0),s.getPartnerByGuid(a.partnerGuid).then(e=>{e?r(e):W(!0)}).catch(e=>{console.error("Failed to load partner:",e),W(!0)}).finally(()=>{L(!1)})},[a.partnerGuid,s]),z.useEffect(()=>{if(!n)return;P(!0),u.getCountries().then(e=>{_(e.sort((e,t)=>e.name.localeCompare(t.name)).map(e=>({key:e.alpha2Code,text:e.name})))}).catch(e=>{console.error("Failed to load countries:",e),403===e.status&&j(!0)}).finally(()=>{P(!1)}),D(!0),u.getOrgSizes().then(e=>{w(e.filter(e=>null!=e.microsoftSizingId).sort((e,t)=>e.sortOrder-t.sortOrder).map(t=>({key:t.id,text:t.label||(t.sortOrder!==e.length-1?`${t.sizeLowerBound}-${t.sizeUpperBound}`:`${t.sizeLowerBound}+`)})))}).catch(e=>{console.error("Failed to load org sizes:",e),403===e.status&&j(!0)}).finally(()=>{D(!1)}),O(!0),u.getIndustries().then(e=>{x(e.map(e=>({key:e.id,text:e.name})))}).catch(e=>{console.error("Failed to load industries:",e),403===e.status&&j(!0)}).finally(()=>{O(!1)}),B(!0);const e=a.languageCode||n.languageCode||"en";u.getFormScreenLocalization(e,n.id).then(e=>{E(e)}).catch(e=>{console.error("Failed to load localization:",e)}).finally(()=>{B(!1)})},[u,n,a.languageCode]);const ne=Vd({control:Y,name:e.FormModel.Country});z.useEffect(()=>{"AU"===ne&&"Microsoft"===n?.partnerName&&Q(e.FormModel.PreferredLanguage,"English")},[ne,Q,n]);const re=z.useMemo(()=>{if(!k)return Qh.en.formScreen;const e=Qh.en.formScreen,t={},n=k;for(const[r,o]of Object.entries(e))t[r]=n[o]||o;return t},[k]);return z.useEffect(()=>{if(!n)return void i(void 0);const e=n.partnerSettings?.find(e=>e.settingKey===cT);if(e?.settingValue)try{const t=JSON.parse(e.settingValue);i(t)}catch(e){console.error("Failed to parse ColorWidget setting:",e),i(void 0)}else i(void 0)},[n]),z.useEffect(()=>{if(!n||!k)return void I(void 0);const e=n.partnerSettings?.filter(e=>e.settingKey===dT),t=e&&e.length>0?e[0].settingValue:void 0;if(!t)return void I(void 0);const r=parseInt(t,10);if(isNaN(r)||r<=0)return void I(void 0);const o=[],i=k;for(let e=1;e<=r;e++){const t=`hear_about_${e}`,n=i[t]||`Option ${e}`;o.push({key:t,text:n})}I(o)},[n,k]),m?H.createElement("div",{className:c.mainContainer},H.createElement("div",{className:c.thankyouTopWrapper},H.createElement("div",{className:c.finalStepContainer},H.createElement("div",{className:c.textBlock},H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.heading,fontWeight:700}},re.ThankYou),H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.subheading,margin:"20px 0",lineHeight:"30px"}},re.ThankYouDesc),H.createElement("div",{style:{fontSize:18,margin:"20px 0",color:a.theme?.primaryColor||o?.column1||"#00BAE4",textUnderlinePosition:"under"}},m))))):H.createElement("div",{className:c.mainContainer},H.createElement("div",{className:c.topWrapper,style:a.customStyles?.topWrapper},K?H.createElement(EE,{label:"Loading form data...",styles:{root:{marginBottom:"20px"}}}):V?H.createElement("div",{style:{textAlign:"center",padding:"40px 20px",color:"#605e5c"}},H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.heading||24,fontWeight:700,marginBottom:16}},"Access Not Available"),H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.subheading||16,lineHeight:"28px"}},"Your company is not eligible to use this form. Please contact your administrator for assistance.")):U?H.createElement("div",{style:{textAlign:"center",padding:"40px 20px",color:"#605e5c"}},H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.heading||24,fontWeight:700,marginBottom:16}},"Domain Not Whitelisted"),H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.subheading||16,lineHeight:"28px"}},"Your company has not registered this domain into the whitelist. Please contact QSSolutions admin to add it.")):H.createElement("form",{className:c.formWrapper,style:a.customStyles?.formWrapper,onSubmit:$(async t=>{f(!0),y(void 0);if(await u.checkMaintenanceStatus()){const e="System is under maintenance, please try again later";return a.onError&&a.onError(e),void f(!1)}Q(e.FormModel.Partner,n),Q(e.FormModel.PerfromedByPartner,p),u.addUser(J(),n?.partnerName||"",window.location.hostname).then(t=>{const n=J(e.FormModel.Email);g(n),a.onSuccess&&a.onSuccess(n)}).catch(e=>{const t=e?.response?.data;let n;if(t?.errors)n=Object.values(t.errors).flat().join(" ");else{const r=t?.title||e?.message||e;n=k?.[r]||r||"Registration failed"}a.onError&&a.onError(n),y(n)}).finally(()=>{f(!1)})}),noValidate:!0},H.createElement("div",{style:{textAlign:"center"}},H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.heading,fontWeight:700}},re.AppForm),H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.subheading,margin:"12px auto 24px",width:"85%",lineHeight:"30px"}},re.AppFormDesc)),H.createElement(oI,{isRegistering:d,setPerformByPartner:h,performByPartner:p,setValue:Q,setError:Z,clearErrors:X,control:Y,errors:te,trigger:ee,watch:J,translation:re,config:a,apiService:u,styles:c,countryOptions:b,orgSizingOptions:C,orgIndustryOptions:S,hearAboutOptions:F,partnerData:n,primaryColor:a.theme?.primaryColor||o?.column1}),H.createElement(uT,{setValue:Q,isRegistering:d,errors:te,translation:re,config:a,submissionError:v,primaryColor:a.theme?.primaryColor||o?.column1,partnerData:n}))))};!function(e,t){var n,r;void 0===e&&(e=(null===(n=null==WF?void 0:WF.FabricConfig)||void 0===n?void 0:n.iconBaseUrl)||(null===(r=null==WF?void 0:WF.FabricConfig)||void 0===r?void 0:r.fontBaseUrl)||VF),[wF,SF,xF,kF,EF,FF,IF,TF,PF,RF,DF,MF,OF,AF,LF,NF,BF,zF,HF].forEach(function(n){return n(e,t)}),Cb("trash","delete"),Cb("onedrive","onedrivelogo"),Cb("alertsolid12","eventdatemissed12"),Cb("sixpointstar","6pointstar"),Cb("twelvepointstar","12pointstar"),Cb("toggleon","toggleleft"),Cb("toggleoff","toggleright")}();class pT extends HTMLElement{constructor(){super(),this.root=null,this._config=null}static get observedAttributes(){return["config"]}connectedCallback(){this._config&&this.render()}disconnectedCallback(){this.root&&(this.root.unmount(),this.root=null)}attributeChangedCallback(e,t,n){if("config"===e&&t!==n)try{this._config=JSON.parse(n),this.render()}catch(e){console.error("Invalid config JSON:",e)}}set config(e){this._config=e,this.render()}render(){let e=this.querySelector("div.ssas-form-container");e||(e=document.createElement("div"),e.className="ssas-form-container",e.style.width="100%",e.style.height="100%",this.appendChild(e));let t=this._config;if(!t){const e=this.getAttribute("config");if(e)try{t=JSON.parse(e)}catch(e){return void console.error("Invalid config attribute:",e)}}t?(this.root||(this.root=V.createRoot(e)),this.root.render(H.createElement(fT,{config:t})),this.dispatchEvent(new CustomEvent("ssas-form-ready",{bubbles:!0,composed:!0,detail:{config:t}}))):console.error("No configuration provided to ssas-registration-form")}}return"undefined"==typeof window||customElements.get("ssas-registration-form")||customElements.define("ssas-registration-form",pT),e.ApiService=im,e.DEFAULT_TRANSLATIONS=Qh,e.EMAIL_PATTERN=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,e.LANGUAGE_OPTIONS=$h,e.SSASFormElement=pT,e.SSASRegistrationForm=fT,e.choiceGroupStyles=GF,e.createFormStyles=UF,e.textFieldStyles=jF,e.useFormConfig=Rf,e}({});
28
+ */!function(e,t){(function(){var n,o="Expected a function",a="__lodash_hash_undefined__",i="__lodash_placeholder__",l=16,s=32,c=64,u=128,d=256,f=1/0,p=9007199254740991,h=NaN,m=4294967295,g=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",s],["partialRight",c],["rearg",d]],v="[object Arguments]",b="[object Array]",y="[object Boolean]",w="[object Date]",k="[object Error]",x="[object Function]",_="[object GeneratorFunction]",S="[object Map]",B="[object Number]",E="[object Object]",C="[object Promise]",z="[object RegExp]",N="[object Set]",T="[object String]",F="[object Symbol]",R="[object WeakMap]",P="[object ArrayBuffer]",O="[object DataView]",j="[object Float32Array]",D="[object Float64Array]",A="[object Int8Array]",I="[object Int16Array]",q="[object Int32Array]",L="[object Uint8Array]",M="[object Uint8ClampedArray]",H="[object Uint16Array]",V="[object Uint32Array]",W=/\b__p \+= '';/g,U=/\b(__p \+=) '' \+/g,$=/(__e\(.*?\)|\b__t\)) \+\n'';/g,X=/&(?:amp|lt|gt|quot|#39);/g,G=/[&<>"']/g,K=RegExp(X.source),Q=RegExp(G.source),J=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,te=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ne=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(ne.source),ae=/^\s+/,ie=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,he=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ke=/($^)/,xe=/['\n\r\u2028\u2029\\]/g,_e="\\ud800-\\udfff",Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Be="\\u2700-\\u27bf",Ee="a-z\\xdf-\\xf6\\xf8-\\xff",Ce="A-Z\\xc0-\\xd6\\xd8-\\xde",ze="\\ufe0e\\ufe0f",Ne="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Te="['’]",Fe="["+_e+"]",Re="["+Ne+"]",Pe="["+Se+"]",Oe="\\d+",je="["+Be+"]",De="["+Ee+"]",Ae="[^"+_e+Ne+Oe+Be+Ee+Ce+"]",Ie="\\ud83c[\\udffb-\\udfff]",qe="[^"+_e+"]",Le="(?:\\ud83c[\\udde6-\\uddff]){2}",Me="[\\ud800-\\udbff][\\udc00-\\udfff]",He="["+Ce+"]",Ve="\\u200d",We="(?:"+De+"|"+Ae+")",Ue="(?:"+He+"|"+Ae+")",$e="(?:['’](?:d|ll|m|re|s|t|ve))?",Xe="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ge="(?:"+Pe+"|"+Ie+")"+"?",Ke="["+ze+"]?",Qe=Ke+Ge+("(?:"+Ve+"(?:"+[qe,Le,Me].join("|")+")"+Ke+Ge+")*"),Je="(?:"+[je,Le,Me].join("|")+")"+Qe,Ye="(?:"+[qe+Pe+"?",Pe,Le,Me,Fe].join("|")+")",Ze=RegExp(Te,"g"),et=RegExp(Pe,"g"),tt=RegExp(Ie+"(?="+Ie+")|"+Ye+Qe,"g"),rt=RegExp([He+"?"+De+"+"+$e+"(?="+[Re,He,"$"].join("|")+")",Ue+"+"+Xe+"(?="+[Re,He+We,"$"].join("|")+")",He+"?"+We+"+"+$e,He+"+"+Xe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Oe,Je].join("|"),"g"),nt=RegExp("["+Ve+_e+Se+ze+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,lt={};lt[j]=lt[D]=lt[A]=lt[I]=lt[q]=lt[L]=lt[M]=lt[H]=lt[V]=!0,lt[v]=lt[b]=lt[P]=lt[y]=lt[O]=lt[w]=lt[k]=lt[x]=lt[S]=lt[B]=lt[E]=lt[z]=lt[N]=lt[T]=lt[R]=!1;var st={};st[v]=st[b]=st[P]=st[O]=st[y]=st[w]=st[j]=st[D]=st[A]=st[I]=st[q]=st[S]=st[B]=st[E]=st[z]=st[N]=st[T]=st[F]=st[L]=st[M]=st[H]=st[V]=!0,st[k]=st[x]=st[R]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,dt=parseInt,ft="object"==typeof r&&r&&r.Object===Object&&r,pt="object"==typeof self&&self&&self.Object===Object&&self,ht=ft||pt||Function("return this")(),mt=t&&!t.nodeType&&t,gt=mt&&e&&!e.nodeType&&e,vt=gt&&gt.exports===mt,bt=vt&&ft.process,yt=function(){try{var e=gt&&gt.require&&gt.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(e){}}(),wt=yt&&yt.isArrayBuffer,kt=yt&&yt.isDate,xt=yt&&yt.isMap,_t=yt&&yt.isRegExp,St=yt&&yt.isSet,Bt=yt&&yt.isTypedArray;function Et(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Ct(e,t,r,n){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(n,i,r(i),e)}return n}function zt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}function Nt(e,t){for(var r=null==e?0:e.length;r--&&!1!==t(e[r],r,e););return e}function Tt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}function Ft(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a}function Rt(e,t){return!!(null==e?0:e.length)&&Ht(e,t,0)>-1}function Pt(e,t,r){for(var n=-1,o=null==e?0:e.length;++n<o;)if(r(t,e[n]))return!0;return!1}function Ot(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}function jt(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}function Dt(e,t,r,n){var o=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++o]);++o<a;)r=t(r,e[o],o,e);return r}function At(e,t,r,n){var o=null==e?0:e.length;for(n&&o&&(r=e[--o]);o--;)r=t(r,e[o],o,e);return r}function It(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var qt=$t("length");function Lt(e,t,r){var n;return r(e,function(e,r,o){if(t(e,r,o))return n=r,!1}),n}function Mt(e,t,r,n){for(var o=e.length,a=r+(n?1:-1);n?a--:++a<o;)if(t(e[a],a,e))return a;return-1}function Ht(e,t,r){return t==t?function(e,t,r){var n=r-1,o=e.length;for(;++n<o;)if(e[n]===t)return n;return-1}(e,t,r):Mt(e,Wt,r)}function Vt(e,t,r,n){for(var o=r-1,a=e.length;++o<a;)if(n(e[o],t))return o;return-1}function Wt(e){return e!=e}function Ut(e,t){var r=null==e?0:e.length;return r?Kt(e,t)/r:h}function $t(e){return function(t){return null==t?n:t[e]}}function Xt(e){return function(t){return null==e?n:e[t]}}function Gt(e,t,r,n,o){return o(e,function(e,o,a){r=n?(n=!1,e):t(r,e,o,a)}),r}function Kt(e,t){for(var r,o=-1,a=e.length;++o<a;){var i=t(e[o]);i!==n&&(r=r===n?i:r+i)}return r}function Qt(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function Jt(e){return e?e.slice(0,hr(e)+1).replace(ae,""):e}function Yt(e){return function(t){return e(t)}}function Zt(e,t){return Ot(t,function(t){return e[t]})}function er(e,t){return e.has(t)}function tr(e,t){for(var r=-1,n=e.length;++r<n&&Ht(t,e[r],0)>-1;);return r}function rr(e,t){for(var r=e.length;r--&&Ht(t,e[r],0)>-1;);return r}var nr=Xt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),or=Xt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function ar(e){return"\\"+ct[e]}function ir(e){return nt.test(e)}function lr(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function sr(e,t){return function(r){return e(t(r))}}function cr(e,t){for(var r=-1,n=e.length,o=0,a=[];++r<n;){var l=e[r];l!==t&&l!==i||(e[r]=i,a[o++]=r)}return a}function ur(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}function dr(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=[e,e]}),r}function fr(e){return ir(e)?function(e){var t=tt.lastIndex=0;for(;tt.test(e);)++t;return t}(e):qt(e)}function pr(e){return ir(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.split("")}(e)}function hr(e){for(var t=e.length;t--&&ie.test(e.charAt(t)););return t}var mr=Xt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var gr=function e(t){var r,ie=(t=null==t?ht:gr.defaults(ht.Object(),t,gr.pick(ht,at))).Array,_e=t.Date,Se=t.Error,Be=t.Function,Ee=t.Math,Ce=t.Object,ze=t.RegExp,Ne=t.String,Te=t.TypeError,Fe=ie.prototype,Re=Be.prototype,Pe=Ce.prototype,Oe=t["__core-js_shared__"],je=Re.toString,De=Pe.hasOwnProperty,Ae=0,Ie=(r=/[^.]+$/.exec(Oe&&Oe.keys&&Oe.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",qe=Pe.toString,Le=je.call(Ce),Me=ht._,He=ze("^"+je.call(De).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ve=vt?t.Buffer:n,We=t.Symbol,Ue=t.Uint8Array,$e=Ve?Ve.allocUnsafe:n,Xe=sr(Ce.getPrototypeOf,Ce),Ge=Ce.create,Ke=Pe.propertyIsEnumerable,Qe=Fe.splice,Je=We?We.isConcatSpreadable:n,Ye=We?We.iterator:n,tt=We?We.toStringTag:n,nt=function(){try{var e=pa(Ce,"defineProperty");return e({},"",{}),e}catch(e){}}(),ct=t.clearTimeout!==ht.clearTimeout&&t.clearTimeout,ft=_e&&_e.now!==ht.Date.now&&_e.now,pt=t.setTimeout!==ht.setTimeout&&t.setTimeout,mt=Ee.ceil,gt=Ee.floor,bt=Ce.getOwnPropertySymbols,yt=Ve?Ve.isBuffer:n,qt=t.isFinite,Xt=Fe.join,vr=sr(Ce.keys,Ce),br=Ee.max,yr=Ee.min,wr=_e.now,kr=t.parseInt,xr=Ee.random,_r=Fe.reverse,Sr=pa(t,"DataView"),Br=pa(t,"Map"),Er=pa(t,"Promise"),Cr=pa(t,"Set"),zr=pa(t,"WeakMap"),Nr=pa(Ce,"create"),Tr=zr&&new zr,Fr={},Rr=qa(Sr),Pr=qa(Br),Or=qa(Er),jr=qa(Cr),Dr=qa(zr),Ar=We?We.prototype:n,Ir=Ar?Ar.valueOf:n,qr=Ar?Ar.toString:n;function Lr(e){if(rl(e)&&!Ui(e)&&!(e instanceof Wr)){if(e instanceof Vr)return e;if(De.call(e,"__wrapped__"))return La(e)}return new Vr(e)}var Mr=function(){function e(){}return function(t){if(!tl(t))return{};if(Ge)return Ge(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function Hr(){}function Vr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function Wr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Ur(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function $r(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Xr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Gr(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Xr;++t<r;)this.add(e[t])}function Kr(e){var t=this.__data__=new $r(e);this.size=t.size}function Qr(e,t){var r=Ui(e),n=!r&&Wi(e),o=!r&&!n&&Ki(e),a=!r&&!n&&!o&&ul(e),i=r||n||o||a,l=i?Qt(e.length,Ne):[],s=l.length;for(var c in e)!t&&!De.call(e,c)||i&&("length"==c||o&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||wa(c,s))||l.push(c);return l}function Jr(e){var t=e.length;return t?e[Kn(0,t-1)]:n}function Yr(e,t){return Da(Fo(e),sn(t,0,e.length))}function Zr(e){return Da(Fo(e))}function en(e,t,r){(r!==n&&!Mi(e[t],r)||r===n&&!(t in e))&&an(e,t,r)}function tn(e,t,r){var o=e[t];De.call(e,t)&&Mi(o,r)&&(r!==n||t in e)||an(e,t,r)}function rn(e,t){for(var r=e.length;r--;)if(Mi(e[r][0],t))return r;return-1}function nn(e,t,r,n){return pn(e,function(e,o,a){t(n,e,r(e),a)}),n}function on(e,t){return e&&Ro(t,Rl(t),e)}function an(e,t,r){"__proto__"==t&&nt?nt(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function ln(e,t){for(var r=-1,o=t.length,a=ie(o),i=null==e;++r<o;)a[r]=i?n:Cl(e,t[r]);return a}function sn(e,t,r){return e==e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function cn(e,t,r,o,a,i){var l,s=1&t,c=2&t,u=4&t;if(r&&(l=a?r(e,o,a,i):r(e)),l!==n)return l;if(!tl(e))return e;var d=Ui(e);if(d){if(l=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&De.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!s)return Fo(e,l)}else{var f=ga(e),p=f==x||f==_;if(Ki(e))return Bo(e,s);if(f==E||f==v||p&&!a){if(l=c||p?{}:ba(e),!s)return c?function(e,t){return Ro(e,ma(e),t)}(e,function(e,t){return e&&Ro(t,Pl(t),e)}(l,e)):function(e,t){return Ro(e,ha(e),t)}(e,on(l,e))}else{if(!st[f])return a?e:{};l=function(e,t,r){var n=e.constructor;switch(t){case P:return Eo(e);case y:case w:return new n(+e);case O:return function(e,t){var r=t?Eo(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case j:case D:case A:case I:case q:case L:case M:case H:case V:return Co(e,r);case S:return new n;case B:case T:return new n(e);case z:return function(e){var t=new e.constructor(e.source,he.exec(e));return t.lastIndex=e.lastIndex,t}(e);case N:return new n;case F:return o=e,Ir?Ce(Ir.call(o)):{}}var o}(e,f,s)}}i||(i=new Kr);var h=i.get(e);if(h)return h;i.set(e,l),ll(e)?e.forEach(function(n){l.add(cn(n,t,r,n,e,i))}):nl(e)&&e.forEach(function(n,o){l.set(o,cn(n,t,r,o,e,i))});var m=d?n:(u?c?ia:aa:c?Pl:Rl)(e);return zt(m||e,function(n,o){m&&(n=e[o=n]),tn(l,o,cn(n,t,r,o,e,i))}),l}function un(e,t,r){var o=r.length;if(null==e)return!o;for(e=Ce(e);o--;){var a=r[o],i=t[a],l=e[a];if(l===n&&!(a in e)||!i(l))return!1}return!0}function dn(e,t,r){if("function"!=typeof e)throw new Te(o);return Ra(function(){e.apply(n,r)},t)}function fn(e,t,r,n){var o=-1,a=Rt,i=!0,l=e.length,s=[],c=t.length;if(!l)return s;r&&(t=Ot(t,Yt(r))),n?(a=Pt,i=!1):t.length>=200&&(a=er,i=!1,t=new Gr(t));e:for(;++o<l;){var u=e[o],d=null==r?u:r(u);if(u=n||0!==u?u:0,i&&d==d){for(var f=c;f--;)if(t[f]===d)continue e;s.push(u)}else a(t,d,n)||s.push(u)}return s}Lr.templateSettings={escape:J,evaluate:Y,interpolate:Z,variable:"",imports:{_:Lr}},Lr.prototype=Hr.prototype,Lr.prototype.constructor=Lr,Vr.prototype=Mr(Hr.prototype),Vr.prototype.constructor=Vr,Wr.prototype=Mr(Hr.prototype),Wr.prototype.constructor=Wr,Ur.prototype.clear=function(){this.__data__=Nr?Nr(null):{},this.size=0},Ur.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ur.prototype.get=function(e){var t=this.__data__;if(Nr){var r=t[e];return r===a?n:r}return De.call(t,e)?t[e]:n},Ur.prototype.has=function(e){var t=this.__data__;return Nr?t[e]!==n:De.call(t,e)},Ur.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Nr&&t===n?a:t,this},$r.prototype.clear=function(){this.__data__=[],this.size=0},$r.prototype.delete=function(e){var t=this.__data__,r=rn(t,e);return!(r<0)&&(r==t.length-1?t.pop():Qe.call(t,r,1),--this.size,!0)},$r.prototype.get=function(e){var t=this.__data__,r=rn(t,e);return r<0?n:t[r][1]},$r.prototype.has=function(e){return rn(this.__data__,e)>-1},$r.prototype.set=function(e,t){var r=this.__data__,n=rn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Xr.prototype.clear=function(){this.size=0,this.__data__={hash:new Ur,map:new(Br||$r),string:new Ur}},Xr.prototype.delete=function(e){var t=da(this,e).delete(e);return this.size-=t?1:0,t},Xr.prototype.get=function(e){return da(this,e).get(e)},Xr.prototype.has=function(e){return da(this,e).has(e)},Xr.prototype.set=function(e,t){var r=da(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Gr.prototype.add=Gr.prototype.push=function(e){return this.__data__.set(e,a),this},Gr.prototype.has=function(e){return this.__data__.has(e)},Kr.prototype.clear=function(){this.__data__=new $r,this.size=0},Kr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Kr.prototype.get=function(e){return this.__data__.get(e)},Kr.prototype.has=function(e){return this.__data__.has(e)},Kr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof $r){var n=r.__data__;if(!Br||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Xr(n)}return r.set(e,t),this.size=r.size,this};var pn=jo(kn),hn=jo(xn,!0);function mn(e,t){var r=!0;return pn(e,function(e,n,o){return r=!!t(e,n,o)}),r}function gn(e,t,r){for(var o=-1,a=e.length;++o<a;){var i=e[o],l=t(i);if(null!=l&&(s===n?l==l&&!cl(l):r(l,s)))var s=l,c=i}return c}function vn(e,t){var r=[];return pn(e,function(e,n,o){t(e,n,o)&&r.push(e)}),r}function bn(e,t,r,n,o){var a=-1,i=e.length;for(r||(r=ya),o||(o=[]);++a<i;){var l=e[a];t>0&&r(l)?t>1?bn(l,t-1,r,n,o):jt(o,l):n||(o[o.length]=l)}return o}var yn=Do(),wn=Do(!0);function kn(e,t){return e&&yn(e,t,Rl)}function xn(e,t){return e&&wn(e,t,Rl)}function _n(e,t){return Ft(t,function(t){return Yi(e[t])})}function Sn(e,t){for(var r=0,o=(t=ko(t,e)).length;null!=e&&r<o;)e=e[Ia(t[r++])];return r&&r==o?e:n}function Bn(e,t,r){var n=t(e);return Ui(e)?n:jt(n,r(e))}function En(e){return null==e?e===n?"[object Undefined]":"[object Null]":tt&&tt in Ce(e)?function(e){var t=De.call(e,tt),r=e[tt];try{e[tt]=n;var o=!0}catch(e){}var a=qe.call(e);o&&(t?e[tt]=r:delete e[tt]);return a}(e):function(e){return qe.call(e)}(e)}function Cn(e,t){return e>t}function zn(e,t){return null!=e&&De.call(e,t)}function Nn(e,t){return null!=e&&t in Ce(e)}function Tn(e,t,r){for(var o=r?Pt:Rt,a=e[0].length,i=e.length,l=i,s=ie(i),c=1/0,u=[];l--;){var d=e[l];l&&t&&(d=Ot(d,Yt(t))),c=yr(d.length,c),s[l]=!r&&(t||a>=120&&d.length>=120)?new Gr(l&&d):n}d=e[0];var f=-1,p=s[0];e:for(;++f<a&&u.length<c;){var h=d[f],m=t?t(h):h;if(h=r||0!==h?h:0,!(p?er(p,m):o(u,m,r))){for(l=i;--l;){var g=s[l];if(!(g?er(g,m):o(e[l],m,r)))continue e}p&&p.push(m),u.push(h)}}return u}function Fn(e,t,r){var o=null==(e=Na(e,t=ko(t,e)))?e:e[Ia(Ja(t))];return null==o?n:Et(o,e,r)}function Rn(e){return rl(e)&&En(e)==v}function Pn(e,t,r,o,a){return e===t||(null==e||null==t||!rl(e)&&!rl(t)?e!=e&&t!=t:function(e,t,r,o,a,i){var l=Ui(e),s=Ui(t),c=l?b:ga(e),u=s?b:ga(t),d=(c=c==v?E:c)==E,f=(u=u==v?E:u)==E,p=c==u;if(p&&Ki(e)){if(!Ki(t))return!1;l=!0,d=!1}if(p&&!d)return i||(i=new Kr),l||ul(e)?na(e,t,r,o,a,i):function(e,t,r,n,o,a,i){switch(r){case O:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case P:return!(e.byteLength!=t.byteLength||!a(new Ue(e),new Ue(t)));case y:case w:case B:return Mi(+e,+t);case k:return e.name==t.name&&e.message==t.message;case z:case T:return e==t+"";case S:var l=lr;case N:var s=1&n;if(l||(l=ur),e.size!=t.size&&!s)return!1;var c=i.get(e);if(c)return c==t;n|=2,i.set(e,t);var u=na(l(e),l(t),n,o,a,i);return i.delete(e),u;case F:if(Ir)return Ir.call(e)==Ir.call(t)}return!1}(e,t,c,r,o,a,i);if(!(1&r)){var h=d&&De.call(e,"__wrapped__"),m=f&&De.call(t,"__wrapped__");if(h||m){var g=h?e.value():e,x=m?t.value():t;return i||(i=new Kr),a(g,x,r,o,i)}}if(!p)return!1;return i||(i=new Kr),function(e,t,r,o,a,i){var l=1&r,s=aa(e),c=s.length,u=aa(t),d=u.length;if(c!=d&&!l)return!1;var f=c;for(;f--;){var p=s[f];if(!(l?p in t:De.call(t,p)))return!1}var h=i.get(e),m=i.get(t);if(h&&m)return h==t&&m==e;var g=!0;i.set(e,t),i.set(t,e);var v=l;for(;++f<c;){var b=e[p=s[f]],y=t[p];if(o)var w=l?o(y,b,p,t,e,i):o(b,y,p,e,t,i);if(!(w===n?b===y||a(b,y,r,o,i):w)){g=!1;break}v||(v="constructor"==p)}if(g&&!v){var k=e.constructor,x=t.constructor;k==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof k&&k instanceof k&&"function"==typeof x&&x instanceof x||(g=!1)}return i.delete(e),i.delete(t),g}(e,t,r,o,a,i)}(e,t,r,o,Pn,a))}function On(e,t,r,o){var a=r.length,i=a,l=!o;if(null==e)return!i;for(e=Ce(e);a--;){var s=r[a];if(l&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<i;){var c=(s=r[a])[0],u=e[c],d=s[1];if(l&&s[2]){if(u===n&&!(c in e))return!1}else{var f=new Kr;if(o)var p=o(u,d,c,e,t,f);if(!(p===n?Pn(d,u,3,o,f):p))return!1}}return!0}function jn(e){return!(!tl(e)||(t=e,Ie&&Ie in t))&&(Yi(e)?He:ve).test(qa(e));var t}function Dn(e){return"function"==typeof e?e:null==e?os:"object"==typeof e?Ui(e)?Hn(e[0],e[1]):Mn(e):ps(e)}function An(e){if(!Ba(e))return vr(e);var t=[];for(var r in Ce(e))De.call(e,r)&&"constructor"!=r&&t.push(r);return t}function In(e){if(!tl(e))return function(e){var t=[];if(null!=e)for(var r in Ce(e))t.push(r);return t}(e);var t=Ba(e),r=[];for(var n in e)("constructor"!=n||!t&&De.call(e,n))&&r.push(n);return r}function qn(e,t){return e<t}function Ln(e,t){var r=-1,n=Xi(e)?ie(e.length):[];return pn(e,function(e,o,a){n[++r]=t(e,o,a)}),n}function Mn(e){var t=fa(e);return 1==t.length&&t[0][2]?Ca(t[0][0],t[0][1]):function(r){return r===e||On(r,e,t)}}function Hn(e,t){return xa(e)&&Ea(t)?Ca(Ia(e),t):function(r){var o=Cl(r,e);return o===n&&o===t?zl(r,e):Pn(t,o,3)}}function Vn(e,t,r,o,a){e!==t&&yn(t,function(i,l){if(a||(a=new Kr),tl(i))!function(e,t,r,o,a,i,l){var s=Ta(e,r),c=Ta(t,r),u=l.get(c);if(u)return void en(e,r,u);var d=i?i(s,c,r+"",e,t,l):n,f=d===n;if(f){var p=Ui(c),h=!p&&Ki(c),m=!p&&!h&&ul(c);d=c,p||h||m?Ui(s)?d=s:Gi(s)?d=Fo(s):h?(f=!1,d=Bo(c,!0)):m?(f=!1,d=Co(c,!0)):d=[]:al(c)||Wi(c)?(d=s,Wi(s)?d=bl(s):tl(s)&&!Yi(s)||(d=ba(c))):f=!1}f&&(l.set(c,d),a(d,c,o,i,l),l.delete(c));en(e,r,d)}(e,t,l,r,Vn,o,a);else{var s=o?o(Ta(e,l),i,l+"",e,t,a):n;s===n&&(s=i),en(e,l,s)}},Pl)}function Wn(e,t){var r=e.length;if(r)return wa(t+=t<0?r:0,r)?e[t]:n}function Un(e,t,r){t=t.length?Ot(t,function(e){return Ui(e)?function(t){return Sn(t,1===e.length?e[0]:e)}:e}):[os];var n=-1;t=Ot(t,Yt(ua()));var o=Ln(e,function(e,r,o){var a=Ot(t,function(t){return t(e)});return{criteria:a,index:++n,value:e}});return function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}(o,function(e,t){return function(e,t,r){var n=-1,o=e.criteria,a=t.criteria,i=o.length,l=r.length;for(;++n<i;){var s=zo(o[n],a[n]);if(s)return n>=l?s:s*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)})}function $n(e,t,r){for(var n=-1,o=t.length,a={};++n<o;){var i=t[n],l=Sn(e,i);r(l,i)&&eo(a,ko(i,e),l)}return a}function Xn(e,t,r,n){var o=n?Vt:Ht,a=-1,i=t.length,l=e;for(e===t&&(t=Fo(t)),r&&(l=Ot(e,Yt(r)));++a<i;)for(var s=0,c=t[a],u=r?r(c):c;(s=o(l,u,s,n))>-1;)l!==e&&Qe.call(l,s,1),Qe.call(e,s,1);return e}function Gn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var o=t[r];if(r==n||o!==a){var a=o;wa(o)?Qe.call(e,o,1):po(e,o)}}return e}function Kn(e,t){return e+gt(xr()*(t-e+1))}function Qn(e,t){var r="";if(!e||t<1||t>p)return r;do{t%2&&(r+=e),(t=gt(t/2))&&(e+=e)}while(t);return r}function Jn(e,t){return Pa(za(e,t,os),e+"")}function Yn(e){return Jr(Ml(e))}function Zn(e,t){var r=Ml(e);return Da(r,sn(t,0,r.length))}function eo(e,t,r,o){if(!tl(e))return e;for(var a=-1,i=(t=ko(t,e)).length,l=i-1,s=e;null!=s&&++a<i;){var c=Ia(t[a]),u=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(a!=l){var d=s[c];(u=o?o(d,c,s):n)===n&&(u=tl(d)?d:wa(t[a+1])?[]:{})}tn(s,c,u),s=s[c]}return e}var to=Tr?function(e,t){return Tr.set(e,t),e}:os,ro=nt?function(e,t){return nt(e,"toString",{configurable:!0,enumerable:!1,value:ts(t),writable:!0})}:os;function no(e){return Da(Ml(e))}function oo(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=ie(o);++n<o;)a[n]=e[n+t];return a}function ao(e,t){var r;return pn(e,function(e,n,o){return!(r=t(e,n,o))}),!!r}function io(e,t,r){var n=0,o=null==e?n:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;n<o;){var a=n+o>>>1,i=e[a];null!==i&&!cl(i)&&(r?i<=t:i<t)?n=a+1:o=a}return o}return lo(e,t,os,r)}function lo(e,t,r,o){var a=0,i=null==e?0:e.length;if(0===i)return 0;for(var l=(t=r(t))!=t,s=null===t,c=cl(t),u=t===n;a<i;){var d=gt((a+i)/2),f=r(e[d]),p=f!==n,h=null===f,m=f==f,g=cl(f);if(l)var v=o||m;else v=u?m&&(o||p):s?m&&p&&(o||!h):c?m&&p&&!h&&(o||!g):!h&&!g&&(o?f<=t:f<t);v?a=d+1:i=d}return yr(i,4294967294)}function so(e,t){for(var r=-1,n=e.length,o=0,a=[];++r<n;){var i=e[r],l=t?t(i):i;if(!r||!Mi(l,s)){var s=l;a[o++]=0===i?0:i}}return a}function co(e){return"number"==typeof e?e:cl(e)?h:+e}function uo(e){if("string"==typeof e)return e;if(Ui(e))return Ot(e,uo)+"";if(cl(e))return qr?qr.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function fo(e,t,r){var n=-1,o=Rt,a=e.length,i=!0,l=[],s=l;if(r)i=!1,o=Pt;else if(a>=200){var c=t?null:Jo(e);if(c)return ur(c);i=!1,o=er,s=new Gr}else s=t?[]:l;e:for(;++n<a;){var u=e[n],d=t?t(u):u;if(u=r||0!==u?u:0,i&&d==d){for(var f=s.length;f--;)if(s[f]===d)continue e;t&&s.push(d),l.push(u)}else o(s,d,r)||(s!==l&&s.push(d),l.push(u))}return l}function po(e,t){var r=-1,n=(t=ko(t,e)).length;if(!n)return!0;for(;++r<n;){var o=Ia(t[r]);if("__proto__"===o&&!De.call(e,"__proto__"))return!1;if(("constructor"===o||"prototype"===o)&&r<n-1)return!1}var a=Na(e,t);return null==a||delete a[Ia(Ja(t))]}function ho(e,t,r,n){return eo(e,t,r(Sn(e,t)),n)}function mo(e,t,r,n){for(var o=e.length,a=n?o:-1;(n?a--:++a<o)&&t(e[a],a,e););return r?oo(e,n?0:a,n?a+1:o):oo(e,n?a+1:0,n?o:a)}function go(e,t){var r=e;return r instanceof Wr&&(r=r.value()),Dt(t,function(e,t){return t.func.apply(t.thisArg,jt([e],t.args))},r)}function vo(e,t,r){var n=e.length;if(n<2)return n?fo(e[0]):[];for(var o=-1,a=ie(n);++o<n;)for(var i=e[o],l=-1;++l<n;)l!=o&&(a[o]=fn(a[o]||i,e[l],t,r));return fo(bn(a,1),t,r)}function bo(e,t,r){for(var o=-1,a=e.length,i=t.length,l={};++o<a;){var s=o<i?t[o]:n;r(l,e[o],s)}return l}function yo(e){return Gi(e)?e:[]}function wo(e){return"function"==typeof e?e:os}function ko(e,t){return Ui(e)?e:xa(e,t)?[e]:Aa(yl(e))}var xo=Jn;function _o(e,t,r){var o=e.length;return r=r===n?o:r,!t&&r>=o?e:oo(e,t,r)}var So=ct||function(e){return ht.clearTimeout(e)};function Bo(e,t){if(t)return e.slice();var r=e.length,n=$e?$e(r):new e.constructor(r);return e.copy(n),n}function Eo(e){var t=new e.constructor(e.byteLength);return new Ue(t).set(new Ue(e)),t}function Co(e,t){var r=t?Eo(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function zo(e,t){if(e!==t){var r=e!==n,o=null===e,a=e==e,i=cl(e),l=t!==n,s=null===t,c=t==t,u=cl(t);if(!s&&!u&&!i&&e>t||i&&l&&c&&!s&&!u||o&&l&&c||!r&&c||!a)return 1;if(!o&&!i&&!u&&e<t||u&&r&&a&&!o&&!i||s&&r&&a||!l&&a||!c)return-1}return 0}function No(e,t,r,n){for(var o=-1,a=e.length,i=r.length,l=-1,s=t.length,c=br(a-i,0),u=ie(s+c),d=!n;++l<s;)u[l]=t[l];for(;++o<i;)(d||o<a)&&(u[r[o]]=e[o]);for(;c--;)u[l++]=e[o++];return u}function To(e,t,r,n){for(var o=-1,a=e.length,i=-1,l=r.length,s=-1,c=t.length,u=br(a-l,0),d=ie(u+c),f=!n;++o<u;)d[o]=e[o];for(var p=o;++s<c;)d[p+s]=t[s];for(;++i<l;)(f||o<a)&&(d[p+r[i]]=e[o++]);return d}function Fo(e,t){var r=-1,n=e.length;for(t||(t=ie(n));++r<n;)t[r]=e[r];return t}function Ro(e,t,r,o){var a=!r;r||(r={});for(var i=-1,l=t.length;++i<l;){var s=t[i],c=o?o(r[s],e[s],s,r,e):n;c===n&&(c=e[s]),a?an(r,s,c):tn(r,s,c)}return r}function Po(e,t){return function(r,n){var o=Ui(r)?Ct:nn,a=t?t():{};return o(r,e,ua(n,2),a)}}function Oo(e){return Jn(function(t,r){var o=-1,a=r.length,i=a>1?r[a-1]:n,l=a>2?r[2]:n;for(i=e.length>3&&"function"==typeof i?(a--,i):n,l&&ka(r[0],r[1],l)&&(i=a<3?n:i,a=1),t=Ce(t);++o<a;){var s=r[o];s&&e(t,s,o,i)}return t})}function jo(e,t){return function(r,n){if(null==r)return r;if(!Xi(r))return e(r,n);for(var o=r.length,a=t?o:-1,i=Ce(r);(t?a--:++a<o)&&!1!==n(i[a],a,i););return r}}function Do(e){return function(t,r,n){for(var o=-1,a=Ce(t),i=n(t),l=i.length;l--;){var s=i[e?l:++o];if(!1===r(a[s],s,a))break}return t}}function Ao(e){return function(t){var r=ir(t=yl(t))?pr(t):n,o=r?r[0]:t.charAt(0),a=r?_o(r,1).join(""):t.slice(1);return o[e]()+a}}function Io(e){return function(t){return Dt(Yl(Wl(t).replace(Ze,"")),e,"")}}function qo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Mr(e.prototype),n=e.apply(r,t);return tl(n)?n:r}}function Lo(e){return function(t,r,o){var a=Ce(t);if(!Xi(t)){var i=ua(r,3);t=Rl(t),r=function(e){return i(a[e],e,a)}}var l=e(t,r,o);return l>-1?a[i?t[l]:l]:n}}function Mo(e){return oa(function(t){var r=t.length,a=r,i=Vr.prototype.thru;for(e&&t.reverse();a--;){var l=t[a];if("function"!=typeof l)throw new Te(o);if(i&&!s&&"wrapper"==sa(l))var s=new Vr([],!0)}for(a=s?a:r;++a<r;){var c=sa(l=t[a]),u="wrapper"==c?la(l):n;s=u&&_a(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?s[sa(u[0])].apply(s,u[3]):1==l.length&&_a(l)?s[c]():s.thru(l)}return function(){var e=arguments,n=e[0];if(s&&1==e.length&&Ui(n))return s.plant(n).value();for(var o=0,a=r?t[o].apply(this,e):n;++o<r;)a=t[o].call(this,a);return a}})}function Ho(e,t,r,o,a,i,l,s,c,d){var f=t&u,p=1&t,h=2&t,m=24&t,g=512&t,v=h?n:qo(e);return function u(){for(var b=arguments.length,y=ie(b),w=b;w--;)y[w]=arguments[w];if(m)var k=ca(u),x=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}(y,k);if(o&&(y=No(y,o,a,m)),i&&(y=To(y,i,l,m)),b-=x,m&&b<d){var _=cr(y,k);return Ko(e,t,Ho,u.placeholder,r,y,_,s,c,d-b)}var S=p?r:this,B=h?S[e]:e;return b=y.length,s?y=function(e,t){var r=e.length,o=yr(t.length,r),a=Fo(e);for(;o--;){var i=t[o];e[o]=wa(i,r)?a[i]:n}return e}(y,s):g&&b>1&&y.reverse(),f&&c<b&&(y.length=c),this&&this!==ht&&this instanceof u&&(B=v||qo(B)),B.apply(S,y)}}function Vo(e,t){return function(r,n){return function(e,t,r,n){return kn(e,function(e,o,a){t(n,r(e),o,a)}),n}(r,e,t(n),{})}}function Wo(e,t){return function(r,o){var a;if(r===n&&o===n)return t;if(r!==n&&(a=r),o!==n){if(a===n)return o;"string"==typeof r||"string"==typeof o?(r=uo(r),o=uo(o)):(r=co(r),o=co(o)),a=e(r,o)}return a}}function Uo(e){return oa(function(t){return t=Ot(t,Yt(ua())),Jn(function(r){var n=this;return e(t,function(e){return Et(e,n,r)})})})}function $o(e,t){var r=(t=t===n?" ":uo(t)).length;if(r<2)return r?Qn(t,e):t;var o=Qn(t,mt(e/fr(t)));return ir(t)?_o(pr(o),0,e).join(""):o.slice(0,e)}function Xo(e){return function(t,r,o){return o&&"number"!=typeof o&&ka(t,r,o)&&(r=o=n),t=hl(t),r===n?(r=t,t=0):r=hl(r),function(e,t,r,n){for(var o=-1,a=br(mt((t-e)/(r||1)),0),i=ie(a);a--;)i[n?a:++o]=e,e+=r;return i}(t,r,o=o===n?t<r?1:-1:hl(o),e)}}function Go(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=vl(t),r=vl(r)),e(t,r)}}function Ko(e,t,r,o,a,i,l,u,d,f){var p=8&t;t|=p?s:c,4&(t&=~(p?c:s))||(t&=-4);var h=[e,t,a,p?i:n,p?l:n,p?n:i,p?n:l,u,d,f],m=r.apply(n,h);return _a(e)&&Fa(m,h),m.placeholder=o,Oa(m,e,t)}function Qo(e){var t=Ee[e];return function(e,r){if(e=vl(e),(r=null==r?0:yr(ml(r),292))&&qt(e)){var n=(yl(e)+"e").split("e");return+((n=(yl(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}var Jo=Cr&&1/ur(new Cr([,-0]))[1]==f?function(e){return new Cr(e)}:cs;function Yo(e){return function(t){var r=ga(t);return r==S?lr(t):r==N?dr(t):function(e,t){return Ot(t,function(t){return[t,e[t]]})}(t,e(t))}}function Zo(e,t,r,a,f,p,h,m){var g=2&t;if(!g&&"function"!=typeof e)throw new Te(o);var v=a?a.length:0;if(v||(t&=-97,a=f=n),h=h===n?h:br(ml(h),0),m=m===n?m:ml(m),v-=f?f.length:0,t&c){var b=a,y=f;a=f=n}var w=g?n:la(e),k=[e,t,r,a,f,b,y,p,h,m];if(w&&function(e,t){var r=e[1],n=t[1],o=r|n,a=o<131,l=n==u&&8==r||n==u&&r==d&&e[7].length<=t[8]||384==n&&t[7].length<=t[8]&&8==r;if(!a&&!l)return e;1&n&&(e[2]=t[2],o|=1&r?0:4);var s=t[3];if(s){var c=e[3];e[3]=c?No(c,s,t[4]):s,e[4]=c?cr(e[3],i):t[4]}(s=t[5])&&(c=e[5],e[5]=c?To(c,s,t[6]):s,e[6]=c?cr(e[5],i):t[6]);(s=t[7])&&(e[7]=s);n&u&&(e[8]=null==e[8]?t[8]:yr(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(k,w),e=k[0],t=k[1],r=k[2],a=k[3],f=k[4],!(m=k[9]=k[9]===n?g?0:e.length:br(k[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)x=8==t||t==l?function(e,t,r){var o=qo(e);return function a(){for(var i=arguments.length,l=ie(i),s=i,c=ca(a);s--;)l[s]=arguments[s];var u=i<3&&l[0]!==c&&l[i-1]!==c?[]:cr(l,c);return(i-=u.length)<r?Ko(e,t,Ho,a.placeholder,n,l,u,n,n,r-i):Et(this&&this!==ht&&this instanceof a?o:e,this,l)}}(e,t,m):t!=s&&33!=t||f.length?Ho.apply(n,k):function(e,t,r,n){var o=1&t,a=qo(e);return function t(){for(var i=-1,l=arguments.length,s=-1,c=n.length,u=ie(c+l),d=this&&this!==ht&&this instanceof t?a:e;++s<c;)u[s]=n[s];for(;l--;)u[s++]=arguments[++i];return Et(d,o?r:this,u)}}(e,t,r,a);else var x=function(e,t,r){var n=1&t,o=qo(e);return function t(){return(this&&this!==ht&&this instanceof t?o:e).apply(n?r:this,arguments)}}(e,t,r);return Oa((w?to:Fa)(x,k),e,t)}function ea(e,t,r,o){return e===n||Mi(e,Pe[r])&&!De.call(o,r)?t:e}function ta(e,t,r,o,a,i){return tl(e)&&tl(t)&&(i.set(t,e),Vn(e,t,n,ta,i),i.delete(t)),e}function ra(e){return al(e)?n:e}function na(e,t,r,o,a,i){var l=1&r,s=e.length,c=t.length;if(s!=c&&!(l&&c>s))return!1;var u=i.get(e),d=i.get(t);if(u&&d)return u==t&&d==e;var f=-1,p=!0,h=2&r?new Gr:n;for(i.set(e,t),i.set(t,e);++f<s;){var m=e[f],g=t[f];if(o)var v=l?o(g,m,f,t,e,i):o(m,g,f,e,t,i);if(v!==n){if(v)continue;p=!1;break}if(h){if(!It(t,function(e,t){if(!er(h,t)&&(m===e||a(m,e,r,o,i)))return h.push(t)})){p=!1;break}}else if(m!==g&&!a(m,g,r,o,i)){p=!1;break}}return i.delete(e),i.delete(t),p}function oa(e){return Pa(za(e,n,$a),e+"")}function aa(e){return Bn(e,Rl,ha)}function ia(e){return Bn(e,Pl,ma)}var la=Tr?function(e){return Tr.get(e)}:cs;function sa(e){for(var t=e.name+"",r=Fr[t],n=De.call(Fr,t)?r.length:0;n--;){var o=r[n],a=o.func;if(null==a||a==e)return o.name}return t}function ca(e){return(De.call(Lr,"placeholder")?Lr:e).placeholder}function ua(){var e=Lr.iteratee||as;return e=e===as?Dn:e,arguments.length?e(arguments[0],arguments[1]):e}function da(e,t){var r,n,o=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map}function fa(e){for(var t=Rl(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,Ea(o)]}return t}function pa(e,t){var r=function(e,t){return null==e?n:e[t]}(e,t);return jn(r)?r:n}var ha=bt?function(e){return null==e?[]:(e=Ce(e),Ft(bt(e),function(t){return Ke.call(e,t)}))}:gs,ma=bt?function(e){for(var t=[];e;)jt(t,ha(e)),e=Xe(e);return t}:gs,ga=En;function va(e,t,r){for(var n=-1,o=(t=ko(t,e)).length,a=!1;++n<o;){var i=Ia(t[n]);if(!(a=null!=e&&r(e,i)))break;e=e[i]}return a||++n!=o?a:!!(o=null==e?0:e.length)&&el(o)&&wa(i,o)&&(Ui(e)||Wi(e))}function ba(e){return"function"!=typeof e.constructor||Ba(e)?{}:Mr(Xe(e))}function ya(e){return Ui(e)||Wi(e)||!!(Je&&e&&e[Je])}function wa(e,t){var r=typeof e;return!!(t=null==t?p:t)&&("number"==r||"symbol"!=r&&ye.test(e))&&e>-1&&e%1==0&&e<t}function ka(e,t,r){if(!tl(r))return!1;var n=typeof t;return!!("number"==n?Xi(r)&&wa(t,r.length):"string"==n&&t in r)&&Mi(r[t],e)}function xa(e,t){if(Ui(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!cl(e))||(te.test(e)||!ee.test(e)||null!=t&&e in Ce(t))}function _a(e){var t=sa(e),r=Lr[t];if("function"!=typeof r||!(t in Wr.prototype))return!1;if(e===r)return!0;var n=la(r);return!!n&&e===n[0]}(Sr&&ga(new Sr(new ArrayBuffer(1)))!=O||Br&&ga(new Br)!=S||Er&&ga(Er.resolve())!=C||Cr&&ga(new Cr)!=N||zr&&ga(new zr)!=R)&&(ga=function(e){var t=En(e),r=t==E?e.constructor:n,o=r?qa(r):"";if(o)switch(o){case Rr:return O;case Pr:return S;case Or:return C;case jr:return N;case Dr:return R}return t});var Sa=Oe?Yi:vs;function Ba(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Pe)}function Ea(e){return e==e&&!tl(e)}function Ca(e,t){return function(r){return null!=r&&(r[e]===t&&(t!==n||e in Ce(r)))}}function za(e,t,r){return t=br(t===n?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=br(n.length-t,0),i=ie(a);++o<a;)i[o]=n[t+o];o=-1;for(var l=ie(t+1);++o<t;)l[o]=n[o];return l[t]=r(i),Et(e,this,l)}}function Na(e,t){return t.length<2?e:Sn(e,oo(t,0,-1))}function Ta(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Fa=ja(to),Ra=pt||function(e,t){return ht.setTimeout(e,t)},Pa=ja(ro);function Oa(e,t,r){var n=t+"";return Pa(e,function(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return zt(g,function(r){var n="_."+r[0];t&r[1]&&!Rt(e,n)&&e.push(n)}),e.sort()}(function(e){var t=e.match(se);return t?t[1].split(ce):[]}(n),r)))}function ja(e){var t=0,r=0;return function(){var o=wr(),a=16-(o-r);if(r=o,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function Da(e,t){var r=-1,o=e.length,a=o-1;for(t=t===n?o:t;++r<t;){var i=Kn(r,a),l=e[i];e[i]=e[r],e[r]=l}return e.length=t,e}var Aa=function(e){var t=ji(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,function(e,r,n,o){t.push(n?o.replace(fe,"$1"):r||e)}),t});function Ia(e){if("string"==typeof e||cl(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function qa(e){if(null!=e){try{return je.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function La(e){if(e instanceof Wr)return e.clone();var t=new Vr(e.__wrapped__,e.__chain__);return t.__actions__=Fo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Ma=Jn(function(e,t){return Gi(e)?fn(e,bn(t,1,Gi,!0)):[]}),Ha=Jn(function(e,t){var r=Ja(t);return Gi(r)&&(r=n),Gi(e)?fn(e,bn(t,1,Gi,!0),ua(r,2)):[]}),Va=Jn(function(e,t){var r=Ja(t);return Gi(r)&&(r=n),Gi(e)?fn(e,bn(t,1,Gi,!0),n,r):[]});function Wa(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=null==r?0:ml(r);return o<0&&(o=br(n+o,0)),Mt(e,ua(t,3),o)}function Ua(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var a=o-1;return r!==n&&(a=ml(r),a=r<0?br(o+a,0):yr(a,o-1)),Mt(e,ua(t,3),a,!0)}function $a(e){return(null==e?0:e.length)?bn(e,1):[]}function Xa(e){return e&&e.length?e[0]:n}var Ga=Jn(function(e){var t=Ot(e,yo);return t.length&&t[0]===e[0]?Tn(t):[]}),Ka=Jn(function(e){var t=Ja(e),r=Ot(e,yo);return t===Ja(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Tn(r,ua(t,2)):[]}),Qa=Jn(function(e){var t=Ja(e),r=Ot(e,yo);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?Tn(r,n,t):[]});function Ja(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Ya=Jn(Za);function Za(e,t){return e&&e.length&&t&&t.length?Xn(e,t):e}var ei=oa(function(e,t){var r=null==e?0:e.length,n=ln(e,t);return Gn(e,Ot(t,function(e){return wa(e,r)?+e:e}).sort(zo)),n});function ti(e){return null==e?e:_r.call(e)}var ri=Jn(function(e){return fo(bn(e,1,Gi,!0))}),ni=Jn(function(e){var t=Ja(e);return Gi(t)&&(t=n),fo(bn(e,1,Gi,!0),ua(t,2))}),oi=Jn(function(e){var t=Ja(e);return t="function"==typeof t?t:n,fo(bn(e,1,Gi,!0),n,t)});function ai(e){if(!e||!e.length)return[];var t=0;return e=Ft(e,function(e){if(Gi(e))return t=br(e.length,t),!0}),Qt(t,function(t){return Ot(e,$t(t))})}function ii(e,t){if(!e||!e.length)return[];var r=ai(e);return null==t?r:Ot(r,function(e){return Et(t,n,e)})}var li=Jn(function(e,t){return Gi(e)?fn(e,t):[]}),si=Jn(function(e){return vo(Ft(e,Gi))}),ci=Jn(function(e){var t=Ja(e);return Gi(t)&&(t=n),vo(Ft(e,Gi),ua(t,2))}),ui=Jn(function(e){var t=Ja(e);return t="function"==typeof t?t:n,vo(Ft(e,Gi),n,t)}),di=Jn(ai);var fi=Jn(function(e){var t=e.length,r=t>1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,ii(e,r)});function pi(e){var t=Lr(e);return t.__chain__=!0,t}function hi(e,t){return t(e)}var mi=oa(function(e){var t=e.length,r=t?e[0]:0,o=this.__wrapped__,a=function(t){return ln(t,e)};return!(t>1||this.__actions__.length)&&o instanceof Wr&&wa(r)?((o=o.slice(r,+r+(t?1:0))).__actions__.push({func:hi,args:[a],thisArg:n}),new Vr(o,this.__chain__).thru(function(e){return t&&!e.length&&e.push(n),e})):this.thru(a)});var gi=Po(function(e,t,r){De.call(e,r)?++e[r]:an(e,r,1)});var vi=Lo(Wa),bi=Lo(Ua);function yi(e,t){return(Ui(e)?zt:pn)(e,ua(t,3))}function wi(e,t){return(Ui(e)?Nt:hn)(e,ua(t,3))}var ki=Po(function(e,t,r){De.call(e,r)?e[r].push(t):an(e,r,[t])});var xi=Jn(function(e,t,r){var n=-1,o="function"==typeof t,a=Xi(e)?ie(e.length):[];return pn(e,function(e){a[++n]=o?Et(t,e,r):Fn(e,t,r)}),a}),_i=Po(function(e,t,r){an(e,r,t)});function Si(e,t){return(Ui(e)?Ot:Ln)(e,ua(t,3))}var Bi=Po(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});var Ei=Jn(function(e,t){if(null==e)return[];var r=t.length;return r>1&&ka(e,t[0],t[1])?t=[]:r>2&&ka(t[0],t[1],t[2])&&(t=[t[0]]),Un(e,bn(t,1),[])}),Ci=ft||function(){return ht.Date.now()};function zi(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,Zo(e,u,n,n,n,n,t)}function Ni(e,t){var r;if("function"!=typeof t)throw new Te(o);return e=ml(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=n),r}}var Ti=Jn(function(e,t,r){var n=1;if(r.length){var o=cr(r,ca(Ti));n|=s}return Zo(e,n,t,r,o)}),Fi=Jn(function(e,t,r){var n=3;if(r.length){var o=cr(r,ca(Fi));n|=s}return Zo(t,n,e,r,o)});function Ri(e,t,r){var a,i,l,s,c,u,d=0,f=!1,p=!1,h=!0;if("function"!=typeof e)throw new Te(o);function m(t){var r=a,o=i;return a=i=n,d=t,s=e.apply(o,r)}function g(e){var r=e-u;return u===n||r>=t||r<0||p&&e-d>=l}function v(){var e=Ci();if(g(e))return b(e);c=Ra(v,function(e){var r=t-(e-u);return p?yr(r,l-(e-d)):r}(e))}function b(e){return c=n,h&&a?m(e):(a=i=n,s)}function y(){var e=Ci(),r=g(e);if(a=arguments,i=this,u=e,r){if(c===n)return function(e){return d=e,c=Ra(v,t),f?m(e):s}(u);if(p)return So(c),c=Ra(v,t),m(u)}return c===n&&(c=Ra(v,t)),s}return t=vl(t)||0,tl(r)&&(f=!!r.leading,l=(p="maxWait"in r)?br(vl(r.maxWait)||0,t):l,h="trailing"in r?!!r.trailing:h),y.cancel=function(){c!==n&&So(c),d=0,a=u=i=c=n},y.flush=function(){return c===n?s:b(Ci())},y}var Pi=Jn(function(e,t){return dn(e,1,t)}),Oi=Jn(function(e,t,r){return dn(e,vl(t)||0,r)});function ji(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Te(o);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(ji.Cache||Xr),r}function Di(e){if("function"!=typeof e)throw new Te(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}ji.Cache=Xr;var Ai=xo(function(e,t){var r=(t=1==t.length&&Ui(t[0])?Ot(t[0],Yt(ua())):Ot(bn(t,1),Yt(ua()))).length;return Jn(function(n){for(var o=-1,a=yr(n.length,r);++o<a;)n[o]=t[o].call(this,n[o]);return Et(e,this,n)})}),Ii=Jn(function(e,t){var r=cr(t,ca(Ii));return Zo(e,s,n,t,r)}),qi=Jn(function(e,t){var r=cr(t,ca(qi));return Zo(e,c,n,t,r)}),Li=oa(function(e,t){return Zo(e,d,n,n,n,t)});function Mi(e,t){return e===t||e!=e&&t!=t}var Hi=Go(Cn),Vi=Go(function(e,t){return e>=t}),Wi=Rn(function(){return arguments}())?Rn:function(e){return rl(e)&&De.call(e,"callee")&&!Ke.call(e,"callee")},Ui=ie.isArray,$i=wt?Yt(wt):function(e){return rl(e)&&En(e)==P};function Xi(e){return null!=e&&el(e.length)&&!Yi(e)}function Gi(e){return rl(e)&&Xi(e)}var Ki=yt||vs,Qi=kt?Yt(kt):function(e){return rl(e)&&En(e)==w};function Ji(e){if(!rl(e))return!1;var t=En(e);return t==k||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!al(e)}function Yi(e){if(!tl(e))return!1;var t=En(e);return t==x||t==_||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Zi(e){return"number"==typeof e&&e==ml(e)}function el(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function tl(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rl(e){return null!=e&&"object"==typeof e}var nl=xt?Yt(xt):function(e){return rl(e)&&ga(e)==S};function ol(e){return"number"==typeof e||rl(e)&&En(e)==B}function al(e){if(!rl(e)||En(e)!=E)return!1;var t=Xe(e);if(null===t)return!0;var r=De.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&je.call(r)==Le}var il=_t?Yt(_t):function(e){return rl(e)&&En(e)==z};var ll=St?Yt(St):function(e){return rl(e)&&ga(e)==N};function sl(e){return"string"==typeof e||!Ui(e)&&rl(e)&&En(e)==T}function cl(e){return"symbol"==typeof e||rl(e)&&En(e)==F}var ul=Bt?Yt(Bt):function(e){return rl(e)&&el(e.length)&&!!lt[En(e)]};var dl=Go(qn),fl=Go(function(e,t){return e<=t});function pl(e){if(!e)return[];if(Xi(e))return sl(e)?pr(e):Fo(e);if(Ye&&e[Ye])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Ye]());var t=ga(e);return(t==S?lr:t==N?ur:Ml)(e)}function hl(e){return e?(e=vl(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ml(e){var t=hl(e),r=t%1;return t==t?r?t-r:t:0}function gl(e){return e?sn(ml(e),0,m):0}function vl(e){if("number"==typeof e)return e;if(cl(e))return h;if(tl(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=tl(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Jt(e);var r=ge.test(e);return r||be.test(e)?dt(e.slice(2),r?2:8):me.test(e)?h:+e}function bl(e){return Ro(e,Pl(e))}function yl(e){return null==e?"":uo(e)}var wl=Oo(function(e,t){if(Ba(t)||Xi(t))Ro(t,Rl(t),e);else for(var r in t)De.call(t,r)&&tn(e,r,t[r])}),kl=Oo(function(e,t){Ro(t,Pl(t),e)}),xl=Oo(function(e,t,r,n){Ro(t,Pl(t),e,n)}),_l=Oo(function(e,t,r,n){Ro(t,Rl(t),e,n)}),Sl=oa(ln);var Bl=Jn(function(e,t){e=Ce(e);var r=-1,o=t.length,a=o>2?t[2]:n;for(a&&ka(t[0],t[1],a)&&(o=1);++r<o;)for(var i=t[r],l=Pl(i),s=-1,c=l.length;++s<c;){var u=l[s],d=e[u];(d===n||Mi(d,Pe[u])&&!De.call(e,u))&&(e[u]=i[u])}return e}),El=Jn(function(e){return e.push(n,ta),Et(jl,n,e)});function Cl(e,t,r){var o=null==e?n:Sn(e,t);return o===n?r:o}function zl(e,t){return null!=e&&va(e,t,Nn)}var Nl=Vo(function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=qe.call(t)),e[t]=r},ts(os)),Tl=Vo(function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=qe.call(t)),De.call(e,t)?e[t].push(r):e[t]=[r]},ua),Fl=Jn(Fn);function Rl(e){return Xi(e)?Qr(e):An(e)}function Pl(e){return Xi(e)?Qr(e,!0):In(e)}var Ol=Oo(function(e,t,r){Vn(e,t,r)}),jl=Oo(function(e,t,r,n){Vn(e,t,r,n)}),Dl=oa(function(e,t){var r={};if(null==e)return r;var n=!1;t=Ot(t,function(t){return t=ko(t,e),n||(n=t.length>1),t}),Ro(e,ia(e),r),n&&(r=cn(r,7,ra));for(var o=t.length;o--;)po(r,t[o]);return r});var Al=oa(function(e,t){return null==e?{}:function(e,t){return $n(e,t,function(t,r){return zl(e,r)})}(e,t)});function Il(e,t){if(null==e)return{};var r=Ot(ia(e),function(e){return[e]});return t=ua(t),$n(e,r,function(e,r){return t(e,r[0])})}var ql=Yo(Rl),Ll=Yo(Pl);function Ml(e){return null==e?[]:Zt(e,Rl(e))}var Hl=Io(function(e,t,r){return t=t.toLowerCase(),e+(r?Vl(t):t)});function Vl(e){return Jl(yl(e).toLowerCase())}function Wl(e){return(e=yl(e))&&e.replace(we,nr).replace(et,"")}var Ul=Io(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),$l=Io(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),Xl=Ao("toLowerCase");var Gl=Io(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});var Kl=Io(function(e,t,r){return e+(r?" ":"")+Jl(t)});var Ql=Io(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),Jl=Ao("toUpperCase");function Yl(e,t,r){return e=yl(e),(t=r?n:t)===n?function(e){return ot.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var Zl=Jn(function(e,t){try{return Et(e,n,t)}catch(e){return Ji(e)?e:new Se(e)}}),es=oa(function(e,t){return zt(t,function(t){t=Ia(t),an(e,t,Ti(e[t],e))}),e});function ts(e){return function(){return e}}var rs=Mo(),ns=Mo(!0);function os(e){return e}function as(e){return Dn("function"==typeof e?e:cn(e,1))}var is=Jn(function(e,t){return function(r){return Fn(r,e,t)}}),ls=Jn(function(e,t){return function(r){return Fn(e,r,t)}});function ss(e,t,r){var n=Rl(t),o=_n(t,n);null!=r||tl(t)&&(o.length||!n.length)||(r=t,t=e,e=this,o=_n(t,Rl(t)));var a=!(tl(r)&&"chain"in r&&!r.chain),i=Yi(e);return zt(o,function(r){var n=t[r];e[r]=n,i&&(e.prototype[r]=function(){var t=this.__chain__;if(a||t){var r=e(this.__wrapped__);return(r.__actions__=Fo(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,jt([this.value()],arguments))})}),e}function cs(){}var us=Uo(Ot),ds=Uo(Tt),fs=Uo(It);function ps(e){return xa(e)?$t(Ia(e)):function(e){return function(t){return Sn(t,e)}}(e)}var hs=Xo(),ms=Xo(!0);function gs(){return[]}function vs(){return!1}var bs=Wo(function(e,t){return e+t},0),ys=Qo("ceil"),ws=Wo(function(e,t){return e/t},1),ks=Qo("floor");var xs,_s=Wo(function(e,t){return e*t},1),Ss=Qo("round"),Bs=Wo(function(e,t){return e-t},0);return Lr.after=function(e,t){if("function"!=typeof t)throw new Te(o);return e=ml(e),function(){if(--e<1)return t.apply(this,arguments)}},Lr.ary=zi,Lr.assign=wl,Lr.assignIn=kl,Lr.assignInWith=xl,Lr.assignWith=_l,Lr.at=Sl,Lr.before=Ni,Lr.bind=Ti,Lr.bindAll=es,Lr.bindKey=Fi,Lr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ui(e)?e:[e]},Lr.chain=pi,Lr.chunk=function(e,t,r){t=(r?ka(e,t,r):t===n)?1:br(ml(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,i=0,l=ie(mt(o/t));a<o;)l[i++]=oo(e,a,a+=t);return l},Lr.compact=function(e){for(var t=-1,r=null==e?0:e.length,n=0,o=[];++t<r;){var a=e[t];a&&(o[n++]=a)}return o},Lr.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ie(e-1),r=arguments[0],n=e;n--;)t[n-1]=arguments[n];return jt(Ui(r)?Fo(r):[r],bn(t,1))},Lr.cond=function(e){var t=null==e?0:e.length,r=ua();return e=t?Ot(e,function(e){if("function"!=typeof e[1])throw new Te(o);return[r(e[0]),e[1]]}):[],Jn(function(r){for(var n=-1;++n<t;){var o=e[n];if(Et(o[0],this,r))return Et(o[1],this,r)}})},Lr.conforms=function(e){return function(e){var t=Rl(e);return function(r){return un(r,e,t)}}(cn(e,1))},Lr.constant=ts,Lr.countBy=gi,Lr.create=function(e,t){var r=Mr(e);return null==t?r:on(r,t)},Lr.curry=function e(t,r,o){var a=Zo(t,8,n,n,n,n,n,r=o?n:r);return a.placeholder=e.placeholder,a},Lr.curryRight=function e(t,r,o){var a=Zo(t,l,n,n,n,n,n,r=o?n:r);return a.placeholder=e.placeholder,a},Lr.debounce=Ri,Lr.defaults=Bl,Lr.defaultsDeep=El,Lr.defer=Pi,Lr.delay=Oi,Lr.difference=Ma,Lr.differenceBy=Ha,Lr.differenceWith=Va,Lr.drop=function(e,t,r){var o=null==e?0:e.length;return o?oo(e,(t=r||t===n?1:ml(t))<0?0:t,o):[]},Lr.dropRight=function(e,t,r){var o=null==e?0:e.length;return o?oo(e,0,(t=o-(t=r||t===n?1:ml(t)))<0?0:t):[]},Lr.dropRightWhile=function(e,t){return e&&e.length?mo(e,ua(t,3),!0,!0):[]},Lr.dropWhile=function(e,t){return e&&e.length?mo(e,ua(t,3),!0):[]},Lr.fill=function(e,t,r,o){var a=null==e?0:e.length;return a?(r&&"number"!=typeof r&&ka(e,t,r)&&(r=0,o=a),function(e,t,r,o){var a=e.length;for((r=ml(r))<0&&(r=-r>a?0:a+r),(o=o===n||o>a?a:ml(o))<0&&(o+=a),o=r>o?0:gl(o);r<o;)e[r++]=t;return e}(e,t,r,o)):[]},Lr.filter=function(e,t){return(Ui(e)?Ft:vn)(e,ua(t,3))},Lr.flatMap=function(e,t){return bn(Si(e,t),1)},Lr.flatMapDeep=function(e,t){return bn(Si(e,t),f)},Lr.flatMapDepth=function(e,t,r){return r=r===n?1:ml(r),bn(Si(e,t),r)},Lr.flatten=$a,Lr.flattenDeep=function(e){return(null==e?0:e.length)?bn(e,f):[]},Lr.flattenDepth=function(e,t){return(null==e?0:e.length)?bn(e,t=t===n?1:ml(t)):[]},Lr.flip=function(e){return Zo(e,512)},Lr.flow=rs,Lr.flowRight=ns,Lr.fromPairs=function(e){for(var t=-1,r=null==e?0:e.length,n={};++t<r;){var o=e[t];an(n,o[0],o[1])}return n},Lr.functions=function(e){return null==e?[]:_n(e,Rl(e))},Lr.functionsIn=function(e){return null==e?[]:_n(e,Pl(e))},Lr.groupBy=ki,Lr.initial=function(e){return(null==e?0:e.length)?oo(e,0,-1):[]},Lr.intersection=Ga,Lr.intersectionBy=Ka,Lr.intersectionWith=Qa,Lr.invert=Nl,Lr.invertBy=Tl,Lr.invokeMap=xi,Lr.iteratee=as,Lr.keyBy=_i,Lr.keys=Rl,Lr.keysIn=Pl,Lr.map=Si,Lr.mapKeys=function(e,t){var r={};return t=ua(t,3),kn(e,function(e,n,o){an(r,t(e,n,o),e)}),r},Lr.mapValues=function(e,t){var r={};return t=ua(t,3),kn(e,function(e,n,o){an(r,n,t(e,n,o))}),r},Lr.matches=function(e){return Mn(cn(e,1))},Lr.matchesProperty=function(e,t){return Hn(e,cn(t,1))},Lr.memoize=ji,Lr.merge=Ol,Lr.mergeWith=jl,Lr.method=is,Lr.methodOf=ls,Lr.mixin=ss,Lr.negate=Di,Lr.nthArg=function(e){return e=ml(e),Jn(function(t){return Wn(t,e)})},Lr.omit=Dl,Lr.omitBy=function(e,t){return Il(e,Di(ua(t)))},Lr.once=function(e){return Ni(2,e)},Lr.orderBy=function(e,t,r,o){return null==e?[]:(Ui(t)||(t=null==t?[]:[t]),Ui(r=o?n:r)||(r=null==r?[]:[r]),Un(e,t,r))},Lr.over=us,Lr.overArgs=Ai,Lr.overEvery=ds,Lr.overSome=fs,Lr.partial=Ii,Lr.partialRight=qi,Lr.partition=Bi,Lr.pick=Al,Lr.pickBy=Il,Lr.property=ps,Lr.propertyOf=function(e){return function(t){return null==e?n:Sn(e,t)}},Lr.pull=Ya,Lr.pullAll=Za,Lr.pullAllBy=function(e,t,r){return e&&e.length&&t&&t.length?Xn(e,t,ua(r,2)):e},Lr.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Xn(e,t,n,r):e},Lr.pullAt=ei,Lr.range=hs,Lr.rangeRight=ms,Lr.rearg=Li,Lr.reject=function(e,t){return(Ui(e)?Ft:vn)(e,Di(ua(t,3)))},Lr.remove=function(e,t){var r=[];if(!e||!e.length)return r;var n=-1,o=[],a=e.length;for(t=ua(t,3);++n<a;){var i=e[n];t(i,n,e)&&(r.push(i),o.push(n))}return Gn(e,o),r},Lr.rest=function(e,t){if("function"!=typeof e)throw new Te(o);return Jn(e,t=t===n?t:ml(t))},Lr.reverse=ti,Lr.sampleSize=function(e,t,r){return t=(r?ka(e,t,r):t===n)?1:ml(t),(Ui(e)?Yr:Zn)(e,t)},Lr.set=function(e,t,r){return null==e?e:eo(e,t,r)},Lr.setWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:eo(e,t,r,o)},Lr.shuffle=function(e){return(Ui(e)?Zr:no)(e)},Lr.slice=function(e,t,r){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&ka(e,t,r)?(t=0,r=o):(t=null==t?0:ml(t),r=r===n?o:ml(r)),oo(e,t,r)):[]},Lr.sortBy=Ei,Lr.sortedUniq=function(e){return e&&e.length?so(e):[]},Lr.sortedUniqBy=function(e,t){return e&&e.length?so(e,ua(t,2)):[]},Lr.split=function(e,t,r){return r&&"number"!=typeof r&&ka(e,t,r)&&(t=r=n),(r=r===n?m:r>>>0)?(e=yl(e))&&("string"==typeof t||null!=t&&!il(t))&&!(t=uo(t))&&ir(e)?_o(pr(e),0,r):e.split(t,r):[]},Lr.spread=function(e,t){if("function"!=typeof e)throw new Te(o);return t=null==t?0:br(ml(t),0),Jn(function(r){var n=r[t],o=_o(r,0,t);return n&&jt(o,n),Et(e,this,o)})},Lr.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Lr.take=function(e,t,r){return e&&e.length?oo(e,0,(t=r||t===n?1:ml(t))<0?0:t):[]},Lr.takeRight=function(e,t,r){var o=null==e?0:e.length;return o?oo(e,(t=o-(t=r||t===n?1:ml(t)))<0?0:t,o):[]},Lr.takeRightWhile=function(e,t){return e&&e.length?mo(e,ua(t,3),!1,!0):[]},Lr.takeWhile=function(e,t){return e&&e.length?mo(e,ua(t,3)):[]},Lr.tap=function(e,t){return t(e),e},Lr.throttle=function(e,t,r){var n=!0,a=!0;if("function"!=typeof e)throw new Te(o);return tl(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),Ri(e,t,{leading:n,maxWait:t,trailing:a})},Lr.thru=hi,Lr.toArray=pl,Lr.toPairs=ql,Lr.toPairsIn=Ll,Lr.toPath=function(e){return Ui(e)?Ot(e,Ia):cl(e)?[e]:Fo(Aa(yl(e)))},Lr.toPlainObject=bl,Lr.transform=function(e,t,r){var n=Ui(e),o=n||Ki(e)||ul(e);if(t=ua(t,4),null==r){var a=e&&e.constructor;r=o?n?new a:[]:tl(e)&&Yi(a)?Mr(Xe(e)):{}}return(o?zt:kn)(e,function(e,n,o){return t(r,e,n,o)}),r},Lr.unary=function(e){return zi(e,1)},Lr.union=ri,Lr.unionBy=ni,Lr.unionWith=oi,Lr.uniq=function(e){return e&&e.length?fo(e):[]},Lr.uniqBy=function(e,t){return e&&e.length?fo(e,ua(t,2)):[]},Lr.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?fo(e,n,t):[]},Lr.unset=function(e,t){return null==e||po(e,t)},Lr.unzip=ai,Lr.unzipWith=ii,Lr.update=function(e,t,r){return null==e?e:ho(e,t,wo(r))},Lr.updateWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:ho(e,t,wo(r),o)},Lr.values=Ml,Lr.valuesIn=function(e){return null==e?[]:Zt(e,Pl(e))},Lr.without=li,Lr.words=Yl,Lr.wrap=function(e,t){return Ii(wo(t),e)},Lr.xor=si,Lr.xorBy=ci,Lr.xorWith=ui,Lr.zip=di,Lr.zipObject=function(e,t){return bo(e||[],t||[],tn)},Lr.zipObjectDeep=function(e,t){return bo(e||[],t||[],eo)},Lr.zipWith=fi,Lr.entries=ql,Lr.entriesIn=Ll,Lr.extend=kl,Lr.extendWith=xl,ss(Lr,Lr),Lr.add=bs,Lr.attempt=Zl,Lr.camelCase=Hl,Lr.capitalize=Vl,Lr.ceil=ys,Lr.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=vl(r))==r?r:0),t!==n&&(t=(t=vl(t))==t?t:0),sn(vl(e),t,r)},Lr.clone=function(e){return cn(e,4)},Lr.cloneDeep=function(e){return cn(e,5)},Lr.cloneDeepWith=function(e,t){return cn(e,5,t="function"==typeof t?t:n)},Lr.cloneWith=function(e,t){return cn(e,4,t="function"==typeof t?t:n)},Lr.conformsTo=function(e,t){return null==t||un(e,t,Rl(t))},Lr.deburr=Wl,Lr.defaultTo=function(e,t){return null==e||e!=e?t:e},Lr.divide=ws,Lr.endsWith=function(e,t,r){e=yl(e),t=uo(t);var o=e.length,a=r=r===n?o:sn(ml(r),0,o);return(r-=t.length)>=0&&e.slice(r,a)==t},Lr.eq=Mi,Lr.escape=function(e){return(e=yl(e))&&Q.test(e)?e.replace(G,or):e},Lr.escapeRegExp=function(e){return(e=yl(e))&&oe.test(e)?e.replace(ne,"\\$&"):e},Lr.every=function(e,t,r){var o=Ui(e)?Tt:mn;return r&&ka(e,t,r)&&(t=n),o(e,ua(t,3))},Lr.find=vi,Lr.findIndex=Wa,Lr.findKey=function(e,t){return Lt(e,ua(t,3),kn)},Lr.findLast=bi,Lr.findLastIndex=Ua,Lr.findLastKey=function(e,t){return Lt(e,ua(t,3),xn)},Lr.floor=ks,Lr.forEach=yi,Lr.forEachRight=wi,Lr.forIn=function(e,t){return null==e?e:yn(e,ua(t,3),Pl)},Lr.forInRight=function(e,t){return null==e?e:wn(e,ua(t,3),Pl)},Lr.forOwn=function(e,t){return e&&kn(e,ua(t,3))},Lr.forOwnRight=function(e,t){return e&&xn(e,ua(t,3))},Lr.get=Cl,Lr.gt=Hi,Lr.gte=Vi,Lr.has=function(e,t){return null!=e&&va(e,t,zn)},Lr.hasIn=zl,Lr.head=Xa,Lr.identity=os,Lr.includes=function(e,t,r,n){e=Xi(e)?e:Ml(e),r=r&&!n?ml(r):0;var o=e.length;return r<0&&(r=br(o+r,0)),sl(e)?r<=o&&e.indexOf(t,r)>-1:!!o&&Ht(e,t,r)>-1},Lr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=null==r?0:ml(r);return o<0&&(o=br(n+o,0)),Ht(e,t,o)},Lr.inRange=function(e,t,r){return t=hl(t),r===n?(r=t,t=0):r=hl(r),function(e,t,r){return e>=yr(t,r)&&e<br(t,r)}(e=vl(e),t,r)},Lr.invoke=Fl,Lr.isArguments=Wi,Lr.isArray=Ui,Lr.isArrayBuffer=$i,Lr.isArrayLike=Xi,Lr.isArrayLikeObject=Gi,Lr.isBoolean=function(e){return!0===e||!1===e||rl(e)&&En(e)==y},Lr.isBuffer=Ki,Lr.isDate=Qi,Lr.isElement=function(e){return rl(e)&&1===e.nodeType&&!al(e)},Lr.isEmpty=function(e){if(null==e)return!0;if(Xi(e)&&(Ui(e)||"string"==typeof e||"function"==typeof e.splice||Ki(e)||ul(e)||Wi(e)))return!e.length;var t=ga(e);if(t==S||t==N)return!e.size;if(Ba(e))return!An(e).length;for(var r in e)if(De.call(e,r))return!1;return!0},Lr.isEqual=function(e,t){return Pn(e,t)},Lr.isEqualWith=function(e,t,r){var o=(r="function"==typeof r?r:n)?r(e,t):n;return o===n?Pn(e,t,n,r):!!o},Lr.isError=Ji,Lr.isFinite=function(e){return"number"==typeof e&&qt(e)},Lr.isFunction=Yi,Lr.isInteger=Zi,Lr.isLength=el,Lr.isMap=nl,Lr.isMatch=function(e,t){return e===t||On(e,t,fa(t))},Lr.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,On(e,t,fa(t),r)},Lr.isNaN=function(e){return ol(e)&&e!=+e},Lr.isNative=function(e){if(Sa(e))throw new Se("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return jn(e)},Lr.isNil=function(e){return null==e},Lr.isNull=function(e){return null===e},Lr.isNumber=ol,Lr.isObject=tl,Lr.isObjectLike=rl,Lr.isPlainObject=al,Lr.isRegExp=il,Lr.isSafeInteger=function(e){return Zi(e)&&e>=-9007199254740991&&e<=p},Lr.isSet=ll,Lr.isString=sl,Lr.isSymbol=cl,Lr.isTypedArray=ul,Lr.isUndefined=function(e){return e===n},Lr.isWeakMap=function(e){return rl(e)&&ga(e)==R},Lr.isWeakSet=function(e){return rl(e)&&"[object WeakSet]"==En(e)},Lr.join=function(e,t){return null==e?"":Xt.call(e,t)},Lr.kebabCase=Ul,Lr.last=Ja,Lr.lastIndexOf=function(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var a=o;return r!==n&&(a=(a=ml(r))<0?br(o+a,0):yr(a,o-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,a):Mt(e,Wt,a,!0)},Lr.lowerCase=$l,Lr.lowerFirst=Xl,Lr.lt=dl,Lr.lte=fl,Lr.max=function(e){return e&&e.length?gn(e,os,Cn):n},Lr.maxBy=function(e,t){return e&&e.length?gn(e,ua(t,2),Cn):n},Lr.mean=function(e){return Ut(e,os)},Lr.meanBy=function(e,t){return Ut(e,ua(t,2))},Lr.min=function(e){return e&&e.length?gn(e,os,qn):n},Lr.minBy=function(e,t){return e&&e.length?gn(e,ua(t,2),qn):n},Lr.stubArray=gs,Lr.stubFalse=vs,Lr.stubObject=function(){return{}},Lr.stubString=function(){return""},Lr.stubTrue=function(){return!0},Lr.multiply=_s,Lr.nth=function(e,t){return e&&e.length?Wn(e,ml(t)):n},Lr.noConflict=function(){return ht._===this&&(ht._=Me),this},Lr.noop=cs,Lr.now=Ci,Lr.pad=function(e,t,r){e=yl(e);var n=(t=ml(t))?fr(e):0;if(!t||n>=t)return e;var o=(t-n)/2;return $o(gt(o),r)+e+$o(mt(o),r)},Lr.padEnd=function(e,t,r){e=yl(e);var n=(t=ml(t))?fr(e):0;return t&&n<t?e+$o(t-n,r):e},Lr.padStart=function(e,t,r){e=yl(e);var n=(t=ml(t))?fr(e):0;return t&&n<t?$o(t-n,r)+e:e},Lr.parseInt=function(e,t,r){return r||null==t?t=0:t&&(t=+t),kr(yl(e).replace(ae,""),t||0)},Lr.random=function(e,t,r){if(r&&"boolean"!=typeof r&&ka(e,t,r)&&(t=r=n),r===n&&("boolean"==typeof t?(r=t,t=n):"boolean"==typeof e&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=hl(e),t===n?(t=e,e=0):t=hl(t)),e>t){var o=e;e=t,t=o}if(r||e%1||t%1){var a=xr();return yr(e+a*(t-e+ut("1e-"+((a+"").length-1))),t)}return Kn(e,t)},Lr.reduce=function(e,t,r){var n=Ui(e)?Dt:Gt,o=arguments.length<3;return n(e,ua(t,4),r,o,pn)},Lr.reduceRight=function(e,t,r){var n=Ui(e)?At:Gt,o=arguments.length<3;return n(e,ua(t,4),r,o,hn)},Lr.repeat=function(e,t,r){return t=(r?ka(e,t,r):t===n)?1:ml(t),Qn(yl(e),t)},Lr.replace=function(){var e=arguments,t=yl(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Lr.result=function(e,t,r){var o=-1,a=(t=ko(t,e)).length;for(a||(a=1,e=n);++o<a;){var i=null==e?n:e[Ia(t[o])];i===n&&(o=a,i=r),e=Yi(i)?i.call(e):i}return e},Lr.round=Ss,Lr.runInContext=e,Lr.sample=function(e){return(Ui(e)?Jr:Yn)(e)},Lr.size=function(e){if(null==e)return 0;if(Xi(e))return sl(e)?fr(e):e.length;var t=ga(e);return t==S||t==N?e.size:An(e).length},Lr.snakeCase=Gl,Lr.some=function(e,t,r){var o=Ui(e)?It:ao;return r&&ka(e,t,r)&&(t=n),o(e,ua(t,3))},Lr.sortedIndex=function(e,t){return io(e,t)},Lr.sortedIndexBy=function(e,t,r){return lo(e,t,ua(r,2))},Lr.sortedIndexOf=function(e,t){var r=null==e?0:e.length;if(r){var n=io(e,t);if(n<r&&Mi(e[n],t))return n}return-1},Lr.sortedLastIndex=function(e,t){return io(e,t,!0)},Lr.sortedLastIndexBy=function(e,t,r){return lo(e,t,ua(r,2),!0)},Lr.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var r=io(e,t,!0)-1;if(Mi(e[r],t))return r}return-1},Lr.startCase=Kl,Lr.startsWith=function(e,t,r){return e=yl(e),r=null==r?0:sn(ml(r),0,e.length),t=uo(t),e.slice(r,r+t.length)==t},Lr.subtract=Bs,Lr.sum=function(e){return e&&e.length?Kt(e,os):0},Lr.sumBy=function(e,t){return e&&e.length?Kt(e,ua(t,2)):0},Lr.template=function(e,t,r){var o=Lr.templateSettings;r&&ka(e,t,r)&&(t=n),e=yl(e),t=_l({},t,o,ea);var a=_l({},t.imports,o.imports,ea),i=Rl(a),l=Zt(a,i);zt(i,function(e){if(de.test(e))throw new Se("Invalid `imports` option passed into `_.template`")});var s,c,u=0,d=t.interpolate||ke,f="__p += '",p=ze((t.escape||ke).source+"|"+d.source+"|"+(d===Z?pe:ke).source+"|"+(t.evaluate||ke).source+"|$","g"),h="//# sourceURL="+(De.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++it+"]")+"\n";e.replace(p,function(t,r,n,o,a,i){return n||(n=o),f+=e.slice(u,i).replace(xe,ar),r&&(s=!0,f+="' +\n__e("+r+") +\n'"),a&&(c=!0,f+="';\n"+a+";\n__p += '"),n&&(f+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=i+t.length,t}),f+="';\n";var m=De.call(t,"variable")&&t.variable;if(m){if(de.test(m))throw new Se("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(c?f.replace(W,""):f).replace(U,"$1").replace($,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(c?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var g=Zl(function(){return Be(i,h+"return "+f).apply(n,l)});if(g.source=f,Ji(g))throw g;return g},Lr.times=function(e,t){if((e=ml(e))<1||e>p)return[];var r=m,n=yr(e,m);t=ua(t),e-=m;for(var o=Qt(n,t);++r<e;)t(r);return o},Lr.toFinite=hl,Lr.toInteger=ml,Lr.toLength=gl,Lr.toLower=function(e){return yl(e).toLowerCase()},Lr.toNumber=vl,Lr.toSafeInteger=function(e){return e?sn(ml(e),-9007199254740991,p):0===e?e:0},Lr.toString=yl,Lr.toUpper=function(e){return yl(e).toUpperCase()},Lr.trim=function(e,t,r){if((e=yl(e))&&(r||t===n))return Jt(e);if(!e||!(t=uo(t)))return e;var o=pr(e),a=pr(t);return _o(o,tr(o,a),rr(o,a)+1).join("")},Lr.trimEnd=function(e,t,r){if((e=yl(e))&&(r||t===n))return e.slice(0,hr(e)+1);if(!e||!(t=uo(t)))return e;var o=pr(e);return _o(o,0,rr(o,pr(t))+1).join("")},Lr.trimStart=function(e,t,r){if((e=yl(e))&&(r||t===n))return e.replace(ae,"");if(!e||!(t=uo(t)))return e;var o=pr(e);return _o(o,tr(o,pr(t))).join("")},Lr.truncate=function(e,t){var r=30,o="...";if(tl(t)){var a="separator"in t?t.separator:a;r="length"in t?ml(t.length):r,o="omission"in t?uo(t.omission):o}var i=(e=yl(e)).length;if(ir(e)){var l=pr(e);i=l.length}if(r>=i)return e;var s=r-fr(o);if(s<1)return o;var c=l?_o(l,0,s).join(""):e.slice(0,s);if(a===n)return c+o;if(l&&(s+=c.length-s),il(a)){if(e.slice(s).search(a)){var u,d=c;for(a.global||(a=ze(a.source,yl(he.exec(a))+"g")),a.lastIndex=0;u=a.exec(d);)var f=u.index;c=c.slice(0,f===n?s:f)}}else if(e.indexOf(uo(a),s)!=s){var p=c.lastIndexOf(a);p>-1&&(c=c.slice(0,p))}return c+o},Lr.unescape=function(e){return(e=yl(e))&&K.test(e)?e.replace(X,mr):e},Lr.uniqueId=function(e){var t=++Ae;return yl(e)+t},Lr.upperCase=Ql,Lr.upperFirst=Jl,Lr.each=yi,Lr.eachRight=wi,Lr.first=Xa,ss(Lr,(xs={},kn(Lr,function(e,t){De.call(Lr.prototype,t)||(xs[t]=e)}),xs),{chain:!1}),Lr.VERSION="4.18.1",zt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Lr[e].placeholder=Lr}),zt(["drop","take"],function(e,t){Wr.prototype[e]=function(r){r=r===n?1:br(ml(r),0);var o=this.__filtered__&&!t?new Wr(this):this.clone();return o.__filtered__?o.__takeCount__=yr(r,o.__takeCount__):o.__views__.push({size:yr(r,m),type:e+(o.__dir__<0?"Right":"")}),o},Wr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),zt(["filter","map","takeWhile"],function(e,t){var r=t+1,n=1==r||3==r;Wr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ua(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}}),zt(["head","last"],function(e,t){var r="take"+(t?"Right":"");Wr.prototype[e]=function(){return this[r](1).value()[0]}}),zt(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");Wr.prototype[e]=function(){return this.__filtered__?new Wr(this):this[r](1)}}),Wr.prototype.compact=function(){return this.filter(os)},Wr.prototype.find=function(e){return this.filter(e).head()},Wr.prototype.findLast=function(e){return this.reverse().find(e)},Wr.prototype.invokeMap=Jn(function(e,t){return"function"==typeof e?new Wr(this):this.map(function(r){return Fn(r,e,t)})}),Wr.prototype.reject=function(e){return this.filter(Di(ua(e)))},Wr.prototype.slice=function(e,t){e=ml(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Wr(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=ml(t))<0?r.dropRight(-t):r.take(t-e)),r)},Wr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Wr.prototype.toArray=function(){return this.take(m)},kn(Wr.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),a=Lr[o?"take"+("last"==t?"Right":""):t],i=o||/^find/.test(t);a&&(Lr.prototype[t]=function(){var t=this.__wrapped__,l=o?[1]:arguments,s=t instanceof Wr,c=l[0],u=s||Ui(t),d=function(e){var t=a.apply(Lr,jt([e],l));return o&&f?t[0]:t};u&&r&&"function"==typeof c&&1!=c.length&&(s=u=!1);var f=this.__chain__,p=!!this.__actions__.length,h=i&&!f,m=s&&!p;if(!i&&u){t=m?t:new Wr(this);var g=e.apply(t,l);return g.__actions__.push({func:hi,args:[d],thisArg:n}),new Vr(g,f)}return h&&m?e.apply(this,l):(g=this.thru(d),h?o?g.value()[0]:g.value():g)})}),zt(["pop","push","shift","sort","splice","unshift"],function(e){var t=Fe[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);Lr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var o=this.value();return t.apply(Ui(o)?o:[],e)}return this[r](function(r){return t.apply(Ui(r)?r:[],e)})}}),kn(Wr.prototype,function(e,t){var r=Lr[t];if(r){var n=r.name+"";De.call(Fr,n)||(Fr[n]=[]),Fr[n].push({name:t,func:r})}}),Fr[Ho(n,2).name]=[{name:"wrapper",func:n}],Wr.prototype.clone=function(){var e=new Wr(this.__wrapped__);return e.__actions__=Fo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Fo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Fo(this.__views__),e},Wr.prototype.reverse=function(){if(this.__filtered__){var e=new Wr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Wr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Ui(e),n=t<0,o=r?e.length:0,a=function(e,t,r){var n=-1,o=r.length;for(;++n<o;){var a=r[n],i=a.size;switch(a.type){case"drop":e+=i;break;case"dropRight":t-=i;break;case"take":t=yr(t,e+i);break;case"takeRight":e=br(e,t-i)}}return{start:e,end:t}}(0,o,this.__views__),i=a.start,l=a.end,s=l-i,c=n?l:i-1,u=this.__iteratees__,d=u.length,f=0,p=yr(s,this.__takeCount__);if(!r||!n&&o==s&&p==s)return go(e,this.__actions__);var h=[];e:for(;s--&&f<p;){for(var m=-1,g=e[c+=t];++m<d;){var v=u[m],b=v.iteratee,y=v.type,w=b(g);if(2==y)g=w;else if(!w){if(1==y)continue e;break e}}h[f++]=g}return h},Lr.prototype.at=mi,Lr.prototype.chain=function(){return pi(this)},Lr.prototype.commit=function(){return new Vr(this.value(),this.__chain__)},Lr.prototype.next=function(){this.__values__===n&&(this.__values__=pl(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},Lr.prototype.plant=function(e){for(var t,r=this;r instanceof Hr;){var o=La(r);o.__index__=0,o.__values__=n,t?a.__wrapped__=o:t=o;var a=o;r=r.__wrapped__}return a.__wrapped__=e,t},Lr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Wr){var t=e;return this.__actions__.length&&(t=new Wr(this)),(t=t.reverse()).__actions__.push({func:hi,args:[ti],thisArg:n}),new Vr(t,this.__chain__)}return this.thru(ti)},Lr.prototype.toJSON=Lr.prototype.valueOf=Lr.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Lr.prototype.first=Lr.prototype.head,Ye&&(Lr.prototype[Ye]=function(){return this}),Lr}();gt?((gt.exports=gr)._=gr,mt._=gr):ht._=gr}).call(r)}(Mf,Mf.exports);var Hf=n(Mf.exports);const Vf=e=>L.useMemo(()=>Hf.merge({},Lf,e),[e]);function Wf(e,t){return function(){return e.apply(t,arguments)}}const{toString:Uf}=Object.prototype,{getPrototypeOf:$f}=Object,{iterator:Xf,toStringTag:Gf}=Symbol,Kf=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Qf=(e,t)=>{let r=e;const n=[];for(;null!=r&&r!==Object.prototype;){if(-1!==n.indexOf(r))return!1;if(n.push(r),Kf(r,t))return!0;r=$f(r)}return!1},Jf=(e=>t=>{const r=Uf.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Yf=e=>(e=e.toLowerCase(),t=>Jf(t)===e),Zf=e=>t=>typeof t===e,{isArray:ep}=Array,tp=Zf("undefined");function rp(e){return null!==e&&!tp(e)&&null!==e.constructor&&!tp(e.constructor)&&ap(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const np=Yf("ArrayBuffer");const op=Zf("string"),ap=Zf("function"),ip=Zf("number"),lp=e=>null!==e&&"object"==typeof e,sp=e=>{if(!lp(e))return!1;const t=$f(e);return!(null!==t&&t!==Object.prototype&&null!==$f(t)||Qf(e,Gf)||Qf(e,Xf))},cp=Yf("Date"),up=Yf("File"),dp=Yf("Blob"),fp=Yf("FileList"),pp=Yf("Set");const hp="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},mp=void 0!==hp.FormData?hp.FormData:void 0,gp=Yf("URLSearchParams"),[vp,bp,yp,wp]=["ReadableStream","Request","Response","Headers"].map(Yf);function kp(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,o;if("object"!=typeof e&&(e=[e]),ep(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{if(rp(e))return;const o=r?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let i;for(n=0;n<a;n++)i=o[n],t.call(null,e[i],i,e)}}function xp(e,t){if(rp(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n,o=r.length;for(;o-- >0;)if(n=r[o],t===n.toLowerCase())return n;return null}const _p="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,Sp=e=>!tp(e)&&e!==_p;const Bp=(Ep="undefined"!=typeof Uint8Array&&$f(Uint8Array),e=>Ep&&e instanceof Ep);var Ep;const Cp=Yf("HTMLFormElement"),{propertyIsEnumerable:zp}=Object.prototype,Np=Yf("RegExp"),Tp=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};kp(r,(r,o)=>{let a;!1!==(a=t(r,o,e))&&(n[o]=a||r)}),Object.defineProperties(e,n)};const Fp=Yf("AsyncFunction"),Rp=(Pp="function"==typeof setImmediate,Op=ap(_p.postMessage),Pp?setImmediate:Op?((e,t)=>(_p.addEventListener("message",({source:r,data:n})=>{r===_p&&n===e&&t.length&&t.shift()()},!1),r=>{t.push(r),_p.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e));var Pp,Op;const jp="undefined"!=typeof queueMicrotask?queueMicrotask.bind(_p):"undefined"!=typeof process&&process.nextTick||Rp,Dp=e=>null!=e&&ap(e[Xf]);var Ap={isArray:ep,isArrayBuffer:np,isBuffer:rp,isFormData:e=>{if(!e)return!1;if(mp&&e instanceof mp)return!0;const t=$f(e);if(!t||t===Object.prototype)return!1;if(!ap(e.append))return!1;const r=Jf(e);return"formdata"===r||"object"===r&&ap(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&np(e.buffer),t},isString:op,isNumber:ip,isBoolean:e=>!0===e||!1===e,isObject:lp,isPlainObject:sp,isEmptyObject:e=>{if(!lp(e)||rp(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:vp,isRequest:bp,isResponse:yp,isHeaders:wp,isUndefined:tp,isDate:cp,isFile:up,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:dp,isRegExp:Np,isFunction:ap,isStream:e=>lp(e)&&ap(e.pipe),isURLSearchParams:gp,isTypedArray:Bp,isFileList:fp,forEach:kp,merge:function e(...t){const{caseless:r,skipUndefined:n}=Sp(this)&&this||{},o={},a=(t,a)=>{if("__proto__"===a||"constructor"===a||"prototype"===a)return;const i=r&&"string"==typeof a&&xp(o,a)||a,l=Kf(o,i)?o[i]:void 0;sp(l)&&sp(t)?o[i]=e(l,t):sp(t)?o[i]=e({},t):ep(t)?o[i]=t.slice():n&&tp(t)||(o[i]=t)};for(let e=0,r=t.length;e<r;e++){const r=t[e];if(!r||rp(r))continue;if(kp(r,a),"object"!=typeof r||ep(r))continue;const n=Object.getOwnPropertySymbols(r);for(let e=0;e<n.length;e++){const t=n[e];zp.call(r,t)&&a(r[t],t)}}return o},extend:(e,t,r,{allOwnKeys:n}={})=>(kp(t,(t,n)=>{r&&ap(t)?Object.defineProperty(e,n,{__proto__:null,value:Wf(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,a,i;const l={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],n&&!n(i,e,t)||l[i]||(t[i]=e[i],l[i]=!0);e=!1!==r&&$f(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:Jf,kindOfTest:Yf,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(ep(e))return e;let t=e.length;if(!ip(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[Xf]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:Cp,hasOwnProperty:Kf,hasOwnProp:Kf,hasOwnInPrototypeChain:Qf,getSafeProp:(e,t)=>null!=e&&Qf(e,t)?e[t]:void 0,reduceDescriptors:Tp,freezeMethods:e=>{Tp(e,(t,r)=>{if(ap(e)&&["arguments","caller","callee"].includes(r))return!1;const n=e[r];ap(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))})},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach(e=>{r[e]=!0})};return ep(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:xp,global:_p,isContextDefined:Sp,isSpecCompliantForm:function(e){return!!(e&&ap(e.append)&&"FormData"===e[Gf]&&e[Xf])},toJSONObject:e=>{const t=new WeakSet,r=e=>{if(lp(e)){if(t.has(e))return;if(rp(e))return e;if(!("toJSON"in e)){let n;if(t.add(e),pp(e)){n=[];for(const t of e){const e=r(t);!tp(e)&&n.push(e)}}else n=ep(e)?[]:{},kp(e,(e,t)=>{const o=r(e);!tp(o)&&(n[t]=o)});return t.delete(e),n}}return e};return r(e)},isAsyncFn:Fp,isThenable:e=>e&&(lp(e)||ap(e))&&ap(e.then)&&ap(e.catch),setImmediate:Rp,asap:jp,isIterable:Dp,isSafeIterable:e=>null!=e&&Qf(e,Xf)&&Dp(e)};const Ip=Ap.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const qp=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Lp=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Mp(e,t){return Ap.isArray(e)?e.map(e=>Mp(e,t)):function(e){let t=0,r=e.length;for(;t<r;){const r=e.charCodeAt(t);if(9!==r&&32!==r)break;t+=1}for(;r>t;){const t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}(String(e).replace(t,""))}function Hp(e){const t=Object.create(null);return Ap.forEach(e.toJSON(),(e,r)=>{t[r]=(e=>Mp(e,Lp))(e)}),t}const Vp=Symbol("internals");function Wp(e){return e&&String(e).trim().toLowerCase()}function Up(e){return!1===e||null==e?e:Ap.isArray(e)?e.map(Up):(e=>Mp(e,qp))(String(e))}const $p=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function Xp(e){let t=0,r=e.length;for(;t<r;){const r=e.charCodeAt(t);if(9!==r&&32!==r)break;t+=1}for(;r>t;){const t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}function Gp(e,t,r,n,o){return Ap.isFunction(n)?n.call(this,t,r):(o&&(t=r),Ap.isString(t)?Ap.isString(n)?-1!==t.indexOf(n):Ap.isRegExp(n)?n.test(t):void 0:void 0)}class Kp{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function o(e,t,r){const o=Wp(t);if(!o)return;const a=Ap.findKey(n,o);(!a||void 0===n[a]||!0===r||void 0===r&&!1!==n[a])&&(n[a||t]=Up(e))}const a=(e,t)=>Ap.forEach(e,(e,r)=>o(e,r,t));if(Ap.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(Ap.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((e=>{const t={};let r,n,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim();const a=Ap.hasOwnProp(t,r);!r||a&&Ap.hasOwnProp(Ip,r)||("set-cookie"===r?a?t[r].push(n):t[r]=[n]:t[r]=a?t[r]+", "+n:n)}),t})(e),t);else if(Ap.isObject(e)&&Ap.isSafeIterable(e)){let r,n,o=Object.create(null);for(const t of e){if(!Ap.isArray(t))throw new TypeError("Object iterator must return a key-value pair");n=t[0],Ap.hasOwnProp(o,n)?(r=o[n],o[n]=Ap.isArray(r)?[...r,t[1]]:[r,t[1]]):o[n]=t[1]}a(o,t)}else null!=e&&o(t,e,r);return this}get(e,t){if(e=Wp(e)){const r=Ap.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(Ap.isFunction(t))return t.call(this,e,r);if(Ap.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Wp(e)){const r=Ap.findKey(this,e);return!(!r||void 0===this[r]||t&&!Gp(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function o(e){if(e=Wp(e)){const o=Ap.findKey(r,e);!o||t&&!Gp(0,r[o],o,t)||(delete r[o],n=!0)}}return Ap.isArray(e)?e.forEach(o):o(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const o=t[r];e&&!Gp(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(e){const t=this,r={};return Ap.forEach(this,(n,o)=>{const a=Ap.findKey(r,o);if(a)return t[a]=Up(n),void delete t[o];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}(o):String(o).trim();i!==o&&delete t[o],t[i]=Up(n),r[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Ap.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&Ap.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){const e=this.get("set-cookie");return Ap.isArray(e)?e:null==e||!1===e?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return function(e){const t=Object.create(null),r=String(e);let n=0,o=!1,a=!1;function i(e){const o=Xp(r.slice(n,e)),a=o.indexOf("=");if(a<1)return;const i=Xp(o.slice(0,a));if(!$p.test(i))return;const l=i.toLowerCase();if("__proto__"===l||"constructor"===l||"prototype"===l)return;const s=Xp(o.slice(a+1));t[l]=function(e){const t=e.length-1;if(t<1||34!==e.charCodeAt(0)||34!==e.charCodeAt(t))return e;let r="";for(let n=1;n<t;n++){const o=e.charCodeAt(n);if(34===o)return e;if(92===o&&(n+=1,n>=t))return e;r+=e[n]}return r}(s)}for(let e=0;e<r.length;e++){const t=r.charCodeAt(e);o?a?a=!1:92===t?a=!0:34===t&&(o=!1):34===t?o=!0:44!==t&&59!==t||(i(e),n=e+1)}return i(r.length),t}(e)}static concat(e,...t){const r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){const t=(this[Vp]=this[Vp]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=Wp(e);t[n]||(!function(e,t){const r=Ap.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{__proto__:null,value:function(e,r,o){return this[n].call(this,t,e,r,o)},configurable:!0})})}(r,e),t[n]=!0)}return Ap.isArray(e)?e.forEach(n):n(e),this}}Kp.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ap.reduceDescriptors(Kp.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),Ap.freezeMethods(Kp);var Qp=Kp;const Jp="[REDACTED ****]";function Yp(e,t){const r=new Set(t.map(e=>String(e).toLowerCase())),n=[],o=e=>{if(null===e||"object"!=typeof e)return e;if(Ap.isBuffer(e))return e;if(-1!==n.indexOf(e))return;let t;if(e instanceof Qp&&(e=e.toJSON()),n.push(e),Ap.isArray(e))t=[],e.forEach((e,r)=>{const n=o(e);Ap.isUndefined(n)||(t[r]=n)});else{if(!Ap.isPlainObject(e)&&function(e){if(Ap.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(Ap.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(e))return n.pop(),e;t=Object.create(null);for(const[n,a]of Object.entries(e)){const e=r.has(n.toLowerCase())?Jp:o(a);Ap.isUndefined(e)||(t[n]=e)}}return n.pop(),t};return o(e)}function Zp(e){try{return String(e)}catch(e){return""}}class eh extends Error{static from(e,t,r,n,o,a){let i=e.message;!i&&Ap.isArray(e.errors)&&e.errors.length&&(i=function(e){return e.errors.map(e=>{try{return e&&e.message?Zp(e.message):Zp(e)}catch(e){return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}(e));const l=new eh(i,t||e.code,r,n,o);return Object.defineProperty(l,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),l.name=e.name,null!=e.status&&null==l.status&&(l.status=e.status),a&&Object.assign(l,a),l}constructor(e,t,r,n,o){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status)}toJSON(){const e=this.config,t=e&&Ap.hasOwnProp(e,"redact")?e.redact:void 0,r=Ap.isArray(t)&&t.length>0?Yp(e,t):Ap.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}}eh.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",eh.ERR_BAD_OPTION="ERR_BAD_OPTION",eh.ECONNABORTED="ECONNABORTED",eh.ETIMEDOUT="ETIMEDOUT",eh.ECONNREFUSED="ECONNREFUSED",eh.ERR_NETWORK="ERR_NETWORK",eh.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",eh.ERR_DEPRECATED="ERR_DEPRECATED",eh.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",eh.ERR_BAD_REQUEST="ERR_BAD_REQUEST",eh.ERR_CANCELED="ERR_CANCELED",eh.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",eh.ERR_INVALID_URL="ERR_INVALID_URL",eh.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var th=eh;function rh(e){return Ap.isPlainObject(e)||Ap.isArray(e)}function nh(e){return Ap.endsWith(e,"[]")?e.slice(0,-2):e}function oh(e,t,r){return e?e.concat(t).map(function(e,t){return e=nh(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}const ah=Ap.toFlatObject(Ap,{},null,function(e){return/^is[A-Z]/.test(e)});function ih(e,t,r){if(!Ap.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(r=Ap.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Ap.isUndefined(t[e])})).metaTokens,o=r.visitor||p,a=r.dots,i=r.indexes,l=r.Blob||"undefined"!=typeof Blob&&Blob,s=void 0===r.maxDepth?100:r.maxDepth,c=l&&Ap.isSpecCompliantForm(t),u=[];if(!Ap.isFunction(o))throw new TypeError("visitor must be a function");function d(e){if(null===e)return"";if(Ap.isDate(e))return e.toISOString();if(Ap.isBoolean(e))return e.toString();if(!c&&Ap.isBlob(e))throw new th("Blob is not supported. Use a Buffer instead.");if(Ap.isArrayBuffer(e)||Ap.isTypedArray(e)){if(c&&"function"==typeof l)return new l([e]);throw new th("Blob is not supported. Use a Buffer instead.",th.ERR_NOT_SUPPORT)}return e}function f(e){if(e>s)throw new th("Object is too deeply nested ("+e+" levels). Max depth: "+s,th.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,r,o){let l=e;if(Ap.isReactNative(t)&&Ap.isReactNativeBlob(e))return t.append(oh(o,r,a),d(e)),!1;if(e&&!o&&"object"==typeof e)if(Ap.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=function(e,t){if(s===1/0)return JSON.stringify(e);const r=[];return JSON.stringify(e,function(e,n){if(!Ap.isObject(n))return n;for(;r.length&&r[r.length-1]!==this;)r.pop();return r.push(n),f(t+r.length-1),n})}(e,1);else if(Ap.isArray(e)&&function(e){return Ap.isArray(e)&&!e.some(rh)}(e)||(Ap.isFileList(e)||Ap.endsWith(r,"[]"))&&(l=Ap.toArray(e)))return r=nh(r),l.forEach(function(e,n){!Ap.isUndefined(e)&&null!==e&&t.append(!0===i?oh([r],n,a):null===i?r:r+"[]",d(e))}),!1;return!!rh(e)||(t.append(oh(o,r,a),d(e)),!1)}const h=Object.assign(ah,{defaultVisitor:p,convertValue:d,isVisitable:rh});if(!Ap.isObject(e))throw new TypeError("data must be an object");return function e(r,n,a=0){if(!Ap.isUndefined(r)){if(f(a),-1!==u.indexOf(r))throw new Error("Circular reference detected in "+n.join("."));u.push(r),Ap.forEach(r,function(r,i){!0===(!(Ap.isUndefined(r)||null===r)&&o.call(t,r,Ap.isString(i)?i.trim():i,n,h))&&e(r,n?n.concat(i):[i],a+1)}),u.pop()}}(e),t}function lh(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function sh(e,t){this._pairs=[],e&&ih(e,this,t)}const ch=sh.prototype;function uh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function dh(e,t,r){if(!t)return e;e=e||"";const n=Ap.isFunction(r)?{serialize:r}:r,o=Ap.getSafeProp(n,"encode")||uh,a=Ap.getSafeProp(n,"serialize");let i;if(i=a?a(t,n):Ap.isURLSearchParams(t)?t.toString():new sh(t,n).toString(o),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}ch.append=function(e,t){this._pairs.push([e,t])},ch.toString=function(e){const t=e?t=>e.call(this,t,lh):lh;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var fh=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Ap.forEach(this.handlers,function(t){null!==t&&e(t)})}},ph={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},hh={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:sh,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const mh="undefined"!=typeof window&&"undefined"!=typeof document,gh="object"==typeof navigator&&navigator||void 0,vh=mh&&(!gh||["ReactNative","NativeScript","NS"].indexOf(gh.product)<0),bh="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,yh=mh&&window.location.href||"http://localhost";var wh={...Object.freeze({__proto__:null,hasBrowserEnv:mh,hasStandardBrowserEnv:vh,hasStandardBrowserWebWorkerEnv:bh,navigator:gh,origin:yh}),...hh};function kh(e){if(e>100)throw new th("FormData field is too deeply nested ("+e+" levels). Max depth: 100",th.ERR_FORM_DATA_DEPTH_EXCEEDED)}function xh(e){function t(e,r,n,o){kh(o);let a=e[o++];if("__proto__"===a)return!0;const i=Number.isFinite(+a),l=o>=e.length;if(a=!a&&Ap.isArray(n)?n.length:a,l)return Ap.hasOwnProp(n,a)?n[a]=Ap.isArray(n[a])?n[a].concat(r):[n[a],r]:n[a]=r,!i;Ap.hasOwnProp(n,a)&&Ap.isObject(n[a])||(n[a]=[]);return t(e,r,n[a],o)&&Ap.isArray(n[a])&&(n[a]=function(e){const t={},r=Object.keys(e);let n;const o=r.length;let a;for(n=0;n<o;n++)a=r[n],t[a]=e[a];return t}(n[a])),!i}if(Ap.isFormData(e)&&Ap.isFunction(e.entries)){const r={};return Ap.forEachEntry(e,(e,n)=>{t(function(e){const t=[],r=/[^.[\]]+|\[([^.[\]]*)]/g;let n;for(;null!==(n=r.exec(e));)kh(t.length),t.push("[]"===n[0]?"":n[1]||n[0]);return t}(e),n,r,0)}),r}return null}const _h=(e,t)=>null!=e&&Ap.hasOwnProp(e,t)?e[t]:void 0;const Sh={transitional:ph,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,o=Ap.isObject(e);o&&Ap.isHTMLForm(e)&&(e=new FormData(e));if(Ap.isFormData(e))return n?JSON.stringify(xh(e)):e;if(Ap.isArrayBuffer(e)||Ap.isBuffer(e)||Ap.isStream(e)||Ap.isFile(e)||Ap.isBlob(e)||Ap.isReadableStream(e))return e;if(Ap.isArrayBufferView(e))return e.buffer;if(Ap.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(o){const t=_h(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ih(e,new wh.classes.URLSearchParams,{visitor:function(e,t,r,n){return wh.isNode&&Ap.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t})}(e,t).toString();if((a=Ap.isFileList(e))||r.indexOf("multipart/form-data")>-1){const r=_h(this,"env"),n=r&&r.FormData;return ih(a?{"files[]":e}:e,n&&new n,t)}}return o||n?(t.setContentType("application/json",!1),function(e,t,r){if(Ap.isString(e))try{return(t||JSON.parse)(e),Ap.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=_h(this,"transitional")||Sh.transitional,r=t&&t.forcedJSONParsing,n=_h(this,"responseType"),o="json"===n;if(Ap.isResponse(e)||Ap.isReadableStream(e))return e;if(e&&Ap.isString(e)&&(r&&!n||o)){const r=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,_h(this,"parseReviver"))}catch(e){if(r){if("SyntaxError"===e.name)throw th.from(e,th.ERR_BAD_RESPONSE,this,null,_h(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wh.classes.FormData,Blob:wh.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ap.forEach(["delete","get","head","post","put","patch","query"],e=>{Sh.headers[e]={}});var Bh=Sh;function Eh(e,t){const r=this||Bh,n=t||r,o=Qp.from(n.headers);let a=n.data;return Ap.forEach(e,function(e){a=e.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function Ch(e){return!(!e||!e.__CANCEL__)}var zh=class extends th{constructor(e,t,r){super(null==e?"canceled":e,th.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}};function Nh(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new th("Request failed with status code "+r.status,r.status>=400&&r.status<500?th.ERR_BAD_REQUEST:th.ERR_BAD_RESPONSE,r.config,r.request,r)):e(r)}const Th=(e,t,r=3)=>{let n=0;const o=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o,a=0,i=0;return t=void 0!==t?t:1e3,function(l){const s=Date.now(),c=n[i];o||(o=s),r[a]=l,n[a]=s;let u=i,d=0;for(;u!==a;)d+=r[u++],u%=e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),s-o<t)return;const f=c&&s-c;return f?Math.round(1e3*d/f):void 0}}(50,250);return function(e,t){let r,n,o=0,a=1e3/t;const i=(t,a=Date.now())=>{o=a,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{const t=Date.now(),l=t-o;l>=a?i(e,t):(r=e,n||(n=setTimeout(()=>{n=null,i(r)},a-l)))},()=>r&&i(r)]}(r=>{if(!r||"number"!=typeof r.loaded)return;const a=r.loaded,i=r.lengthComputable?r.total:void 0,l=Math.max(0,null!=i?Math.min(a,i):a),s=Math.max(0,l-n),c=o(s);n=Math.max(n,l);e({loaded:l,total:i,progress:i?l/i:void 0,bytes:s,rate:c||void 0,estimated:c&&i?(i-l)/c:void 0,event:r,lengthComputable:null!=i,[t?"download":"upload"]:!0})},r)},Fh=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Rh=(e,t=Ap.asap)=>(...r)=>t(()=>e(...r));var Ph=wh.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,wh.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(wh.origin),wh.navigator&&/(msie|trident)/i.test(wh.navigator.userAgent)):()=>!0,Oh=wh.hasStandardBrowserEnv?{write(e,t,r,n,o,a,i){if("undefined"==typeof document)return;const l=[`${e}=${encodeURIComponent(t)}`];Ap.isNumber(r)&&l.push(`expires=${new Date(r).toUTCString()}`),Ap.isString(n)&&l.push(`path=${n}`),Ap.isString(o)&&l.push(`domain=${o}`),!0===a&&l.push("secure"),Ap.isString(i)&&l.push(`SameSite=${i}`),document.cookie=l.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.split(";");for(let r=0;r<t.length;r++){const n=t[r].replace(/^\s+/,""),o=n.indexOf("=");if(-1!==o&&n.slice(0,o)===e)try{return decodeURIComponent(n.slice(o+1))}catch(e){return n.slice(o+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};const jh=/^https?:(?!\/\/)/i,Dh=/[\t\n\r]/g;function Ah(e){const t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${Jp}@`),r=t.indexOf("#"),n=(-1===r?t:t.slice(0,r)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${Jp}`);return-1===r?n:`${n}#${o=t.slice(r+1),o?o.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,t,r="")=>`${t}${r}${Jp}`):o}`;var o}function Ih(e,t){if("string"==typeof e){const r=function(e){return function(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}(e).replace(Dh,"")}(e);if(jh.test(r))throw new th(`Invalid URL ${JSON.stringify(Ah(r))}: missing "//" after protocol`,th.ERR_INVALID_URL,t)}}function qh(e,t,r,n){Ih(t,n);let o=!("string"==typeof(a=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a));var a;return e&&(o||!1===r)?(Ih(e,n),function(e,t){if(!t)return e;let r=e.length;for(;r>0&&47===e.charCodeAt(r-1);)r--;return e.slice(0,r)+"/"+t.replace(/^\/+/,"")}(e,t)):t}const Lh=e=>e instanceof Qp?{...e}:e;function Mh(e,t){e=e||{},t=t||{};const r=Object.create(null);function n(e,t,r,n){return Ap.isPlainObject(e)&&Ap.isPlainObject(t)?Ap.merge.call({caseless:n},e,t):Ap.isPlainObject(t)?Ap.merge({},t):Ap.isArray(t)?t.slice():t}function o(e,t,r,o){return Ap.isUndefined(t)?Ap.isUndefined(e)?void 0:n(void 0,e,0,o):n(e,t,0,o)}function a(e,t){if(!Ap.isUndefined(t))return n(void 0,t)}function i(e,t){return Ap.isUndefined(t)?Ap.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function l(r,o,a){return Ap.hasOwnProp(t,a)?n(r,o):Ap.hasOwnProp(e,a)?n(void 0,r):void 0}Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const s={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:l,headers:(e,t,r)=>o(Lh(e),Lh(t),0,!0)};var c;return Ap.forEach((c={...e,...t},Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(c).concat(Object.getOwnPropertySymbols(c).filter(e=>Object.getOwnPropertyDescriptor(c,e).enumerable)):Object.keys(c)),function(n){if("__proto__"===n||"constructor"===n||"prototype"===n)return;const a=Ap.hasOwnProp(s,n)?s[n]:o,i=a(Ap.hasOwnProp(e,n)?e[n]:void 0,Ap.hasOwnProp(t,n)?t[n]:void 0,n);Ap.isUndefined(i)&&a!==l||(r[n]=i)}),Ap.hasOwnProp(t,"validateStatus")&&Ap.isUndefined(t.validateStatus)&&!1===function(r){const n=Ap.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!Ap.isUndefined(n)){if(!Ap.isPlainObject(n))return;if(Ap.hasOwnProp(n,r))return n[r]}const o=Ap.hasOwnProp(e,"transitional")?e.transitional:void 0;if(Ap.isPlainObject(o)&&Ap.hasOwnProp(o,r))return o[r]}("validateStatusUndefinedResolves")&&(Ap.hasOwnProp(e,"validateStatus")?r.validateStatus=n(void 0,e.validateStatus):delete r.validateStatus),r}const Hh=["content-type","content-length"];function Vh(e){const t=Mh({},e),r=e=>Ap.hasOwnProp(t,e)?t[e]:void 0,n=r("data");let o=r("withXSRFToken");const a=r("xsrfHeaderName"),i=r("xsrfCookieName");let l=r("headers");const s=r("auth"),c=r("baseURL"),u=r("allowAbsoluteUrls"),d=r("url");if(t.headers=l=Qp.from(l),t.url=dh(qh(c,d,u,t),r("params"),r("paramsSerializer")),s){const t=Ap.getSafeProp(s,"username")||"",r=Ap.getSafeProp(s,"password")||"";try{l.set("Authorization","Basic "+btoa(t+":"+(r?encodeURIComponent(r).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))):"")))}catch(t){throw th.from(t,th.ERR_BAD_OPTION_VALUE,e)}}if(Ap.isFormData(n)&&(wh.hasStandardBrowserEnv||wh.hasStandardBrowserWebWorkerEnv||Ap.isReactNative(n)?l.setContentType(void 0):Ap.isFunction(n.getHeaders)&&function(e,t,r){"content-only"===r?Object.entries(t||{}).forEach(([t,r])=>{Hh.includes(t.toLowerCase())&&e.set(t,r)}):e.set(t)}(l,n.getHeaders(),r("formDataHeaderPolicy"))),wh.hasStandardBrowserEnv){Ap.isFunction(o)&&(o=o(t));if(!0===o||null==o&&Ph(t.url)){const e=a&&i&&Oh.read(i);e&&l.set(a,e)}}return t}var Wh="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){const n=Vh(e);let o=n.data;const a=Qp.from(n.headers).normalize();let i,l,s,c,u,{responseType:d,onUploadProgress:f,onDownloadProgress:p}=n;function h(){c&&c(),u&&u(),n.cancelToken&&n.cancelToken.unsubscribe(i),n.signal&&n.signal.removeEventListener("abort",i)}let m=new XMLHttpRequest;function g(){if(!m)return;const n=Qp.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Nh(function(e){t(e),h()},function(e){r(e),h()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:e,request:m}),m=null}m.open(n.method.toUpperCase(),n.url,!0),m.timeout=n.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&m.responseURL.startsWith("file:"))&&setTimeout(g)},m.onabort=function(){m&&(r(new th("Request aborted",th.ECONNABORTED,e,m)),h(),m=null)},m.onerror=function(t){const n=t&&t.message?t.message:"Network Error",o=new th(n,th.ERR_NETWORK,e,m);o.event=t||null,r(o),h(),m=null},m.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||ph;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new th(t,o.clarifyTimeoutError?th.ETIMEDOUT:th.ECONNABORTED,e,m)),h(),m=null},void 0===o&&a.setContentType(null),"setRequestHeader"in m&&Ap.forEach(Hp(a),function(e,t){m.setRequestHeader(t,e)}),Ap.isUndefined(n.withCredentials)||(m.withCredentials=!!n.withCredentials),d&&"json"!==d&&(m.responseType=n.responseType),p&&([s,u]=Th(p,!0),m.addEventListener("progress",s)),f&&m.upload&&([l,c]=Th(f),m.upload.addEventListener("progress",l),m.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(i=t=>{m&&(r(!t||t.type?new zh(null,e,m):t),m.abort(),h(),m=null)},n.cancelToken&&n.cancelToken.subscribe(i),n.signal&&(n.signal.aborted?i():n.signal.addEventListener("abort",i)));const v=function(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}(n.url);if(v&&!wh.protocols.includes(v))return r(new th("Unsupported protocol "+v+":",th.ERR_BAD_REQUEST,e)),void h();m.send(o||null)})};var Uh=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const r=new AbortController;let n=!1;const o=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;r.abort(t instanceof th?t:new zh(t instanceof Error?t.message:t))}};let a=t&&setTimeout(()=>{a=null,o(new th(`timeout of ${t}ms exceeded`,th.ETIMEDOUT))},t);const i=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>{n||(e.aborted?o.call(e):e.addEventListener("abort",o,{once:!0}))});const{signal:l}=r;return l.unsubscribe=()=>Ap.asap(i),l};const $h=function*(e,t){let r=e.byteLength;if(!t||r<t)return void(yield e);let n,o=0;for(;o<r;)n=o+t,yield e.slice(o,n),o=n},Xh=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},Gh=(e,t,r,n)=>{const o=async function*(e,t){for await(const r of Xh(e))yield*$h(r,t)}(e,t);let a,i=0,l=e=>{a||(a=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const{done:t,value:n}=await o.next();if(t)return l(),void e.close();let a=n.byteLength;if(r){let e=i+=a;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw l(e),e}},cancel:e=>(l(e),o.return())},{highWaterMark:2})},Kh=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,Qh=(e,t,r)=>t+2<r&&Kh(e.charCodeAt(t+1))&&Kh(e.charCodeAt(t+2)),Jh=e=>e<=57?e-48:(223&e)-55,Yh=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||43===e||47===e||45===e||95===e,Zh=e=>9===e||10===e||12===e||13===e||32===e,em=e=>{const t=e.length;let r=0,n=0,o=!1;for(let a=0;a<t;a++){let i=e.charCodeAt(a);37===i&&Qh(e,a,t)&&(i=16*Jh(e.charCodeAt(a+1))+Jh(e.charCodeAt(a+2)),a+=2),Zh(i)||(61!==i?!Yh(i)||n>0?o=!0:r++:n++)}return o||n>2||n>0&&(r+n)%4!=0||r%4==1?(e=>{const t=e.length;let r=0;return t>0&&61===e.charCodeAt(t-1)&&(r++,t>1&&61===e.charCodeAt(t-2)&&r++),Math.floor(3*(t-r)/4)})(e):(e=>{const t=e%4;return 3*Math.floor(e/4)+(2===t?1:3===t?2:0)})(r)};function tm(e){const t="string"==typeof e?e.indexOf("#"):-1;return((e,t)=>{if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const r=e.indexOf(",");if(r<0)return 0;const n=e.slice(5,r),o=e.slice(r+1);if(/;base64/i.test(n))return t(o);let a=0;for(let e=0,t=o.length;e<t;e++){const r=o.charCodeAt(e);if(37===r&&Qh(o,e,t))a+=1,e+=2;else if(r<128)a+=1;else if(r<2048)a+=2;else if(r>=55296&&r<=56319&&e+1<t){const t=o.charCodeAt(e+1);t>=56320&&t<=57343?(a+=4,e++):a+=3}else a+=3}return a})(-1===t?e:e.slice(0,t),em)}const rm="1.19.0",{isFunction:nm}=Ap,om=e=>{if(!Ap.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},am=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},im=e=>{const t=void 0!==Ap.global&&null!==Ap.global?Ap.global:globalThis,{ReadableStream:r,TextEncoder:n}=t;e=Ap.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:a,Response:i}=e,l=o?nm(o):"function"==typeof fetch,s=nm(a),c=nm(i);if(!l)return!1;const u=l&&nm(r),d=l&&("function"==typeof n?(f=new n,e=>f.encode(e)):async e=>new Uint8Array(await new a(e).arrayBuffer()));var f;const p=s&&u&&am(()=>{let e=!1;const t=new a(wh.origin,{body:new r,method:"POST",get duplex(){return e=!0,"half"}}),n=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!n}),h=c&&u&&am(()=>Ap.isReadableStream(new i("").body)),m={stream:h&&(e=>e.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!m[e]&&(m[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new th(`Response type '${e}' is not supported`,th.ERR_NOT_SUPPORT,r)})});const g=async e=>{if(null==e)return 0;if(Ap.isBlob(e))return e.size;if(Ap.isSpecCompliantForm(e)){const t=new a(wh.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Ap.isArrayBufferView(e)||Ap.isArrayBuffer(e)?e.byteLength:(Ap.isURLSearchParams(e)&&(e+=""),Ap.isString(e)?(await d(e)).byteLength:void 0)};return async e=>{let{url:t,method:r,data:l,signal:c,cancelToken:d,timeout:f,onDownloadProgress:v,onUploadProgress:b,responseType:y,headers:w,withCredentials:k="same-origin",fetchOptions:x,maxContentLength:_,maxBodyLength:S}=Vh(e);const B=Ap.isNumber(_)&&_>-1,E=Ap.isNumber(S)&&S>-1;let C=o||fetch;y=y?(y+"").toLowerCase():"text";let z=Uh([c,d&&d.toAbortSignal()],f),N=null;const T=z&&z.unsubscribe&&(()=>{z.unsubscribe()});let F,R=null;const P=()=>new th("Request body larger than maxBodyLength limit",th.ERR_BAD_REQUEST,e,N);try{let o;const c=(j="auth",Ap.hasOwnProp(e,j)?e[j]:void 0);if(c){const e=Ap.getSafeProp(c,"username")||"";o={username:e,password:Ap.getSafeProp(c,"password")||""}}if((e=>{const t=e.indexOf("://");let r=e;return-1!==t&&(r=r.slice(t+3)),r.includes("@")||r.includes(":")})(t)){const e=new URL(t,wh.origin);if(!o&&(e.username||e.password)){const t=om(e.username);o={username:t,password:om(e.password)}}(e.username||e.password)&&(e.username="",e.password="",t=e.href)}if(o&&(w.delete("authorization"),w.set("Authorization","Basic "+btoa((O=(o.username||"")+":"+(o.password||""),encodeURIComponent(O).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))))))),B&&"string"==typeof t&&t.startsWith("data:")){if(tm(t)>_)throw new th("maxContentLength size of "+_+" exceeded",th.ERR_BAD_RESPONSE,e,N)}if(E&&"get"!==r&&"head"!==r){const e=await g(l);if("number"==typeof e&&isFinite(e)&&(F=e,e>S))throw P()}const d=E&&(Ap.isReadableStream(l)||Ap.isStream(l)),f=(e,t,r)=>Gh(e,65536,e=>{if(E&&e>S)throw R=P();t&&t(e)},r);if(p&&"get"!==r&&"head"!==r&&(b||d)){if(F=null==F?await(async(e,t)=>{const r=Ap.toFiniteNumber(e.getContentLength());return null==r?g(t):r})(w,l):F,0!==F||d){let e,r=new a(t,{method:"POST",body:l,duplex:"half"});if(Ap.isFormData(l)&&(e=r.headers.get("content-type"))&&w.setContentType(e),r.body){const[e,t]=b&&Fh(F,Th(Rh(b)))||[];l=f(r.body,e,t)}}}else if(d&&!s&&u&&"get"!==r&&"head"!==r)l=f(l);else if(d&&s&&!p&&"get"!==r&&"head"!==r)throw new th("Stream request bodies are not supported by the current fetch implementation",th.ERR_NOT_SUPPORT,e,N);Ap.isString(k)||(k=k?"include":"omit");const D=s&&"credentials"in a.prototype;if(Ap.isFormData(l)){const e=w.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&w.delete("content-type")}w.set("User-Agent","axios/"+rm,!1);const A={...x,signal:z,method:r.toUpperCase(),headers:Hp(w.normalize()),body:l,duplex:"half",credentials:D?k:void 0};N=s&&new a(t,A);let I=await(s?C(N,x):C(t,A));const q=Qp.from(I.headers);if(B){const t=Ap.toFiniteNumber(q.getContentLength());if(null!=t&&t>_)throw new th("maxContentLength size of "+_+" exceeded",th.ERR_BAD_RESPONSE,e,N)}const L=h&&("stream"===y||"response"===y);if(h&&I.body&&(v||B||L&&T)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=I[e]});const r=Ap.toFiniteNumber(q.getContentLength()),[n,o]=v&&Fh(r,Th(Rh(v),!0))||[];let a=0;const l=t=>{if(B&&(a=t,a>_))throw new th("maxContentLength size of "+_+" exceeded",th.ERR_BAD_RESPONSE,e,N);n&&n(t)};I=new i(Gh(I.body,65536,l,()=>{o&&o(),T&&T()}),t)}y=y||"text";let M=await m[Ap.findKey(m,y)||"text"](I,e);if(B&&!h&&!L){let t;if(null!=M&&("number"==typeof M.byteLength?t=M.byteLength:"number"==typeof M.size?t=M.size:"string"==typeof M&&(t="function"==typeof n?(new n).encode(M).byteLength:M.length)),"number"==typeof t&&t>_)throw new th("maxContentLength size of "+_+" exceeded",th.ERR_BAD_RESPONSE,e,N)}return!L&&T&&T(),await new Promise((t,r)=>{Nh(t,r,{data:M,headers:Qp.from(I.headers),status:I.status,statusText:I.statusText,config:e,request:N})})}catch(t){if(T&&T(),z&&z.aborted&&z.reason instanceof th){const r=z.reason;throw r.config=e,N&&(r.request=N),t!==r&&Object.defineProperty(r,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),r}if(R)throw N&&!R.request&&(R.request=N),R;if(t instanceof th)throw N&&!t.request&&(t.request=N),t;if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message)){const r=new th("Network Error",th.ERR_NETWORK,e,N,t&&t.response);throw Object.defineProperty(r,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),r}throw th.from(t,t&&t.code,e,N,t&&t.response)}var O,j}},lm=new Map,sm=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,a=[n,o,r];let i,l,s=a.length,c=lm;for(;s--;)i=a[s],l=c.get(i),void 0===l&&c.set(i,l=s?new Map:im(t)),c=l;return l};sm();const cm={http:null,xhr:Wh,fetch:{get:sm}};Ap.forEach(cm,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const um=e=>`- ${e}`,dm=e=>Ap.isFunction(e)||null===e||!1===e;var fm={getAdapter:function(e,t){e=Ap.isArray(e)?e:[e];const{length:r}=e;let n,o;const a={};for(let i=0;i<r;i++){let r;if(n=e[i],o=n,!dm(n)&&(o=cm[(r=String(n)).toLowerCase()],void 0===o))throw new th(`Unknown adapter '${r}'`);if(o&&(Ap.isFunction(o)||(o=o.get(t))))break;a[r||"#"+i]=o}if(!o){const e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=r?e.length>1?"since :\n"+e.map(um).join("\n"):" "+um(e[0]):"as no adapter specified";throw new th("There is no suitable adapter to dispatch the request "+t,th.ERR_NOT_SUPPORT)}return o},adapters:cm};function pm(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zh(null,e)}function hm(e){pm(e),e.headers=Qp.from(e.headers),e.data=Eh.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return fm.getAdapter(e.adapter||Bh.adapter,e)(e).then(function(t){pm(e),e.response=t;try{t.data=Eh.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=Qp.from(t.headers),t},function(t){if(!Ch(t)&&(pm(e),t&&t.response)){e.response=t.response;try{t.response.data=Eh.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=Qp.from(t.response.headers)}return Promise.reject(t)})}const mm={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mm[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const gm={};mm.transitional=function(e,t,r){function n(e,t){return"[Axios v"+rm+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,a)=>{if(!1===e)throw new th(n(o," has been removed"+(t?" in "+t:"")),th.ERR_DEPRECATED);return t&&!gm[o]&&(gm[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,a)}},mm.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var vm={assertOptions:function(e,t,r){if("object"!=typeof e||null===e)throw new th("options must be an object",th.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const a=n[o],i=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(i){const t=e[a],r=void 0===t||i(t,a,e);if(!0!==r)throw new th("option "+a+" must be "+r,th.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new th("Unknown option "+a,th.ERR_BAD_OPTION)}},validators:mm};const bm=vm.validators;class ym{constructor(e){this.defaults=e||{},this.interceptors={request:new fh,response:new fh}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const r=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(r){const t=r.indexOf("\n"),n=-1===t?-1:r.indexOf("\n",t+1),o=-1===n?"":r.slice(n+1);String(e.stack).endsWith(o)||(e.stack+="\n"+r)}}else e.stack=r}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Mh(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:o}=t;void 0!==r&&vm.assertOptions(r,{silentJSONParsing:bm.transitional(bm.boolean),forcedJSONParsing:bm.transitional(bm.boolean),clarifyTimeoutError:bm.transitional(bm.boolean),legacyInterceptorReqResOrdering:bm.transitional(bm.boolean),advertiseZstdAcceptEncoding:bm.transitional(bm.boolean),validateStatusUndefinedResolves:bm.transitional(bm.boolean)},!1),null!=n&&(Ap.isFunction(n)?t.paramsSerializer={serialize:n}:vm.assertOptions(n,{encode:bm.function,serialize:bm.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),vm.assertOptions(t,{baseUrl:bm.spelling("baseURL"),withXsrfToken:bm.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=o&&Ap.merge(o.common,o[t.method]);o&&Ap.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete o[e]}),t.headers=Qp.concat(a,o);const i=[];let l=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;l=l&&e.synchronous;const r=t.transitional||ph;r&&r.legacyInterceptorReqResOrdering?i.unshift(e.fulfilled,e.rejected):i.push(e.fulfilled,e.rejected)});const s=[];let c;this.interceptors.response.forEach(function(e){s.push(e.fulfilled,e.rejected)});let u,d=0;if(!l){const e=[hm.bind(this),void 0];for(e.unshift(...i),e.push(...s),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=i.length;let f=t;for(;d<u;){const e=i[d++],t=i[d++];try{f=e?e(f):f}catch(e){if(!t){c=Promise.reject(e);break}try{const r=t.call(this,e);Ap.isThenable(r)&&(c=Promise.resolve(r).then(()=>hm.call(this,f)))}catch(e){c=Promise.reject(e)}break}}if(!c)try{c=hm.call(this,f)}catch(e){c=Promise.reject(e)}for(d=0,u=s.length;d<u;)c=c.then(s[d++],s[d++]);return c}getUri(e){return dh(qh((e=Mh(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}}Ap.forEach(["delete","get","head","options"],function(e){ym.prototype[e]=function(t,r){return this.request(Mh(r||{},{method:e,url:t,data:r&&Ap.hasOwnProp(r,"data")?r.data:void 0}))}}),Ap.forEach(["post","put","patch","query"],function(e){function t(t){return function(r,n,o){return this.request(Mh(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}ym.prototype[e]=t(),"query"!==e&&(ym.prototype[e+"Form"]=t(!0))});var wm=ym;class km{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;const n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,o){r.reason||(r.reason=new zh(e,n,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;const t=new km(function(t){e=t});return{token:t,cancel:e}}}var xm=km;const _m={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(_m).forEach(([e,t])=>{_m[t]=e});var Sm=_m;const Bm=function e(t){const r=new wm(t),n=Wf(wm.prototype.request,r);return Ap.extend(n,wm.prototype,r,{allOwnKeys:!0}),Ap.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(Mh(t,r))},n}(Bh);Bm.Axios=wm,Bm.CanceledError=zh,Bm.CancelToken=xm,Bm.isCancel=Ch,Bm.VERSION=rm,Bm.toFormData=ih,Bm.AxiosError=th,Bm.Cancel=Bm.CanceledError,Bm.all=function(e){return Promise.all(e)},Bm.spread=function(e){return function(t){return e.apply(null,t)}},Bm.isAxiosError=function(e){return Ap.isObject(e)&&!0===e.isAxiosError},Bm.mergeConfig=Mh,Bm.AxiosHeaders=Qp,Bm.formToJSON=e=>xh(Ap.isHTMLForm(e)?new FormData(e):e),Bm.getAdapter=fm.getAdapter,Bm.HttpStatusCode=Sm,Bm.default=Bm;var Em=Bm;const Cm="#00BAE4",zm=[{key:1,text:"English",data:{code:"en"}},{key:2,text:"French",data:{code:"fr"}},{key:3,text:"German",data:{code:"de"}},{key:4,text:"Italian",data:{code:"it"}},{key:5,text:"Japanese",data:{code:"ja"}},{key:6,text:"Korean",data:{code:"ko"}},{key:7,text:"Portuguese",data:{code:"pt"}},{key:8,text:"Spanish",data:{code:"es"}},{key:9,text:"Dutch",data:{code:"nl"}},{key:10,text:"Arabic",data:{code:"ar"}},{key:11,text:"Hebrew",data:{code:"he"}},{key:12,text:"Portuguese, Brazilian",data:{code:"pt-br"}},{key:13,text:"Turkish",data:{code:"tr"}},{key:14,text:"Indonesian",data:{code:"id"}},{key:15,text:"Thai",data:{code:"th"}},{key:16,text:"Vietnamese",data:{code:"vi"}},{key:17,text:"Polish",data:{code:"pl"}}],Nm={en:{formScreen:{ApplySSAS:"apply_ssas",ApplySSASDesc:"apply_ssas_desc",AppForm:"app_form",AppFormDesc:"app_from_desc",FirstName:"first_name",FirstNamePlaceholder:"first_name_placeholder",FirstNameError:"first_name_error",LastName:"last_name",LastNamePlaceholder:"last_name_placeholder",LastNameError:"last_name_error",EmailAddress:"email_address",EmailPlaceholder:"email_placeholder",EmailDesc:"email_desc",EmailError:"email_error",EmailInvalid:"email_invalid",EmailNotConnected:"email_not_connected",JobRole:"job_role",JobRolePlaceholder:"job_role_placeholder",CompanyName:"company_name",CompanyNamePlaceholder:"company_name_placeholder",CompanyNameError:"company_name_error",CompanySize:"company_size",Country:"country",CountryPlaceholder:"country_placeholder",CountryError:"country_error",AcceptTerm:"accept_term",TermCondition:"term_condition",SubmitRequest:"submit_request",ThankYou:"thank_you",ThankYouDesc:"thank_you_desc",BackToHome:"back_to_home",CompanyScore:"company_score",IsSharedMailTerm:"shared_mail_term",AcceptPrivacy:"accept_privacy",PrivacyStatementLink:"privacy_statement_link",PrivacyNotice:"privacy_notice",SelectPreferredLanguage:"select_preferred_language",ValidatingMessage:"validating_message",PartnerName:"partner_name",PartnerNamePlaceholder:"partner_name_placeholder",PartnerNameError:"partner_name_error",PartnerEmail:"partner_email",PartnerEmailPlaceholder:"partner_email_placeholder",PartnerEmailError:"partner_email_error",ByCustomer:"by_customer",ByPartner:"by_partner",HearAbout:"hear_about",HearAboutPlaceholder:"hear_about_placeholder",HearAboutError:"hear_about_error",Industry:"industry"}}},Tm="/user/add-from-partner",Fm="/user/validate",Rm="/form-library/country-list",Pm="/app-configuration/maintenance-status",Om="/form-library/orgsizing-list",jm="/form-library/industry-list",Dm="/partner/get",Am="/partner/get-by-guid",Im="/localization/get";class qm{constructor(e,t){this.baseUrl=e.endsWith("/")?e.slice(0,-1):e,this.axios=Em.create(),this.axios.interceptors.request.use(e=>(t&&e.headers.set("X-Partner-Guid",t),e)),this.axiosPlain=Em.create()}getUrl(e){const t=this.baseUrl.includes("localhost")?"":"/api";return`${this.baseUrl}${t}${e}`}async addUser(e,t,r){return new Promise((n,o)=>{this.axios.post(this.getUrl(`${Tm}?partnerName=${t}&callingDomain=${r}`),e).then(t=>{t.data.isSuccess?n(e):o(t.data.error)}).catch(e=>{o(e)})})}async validateEmail(e,t){try{const r=await this.axios.get(this.getUrl(Fm),{params:{email:e},signal:t});if(r.data.isSuccess)return r.data.data;throw new Error(r.data.error||"Email validation failed")}catch(e){if(Em.isCancel(e))throw e;throw new Error(e.response?.data?.error||e.message||"Email validation failed")}}async getCountries(){try{const e=await this.axios.get(this.getUrl(Rm));if(void 0!==e.data.isSuccess){if(e.data.isSuccess)return e.data.data.map(e=>({name:e.name,alpha2Code:e.alpha2Code}));throw new Error(e.data.error||"Failed to fetch countries")}if(Array.isArray(e.data))return e.data.map(e=>({name:e.name?.common||e.name,alpha2Code:e.cca2||e.alpha2Code}));throw new Error("Unexpected response format")}catch(e){console.error("Failed to fetch countries:",e);const t=new Error(e.response?.data?.error||e.message||"Failed to fetch countries");throw t.status=e.response?.status,t}}async checkMaintenanceStatus(){try{const e=await this.axios.get(this.getUrl(Pm));return!!e.data.isSuccess&&e.data.data}catch(e){return!1}}async getOrgSizes(){try{const e=await this.axios.get(this.getUrl(Om));if(e.data.isSuccess)return e.data.data.map(e=>({id:e.id,sizeLowerBound:e.lowerBound,sizeUpperBound:e.upperBound,sortOrder:e.sortOrder,microsoftSizingId:e.microsoftSizingId,label:void 0}));throw new Error(e.data.error||"Failed to fetch organization sizes")}catch(e){console.error("Failed to fetch org sizes:",e);const t=new Error(e.response?.data?.error||e.message||"Failed to fetch organization sizes");throw t.status=e.response?.status,t}}async getIndustries(){try{const e=await this.axios.get(this.getUrl(jm));if(e.data.isSuccess)return e.data.data;throw new Error(e.data.error||"Failed to fetch industries")}catch(e){console.error("Failed to fetch industries:",e);const t=new Error(e.response?.data?.error||e.message||"Failed to fetch industries");throw t.status=e.response?.status,t}}async getPartnerByDomain(){try{let e=new URL(this.baseUrl).host;e=e.replace(/^(https?:\/\/)/,""),e=e.replace(/^www\./,"");const t=await this.axios.get(this.getUrl(Dm),{params:{domain:e}});if(t.data.isSuccess)return t.data.data;throw new Error(t.data.error||"Failed to fetch partner")}catch(e){throw console.error("Failed to fetch partner:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch partner")}}async getPartnerByGuid(e){try{const t=await this.axiosPlain.get(this.getUrl(Am),{params:{guid:e}});if(t.data.isSuccess)return t.data.data;throw new Error(t.data.error||"Failed to fetch partner")}catch(e){throw console.error("Failed to fetch partner:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch partner")}}async getFormScreenLocalization(e,t){try{const r=await this.axios.get(this.getUrl(`${Im}/${e}/FormScreen/${t}`));if(r.data.isSuccess)return r.data.data;throw new Error(r.data.error||"Failed to fetch localization")}catch(e){throw console.error("Failed to fetch localization:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch localization")}}}const Lm=["Top","Right","Bottom","Left"];function Mm(e,t,...r){const[n,o=n,a=n,i=o]=r,l=[n,o,a,i],s={};for(let r=0;r<l.length;r+=1)if(l[r]||0===l[r]){s[e+Lm[r]+t]=l[r]}return s}function Hm(...e){return Mm("border","Width",...e)}function Vm(...e){return Mm("border","Style",...e)}function Wm(...e){return Mm("border","Color",...e)}const Um=["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"];function $m(e){return Um.includes(e)}const Xm=e=>"number"==typeof e&&!Number.isNaN(e),Gm=e=>"auto"===e,Km=["content","fit-content","max-content","min-content"],Qm=e=>Km.some(t=>e===t)||(e=>"string"==typeof e&&/(\d+(\w+|%))/.test(e))(e);const Jm=/var\(.*\)/gi;const Ym=/^[a-zA-Z0-9\-_\\#;]+$/,Zm=/^-moz-initial$|^auto$|^initial$|^inherit$|^revert$|^unset$|^span \d+$|^\d.*/;function eg(e){return void 0!==e&&"string"==typeof e&&Ym.test(e)&&!Zm.test(e)}const tg=["-moz-initial","inherit","initial","revert","unset"];const rg=["dashed","dotted","double","solid","wavy"];const ng="undefined"==typeof window?global:window,og="@griffel/";function ag(e,t){return ng[Symbol.for(og+e)]||(ng[Symbol.for(og+e)]=t),ng[Symbol.for(og+e)]}const ig=ag("DEFINITION_LOOKUP_TABLE",{}),lg="data-make-styles-bucket",sg="data-priority",cg="data-container",ug="___",dg={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},fg="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function pg(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}function hg(e,t,r=[]){return ug+function(e){const t=e.length;if(7===t)return e;for(let r=t;r<7;r++)e+="0";return e}(pg(e+t))}function mg(e,t){let r="",n="";for(const o in e){const a=e[o];if(0===a){n+=o+" ";continue}const i=Array.isArray(a),l="rtl"===t?(i?a[1]:a)+" ":(i?a[0]:a)+" ";r+=l,n+=l}return[r.slice(0,-1),n.slice(0,-1)]}function gg(e,t){const r={};for(const n in e){const[o,a]=mg(e[n],t);if(""===a){r[n]="";continue}const i=hg(a,t),l=i+(""===o?"":" "+o);ig[i]=[e[n],t],r[n]=l}return r}const vg={};function bg(){let e=null,t="",r="";const n=new Array(arguments.length);for(let e=0;e<arguments.length;e++){const o=arguments[e];if("string"==typeof o&&""!==o){const a=o.indexOf(ug);if(-1===a)t+=o+" ";else{const i=o.substr(a,10);a>0&&(t+=o.slice(0,a)),r+=i,n[e]=i}}}if(""===r)return t.slice(0,-1);const o=vg[r];if(void 0!==o)return t+o;const a=[];for(let t=0;t<arguments.length;t++){const r=n[t];if(r){const t=ig[r];t&&(a.push(t[0]),e=t[1])}}const i=Object.assign.apply(Object,[{}].concat(a)),[l,s]=mg(i,e),c=hg(s,e,n),u=c+" "+l;return vg[r]=u,ig[c]=[i,e],t+u}new Set;(()=>{var e;try{return Boolean("undefined"!=typeof window&&(null===(e=window.sessionStorage)||void 0===e?void 0:e.getItem("__GRIFFEL_DEVTOOLS__")))}catch{return!1}})();function yg(e){return Array.isArray(e)?e:[e]}const wg=["r","d","l","v","w","f","i","h","a","s","k","t","m","c","x"].reduce((e,t,r)=>(e[t]=r,e),{});function kg(e,t,r,n,o={}){var a,i;const l="m"===e,s="x"===e,c=o.m,u=o.x,d=null!==(a=o.p)&&void 0!==a?a:0,f=function(e,t,r){return"m"===e||"x"===e?e+t+r:e+r}(e,null!==(i=null!=u?u:c)&&void 0!==i?i:"0",d);if(!n.stylesheets[f]){const a=t&&t.createElement("style"),i=function(e,t,r,n){const o=[];if(n[lg]=t,n[sg]=String(r),e)for(const t in n)e.setAttribute(t,n[t]);return{elementAttributes:n,insertRule:function(t){return(null==e?void 0:e.sheet)?e.sheet.insertRule(t,e.sheet.cssRules.length):o.push(t)},element:e,bucketName:t,cssRules:()=>(null==e?void 0:e.sheet)?Array.from(e.sheet.cssRules).map(e=>e.cssText):o}}(a,e,d,{...n.styleElementAttributes,...l&&{media:c},...s&&{[cg]:u}});n.stylesheets[f]=i,(null==t?void 0:t.head)&&a&&t.head.insertBefore(a,function(e,t,r,n,o={}){var a,i,l;const s=wg[r],c=null!==(a=o.m)&&void 0!==a?a:"",u=null!==(i=o.x)&&void 0!==i?i:"",d=null!==(l=o.p)&&void 0!==l?l:0;let f=e=>s-wg[e.getAttribute(lg)],p=e.head.querySelectorAll(`[${lg}]`);if("m"===r||"x"===r){const t=e.head.querySelectorAll(`[${lg}="${r}"]`);t.length&&(p=t,f="m"===r?e=>n.compareMediaQueries(c,e.media):e=>{var t;return n.compareContainerQueries(u,null!==(t=e.getAttribute(cg))&&void 0!==t?t:"")})}const h=e=>function(e,t,r){const n=e.getAttribute(lg);if(n===t)return"m"===t?r.m===e.media:"x"!==t||r.x===e.getAttribute(cg);return!1}(e,r,o)?d-Number(e.getAttribute(sg)):f(e),m=p.length;let g=m-1;for(;g>=0;){const e=p.item(g);if(h(e)>0)return e.nextSibling;g--}if(m>0)return p.item(0);return t?t.nextSibling:null}(t,r,e,n,o))}return n.stylesheets[f]}function xg(e,t){try{e.insertRule(t)}catch(e){}}let _g=0;const Sg=(e,t)=>e<t?-1:e>t?1:0;function Bg(e=("undefined"==typeof document?void 0:document),t={}){const{classNameHashSalt:r,unstable_filterCSSRule:n,insertionPoint:o,styleElementAttributes:a,compareMediaQueries:i=Sg,compareContainerQueries:l=i}=t,s={classNameHashSalt:r,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(a),compareMediaQueries:i,compareContainerQueries:l,id:"d"+_g++,insertCSSRules(t){for(const r in t){const a=t[r];for(let t=0,i=a.length;t<i;t++){const[i,l]=yg(a[t]),c=kg(r,e,o||null,s,l);s.insertionCache[i]||(s.insertionCache[i]=r,n?n(i)&&xg(c,i):xg(c,i))}}}};return s}var Eg="-moz-",Cg="-webkit-",zg="comm",Ng="rule",Tg="decl",Fg="@layer",Rg=Math.abs,Pg=String.fromCharCode,Og=Object.assign;function jg(e){return e.trim()}function Dg(e,t){return(e=t.exec(e))?e[0]:e}function Ag(e,t,r){return e.replace(t,r)}function Ig(e,t){return 0|e.charCodeAt(t)}function qg(e,t,r){return e.slice(t,r)}function Lg(e){return e.length}function Mg(e){return e.length}function Hg(e,t){return t.push(e),e}var Vg=1,Wg=1,Ug=0,$g=0,Xg=0,Gg="";function Kg(e,t,r,n,o,a,i,l){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:Vg,column:Wg,length:i,return:"",siblings:l}}function Qg(e,t){return Og(Kg("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Jg(){return Xg=$g>0?Ig(Gg,--$g):0,Wg--,10===Xg&&(Wg=1,Vg--),Xg}function Yg(){return Xg=$g<Ug?Ig(Gg,$g++):0,Wg++,10===Xg&&(Wg=1,Vg++),Xg}function Zg(){return Ig(Gg,$g)}function ev(){return $g}function tv(e,t){return qg(Gg,e,t)}function rv(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 nv(e){return Vg=Wg=1,Ug=Lg(Gg=e),$g=0,[]}function ov(e){return Gg="",e}function av(e){return jg(tv($g-1,cv(91===e?e+2:40===e?e+1:e)))}function iv(e){return ov(function(e){for(;Yg();)switch(rv(Xg)){case 0:Hg(dv($g-1),e);break;case 2:Hg(av(Xg),e);break;default:Hg(Pg(Xg),e)}return e}(nv(e)))}function lv(e){for(;(Xg=Zg())&&Xg<33;)Yg();return rv(e)>2||rv(Xg)>3?"":" "}function sv(e,t){for(;--t&&Yg()&&!(Xg<48||Xg>102||Xg>57&&Xg<65||Xg>70&&Xg<97););return tv(e,ev()+(t<6&&32==Zg()&&32==Yg()))}function cv(e){for(;Yg();)switch(Xg){case e:return $g;case 34:case 39:34!==e&&39!==e&&cv(Xg);break;case 40:41===e&&cv(e);break;case 92:Yg()}return $g}function uv(e,t){for(;Yg()&&e+Xg!==57&&(e+Xg!==84||47!==Zg()););return"/*"+tv(t,$g-1)+"*"+Pg(47===e?e:Yg())}function dv(e){for(;!rv(Zg());)Yg();return tv(e,$g)}function fv(e){return ov(pv("",null,null,null,[""],e=nv(e),0,[0],e))}function pv(e,t,r,n,o,a,i,l,s){for(var c=0,u=0,d=i,f=0,p=0,h=0,m=1,g=1,v=1,b=0,y=0,w="",k=o,x=a,_=n,S=w;g;)switch(h=y,y=Yg()){case 40:108!=h&&58==Ig(S,d-1)?(b++,S+="("):S+=av(y);break;case 41:b--,S+=")";break;case 34:case 39:case 91:S+=av(y);break;case 9:case 10:case 13:case 32:if(b>0){S+=Pg(y);break}S+=lv(h);break;case 92:S+=sv(ev()-1,7);continue;case 47:switch(Zg()){case 42:case 47:Hg(mv(uv(Yg(),ev()),t,r,s),s),5!=rv(h||1)&&5!=rv(Zg()||1)||!Lg(S)||" "===qg(S,-1,void 0)||(S+=" ");break;default:S+="/"}break;case 123*m:l[c++]=Lg(S)*v;case 125*m:case 59:case 0:if(b>0&&y){S+=Pg(y);break}switch(y){case 0:case 125:g=0;case 59+u:-1==v&&(S=Ag(S,/\f/g,"")),p>0&&(Lg(S)-d||0===m)&&Hg(p>32?gv(S+";",n,r,d-1,s):gv(Ag(S," ","")+";",n,r,d-2,s),s);break;case 59:S+=";";default:if(Hg(_=hv(S,t,r,c,u,o,l,w,k=[],x=[],d,a),a),123===y)if(0===u)pv(S,t,_,_,k,a,d,l,x);else{switch(f){case 99:if(110===Ig(S,3))break;case 108:if(97===Ig(S,2))break;default:u=0;case 100:case 109:case 115:}u?pv(e,_,_,n&&Hg(hv(e,_,_,0,0,o,l,w,o,k=[],d,x),x),o,x,d,l,n?k:x):pv(S,_,_,_,[""],x,0,l,x)}}c=u=p=0,m=v=1,w=S="",d=i;break;case 58:d=1+Lg(S),p=h;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==Jg())continue;switch(S+=Pg(y),y*m){case 38:v=u>0?1:(S+="\f",-1);break;case 44:if(b>0)break;l[c++]=(Lg(S)-1)*v,v=1;break;case 64:45===Zg()&&(S+=av(Yg())),f=Zg(),u=d=Lg(w=S+=dv(ev())),y++;break;case 45:45===h&&2==Lg(S)&&(m=0)}}return a}function hv(e,t,r,n,o,a,i,l,s,c,u,d){for(var f=o-1,p=0===o?a:[""],h=Mg(p),m=0,g=0,v=0;m<n;++m)for(var b=0,y=qg(e,f+1,f=Rg(g=i[m])),w=e;b<h;++b)(w=jg(g>0?p[b]+" "+y:Ag(y,/&\f/g,p[b])))&&(s[v++]=w);return Kg(e,t,r,0===o?Ng:l,s,c,u,d)}function mv(e,t,r,n){return Kg(e,t,r,zg,Pg(Xg),qg(e,2,-2),0,n)}function gv(e,t,r,n,o){return Kg(e,t,r,Tg,qg(e,0,n),qg(e,n+1,-1),n,o)}function vv(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function bv(e,t,r,n){switch(e.type){case Fg:if(e.children.length)break;case"@import":case"@namespace":case Tg:return e.return=e.return||e.value;case zg:return"";case"@keyframes":return e.return=e.value+"{"+vv(e.children,n)+"}";case Ng:if(!Lg(e.value=e.props.join(",")))return""}return Lg(r=vv(e.children,n))?e.return=e.value+"{"+r+"}":""}function yv(e){var t=Mg(e);return function(r,n,o,a){for(var i="",l=0;l<t;l++)i+=e[l](r,n,o,a)||"";return i}}function wv(e){return function(t){t.root||(t=t.return)&&e(t)}}const kv=()=>{const e={};return function(t,r){void 0===e[t.id]&&(t.insertCSSRules(r),e[t.id]=!0)}};function xv(e){return e.reduce(function(e,t){var r=t[0],n=t[1];return e[r]=n,e[n]=r,e},{})}function _v(e){return"number"==typeof e}function Sv(e,t){return-1!==e.indexOf(t)}function Bv(e,t,r,n){return t+(o=r,0===parseFloat(o)?o:"-"===o[0]?o.slice(1):"-"+o)+n;var o}function Ev(e){return e.replace(/ +/g," ").split(" ").map(function(e){return e.trim()}).filter(Boolean).reduce(function(e,t){var r=e.list,n=e.state,o=(t.match(/\(/g)||[]).length,a=(t.match(/\)/g)||[]).length;return n.parensDepth>0?r[r.length-1]=r[r.length-1]+" "+t:r.push(t),n.parensDepth+=o-a,{list:r,state:n}},{list:[],state:{parensDepth:0}}).list}function Cv(e){var t=Ev(e);if(t.length<=3||t.length>4)return e;var r=t[0],n=t[1],o=t[2];return[r,t[3],o,n].join(" ")}var zv={padding:function(e){var t=e.value;return _v(t)?t:Cv(t)},textShadow:function(e){var t=function(e){for(var t=[],r=0,n=0,o=!1;n<e.length;)o||","!==e[n]?"("===e[n]?(o=!0,n++):")"===e[n]?(o=!1,n++):n++:(t.push(e.substring(r,n).trim()),r=++n);return r!=n&&t.push(e.substring(r,n+1)),t}(e.value).map(function(e){return e.replace(/(^|\s)(-*)([.|\d]+)/,function(e,t,r,n){return"0"===n?e:""+t+(""===r?"-":"")+n})});return t.join(",")},borderColor:function(e){return Cv(e.value)},borderRadius:function(e){var t=e.value;if(_v(t))return t;if(Sv(t,"/")){var r=t.split("/"),n=r[0],o=r[1];return zv.borderRadius({value:n.trim()})+" / "+zv.borderRadius({value:o.trim()})}var a=Ev(t);switch(a.length){case 2:return a.reverse().join(" ");case 4:var i=a[0],l=a[1],s=a[2];return[l,i,a[3],s].join(" ");default:return t}},background:function(e){var t=e.value,r=e.valuesToConvert,n=e.isRtl,o=e.bgImgDirectionRegex,a=e.bgPosDirectionRegex;if(_v(t))return t;var i=t.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return t=t.replace(i,zv.backgroundPosition({value:i,valuesToConvert:r,isRtl:n,bgPosDirectionRegex:a})),zv.backgroundImage({value:t,valuesToConvert:r,bgImgDirectionRegex:o})},backgroundImage:function(e){var t=e.value,r=e.valuesToConvert,n=e.bgImgDirectionRegex;return Sv(t,"url(")||Sv(t,"linear-gradient(")?t.replace(n,function(e,t,n){return e.replace(n,r[n])}):t},backgroundPosition:function(e){var t=e.value,r=e.valuesToConvert,n=e.isRtl,o=e.bgPosDirectionRegex;return t.replace(n?/^((-|\d|\.)+%)/:null,function(e,t){return function(e){var t=e.indexOf(".");if(-1===t)e=100-parseFloat(e)+"%";else{var r=e.length-t-2;e=(e=100-parseFloat(e)).toFixed(r)+"%"}return e}(t)}).replace(o,function(e){return r[e]})},backgroundPositionX:function(e){var t=e.value,r=e.valuesToConvert,n=e.isRtl,o=e.bgPosDirectionRegex;return _v(t)?t:zv.backgroundPosition({value:t,valuesToConvert:r,isRtl:n,bgPosDirectionRegex:o})},transition:function(e){var t=e.value,r=e.propertiesToConvert;return t.split(/,\s*/g).map(function(e){var t=e.split(" ");return t[0]=r[t[0]]||t[0],t.join(" ")}).join(", ")},transitionProperty:function(e){var t=e.value,r=e.propertiesToConvert;return t.split(/,\s*/g).map(function(e){return r[e]||e}).join(", ")},transform:function(e){var t=e.value,r="[^\\u0020-\\u007e]",n="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",o="((?:-?(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|-?(?:[_a-z]|"+r+"|"+n+")(?:[_a-z0-9-]|"+r+"|"+n+")*)?)|(?:inherit|auto))",a=new RegExp("(translateX\\s*\\(\\s*)"+o+"(\\s*\\))","gi"),i=new RegExp("(translate\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,1}\\s*\\))","gi"),l=new RegExp("(translate3d\\s*\\(\\s*)"+o+"((?:\\s*,\\s*"+o+"){0,2}\\s*\\))","gi"),s=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+o+"(\\s*\\))","gi");return t.replace(a,Bv).replace(i,Bv).replace(l,Bv).replace(s,Bv)}};zv.objectPosition=zv.backgroundPosition,zv.margin=zv.padding,zv.borderWidth=zv.padding,zv.boxShadow=zv.textShadow,zv.webkitBoxShadow=zv.boxShadow,zv.mozBoxShadow=zv.boxShadow,zv.WebkitBoxShadow=zv.boxShadow,zv.MozBoxShadow=zv.boxShadow,zv.borderStyle=zv.borderColor,zv.webkitTransform=zv.transform,zv.mozTransform=zv.transform,zv.WebkitTransform=zv.transform,zv.MozTransform=zv.transform,zv.transformOrigin=zv.backgroundPosition,zv.webkitTransformOrigin=zv.transformOrigin,zv.mozTransformOrigin=zv.transformOrigin,zv.WebkitTransformOrigin=zv.transformOrigin,zv.MozTransformOrigin=zv.transformOrigin,zv.webkitTransition=zv.transition,zv.mozTransition=zv.transition,zv.WebkitTransition=zv.transition,zv.MozTransition=zv.transition,zv.webkitTransitionProperty=zv.transitionProperty,zv.mozTransitionProperty=zv.transitionProperty,zv.WebkitTransitionProperty=zv.transitionProperty,zv.MozTransitionProperty=zv.transitionProperty,zv["text-shadow"]=zv.textShadow,zv["border-color"]=zv.borderColor,zv["border-radius"]=zv.borderRadius,zv["background-image"]=zv.backgroundImage,zv["background-position"]=zv.backgroundPosition,zv["background-position-x"]=zv.backgroundPositionX,zv["object-position"]=zv.objectPosition,zv["border-width"]=zv.padding,zv["box-shadow"]=zv.textShadow,zv["-webkit-box-shadow"]=zv.textShadow,zv["-moz-box-shadow"]=zv.textShadow,zv["border-style"]=zv.borderColor,zv["-webkit-transform"]=zv.transform,zv["-moz-transform"]=zv.transform,zv["transform-origin"]=zv.transformOrigin,zv["-webkit-transform-origin"]=zv.transformOrigin,zv["-moz-transform-origin"]=zv.transformOrigin,zv["-webkit-transition"]=zv.transition,zv["-moz-transition"]=zv.transition,zv["transition-property"]=zv.transitionProperty,zv["-webkit-transition-property"]=zv.transitionProperty,zv["-moz-transition-property"]=zv.transitionProperty;var Nv=xv([["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"]]),Tv=["content"],Fv=xv([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),Rv=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),Pv=new RegExp("(left)|(right)");function Ov(e){return Object.keys(e).reduce(function(t,r){var n=e[r];if("string"==typeof n&&(n=n.trim()),Sv(Tv,r))return t[r]=n,t;var o=jv(r,n),a=o.key,i=o.value;return t[a]=i,t},Array.isArray(e)?[]:{})}function jv(e,t){var r,n=/\/\*\s?@noflip\s?\*\//.test(t),o=n?e:Nv[r=e]||r,a=n?t:function(e,t){if(!function(e){return t=e,!("boolean"==typeof t||function(e){return null==e}(e));var t}(t))return t;if(r=t,r&&"object"==typeof r)return Ov(t);var r;var n,o=_v(t),a=function(e){return"function"==typeof e}(t),i=o||a?t:t.replace(/ !important.*?$/,""),l=!o&&i.length!==t.length,s=zv[e];n=s?s({value:i,valuesToConvert:Fv,propertiesToConvert:Nv,isRtl:!0,bgImgDirectionRegex:Rv,bgPosDirectionRegex:Pv}):Fv[i]||i;if(l)return n+" !important";return n}(o,t);return{key:o,value:a}}const Dv=e=>{if(e.type===Ng){if("string"==typeof e.props)return;e.props=e.props.map(e=>-1===e.indexOf(":global(")?e:iv(e).reduce((e,t,r,n)=>{if(""===t)return e;if(":"===t&&"global"===n[r+1]){const t=n[r+2].slice(1,-1)+" ";return e.unshift(t),n[r+1]="",n[r+2]="",e}return e.push(t),e},[]).join(""))}};function Av(e,t,r){switch(function(e,t){return 45^Ig(e,0)?(((t<<2^Ig(e,0))<<2^Ig(e,1))<<2^Ig(e,2))<<2^Ig(e,3):0}(e,t)){case 5103:return Cg+"print-"+e+e;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return Cg+e+e;case 4215:if(102===Ig(e,9))return Cg+e+e;if(116===Ig(e,t+1))return Cg+e+e;break;case 4789:return Eg+e+e;case 5349:case 4246:case 6968:return Cg+e+Eg+e+e;case 6187:if(!Dg(e,/grab/))return Ag(Ag(Ag(e,/(zoom-|grab)/,Cg+"$1"),/(image-set)/,Cg+"$1"),e,"")+e;case 5495:case 3959:return Ag(e,/(image-set\([^]*)/,Cg+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return Ag(e,/(.+)-inline(.+)/,Cg+"$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(Lg(e)-1-t>6)switch(Ig(e,t+1)){case 102:if(108===Ig(e,t+3))return Ag(e,/(.+:)(.+)-([^]+)/,"$1"+Cg+"$2-$3$1"+Eg+(108==Ig(e,t+3)?"$3":"$2-$3"))+e;case 115:return~function(e,t){return e.indexOf(t)}(e,"stretch")?Av(Ag(e,"stretch","fill-available"),t)+e:e}}return e}function Iv(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Tg:return void(e.return=Av(e.value,e.length));case Ng:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(Dg(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return vv([Qg(e,{props:[Ag(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return vv([Qg(e,{props:[Ag(t,/:(plac\w+)/,":"+Cg+"input-$1")]}),Qg(e,{props:[Ag(t,/:(plac\w+)/,":-moz-$1")]})],n)}return""})}}const qv=e=>{(function(e){switch(e.type){case"@container":case"@media":case"@supports":case Fg:return!0}return!1})(e)&&Array.isArray(e.children)&&e.children.sort((e,t)=>e.props[0]>t.props[0]?1:-1)};function Lv(){}const Mv=/[A-Z]/g,Hv=/^ms-/,Vv={};function Wv(e){return"-"+e.toLowerCase()}function Uv(e){if(Object.prototype.hasOwnProperty.call(Vv,e))return Vv[e];if("--"===e.substr(0,2))return e;const t=e.replace(Mv,Wv);return Vv[e]=Hv.test(t)?"-"+t:t}function $v(e){return"&"===e.charAt(0)?e.slice(1):e}const Xv=/,( *[^ &])/g;function Gv(e,t){return t.reduceRight((e,t)=>{return`${r=t,"&"+$v(r.replace(Xv,",&$1"))} { ${e} }`;var r},e)}function Kv(e,t){const{className:r,selectors:n,property:o,rtlClassName:a,rtlProperty:i,rtlValue:l,value:s}=e,{container:c,layer:u,media:d,scope:f,supports:p}=t,h=`.${r}`,m=Array.isArray(s)?`${s.map(e=>`${Uv(o)}: ${e}`).join(";")};`:`${Uv(o)}: ${s};`,g=Gv(m,n);let v=f?`@scope (${h}) ${f} { :scope{${g}} }`:`${h}{${g}}`;if(i&&a){const e=`.${a}`,t=Array.isArray(l)?`${l.map(e=>`${Uv(i)}: ${e}`).join(";")};`:`${Uv(i)}: ${l};`,r=Gv(t,n);v+=f?`@scope (${e}) ${f} { :scope{${r}} }`:`${e}{${r}}`}return d&&(v=`@media ${d} { ${v} }`),u&&(v=`@layer ${u} { ${v} }`),p&&(v=`@supports ${p} { ${v} }`),c&&(v=`@container ${c} { ${v} }`),function(e,t){const r=[];return vv(fv(e),yv([Dv,t?qv:Lv,Iv,bv,wv(e=>r.push(e))])),r}(v,!0)}function Qv(e){let t="";for(const r in e){const n=e[r];if("string"!=typeof n&&"number"!=typeof n){if(Array.isArray(n))for(const e of n)t+=Uv(r)+":"+e+";"}else t+=Uv(r)+":"+n+";"}return t}function Jv(e){let t="";for(const r in e)t+=`${r}{${Qv(e[r])}}`;return t}function Yv(e,t){const r=[];return vv(fv(`@keyframes ${e} {${t}}`),yv([bv,Iv,wv(e=>r.push(e))])),r}const Zv={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function eb(e,t){if(t.media)return"m";if(t.layer||t.supports)return"t";if(t.container)return"x";if(e.length>0){const t=e[0].trim();if(58===t.charCodeAt(0))return Zv[t.slice(4,8)]||Zv[t.slice(3,5)]||"d"}return"d"}const tb={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],positionTry:[-1,["positionTryFallbacks","positionTryOrder"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],textWrap:[-1,["textWrapMode","textWrapStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function rb(e,t){return 0===e.length?t:`${e} and ${t}`}function nb(e,t){return e?t+e:e}function ob(e){return nb(e.container,"c")+nb(e.media,"m")+nb(e.layer,"l")+nb(e.supports,"s")+nb(e.scope,"o")}function ab(e,t,r){const n=pg(e+ob(r)+t),o=n.charCodeAt(0);return o>=48&&o<=57?String.fromCharCode(o+17)+n.slice(1):n}function ib({property:e,selector:t,salt:r,value:n},o){return"f"+pg(r+t+ob(o)+e+n.trim())}function lb(e){return"@container"===e.substring(0,10)}function sb(e){return"@layer"===e.substr(0,6)}function cb(e){return"@media"===e.substr(0,6)}const ub=/^(:|\[|>|&)/;function db(e){return ub.test(e)}function fb(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}function pb(e){return e===fg}function hb(e){return"@scope"===e.substring(0,6)}function mb(e){return"@supports"===e.substr(0,9)}function gb(e){return e.replace(/>\s+/g,">")}function vb(e,t){}function bb(e){return tb[e]}function yb(e){var t;return null!==(t=null==e?void 0:e[0])&&void 0!==t?t:0}function wb(e,t,r,n){e[t]=n?[r,n]:r}function kb(e,t){return t.length>0?[e,Object.fromEntries(t)]:e}function xb(e,t,r,n,o,a,i){var l;const s=[];0!==i&&s.push(["p",i]),"m"===t&&o&&s.push(["m",o]),"x"===t&&a&&s.push(["x",a]),null!==(l=e[t])&&void 0!==l||(e[t]=[]),r&&e[t].push(kb(r,s)),n&&e[t].push(kb(n,s))}function _b(e,t="",r=[],n={container:"",layer:"",media:"",supports:"",scope:""},o={},a={},i){for(const l in e){if(dg.hasOwnProperty(l)){vb(0,e[l]);continue}const s=e[l];if(null!=s){if(pb(s)){wb(o,ab(gb(r.join("")),l,n),0,void 0);continue}if("string"==typeof s||"number"==typeof s){const e=gb(r.join("")),c=bb(l);if(c){const e=c[1],i=Object.fromEntries(e.map(e=>[e,fg]));_b(i,t,r,n,o,a)}const u=ab(e,l,n),d=ib({value:s.toString(),salt:t,selector:e,property:l},n),f=i&&{key:l,value:i}||jv(l,s),p=f.key!==l||f.value!==s,h=p?ib({value:f.value.toString(),property:f.key,salt:t,selector:e},n):void 0,m=p?{rtlClassName:h,rtlProperty:f.key,rtlValue:f.value}:void 0,g=eb(r,n),[v,b]=Kv({className:d,selectors:r,property:l,value:s,...m},n);wb(o,u,d,h),xb(a,g,v,b,n.media,n.container,yb(c))}else if("animationName"===l){const e=Array.isArray(s)?s:[s],i=[],l=[];for(const t of e){const e=Jv(t),r=Jv(Ov(t)),o="f"+pg(e);let s;const c=Yv(o,e);let u=[];e===r?s=o:(s="f"+pg(r),u=Yv(s,r));for(let e=0;e<c.length;e++)xb(a,"k",c[e],u[e],n.media,n.container,0);i.push(o),l.push(s)}_b({animationName:i.join(", ")},t,r,n,o,a,l.join(", "))}else if(Array.isArray(s)){if(0===s.length)continue;const e=gb(r.join("")),i=bb(l);if(i){const e=i[1],l=Object.fromEntries(e.map(e=>[e,fg]));_b(l,t,r,n,o,a)}const c=ab(e,l,n),u=ib({value:s.map(e=>(null!=e?e:"").toString()).join(";"),salt:t,selector:e,property:l},n),d=s.map(e=>jv(l,e)),f=!d.some(e=>e.key!==d[0].key);if(!f)continue;const p=d[0].key!==l||d.some((e,t)=>e.value!==s[t]),h=p?ib({value:d.map(e=>{var t;return(null!==(t=null==e?void 0:e.value)&&void 0!==t?t:"").toString()}).join(";"),salt:t,property:d[0].key,selector:e},n):void 0,m=p?{rtlClassName:h,rtlProperty:d[0].key,rtlValue:d.map(e=>e.value)}:void 0,g=eb(r,n),[v,b]=Kv({className:u,selectors:r,property:l,value:s,...m},n);wb(o,c,u,h),xb(a,g,v,b,n.media,n.container,yb(i))}else if(fb(s))if(db(l))_b(s,t,r.concat($v(l)),n,o,a);else if(cb(l)){const e=rb(n.media,l.slice(6).trim());_b(s,t,r,{...n,media:e},o,a)}else if(sb(l)){const e=(n.layer?`${n.layer}.`:"")+l.slice(6).trim();_b(s,t,r,{...n,layer:e},o,a)}else if(mb(l)){const e=rb(n.supports,l.slice(9).trim());_b(s,t,r,{...n,supports:e},o,a)}else if(lb(l)){const e=l.slice(10).trim();_b(s,t,r,{...n,container:e},o,a)}else if(hb(l)){if(n.scope)continue;const e=l.slice(6).trim();if(""===e||!e.startsWith("to "))continue;_b(s,t,r,{...n,scope:e},o,a)}}}return[o,a]}function Sb(e,t=kv){const r=t();let n=null,o=null,a=null,i=null;return function(t){const{dir:l,renderer:s}=t;null===n&&([n,o]=function(e,t=""){const r={},n={};for(const o in e){const a=e[o],[i,l]=_b(a,t);r[o]=i,Object.keys(l).forEach(e=>{n[e]=(n[e]||[]).concat(l[e])})}return[r,n]}(e,s.classNameHashSalt));const c="ltr"===l;return c?null===a&&(a=gg(n,l)):null===i&&(i=gg(n,l)),r(s,o),c?a:i}}function Bb(e,t,r=kv){const n=r();let o=null,a=null;return function(r){const{dir:i,renderer:l}=r,s="ltr"===i;return s?null===o&&(o=gg(e,i)):null===a&&(a=gg(e,i)),n(l,t),s?o:a}}const Eb={border:function(...e){return $m(e[0])?{...Vm(e[0]),...e[1]&&Hm(e[1]),...e[2]&&Wm(e[2])}:{...Hm(e[0]),...e[1]&&Vm(e[1]),...e[2]&&Wm(e[2])}},borderLeft:function(...e){return $m(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]}}},borderBottom:function(...e){return $m(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]}}},borderRight:function(...e){return $m(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]}}},borderTop:function(...e){return $m(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]}}},borderColor:Wm,borderStyle:Vm,borderRadius:function(e,t=e,r=e,n=t){return{borderBottomRightRadius:r,borderBottomLeftRadius:n,borderTopRightRadius:t,borderTopLeftRadius:e}},borderWidth:Hm,flex:function(...e){const t=1===e.length,r=2===e.length,n=3===e.length;if(t){const[t]=e;if("initial"===t)return{flexGrow:0,flexShrink:1,flexBasis:"auto"};if(Gm(t))return{flexGrow:1,flexShrink:1,flexBasis:"auto"};if((e=>"none"===e)(t))return{flexGrow:0,flexShrink:0,flexBasis:"auto"};if(Xm(t))return{flexGrow:t,flexShrink:1,flexBasis:0};if(Qm(t))return{flexGrow:1,flexShrink:1,flexBasis:t}}if(r){const[t,r]=e;if(Xm(r))return{flexGrow:t,flexShrink:r,flexBasis:0};if(Qm(r))return{flexGrow:t,flexShrink:1,flexBasis:r}}if(n){const[t,r,n]=e;if(Xm(t)&&Xm(r)&&(Gm(n)||Qm(n)))return{flexGrow:t,flexShrink:r,flexBasis:n}}return{}},gap:function(e,t=e){return{columnGap:e,rowGap:t}},gridArea:function(...e){if(e.some(e=>!function(e){return void 0===e||"number"==typeof e||"string"==typeof e&&!Jm.test(e)}(e)))return{};const t=void 0!==e[0]?e[0]:"auto",r=void 0!==e[1]?e[1]:eg(t)?t:"auto";return{gridRowStart:t,gridColumnStart:r,gridRowEnd:void 0!==e[2]?e[2]:eg(t)?t:"auto",gridColumnEnd:void 0!==e[3]?e[3]:eg(r)?r:"auto"}},margin:function(...e){return Mm("margin","",...e)},marginBlock:function(e,t=e){return{marginBlockStart:e,marginBlockEnd:t}},marginInline:function(e,t=e){return{marginInlineStart:e,marginInlineEnd:t}},padding:function(...e){return Mm("padding","",...e)},paddingBlock:function(e,t=e){return{paddingBlockStart:e,paddingBlockEnd:t}},paddingInline:function(e,t=e){return{paddingInlineStart:e,paddingInlineEnd:t}},overflow:function(e,t=e){return{overflowX:e,overflowY:t}},inset:function(...e){const[t,r=t,n=t,o=r]=e;return{top:t,right:r,bottom:n,left:o}},outline:function(e,t,r){return{outlineWidth:e,...t&&{outlineStyle:t},...r&&{outlineColor:r}}},transition:function(...e){return function(e){return 1===e.length&&tg.includes(e[0])}(e)?{transitionDelay:e[0],transitionDuration:e[0],transitionProperty:e[0],transitionTimingFunction:e[0]}:function(e){if(1===e.length&&Array.isArray(e[0]))return e[0];return[e]}(e).reduce((e,[t,r="0s",n="0s",o="ease"],a)=>(0===a?(e.transitionProperty=t,e.transitionDuration=r,e.transitionDelay=n,e.transitionTimingFunction=o):(e.transitionProperty+=`, ${t}`,e.transitionDuration+=`, ${r}`,e.transitionDelay+=`, ${n}`,e.transitionTimingFunction+=`, ${o}`),e),{})},textDecoration:function(e,...t){if(0===t.length)return function(e){return rg.includes(e)}(e)?{textDecorationStyle:e}:{textDecorationLine:e};const[r,n,o]=t;return{textDecorationLine:e,...r&&{textDecorationStyle:r},...n&&{textDecorationColor:n},...o&&{textDecorationThickness:o}}}};const Cb=M.useInsertionEffect?M.useInsertionEffect:void 0,zb=()=>{const e={};return function(t,r){Cb&&"undefined"!=typeof window&&window.document&&window.document.createElement?Cb(()=>{t.insertCSSRules(r)},[t,r]):void 0===e[t.id]&&(t.insertCSSRules(r),e[t.id]=!0)}};var Nb={exports:{}},Tb={},Fb=L,Rb=Symbol.for("react.element"),Pb=Symbol.for("react.fragment"),Ob=Object.prototype.hasOwnProperty,jb=Fb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Db={key:!0,ref:!0,__self:!0,__source:!0};function Ab(e,t,r){var n,o={},a=null,i=null;for(n in void 0!==r&&(a=""+r),void 0!==t.key&&(a=""+t.key),void 0!==t.ref&&(i=t.ref),t)Ob.call(t,n)&&!Db.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:Rb,type:e,key:a,ref:i,props:o,_owner:jb.current}}Tb.Fragment=Pb,Tb.jsx=Ab,Tb.jsxs=Ab,Nb.exports=Tb;var Ib=Nb.exports,qb=t({__proto__:null,default:n(Ib)},[Ib]);const Lb=L.createContext(Bg());function Mb(){return L.useContext(Lb)}const Hb=L.createContext("ltr"),Vb=({children:e,dir:t})=>Ib.jsx(Hb.Provider,{value:t,children:e});function Wb(){return L.useContext(Hb)}function Ub(e){const t=Sb(e,zb);return function(){const e=Wb(),r=Mb();return t({dir:e,renderer:r})}}function $b(e,t){const r=Bb(e,t,zb);return function(){const e=Wb(),t=Mb();return r({dir:e,renderer:t})}}function Xb(e,t,r){const n=function(e,t,r,n=kv){const o=n();return function(n){const{dir:a,renderer:i}=n,l="ltr"===a?e:t||e;return o(i,Array.isArray(r)?{r:r}:r),l}}(e,t,r,zb);return function(){const e=Wb(),t=Mb();return n({dir:e,renderer:t})}}const Gb={"<":"\\3C ",">":"\\3E "};function Kb(e){return e.replace(/[<>]/g,e=>Gb[e])}const Qb=Symbol.for("fui.slotRenderFunction"),Jb=Symbol.for("fui.slotElementType"),Yb=Symbol.for("fui.slotClassNameProp");function Zb(e,t){const{defaultProps:r,elementType:n}=t,o=ty(e),a={...r,...o,[Jb]:n,[Yb]:(null==o?void 0:o.className)||(null==r?void 0:r.className)};return o&&"function"==typeof o.children&&(a[Qb]=o.children,a.children=null==r?void 0:r.children),a}function ey(e,t){if(null!==e&&(void 0!==e||t.renderByDefault))return Zb(e,t)}function ty(e){return"string"==typeof e||"number"==typeof e||ry(e)||L.isValidElement(e)?{children:e}:e}const ry=e=>"object"==typeof e&&null!==e&&Symbol.iterator in e;function ny(e){return Boolean(null==e?void 0:e.hasOwnProperty(Jb))}const oy=(...e)=>{const t={};for(const r of e){const e=Array.isArray(r)?r:Object.keys(r);for(const r of e)t[r]=1}return t},ay=oy(["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"]),iy=oy(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","focusgroupstart","ref","role","style","tabIndex","title","translate","spellCheck","name"]),ly=oy(["itemID","itemProp","itemRef","itemScope","itemType"]),sy=oy(iy,ay,ly),cy=oy(sy,["form"]),uy=oy(sy,["height","loop","muted","preload","src","width"]),dy=oy(uy,["poster"]),fy=oy(sy,["start"]),py=oy(sy,["value"]),hy=oy(sy,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),my=oy(sy,["dateTime"]),gy=oy(sy,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]);const vy={label:cy,audio:uy,video:dy,ol:fy,li:py,a:hy,button:gy,input:oy(gy,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),textarea:oy(gy,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),select:oy(gy,["form","multiple","required"]),option:oy(sy,["selected","value"]),table:oy(sy,["cellPadding","cellSpacing"]),tr:sy,th:oy(sy,["colSpan","rowSpan","scope"]),td:oy(sy,["colSpan","headers","rowSpan","scope"]),colGroup:oy(sy,["span"]),col:oy(sy,["span"]),fieldset:oy(sy,["disabled","form"]),form:oy(sy,["acceptCharset","action","encType","encType","method","noValidate","target"]),iframe:oy(sy,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),img:oy(sy,["alt","crossOrigin","height","loading","src","srcSet","useMap","width"]),time:my,dialog:oy(sy,["open","onCancel","onClose"])};function by(e,t,r){const n=e&&vy[e]||sy;return n.as=1,function(e,t,r){const n=Array.isArray(t),o={},a=Object.keys(e);for(const i of a)!(!n&&t[i]||n&&t.indexOf(i)>=0||0===i.indexOf("data-")||0===i.indexOf("aria-"))||r&&-1!==(null==r?void 0:r.indexOf(i))||(o[i]=e[i]);return o}(t,n,r)}const yy=({primarySlotTagName:e,props:t,excludedPropNames:r})=>({root:{style:t.style,className:t.className},primary:by(e,t,[...r||[],"style","className"])}),wy=(e,t,r)=>{var n;return by(null!==(n=t.as)&&void 0!==n?n:e,t,r)};const ky=L.createContext(void 0),xy=ky.Provider,_y=L.createContext(void 0),Sy=_y.Provider;const By=L.createContext(void 0).Provider,Ey=L.createContext(void 0),Cy={targetDocument:"object"==typeof document?document:void 0,dir:"ltr"},zy=Ey.Provider;function Ny(){var e;return null!==(e=L.useContext(Ey))&&void 0!==e?e:Cy}const Ty=L.createContext(void 0),Fy=Ty.Provider;function Ry(){var e;return null!==(e=L.useContext(Ty))&&void 0!==e?e:{}}const Py=L.createContext(void 0),Oy=()=>{},jy=Py.Provider,Dy=e=>{var t,r;return null!==(r=null===(t=L.useContext(Py))||void 0===t?void 0:t[e])&&void 0!==r?r:Oy},Ay=L.createContext(void 0);Ay.Provider;const Iy=e=>{const[t,r]=L.useState(()=>void 0===e.defaultState?e.initialState:"function"==typeof e.defaultState?e.defaultState():e.defaultState),n=L.useRef(e.state);L.useEffect(()=>{n.current=e.state},[e.state]);const o=L.useCallback(e=>{(function(e){return"function"==typeof e})(e)&&e(n.current)},[]);return qy(e.state)?[e.state,o]:[t,r]};const qy=e=>{const[t]=L.useState(()=>void 0!==e);return t};function Ly(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}const My={current:0},Hy=L.createContext(void 0);const Vy=Ly()?L.useLayoutEffect:L.useEffect,Wy=e=>{const t=L.useRef(()=>{throw new Error("Cannot call an event handler while rendering")});return Vy(()=>{t.current=e},[e]),L.useCallback((...e)=>(0,t.current)(...e),[t])};const Uy=L.createContext(void 0);function $y(e="fui-",t){const r=null!==(n=L.useContext(Hy))&&void 0!==n?n:My;var n;const o=L.useContext(Uy)||"",a=H.useId;if(a){const r=a(),n=L.useMemo(()=>r.replace(/:/g,""),[r]);return t||`${o}${e}${n}`}return L.useMemo(()=>t||`${o}${e}${++r.current}`,[o,e,t,r])}function Xy(...e){const t=L.useCallback(r=>{t.current=r;for(const t of e)"function"==typeof t?t(r):t&&(t.current=r)},[...e]);return t}Uy.Provider;const Gy=(e,t)=>!!(null==e?void 0:e.contains(t)),Ky=e=>{const{targetDocument:t}=Ny(),r=null==t?void 0:t.defaultView,{refs:n,callback:o,element:a,disabled:i,disabledFocusOnIframe:l,contains:s=Gy}=e,c=L.useRef(void 0);Yy({element:a,disabled:l||i,callback:o,refs:n,contains:s});const u=L.useRef(!1),d=Wy(e=>{if(u.current)return void(u.current=!1);const t=e.composedPath()[0];n.every(e=>!s(e.current||null,t))&&!i&&o(e)}),f=Wy(e=>{u.current=n.some(t=>s(t.current||null,e.target))});L.useEffect(()=>{if(i)return;let e=Qy(r);const t=t=>{t!==e?d(t):e=void 0};return null==a||a.addEventListener("click",t,!0),null==a||a.addEventListener("touchstart",t,!0),null==a||a.addEventListener("contextmenu",t,!0),null==a||a.addEventListener("mousedown",f,!0),c.current=null==r?void 0:r.setTimeout(()=>{e=void 0},1),()=>{null==a||a.removeEventListener("click",t,!0),null==a||a.removeEventListener("touchstart",t,!0),null==a||a.removeEventListener("contextmenu",t,!0),null==a||a.removeEventListener("mousedown",f,!0),null==r||r.clearTimeout(c.current),e=void 0}},[d,a,i,f,r])},Qy=e=>{var t,r,n;if(e)return"object"==typeof e.window&&e.window===e?e.event:null!==(n=null===(r=e.ownerDocument)||void 0===r||null===(t=r.defaultView)||void 0===t?void 0:t.event)&&void 0!==n?n:void 0},Jy="fuiframefocus",Yy=e=>{const{disabled:t,element:r,callback:n,contains:o=Gy,pollDuration:a=100,refs:i}=e,l=L.useRef(void 0),s=Wy(e=>{i.every(t=>!o(t.current||null,e.target))&&!t&&n(e)});L.useEffect(()=>{if(!t)return null==r||r.addEventListener(Jy,s,!0),()=>{null==r||r.removeEventListener(Jy,s,!0)}},[r,t,s]),L.useEffect(()=>{var e;if(!t)return l.current=null==r||null===(e=r.defaultView)||void 0===e?void 0:e.setInterval(()=>{const e=null==r?void 0:r.activeElement;if("IFRAME"===(null==e?void 0:e.tagName)||"WEBVIEW"===(null==e?void 0:e.tagName)){const t=new CustomEvent(Jy,{bubbles:!0});e.dispatchEvent(t)}},a),()=>{var e;null==r||null===(e=r.defaultView)||void 0===e||e.clearInterval(l.current)}},[r,t,a])},Zy=e=>-1,ew=e=>{};function tw(){const{targetDocument:e}=Ny(),t=null==e?void 0:e.defaultView;return function(e,t){const r=L.useRef(void 0),n=L.useCallback((n,o)=>(void 0!==r.current&&t(r.current),r.current=e(n,o),r.current),[t,e]),o=L.useCallback(()=>{void 0!==r.current&&(t(r.current),r.current=void 0)},[t]);return L.useEffect(()=>o,[o]),[n,o]}(t?t.setTimeout:Zy,t?t.clearTimeout:ew)}function rw(e,t){return(...r)=>{null==e||e(...r),null==t||t(...r)}}function nw(e,t){var r;const n=e;var o;return Boolean((null==n||null===(r=n.ownerDocument)||void 0===r?void 0:r.defaultView)&&n instanceof n.ownerDocument.defaultView[null!==(o=null==t?void 0:t.constructorName)&&void 0!==o?o:"HTMLElement"])}function ow(e,t={}){if(!e)return null;if(!t.skipVirtual){const t=function(e){return(t=e)&&t._virtual&&e._virtual.parent||null;var t}(e);if(t)return t}const r=e.parentNode;return r&&11===r.nodeType?r.host:r}function aw(e,t){e&&Object.assign(e,{_virtual:{parent:t}})}function iw(e,t){return function(r,n,o,a,i){return ny(n)?t(function(e,t){return{...t,[Jb]:e}}(r,n),null,o,a,i):ny(r)?t(r,n,o,a,i):e(r,n,o,a,i)}}function lw(e){const{as:t,[Yb]:r,[Jb]:n,[Qb]:o,...a}=e,i=a,l="string"==typeof n&&null!=t?t:n;return"string"!=typeof l&&t&&(i.as=t),{elementType:l,props:i,renderFunction:o}}const sw=qb,cw=iw(sw.jsx,(e,t,r)=>{const{elementType:n,renderFunction:o,props:a}=lw(e),i={...a,...t};return o?sw.jsx(L.Fragment,{children:o(n,i)},r):sw.jsx(n,i,r)}),uw=iw(sw.jsxs,(e,t,r)=>{const{elementType:n,renderFunction:o,props:a}=lw(e),i={...a,...t};return o?sw.jsx(L.Fragment,{children:o(n,{...i,children:sw.jsxs(L.Fragment,{children:i.children},void 0)})},r):sw.jsxs(n,i,r)}),dw=L.createContext(void 0),fw={},pw=dw.Provider,hw="data-tabster",mw=`:is(${["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,gw=1,vw=2,bw=3,yw=2;
29
+ /*!
30
+ * Copyright (c) Microsoft Corporation. All rights reserved.
31
+ * Licensed under the MIT License.
32
+ */
33
+ function ww(e,t){return e.storageEntry(t)?.tabster}function kw(e,t,r){const n=r||e._noop?void 0:t.getAttribute(hw);let o,a=e.storageEntry(t);if(n){if(n===a?.attr?.string)return;try{const e=JSON.parse(n);if("object"!=typeof e)throw new Error(`Value is not a JSON object, got '${n}'.`);o={string:n,object:e}}catch(e){}}else if(!a)return;a||(a=e.storageEntry(t,!0)),a.tabster||(a.tabster={});const i=a.tabster||{},l=a.attr?.object||{},s=o?.object||{};for(const r of Object.keys(l))if(!s[r]){if("root"===r){const t=i[r];t&&e.root.onRoot(t,!0)}switch(r){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":const n=i[r];n&&(n.dispose(),delete i[r]);break;case"observed":delete i[r],e.observedElement&&e.observedElement.onObservedElementUpdate(t);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete i[r]}}for(const r of Object.keys(s)){const n=s.sys;switch(r){case"root":i.root?i.root.setProps(s.root):i.root=e.root.createRoot(t,s.root,n),e.root.onRoot(i.root);break;case"focusable":i.focusable=s.focusable;break;case"observed":e.observedElement&&(i.observed=s.observed,e.observedElement.onObservedElementUpdate(t));break;case"uncontrolled":i.uncontrolled=s.uncontrolled;break;case"outline":e.outline&&(i.outline=s.outline);break;case"sys":i.sys=s.sys;break;default:{const o=e.attrHandlers.get(r);o&&(i[r]=o(t,i[r],s[r],l?.[r],n))}}}o?a.attr=o:(0===Object.keys(i).length&&(delete a.tabster,delete a.attr),e.storageEntry(t,!1))}
34
+ /*!
35
+ * Copyright (c) Microsoft Corporation. All rights reserved.
36
+ * Licensed under the MIT License.
37
+ */const xw=(e,t,r)=>{e.addEventListener(t,r,!0)},_w=(e,t,r)=>{e.removeEventListener(t,r,!0)},Sw="keyborg:focusin",Bw="keyborg:focusout";function Ew(e){const t=e.focus;t.__keyborgNativeFocus?t.__keyborgNativeFocus.call(e):e.focus()}
38
+ /*!
39
+ * Copyright (c) Microsoft Corporation. All rights reserved.
40
+ * Licensed under the MIT License.
41
+ */
42
+ let Cw=0;function zw(e){let t,r=e,n=!1;const o=e=>{n!==e&&(n=e,(()=>{const e=r?.__keyborg?.refs;if(e)for(const t of Object.keys(e))e[t]._cb.forEach(e=>e(n))})())},a=e=>{if(t)return;if(n)return;const r=e.detail;r.relatedTarget&&(r.isFocusedProgrammatically||void 0===r.isFocusedProgrammatically||o(!0))},i=()=>{r&&(t&&r.clearTimeout(t),t=r.setTimeout(()=>{t=void 0},1e3)),o(!1)},l=e=>{0===e.buttons||0===e.clientX&&0===e.clientY&&0===e.screenX&&0===e.screenY||i()},s=e=>{!n&&(e=>{if("Tab"===e.key)return!0;const t=r?.document.activeElement;return!(t&&("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable))})(e)&&o(!0)},c=e.document;xw(c,Sw,a),xw(c,"mousedown",l),xw(e,"keydown",s),xw(c,"touchstart",i),xw(c,"touchend",i),xw(c,"touchcancel",i),function(e){const t=e,r=t.document,n=t.HTMLElement.prototype,o=Object.getOwnPropertyDescriptor(n,"focus");if((o?.value)?.__keyborgNativeFocus)return;u.__keyborgNativeFocus=d,u.__keyborgFocusDescriptor=o,Object.defineProperty(n,"focus",{configurable:o?.configurable??!0,enumerable:o?.enumerable??!1,writable:!0,value:u});const a=new Set,i=e=>{const t=e.target;if(!t)return;const r=new CustomEvent(Bw,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:e}});t.dispatchEvent(r)},l=e=>{const t=e.target;if(!t)return;let r=e.composedPath()[0];const n=new Set;for(;r;)r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(n.add(r),r=r.host):r=r.parentNode;for(const e of a){const t=e.deref();t&&n.has(t)||(a.delete(e),t&&(_w(t,"focusin",l),_w(t,"focusout",i)))}s(t,e.relatedTarget||void 0)},s=(e,t,r)=>{const n=e.shadowRoot;if(n){for(const e of a)if(e.deref()===n)return;return xw(n,"focusin",l),xw(n,"focusout",i),void a.add(new WeakRef(n))}const o={relatedTarget:t,originalEvent:r},s=new CustomEvent(Sw,{cancelable:!0,bubbles:!0,composed:!0,detail:o});o.isFocusedProgrammatically=e===c[3]?.deref(),c[3]=void 0,e.dispatchEvent(s)},c=[l,i,a];function u(){const e=t.__keyborgData;return e&&(e[3]=new WeakRef(this)),d.apply(this,arguments)}function d(){const e=o?.get?o.get.call(this):o?.value;if("function"!=typeof e)throw new TypeError("HTMLElement.prototype.focus is not callable");return e.apply(this,arguments)}t.__keyborgData=c,xw(r,"focusin",l),xw(r,"focusout",i);let f=r.activeElement;for(;f&&f.shadowRoot;)s(f),f=f.shadowRoot.activeElement}(e);return{dispose:()=>{if(!r)return;t&&(r.clearTimeout(t),t=void 0),function(e){const t=e,r=t.HTMLElement.prototype,n=Object.getOwnPropertyDescriptor(r,"focus")?.value,o=n?.__keyborgFocusDescriptor,a=t.__keyborgData;if(a){const e=t.document;_w(e,"focusin",a[0]),_w(e,"focusout",a[1]);for(const e of a[2]){const t=e.deref();t&&(_w(t,"focusin",a[0]),_w(t,"focusout",a[1]))}a[2].clear(),delete t.__keyborgData}n?.__keyborgNativeFocus&&(o?Object.defineProperty(r,"focus",o):delete r.focus)}(r);const e=r.document;_w(e,Sw,a),_w(e,"mousedown",l),_w(r,"keydown",s),_w(e,"touchstart",i),_w(e,"touchend",i),_w(e,"touchcancel",i),r=void 0},get isNavigatingWithKeyboard(){return n},set isNavigatingWithKeyboard(e){o(e)}}}
43
+ /*!
44
+ * Copyright (c) Microsoft Corporation. All rights reserved.
45
+ * Licensed under the MIT License.
46
+ */
47
+ const Nw="undefined"!=typeof CustomEvent?CustomEvent:function(){};class Tw extends Nw{constructor(e,t){super(e,{bubbles:!0,cancelable:!0,composed:!0,detail:t}),this.details=t}}class Fw extends Tw{constructor(e){super("tabster:focusin",e)}}class Rw extends Tw{constructor(e){super("tabster:focusout",e)}}class Pw extends Tw{constructor(e){super("tabster:movefocus",e)}}class Ow extends Tw{constructor(e){super("tabster:root:focus",e)}}class jw extends Tw{constructor(e){super("tabster:root:blur",e)}}
48
+ /*!
49
+ * Copyright (c) Microsoft Corporation. All rights reserved.
50
+ * Licensed under the MIT License.
51
+ */const Dw={createMutationObserver:e=>new MutationObserver(e),createTreeWalker:(e,t,r,n)=>e.createTreeWalker(t,r,n),getParentNode:e=>e?e.parentNode:null,getParentElement:e=>e?e.parentElement:null,nodeContains:(e,t)=>!(!t||!e?.contains(t)),getActiveElement:e=>e.activeElement,querySelector:(e,t)=>e.querySelector(t),querySelectorAll:(e,t)=>Array.prototype.slice.call(e.querySelectorAll(t),0),getElementById:(e,t)=>e.getElementById(t),getFirstChild:e=>e?.firstChild||null,getLastChild:e=>e?.lastChild||null,getNextSibling:e=>e?.nextSibling||null,getPreviousSibling:e=>e?.previousSibling||null,getFirstElementChild:e=>e?.firstElementChild||null,getLastElementChild:e=>e?.lastElementChild||null,getNextElementSibling:e=>e?.nextElementSibling||null,getPreviousElementSibling:e=>e?.previousElementSibling||null,appendChild:(e,t)=>e.appendChild(t),insertBefore:(e,t,r)=>e.insertBefore(t,r),getSelection:e=>e.ownerDocument?.getSelection()||null,getElementsByName:(e,t)=>e.ownerDocument.getElementsByName(t)};
52
+ /*!
53
+ * Copyright (c) Microsoft Corporation. All rights reserved.
54
+ * Licensed under the MIT License.
55
+ */
56
+ let Aw=0;function Iw(e){const t=e();return t.__tabsterInstanceContext??={elementByUId:{},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0}}class qw{constructor(e,t){this._ref=new WeakRef(e),this._data=t}get(){const e=this._ref;let t;return e&&(t=e.deref(),t||delete this._ref),t}getData(){return this._data}}function Lw(e,t,r){if(t.nodeType===Node.ELEMENT_NODE)return Dw.createTreeWalker(e,t,NodeFilter.SHOW_ELEMENT,{acceptNode:r})}function Mw(e){return!!e.__shouldIgnoreFocus}function Hw(e,t){const r=Iw(e),n=t.__tabsterElementUID??=function(e){const t=new Uint32Array(4);return e.crypto.getRandomValues(t),Array.from(t,e=>e.toString(36)).join("")+"|"+(++Aw).toString(36)+"|"+Date.now().toString(36)}(e());return!r.elementByUId[n]&&Ww(t.ownerDocument,t)&&(r.elementByUId[n]=new qw(t)),n}function Vw(e,t){const r=Iw(e).elementByUId;for(const e of Object.keys(r)){const n=r[e]?.get();t&&n&&!Dw.nodeContains(t,n)||delete r[e]}}function Ww(e,t){return Dw.nodeContains(e?.body,t)}let Uw=0;class $w{constructor(e,t,r){this._tabster=e,this._element=new qw(t),this._props={...r},this.id="i"+ ++Uw}getElement(){return this._element.get()}getProps(){return this._props}setProps(e){this._props={...e}}}function Xw(e){let t=null;for(let r=Dw.getLastElementChild(e);r;r=Dw.getLastElementChild(r))t=r;return t||void 0}function Gw(e){return"INPUT"===e.tagName&&!!e.name&&"radio"===e.type}function Kw(e,t,r,n){e?.addEventListener(t,r,n)}function Qw(e,t,r,n){e?.removeEventListener(t,r,n)}function Jw(e,t){return!!e&&e.dispatchEvent(t)}
57
+ /*!
58
+ * Copyright (c) Microsoft Corporation. All rights reserved.
59
+ * Licensed under the MIT License.
60
+ */class Yw{constructor(e,t,r,n,o){this._focusIn=e=>{if(this._fixedTarget){const e=this._fixedTarget.get();return void(e&&Ew(e))}const t=this.input;if(this.onFocusIn&&t){const r=e.relatedTarget;this.onFocusIn(this,this._isBackward(!0,t,r),r)}},this._focusOut=e=>{if(this._fixedTarget)return;this.useDefaultAction=!1;const t=this.input;if(this.onFocusOut&&t){const r=e.relatedTarget;this.onFocusOut(this,this._isBackward(!1,t,r),r)}};const a=e(),i=a.document.createElement("i");i.tabIndex=0,i.setAttribute("role","none"),i.setAttribute("data-tabster-dummy",""),i.setAttribute("aria-hidden","true");const l=i.style;l.position="fixed",l.width=l.height="1px",l.opacity="0.001",l.zIndex="-1",l.setProperty("content-visibility","hidden"),function(e){e.__shouldIgnoreFocus=!0}(i),this.input=i,this.isFirst=r.isFirst,this.isOutside=t,this._isPhantom=r.isPhantom??!1,this._fixedTarget=o,Kw(i,"focusin",this._focusIn),Kw(i,"focusout",this._focusOut),i.__tabsterDummyContainer=n,this._isPhantom&&(this._disposeTimer=a.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{this._disposeTimer&&(a.clearTimeout(this._disposeTimer),delete this._disposeTimer),delete this._clearDisposeTimeout})}dispose(){this._clearDisposeTimeout&&this._clearDisposeTimeout();const e=this.input;e&&(delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,Qw(e,"focusin",this._focusIn),Qw(e,"focusout",this._focusOut),delete e.__tabsterDummyContainer,Dw.getParentNode(e)?.removeChild(e))}setTopLeft(e,t){const r=this.input?.style;r&&(r.top=`${e}px`,r.left=`${t}px`)}_isBackward(e,t,r){return e&&!r?!this.isFirst:!!(r&&t.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING)}}const Zw=1;class ek{constructor(e,t,r,n,o,a){this._element=t,this._instance=new rk(e,t,this,r,n,o,a)}_setHandlers(e,t){this._onFocusIn=e,this._onFocusOut=t}moveOut(e){this._instance?.moveOut(e)}moveOutWithDefaultAction(e,t){this._instance?.moveOutWithDefaultAction(e,t)}getHandler(e){return e?this._onFocusIn:this._onFocusOut}setTabbable(e){this._instance?.setTabbable(this,e)}dispose(){this._instance&&(this._instance.dispose(this),delete this._instance),delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(e,t,r,n,o){const a=new Yw(e.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(a){let i,l;if("BODY"===t.tagName)i=t,l=r&&n||!r&&!n?Dw.getFirstElementChild(t):null;else{let o,a;r&&(!n||n&&!e.focusable.isFocusable(t,!1,!0,!0))?(i=t,l=n?t.firstElementChild:null):(i=Dw.getParentElement(t),l=r&&n||!r&&!n?t:Dw.getNextElementSibling(t));do{o=r&&n||!r&&!n?Dw.getPreviousElementSibling(l):l,a=nk(o),a===t?l=r&&n||!r&&!n?o:Dw.getNextElementSibling(o):a=null}while(a)}i&&Jw(i,new Pw({by:"root",owner:i,next:null,relatedEvent:o}))&&(Dw.insertBefore(i,a,l),Ew(a))}}static addPhantomDummyWithTarget(e,t,r,n){const o=new Yw(e.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new qw(n)).input;if(o){let e,n;t.querySelector(mw)&&!r?(e=t,n=Dw.getFirstElementChild(t)):(e=Dw.getParentElement(t),n=r?t:Dw.getNextElementSibling(t)),e&&Dw.insertBefore(e,o,n)}}}class tk{constructor(e){this._updateQueue=new Set,this._lastUpdateQueueTime=0,this._changedParents=new WeakSet,this._dummyElements=[],this._dummyCallbacks=new WeakMap,this._domChanged=e=>{this._changedParents.has(e)||(this._changedParents.add(e),this._updateDummyInputsTimer||(this._updateDummyInputsTimer=this._win?.().setTimeout(()=>{delete this._updateDummyInputsTimer;for(const e of this._dummyElements){const t=e.get();if(t){const e=this._dummyCallbacks.get(t);if(e){const r=Dw.getParentNode(t);r&&!this._changedParents.has(r)||e()}}}this._changedParents=new WeakSet},100)))},this._win=e}add(e,t){!this._dummyCallbacks.has(e)&&this._win&&(this._dummyElements.push(new qw(e)),this._dummyCallbacks.set(e,t),this.domChanged=this._domChanged)}remove(e){this._dummyElements=this._dummyElements.filter(t=>{const r=t.get();return r&&r!==e}),this._dummyCallbacks.delete(e),0===this._dummyElements.length&&delete this.domChanged}dispose(){const e=this._win?.();this._updateTimer&&(e?.clearTimeout(this._updateTimer),delete this._updateTimer),this._updateDummyInputsTimer&&(e?.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(e){this._win&&(this._updateQueue.add(e),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions())}_scheduledUpdatePositions(){this._updateTimer||(this._updateTimer=this._win?.().setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+100<=Date.now()){const e=new Map,t=[];for(const r of this._updateQueue)t.push(r(e));this._updateQueue.clear();for(const e of t)e();e.clear()}else this._scheduledUpdatePositions()},100))}}class rk{constructor(e,t,r,n,o,a,i){this._wrappers=[],this._isOutside=!1,this._transformElements=new Set,this._onFocusIn=(e,t,r)=>{this._onFocus(!0,e,t,r)},this._onFocusOut=(e,t,r)=>{this._onFocus(!1,e,t,r)},this.moveOut=e=>{const t=this._firstDummy,r=this._lastDummy;if(t&&r){this._ensurePosition();const n=t.input,o=r.input,a=this._element?.get();if(n&&o&&a){let t;e?(n.tabIndex=0,t=n):(o.tabIndex=0,t=o),t&&Ew(t)}}},this.moveOutWithDefaultAction=(e,t)=>{const r=this._firstDummy,n=this._lastDummy;if(r&&n){this._ensurePosition();const o=r.input,a=n.input,i=this._element?.get();if(o&&a&&i){let l;e?!r.isOutside&&this._tabster.focusable.isFocusable(i,!0,!0,!0)?l=i:(r.useDefaultAction=!0,o.tabIndex=0,l=o):(n.useDefaultAction=!0,a.tabIndex=0,l=a),l&&Jw(i,new Pw({by:"root",owner:i,next:null,relatedEvent:t}))&&Ew(l)}}},this.setTabbable=(e,t)=>{for(const r of this._wrappers)if(r.manager===e){r.tabbable=t;break}const r=this._getCurrent();if(r){const e=r.tabbable?0:-1;let t=this._firstDummy?.input;t&&(t.tabIndex=e),t=this._lastDummy?.input,t&&(t.tabIndex=e)}},this._addDummyInputs=()=>{this._addTimer||(this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._addTransformOffsets()},0))},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=e=>{const t=this._firstDummy?.input||this._lastDummy?.input,r=this._transformElements,n=new Set;let o=0,a=0;const i=this._getWindow();for(let l=t;l&&l.nodeType===Node.ELEMENT_NODE;l=Dw.getParentElement(l)){let t=e.get(l);if(void 0===t){const r=i.getComputedStyle(l).transform;r&&"none"!==r&&(t={scrollTop:l.scrollTop,scrollLeft:l.scrollLeft}),e.set(l,t||null)}t&&(n.add(l),r.has(l)||Kw(l,"scroll",this._addTransformOffsets),o+=t.scrollTop,a+=t.scrollLeft)}for(const e of r)n.has(e)||Qw(e,"scroll",this._addTransformOffsets);return this._transformElements=n,()=>{this._firstDummy?.setTopLeft(o,a),this._lastDummy?.setTopLeft(o,a)}};const l=t.get();if(!l)throw new Error("No element");this._tabster=e,this._getWindow=e.getWindow,this._callForDefaultAction=i;const s=l.__tabsterDummy;if((s||this)._wrappers.push({manager:r,priority:n,tabbable:!0}),s)return s;l.__tabsterDummy=this;const c=o?.dummyInputsPosition,u=l.tagName;this._isOutside=c?c===yw:(a||"UL"===u||"OL"===u||"TABLE"===u)&&!("LI"===u||"TD"===u||"TH"===u),this._firstDummy=new Yw(this._getWindow,this._isOutside,{isFirst:!0},t),this._lastDummy=new Yw(this._getWindow,this._isOutside,{isFirst:!1},t);const d=this._firstDummy.input;d&&e._dummyObserver.add(d,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=t,this._addDummyInputs()}dispose(e,t){const r=this._wrappers=this._wrappers.filter(r=>r.manager!==e&&!t);if(0===r.length){delete(this._element?.get()).__tabsterDummy;for(const e of this._transformElements)Qw(e,"scroll",this._addTransformOffsets);this._transformElements.clear();const e=this._getWindow();this._addTimer&&(e.clearTimeout(this._addTimer),delete this._addTimer);const t=this._firstDummy?.input;t&&this._tabster._dummyObserver.remove(t),this._firstDummy?.dispose(),this._lastDummy?.dispose()}}_onFocus(e,t,r,n){const o=this._getCurrent();!o||t.useDefaultAction&&!this._callForDefaultAction||o.manager.getHandler(e)?.(t,r,n)}_getCurrent(){return this._wrappers.sort((e,t)=>e.tabbable!==t.tabbable?e.tabbable?-1:1:e.priority-t.priority),this._wrappers[0]}_ensurePosition(){const e=this._element?.get(),t=this._firstDummy?.input,r=this._lastDummy?.input;if(e&&t&&r)if(this._isOutside){const n=Dw.getParentNode(e);if(n){const o=Dw.getNextSibling(e);o!==r&&Dw.insertBefore(n,r,o),Dw.getPreviousElementSibling(e)!==t&&Dw.insertBefore(n,t,e)}}else{Dw.getLastElementChild(e)!==r&&Dw.appendChild(e,r);const n=Dw.getFirstElementChild(e);n&&n!==t&&n.parentNode&&Dw.insertBefore(n.parentNode,t,n)}}}function nk(e){return e?.__tabsterDummyContainer?.get()||null}
61
+ /*!
62
+ * Copyright (c) Microsoft Corporation. All rights reserved.
63
+ * Licensed under the MIT License.
64
+ */function ok(e,t){const r=JSON.stringify(e);return!0===t?r:{[hw]:r}}function ak(e,t,r){let n;if(r){const t=e.getAttribute(hw);if(t)try{n=JSON.parse(t)}catch(e){}}n||(n={}),function(e,t){for(const r of Object.keys(t)){const n=t[r];n?e[r]=n:delete e[r]}}(n,t),Object.keys(n).length>0?e.setAttribute(hw,ok(n,!0)):e.removeAttribute(hw)}
65
+ /*!
66
+ * Copyright (c) Microsoft Corporation. All rights reserved.
67
+ * Licensed under the MIT License.
68
+ */class ik extends ek{constructor(e,t,r,n){super(e,t,Zw,n,void 0,!0),this._onDummyInputFocus=e=>{if(e.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);const t=this._element.get();if(t){this._setFocused(!0);const r=this._tabster.focusedElement.getFirstOrLastTabbable(e.isFirst,{container:t,ignoreAccessibility:!0});if(r)return void Ew(r)}e.input?.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=e,this._setFocused=r}}class lk extends $w{constructor(e,t,r,n,o){super(e,t,n),this._isFocused=!1,this._setFocused=e=>{if(this._setFocusedTimer&&(this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._isFocused===e)return;const t=this._element.get();t&&(e?(this._isFocused=!0,this._dummyManager?.setTabbable(!1),Jw(t,new Ow({element:t}))):this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{delete this._setFocusedTimer,this._isFocused=!1,this._dummyManager?.setTabbable(!0),Jw(t,new jw({element:t}))},0))},this._onFocusIn=e=>{const t=this._tabster.getParent,r=this._element.get();let n=e.composedPath()[0];do{if(n===r)return void this._setFocused(!0);n=n&&t(n)}while(n)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=r;const a=e.getWindow;this.uid=Hw(a,t),this._sys=o,(e.controlTab||e.rootDummyInputs)&&this.addDummyInputs();const i=a().document;Kw(i,Sw,this._onFocusIn),Kw(i,Bw,this._onFocusOut),this._add()}addDummyInputs(){this._dummyManager||(this._dummyManager=new ik(this._tabster,this._element,this._setFocused,this._sys))}dispose(){this._onDispose(this);const e=this._tabster.getWindow(),t=e.document;Qw(t,Sw,this._onFocusIn),Qw(t,Bw,this._onFocusOut),this._setFocusedTimer&&(e.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer),this._dummyManager?.dispose(),this._remove()}moveOutWithDefaultAction(e,t){const r=this._dummyManager;if(r)r.moveOutWithDefaultAction(e,t);else{const r=this.getElement();r&&ik.moveWithPhantomDummy(this._tabster,r,!0,e,t)}}_add(){}_remove(){}}class sk{constructor(e,t){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{const e=this._win().document,t=e.body;if(t){this._autoRootUnwait(e);const r=this._autoRoot;if(r)return ak(t,{root:r},!0),kw(this._tabster,t),ww(this._tabster,t)?.root}else this._autoRootWaiting||(this._autoRootWaiting=!0,Kw(e,"readystatechange",this._autoRootCreate))},this._onRootDispose=e=>{delete this._roots[e.id]},this._tabster=e,this._win=e.getWindow,this._autoRoot=t,e.queueInit(()=>{this._autoRoot&&this._autoRootCreate()})}_autoRootUnwait(e){Qw(e,"readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){const e=this._win();this._autoRootUnwait(e.document),delete this._autoRoot,Object.keys(this._roots).forEach(e=>{this._roots[e]&&(this._roots[e].dispose(),delete this._roots[e])}),this.rootById={}}createRoot(e,t,r){const n=new lk(this._tabster,e,this._onRootDispose,t,r);return this._roots[n.id]=n,this._forceDummy&&n.addDummyInputs(),n}addDummyInputs(){this._forceDummy=!0;const e=this._roots;for(const t of Object.keys(e))e[t].addDummyInputs()}static getRootByUId(e,t){const r=e().__tabsterInstance;return r&&r.root.rootById[t]}static getTabsterContext(e,t,r={}){if(!t.ownerDocument)return;const{checkRtl:n,referenceElement:o}=r,a=e.getParent;let i,l,s,c;e.drainInitQueue();let u,d,f,p,h=!1,m=o||t;const g={};for(;m&&(!i||n);){const r=ww(e,m);if(n&&void 0===f){const e=m.dir;e&&(f="rtl"===e.toLowerCase())}if(!r){m=a(m);continue}const o=m.tagName;(r.uncontrolled||"IFRAME"===o||"WEBVIEW"===o)&&e.focusable.isVisible(m)&&(p=m),c||!r.focusable?.excludeFromMover||s||(h=!0);const v=r.modalizer,b=r.groupper,y=r.mover;!l&&v&&(l=v),s||!b||l&&!v||(l?(!b.isActive()&&b.getProps().tabbability&&l.userId!==e.modalizer?.activeId&&(l=void 0,s=b),d=b):s=b),c||!y||l&&!v||b&&m===t||!m.contains(t)||(c=y,u=!!s&&s!==b),r.root&&(i=r.root),r.focusable?.ignoreKeydown&&Object.assign(g,r.focusable.ignoreKeydown),m=a(m)}if(!i){const r=e.root;r._autoRoot&&t.ownerDocument?.body&&(i=r._autoRootCreate())}s&&!c&&(u=!0);return i?{root:i,modalizer:l,groupper:s,mover:c,groupperBeforeMover:u,modalizerInGroupper:d,rtl:n?!!f:void 0,uncontrolled:p,excludedFromMover:h,ignoreKeydown:e=>!!g[e.key]}:void 0}static getRoot(e,t){const r=e.getParent;for(let n=t;n;n=r(n)){const t=ww(e,n)?.root;if(t)return t}}onRoot(e,t){t?delete this.rootById[e.uid]:this.rootById[e.uid]=e}}
69
+ /*!
70
+ * Copyright (c) Microsoft Corporation. All rights reserved.
71
+ * Licensed under the MIT License.
72
+ */class ck{constructor(e){this._tabster=e}dispose(){}getProps(e){const t=ww(this._tabster,e);return t&&t.focusable||{}}isFocusable(e,t,r,n){return a=mw,!("function"!=typeof(o=e).matches||!o.matches(a)||!t&&-1===e.tabIndex)&&((r||this.isVisible(e))&&(n||this.isAccessible(e)));var o,a}isVisible(e){if(!e.ownerDocument||e.nodeType!==Node.ELEMENT_NODE)return!1;if(function(e){const t=e.ownerDocument,r=t.defaultView?.getComputedStyle(e);if(null===e.offsetParent&&t.body!==e&&"fixed"!==r?.position)return!0;if("hidden"===r?.visibility)return!0;if("fixed"===r?.position){if("none"===r.display)return!0;if(null===e.parentElement?.offsetParent&&t.body!==e.parentElement)return!0}return!1}(e))return!1;const t=e.ownerDocument.body.getBoundingClientRect();return 0!==t.width||0!==t.height}isAccessible(e){for(let t=e;t;t=Dw.getParentElement(t)){const e=ww(this._tabster,t);if(this._isHidden(t))return!1;const r=e?.focusable?.ignoreAriaDisabled;if(!r&&this._isDisabled(t))return!1}return!0}_isDisabled(e){return e.hasAttribute("disabled")}_isHidden(e){const t=e.getAttribute("aria-hidden");return!(!t||"true"!==t.toLowerCase()||this._tabster.modalizer?.isAugmented(e))}findFirst(e,t){return this.findElement({...e},t)}findLast(e,t){return this.findElement({isBackward:!0,...e},t)}findNext(e,t){return this.findElement({...e},t)}findPrev(e,t){return this.findElement({...e,isBackward:!0},t)}findDefault(e,t){return this.findElement({...e,acceptCondition:t=>this.isFocusable(t,e.includeProgrammaticallyFocusable)&&!!this.getProps(t).isDefault},t)||null}findAll(e){return this._findElements(!0,e)||[]}findElement(e,t){const r=this._findElements(!1,e,t);return r?r[0]:r}_findElements(e,t,r){const{container:n,currentElement:o=null,includeProgrammaticallyFocusable:a,useActiveModalizer:i,ignoreAccessibility:l,modalizerId:s,isBackward:c,onElement:u}=t;r||(r={});const d=[];let{acceptCondition:f}=t;const p=!!f;if(!n)return null;f||(f=e=>this.isFocusable(e,a,!1,l));const h={container:n,modalizerUserId:void 0===s&&i?this._tabster.modalizer?.activeId:s||sk.getTabsterContext(this._tabster,n)?.modalizer?.userId,from:o||n,isBackward:c,isFindAll:e,acceptCondition:f,hasCustomCondition:p,includeProgrammaticallyFocusable:a,ignoreAccessibility:l,cachedGrouppers:{},cachedRadioGroups:{}},m=Lw(n.ownerDocument,n,e=>this._acceptElement(e,h));if(!m)return null;const g=t=>{const n=h.foundElement??h.foundBackward;return n&&d.push(n),e?!(n&&(h.found=!1,delete h.foundElement,delete h.foundBackward,delete h.fromCtx,h.from=n,u&&!u(n)))&&!(!n&&!t):(n&&r&&(r.uncontrolled=sk.getTabsterContext(this._tabster,n)?.uncontrolled),!(!t||n))};if(o||(r.outOfDOMOrder=!0),o&&Dw.nodeContains(n,o))m.currentNode=o;else if(c){const e=Xw(n);if(!e)return null;if(this._acceptElement(e,h)===NodeFilter.FILTER_ACCEPT&&!g(!0))return h.skippedFocusable&&(r.outOfDOMOrder=!0),d;m.currentNode=e}do{c?m.previousNode():m.nextNode()}while(g());return h.skippedFocusable&&(r.outOfDOMOrder=!0),d.length?d:null}_acceptElement(e,t){if(t.found)return NodeFilter.FILTER_ACCEPT;const r=t.foundBackward;if(r&&(e===r||!Dw.nodeContains(r,e)))return t.found=!0,t.foundElement=r,NodeFilter.FILTER_ACCEPT;const n=t.container;if(e===n)return NodeFilter.FILTER_SKIP;if(!Dw.nodeContains(n,e))return NodeFilter.FILTER_REJECT;if(nk(e))return NodeFilter.FILTER_REJECT;if(Dw.nodeContains(t.rejectElementsFrom,e))return NodeFilter.FILTER_REJECT;const o=t.currentCtx=sk.getTabsterContext(this._tabster,e);if(!o)return NodeFilter.FILTER_SKIP;if(Mw(e))return this.isFocusable(e,void 0,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_SKIP;if(!t.hasCustomCondition&&("IFRAME"===e.tagName||"WEBVIEW"===e.tagName))return this.isVisible(e)&&o.modalizer?.userId===this._tabster.modalizer?.activeId?(t.found=!0,t.rejectElementsFrom=t.foundElement=e,NodeFilter.FILTER_ACCEPT):NodeFilter.FILTER_REJECT;if(!t.ignoreAccessibility&&!this.isAccessible(e))return this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0),NodeFilter.FILTER_REJECT;let a,i=t.fromCtx;i||(i=t.fromCtx=sk.getTabsterContext(this._tabster,t.from));const l=i?.mover;let s=o.groupper,c=o.mover;if(a=this._tabster.modalizer?.acceptElement(e,t),void 0!==a&&(t.skippedFocusable=!0),void 0===a&&(s||c||l)){const r=s?.getElement(),o=l?.getElement();let i=c?.getElement();if(i&&Dw.nodeContains(o,i)&&Dw.nodeContains(n,o)&&(!r||!c||Dw.nodeContains(o,r))&&(c=l,i=o),r)if(r!==n&&Dw.nodeContains(n,r)){if(!Dw.nodeContains(r,e))return NodeFilter.FILTER_REJECT}else s=void 0;if(i)if(Dw.nodeContains(n,i)){if(!Dw.nodeContains(i,e))return NodeFilter.FILTER_REJECT}else c=void 0;s&&c&&(i&&r&&!Dw.nodeContains(r,i)?c=void 0:s=void 0),s&&(a=s.acceptElement(e,t)),c&&(a=c.acceptElement(e,t))}if(void 0===a&&(a=t.acceptCondition(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,a===NodeFilter.FILTER_SKIP&&this.isFocusable(e,!1,!0,!0)&&(t.skippedFocusable=!0)),a===NodeFilter.FILTER_ACCEPT&&!t.found){if(!t.isFindAll&&Gw(e)&&!e.checked){const r=e.name;let n=t.cachedRadioGroups[r];if(n||(n=function(e){if(!Gw(e))return;const t=e.name,r=[];let n;for(const o of Dw.getElementsByName(e,t))if(Gw(o)){const e=o;r.push(e),e.checked&&(n=e)}return{name:t,buttons:new Set(r),checked:n}}(e),n&&(t.cachedRadioGroups[r]=n)),n?.checked&&n.checked!==e)return NodeFilter.FILTER_SKIP}t.isBackward?(t.foundBackward=e,a=NodeFilter.FILTER_SKIP):(t.found=!0,t.foundElement=e)}return a}}
73
+ /*!
74
+ * Copyright (c) Microsoft Corporation. All rights reserved.
75
+ * Licensed under the MIT License.
76
+ */const uk="Tab";
77
+ /*!
78
+ * Copyright (c) Microsoft Corporation. All rights reserved.
79
+ * Licensed under the MIT License.
80
+ */class dk{constructor(){this._callbacks=[]}dispose(){this._callbacks=[],delete this._val}subscribe(e){const t=this._callbacks;t.indexOf(e)<0&&t.push(e)}subscribeFirst(e){const t=this._callbacks,r=t.indexOf(e);r>=0&&t.splice(r,1),t.unshift(e)}unsubscribe(e){const t=this._callbacks.indexOf(e);t>=0&&this._callbacks.splice(t,1)}setVal(e,t){this._val!==e&&(this._val=e,this._callCallbacks(e,t))}getVal(){return this._val}trigger(e,t){this._callCallbacks(e,t)}_callCallbacks(e,t){this._callbacks.forEach(r=>r(e,t))}}
81
+ /*!
82
+ * Copyright (c) Microsoft Corporation. All rights reserved.
83
+ * Licensed under the MIT License.
84
+ */const fk={[vw]:0,[bw]:1,[gw]:2};class pk extends dk{static{this.isTabbing=!1}constructor(e,t){super(),this._init=()=>{const e=this._win(),t=e.document;Kw(t,Sw,this._onFocusIn,!0),Kw(t,Bw,this._onFocusOut,!0),Kw(e,"keydown",this._onKeyDown,!0);const r=Dw.getActiveElement(t);r&&r!==t.body&&this._setFocusedElement(r),this.subscribe(this._onChanged)},this._onFocusIn=e=>{const t=e.composedPath()[0];t&&this._setFocusedElement(t,e.detail.relatedTarget,e.detail.isFocusedProgrammatically)},this._onFocusOut=e=>{this._setFocusedElement(void 0,e.detail?.originalEvent.relatedTarget)},this._validateFocusedElement=e=>{},this._onKeyDown=e=>{if(e.key!==uk||e.ctrlKey)return;const t=this.getVal();if(!t||!t.ownerDocument||"true"===t.contentEditable)return;const r=this._tabster,n=r.controlTab,o=sk.getTabsterContext(r,t);if(!o||o.ignoreKeydown(e))return;const a=e.shiftKey,i=pk.findNextTabbable(r,o,void 0,t,void 0,a,!0),l=o.root.getElement();if(!l)return;const s=i?.element,c=function(e,t){const r=e.getParent;let n=t;do{const t=ww(e,n)?.uncontrolled;if(t&&e.uncontrolled.isUncontrolledCompletely(n,!!t.completely))return n;n=r(n)}while(n)}(r,t);if(s){const u=i.uncontrolled;if(o.uncontrolled||Dw.nodeContains(u,t)){if(!i.outOfDOMOrder&&u===o.uncontrolled||c&&!Dw.nodeContains(c,s))return;return void ek.addPhantomDummyWithTarget(r,t,a,s)}if(u&&r.focusable.isVisible(u)||"IFRAME"===s.tagName&&r.focusable.isVisible(s))return void(Jw(l,new Pw({by:"root",owner:l,next:s,relatedEvent:e}))&&ek.moveWithPhantomDummy(r,u??s,!1,a,e));(n||i?.outOfDOMOrder)&&Jw(l,new Pw({by:"root",owner:l,next:s,relatedEvent:e}))&&(e.preventDefault(),e.stopImmediatePropagation(),Ew(s))}else!c&&Jw(l,new Pw({by:"root",owner:l,next:null,relatedEvent:e}))&&o.root.moveOutWithDefaultAction(a,e)},this._onChanged=(e,t)=>{if(e)Jw(e,new Fw(t));else{const e=this._lastVal?.get();if(e){const r={...t},n=sk.getTabsterContext(this._tabster,e),o=n?.modalizer?.userId;o&&(r.modalizerId=o),Jw(e,new Rw(r))}}},this._tabster=e,this._win=t,e.queueInit(this._init)}dispose(){super.dispose();const e=this._win(),t=e.document;Qw(t,Sw,this._onFocusIn,!0),Qw(t,Bw,this._onFocusOut,!0),Qw(e,"keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);const r=this._asyncFocus;r&&(e.clearTimeout(r.timeout),delete this._asyncFocus),delete pk._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(e,t){let r=pk._lastResetElement,n=r&&r.get();n&&Dw.nodeContains(t,n)&&delete pk._lastResetElement,n=e._nextVal?.element?.get(),n&&Dw.nodeContains(t,n)&&delete e._nextVal,r=e._lastVal,n=r&&r.get(),n&&Dw.nodeContains(t,n)&&delete e._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){let e=this._lastVal?.get();return(!e||e&&!Ww(e.ownerDocument,e))&&(this._lastVal=e=void 0),e}focus(e,t,r,n){if(!this._tabster.focusable.isFocusable(e,t,!1,r))return!1;const o="boolean"==typeof n?{preventScroll:n}:n;return e.focus(o),!0}focusDefault(e){const t=this._tabster.focusable.findDefault({container:e});return!!t&&(this._tabster.focusedElement.focus(t),!0)}getFirstOrLastTabbable(e,t){const{container:r,ignoreAccessibility:n}=t;let o;if(r){const t=sk.getTabsterContext(this._tabster,r);t&&(o=pk.findNextTabbable(this._tabster,t,r,void 0,void 0,!e,n)?.element)}return o&&!Dw.nodeContains(r,o)&&(o=void 0),o||void 0}_focusFirstOrLast(e,t){const r=this.getFirstOrLastTabbable(e,t);return!!r&&(this.focus(r,!1,!0),!0)}focusFirst(e){return this._focusFirstOrLast(!0,e)}focusLast(e){return this._focusFirstOrLast(!1,e)}resetFocus(e){if(!this._tabster.focusable.isVisible(e))return!1;if(this._tabster.focusable.isFocusable(e,!0,!0,!0))this.focus(e);else{const t=e.getAttribute("tabindex"),r=e.getAttribute("aria-hidden");e.tabIndex=-1,e.setAttribute("aria-hidden","true"),pk._lastResetElement=new qw(e),this.focus(e,!0,!0),this._setOrRemoveAttribute(e,"tabindex",t),this._setOrRemoveAttribute(e,"aria-hidden",r)}return!0}requestAsyncFocus(e,t,r){const n=this._tabster.getWindow(),o=this._asyncFocus;if(o){if(fk[e]>fk[o.source])return;n.clearTimeout(o.timeout)}this._asyncFocus={source:e,callback:t,timeout:n.setTimeout(()=>{this._asyncFocus=void 0,t()},r)}}cancelAsyncFocus(e){const t=this._asyncFocus;t?.source===e&&(this._tabster.getWindow().clearTimeout(t.timeout),this._asyncFocus=void 0)}_setOrRemoveAttribute(e,t,r){null===r?e.removeAttribute(t):e.setAttribute(t,r)}_setFocusedElement(e,t,r){if(this._tabster._noop)return;const n={relatedTarget:t};if(e){const t=pk._lastResetElement?.get();if(pk._lastResetElement=void 0,t===e||Mw(e))return;n.isFocusedProgrammatically=r;const o=sk.getTabsterContext(this._tabster,e),a=o?.modalizer?.userId;a&&(n.modalizerId=a)}const o=this._nextVal={element:e?new qw(e):void 0,detail:n};e&&e!==this._val&&this._validateFocusedElement(e),this._nextVal===o&&this.setVal(e,n),this._nextVal=void 0}setVal(e,t){super.setVal(e,t),e&&(this._lastVal=new qw(e))}static findNextTabbable(e,t,r,n,o,a,i){const l=r||t.root.getElement();if(!l)return null;let s=null;const c=pk._isTabbingTimer,u=e.getWindow();c&&u.clearTimeout(c),pk.isTabbing=!0,pk._isTabbingTimer=u.setTimeout(()=>{delete pk._isTabbingTimer,pk.isTabbing=!1},0);const d=t.modalizer,f=t.groupper,p=t.mover,h=t=>{if(s=t.findNextTabbable(n,o,a,i),n&&!s?.element){const o=t!==d&&Dw.getParentElement(t.getElement());if(o){const l=sk.getTabsterContext(e,n,{referenceElement:o});if(l){const n=t.getElement(),c=a?n:n&&Xw(n)||n;c&&(s=pk.findNextTabbable(e,l,r,c,o,a,i),s&&(s.outOfDOMOrder=!0))}}}};if(f&&p)h(t.groupperBeforeMover?f:p);else if(f)h(f);else if(p)h(p);else if(d)h(d);else{const t={container:l,currentElement:n,referenceElement:o,ignoreAccessibility:i,useActiveModalizer:!0},r={},c=e.focusable[a?"findPrev":"findNext"](t,r);s={element:c,outOfDOMOrder:r.outOfDOMOrder,uncontrolled:r.uncontrolled}}return s}}
85
+ /*!
86
+ * Copyright (c) Microsoft Corporation. All rights reserved.
87
+ * Licensed under the MIT License.
88
+ */class hk extends dk{constructor(e){super(),this._onChange=e=>{this.setVal(e,void 0)},this._keyborg=function(e){const t=e,r="k"+ ++Cw;let n,o=t;const a=[],i=t.__keyborg;n=i?i.core:zw(t);const l={isNavigatingWithKeyboard:()=>!!n?.isNavigatingWithKeyboard,subscribe(e){a.push(e)},unsubscribe(e){const t=a.indexOf(e);t>=0&&a.splice(t,1)},setVal(e){n&&(n.isNavigatingWithKeyboard=e)},_cb:a,dispose(){const e=o?.__keyborg;e?.refs[r]&&(delete e.refs[r],0===Object.keys(e.refs).length&&(e.core.dispose(),delete o.__keyborg)),a.length=0,n=void 0,o=void 0}};return i?i.refs[r]=l:t.__keyborg={core:n,refs:{[r]:l}},l}(e()),this._keyborg.subscribe(this._onChange)}dispose(){super.dispose(),this._keyborg&&(this._keyborg.unsubscribe(this._onChange),this._keyborg.dispose(),delete this._keyborg)}setNavigatingWithKeyboard(e){this._keyborg?.setVal(e)}isNavigatingWithKeyboard(){return!!this._keyborg?.isNavigatingWithKeyboard()}}
89
+ /*!
90
+ * Copyright (c) Microsoft Corporation. All rights reserved.
91
+ * Licensed under the MIT License.
92
+ */
93
+ /*!
94
+ * Copyright (c) Microsoft Corporation. All rights reserved.
95
+ * Licensed under the MIT License.
96
+ */
97
+ class mk{constructor(e){this._isUncontrolledCompletely=e}isUncontrolledCompletely(e,t){const r=this._isUncontrolledCompletely?.(e,t);return void 0===r?t:r}}
98
+ /*!
99
+ * Copyright (c) Microsoft Corporation. All rights reserved.
100
+ * Licensed under the MIT License.
101
+ */class gk{constructor(e){this.keyboardNavigation=e.keyboardNavigation,this.focusedElement=e.focusedElement,this.focusable=e.focusable,this.root=e.root,this.uncontrolled=e.uncontrolled,this.core=e}}class vk{constructor(e,t){this._forgetMemorizedElements=[],this._wrappers=new Set,this._initQueue=[],this._version="8.8.1",this._noop=!1,this.attrHandlers=new Map,this.getWindow=()=>{if(!this._win)throw new Error("Using disposed Tabster.");return this._win},this._storage=new WeakMap,this._win=e;const r=this.getWindow;t?.DOMAPI&&function(e){for(const t of Object.keys(e))Dw[t]=e[t]}({...t.DOMAPI}),this.keyboardNavigation=new hk(r),this.focusedElement=new pk(this,r),this.focusable=new ck(this),this.root=new sk(this,t?.autoRoot),this.uncontrolled=new mk(t?.checkUncontrolledCompletely||t?.checkUncontrolledTrappingFocus),this.controlTab=t?.controlTab??!0,this.rootDummyInputs=!!t?.rootDummyInputs,this._dummyObserver=new tk(r),this.getParent=t?.getParent??Dw.getParentNode,this.internal={stopObserver:()=>{this._unobserve&&(this._unobserve(),delete this._unobserve)},resumeObserver:e=>{if(!this._unobserve){const t=r().document;this._unobserve=function(e,t,r,n){if("undefined"==typeof MutationObserver)return()=>{};const o=t.getWindow;let a;function i(t,r){a||(a=Iw(o).elementByUId),l(t,r);const n=Lw(e,t,e=>l(e,r));if(n)for(;n.nextNode(););}function l(e,n){if(!e.getAttribute)return NodeFilter.FILTER_SKIP;const o=e.__tabsterElementUID;return o&&a&&(n?delete a[o]:a[o]??=new qw(e)),(ww(t,e)||e.hasAttribute(hw))&&r(t,e,n),NodeFilter.FILTER_SKIP}const s=Dw.createMutationObserver(e=>{const n=new Set;for(const o of e){const e=o.target,a=o.removedNodes,l=o.addedNodes;if("attributes"===o.type)o.attributeName===hw&&(n.has(e)||r(t,e));else{for(const r of a)n.add(r),i(r,!0),t._dummyObserver.domChanged?.(e);for(const r of l)i(r),t._dummyObserver.domChanged?.(e)}}n.clear(),t.modalizer?.hiddenUpdate()});return n&&i(o().document.body),s.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[hw]}),()=>{s.disconnect()}}(t,this,kw,e)}}},this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(e){e&&(this.getParent=e.getParent??this.getParent)}createTabster(e,t){const r=new gk(this);return e||this._wrappers.add(r),this._mergeProps(t),r}disposeTabster(e,t){t?this._wrappers.clear():this._wrappers.delete(e),0===this._wrappers.size&&this.dispose()}dispose(){this.internal.stopObserver();const e=this._win;e?.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],e&&this._forgetMemorizedTimer&&(e.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer),this.outline?.dispose(),this.crossOrigin?.dispose(),this.deloser?.dispose(),this.groupper?.dispose(),this.mover?.dispose(),this.modalizer?.dispose(),this.observedElement?.dispose(),this.restorer?.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),this.attrHandlers.clear(),Vw(this.getWindow),this._storage=new WeakMap,this._wrappers.clear(),e&&(!function(e){const t=e,r=t.__tabsterInstanceContext;r&&(r.elementByUId={},r.containerBoundingRectCache={},r.containerBoundingRectCacheTimer&&e.clearTimeout(r.containerBoundingRectCacheTimer),delete t.__tabsterInstanceContext)}(e),delete e.__tabsterInstance,delete this._win)}storageEntry(e,t){const r=this._storage;let n=r.get(e);return n?!1===t&&0===Object.keys(n).length&&r.delete(e):!0===t&&(n={},r.set(e,n)),n}forceCleanup(){this._win&&(this._forgetMemorizedElements.push(this._win.document.body),this._forgetMemorizedTimer||(this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let e=this._forgetMemorizedElements.shift();e;e=this._forgetMemorizedElements.shift())Vw(this.getWindow,e),pk.forgetMemorized(this.focusedElement,e)},0)))}queueInit(e){this._win&&(this._initQueue.push(e),this._initTimer||(this._initTimer=this._win?.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)))}drainInitQueue(){if(!this._win)return;const e=this._initQueue;this._initQueue=[],e.forEach(e=>e())}}const bk=e=>e;function yk(e){const t=(null==e?void 0:e.defaultView)||void 0,r=null==t?void 0:t.__tabsterShadowDOMAPI;if(t)return function(e,t){let r=function(e){return e.__tabsterInstance}(e);return r?r.createTabster(!1,t):(r=new vk(e,t),e.__tabsterInstance=r,r.createTabster())}(t,{autoRoot:{},controlTab:!1,getParent:ow,checkUncontrolledCompletely:e=>{var t;return!0===(null===(t=e.firstElementChild)||void 0===t?void 0:t.hasAttribute("data-is-focus-trap-zone-bumper"))||void 0},DOMAPI:r})}const wk=e=>{!function(e=bk){const{targetDocument:t}=Ny(),r=L.useRef(null);Vy(()=>{const n=yk(t);if(n)return r.current=e(n),()=>{!function(e,t){e.core.disposeTabster(e,t)}(n),r.current=null}},[t,e])}();const t=ok(e,!0);return L.useMemo(()=>({[hw]:t}),[t])},kk=(e,t,r)=>{e.addEventListener(t,r,!0)},xk=(e,t,r)=>{e.removeEventListener(t,r,!0)},_k="keyborg:focusin";
102
+ /*!
103
+ * Copyright (c) Microsoft Corporation. All rights reserved.
104
+ * Licensed under the MIT License.
105
+ */let Sk=!1;let Bk=0;function Ek(e,t){let r,n,o,a,i=e,l=!1;t&&(t.triggerKeys?.length&&(o=new Set(t.triggerKeys)),t.dismissKeys?.length&&(a=new Set(t.dismissKeys)));const s=e=>{l!==e&&(l=e,(()=>{const e=i?.__keyborg?.refs;if(e)for(const t of Object.keys(e))e[t]._cb.forEach(e=>e(l))})())},c=e=>{if(r)return;if(l)return;const t=e.detail;t.relatedTarget&&(t.isFocusedProgrammatically||void 0===t.isFocusedProgrammatically||s(!0))},u=()=>{i&&(r&&i.clearTimeout(r),r=i.setTimeout(()=>{r=void 0},1e3)),s(!1)},d=e=>{0===e.buttons||0===e.clientX&&0===e.clientY&&0===e.screenX&&0===e.screenY||u()},f=e=>{l?(e=>!!a?.has(e.keyCode))(e)&&(()=>{const e=i;if(!e)return;n&&(e.clearTimeout(n),n=void 0);const t=e.document.activeElement;n=e.setTimeout(()=>{n=void 0;const r=e.document.activeElement;t&&r&&t===r&&s(!1)},500)})():(e=>{if("Tab"===e.key)return!0;const t=i?.document.activeElement,r=!o||o.has(e.keyCode),n=t&&("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable);return r&&!n})(e)&&s(!0)},p=e.document;kk(p,_k,c),kk(p,"mousedown",d),kk(e,"keydown",f),kk(p,"touchstart",u),kk(p,"touchend",u),kk(p,"touchcancel",u),function(e){const t=e,r=t.document,n=t.HTMLElement.prototype;Sk||(Sk=function(e){const t=e.HTMLElement,r=t.prototype.focus;let n=!1;return t.prototype.focus=function(){n=!0},e.document.createElement("button").focus(),t.prototype.focus=r,n}(t));const o=n.focus;if(o.__keyborgNativeFocus)return;n.focus=u;const a=new Set,i=e=>{const t=e.target;if(!t)return;const r=new CustomEvent("keyborg:focusout",{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:e}});t.dispatchEvent(r)},l=e=>{const t=e.target;if(!t)return;let r=e.composedPath()[0];const n=new Set;for(;r;)r.nodeType===Node.DOCUMENT_FRAGMENT_NODE?(n.add(r),r=r.host):r=r.parentNode;for(const e of a){const t=e.deref();t&&n.has(t)||(a.delete(e),t&&(xk(t,"focusin",l),xk(t,"focusout",i)))}s(t,e.relatedTarget||void 0)},s=(e,t,r)=>{const n=e.shadowRoot;if(n){for(const e of a)if(e.deref()===n)return;return kk(n,"focusin",l),kk(n,"focusout",i),void a.add(new WeakRef(n))}const o={relatedTarget:t,originalEvent:r},s=new CustomEvent(_k,{cancelable:!0,bubbles:!0,composed:!0,detail:o});s.details=o,(Sk||c[3])&&(o.isFocusedProgrammatically=e===c[3]?.deref(),c[3]=void 0),e.dispatchEvent(s)},c=[l,i,a];function u(){const e=t.__keyborgData;return e&&(e[3]=new WeakRef(this)),o.apply(this,arguments)}t.__keyborgData=c,kk(r,"focusin",l),kk(r,"focusout",i);let d=r.activeElement;for(;d&&d.shadowRoot;)s(d),d=d.shadowRoot.activeElement;u.__keyborgNativeFocus=o}(e);return{dispose:()=>{if(!i)return;r&&(i.clearTimeout(r),r=void 0),n&&(i.clearTimeout(n),n=void 0),function(e){const t=e,r=t.HTMLElement.prototype,n=r.focus.__keyborgNativeFocus,o=t.__keyborgData;if(o){const e=t.document;xk(e,"focusin",o[0]),xk(e,"focusout",o[1]);for(const e of o[2]){const t=e.deref();t&&(xk(t,"focusin",o[0]),xk(t,"focusout",o[1]))}o[2].clear(),delete t.__keyborgData}n&&(r.focus=n)}
106
+ /*!
107
+ * Copyright (c) Microsoft Corporation. All rights reserved.
108
+ * Licensed under the MIT License.
109
+ */(i);const e=i.document;xk(e,_k,c),xk(e,"mousedown",d),xk(i,"keydown",f),xk(e,"touchstart",u),xk(e,"touchend",u),xk(e,"touchcancel",u),i=void 0},get isNavigatingWithKeyboard(){return l},set isNavigatingWithKeyboard(e){s(e)}}}function Ck(e,t){const r=e,n="k"+ ++Bk;let o,a=r;const i=[],l=r.__keyborg;o=l?l.core:Ek(r,t);const s={isNavigatingWithKeyboard:()=>!!o?.isNavigatingWithKeyboard,subscribe(e){i.push(e)},unsubscribe(e){const t=i.indexOf(e);t>=0&&i.splice(t,1)},setVal(e){o&&(o.isNavigatingWithKeyboard=e)},_cb:i,dispose(){const e=a?.__keyborg;e?.refs[n]&&(delete e.refs[n],0===Object.keys(e.refs).length&&(e.core.dispose(),delete a.__keyborg)),i.length=0,o=void 0,a=void 0}};return l?l.refs[n]=s:r.__keyborg={core:o,refs:{[n]:s}},s}function zk(e){e.dispose()}const Nk="data-fui-focus-visible",Tk="data-fui-focus-within";function Fk(e,t){if(Rk(e))return()=>{};const r={current:void 0},n=Ck(t);function o(e){n.isNavigatingWithKeyboard()&&nw(e)&&(r.current=e,e.setAttribute(Nk,""))}function a(){r.current&&(r.current.removeAttribute(Nk),r.current=void 0)}n.subscribe(e=>{e?o(t.document.activeElement):a()});const i=e=>{a();o(e.composedPath()[0])},l=t=>{(!t.relatedTarget||nw(t.relatedTarget)&&!e.contains(t.relatedTarget))&&a()};return e.addEventListener(_k,i),e.addEventListener("focusout",l),e.focusVisible=!0,e.contains(t.document.activeElement)&&o(t.document.activeElement),()=>{a(),e.removeEventListener(_k,i),e.removeEventListener("focusout",l),e.focusVisible=void 0,zk(n)}}function Rk(e){return!!e&&(!!e.focusVisible||Rk(null==e?void 0:e.parentElement))}function Pk(e={}){const t=Ny(),r=L.useRef(null);var n;const o=null!==(n=e.targetDocument)&&void 0!==n?n:t.targetDocument;return L.useEffect(()=>{if((null==o?void 0:o.defaultView)&&r.current)return Fk(r.current,o.defaultView)},[r,o]),r}function Ok(e,t){const r=Ck(t);r.subscribe(t=>{t||jk(e)});const n=t=>{r.isNavigatingWithKeyboard()&&Dk(t.target)&&function(e){e.setAttribute(Tk,"")}(e)},o=t=>{(!t.relatedTarget||Dk(t.relatedTarget)&&!e.contains(t.relatedTarget))&&jk(e)};return e.addEventListener(_k,n),e.addEventListener("focusout",o),()=>{e.removeEventListener(_k,n),e.removeEventListener("focusout",o),zk(r)}}function jk(e){e.removeAttribute(Tk)}function Dk(e){return!!e&&Boolean(e&&"object"==typeof e&&"classList"in e&&"contains"in e)}function Ak(){const{targetDocument:e}=Ny(),t=L.useRef(null);return L.useEffect(()=>{if((null==e?void 0:e.defaultView)&&t.current)return Ok(t.current,e.defaultView)},[t,e]),t}function Ik(){const{targetDocument:e}=Ny(),t=L.useRef(null);return L.useEffect(()=>{const r=null==e?void 0:e.defaultView;if(r){const e=Ck(r);return t.current=e,()=>{zk(e),t.current=null}}},[e]),t}function qk(e){const t=Ik(),r=Wy(e);L.useEffect(()=>{const e=t.current;if(e){const t=e=>{r(e)};return e.subscribe(t),t(e.isNavigatingWithKeyboard()),()=>{e.unsubscribe(t)}}},[t,r])}const Lk="\0",Mk=e=>{if(0!==e.length)return 1===e.length?e[0]:JSON.stringify(Object.assign({},...e.map(Hk)))},Hk=e=>{try{return JSON.parse(e)}catch{return{}}};const Vk="#1f1f1f",Wk="#242424",Uk="#292929",$k="#333333",Xk="#383838",Gk="#3d3d3d",Kk="#424242",Qk="#4d4d4d",Jk="#575757",Yk="#616161",Zk="#707070",ex="#b3b3b3",tx="#bdbdbd",rx="#c7c7c7",nx="#d1d1d1",ox="#d6d6d6",ax="#dbdbdb",ix="#e0e0e0",lx="#e6e6e6",sx="#ebebeb",cx="#f0f0f0",ux="#f5f5f5",dx="#fafafa",fx="#fcfcfc",px="rgba(255, 255, 255, 0.1)",hx="rgba(255, 255, 255, 0.2)",mx="rgba(255, 255, 255, 0.4)",gx="rgba(255, 255, 255, 0.5)",vx="rgba(255, 255, 255, 0.7)",bx="rgba(255, 255, 255, 0.8)",yx="rgba(0, 0, 0, 0.05)",wx="rgba(0, 0, 0, 0.1)",kx="rgba(0, 0, 0, 0.2)",xx="rgba(0, 0, 0, 0.3)",_x="rgba(0, 0, 0, 0.4)",Sx="rgba(0, 0, 0, 0.5)",Bx="#ffffff",Ex={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},Cx={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},zx={red:{shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},green:Cx,darkOrange:{shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"},yellow:{shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},berry:{shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},lightGreen:{shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},marigold:{shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"}},Nx={darkRed:{shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"},cranberry:Ex,pumpkin:{shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},peach:{shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},gold:{shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},brass:{shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},brown:{shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"},forest:{shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},seafoam:{shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},darkGreen:{shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},lightTeal:{shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},teal:{shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"},steel:{shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"},blue:{shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},royalBlue:{shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"},cornflower:{shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},navy:{shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},lavender:{shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},purple:{shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"},grape:{shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},lilac:{shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},pink:{shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"},magenta:{shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},plum:{shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},beige:{shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},mink:{shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"},platinum:{shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},anchor:{shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"}},Tx={cranberry:Ex,green:Cx,orange:{shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"}},Fx={success:"green",warning:"orange",danger:"cranberry"},Rx=["red","green","darkOrange","yellow","berry","lightGreen","marigold"].reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background1`]:zx[t].tint60,[`colorPalette${r}Background2`]:zx[t].tint40,[`colorPalette${r}Background3`]:zx[t].primary,[`colorPalette${r}Foreground1`]:zx[t].shade10,[`colorPalette${r}Foreground2`]:zx[t].shade30,[`colorPalette${r}Foreground3`]:zx[t].primary,[`colorPalette${r}BorderActive`]:zx[t].primary,[`colorPalette${r}Border1`]:zx[t].tint40,[`colorPalette${r}Border2`]:zx[t].primary};return Object.assign(e,n)},{});Rx.colorPaletteYellowForeground1=zx.yellow.shade30,Rx.colorPaletteRedForegroundInverted=zx.red.tint20,Rx.colorPaletteGreenForegroundInverted=zx.green.tint20,Rx.colorPaletteYellowForegroundInverted=zx.yellow.tint40;const Px=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"].reduce((e,t)=>{const r=t.slice(0,1).toUpperCase()+t.slice(1),n={[`colorPalette${r}Background2`]:Nx[t].tint40,[`colorPalette${r}Foreground2`]:Nx[t].shade30,[`colorPalette${r}BorderActive`]:Nx[t].primary};return Object.assign(e,n)},{}),Ox={...Rx,...Px},jx=Object.entries(Fx).reduce((e,[t,r])=>{const n=t.slice(0,1).toUpperCase()+t.slice(1),o={[`colorStatus${n}Background1`]:Tx[r].tint60,[`colorStatus${n}Background2`]:Tx[r].tint40,[`colorStatus${n}Background3`]:Tx[r].primary,[`colorStatus${n}Foreground1`]:Tx[r].shade10,[`colorStatus${n}Foreground2`]:Tx[r].shade30,[`colorStatus${n}Foreground3`]:Tx[r].primary,[`colorStatus${n}ForegroundInverted`]:Tx[r].tint30,[`colorStatus${n}BorderActive`]:Tx[r].primary,[`colorStatus${n}Border1`]:Tx[r].tint40,[`colorStatus${n}Border2`]:Tx[r].primary};return Object.assign(e,o)},{});jx.colorStatusDangerBackground3Hover=Tx[Fx.danger].shade10,jx.colorStatusDangerBackground3Pressed=Tx[Fx.danger].shade20,jx.colorStatusWarningForeground1=Tx[Fx.warning].shade20,jx.colorStatusWarningForeground3=Tx[Fx.warning].shade20,jx.colorStatusWarningBorder2=Tx[Fx.warning].shade20;const Dx={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"},Ax={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},Ix={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"},qx={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},Lx={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},Mx={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},Hx={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"},Vx="0",Wx="2px",Ux="4px",$x="6px",Xx="8px",Gx="10px",Kx="12px",Qx="16px",Jx="20px",Yx="24px",Zx="32px",e_={spacingHorizontalNone:Vx,spacingHorizontalXXS:Wx,spacingHorizontalXS:Ux,spacingHorizontalSNudge:$x,spacingHorizontalS:Xx,spacingHorizontalMNudge:Gx,spacingHorizontalM:Kx,spacingHorizontalL:Qx,spacingHorizontalXL:Jx,spacingHorizontalXXL:Yx,spacingHorizontalXXXL:Zx},t_={spacingVerticalNone:Vx,spacingVerticalXXS:Wx,spacingVerticalXS:Ux,spacingVerticalSNudge:$x,spacingVerticalS:Xx,spacingVerticalMNudge:Gx,spacingVerticalM:Kx,spacingVerticalL:Qx,spacingVerticalXL:Jx,spacingVerticalXXL:Yx,spacingVerticalXXXL:Zx},r_={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"},n_="var(--colorBrandStroke1)",o_="var(--colorPaletteRedBorder2)";function a_(e,t,r=""){return{[`shadow2${r}`]:`0 0 2px ${e}, 0 1px 2px ${t}`,[`shadow4${r}`]:`0 0 2px ${e}, 0 2px 4px ${t}`,[`shadow8${r}`]:`0 0 2px ${e}, 0 4px 8px ${t}`,[`shadow16${r}`]:`0 0 2px ${e}, 0 8px 16px ${t}`,[`shadow28${r}`]:`0 0 8px ${e}, 0 14px 28px ${t}`,[`shadow64${r}`]:`0 0 8px ${e}, 0 32px 64px ${t}`}}const i_=e=>{const t=(e=>({colorNeutralForeground1:Wk,colorNeutralForeground1Hover:Wk,colorNeutralForeground1Pressed:Wk,colorNeutralForeground1Selected:Wk,colorNeutralForeground2:Kk,colorNeutralForeground2Hover:Wk,colorNeutralForeground2Pressed:Wk,colorNeutralForeground2Selected:Wk,colorNeutralForeground2BrandHover:e[80],colorNeutralForeground2BrandPressed:e[70],colorNeutralForeground2BrandSelected:e[80],colorNeutralForeground3:Yk,colorNeutralForeground3Hover:Kk,colorNeutralForeground3Pressed:Kk,colorNeutralForeground3Selected:Kk,colorNeutralForeground3BrandHover:e[80],colorNeutralForeground3BrandPressed:e[70],colorNeutralForeground3BrandSelected:e[80],colorNeutralForeground4:Zk,colorNeutralForeground5:Yk,colorNeutralForeground5Hover:Wk,colorNeutralForeground5Pressed:Wk,colorNeutralForeground5Selected:Wk,colorNeutralForegroundDisabled:tx,colorNeutralForegroundInvertedDisabled:mx,colorBrandForegroundLink:e[70],colorBrandForegroundLinkHover:e[60],colorBrandForegroundLinkPressed:e[40],colorBrandForegroundLinkSelected:e[70],colorNeutralForeground2Link:Kk,colorNeutralForeground2LinkHover:Wk,colorNeutralForeground2LinkPressed:Wk,colorNeutralForeground2LinkSelected:Wk,colorCompoundBrandForeground1:e[80],colorCompoundBrandForeground1Hover:e[70],colorCompoundBrandForeground1Pressed:e[60],colorBrandForeground1:e[80],colorBrandForeground2:e[70],colorBrandForeground2Hover:e[60],colorBrandForeground2Pressed:e[30],colorNeutralForeground1Static:Wk,colorNeutralForegroundStaticInverted:Bx,colorNeutralForegroundInverted:Bx,colorNeutralForegroundInvertedHover:Bx,colorNeutralForegroundInvertedPressed:Bx,colorNeutralForegroundInvertedSelected:Bx,colorNeutralForegroundInverted2:Bx,colorNeutralForegroundOnBrand:Bx,colorNeutralForegroundInvertedLink:Bx,colorNeutralForegroundInvertedLinkHover:Bx,colorNeutralForegroundInvertedLinkPressed:Bx,colorNeutralForegroundInvertedLinkSelected:Bx,colorBrandForegroundInverted:e[100],colorBrandForegroundInvertedHover:e[110],colorBrandForegroundInvertedPressed:e[100],colorBrandForegroundOnLight:e[80],colorBrandForegroundOnLightHover:e[70],colorBrandForegroundOnLightPressed:e[50],colorBrandForegroundOnLightSelected:e[60],colorNeutralBackground1:Bx,colorNeutralBackground1Hover:ux,colorNeutralBackground1Pressed:ix,colorNeutralBackground1Selected:sx,colorNeutralBackground2:dx,colorNeutralBackground2Hover:cx,colorNeutralBackground2Pressed:ax,colorNeutralBackground2Selected:lx,colorNeutralBackground3:ux,colorNeutralBackground3Hover:sx,colorNeutralBackground3Pressed:ox,colorNeutralBackground3Selected:ix,colorNeutralBackground4:cx,colorNeutralBackground4Hover:dx,colorNeutralBackground4Pressed:ux,colorNeutralBackground4Selected:Bx,colorNeutralBackground5:sx,colorNeutralBackground5Hover:ux,colorNeutralBackground5Pressed:cx,colorNeutralBackground5Selected:dx,colorNeutralBackground6:lx,colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:sx,colorNeutralBackground7Pressed:ox,colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:fx,colorNeutralBackgroundInverted:Uk,colorNeutralBackgroundInvertedHover:Gk,colorNeutralBackgroundInvertedPressed:Vk,colorNeutralBackgroundInvertedSelected:Xk,colorNeutralBackgroundStatic:$k,colorNeutralBackgroundAlpha:gx,colorNeutralBackgroundAlpha2:bx,colorSubtleBackground:"transparent",colorSubtleBackgroundHover:ux,colorSubtleBackgroundPressed:ix,colorSubtleBackgroundSelected:sx,colorSubtleBackgroundLightAlphaHover:vx,colorSubtleBackgroundLightAlphaPressed:gx,colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:wx,colorSubtleBackgroundInvertedPressed:xx,colorSubtleBackgroundInvertedSelected:kx,colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:cx,colorNeutralBackgroundDisabled2:Bx,colorNeutralBackgroundInvertedDisabled:px,colorNeutralStencil1:lx,colorNeutralStencil2:dx,colorNeutralStencil1Alpha:wx,colorNeutralStencil2Alpha:yx,colorBackgroundOverlay:_x,colorScrollbarOverlay:Sx,colorBrandBackground:e[80],colorBrandBackgroundHover:e[70],colorBrandBackgroundPressed:e[40],colorBrandBackgroundSelected:e[60],colorCompoundBrandBackground:e[80],colorCompoundBrandBackgroundHover:e[70],colorCompoundBrandBackgroundPressed:e[60],colorBrandBackgroundStatic:e[80],colorBrandBackground2:e[160],colorBrandBackground2Hover:e[150],colorBrandBackground2Pressed:e[130],colorBrandBackground3Static:e[60],colorBrandBackground4Static:e[40],colorBrandBackgroundInverted:Bx,colorBrandBackgroundInvertedHover:e[160],colorBrandBackgroundInvertedPressed:e[140],colorBrandBackgroundInvertedSelected:e[150],colorNeutralCardBackground:dx,colorNeutralCardBackgroundHover:Bx,colorNeutralCardBackgroundPressed:ux,colorNeutralCardBackgroundSelected:sx,colorNeutralCardBackgroundDisabled:cx,colorNeutralStrokeAccessible:Yk,colorNeutralStrokeAccessibleHover:Jk,colorNeutralStrokeAccessiblePressed:Qk,colorNeutralStrokeAccessibleSelected:e[80],colorNeutralStroke1:nx,colorNeutralStroke1Hover:rx,colorNeutralStroke1Pressed:ex,colorNeutralStroke1Selected:tx,colorNeutralStroke2:ix,colorNeutralStroke3:cx,colorNeutralStroke4:sx,colorNeutralStroke4Hover:ix,colorNeutralStroke4Pressed:ox,colorNeutralStroke4Selected:sx,colorNeutralStrokeSubtle:ix,colorNeutralStrokeOnBrand:Bx,colorNeutralStrokeOnBrand2:Bx,colorNeutralStrokeOnBrand2Hover:Bx,colorNeutralStrokeOnBrand2Pressed:Bx,colorNeutralStrokeOnBrand2Selected:Bx,colorBrandStroke1:e[80],colorBrandStroke2:e[140],colorBrandStroke2Hover:e[120],colorBrandStroke2Pressed:e[80],colorBrandStroke2Contrast:e[140],colorCompoundBrandStroke:e[80],colorCompoundBrandStrokeHover:e[70],colorCompoundBrandStrokePressed:e[60],colorNeutralStrokeDisabled:ix,colorNeutralStrokeDisabled2:sx,colorNeutralStrokeInvertedDisabled:mx,colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:yx,colorNeutralStrokeAlpha2:hx,colorStrokeFocus1:Bx,colorStrokeFocus2:"#000000",colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"}))(e);return{...Dx,...qx,...Lx,...Hx,...Mx,...r_,...e_,...t_,...Ix,...Ax,...t,...Ox,...jx,...a_(t.colorNeutralShadowAmbient,t.colorNeutralShadowKey),...a_(t.colorBrandShadowAmbient,t.colorBrandShadowKey,"Brand")}},l_="fui-FluentProvider",s_=Bb({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),c_=H.useInsertionEffect?H.useInsertionEffect:Vy,u_=e=>{const{targetDocument:t,theme:r,rendererAttributes:n}=e,o=L.useRef(void 0),a=$y(l_),i=n,l=L.useMemo(()=>function(e,t){const r=Kb(e);if(t)return`${r} { ${Kb(Object.keys(t).reduce((e,r)=>`${e}--${r}: ${t[r]}; `,""))} }`;return`${r} {}`}(`.${a}`,r),[r,a]);return function(e,t){L.useState(()=>{if(!e)return;const r=e.getElementById(t);r&&e.head.append(r)})}(t,a),c_(()=>{const e=null==t?void 0:t.getElementById(a);return e?o.current=e:(o.current=((e,t)=>{if(!(null==e?void 0:e.head))return;const r=e.createElement("style");return Object.keys(t).forEach(e=>{r.setAttribute(e,t[e])}),e.head.appendChild(r),r})(t,{...i,id:a}),o.current&&((e,t)=>{const r=e.sheet;r&&(r.cssRules.length>0&&r.deleteRule(0),r.insertRule(t,0))})(o.current,l)),()=>{var e;null===(e=o.current)||void 0===e||e.remove()}},[a,t,l,i]),{styleTagId:a,rule:l}};const d_={},f_={},p_=(e,t)=>{const r=Ny(),n=L.useContext(ky),o=Ry(),a=L.useContext(Py)||d_,{applyStylesToPortals:i=!0,customStyleHooks_unstable:l,dir:s=r.dir,targetDocument:c=r.targetDocument,theme:u,overrides_unstable:d={}}=e,f=h_(n,u),p=h_(o,d),h=h_(a,l),m=Mb();var g;const{styleTagId:v,rule:b}=u_({theme:f,targetDocument:c,rendererAttributes:null!==(g=m.styleElementAttributes)&&void 0!==g?g:f_});return{applyStylesToPortals:i,customStyleHooks_unstable:h,dir:s,targetDocument:c,theme:f,overrides_unstable:p,themeClassName:v,components:{root:"div"},root:Zb(wy("div",{...e,dir:s,ref:Xy(t,Pk({targetDocument:c}))}),{elementType:"div"}),serverStyleProps:{cssRule:b,attributes:{...m.styleElementAttributes,id:v}}}};function h_(e,t){return e&&t?{...e,...t}:e||t}const m_=L.forwardRef((e,t)=>{const r=p_(e,t);(e=>{const t=Mb(),r=s_({dir:e.dir,renderer:t});e.root.className=bg(l_,e.themeClassName,r.root,e.root.className)})(r);const n=function(e){const{applyStylesToPortals:t,customStyleHooks_unstable:r,dir:n,root:o,targetDocument:a,theme:i,themeClassName:l,overrides_unstable:s}=e,c=L.useMemo(()=>({dir:n,targetDocument:a}),[n,a]),[u]=L.useState(()=>({})),d=L.useMemo(()=>({textDirection:n}),[n]);return{customStyleHooks_unstable:r,overrides_unstable:s,provider:c,textDirection:n,iconDirection:d,tooltip:u,theme:i,themeClassName:t?o.className:l}}(r);return((e,t)=>cw(zy,{value:t.provider,children:cw(xy,{value:t.theme,children:cw(Sy,{value:t.themeClassName,children:cw(jy,{value:t.customStyleHooks_unstable,children:cw(By,{value:t.tooltip,children:cw(Vb,{dir:t.textDirection,children:cw(pw,{value:t.iconDirection,children:cw(Fy,{value:t.overrides_unstable,children:uw(e.root,{children:[Ly()?null:cw("style",{dangerouslySetInnerHTML:{__html:e.serverStyleProps.cssRule},...e.serverStyleProps.attributes}),e.root.children]})})})})})})})})}))(r,n)});m_.displayName="FluentProvider";const g_=e=>{const t=L.createContext({value:{current:e},listeners:[],isDefault:!0});var r;return t.Provider=(r=t.Provider,e=>{const t=L.useRef(e.value),n=L.useRef(null);return n.current||(n.current={value:t,listeners:[]}),Vy(()=>{t.current=e.value,G.unstable_runWithPriority(G.unstable_NormalPriority,()=>{n.current.listeners.forEach(t=>{t(e.value)})})},[e.value]),L.createElement(r,{value:n.current},e.children)}),delete t.Consumer,t};function v_(e){return!L.useContext(e).isDefault}const b_="Enter",y_=" ",w_="ArrowDown",k_="ArrowUp";function x_(e,t){const{disabled:r,disabledFocusable:n=!1,"aria-disabled":o,onClick:a,onKeyDown:i,onKeyUp:l,...s}=null!=t?t:{},c="string"==typeof o?"true"===o:o,u=r||n||c,d=Wy(e=>{u?(e.preventDefault(),e.stopPropagation()):null==a||a(e)}),f=Wy(e=>{if(null==i||i(e),e.isDefaultPrevented())return;const t=e.key;if(u&&(t===b_||t===y_))return e.preventDefault(),void e.stopPropagation();t!==y_?t===b_&&(e.preventDefault(),e.currentTarget.click()):e.preventDefault()}),p=Wy(e=>{if(null==l||l(e),e.isDefaultPrevented())return;const t=e.key;if(u&&(t===b_||t===y_))return e.preventDefault(),void e.stopPropagation();t===y_&&(e.preventDefault(),e.currentTarget.click())});if("button"===e||void 0===e)return{...s,disabled:r&&!n,"aria-disabled":!!n||c,onClick:n?void 0:d,onKeyUp:n?void 0:l,onKeyDown:n?void 0:i};{const t=!!s.href;let o=t?void 0:"button";!o&&u&&(o="link");const a={role:o,tabIndex:n||!t&&!r?0:void 0,...s,onClick:d,onKeyUp:p,onKeyDown:f,"aria-disabled":u};return"a"===e&&u&&(a.href=void 0),a}}const __=()=>{},S_={controller:{active:__,blur:__,find:__,first:__,focus:__,focusLastActive:__,scrollActiveIntoView:__,last:__,next:__,prev:__,showAttributes:__,hideAttributes:__,showFocusVisibleAttributes:__,hideFocusVisibleAttributes:__}},B_=L.createContext(void 0),E_=B_.Provider,C_=()=>{var e;return null!==(e=L.useContext(B_))&&void 0!==e?e:S_};const z_="data-activedescendant",N_="data-activedescendant-focusvisible",T_=e=>{if(!e)return;const t=F_(e.parentElement);if(!t)return;const{offsetHeight:r}=e,n=R_(e,t),{scrollMarginTop:o,scrollMarginBottom:a}=P_(e),{offsetHeight:i,scrollTop:l}=t,s=n+r+a>l+i;n-o<l?t.scrollTo(0,n-o-2):s&&t.scrollTo(0,n+r+a-i+2)},F_=e=>e?e.scrollHeight>e.offsetHeight?e:F_(e.parentElement):null,R_=(e,t)=>e&&e!==t?e.contains(t)?-1*t.offsetTop:e.offsetTop+R_(e.offsetParent,t):0,P_=e=>{var t;const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;if(!r)return{scrollMarginTop:0,scrollMarginBottom:0};const n=r.getComputedStyle(e);var o;var a;return{scrollMarginTop:null!==(o=O_(n.scrollMarginTop))&&void 0!==o?o:O_(n.scrollMarginBlockStart),scrollMarginBottom:null!==(a=O_(n.scrollMarginBottom))&&void 0!==a?a:O_(n.scrollMarginBlockEnd)}},O_=e=>e?parseInt(e,10):0;function j_(e){const{imperativeRef:t,matchOption:r}=e,n=L.useRef(!1),o=L.useRef(!0),a=L.useRef(null),i=L.useRef(null),l=L.useRef(null),s=L.useRef(!0),c=L.useCallback(()=>{var e;null===(e=l.current)||void 0===e||e.removeAttribute("aria-activedescendant")},[]),u=L.useCallback(e=>{var t;(e&&(a.current=e),s.current&&a.current)&&(null===(t=l.current)||void 0===t||t.setAttribute("aria-activedescendant",a.current))},[]);qk(e=>{n.current=e;const t=m();t&&(e&&o.current?t.setAttribute(N_,""):t.removeAttribute(N_))});const d=Wy(r),f=L.useRef(null),{optionWalker:p,listboxCallbackRef:h}=function(e){const{matchOption:t}=e,{targetDocument:r}=Ny(),n=L.useRef(null),o=L.useRef(null),a=L.useCallback(e=>nw(e)&&t(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,[t]),i=L.useCallback(e=>{e&&r?(o.current=e,n.current=r.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,a)):(o.current=null,n.current=null)},[r,a]),l=L.useMemo(()=>({first:()=>n.current&&o.current?(n.current.currentNode=o.current,n.current.firstChild()):null,last:()=>n.current&&o.current?(n.current.currentNode=o.current,n.current.lastChild()):null,next:()=>n.current?n.current.nextNode():null,prev:()=>n.current?n.current.previousNode():null,find:(e,t)=>{if(!n.current||!o.current)return null;const a=t?null==r?void 0:r.getElementById(t):null;n.current.currentNode=null!=a?a:o.current;let i=n.current.currentNode;for(;i&&!e(i.id);)i=n.current.nextNode();return i},setCurrent:e=>{n.current&&(n.current.currentNode=e)}}),[r]);return{optionWalker:l,listboxCallbackRef:i}}({matchOption:d}),m=L.useCallback(()=>{var e;return null===(e=f.current)||void 0===e?void 0:e.querySelector(`#${a.current}`)},[f]),g=L.useCallback(e=>{o.current=e;const t=m();t&&(e&&n.current?t.setAttribute(N_,""):t.removeAttribute(N_))},[m]),v=L.useCallback(()=>{const e=m();var t;return e&&(e.removeAttribute(z_),e.removeAttribute(N_)),c(),i.current=a.current,a.current=null,null!==(t=null==e?void 0:e.id)&&void 0!==t?t:null},[m,c]),b=L.useCallback(e=>{if(!e)return;const t=v();T_(e),u(e.id),e.setAttribute(z_,""),n.current&&o.current&&e.setAttribute(N_,"");const r=(a={id:e.id,previousId:t},new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:a}));var a;e.dispatchEvent(r)},[v,u]),y=L.useMemo(()=>({first:({passive:e}={})=>{const t=p.first();return e||b(t),null==t?void 0:t.id},last:({passive:e}={})=>{const t=p.last();return e||b(t),null==t?void 0:t.id},next:({passive:e}={})=>{const t=m();if(!t)return;p.setCurrent(t);const r=p.next();return e||b(r),null==r?void 0:r.id},prev:({passive:e}={})=>{const t=m();if(!t)return;p.setCurrent(t);const r=p.prev();return e||b(r),null==r?void 0:r.id},blur:()=>{v()},active:()=>{var e;return null===(e=m())||void 0===e?void 0:e.id},focus:e=>{if(!f.current)return;const t=f.current.querySelector(`#${e}`);t&&b(t)},focusLastActive:()=>{if(!f.current||!i.current)return;const e=f.current.querySelector(`#${i.current}`);return e?(b(e),!0):void 0},find(e,{passive:t,startFrom:r}={}){const n=p.find(e,r);return t||b(n),null==n?void 0:n.id},scrollActiveIntoView:()=>{if(!f.current)return;const e=m();e&&T_(e)},showAttributes(){s.current=!0,u()},hideAttributes(){s.current=!1,c()},showFocusVisibleAttributes(){g(!0)},hideFocusVisibleAttributes(){g(!1)}}),[p,f,u,c,b,v,m,g]);return L.useImperativeHandle(t,()=>y),{listboxRef:Xy(f,h),activeParentRef:l,controller:y}}const D_=$b({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]}),A_=(e,t)=>{const{filled:r,title:n,primaryFill:o="currentColor",...a}=e,i={...a,fill:o},l=D_(),s=(()=>{const e=L.useContext(dw);return null!=e?e:fw})();return i.className=bg(l.root,(null==t?void 0:t.flipInRtl)&&"rtl"===(null==s?void 0:s.textDirection)&&l.rtl,i.className),n&&(i["aria-label"]=n),i["aria-label"]||i["aria-labelledby"]?i.role="img":i["aria-hidden"]=!0,i},I_=$b({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]}),q_=(e,t,r,n)=>{const o="1em"===t?"20":t,a=L.forwardRef((e,a)=>{const i=I_(),l=A_(e,{flipInRtl:null==n?void 0:n.flipInRtl}),s={...l,className:bg("fui-Icon",l.className,i.root),ref:a,width:t,height:t,viewBox:`0 0 ${o} ${o}`,xmlns:"http://www.w3.org/2000/svg"};return"string"==typeof r?L.createElement("svg",{...s,dangerouslySetInnerHTML:{__html:r}}):L.createElement("svg",s,...r.map(e=>L.createElement("path",{d:e,fill:s.fill})))});return a.displayName=e,a},L_=q_("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]),M_=q_("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"]),H_=q_("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"]),V_=q_("ChevronLeftRegular","1em",["M12.35 15.85a.5.5 0 0 1-.7 0L6.16 10.4a.55.55 0 0 1 0-.78l5.49-5.46a.5.5 0 1 1 .7.7L7.2 10l5.16 5.15c.2.2.2.5 0 .7Z"]),W_=q_("ChevronRightRegular","1em",["M7.65 4.15c.2-.2.5-.2.7 0l5.49 5.46c.21.22.21.57 0 .78l-5.49 5.46a.5.5 0 0 1-.7-.7L12.8 10 7.65 4.85a.5.5 0 0 1 0-.7Z"]),U_=q_("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]),$_=q_("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"]),X_=q_("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"]),G_=q_("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]),K_=q_("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"]),Q_=q_("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]),J_=q_("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]),Y_=q_("DiamondDismiss12Filled","12",["M4.58 1.58a2 2 0 0 1 2.83 0l3 3a2 2 0 0 1 0 2.83l-3 3a2 2 0 0 1-2.83 0l-3-3a2 2 0 0 1-.14-2.68l.14-.15 3-3Zm3.27 2.57a.5.5 0 0 0-.7 0L6 5.29 4.85 4.15l-.07-.07a.5.5 0 0 0-.7.7l.07.07L5.29 6 4.15 7.15a.5.5 0 0 0 .7.7L6 6.71l1.15 1.14.07.07a.5.5 0 0 0 .7-.7l-.07-.07L6.71 6l1.14-1.15a.5.5 0 0 0 0-.7Z"]),Z_="data-popper-is-intersecting",eS="data-popper-escaped",tS="data-popper-reference-hidden",rS="fui-positioningend",nS=({options:e})=>e,oS=L.createContext(void 0);oS.Provider;const aS=["top","right","bottom","left"],iS=Math.min,lS=Math.max,sS=Math.round,cS=e=>({x:e,y:e}),uS={left:"right",right:"left",bottom:"top",top:"bottom"};function dS(e,t,r){return lS(e,iS(t,r))}function fS(e,t){return"function"==typeof e?e(t):e}function pS(e){return e.split("-")[0]}function hS(e){return e.split("-")[1]}function mS(e){return"x"===e?"y":"x"}function gS(e){return"y"===e?"height":"width"}function vS(e){const t=e[0];return"t"===t||"b"===t?"y":"x"}function bS(e){return mS(vS(e))}function yS(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const wS=["left","right"],kS=["right","left"],xS=["top","bottom"],_S=["bottom","top"];function SS(e,t,r,n){const o=hS(e);let a=function(e,t,r){switch(e){case"top":case"bottom":return r?t?kS:wS:t?wS:kS;case"left":case"right":return t?xS:_S;default:return[]}}(pS(e),"start"===r,n);return o&&(a=a.map(e=>e+"-"+o),t&&(a=a.concat(a.map(yS)))),a}function BS(e){const t=pS(e);return uS[t]+e.slice(t.length)}function ES(e){return"number"!=typeof e?function(e){var t,r,n,o;return{top:null!=(t=e.top)?t:0,right:null!=(r=e.right)?r:0,bottom:null!=(n=e.bottom)?n:0,left:null!=(o=e.left)?o:0}}(e):{top:e,right:e,bottom:e,left:e}}function CS(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function zS(e,t,r){let{reference:n,floating:o}=e;const a=vS(t),i=bS(t),l=gS(i),s=pS(t),c="y"===a,u=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,f=n[l]/2-o[l]/2;let p;switch(s){case"top":p={x:u,y:n.y-o.height};break;case"bottom":p={x:u,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:d};break;case"left":p={x:n.x-o.width,y:d};break;default:p={x:n.x,y:n.y}}const h=hS(t);return h&&(p[i]+=f*("end"===h?1:-1)*(r&&c?-1:1)),p}async function NS(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:a,rects:i,elements:l,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=fS(t,e),h=ES(p),m=l[f?"floating"===d?"reference":"floating":d],g=CS(await a.getClippingRect({element:null==(r=await(null==a.isElement?void 0:a.isElement(m)))||r?m:m.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:s})),v="floating"===d?{x:n,y:o,width:i.floating.width,height:i.floating.height}:i.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),y=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},w=CS(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:v,offsetParent:b,strategy:s}):v);return{top:(g.top-w.top+h.top)/y.y,bottom:(w.bottom-g.bottom+h.bottom)/y.y,left:(g.left-w.left+h.left)/y.x,right:(w.right-g.right+h.right)/y.x}}function TS(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function FS(e){return aS.some(t=>e[t]>=0)}const RS=new Set(["left","top"]);function PS(){return"undefined"!=typeof window}function OS(e){return AS(e)?(e.nodeName||"").toLowerCase():"#document"}function jS(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function DS(e){var t;return null==(t=(AS(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function AS(e){return!!PS()&&(e instanceof Node||e instanceof jS(e).Node)}function IS(e){return!!PS()&&(e instanceof Element||e instanceof jS(e).Element)}function qS(e){return!!PS()&&(e instanceof HTMLElement||e instanceof jS(e).HTMLElement)}function LS(e){return!(!PS()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof jS(e).ShadowRoot)}function MS(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=JS(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==o&&"contents"!==o}function HS(e){return/^(table|td|th)$/.test(OS(e))}function VS(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}const WS=/transform|translate|scale|rotate|perspective|filter/,US=/paint|layout|strict|content/,$S=e=>!!e&&"none"!==e;let XS;function GS(e){const t=IS(e)?JS(e):e;return $S(t.transform)||$S(t.translate)||$S(t.scale)||$S(t.rotate)||$S(t.perspective)||!KS()&&($S(t.backdropFilter)||$S(t.filter))||WS.test(t.willChange||"")||US.test(t.contain||"")}function KS(){return null==XS&&(XS="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),XS}function QS(e){return/^(html|body|#document)$/.test(OS(e))}function JS(e){return jS(e).getComputedStyle(e)}function YS(e){return IS(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ZS(e){if("html"===OS(e))return e;const t=e.assignedSlot||e.parentNode||LS(e)&&e.host||DS(e);return LS(t)?t.host:t}function eB(e){const t=ZS(e);return QS(t)?(e.ownerDocument||e).body:qS(t)&&MS(t)?t:eB(t)}function tB(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const o=eB(e),a=o===(null==(n=e.ownerDocument)?void 0:n.body),i=jS(o);if(a){const e=rB(i);return t.concat(i,i.visualViewport||[],MS(o)?o:[],e&&r?tB(e):[])}return t.concat(o,tB(o,[],r))}function rB(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nB(e){const t=JS(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=qS(e),a=o?e.offsetWidth:r,i=o?e.offsetHeight:n,l=sS(r)!==a||sS(n)!==i;return l&&(r=a,n=i),{width:r,height:n,$:l}}function oB(e){return IS(e)?e:e.contextElement}function aB(e){const t=oB(e);if(!qS(t))return cS(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:a}=nB(t);let i=(a?sS(r.width):r.width)/n,l=(a?sS(r.height):r.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const iB=cS(0);function lB(e){const t=jS(e);return KS()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:iB}function sB(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),a=oB(e);let i=cS(1);t&&(n?IS(n)&&(i=aB(n)):i=aB(e));const l=function(e,t,r){return void 0===t&&(t=!1),!!r&&t&&r===jS(e)}(a,r,n)?lB(a):cS(0);let s=(o.left+l.x)/i.x,c=(o.top+l.y)/i.y,u=o.width/i.x,d=o.height/i.y;if(a&&n){const e=jS(a),t=IS(n)?jS(n):n;let r=e,o=rB(r);for(;o&&t!==r;){const e=aB(o),t=o.getBoundingClientRect(),n=JS(o),a=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;s*=e.x,c*=e.y,u*=e.x,d*=e.y,s+=a,c+=i,r=jS(o),o=rB(r)}}return CS({width:u,height:d,x:s,y:c})}function cB(e,t){const r=YS(e).scrollLeft;return t?t.left+r:sB(DS(e)).left+r}function uB(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-cB(e,r),y:r.top+t.scrollTop}}function dB(e,t,r){let n;if("viewport"===t||"layoutViewport"===t)n=function(e,t,r){void 0===r&&(r="viewport");const n="layoutViewport"===r,o=jS(e),a=DS(e),i=o.visualViewport;let l=a.clientWidth,s=a.clientHeight,c=0,u=0;if(i){const e=!KS()||"fixed"===t;n?e||(c=-i.offsetLeft,u=-i.offsetTop):(l=i.width,s=i.height,e&&(c=i.offsetLeft,u=i.offsetTop))}if(cB(a)<=0){const e=a.ownerDocument,t=e.body,r=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,o=Math.abs(a.clientWidth-t.clientWidth-n),i="stable both-edges"===getComputedStyle(a).scrollbarGutter?o/2:o;i<=25&&(l-=i)}return{width:l,height:s,x:c,y:u}}(e,r,t);else if("document"===t)n=function(e){const t=YS(e),r=e.ownerDocument.body,n=lS(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),o=lS(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-t.scrollLeft+cB(e);const i=-t.scrollTop;return"rtl"===JS(r).direction&&(a+=lS(e.clientWidth,r.clientWidth)-n),{width:n,height:o,x:a,y:i}}(DS(e));else if(IS(t))n=function(e,t){const r=sB(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=aB(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:n*a.y}}(t,r);else{const r=lB(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return CS(n)}function fB(e,t,r){const n=qS(t),o=DS(t),a="fixed"===r,i=sB(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const s=cS(0);if((n||!a)&&(("body"!==OS(t)||MS(o))&&(l=YS(t)),n)){const e=sB(t,!0,a,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}!n&&o&&(s.x=cB(o));const c=!o||n||a?cS(0):uB(o,l);return{x:i.left+l.scrollLeft-s.x-c.x,y:i.top+l.scrollTop-s.y-c.y,width:i.width,height:i.height}}function pB(e){return"static"===JS(e).position}function hB(e,t){if(!qS(e)||"fixed"===JS(e).position)return null;if(t)return t(e);let r=e.offsetParent;return DS(e)===r&&(r=r.ownerDocument.body),r}function mB(e,t){const r=jS(e);if(VS(e))return r;if(!qS(e)){let t=ZS(e);for(;t&&!QS(t);){if(IS(t)&&!pB(t))return t;t=ZS(t)}return r}let n=hB(e,t);for(;n&&HS(n)&&pB(n);)n=hB(n,t);return n&&QS(n)&&pB(n)&&!GS(n)?r:n||function(e){let t=ZS(e);for(;qS(t)&&!QS(t);){if(GS(t))return t;if(VS(t))return null;t=ZS(t)}return null}(e)||r}const gB={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const a="fixed"===o,i=DS(n),l=!!t&&VS(t.floating);if(n===i||l&&a)return r;let s={scrollLeft:0,scrollTop:0},c=cS(1);const u=cS(0),d=qS(n);if((d||!a)&&(("body"!==OS(n)||MS(i))&&(s=YS(n)),d)){const e=sB(n);c=aB(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}const f=!i||d||a?cS(0):uB(i,s);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-s.scrollLeft*c.x+u.x+f.x,y:r.y*c.y-s.scrollTop*c.y+u.y+f.y}},getDocumentElement:DS,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a="clippingAncestors"===r?VS(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let n=tB(e,[],!1).filter(e=>IS(e)&&"body"!==OS(e)),o=null;const a="fixed"===JS(e).position;let i=a?ZS(e):e;for(;IS(i)&&!QS(i);){const e=JS(i),t=GS(i),r=o?o.position:a?"fixed":"";t||"fixed"!==r&&("absolute"!==r||"static"!==e.position)?o=e:n=n.filter(e=>e!==i),i=ZS(i)}return t.set(e,n),n}(t,this._c):[].concat(r),i=[...a,n],l=dB(t,i[0],o);let s=l.top,c=l.right,u=l.bottom,d=l.left;for(let e=1;e<i.length;e++){const r=dB(t,i[e],o);s=lS(r.top,s),c=iS(r.right,c),u=iS(r.bottom,u),d=lS(r.left,d)}return{width:c-d,height:u-s,x:d,y:s}},getOffsetParent:mB,getElementRects:async function(e){const t=this.getOffsetParent||mB,r=this.getDimensions,n=await r(e.floating);return{reference:fB(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return e.getClientRects?Array.from(e.getClientRects()):[]},getDimensions:function(e){const{width:t,height:r}=nB(e);return{width:t,height:r}},getScale:aB,isElement:IS,isRTL:function(e){return"rtl"===JS(e).direction}},vB=NS,bB=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:a,placement:i,middlewareData:l}=t,s=await async function(e,t){const{placement:r,platform:n,elements:o}=e,a=await(null==n.isRTL?void 0:n.isRTL(o.floating)),i=pS(r),l=hS(r),s="y"===vS(r),c=RS.has(i)?-1:1,u=a&&s?-1:1,d=fS(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&"number"==typeof h&&(p="end"===l?-1*h:h),s?{x:p*u,y:f*c}:{x:f*c,y:p*u}}(t,e);return i===(null==(r=l.offset)?void 0:r.placement)&&null!=(n=l.arrow)&&n.alignmentOffset?{}:{x:o+s.x,y:a+s.y,data:{...s,placement:i}}}}},yB=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o,platform:a}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...c}=fS(e,t),u={x:r,y:n},d=await a.detectOverflow(t,c),f=vS(o),p=mS(f);let h=u[p],m=u[f];const g=(e,t)=>dS(t+d["y"===e?"top":"left"],t,t-d["y"===e?"bottom":"right"]);i&&(h=g(p,h)),l&&(m=g(f,m));const v=s.fn({...t,[p]:h,[f]:m});return{...v,data:{x:v.x-r,y:v.y-n,enabled:{[p]:i,[f]:l}}}}}},wB=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:a,rects:i,initialPlacement:l,platform:s,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...g}=fS(e,t);if(null!=(r=a.arrow)&&r.alignmentOffset)return{};const v=pS(o),b=vS(l),y=pS(l)===l,w=await(null==s.isRTL?void 0:s.isRTL(c.floating)),k=f||(y||!m?[BS(l)]:function(e){const t=BS(e);return[yS(e),t,yS(t)]}(l)),x="none"!==h;!f&&x&&k.push(...SS(l,m,h,w));const _=[l,...k],S=await s.detectOverflow(t,g),B=[];let E=(null==(n=a.flip)?void 0:n.overflows)||[];if(u&&B.push(S[v]),d){const e=function(e,t,r){void 0===r&&(r=!1);const n=hS(e),o=bS(e),a=gS(o);let i="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=BS(i)),[i,BS(i)]}(o,i,w);B.push(S[e[0]],S[e[1]])}if(E=[...E,{placement:o,overflows:B}],!B.every(e=>e<=0)){var C,z;const e=((null==(C=a.flip)?void 0:C.index)||0)+1,t=_[e];if(t){if(!("alignment"===d&&b!==vS(t))||E.every(e=>vS(e.placement)!==b||e.overflows[0]>0))return{data:{index:e,overflows:E},reset:{placement:t}}}let r=null==(z=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:z.placement;if(!r)switch(p){case"bestFit":{var N;const e=null==(N=E.filter(e=>{if(x){const t=vS(e.placement);return t===b||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:N[0];e&&(r=e);break}case"initialPlacement":r=l}if(o!==r)return{reset:{placement:r}}}return{}}}},kB=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:o,elements:a}=t,{apply:i=()=>{},...l}=fS(e,t),s=await o.detectOverflow(t,l),c=pS(r),u=hS(r),d="y"===vS(r),{width:f,height:p}=n.floating;let h,m;"top"===c||"bottom"===c?(h=c,m=u===(await(null==o.isRTL?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(m=c,h="end"===u?"top":"bottom");const g=p-s.top-s.bottom,v=f-s.left-s.right,b=iS(p-s[h],g),y=iS(f-s[m],v),w=t.middlewareData.shift,k=!w;let x=b,_=y;null!=w&&w.enabled.x&&(_=v),null!=w&&w.enabled.y&&(x=g),k&&!u&&(d?_=f-2*lS(s.left,s.right):x=p-2*lS(s.top,s.bottom)),await i({...t,availableWidth:_,availableHeight:x});const S=await o.getDimensions(a.floating);return f!==S.width||p!==S.height?{reset:{rects:!0}}:{}}}},xB=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:n}=t,{strategy:o="referenceHidden",...a}=fS(e,t);switch(o){case"referenceHidden":{const e=TS(await n.detectOverflow(t,{...a,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:FS(e)}}}case"escaped":{const e=TS(await n.detectOverflow(t,{...a,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:FS(e)}}}default:return{}}}}},_B=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:a,platform:i,elements:l,middlewareData:s}=t,{element:c,padding:u=0}=fS(e,t)||{};if(null==c)return{};const d=ES(u),f={x:r,y:n},p=bS(o),h=gS(p),m=await i.getDimensions(c),g="y"===p,v=g?"top":"left",b=g?"bottom":"right",y=g?"clientHeight":"clientWidth",w=a.reference[h]+a.reference[p]-f[p]-a.floating[h],k=f[p]-a.reference[p],x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let _=x?x[y]:0;_&&await(null==i.isElement?void 0:i.isElement(x))||(_=l.floating[y]||a.floating[h]);const S=w/2-k/2,B=_/2-m[h]/2-1,E=iS(d[v],B),C=iS(d[b],B),z=_-m[h]-C,N=_/2-m[h]/2+S,T=dS(E,N,z),F=!s.arrow&&null!=hS(o)&&N!==T&&a.reference[h]/2-(N<E?E:C)-m[h]/2<0,R=F?N<E?N-E:N-z:0;return{[p]:f[p]+R,data:{[p]:T,centerOffset:N-T-R,...F&&{alignmentOffset:R}},reset:F}}}),SB=function(e){return void 0===e&&(e={}),{options:e,fn(t){var r,n;const{x:o,y:a,placement:i,rects:l,middlewareData:s}=t,{offset:c=0,mainAxis:u=!0,crossAxis:d=!0}=fS(e,t),f={x:o,y:a},p=vS(i),h=mS(p);let m=f[h],g=f[p];const v=fS(c,t),b="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:null!=(r=v.mainAxis)?r:0,crossAxis:null!=(n=v.crossAxis)?n:0};if(u){const e="y"===h?"height":"width",t=l.reference[h]-l.floating[e]+b.mainAxis,r=l.reference[h]+l.reference[e]-b.mainAxis;m<t?m=t:m>r&&(m=r)}if(d){var y,w;const e="y"===h?"width":"height",t=RS.has(pS(i)),r=l.reference[p]-l.floating[e]+(t&&(null==(y=s.offset)?void 0:y[p])||0)+(t?0:b.crossAxis),n=l.reference[p]+l.reference[e]+(t?0:(null==(w=s.offset)?void 0:w[p])||0)-(t?b.crossAxis:0);g<r?g=r:g>n&&(g=n)}return{[h]:m,[p]:g}}}},BB=(e,t,r)=>{const n=new Map,o=null!=r?r:{},a={...gB,...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,l=i.detectOverflow?i:{...i,detectOverflow:NS},s=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=zS(c,n,s),f=n,p=0;const h={};for(let r=0;r<a.length;r++){const m=a[r];if(!m)continue;const{name:g,fn:v}=m,{x:b,y:y,data:w,reset:k}=await v({x:u,y:d,initialPlacement:n,placement:f,strategy:o,middlewareData:h,rects:c,platform:l,elements:{reference:e,floating:t}});u=null!=b?b:u,d=null!=y?y:d,h[g]={...h[g],...w},k&&p<50&&(p++,"object"==typeof k&&(k.placement&&(f=k.placement),k.rects&&(c=!0===k.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):k.rects),({x:u,y:d}=zS(c,f,s))),r=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:h}})(e,t,{...o,platform:a})};function EB(e){const t=e.split("-");return{side:t[0],alignment:t[1]}}const CB=e=>{const t=e&&(e=>"HTML"===e.nodeName?e:e.parentNode||e.host)(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:n,overflowY:o}=(e=>{var t;if(1!==e.nodeType)return{};const r=null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView;return r?r.getComputedStyle(e,null):{}})(t);return/(auto|scroll|overlay)/.test(r+o+n)?t:CB(t)};function zB(e,t){if("window"===t)return null==e?void 0:e.ownerDocument.documentElement;if("clippingParents"===t)return"clippingAncestors";if("scrollParent"===t){let t=CB(e);return"BODY"===t.nodeName&&(t=null==e?void 0:e.ownerDocument.documentElement),t}return t}function NB(e,t){if("number"==typeof e)return e;const{start:r,end:n,...o}=e,a=o,i=t?"end":"start",l=t?"start":"end";return e[i]&&(a.left=e[i]),e[l]&&(a.right=e[l]),a}const TB=(e,t,r)=>{const n=((e,t)=>{const r="above"===e||"below"===e,n="top"===t||"bottom"===t;return r&&n||!r&&!n})(t,e)?"center":e,o=t&&(e=>({above:"top",below:"bottom",before:e?"right":"left",after:e?"left":"right"}))(r)[t],a=n&&{start:"start",end:"end",top:"start",bottom:"end",center:void 0}[n];return o&&a?`${o}-${a}`:o},FB={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 RB(e){return null==e?{}:"string"==typeof e?FB[e]:e}function PB(e,t,r){const n=L.useRef(!0),[o]=L.useState(()=>({value:e,callback:t,facade:{get current(){return o.value},set current(e){const t=o.value;if(t!==e){if(o.value=e,r&&n.current)return;o.callback(e,t)}}}}));return Vy(()=>{n.current=!1},[]),o.callback=t,o.facade}function OB(e){const t=[];let r=e;for(;r;){const n=CB(r);if(e.ownerDocument.body===n){t.push(n);break}if("BODY"===n.nodeName&&n!==e.ownerDocument.body)break;t.push(n),r=n}return t}function jB(e){let t=!1;const{container:r,target:n,arrow:o,strategy:a,middleware:i,placement:l,useTransform:s=!0,disableUpdateOnResize:c=!1}=e,u=r.ownerDocument.defaultView;if(!n||!r||!u)return{updatePosition:()=>{},dispose:()=>{}};const d=c?null:function(e,t){return new e.ResizeObserver(t)}(u,e=>{e.every(e=>e.contentRect.width>0&&e.contentRect.height>0)&&m()});let f=!0;const p=new Set;Object.assign(r.style,{position:"fixed",left:0,top:0,margin:0});const h=()=>{t||(f&&(OB(r).forEach(e=>p.add(e)),nw(n)&&OB(n).forEach(e=>p.add(e)),p.forEach(e=>{e.addEventListener("scroll",m,{passive:!0})}),null==d||d.observe(r),nw(n)&&(null==d||d.observe(n)),f=!1),Object.assign(r.style,{position:a}),BB(n,r,{placement:l,middleware:i,strategy:a}).then(({x:e,y:n,middlewareData:i,placement:l})=>{var c,d;if(t)return;const f=function(e){const{clientWidth:t,clientHeight:r}=e.ownerDocument.documentElement;return 0===t&&0===r}(r)?{...i,hide:{...i.hide,escaped:!1,referenceHidden:!1}}:i;var p,h;!function(e){const{arrow:t,middlewareData:r}=e;if(!r.arrow||!t)return;const{x:n,y:o}=r.arrow;Object.assign(t.style,{left:null!=n?`${n}px`:"",top:null!=o?`${o}px`:""})}({arrow:o,middlewareData:f}),function(e){var t,r,n;const{container:o,placement:a,middlewareData:i,strategy:l,lowPPI:s,coordinates:c,useTransform:u=!0}=e;if(!o)return;o.setAttribute("data-popper-placement",a),o.removeAttribute(Z_),i.intersectionObserver.intersecting&&o.setAttribute(Z_,""),o.removeAttribute(eS),(null===(t=i.hide)||void 0===t?void 0:t.escaped)&&o.setAttribute(eS,""),o.removeAttribute(tS),(null===(r=i.hide)||void 0===r?void 0:r.referenceHidden)&&o.setAttribute(tS,"");const d=(null===(n=o.ownerDocument.defaultView)||void 0===n?void 0:n.devicePixelRatio)||1,f=Math.round(c.x*d)/d,p=Math.round(c.y*d)/d;Object.assign(o.style,{position:l}),u?Object.assign(o.style,{transform:s?`translate(${f}px, ${p}px)`:`translate3d(${f}px, ${p}px, 0)`}):Object.assign(o.style,{left:`${f}px`,top:`${p}px`})}({container:r,middlewareData:f,placement:l,coordinates:{x:e,y:n},lowPPI:((null==u?void 0:u.devicePixelRatio)||1)<=1,strategy:a,useTransform:s}),r.dispatchEvent(new CustomEvent(rS,{detail:{placement:l,escaped:null!==(p=null===(c=f.hide)||void 0===c?void 0:c.escaped)&&void 0!==p&&p,referenceHidden:null!==(h=null===(d=f.hide)||void 0===d?void 0:d.referenceHidden)&&void 0!==h&&h}}))}).catch(e=>{}))},m=function(e){let t;return()=>(t||(t=new Promise(r=>{Promise.resolve().then(()=>{t=void 0,r(e())})})),t)}(()=>h());return u&&(u.addEventListener("scroll",m,{passive:!0}),u.addEventListener("resize",m)),m(),{updatePosition:m,dispose:()=>{t=!0,u&&(u.removeEventListener("scroll",m),u.removeEventListener("resize",m)),p.forEach(e=>{e.removeEventListener("scroll",m)}),p.clear(),null==d||d.disconnect()}}}function DB(e){const{hasScrollableElement:t,flipBoundary:r,container:n,fallbackPositions:o=[],isRtl:a}=e,i=o.reduce((e,t)=>{const{position:r,align:n}=RB(t),o=TB(n,r,a);return o&&e.push(o),e},[]);return wB({...t&&{boundary:"clippingAncestors"},...r&&{altBoundary:!0,boundary:zB(n,r)},fallbackStrategy:"bestFit",...i.length&&{fallbackPlacements:i}})}const AB=e=>({name:"resetMaxSize",fn({middlewareData:t,elements:r}){var n;if(null===(n=t.resetMaxSize)||void 0===n?void 0:n.maxSizeAlreadyReset)return{};const{applyMaxWidth:o,applyMaxHeight:a}=e;return o&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-width"),r.floating.style.removeProperty("width")),a&&(r.floating.style.removeProperty("box-sizing"),r.floating.style.removeProperty("max-height"),r.floating.style.removeProperty("height")),{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function IB(e,t){const{container:r,overflowBoundary:n,overflowBoundaryPadding:o,isRtl:a}=t;return kB({...o&&{padding:NB(o,a)},...n&&{altBoundary:!0,boundary:zB(r,n)},apply({availableHeight:t,availableWidth:r,elements:n,rects:o}){const a=(e,t,r)=>{if(e&&(n.floating.style.setProperty("box-sizing","border-box"),n.floating.style.setProperty(`max-${t}`,`${r}px`),o.floating[t]>r)){n.floating.style.setProperty(t,`${r}px`);const e="width"===t?"x":"y";n.floating.style.getPropertyValue(`overflow-${e}`)||n.floating.style.setProperty(`overflow-${e}`,"auto")}},{applyMaxWidth:i,applyMaxHeight:l}=e;a(i,"width",r),a(l,"height",t)}})}function qB(e){return e?"number"==typeof e||"object"==typeof e?e:({rects:{floating:t,reference:r},placement:n})=>{const{position:o,alignment:a}=(e=>{const{side:t,alignment:r}=EB(e),n={top:"above",bottom:"below",right:"after",left:"before"}[t],o=r&&(e=>"above"===e||"below"===e?{start:"start",end:"end"}:{start:"top",end:"bottom"})(n)[r];return{position:n,alignment:o}})(n);return e({positionedRect:t,targetRect:r,position:o,alignment:a})}:e}function LB(e){const t=qB(e);return bB(t)}function MB(e){const{hasScrollableElement:t,shiftToCoverTarget:r,disableTether:n,overflowBoundary:o,container:a,overflowBoundaryPadding:i,isRtl:l}=e;return yB({...t&&{boundary:"clippingAncestors"},...r&&{crossAxis:!0,limiter:SB({crossAxis:!0,mainAxis:!1})},...n&&{crossAxis:"all"===n,limiter:SB({crossAxis:"all"!==n,mainAxis:!1})},...i&&{padding:NB(i,l)},...o&&{altBoundary:!0,boundary:zB(a,o)}})}const HB="--fui-match-target-size";function VB(e){const{dir:t,targetDocument:r}=Ny(),n="rtl"===t,o=function(e,t){const{align:r,arrowPadding:n,autoSize:o,coverTarget:a,disableUpdateOnResize:i,flipBoundary:l,offset:s,overflowBoundary:c,pinned:u,position:d,unstable_disableTether:f,strategy:p,overflowBoundaryPadding:h,fallbackPositions:m,useTransform:g,matchTargetSize:v,shiftToCoverTarget:b}=t;return L.useCallback((t,y)=>e({container:t,arrow:y,options:{autoSize:o,disableUpdateOnResize:i,matchTargetSize:v,offset:s,strategy:p,coverTarget:a,flipBoundary:l,overflowBoundary:c,useTransform:g,overflowBoundaryPadding:h,pinned:u,arrowPadding:n,align:r,fallbackPositions:m,shiftToCoverTarget:b,position:d,unstable_disableTether:f}}),[o,i,v,s,p,a,l,c,g,h,u,n,r,m,b,d,f,e])}(null!==(a=L.useContext(oS))&&void 0!==a?a:nS,e);var a;const{positionFixed:i}=e;return L.useCallback((e,t)=>{const r=(e=>{var t;const r=CB(e);return!!r&&r!==(null===(t=r.ownerDocument)||void 0===t?void 0:t.body)})(e),a=o(e,t),{autoSize:l,disableUpdateOnResize:s,matchTargetSize:c,offset:u,coverTarget:d,flipBoundary:f,overflowBoundary:p,useTransform:h,overflowBoundaryPadding:m,pinned:g,position:v,arrowPadding:b,strategy:y,align:w,fallbackPositions:k,shiftToCoverTarget:x,unstable_disableTether:_}=a,S=(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}})(l),B=[S&&AB(S),c&&{name:"matchTargetSize",fn:async e=>{const{rects:{reference:t,floating:r},elements:{floating:n},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:o=!1}={}}}=e;if(t.width===r.width||o)return{};const{width:a}=t;return n.style.setProperty(HB,`${a}px`),n.style.width||(n.style.width=`var(${HB})`),{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}},u&&LB(u),d&&{name:"coverTarget",fn:e=>{const{placement:t,rects:r,x:n,y:o}=e,a={x:n,y:o};switch(EB(t).side){case"bottom":a.y-=r.reference.height;break;case"top":a.y+=r.reference.height;break;case"left":a.x+=r.reference.width;break;case"right":a.x-=r.reference.width}return a}},!g&&DB({container:e,flipBoundary:f,hasScrollableElement:r,isRtl:n,fallbackPositions:k}),MB({container:e,hasScrollableElement:r,overflowBoundary:p,disableTether:_,overflowBoundaryPadding:m,isRtl:n,shiftToCoverTarget:x}),S&&IB(S,{container:e,overflowBoundary:p,overflowBoundaryPadding:m,isRtl:n}),{name:"intersectionObserver",fn:async e=>{const t=e.rects.floating,r=await vB(e,{altBoundary:!0}),n=r.top<t.height&&r.top>0,o=r.bottom<t.height&&r.bottom>0;return{data:{intersecting:n||o}}}},t&&_B({element:t,padding:b}),xB({strategy:"referenceHidden"}),xB({strategy:"escaped"}),!1].filter(Boolean);return{placement:TB(w,v,n),middleware:B,strategy:(null!=y?y:i)?"fixed":"absolute",disableUpdateOnResize:s,useTransform:h}},[o,n,r,i])}const WB=$b({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;}"]}),UB=H.useInsertionEffect,$B=()=>{let e;return{get:function(t,r){return e||(r&&(e=t.ownerDocument.createElement("div"),t.appendChild(e)),e)},dispose:function(){e&&(e.remove(),e=void 0)}}},XB=UB?e=>{const{className:t,dir:r,focusVisibleRef:n,targetNode:o}=e,[a]=L.useState($B),i=L.useMemo(()=>void 0===o||e.disabled?null:new Proxy({},{get(e,t){if("nodeType"===t)return 1;if("remove"===t){const e=a.get(o,!1);if(e){0===e.childNodes.length&&a.dispose()}return()=>{}}const r=a.get(o,!0),n=r?r[t]:void 0;return"function"==typeof n?n.bind(r):n},set(e,t,r){const n="_virtual"===t||"focusVisible"===t,i=n?a.get(o,!1):a.get(o,!0);return!(!n||i)||!!i&&(Object.assign(i,{[t]:r}),!0)}}),[a,o,e.disabled]);return UB(()=>{if(!i)return;const e=t.split(" ").filter(Boolean);return i.classList.add(...e),i.setAttribute("dir",r),i.setAttribute("data-portal-node","true"),n.current=i,()=>{i.classList.remove(...e),i.removeAttribute("dir")}},[t,r,i,n]),L.useEffect(()=>()=>{null==i||i.remove()},[i]),i}:e=>{const{className:t,dir:r,focusVisibleRef:n,targetNode:o}=e,a=L.useMemo(()=>{if(void 0===o||e.disabled)return null;const t=o.ownerDocument.createElement("div");return o.appendChild(t),t},[o,e.disabled]);return L.useMemo(()=>{a&&(a.className=t,a.setAttribute("dir",r),a.setAttribute("data-portal-node","true"),n.current=a)},[t,r,a,n]),L.useEffect(()=>()=>{null==a||a.remove()},[a]),a},GB=e=>{const{targetDocument:t,dir:r}=Ny(),n=L.useContext(Ay),o=Pk(),a=WB(),i=null!==(l=L.useContext(_y))&&void 0!==l?l:"";var l;const s={dir:r,disabled:e.disabled,focusVisibleRef:o,className:bg(i,a.root,e.className),targetNode:null!=n?n:null==t?void 0:t.body};return XB(s)},KB=e=>{const{element:t,className:r}=function(e){return nw(e)?{element:e}:"object"==typeof e?null===e?{element:null}:e:{}}(e.mountNode),n=L.useRef(null),o=GB({disabled:!!t,className:r}),a=null!=t?t:o,i={children:e.children,mountNode:a,virtualParentRootRef:n};return L.useEffect(()=>{if(!a)return;const e=n.current,t=a.contains(e);return e&&!t?(aw(a,e),()=>{aw(a,void 0)}):void 0},[n,a]),i},QB=e=>(e=>L.createElement("span",{hidden:!0,ref:e.virtualParentRootRef},e.mountNode&&Qu.createPortal(L.createElement(L.Fragment,null,e.children,L.createElement("span",{hidden:!0})),e.mountNode)))(KB(e));QB.displayName="Portal";const JB=L.createContext(void 0),YB={};JB.Provider;const ZB=(e,t)=>{const{size:r}=null!==(n=L.useContext(JB))&&void 0!==n?n:YB;var n;const{appearance:o="secondary",shape:a="rounded",size:i=(null!=r?r:"medium"),...l}=e;return{appearance:o,shape:a,size:i,...eE(l,t)}},eE=(e,t)=>{const{icon:r,iconPosition:n="before",...o}=e,a=ey(r,{elementType:"span"});var i,l;return{disabled:null!==(i=e.disabled)&&void 0!==i&&i,disabledFocusable:null!==(l=e.disabledFocusable)&&void 0!==l&&l,iconPosition:n,iconOnly:Boolean((null==a?void 0:a.children)&&!e.children),components:{root:"button",icon:"span"},root:Zb(x_(o.as,o),{elementType:"button",defaultProps:{ref:t,type:"a"!==e.as?"button":void 0}}),icon:a}},tE="fui-Button",rE="fui-Button__icon",nE=Xb("r1f29ykk",null,{r:[".r1f29ykk{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);}",".r1f29ykk:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1f29ykk[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){.r1f29ykk{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1f29ykk:focus{border-color:ButtonText;}.r1f29ykk:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1f29ykk[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),oE=Xb("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);}"]),aE=$b({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},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",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},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",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},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",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{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);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{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);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),iE=$b({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",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},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"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},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"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{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);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{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;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),lE=$b({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f18mfu3r[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;}.fixhny3[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){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),sE=$b({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),cE=$b({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);}"]}),uE=L.forwardRef((e,t)=>{const r=ZB(e,t);return(e=>{const t=nE(),r=oE(),n=aE(),o=iE(),a=lE(),i=sE(),l=cE(),{appearance:s,disabled:c,disabledFocusable:u,icon:d,iconOnly:f,iconPosition:p,shape:h,size:m}=e;e.root.className=bg(tE,t,s&&n[s],n[m],d&&"small"===m&&n.smallWithIcon,d&&"large"===m&&n.largeWithIcon,n[h],(c||u)&&o.base,(c||u)&&o.highContrast,s&&(c||u)&&o[s],"primary"===s&&a.primary,a[m],a[h],f&&i[m],e.root.className),e.icon&&(e.icon.className=bg(rE,r,!!e.root.children&&l[p],l[m],e.icon.className))})(r),Dy("useButtonStyles_unstable")(r),(e=>{const{iconOnly:t,iconPosition:r}=e;return uw(e.root,{children:["after"!==r&&e.icon&&cw(e.icon,{}),!t&&e.root.children,"after"===r&&e.icon&&cw(e.icon,{})]})})(r)});uE.displayName="Button";const dE=L.createContext(void 0),fE=dE.Provider,pE=()=>L.useContext(dE);function hE(e,t){return mE(pE(),e,t)}function mE(e,t,r){if(!e)return t;t={...t};const{generatedControlId:n,hintId:o,labelFor:a,labelId:i,required:l,validationMessageId:s,validationState:c}=e;var u,d,f,p,h,m,g,v,b,y,w,k;n&&(null!==(d=(u=t).id)&&void 0!==d||(u.id=n));!i||(null==r?void 0:r.supportsLabelFor)&&a===t.id||(null!==(p=(f=t)["aria-labelledby"])&&void 0!==p||(f["aria-labelledby"]=i));((s||o)&&(t["aria-describedby"]=[s,o,null==t?void 0:t["aria-describedby"]].filter(Boolean).join(" ")),"error"===c)&&(null!==(m=(h=t)["aria-invalid"])&&void 0!==m||(h["aria-invalid"]=!0));l&&((null==r?void 0:r.supportsRequired)?null!==(v=(g=t).required)&&void 0!==v||(g.required=!0):null!==(y=(b=t)["aria-required"])&&void 0!==y||(b["aria-required"]=!0));(null==r?void 0:r.supportsSize)&&(null!==(k=(w=t).size)&&void 0!==k||(w.size=e.size));return t}const gE=(e,t)=>{const{disabled:r=!1,required:n=!1,...o}=e;return{disabled:r,required:ey(!0===n?"*":n||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),components:{root:"label",required:"span"},root:Zb(wy("label",{ref:t,...o}),{elementType:"label"})}},vE="fui-Label",bE="fui-Label__required",yE=$b({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),wE=L.forwardRef((e,t)=>{const r=((e,t)=>{const{weight:r="regular",size:n="medium",...o}=e;return{weight:r,size:n,...gE(o,t)}})(e,t);return(e=>{const t=yE();e.root.className=bg(vE,t.root,e.disabled&&t.disabled,t[e.size],"semibold"===e.weight&&t.semibold,e.root.className),e.required&&(e.required.className=bg(bE,t.required,e.disabled&&t.disabled,e.required.className))})(r),Dy("useLabelStyles_unstable")(r),(e=>uw(e.root,{children:[e.root.children,e.required&&cw(e.required,{})]}))(r)});wE.displayName="Label";const kE={error:L.createElement(Y_,null),warning:L.createElement($_,null),success:L.createElement(K_,null),none:void 0},xE=(e,t)=>{const{orientation:r="vertical",size:n="medium",...o}=e,a=((e,t)=>{const{children:r,required:n=!1,validationState:o=(e.validationMessage?"error":"none")}=e,a=$y("field-"),i=a+"__control",l=Zb(wy("div",{...e,ref:t},["children"]),{elementType:"div"}),s=ey(e.label,{defaultProps:{htmlFor:i,id:a+"__label",required:n},elementType:"label"}),c=ey(e.validationMessage,{defaultProps:{id:a+"__validationMessage",role:"error"===o||"warning"===o?"alert":void 0},elementType:"div"}),u=ey(e.hint,{defaultProps:{id:a+"__hint"},elementType:"div"});return{children:r,generatedControlId:i,required:n,validationState:o,components:{root:"div",label:"label",validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:l,label:s,validationMessageIcon:ey(e.validationMessageIcon,{renderByDefault:!1,elementType:"span"}),validationMessage:c,hint:u}})(o,t),i=kE[a.validationState];return{...a,components:{...a.components,label:wE},label:ey(e.label,{defaultProps:{size:n,...a.label},elementType:wE}),validationMessageIcon:ey(e.validationMessageIcon,{renderByDefault:!!i,defaultProps:{children:i},elementType:"span"}),orientation:r,size:n}},_E={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"},SE=$b({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;}"]}),BE=$b({base:{B2u0y6b:"f6nezus",Bxyxcbc:"f1iqmcbn"},vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".f6nezus{max-width:max-content;}",".f1iqmcbn{max-height:max-content;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),EE=Xb("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);}"]),CE=$b({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));}"]}),zE=Xb("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;}"]),NE=$b({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),TE=L.forwardRef((e,t)=>{const r=xE(e,t);(e=>{const{validationState:t,size:r}=e,n="horizontal"===e.orientation,o=SE();e.root.className=bg(_E.root,o.base,n&&o.horizontal,n&&!e.label&&o.horizontalNoLabel,e.root.className);const a=BE();e.label&&(e.label.className=bg(_E.label,a.base,n&&a.horizontal,n&&"small"===r&&a.horizontalSmall,n&&"large"===r&&a.horizontalLarge,!n&&a.vertical,!n&&"large"===r&&a.verticalLarge,e.label.className));const i=zE(),l=NE();e.validationMessageIcon&&(e.validationMessageIcon.className=bg(_E.validationMessageIcon,i,"none"!==t&&l[t],e.validationMessageIcon.className));const s=EE(),c=CE();e.validationMessage&&(e.validationMessage.className=bg(_E.validationMessage,s,"error"===t&&c.error,!!e.validationMessageIcon&&c.withIcon,e.validationMessage.className)),e.hint&&(e.hint.className=bg(_E.hint,s,e.hint.className))})(r),Dy("useFieldStyles_unstable")(r);const n=(e=>{var t,r,n,o;const{generatedControlId:a,orientation:i,required:l,size:s,validationState:c}=e,u=null===(t=e.label)||void 0===t?void 0:t.htmlFor,d=null===(r=e.label)||void 0===r?void 0:r.id,f=null===(n=e.validationMessage)||void 0===n?void 0:n.id,p=null===(o=e.hint)||void 0===o?void 0:o.id;return{field:L.useMemo(()=>({generatedControlId:a,hintId:p,labelFor:u,labelId:d,orientation:i,required:l,size:s,validationMessageId:f,validationState:c}),[a,p,u,d,i,l,s,f,c])}})(r);return((e,t)=>{let{children:r}=e;return"function"==typeof r&&(r=r(mE(t.field)||{})),cw(fE,{value:null==t?void 0:t.field,children:uw(e.root,{children:[e.label&&cw(e.label,{}),r,e.validationMessage&&uw(e.validationMessage,{children:[e.validationMessageIcon&&cw(e.validationMessageIcon,{}),e.validationMessage.children]}),e.hint&&cw(e.hint,{})]})})})(r,n)});TE.displayName="Field";const FE=(e,t)=>{e=hE(e,{supportsLabelFor:!0,supportsRequired:!0});const{disabled:r=!1,required:n,labelPosition:o="after",onChange:a}=e,[i,l]=Iy({defaultState:e.defaultChecked,state:e.checked,initialState:!1}),s=yy({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),c="mixed"===i,u=$y("checkbox-",s.primary.id),d={checked:i,disabled:r,labelPosition:o,components:{root:"span",input:"input",indicator:"div",label:"label"},root:Zb(e.root,{defaultProps:{ref:Ak(),...s.root},elementType:"span"}),input:Zb(e.input,{defaultProps:{type:"checkbox",id:u,ref:t,checked:!0===i,...s.primary},elementType:"input"}),label:ey(e.label,{defaultProps:{htmlFor:u,disabled:r,required:n},elementType:"label"}),indicator:ey(e.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0},elementType:"div"})};d.input.onChange=rw(d.input.onChange,e=>{const t=e.currentTarget.indeterminate?"mixed":e.currentTarget.checked;null==a||a(e,{checked:t}),l(t)});const f=Xy(d.input.ref);return d.input.ref=f,Vy(()=>{f.current&&(f.current.indeterminate=c)},[f,c]),d},RE="fui-Checkbox",PE="fui-Checkbox__label",OE="fui-Checkbox__input",jE="fui-Checkbox__indicator",DE=Xb("r1nzur1d","r128arqq",{r:[".r1nzur1d{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1nzur1d:focus{outline-style:none;}",".r1nzur1d:focus-visible{outline-style:none;}",".r1nzur1d[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1nzur1d[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r128arqq{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r128arqq:focus{outline-style:none;}",".r128arqq:focus-visible{outline-style:none;}",".r128arqq[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r128arqq[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1nzur1d[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r128arqq[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),AE=$b({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),IE=Xb("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),qE=$b({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),LE=Xb("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),ME=$b({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),HE=$b({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),VE=L.forwardRef((e,t)=>{const r=((e,t)=>{const{shape:r="square",size:n="medium",...o}=e,a=FE(o,t);let i;var l,s;return"mixed"===a.checked?i="circular"===r?L.createElement(L_,null):"large"===n?L.createElement(J_,null):L.createElement(Q_,null):a.checked&&(i="large"===n?L.createElement(G_,null):L.createElement(X_,null)),a.indicator&&(null!==(s=(l=a.indicator).children)&&void 0!==s||(l.children=i)),{shape:r,size:n,...a,components:{...a.components,label:wE},label:ey(e.label,{defaultProps:{...a.label,size:"medium"},elementType:wE})}})(e,t);return(e=>{const{checked:t,disabled:r,labelPosition:n,shape:o,size:a}=e,i=DE(),l=AE();e.root.className=bg(RE,i,r?l.disabled:"mixed"===t?l.mixed:t?l.checked:l.unchecked,e.root.className);const s=IE(),c=qE();e.input.className=bg(OE,s,"large"===a&&c.large,c[n],e.input.className);const u=LE(),d=ME();e.indicator&&(e.indicator.className=bg(jE,u,"large"===a&&d.large,"circular"===o&&d.circular,e.indicator.className));const f=HE();e.label&&(e.label.className=bg(PE,f.base,f[a],f[n],e.label.className))})(r),Dy("useCheckboxStyles_unstable")(r),(e=>uw(e.root,{children:[cw(e.input,{}),"before"===e.labelPosition&&e.label&&cw(e.label,{}),e.indicator&&cw(e.indicator,{}),"after"===e.labelPosition&&e.label&&cw(e.label,{})]}))(r)});VE.displayName="Checkbox";const WE=g_({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption:()=>()=>{},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"});WE.Provider;const UE={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){},getOptionsMatchingValue:()=>[],registerOption:()=>()=>{},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},$E=g_(void 0),XE=e=>((e,t)=>{const r=L.useContext(e),{value:n,listeners:o}=r,a=t(n.current),[,i]=L.useReducer(e=>e+1,0),l=L.useRef(t),s=L.useRef(a);return Vy(()=>{l.current=t,s.current=a}),Vy(()=>{const e=e=>{try{const t=l.current(e);Object.is(s.current,t)||i()}catch{}};return o.push(e),e(n.current),()=>{const t=o.indexOf(e);-1!==t&&o.splice(t,1)}},[o,n]),a})($E,(t=UE)=>e(t)),GE=$E.Provider;function KE(e){const{appearance:t,open:r,getOptionById:n,getOptionsMatchingValue:o,registerOption:a,selectedOptions:i,selectOption:l,setOpen:s,size:c,activeDescendantController:u,onOptionClick:d,onActiveDescendantChange:f}=e,p={activeOption:void 0,focusVisible:!1,getOptionById:n,getOptionsMatchingValue:o,registerOption:a,selectedOptions:i,selectOption:l,setActiveOption:()=>null,onOptionClick:d,onActiveDescendantChange:f};return{combobox:{activeOption:void 0,appearance:t,focusVisible:!1,open:r,registerOption:a,selectedOptions:i,selectOption:l,setActiveOption:()=>null,setOpen:s,size:c},activeDescendant:L.useMemo(()=>({controller:u}),[u]),listbox:p}}function QE(e,t={}){const{open:r=!0,multiselect:n=!1}=t,o=e.key,{altKey:a,ctrlKey:i,key:l,metaKey:s}=e;return 1!==l.length||o===y_||a||i||s?r?o===k_&&a||o===b_||!n&&o===y_?"CloseSelect":n&&o===y_?"Select":"Escape"===o?"Close":o===w_?"Next":o===k_?"Previous":"Home"===o?"First":"End"===o?"Last":"PageUp"===o?"PageUp":"PageDown"===o?"PageDown":"Tab"===o?"Tab":"None":o===w_||o===k_||o===b_||o===y_?"Open":"None":"Type"}const JE=()=>{const e=L.useRef(new Map),t=L.useMemo(()=>({getCount:()=>e.current.size,getOptionAtIndex:()=>{},getIndexOfId:()=>-1,getOptionById:t=>e.current.get(t),getOptionsMatchingText:t=>Array.from(e.current.values()).filter(({text:e})=>t(e)),getOptionsMatchingValue:t=>{const r=[];for(const n of e.current.values())t(n.value)&&r.push(n);return r}}),[]),r=L.useCallback(t=>(e.current.set(t.id,t),()=>e.current.delete(t.id)),[]);return{...t,options:Array.from(e.current.values()),registerOption:r}},YE=e=>{const{defaultSelectedOptions:t,multiselect:r,onOptionSelect:n}=e,[o,a]=Iy({state:e.selectedOptions,defaultState:t,initialState:[]});return{clearSelection:e=>{a([]),null==n||n(e,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:L.useCallback((e,t)=>{if(t.disabled)return;let i=[t.value];if(r){const e=o.findIndex(e=>e===t.value);i=e>-1?[...o.slice(0,e),...o.slice(e+1)]:[...o,t.value]}a(i),null==n||n(e,{optionValue:t.value,optionText:t.text,selectedOptions:i})},[n,r,o,a]),selectedOptions:o}};function ZE(e){return"option"===e.role||"menuitemcheckbox"===e.role}const eC={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},tC=(e,t)=>{const{multiselect:r,disableAutoFocus:n=!1}=e,o=JE(),{listboxRef:a,activeParentRef:i,controller:l}=j_({matchOption:ZE}),s=v_($E),c=XE(e=>e.onActiveDescendantChange),u=XE(e=>e.getOptionById),d=XE(e=>e.getOptionsMatchingValue),f=s?u:o.getOptionById,p=s?d:o.getOptionsMatchingValue,h=L.useMemo(()=>{let e=null;const t=e=>{null==c||c(e)};return r=>{r?(e=r,e.addEventListener("activedescendantchange",t)):null==e||e.removeEventListener("activedescendantchange",t)}},[c]),[m,g]=L.useState(!1);qk(g);const v=C_(),b=!!L.useContext(B_),y=b?v.controller:l,{clearSelection:w,selectedOptions:k,selectOption:x}=YE(e),_=XE(e=>e.selectedOptions),S=XE(e=>e.selectOption),B=s?{selectedOptions:_,selectOption:S,...eC}:{selectedOptions:k,selectOption:x,...eC};L.useEffect(()=>{if(!b){if(y.hideFocusVisibleAttributes(),!n)if(!r&&B.selectedOptions.length>0){const e=p(e=>e===B.selectedOptions[0]).pop();(null==e?void 0:e.id)&&y.focus(e.id)}else y.first();return()=>{y.blur()}}},[]);const E=L.useCallback(()=>{b||(y.showFocusVisibleAttributes(),m&&y.scrollActiveIntoView())},[y,b,m]),C=L.useCallback(()=>{b||y.hideFocusVisibleAttributes()},[y,b]),z={components:{root:"div"},root:Zb(wy("div",{ref:Xy(t,i,a,h),role:r?"menu":"listbox",tabIndex:0,...e}),{elementType:"div"}),standalone:!s,multiselect:r,clearSelection:w,activeDescendantController:y,onActiveDescendantChange:c,...o,...B};return z.root.onKeyDown=Wy(rw(z.root.onKeyDown,e=>{const t=QE(e,{open:!0}),r=y.active(),n=r?f(r):null;switch(t){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":e.preventDefault()}switch(t){case"Next":n?y.next():y.first();break;case"Previous":n?y.prev():y.first();break;case"PageUp":case"First":y.first();break;case"PageDown":case"Last":y.last();break;case"Select":case"CloseSelect":n&&x(e,n)}})),z.root.onFocus=Wy(rw(z.root.onFocus,E)),z.root.onBlur=Wy(rw(z.root.onBlur,C)),z},rC="fui-Listbox",nC=$b({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),oC=L.forwardRef((e,t)=>{const r=tC(e,t),n=function(e){const t=v_($E),{getOptionById:r,getOptionsMatchingValue:n,multiselect:o,registerOption:a,selectedOptions:i,selectOption:l,activeDescendantController:s}=e,c=XE(e=>e.registerOption);return{listbox:{activeOption:void 0,focusVisible:!1,getOptionById:r,getOptionsMatchingValue:n,multiselect:o,registerOption:t?c:a,selectedOptions:i,selectOption:l,setActiveOption:()=>{},onOptionClick:XE(e=>e.onOptionClick),onActiveDescendantChange:XE(e=>e.onActiveDescendantChange)},activeDescendant:L.useMemo(()=>({controller:s}),[s])}}(r);return(e=>{const t=nC();e.root.className=bg(rC,t.root,e.root.className)})(r),Dy("useListboxStyles_unstable")(r),((e,t)=>cw(E_,{value:t.activeDescendant,children:cw($E.Provider,{value:t.listbox,children:cw(e.root,{})})}))(r,n)});oC.displayName="Listbox";const aC=(e,t)=>{const{children:r,disabled:n,text:o,value:a}=e,i=L.useRef(null),l=function(e,t){if(void 0!==e)return e;let r="",n=!1;return L.Children.forEach(t,e=>{"string"==typeof e?r+=e:n=!0}),n&&console.warn("Provide a `text` prop to Option components when they contain non-string children."),r}(o,r),s=null!=a?a:l,c=$y("fluent-option",e.id),u=L.useMemo(()=>({id:c,disabled:n,text:l,value:s}),[c,n,l,s]),{controller:d}=C_(),f=XE(e=>e.multiselect),p=XE(e=>e.registerOption),h=XE(e=>{const t=e.selectedOptions;return void 0!==s&&void 0!==t.find(e=>e===s)}),m=XE(e=>e.selectOption),g=XE(e=>e.onOptionClick);L.useEffect(()=>{if(c&&i.current)return p(u,i.current)},[c,u,p]);const v=f?{role:"menuitemcheckbox","aria-checked":h}:{role:"option","aria-selected":h};return{components:{root:"div",checkIcon:"span"},root:Zb(wy("div",{ref:Xy(t,i),"aria-disabled":n?"true":void 0,id:c,...v,...e,onClick:t=>{var r;n?t.preventDefault():(d.focus(c),m(t,u),g(t),null===(r=e.onClick)||void 0===r||r.call(e,t))}}),{elementType:"div"}),checkIcon:ey(e.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true"},elementType:"span"}),disabled:n,multiselect:f,selected:h,focusVisible:!1,active:!1}},iC="fui-Option",lC="fui-Option__checkIcon",sC=$b({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n"},interactive:{Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Bceei9c:"f158kwzp",B7iucu3:"f1cyfu5x"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f158kwzp{cursor:default;}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),cC=L.forwardRef((e,t)=>{const r=((e,t)=>{const r=aC(e,t);let n=L.createElement(M_,null);var o,a;return r.multiselect&&(n=r.selected?L.createElement(X_,null):""),r.checkIcon&&(null!==(a=(o=r.checkIcon).children)&&void 0!==a||(o.children=n)),r})(e,t);return(e=>{const{disabled:t,multiselect:r,selected:n}=e,o=sC();e.root.className=bg(iC,o.root,!t&&o.interactive,o.active,t&&o.disabled,n&&o.selected,e.root.className),e.checkIcon&&(e.checkIcon.className=bg(lC,o.checkIcon,r&&o.multiselectCheck,n&&o.selectedCheck,n&&r&&o.selectedMultiselectCheck,t&&o.checkDisabled,t&&r&&o.multiselectCheckDisabled,e.checkIcon.className))})(r),Dy("useOptionStyles_unstable")(r),(e=>uw(e.root,{children:[e.checkIcon&&cw(e.checkIcon,{}),e.root.children]}))(r)});cC.displayName="Option";const uC=e=>{const{appearance:t="outline",disableAutoFocus:r,children:n,clearable:o=!1,editable:a=!1,inlinePopup:i=!1,mountNode:l,multiselect:s,onOpenChange:c,size:u="medium",activeDescendantController:d,freeform:f=!1,disabled:p=!1,onActiveOptionChange:h=null}=e,m=JE(),{getOptionsMatchingValue:g}=m,{getOptionById:v}=m,b=L.useCallback(()=>{const e=d.active();return e?v(e):void 0},[d,v]),y=b(),w=L.useCallback(e=>{let t;if("function"==typeof e){t=e(b())}t?d.focus(t.id):d.blur()},[d,b]),[k,x]=L.useState(!1),[_,S]=L.useState(!1),B=L.useRef(!1),E=function(){const e=L.useRef(!0);return L.useEffect(()=>{e.current&&(e.current=!1)},[]),e.current}(),[C,z]=Iy({state:e.value,initialState:void 0}),{selectedOptions:N,selectOption:T,clearSelection:F}=YE(e),R=L.useCallback((e,t)=>{Qu.unstable_batchedUpdates(()=>{z(void 0),T(e,t)})},[z,T]),P=L.useMemo(()=>{if(void 0!==C)return C;if(E&&void 0!==e.defaultValue)return e.defaultValue;const t=g(e=>N.includes(e)).map(e=>e.text);return s?a?"":t.join(", "):t[0]},[C,a,g,s,N]),[O,j]=Iy({state:e.open,defaultState:e.defaultOpen,initialState:!1}),D=L.useCallback((e,t)=>{p||(null==c||c(e,{open:t}),Qu.unstable_batchedUpdates(()=>{t||f||z(void 0),j(t)}))},[c,j,z,f,p]);L.useEffect(()=>{if(O){if(!s&&N.length>0){const e=g(e=>e===N[0]).pop();(null==e?void 0:e.id)&&d.focus(e.id)}}else d.blur()},[O,d]),L.useEffect(()=>{!O||r||d.active()||d.first()},[O,n,r,d,v]);const A=Wy(e=>{const t=e.detail.previousId?m.getOptionById(e.detail.previousId):null,r=m.getOptionById(e.detail.id);null==h||h(e,{event:e,type:"change",previousOption:t,nextOption:r})});return{...m,freeform:f,disabled:p,selectOption:R,clearSelection:F,selectedOptions:N,activeOption:y,appearance:t,clearable:o,focusVisible:k,ignoreNextBlur:B,inlinePopup:i,mountNode:l,open:O,hasFocus:_,setActiveOption:w,setFocusVisible:x,setHasFocus:S,setOpen:D,setValue:z,size:u,value:P,multiselect:s,onOptionClick:Wy(e=>{s||D(e,!1)}),onActiveDescendantChange:A}};function dC(e){const{positioning:t}=e,r={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...RB(t)},{targetRef:n,containerRef:o}=function(e){const t=L.useRef(null),r=L.useRef(null),n=L.useRef(null),o=L.useRef(null),a=L.useRef(null),{enabled:i=!0}=e,l=VB(e),s=L.useCallback(()=>{var e;t.current&&t.current.dispose(),t.current=null;const s=null!==(e=n.current)&&void 0!==e?e:r.current;i&&Ly()&&s&&o.current&&(t.current=jB({container:o.current,target:s,arrow:a.current,...l(o.current,a.current)}))},[i,l]),c=Wy(e=>{n.current=e,s()});L.useImperativeHandle(e.positioningRef,()=>({updatePosition:()=>{var e;return null===(e=t.current)||void 0===e?void 0:e.updatePosition()},setTarget:t=>{e.target,c(t)}}),[e.target,c]),Vy(()=>{var t;c(null!==(t=e.target)&&void 0!==t?t:null)},[e.target,c]),Vy(()=>{s()},[s]);const u=PB(null,e=>{r.current!==e&&(r.current=e,s())}),d=Wy(t=>{var r;return null===(r=e.onPositioningEnd)||void 0===r?void 0:r.call(e,t)}),f=PB(null,e=>{var t;o.current!==e&&(null===(t=o.current)||void 0===t||t.removeEventListener(rS,d),null==e||e.addEventListener(rS,d),o.current=e,s())}),p=PB(null,e=>{a.current!==e&&(a.current=e,s())});return{targetRef:u,containerRef:f,arrowRef:p}}(r);return[o,n]}function fC(e,t,r){const{state:{multiselect:n},triggerRef:o,defaultProps:a}=r,i=$y("fluent-listbox",null===(l=e)||"object"!=typeof l||Array.isArray(l)||L.isValidElement(l)?void 0:e.id);var l;const s=ey(e,{renderByDefault:!0,elementType:oC,defaultProps:{id:i,multiselect:n,tabIndex:void 0,...a}}),c=hE({id:i},{supportsLabelFor:!0});s&&!s["aria-label"]&&!s["aria-labelledby"]&&c["aria-labelledby"]&&(s["aria-labelledby"]=c["aria-labelledby"]);const u=Wy(rw(e=>{e.preventDefault()},null==s?void 0:s.onMouseDown)),d=Wy(rw(e=>{var t;e.preventDefault(),null===(t=o.current)||void 0===t||t.focus()},null==s?void 0:s.onClick)),f=Xy(null==s?void 0:s.ref,t);return s&&(s.ref=f,s.onMouseDown=u,s.onClick=d),s}function pC(e,t,r){const{state:{open:n,setOpen:o,setHasFocus:a},defaultProps:i,elementType:l,activeDescendantController:s}=r,c=Zb(e,{defaultProps:{type:"text","aria-expanded":n,role:"combobox",..."object"==typeof i&&i},elementType:l}),u=L.useRef(null);return c.ref=Xy(u,c.ref,t),c.onBlur=rw(e=>{o(e,!1),a(!1)},c.onBlur),c.onFocus=rw(e=>{e.target===e.currentTarget&&a(!0)},c.onFocus),c.onClick=rw(e=>{o(e,!n)},c.onClick),c.onKeyDown=rw(function(e){const{activeDescendantController:t,getOptionById:r,setOpen:n,selectOption:o,multiselect:a,open:i}=e,l=L.useCallback(()=>{const e=t.active();return e?r(e):void 0},[t,r]),s=()=>{t.first()},c=()=>{t.last()},u=e=>{e?t.next():t.first()},d=e=>{e?t.prev():t.first()},f=()=>{for(let e=0;e<10;e++)t.prev()},p=()=>{for(let e=0;e<10;e++)t.next()},h=function(){const e=Ik();return L.useCallback(t=>{var r;null===(r=e.current)||void 0===r||r.setVal(t)},[e])}();return Wy(e=>{const t=QE(e,{open:i,multiselect:a}),r=l();switch(t){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":e.preventDefault()}switch(h(!0),t){case"First":s();break;case"Last":c();break;case"Next":u(r);break;case"Previous":d(r);break;case"PageDown":p();break;case"PageUp":f();break;case"Open":n(e,!0);break;case"Close":e.stopPropagation(),n(e,!1);break;case"CloseSelect":!a&&!(null==r?void 0:r.disabled)&&n(e,!1);case"Select":r&&o(e,r);break;case"Tab":!a&&r&&o(e,r)}})}({activeDescendantController:s,...r.state}),c.onKeyDown),c}function hC(e,t,r){const{state:{open:n,value:o,selectOption:a,setValue:i,multiselect:l,selectedOptions:s,clearSelection:c,getOptionById:u,setOpen:d},freeform:f,defaultProps:p,activeDescendantController:h}=r,m=e=>{const t=null==e?void 0:e.trim().toLowerCase();if(!t||0===t.length)return void h.blur();const r=h.find(e=>{const r=u(e);return!!r&&0===r.text.toLowerCase().indexOf(t)});if(r)return u(r);h.blur()},g=pC(e,t,{state:r.state,defaultProps:p,elementType:"input",activeDescendantController:h});g.onChange=rw(g.onChange,e=>{const t=e.target.value;i(t);const r=m(t);l||1!==s.length||!(t.length<1)&&r||c(e)}),g.onBlur=rw(g.onBlur,e=>{if(!n&&!f){const t=h.active(),r=t?u(t):null;o&&r&&o.trim().toLowerCase()===(null==r?void 0:r.text.toLowerCase())&&a(e,r),i(void 0)}});const[v,b]=L.useState(!1),y=L.useRef(!1),w=g.onKeyDown,k=Wy(t=>{n||"Type"!==QE(t)||d(t,!0),"ArrowLeft"===t.key||"ArrowRight"===t.key?b(!0):b(!1);const r=QE(t,{open:n,multiselect:l});var o;("Type"===r?y.current=!0:("Open"===r&&" "!==t.key||"Next"===r||"Previous"===r||"First"===r||"Last"===r||"PageUp"===r||"PageDown"===r)&&(y.current=!1),!y.current&&n||" "!==t.key)?null==w||w(t):null==e||null===(o=e.onKeyDown)||void 0===o||o.call(e,t)});return g.onKeyDown=k,v&&(g["aria-activedescendant"]=void 0),g}function mC(e,t){return((...e)=>{const t=[];let r="";for(const n of e){const e=null==n?void 0:n[hw];e&&(t.push(e),r+=e+Lk)}return L.useMemo(()=>({[hw]:Mk(t)}),[r])})(wk({focusable:{ignoreKeydown:{Escape:t}}}),"object"==typeof e?e:{})}const gC=(e,t)=>{const r=pE();var n;const{appearance:o="outline",size:a=(null!==(n=null==r?void 0:r.size)&&void 0!==n?n:"medium"),...i}=e,l=((e,t)=>{var r,n;e=hE(e,{supportsLabelFor:!0,supportsRequired:!0});const{listboxRef:o,activeParentRef:a,controller:i}=j_({matchOption:ZE}),l=uC({...e,editable:!0,activeDescendantController:i}),{appearance:s,size:c,...u}=l,{clearable:d,clearSelection:f,disabled:p,multiselect:h,open:m,selectedOptions:g,setOpen:v,value:b,hasFocus:y}=u,[w,k]=dC(e),{disableAutoFocus:x=!1,freeform:_,inlinePopup:S}=e,B=$y("combobox-"),{primary:E,root:C}=yy({props:e,primarySlotTagName:"input",excludedPropNames:["children"]}),z=L.useRef(null),N=fC(e.listbox,Xy(w,o),{state:l,triggerRef:z,defaultProps:{children:e.children,disableAutoFocus:x}});var T;const F=hC(null!==(T=e.input)&&void 0!==T?T:{},Xy(z,a,t),{state:l,freeform:_,defaultProps:{type:"text",value:null!=b?b:"","aria-controls":m?null==N?void 0:N.id:void 0,...E},activeDescendantController:i}),R=Zb(e.root,{defaultProps:{"aria-owns":!S&&m?null==N?void 0:N.id:void 0,...C},elementType:"div"});R.ref=Xy(R.ref,k);const P=g.length>0&&!p&&d&&!h,O={components:{root:"div",input:"input",expandIcon:"span",listbox:oC,clearIcon:"span"},root:R,input:F,listbox:m||y?N:void 0,clearIcon:ey(e.clearIcon,{defaultProps:{"aria-hidden":"true"},elementType:"span",renderByDefault:!0}),expandIcon:ey(e.expandIcon,{renderByDefault:!0,defaultProps:{"aria-disabled":p?"true":void 0,"aria-expanded":m,role:"button"},elementType:"span"}),showClearIcon:P,activeDescendantController:i,...u},{targetDocument:j}=Ny();Ky({element:j,callback:e=>v(e,!1),refs:[z,w,k],disabled:!m});const{onMouseDown:D}=O.expandIcon||{},A=Wy(rw(D,e=>{var t;e.preventDefault(),O.setOpen(e,!O.open),null===(t=z.current)||void 0===t||t.focus()}));if(O.expandIcon){O.expandIcon.onMouseDown=A;const t="Open";if(!O.expandIcon["aria-label"]&&!O.expandIcon["aria-labelledby"])if(e["aria-labelledby"]){var I;const e=null!==(I=O.expandIcon.id)&&void 0!==I?I:`${B}-chevron`,r=`${e} ${O.input["aria-labelledby"]}`;O.expandIcon["aria-label"]=t,O.expandIcon.id=e,O.expandIcon["aria-labelledby"]=r}else e["aria-label"]?O.expandIcon["aria-label"]=`${t} ${e["aria-label"]}`:O.expandIcon["aria-label"]=t}const q=Wy(rw(null===(r=O.clearIcon)||void 0===r?void 0:r.onMouseDown,e=>{e.preventDefault()})),M=Wy(rw(null===(n=O.clearIcon)||void 0===n?void 0:n.onClick,e=>{f(e)}));return O.clearIcon&&(O.clearIcon.onMouseDown=q,O.clearIcon.onClick=M),h&&(O.clearIcon=void 0),O})(i,t);var s,c,u,d;l.clearIcon&&(null!==(c=(s=l.clearIcon).children)&&void 0!==c||(s.children=L.createElement(U_,null)));l.expandIcon&&(null!==(d=(u=l.expandIcon).children)&&void 0!==d||(u.children=L.createElement(H_,null)));return{...l,appearance:o,size:a,input:{...mC(l.input,l.open),...l.input}}},vC="fui-Combobox",bC="fui-Combobox__input",yC="fui-Combobox__expandIcon",wC="fui-Combobox__clearIcon",kC="fui-Combobox__listbox",xC=$b({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",i8kkvl:"f14mj54c",mc9l5x:"fwk3njj",Budl1dq:"fz17x9o",Brf1p80:"f1869bpl",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"f145g4dw",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51"},listbox:{E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d",B7ck84d:"f1ewtqcl"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},small:{Bqenvij:"frvgh55",z189sj:["fdw0yi8","fk8j09s"]},medium:{Bqenvij:"f1d2rq10",z189sj:["f11gcy0p","f1ng84yb"]},large:{i8kkvl:"f1rjii52",Bqenvij:"fbhnoac",z189sj:["fw5db7e","f1uw59to"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".fwk3njj{display:inline-grid;}",".fz17x9o{grid-template-columns:1fr auto;}",".f1869bpl{justify-content:space-between;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".f145g4dw::after{height:max(2px, var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".frvgh55{height:24px;}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".f1d2rq10{height:32px;}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fbhnoac{height:40px;}",".fw5db7e{padding-right:var(--spacingHorizontalM);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),_C=$b({input:{qb2dma:"f1ub7u0d",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",sj55zd:"f19n0e5",Bahqtrf:"fk6fouc",Brovlpu:"ftqa4ok",yvdlaj:"fwyc1cq",B3o7kgh:"f13ta7ih"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fxe2rs","f1gflqzi"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fzy81xo","f58b53b"]},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f1kdav7a","footqm6"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1ub7u0d{align-self:stretch;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fwyc1cq::-webkit-input-placeholder{color:var(--colorNeutralForeground4);}",".fwyc1cq::-moz-placeholder{color:var(--colorNeutralForeground4);}",".f13ta7ih::-webkit-input-placeholder{opacity:1;}",".f13ta7ih::-moz-placeholder{opacity:1;}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fxe2rs{padding:0 0 0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1gflqzi{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fzy81xo{padding:0 0 0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58b53b{padding:0 calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 0 0;}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1kdav7a{padding:0 0 0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".footqm6{padding:0 calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 0 0;}",{p:-1}],".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"],f:[".ftqa4ok:focus{outline-style:none;}"]}),SC=$b({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",Bceei9c:"f1k6fduh",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",qhf8xq:"f10pi13n",Bo70h7d:"fvc9v3g",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",bn5sak:"frwkxtg",By385i5:"fo72kxq",Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},hidden:{mc9l5x:"fjseox"},visuallyHidden:{Bh84pgu:"f1ekcaio",Bqenvij:"f1mpe4l3",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1jlpb2r",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1c5fvqg",a9b677:"frkrog8",qhf8xq:"f1euv43f"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["f1gwjbcf","f1rbysb6"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"],B1piin3:["fpsl3z4","f1po37t9"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"],B1piin3:["f1je5ipm","fb53jzl"]},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);}",".f10pi13n{position:relative;}",".fvc9v3g svg{display:block;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".frwkxtg::after{top:0;}",".fo72kxq::after{bottom:0;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",".fjseox{display:none;}",".f1ekcaio{clip:rect(0px, 0px, 0px, 0px);}",".f1mpe4l3{height:1px;}",[".f1jlpb2r{margin:-1px;}",{p:-1}],[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".f1c5fvqg{padding:0px;}",{p:-1}],".frkrog8{width:1px;}",".f1euv43f{position:absolute;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1gwjbcf::after{right:calc(-1 * var(--spacingHorizontalSNudge));}",".f1rbysb6::after{left:calc(-1 * var(--spacingHorizontalSNudge));}",".fe5j1ua{font-size:20px;}",".fpsl3z4::after{right:calc(-1 * var(--spacingHorizontalMNudge));}",".f1po37t9::after{left:calc(-1 * var(--spacingHorizontalMNudge));}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1je5ipm::after{right:calc(-1 * var(--spacingHorizontalM));}",".fb53jzl::after{left:calc(-1 * var(--spacingHorizontalM));}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}"]}),BC=L.forwardRef((e,t)=>{const r=gC(e,t),n=KE(r);return(e=>{const{appearance:t,open:r,size:n,showClearIcon:o}=e,a="true"==`${e.input["aria-invalid"]}`,i=e.input.disabled,l=xC(),s=SC(),c=_C();e.root.className=bg(vC,l.root,l[t],l[n],!i&&"outline"===t&&l.outlineInteractive,a&&"underline"!==t&&l.invalid,a&&"underline"===t&&l.invalidUnderline,i&&l.disabled,e.root.className),e.input.className=bg(bC,c.input,c[n],i&&c.disabled,e.input.className),e.listbox&&(e.listbox.className=bg(kC,l.listbox,e.inlinePopup&&l.inlineListbox,!r&&l.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=bg(yC,s.icon,s[n],i&&s.disabled,o&&s.visuallyHidden,e.expandIcon.className)),e.clearIcon&&(e.clearIcon.className=bg(wC,s.icon,s[n],i&&s.disabled,!o&&s.hidden,e.clearIcon.className))})(r),Dy("useComboboxStyles_unstable")(r),((e,t)=>cw(e.root,{children:cw(E_,{value:t.activeDescendant,children:cw(GE,{value:t.listbox,children:uw(WE.Provider,{value:t.combobox,children:[cw(e.input,{}),e.clearIcon&&cw(e.clearIcon,{}),e.expandIcon&&cw(e.expandIcon,{}),e.listbox&&(e.inlinePopup?cw(e.listbox,{}):cw(QB,{mountNode:e.mountNode,children:cw(e.listbox,{})}))]})})})}))(r,n)});function EC(e,t,r){const{state:{open:n,setOpen:o,getOptionById:a},defaultProps:i,activeDescendantController:l}=r,s=L.useRef(""),[c,u]=tw(),d=(e,t={startFromNext:!1})=>{const{startFromNext:r}=t,n=l.active(),o=l.find(t=>{const r=a(t);return!!r&&e(r.text)},{startFrom:r?l.next({passive:!0}):n});return o||l.find(t=>{const r=a(t);return!!r&&e(r.text)})},f=pC(e,t,{state:r.state,defaultProps:i,elementType:"button",activeDescendantController:l});return f.onKeyDown=rw(e=>{u(),"Type"===QE(e)&&(s.current+=e.key.toLowerCase(),c(()=>{s.current=""},500),n&&(d(e=>0===e.toLocaleLowerCase().indexOf(s.current),{startFromNext:1===s.current.length})||function(e){for(let t=1;t<e.length;t++)if(e[t]!==e[t-1])return!1;return!0}(s.current)&&d(e=>0===e.toLocaleLowerCase().indexOf(s.current[0]),{startFromNext:!0})||l.blur()),!n&&o(e,!0))},f.onKeyDown),f}BC.displayName="Combobox";const CC=(e,t)=>{const r=pE();var n;const{appearance:o="outline",size:a=(null!==(n=null==r?void 0:r.size)&&void 0!==n?n:"medium"),...i}=e,l=((e,t)=>{var r;e=hE(e,{supportsLabelFor:!0});const{listboxRef:n,activeParentRef:o,controller:a}=j_({matchOption:ZE}),i=uC({...e,activeDescendantController:a,freeform:!1}),{appearance:l,size:s,freeform:c,...u}=i,{clearable:d,clearSelection:f,disabled:p,hasFocus:h,multiselect:m,open:g,selectedOptions:v,setOpen:b}=u,{primary:y,root:w}=yy({props:e,primarySlotTagName:"button",excludedPropNames:["children"]}),[k,x]=dC(e),_=L.useRef(null),S=fC(e.listbox,Xy(k,n),{state:i,triggerRef:_,defaultProps:{children:e.children}}),{targetDocument:B}=Ny();var E;Ky({element:B,callback:e=>b(e,!1),refs:[_,k,x],disabled:!g});const C=EC(null!==(E=e.button)&&void 0!==E?E:{},Xy(_,o,t),{state:i,defaultProps:{type:"button",tabIndex:y.disabled?void 0:0,children:u.value||e.placeholder,"aria-controls":g?null==S?void 0:S.id:void 0,...y},activeDescendantController:a}),z=Zb(e.root,{defaultProps:{"aria-owns":!e.inlinePopup&&g?null==S?void 0:S.id:void 0,children:e.children,...w},elementType:"div"});z.ref=Xy(z.ref,x);const N=v.length>0&&!p&&d&&!m,T={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:oC},root:z,button:C,listbox:g||h?S:void 0,clearButton:ey(e.clearButton,{defaultProps:{"aria-label":"Clear selection",tabIndex:N?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:ey(e.expandIcon,{renderByDefault:!0,elementType:"span"}),placeholderVisible:!u.value&&!!e.placeholder,showClearButton:N,activeDescendantController:a,...u},F=Wy(rw(null===(r=T.clearButton)||void 0===r?void 0:r.onClick,e=>{var t;f(e),null===(t=_.current)||void 0===t||t.focus()}));return T.clearButton&&(T.clearButton.onClick=F),m&&(T.clearButton=void 0),T})(i,t);var s,c,u,d;l.clearButton&&(null!==(c=(s=l.clearButton).children)&&void 0!==c||(s.children=L.createElement(U_,null)));l.expandIcon&&(null!==(d=(u=l.expandIcon).children)&&void 0!==d||(u.children=L.createElement(H_,null)));return{...l,appearance:o,size:a,button:{...mC(l.button,l.open),...l.button}}},zC="fui-Dropdown",NC="fui-Dropdown__button",TC="fui-Dropdown__clearButton",FC="fui-Dropdown__expandIcon",RC="fui-Dropdown__listbox",PC=$b({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Br277j9:"f18qfb8s",Btis473:"f1m082s7"},listbox:{B7ck84d:"f1ewtqcl",E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},button:{Bt984gj:"f122n59",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",i8kkvl:"f14mj54c",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bahqtrf:"fk6fouc",Budl1dq:"f12nh0o2",Brf1p80:"f1869bpl",fsow6f:["f1o700av","fes3tcz"],a9b677:"fly5x3f",Brovlpu:"ftqa4ok"},placeholder:{sj55zd:"fxc4j92"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fye6m5k","f3cq2dl"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f14ev680","f58uxzw"]},large:{i8kkvl:"f1rjii52",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f139mn7i","f1v3q0m"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f88035w"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},disabledText:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"},hidden:{mc9l5x:"fjseox"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".f122n59{align-items:center;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1k6fduh{cursor:pointer;}",".f13qh94s{display:grid;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f12nh0o2{grid-template-columns:[content] 1fr [icon] auto [end];}",".f1869bpl{justify-content:space-between;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fly5x3f{width:100%;}",".fxc4j92{color:var(--colorNeutralForeground4);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fye6m5k{padding:3px var(--spacingHorizontalSNudge) 3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f3cq2dl{padding:3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 3px var(--spacingHorizontalSNudge);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f14ev680{padding:5px var(--spacingHorizontalMNudge) 5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58uxzw{padding:5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 5px var(--spacingHorizontalMNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f139mn7i{padding:7px var(--spacingHorizontalM) 7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".f1v3q0m{padding:7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 7px var(--spacingHorizontalM);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".f88035w{border:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],t:["@supports selector(:has(*)){.f18qfb8s:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}","@supports selector(:has(*)){.f1m082s7:has(.fui-Dropdown__clearButton:focus)::after{transform:scaleX(0);}}"],f:[".ftqa4ok:focus{outline-style:none;}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),OC=$b({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Br312pm:"f12w6cgp",Bw0ie65:"f8bv1bt",Bo70h7d:"fvc9v3g"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f12w6cgp{grid-column-start:icon;}",".f8bv1bt{grid-column-end:end;}",".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);}"]}),jC=Xb("rticfuj","r1vp6jef",{r:[".rticfuj{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-right:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".rticfuj:focus{outline-style:none;}",".rticfuj:focus-visible{outline-style:none;}",".rticfuj[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rticfuj[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r1vp6jef{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-left:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".r1vp6jef:focus{outline-style:none;}",".r1vp6jef:focus-visible{outline-style:none;}",".r1vp6jef[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r1vp6jef[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.rticfuj[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r1vp6jef[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),DC=L.forwardRef((e,t)=>{const r=CC(e,t),n=KE(r);return(e=>{const{appearance:t,open:r,placeholderVisible:n,showClearButton:o,size:a}=e,i="true"==`${e.button["aria-invalid"]}`,l=e.button.disabled,s=PC(),c=OC(),u=jC();e.root.className=bg(zC,s.root,s[t],!l&&"outline"===t&&s.outlineInteractive,i&&"underline"!==t&&s.invalid,i&&"underline"===t&&s.invalidUnderline,l&&s.disabled,e.root.className),e.button.className=bg(NC,s.button,s[a],n&&s.placeholder,l&&s.disabledText,e.button.className),e.listbox&&(e.listbox.className=bg(RC,s.listbox,e.inlinePopup&&s.inlineListbox,!r&&s.listboxCollapsed,e.listbox.className)),e.expandIcon&&(e.expandIcon.className=bg(FC,c.icon,c[a],l&&c.disabled,o&&s.hidden,e.expandIcon.className)),e.clearButton&&(e.clearButton.className=bg(TC,u,c.icon,c[a],l&&c.disabled,!o&&s.hidden,e.clearButton.className))})(r),Dy("useDropdownStyles_unstable")(r),((e,t)=>cw(e.root,{children:cw(E_,{value:t.activeDescendant,children:cw($E.Provider,{value:t.listbox,children:uw(WE.Provider,{value:t.combobox,children:[uw(e.button,{children:[e.button.children,e.expandIcon&&cw(e.expandIcon,{})]}),e.clearButton&&cw(e.clearButton,{}),e.listbox&&(e.inlinePopup?cw(e.listbox,{}):cw(QB,{mountNode:e.mountNode,children:cw(e.listbox,{})}))]})})})}))(r,n)});DC.displayName="Dropdown";const AC=(e,t)=>{const r=hE(e,{supportsLabelFor:!0,supportsRequired:!0}),[n,o]=Iy({state:r.value,defaultState:r.defaultValue,initialState:""}),a=yy({props:r,primarySlotTagName:"input",excludedPropNames:["onChange","value","defaultValue"]}),i={components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:Zb(r.input,{defaultProps:{type:"text",ref:t,...a.primary},elementType:"input"}),contentAfter:ey(r.contentAfter,{elementType:"span"}),contentBefore:ey(r.contentBefore,{elementType:"span"}),root:Zb(r.root,{defaultProps:a.root,elementType:"span"})};return i.input.value=n,i.input.onChange=Wy(e=>{var t;const n=e.target.value;null===(t=r.onChange)||void 0===t||t.call(r,e,{value:n}),o(n)}),i},IC="fui-Input",qC="fui-Input__input",LC="fui-Input__contentBefore",MC="fui-Input__contentAfter",HC=Xb("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),VC=$b({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),WC=Xb("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),UC=$b({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),$C=Xb("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),XC=$b({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),GC=L.forwardRef((e,t)=>{const r=((e,t)=>{const r=Ry(),n=pE();var o,a;const{size:i=(null!==(o=null==n?void 0:n.size)&&void 0!==o?o:"medium"),appearance:l=(null!==(a=r.inputDefaultAppearance)&&void 0!==a?a:"outline"),...s}=e;return{size:i,appearance:l,...AC(s,t)}})(e,t);return(e=>{const{size:t,appearance:r}=e,n=e.input.disabled,o="true"==`${e.input["aria-invalid"]}`,a=r.startsWith("filled"),i=VC(),l=UC(),s=XC();e.root.className=bg(IC,HC(),i[t],e.contentBefore&&i[`${t}WithContentBefore`],e.contentAfter&&i[`${t}WithContentAfter`],i[r],!n&&"outline"===r&&i.outlineInteractive,!n&&"underline"===r&&i.underlineInteractive,!n&&a&&i.filledInteractive,a&&i.filled,!n&&o&&i.invalid,n&&i.disabled,e.root.className),e.input.className=bg(qC,WC(),l[t],e.contentBefore&&l[`${t}WithContentBefore`],e.contentAfter&&l[`${t}WithContentAfter`],n&&l.disabled,e.input.className);const c=[$C(),n&&s.disabled,s[t]];e.contentBefore&&(e.contentBefore.className=bg(LC,...c,e.contentBefore.className)),e.contentAfter&&(e.contentAfter.className=bg(MC,...c,e.contentAfter.className))})(r),Dy("useInputStyles_unstable")(r),(e=>uw(e.root,{children:[e.contentBefore&&cw(e.contentBefore,{}),cw(e.input,{}),e.contentAfter&&cw(e.contentAfter,{})]}))(r)});GC.displayName="Input";const KC=L.createContext(void 0),QC={};KC.Provider;const JC=(e,t)=>{e=hE(e);const r=$y("radiogroup-"),{name:n=r,value:o,defaultValue:a,disabled:i,onChange:l,required:s}=e;return{name:n,value:o,defaultValue:a,disabled:i,required:s,components:{root:"div"},root:{ref:t,role:"radiogroup",...Zb(wy("div",e,["onChange","name"]),{elementType:"div"}),onChange:Wy(e=>{l&&nw(e.target,{constructorName:"HTMLInputElement"})&&"radio"===e.target.type&&l(e,{value:e.target.value})})}}},YC="fui-RadioGroup",ZC=$b({root:{mc9l5x:"f22iagw",Bt984gj:"f6jr5hl"},vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f22iagw{display:flex;}",".f6jr5hl{align-items:flex-start;}",".f1vx9l62{flex-direction:column;}"]}),ez=L.forwardRef((e,t)=>{const r=((e,t)=>{const{layout:r="vertical",...n}=e;return{layout:r,...JC(n,t)}})(e,t),n=(e=>{const{name:t,value:r,defaultValue:n,disabled:o,layout:a,required:i}=e,l=e.root["aria-describedby"];return{radioGroup:L.useMemo(()=>({name:t,value:r,defaultValue:n,disabled:o,layout:a,required:i,"aria-describedby":l}),[t,r,n,o,a,i,l])}})(r);return(e=>{const t=ZC();e.root.className=bg(YC,t.root,"vertical"===e.layout&&t.vertical,e.root.className)})(r),Dy("useRadioGroupStyles_unstable")(r),((e,t)=>cw(KC.Provider,{value:t.radioGroup,children:cw(e.root,{})}))(r,n)});ez.displayName="RadioGroup";const tz=(e,t)=>{const r=L.useContext(KC)||QC,{name:n=r.name,checked:o=(void 0!==r.value?r.value===e.value:void 0),defaultChecked:a=(void 0!==r.defaultValue?r.defaultValue===e.value:void 0),labelPosition:i=("horizontal-stacked"===r.layout?"below":"after"),disabled:l=r.disabled,required:s=r.required,"aria-describedby":c=r["aria-describedby"],onChange:u}=e,d=yy({props:e,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange"]}),f=Zb(e.root,{defaultProps:{ref:Ak(),...d.root},elementType:"span"}),p=Zb(e.input,{defaultProps:{ref:t,type:"radio",id:$y("radio-",d.primary.id),name:n,checked:o,defaultChecked:a,disabled:l,required:s,"aria-describedby":c,...d.primary},elementType:"input"});p.onChange=rw(p.onChange,e=>null==u?void 0:u(e,{value:e.currentTarget.value}));return{labelPosition:i,components:{root:"span",input:"input",label:"label",indicator:"div"},root:f,input:p,label:ey(e.label,{defaultProps:{htmlFor:p.id,disabled:p.disabled},elementType:"label"}),indicator:Zb(e.indicator,{defaultProps:{"aria-hidden":!0},elementType:"div"})}},rz="fui-Radio",nz="fui-Radio__indicator",oz="fui-Radio__input",az="fui-Radio__label",iz=Xb("r1siqwd8","rmnplyc",{r:[".r1siqwd8{display:inline-flex;position:relative;}",".r1siqwd8:focus{outline-style:none;}",".r1siqwd8:focus-visible{outline-style:none;}",".r1siqwd8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1siqwd8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmnplyc{display:inline-flex;position:relative;}",".rmnplyc:focus{outline-style:none;}",".rmnplyc:focus-visible{outline-style:none;}",".rmnplyc[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmnplyc[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1siqwd8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmnplyc[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),lz=$b({vertical:{Beiy3e4:"f1vx9l62",Bt984gj:"f122n59"}},{d:[".f1vx9l62{flex-direction:column;}",".f122n59{align-items:center;}"]}),sz=Xb("rg1upok","rzwdzb4",{r:[".rg1upok{position:absolute;left:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rg1upok:enabled{cursor:pointer;}",".rg1upok:enabled~.fui-Radio__label{cursor:pointer;}",".rg1upok:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rg1upok:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rg1upok:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rg1upok:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rg1upok:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rg1upok:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rg1upok:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rg1upok:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}",".rzwdzb4{position:absolute;right:0;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));height:100%;box-sizing:border-box;margin:0;opacity:0;}",".rzwdzb4:enabled{cursor:pointer;}",".rzwdzb4:enabled~.fui-Radio__label{cursor:pointer;}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__label{color:var(--colorNeutralForeground3);}",".rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessible);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__label{color:var(--colorNeutralForeground2);}",".rzwdzb4:enabled:not(:checked):hover~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessibleHover);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:not(:checked):hover:active~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeAccessiblePressed);}",".rzwdzb4:enabled:checked~.fui-Radio__label{color:var(--colorNeutralForeground1);}",".rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStroke);color:var(--colorCompoundBrandForeground1);}",".rzwdzb4:enabled:checked:hover~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokeHover);color:var(--colorCompoundBrandForeground1Hover);}",".rzwdzb4:enabled:checked:hover:active~.fui-Radio__indicator{border-color:var(--colorCompoundBrandStrokePressed);color:var(--colorCompoundBrandForeground1Pressed);}",".rzwdzb4:disabled~.fui-Radio__label{color:var(--colorNeutralForegroundDisabled);cursor:default;}",".rzwdzb4:disabled~.fui-Radio__indicator{border-color:var(--colorNeutralStrokeDisabled);color:var(--colorNeutralForegroundDisabled);}"],s:["@media (forced-colors: active){.rg1upok:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rg1upok:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rg1upok:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rg1upok:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rg1upok:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:enabled:not(:checked)~.fui-Radio__indicator{border-color:ButtonBorder;}}","@media (forced-colors: active){.rzwdzb4:enabled:checked~.fui-Radio__indicator{border-color:Highlight;color:Highlight;}.rzwdzb4:enabled:checked~.fui-Radio__indicator::after{background-color:Highlight;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__label{color:GrayText;}}","@media (forced-colors: active){.rzwdzb4:disabled~.fui-Radio__indicator{border-color:GrayText;color:GrayText;}.rzwdzb4:disabled~.fui-Radio__indicator::after{background-color:GrayText;}}"]}),cz=$b({below:{a9b677:"fly5x3f",Bqenvij:"f1je6zif"},defaultIndicator:{Blbys7f:"f9ma1gx"},customIndicator:{Bj53wkj:"f12zxao0"}},{d:[".fly5x3f{width:100%;}",".f1je6zif{height:calc(16px + 2 * var(--spacingVerticalS));}",'.f9ma1gx:checked~.fui-Radio__indicator::after{content:"";}',".f12zxao0:not(:checked)~.fui-Radio__indicator>*{opacity:0;}"]}),uz=Xb("rwtekvw",null,[".rwtekvw{position:relative;width:16px;height:16px;font-size:12px;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;border:var(--strokeWidthThin) solid;border-radius:var(--borderRadiusCircular);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;}",".rwtekvw::after{position:absolute;width:16px;height:16px;border-radius:var(--borderRadiusCircular);transform:scale(0.625);background-color:currentColor;}"]),dz=$b({base:{qb2dma:"f7nlbp4",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},after:{uwmqm3:["fruq291","f7x41pl"],B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},below:{z8tnut:"f1ywm7hm",fsow6f:"f17mccla"}},{d:[".f7nlbp4{align-self:center;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f17mccla{text-align:center;}"]}),fz=L.forwardRef((e,t)=>{const r=((e,t)=>{const r=tz(e,t);return{...r,components:{...r.components,label:wE},label:ey(e.label,{defaultProps:{...r.label},elementType:wE})}})(e,t);return(e=>{const{labelPosition:t}=e,r=iz(),n=lz();e.root.className=bg(rz,r,"below"===t&&n.vertical,e.root.className);const o=sz(),a=cz();e.input.className=bg(oz,o,"below"===t&&a.below,e.indicator.children?a.customIndicator:a.defaultIndicator,e.input.className);const i=uz();e.indicator.className=bg(nz,i,e.indicator.className);const l=dz();e.label&&(e.label.className=bg(az,l.base,l[t],e.label.className))})(r),Dy("useRadioStyles_unstable")(r),(e=>uw(e.root,{children:[cw(e.input,{}),cw(e.indicator,{}),e.label&&cw(e.label,{})]}))(r)});fz.displayName="Radio";const pz=L.createContext(void 0),hz={};pz.Provider;const mz=(e,t)=>{const{size:r}=null!==(n=L.useContext(pz))&&void 0!==n?n:hz;var n;const{appearance:o="primary",size:a=(null!=r?r:"medium"),...i}=e,l=gz(i,t);return{...l,appearance:o,size:a,components:{...l.components,label:wE},label:ey(e.label,{defaultProps:l.label,elementType:wE})}},gz=(e,t)=>{const{delay:r=0,labelPosition:n="after"}=e,o=$y("spinner"),{role:a="progressbar",...i}=e,l=Zb(wy("div",{ref:t,role:a,...i}),{elementType:"div"}),[s,c]=L.useState(!1),[u,d]=tw();L.useEffect(()=>{if(!(r<=0))return u(()=>{c(!0)},r),()=>{d()}},[u,d,r]);const f=ey(e.label,{defaultProps:{id:o},renderByDefault:!1,elementType:"label"}),p=ey(e.spinner,{renderByDefault:!0,elementType:"span"});f&&l&&!l["aria-labelledby"]&&(l["aria-labelledby"]=f.id);return{delay:r,labelPosition:n,shouldRenderSpinner:!r||s,components:{root:"div",spinner:"span",spinnerTail:"span",label:"label"},root:l,spinner:p,spinnerTail:Zb(e.spinnerTail,{elementType:"span"}),label:f}},vz="fui-Spinner",bz="fui-Spinner__spinner",yz="fui-Spinner__spinnerTail",wz="fui-Spinner__label",kz=Xb("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),xz=$b({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),_z=Xb("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),Sz=Xb("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),Bz=$b({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),Ez=$b({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),Cz=L.forwardRef((e,t)=>{const r=mz(e,t);return(e=>{const{labelPosition:t,size:r,appearance:n}=e,{dir:o}=Ny(),a=kz(),i=xz(),l=_z(),s=Bz(),c=Sz(),u=Ez();e.root.className=bg(vz,a,("above"===t||"below"===t)&&i.vertical,e.root.className),e.spinner&&(e.spinner.className=bg(bz,l,s[r],"inverted"===n&&s.inverted,e.spinner.className)),e.spinnerTail&&(e.spinnerTail.className=bg(yz,c,"rtl"===o&&s.rtlTail,e.spinnerTail.className)),e.label&&(e.label.className=bg(wz,u[r],"inverted"===n&&u.inverted,e.label.className))})(r),Dy("useSpinnerStyles_unstable")(r),(e=>{const{labelPosition:t,shouldRenderSpinner:r}=e;return uw(e.root,{children:[e.label&&r&&("above"===t||"before"===t)&&cw(e.label,{}),e.spinner&&r&&cw(e.spinner,{children:e.spinnerTail&&cw(e.spinnerTail,{})}),e.label&&r&&("below"===t||"after"===t)&&cw(e.label,{})]})})(r)});Cz.displayName="Spinner";const zz=Ub({mainContainer:{WebkitFontSmoothing:"antialiased"},topWrapper:{display:"flex",flexDirection:"column",alignItems:"center",...Eb.padding("5%","25%"),"@media (max-width: 768px)":{...Eb.padding("5%","10%")}},thankyouTopWrapper:{display:"flex",flexDirection:"column",alignItems:"center",...Eb.padding("5%","15%"),"@media (max-width: 768px)":{...Eb.padding("5%","10%")}},formWrapper:{backgroundColor:"#fff",minWidth:"600px",...Eb.padding("5%"),...Eb.border("1px","solid","#ADADAD"),...Eb.borderRadius("8px"),textAlign:"left","@media (max-width: 768px)":{minWidth:"100%",width:"100%"}},inputFieldContainer:{display:"grid",gridTemplateColumns:"minmax(0, 5fr) minmax(0, 3fr)",...Eb.gap("15px","20px"),marginBottom:"20px","@media (max-width: 768px)":{gridTemplateColumns:"1fr"}},checkboxIsSharedMail:{gridColumn:"span 2",...Eb.margin("10px","0"),"@media (max-width: 768px)":{gridColumn:"span 1"}},bigColumn:{gridColumn:"1 / span 1"},recaptchaWrapper:{...Eb.margin("20px","0")},finalStepContainer:{width:"100%",maxWidth:"800px",...Eb.margin("0","auto"),textAlign:"center"},textBlock:{...Eb.padding("40px"),backgroundColor:"#fff",...Eb.borderRadius("8px"),...Eb.border("1px","solid","#ADADAD")}}),Nz=[10,20,30,40,50,60,70,80,90,100,110,120,130,140,150,160],Tz=(e,t,r)=>{const n=t/100,o=r/100,a=(1-Math.abs(2*o-1))*n,i=a*(1-Math.abs(e/60%2-1)),l=o-a/2,[s,c,u]=e<60?[a,i,0]:e<120?[i,a,0]:e<180?[0,a,i]:e<240?[0,i,a]:e<300?[i,0,a]:[a,0,i],d=e=>Math.round(255*(e+l)).toString(16).padStart(2,"0").toUpperCase();return`#${d(s)}${d(c)}${d(u)}`},Fz=e=>{const[t,r,n]=(e=>{const t=e.replace("#",""),r=3===t.length?t.split("").map(e=>e+e).join(""):t,n=parseInt(r.slice(0,2),16)/255,o=parseInt(r.slice(2,4),16)/255,a=parseInt(r.slice(4,6),16)/255,i=Math.max(n,o,a),l=Math.min(n,o,a),s=(i+l)/2,c=i-l;if(0===c)return[0,0,100*s];let u;return u=i===n?(o-a)/c%6:i===o?(a-n)/c+2:(n-o)/c+4,[(60*u+360)%360,c/(1-Math.abs(2*s-1))*100,100*s]})(e),o={};return Nz.forEach(e=>{if(80===e)return void(o[e]=Tz(t,r,n));const a=e<80?8.5+(n-8.5)*(e-Nz[0])/(80-Nz[0]):n+(96.5-n)*(e-80)/(Nz[Nz.length-1]-80),i=a>65?r*(1-(a-65)/100):r;o[e]=Tz(t,i,a)}),o},Rz=(e=Cm,t)=>{const r=i_(Fz(e));return t?.family?{...r,fontFamilyBase:t.family}:r},Pz=({primaryColor:e,fonts:t,dir:r="ltr",children:n})=>{const o=t?.family,a=L.useMemo(()=>Rz(e,{family:o}),[e,o]);return M.createElement(m_,{theme:a,dir:r,style:{display:"contents"}},n)};const Oz="[aria-invalid='true']",jz=Ub({input:{backgroundColor:"#FCFCFF",...Eb.border("1px","solid","#8A8A8A"),...Eb.borderRadius("5px"),height:"50px",transitionProperty:"border-color, background-color",transitionDuration:"0.15s","& input, & .fui-Dropdown__button":{fontSize:"16px"},":focus-within":{backgroundColor:"#fff"},[`:hover:not(:focus-within):not(${Oz}):not(:has(${Oz})):not(:has(:disabled))`]:{...Eb.borderColor("#424242")},[`:focus-within:not(${Oz}):not(:has(${Oz}))`]:{...Eb.borderColor(n_)},[`&${Oz}, &:has(${Oz})`]:{...Eb.borderColor(`${o_} !important`)},"&:has(:disabled)":{backgroundColor:"#F5F5F5",...Eb.borderColor("#DDDDDD")}},fill:{width:"100%",minWidth:0,maxWidth:"none",boxSizing:"border-box"}}),Dz=e=>({fontSize:e?.sizes?.body||16,fontWeight:"normal",textAlign:"left",WebkitFontSmoothing:"antialiased"}),Az=(e,t)=>({fontSize:e,fontWeight:t?600:400,margin:0,paddingTop:0,paddingBottom:0}),Iz=L.forwardRef(({label:e,errorMessage:t,hint:r,fonts:n,required:o,className:a,...i},l)=>{const s=jz();return M.createElement(TE,{label:e?{children:e,style:Dz(n)}:void 0,hint:r,required:!!o,validationState:t?"error":"none",validationMessage:t},M.createElement(GC,{ref:l,className:bg(s.input,s.fill,a),...i}))});Iz.displayName="SSASTextInput";const qz=({name:e,control:t,rules:r,defaultValue:n,...o})=>M.createElement(Kd,{name:e,control:t,rules:r,defaultValue:n||"",render:({field:{onChange:e,onBlur:t,name:r,value:n},fieldState:{error:a}})=>M.createElement(Iz,{...o,onChange:(t,r)=>e(r.value),value:n,onBlur:t,name:r,errorMessage:a&&a.message,defaultValue:void 0})}),Lz=({name:e,control:t,rules:r,defaultValue:n,setValue:o,setError:a,clearErrors:i,trigger:l,setIsValidating:s,translation:c,validateEmail:u,config:d,apiService:f,...p})=>{const[h,m]=L.useState(null),g=L.useCallback(async e=>{if(!e)return s(!1),c.EmailError;s(!0);try{let t=!1;if(u)t=await u(e);else if(d?.onValidateEmail)t=await d.onValidateEmail(e);else if(f)t=await f.validateEmail(e);else{t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e)}return s(!1),!!t||c.EmailInvalid}catch(e){return s(!1),c.EmailInvalid}},[u,d,f,c,s]),v=(e,t)=>{h&&clearTimeout(h);const r=setTimeout(async()=>{const t=await g(e);i("email"),!0!==t?a("email",{type:"manual",message:t}):i("email")},900);m(r)};return M.createElement(Kd,{name:e,control:t,rules:r,defaultValue:n||"",render:({field:{name:e,value:t,onChange:r},fieldState:{error:n}})=>M.createElement(Iz,{...p,onChange:(e,t)=>{s(!0),r(t.value),v(t.value)},onBlur:e=>{s(!0),v(t)},value:t,name:e,errorMessage:n?n.message:void 0,defaultValue:void 0})})},Mz=({name:e,control:t,rules:r,defaultValue:n,...o})=>M.createElement(Kd,{name:e,control:t,rules:r,defaultValue:n||"",render:({field:{onChange:e,value:t}})=>M.createElement(VE,{...o,label:"string"==typeof o.label?{children:o.label,style:Az(16)}:o.label,checked:!!t,onChange:(t,r)=>e(r.checked),indicator:{style:{borderRadius:3}}})}),Hz=({label:e,options:t,value:r,errorMessage:n,required:o,fonts:a,className:i,...l})=>{const s=jz(),c=t.find(e=>String(e.key)===r);return M.createElement(TE,{label:e?{children:e,style:Dz(a)}:void 0,required:o,validationState:n?"error":"none",validationMessage:n},M.createElement(DC,{...l,className:bg(s.input,s.fill,i),value:r,button:c?.text},t.map(e=>M.createElement(cC,{key:e.key,value:String(e.key),text:e.text},e.text))))},Vz=({name:t,control:r,rules:n,defaultValue:o,options:a,...i})=>{const l="string"==typeof a[0]?.key||t===e.FormModel.CompanySize||t===e.FormModel.OrgIndustryId,s=e=>l?e:a.find(t=>t.text===e)?.key;return M.createElement(Kd,{name:t,control:r,rules:n,defaultValue:o||"",render:({field:{onChange:e,onBlur:t,value:r},fieldState:{error:n}})=>M.createElement(Hz,{...i,options:a,value:String(s(r)??""),onOptionSelect:(t,r)=>{const n=a.find(e=>String(e.key)===r.optionValue);e(l?n?.key:n?.text)},onBlur:t,errorMessage:n&&n.message})})},Wz=({value:e,onChange:t,onBlur:r,errorMessage:n,options:o,label:a,placeholder:i,required:l,disabled:s,autoComplete:c,style:u,className:d,fonts:f})=>{const p=jz(),h=o.find(t=>String(t.key)===String(e)),m=L.useRef(null),[g,v]=L.useState(null),b=e=>{m.current=e,v(e)},y=e=>{t(e?"string"==typeof e.key?e.key:e.text:""),b(null)};return M.createElement(TE,{label:a?{children:a,style:Dz(f)}:void 0,required:l,validationState:n?"error":"none",validationMessage:n},M.createElement(BC,{freeform:!0,value:g??h?.text??"",selectedOptions:h?[String(h.key)]:[],placeholder:i,disabled:s,autoComplete:c,style:u,className:bg(p.input,p.fill,d),onOptionSelect:(e,t)=>{const r=o.find(e=>String(e.key)===t.optionValue);r&&y(r)},onChange:e=>b(e.target.value),onBlur:()=>{const e=m.current;if(null!==e){const t=e.trim().toLowerCase();y(t?o.find(e=>e.text.toLowerCase()===t):void 0)}r()}},o.map(e=>M.createElement(cC,{key:e.key,value:String(e.key),text:e.text},e.text))))},Uz=({name:e,control:t,rules:r,defaultValue:n,...o})=>M.createElement(Kd,{name:e,control:t,rules:r,defaultValue:n||"",render:({field:{onChange:e,onBlur:t,value:r},fieldState:{error:n}})=>M.createElement(Wz,{...o,value:r,onChange:e,onBlur:t,errorMessage:n?.message})});var $z;e.FormDataModels=void 0,($z=e.FormDataModels||(e.FormDataModels={})).CompanySizeDropdownOptions=[{key:1,text:"1-9"},{key:2,text:"10-24"},{key:3,text:"25-49"},{key:4,text:"50-99"},{key:5,text:"100-199"},{key:6,text:"200-299"},{key:7,text:"300-499"},{key:8,text:"500-999"},{key:9,text:"1000-2499"},{key:10,text:"2500-4999"},{key:11,text:"5000+"}],$z.IndustryOptions=[{key:1,text:"Agriculture, Forestry, Fishing, and Hunting"},{key:2,text:"Mining, Quarrying, and Oil and Gas Extraction"},{key:3,text:"Utilities"},{key:4,text:"Construction"},{key:5,text:"Manufacturing"},{key:6,text:"Wholesale Trade"},{key:7,text:"Retail Trade"},{key:8,text:"Transportation and Warehousing"},{key:9,text:"Information, Media, and Publishing"},{key:10,text:"Telecommunications"},{key:11,text:"Finance and Insurance"},{key:12,text:"Real Estate and Rental and Leasing"},{key:13,text:"Professional, Scientific, and Technical Services"},{key:14,text:"Management of Companies and Enterprises"},{key:15,text:"Administrative and Support and Waste Management and Remediation Services"},{key:16,text:"Educational Services"},{key:17,text:"Health Care and Social Assistance"},{key:18,text:"Arts, Entertainment, and Recreation"},{key:19,text:"Accommodation and Food Services"},{key:20,text:"E-commerce and Digital Services"},{key:21,text:"Defense and Aerospace"},{key:22,text:"Other Services (except Public Administration)"},{key:23,text:"Public Administration"}],$z.HearAboutOptions=[{key:1,text:"Microsoft Partner"},{key:2,text:"Search Engine"},{key:3,text:"Social Media"},{key:4,text:"Microsoft Website"},{key:5,text:"Microsoft Event"},{key:6,text:"Email Newsletter"},{key:7,text:"Colleague or Friend"},{key:8,text:"Advertisement"},{key:9,text:"Blog or Article"},{key:10,text:"Other"}];const Xz=Ub({validating:{alignItems:"flex-end",justifyContent:"flex-start"}}),Gz=({formModels:t,isRegistering:r,control:n,setValue:o,setError:a,clearErrors:i,errors:l,trigger:s,performByPartner:c,watchFormField:u,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:b,partnerData:y})=>{const w=Xz(),[k,x]=L.useState({}),_=t.reduce((t,r)=>{const n=((t,r,n)=>[{name:e.FormModel.CustomerPartnerName,type:e.FormType.Text,label:t.PartnerName,placeholder:t.PartnerNamePlaceholder,rules:{required:!!r&&t.PartnerNameError}},{name:e.FormModel.CustomerPartnerMail,type:e.FormType.Text,label:t.PartnerEmail,placeholder:t.PartnerEmailPlaceholder,rules:{required:!!r&&t.PartnerEmailError,pattern:{value:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,message:t.EmailInvalid}}},{name:e.FormModel.FirstName,type:e.FormType.Text,label:t.FirstName,placeholder:t.FirstNamePlaceholder,rules:{required:t.FirstNameError}},{name:e.FormModel.LastName,type:e.FormType.Text,label:t.LastName,placeholder:t.LastNamePlaceholder,rules:{required:t.LastNameError}},{name:e.FormModel.Email,type:e.FormType.AsyncText,label:t.EmailAddress,placeholder:t.EmailPlaceholder,description:t.EmailDesc,rules:{required:t.EmailError}},{name:e.FormModel.JobRole,type:e.FormType.Text,label:t.JobRole,placeholder:t.JobRolePlaceholder},{name:e.FormModel.IsSharedMail,type:e.FormType.CheckBox,label:t.IsSharedMailTerm},{name:e.FormModel.CompanyName,type:e.FormType.Text,label:t.CompanyName,placeholder:t.CompanyNamePlaceholder,rules:{required:t.CompanyNameError}},{name:e.FormModel.CompanySize,type:e.FormType.Dropdown,label:t.CompanySize},{name:e.FormModel.Country,type:e.FormType.ComboBox,label:t.Country,placeholder:t.CountryPlaceholder,rules:{required:t.CountryError}},{name:e.FormModel.PreferredLanguage,type:e.FormType.Dropdown,label:t.SelectPreferredLanguage},{name:e.FormModel.HearAbout,type:e.FormType.Dropdown,label:t.HearAbout,placeholder:t.HearAboutPlaceholder,rules:{required:t.HearAboutError},bigColumn:!0},{name:e.FormModel.OrgIndustryId,type:e.FormType.Dropdown,label:t.Industry,placeholder:t.HearAboutPlaceholder,rules:{required:t.HearAboutError},bigColumn:!0}].find(e=>e.name===n)||null)(d,c,r);return n?[...t,n]:t},[]),S=t=>{switch(t){case e.FormModel.CompanySize:return g||e.FormDataModels.CompanySizeDropdownOptions;case e.FormModel.OrgIndustryId:return v||e.FormDataModels.IndustryOptions;case e.FormModel.HearAbout:return b||e.FormDataModels.HearAboutOptions;case e.FormModel.PreferredLanguage:{const e=y?.supportedLanguages||[];return 0===e.length?zm:zm.filter(t=>e.includes(t.data.code))}case e.FormModel.Country:return m||[];default:return[]}};return M.createElement(M.Fragment,null,_.map(t=>((t,c)=>{const g=k[t.name]||!1;switch(t.type){case e.FormType.Text:return M.createElement(qz,{name:t.name,control:n,rules:t.rules,label:t.label,placeholder:t.placeholder,required:t.rules?.required,disabled:r,fonts:f.theme?.fonts,key:c});case e.FormType.AsyncText:return M.createElement("div",{key:c},M.createElement(Lz,{label:t.label,placeholder:t.placeholder,control:n,setValue:o,setError:a,clearErrors:i,name:t.name,fonts:f.theme?.fonts,trigger:s,setIsValidating:(b=t.name,e=>{x(t=>{const r=t[b]||!1,n="function"==typeof e?e(r):e;return{...t,[b]:n}})}),translation:d,config:f,apiService:p,rules:{required:d.EmailError},required:t.rules?.required,hint:t.name in l||g?void 0:t.description,disabled:r}),g&&M.createElement(Cz,{size:"tiny",className:w.validating,label:d.ValidatingMessage}));case e.FormType.Dropdown:return M.createElement(Vz,{key:c,required:void 0!==t.rules?.required,options:S(t.name),label:t.label,rules:t.rules,control:n,name:t.name,placeholder:t.placeholder,disabled:(v=t.name,v===e.FormModel.PreferredLanguage&&"AU"===u(e.FormModel.Country)&&"Microsoft"===y?.partnerName||r),className:t.bigColumn?h.bigColumn:"",fonts:f.theme?.fonts});case e.FormType.ComboBox:return M.createElement(Uz,{key:c,options:m||[],label:t.label,control:n,rules:t.rules,name:t.name,placeholder:t.placeholder,required:""!==t.rules?.required,disabled:r,autoComplete:"off",fonts:f.theme?.fonts});case e.FormType.CheckBox:return M.createElement(Mz,{key:c,name:t.name,label:t.label,rules:t.rules,disabled:r,control:n,className:h.checkboxIsSharedMail});default:return null}var v,b})(t,t.name)))},Kz=Ub({root:{marginBottom:"30px"}}),Qz=({isRegistering:t,performByPartner:r,setPerformByPartner:n,setValue:o,setError:a,clearErrors:i,control:l,errors:s,trigger:c,watch:u,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:b,partnerData:y,primaryColor:w})=>{const k=w||"#00BAE4",x=Kz(),_=[{key:"ByCustomer",text:d.ByCustomer},{key:"ByPartner",text:d.ByPartner}],S=b&&b.length>0,B=[r&&e.FormModel.CustomerPartnerName,r&&e.FormModel.CustomerPartnerMail,e.FormModel.FirstName,e.FormModel.LastName,e.FormModel.Email,e.FormModel.JobRole,e.FormModel.IsSharedMail,e.FormModel.CompanyName,e.FormModel.CompanySize,e.FormModel.Country,e.FormModel.PreferredLanguage,!r&&e.FormModel.CustomerPartnerName,!r&&e.FormModel.CustomerPartnerMail,e.FormModel.OrgIndustryId,!!S&&e.FormModel.HearAbout];return M.createElement(M.Fragment,null,M.createElement(ez,{defaultValue:"ByCustomer",className:x.root,onChange:(t,r)=>{o(e.FormModel.CustomerPartnerMail,""),o(e.FormModel.CustomerPartnerName,""),i(e.FormModel.CustomerPartnerMail),i(e.FormModel.CustomerPartnerName),n("ByPartner"===r.value)}},_.map(e=>M.createElement(fz,{key:e.key,value:e.key,label:{children:e.text,style:Az(f.theme?.fonts?.sizes?.body||16)}}))),M.createElement("div",{className:h.inputFieldContainer},M.createElement(Gz,{formModels:B,isRegistering:t,control:l,setValue:o,setError:a,clearErrors:i,errors:s,trigger:c,performByPartner:r,watchFormField:u,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:b,partnerData:y,primaryColor:k})))};var Jz={exports:{}};function Yz(){}function Zz(){}Zz.resetWarningCache=Yz;Jz.exports=function(){function e(e,t,r,n,o,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Zz,resetWarningCache:Yz};return r.PropTypes=r,r}();var eN=n(Jz.exports),tN=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function rN(){return rN=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},rN.apply(this,arguments)}function nN(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oN(e,t){return oN=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oN(e,t)}var aN=function(e){var t,r;function n(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(nN(t)),t.handleErrored=t.handleErrored.bind(nN(t)),t.handleChange=t.handleChange.bind(nN(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(nN(t)),t}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,oN(t,r);var o=n.prototype;return o.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},o.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},o.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},o.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},o.executeAsync=function(){var e=this;return new Promise(function(t,r){e.executionResolve=t,e.executionReject=r,e.execute()})},o.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},o.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},o.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},o.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},o.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},o.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},o.componentDidMount=function(){this.explicitRender()},o.componentDidUpdate=function(){this.explicitRender()},o.handleRecaptchaRef=function(e){this.captcha=e},o.render=function(){var e=this.props;e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated;var t=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,tN);return L.createElement("div",rN({},t,{ref:this.handleRecaptchaRef}))},n}(L.Component);aN.displayName="ReCAPTCHA",aN.propTypes={sitekey:eN.string.isRequired,onChange:eN.func,grecaptcha:eN.object,theme:eN.oneOf(["dark","light"]),type:eN.oneOf(["image","audio"]),tabindex:eN.number,onExpired:eN.func,onErrored:eN.func,size:eN.oneOf(["compact","normal","invisible"]),stoken:eN.string,hl:eN.string,badge:eN.oneOf(["bottomright","bottomleft","inline"]),isolated:eN.bool},aN.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var iN={exports:{}},lN={},sN="function"==typeof Symbol&&Symbol.for,cN=sN?Symbol.for("react.element"):60103,uN=sN?Symbol.for("react.portal"):60106,dN=sN?Symbol.for("react.fragment"):60107,fN=sN?Symbol.for("react.strict_mode"):60108,pN=sN?Symbol.for("react.profiler"):60114,hN=sN?Symbol.for("react.provider"):60109,mN=sN?Symbol.for("react.context"):60110,gN=sN?Symbol.for("react.async_mode"):60111,vN=sN?Symbol.for("react.concurrent_mode"):60111,bN=sN?Symbol.for("react.forward_ref"):60112,yN=sN?Symbol.for("react.suspense"):60113,wN=sN?Symbol.for("react.suspense_list"):60120,kN=sN?Symbol.for("react.memo"):60115,xN=sN?Symbol.for("react.lazy"):60116,_N=sN?Symbol.for("react.block"):60121,SN=sN?Symbol.for("react.fundamental"):60117,BN=sN?Symbol.for("react.responder"):60118,EN=sN?Symbol.for("react.scope"):60119;function CN(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case cN:switch(e=e.type){case gN:case vN:case dN:case pN:case fN:case yN:return e;default:switch(e=e&&e.$$typeof){case mN:case bN:case xN:case kN:case hN:return e;default:return t}}case uN:return t}}}function zN(e){return CN(e)===vN}lN.AsyncMode=gN,lN.ConcurrentMode=vN,lN.ContextConsumer=mN,lN.ContextProvider=hN,lN.Element=cN,lN.ForwardRef=bN,lN.Fragment=dN,lN.Lazy=xN,lN.Memo=kN,lN.Portal=uN,lN.Profiler=pN,lN.StrictMode=fN,lN.Suspense=yN,lN.isAsyncMode=function(e){return zN(e)||CN(e)===gN},lN.isConcurrentMode=zN,lN.isContextConsumer=function(e){return CN(e)===mN},lN.isContextProvider=function(e){return CN(e)===hN},lN.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===cN},lN.isForwardRef=function(e){return CN(e)===bN},lN.isFragment=function(e){return CN(e)===dN},lN.isLazy=function(e){return CN(e)===xN},lN.isMemo=function(e){return CN(e)===kN},lN.isPortal=function(e){return CN(e)===uN},lN.isProfiler=function(e){return CN(e)===pN},lN.isStrictMode=function(e){return CN(e)===fN},lN.isSuspense=function(e){return CN(e)===yN},lN.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===dN||e===vN||e===pN||e===fN||e===yN||e===wN||"object"==typeof e&&null!==e&&(e.$$typeof===xN||e.$$typeof===kN||e.$$typeof===hN||e.$$typeof===mN||e.$$typeof===bN||e.$$typeof===SN||e.$$typeof===BN||e.$$typeof===EN||e.$$typeof===_N)},lN.typeOf=CN,iN.exports=lN;var NN=iN.exports,TN={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},FN={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},RN={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},PN={};function ON(e){return NN.isMemo(e)?RN:PN[e.$$typeof]||TN}PN[NN.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},PN[NN.Memo]=RN;var jN=Object.defineProperty,DN=Object.getOwnPropertyNames,AN=Object.getOwnPropertySymbols,IN=Object.getOwnPropertyDescriptor,qN=Object.getPrototypeOf,LN=Object.prototype;var MN=function e(t,r,n){if("string"!=typeof r){if(LN){var o=qN(r);o&&o!==LN&&e(t,o,n)}var a=DN(r);AN&&(a=a.concat(AN(r)));for(var i=ON(t),l=ON(r),s=0;s<a.length;++s){var c=a[s];if(!(FN[c]||n&&n[c]||l&&l[c]||i&&i[c])){var u=IN(r,c);try{jN(t,c,u)}catch(e){}}}}return t},HN=n(MN);function VN(){return VN=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},VN.apply(this,arguments)}var WN={},UN=0;var $N="onloadcallback";function XN(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}var GN,KN,QN=(GN=function(){var e=XN(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+$N+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+$N+"&render=explicit"},KN=(KN={callbackName:$N,globalName:"grecaptcha",attributes:XN().nonce?{nonce:XN().nonce}:{}})||{},function(e){var t=e.displayName||e.name||"Component",r=function(t){var r,n;function o(e,r){var n;return(n=t.call(this,e,r)||this).state={},n.__scriptURL="",n}n=t,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n;var a=o.prototype;return a.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+UN++),this.__scriptLoaderID},a.setupScriptURL=function(){return this.__scriptURL="function"==typeof GN?GN():GN,this.__scriptURL},a.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},a.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=WN[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[KN.callbackName]},a.componentDidMount=function(){var e=this,t=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),n=KN,o=n.globalName,a=n.callbackName,i=n.scriptId;if(o&&void 0!==window[o]&&(WN[t]={loaded:!0,observers:{}}),WN[t]){var l=WN[t];return l&&(l.loaded||l.errored)?void this.asyncScriptLoaderHandleLoad(l):void(l.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var s={};s[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},WN[t]={loaded:!1,observers:s};var c=document.createElement("script");for(var u in c.src=t,c.async=!0,KN.attributes)c.setAttribute(u,KN.attributes[u]);i&&(c.id=i);var d=function(e){if(WN[t]){var r=WN[t].observers;for(var n in r)e(r[n])&&delete r[n]}};a&&"undefined"!=typeof window&&(window[a]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),c.onload=function(){var e=WN[t];e&&(e.loaded=!0,d(function(t){return!a&&(t(e),!0)}))},c.onerror=function(){var e=WN[t];e&&(e.errored=!0,d(function(t){return t(e),!0}))},document.body.appendChild(c)},a.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===KN.removeOnUnmount)for(var t=document.getElementsByTagName("script"),r=0;r<t.length;r+=1)t[r].src.indexOf(e)>-1&&t[r].parentNode&&t[r].parentNode.removeChild(t[r]);var n=WN[e];n&&(delete n.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===KN.removeOnUnmount&&delete WN[e])},a.render=function(){var t=KN.globalName,r=this.props;r.asyncScriptOnLoad;var n=r.forwardedRef,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(r,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(o[t]=void 0!==window[t]?window[t]:void 0),o.ref=n,L.createElement(e,o)},o}(L.Component),n=L.forwardRef(function(e,t){return L.createElement(r,VN({},e,{forwardedRef:t}))});return n.displayName="AsyncScriptLoader("+t+")",n.propTypes={asyncScriptOnLoad:eN.func},HN(n,e)})(aN);const JN=e=>{const{styles:t,description:r,label:n,checked:o,defaultChecked:a,disabled:i,onChange:l,onRenderLabel:s,labelFontSize:c}=e,u=s?s(e):n;return M.createElement("div",null,M.createElement(VE,{label:{children:u,style:Az(c??18,o)},indicator:{style:{borderRadius:3}},checked:o,defaultChecked:a,disabled:i,onChange:l?(e,t)=>{l?.(e,"mixed"===t.checked||t.checked)}:void 0,style:{margin:"10px 0 5px 0",...t?.root}}),r&&M.createElement("div",{style:{margin:"0 28px",cursor:"default"},className:"checkboxDescription"},r))},YN="--ssas-primary-button-color",ZN=Ub({interactive:{":hover:where(:not(:disabled, [aria-disabled='true']))":{backgroundColor:`color-mix(in srgb, var(${YN}), #000 10%) !important`},":active:where(:not(:disabled, [aria-disabled='true']))":{backgroundColor:`color-mix(in srgb, var(${YN}), #000 15%) !important`},":focus-visible":{outline:"2px solid #000 !important",outlineOffset:"2px",boxShadow:"inset 0 0 0 2px #fff !important"}}}),eT=(e,t)=>({borderRadius:8,height:60,boxShadow:e?"none":"0px 2px 5px 0px #b1b1b1f2",border:"none",maxWidth:"none",fontSize:"18px",fontWeight:600,...t?{backgroundColor:"#cecece",color:"#fff"}:{}}),tT=e=>{const t=ZN(),{dir:r}=Ny(),{styles:n,primaryColor:o,noShadow:a,iconProps:i,noIcon:l,iconName:s,loadingIcon:c,onRenderMenuIcon:u,text:d,className:f,style:p,disabled:h,type:m,onClick:g,children:v}=e,b=o||Cm,y=h||c,w=!!c&&!h,k={...{[YN]:b,...y?{}:{backgroundColor:`var(${YN})`,color:"#fff"}},...eT(a,y),...n?.root,...p},x=((e,t)=>{const r=(e=>({fontSize:25,...e?{color:"#fff"}:{}}))(t);switch(e){case"ChevronRight":return L.createElement(W_,{style:r});case"ChevronLeft":return L.createElement(V_,{style:r});default:return}})(s??("rtl"===r?"ChevronLeft":"ChevronRight"),y),_=u?u(e,()=>x??null)??void 0:c?L.createElement(Cz,{"aria-label":"Loading",size:"tiny"}):l?void 0:x,S=i?"before":"after",B={..._&&"after"===S?{paddingInlineStart:20}:{},...k};return L.createElement(uE,{appearance:"primary",className:bg(t.interactive,f),style:B,icon:_,iconPosition:S,disabled:h,disabledFocusable:w,type:m,onClick:g},d??v)},rT=({setValue:t,isRegistering:r,errors:n,translation:o,submissionError:a,primaryColor:i,partnerData:l})=>{const[s,c]=L.useState(!1),[u,d]=L.useState(!1),[f,p]=L.useState(!1),h=i||Cm,m=l?`https://${l.domain}/terms-and-conditions`:"",g=o.PrivacyStatementLink,v=g&&!/^https?:\/\//.test(g)&&l?`https://${l.domain}${g}`:g;return M.createElement("div",null,M.createElement("div",{style:{margin:"20px 0"}},M.createElement(QN,{sitekey:"6LeSgOkgAAAAAG820G9BYrck3obgjOBn05IdJhom",onChange:e=>c(!!e)})),M.createElement(JN,{onRenderLabel:()=>M.createElement("span",{style:{margin:"0 8px",fontSize:14}},o.AcceptPrivacy," ",M.createElement("a",{href:v,target:"_blank",rel:"noopener noreferrer",style:{color:h}},o.PrivacyNotice)),onChange:(r,n)=>{t(e.FormModel.IsConsented,n),p(n)},disabled:r}),M.createElement(JN,{onRenderLabel:()=>M.createElement("span",{style:{margin:"0 8px",fontSize:14}},o.AcceptTerm," ",M.createElement("a",{href:m,target:"_blank",rel:"noopener noreferrer",style:{color:h}},o.TermCondition)),onChange:(r,n)=>{n?(d(!0),t(e.FormModel.ConsentedDate,new Date)):(d(!1),t(e.FormModel.ConsentedDate,void 0))},disabled:r}),a&&M.createElement("div",{style:{backgroundColor:"#FDE7E9",border:"1px solid #DC3545",borderRadius:4,padding:"12px 16px",marginBottom:20,color:"#DC3545",fontSize:14,display:"flex",alignItems:"center",gap:8}},M.createElement("span",{style:{fontSize:16,fontWeight:600}},"⚠"),M.createElement("span",null,a)),M.createElement(tT,{text:o.SubmitRequest,primaryColor:h,styles:{root:{display:"flex",width:"100%"}},type:"submit",disabled:Object.keys(n).length>0||r||!u||!f||!s,onRenderMenuIcon:(e,t)=>r?M.createElement(Cz,{"aria-label":"Submitting",size:"tiny"}):t?t():null}))},nT="ColorWidget",oT="KnownProductFrom",aT=({config:t})=>{const[r,n]=L.useState(),[o,a]=L.useState(),i=Vf(t),l=i.apiBaseUrl||"https://portal.selfserviceassessment.com",s=L.useMemo(()=>new qm(l,i.partnerGuid),[l,i.partnerGuid]),c=L.useMemo(()=>new qm(r?.domain?new URL(`https://${r?.domain}`).toString():"",i.partnerGuid),[r?.domain,i.partnerGuid]),u=zz(),d={backgroundColor:i.theme?.backgroundColor||"#FCFCFF"},[f,p]=L.useState(!1),[h,m]=L.useState(!1),[g,v]=L.useState(""),[b,y]=L.useState(),[w,k]=L.useState(),[x,_]=L.useState(e.FormDataModels.CompanySizeDropdownOptions),[S,B]=L.useState(e.FormDataModels.IndustryOptions),[E,C]=L.useState(),[z,N]=L.useState(),[T,F]=L.useState(!1),[R,P]=L.useState(!1),[O,j]=L.useState(!1),[D,A]=L.useState(!1),[I,q]=L.useState(!1),[H,V]=L.useState(!1),[W,U]=L.useState(!1),$=T||R||O||D||I,X=L.useMemo(()=>{const e=r?.supportedLanguages?r.supportedLanguages.split(",").map(e=>e.trim()):[];return Hf.isEmpty(e)?zm:zm.filter(t=>e.includes(t.data.code))},[r?.supportedLanguages]),G=L.useMemo(()=>{const e=i.languageCode||r?.languageCode||"en";return X.find(t=>t.data.code===e)?.text||"English"},[i.languageCode,r?.languageCode,X]),K=(Q=i.languageCode||r?.languageCode)&&["ar","he"].includes(Q.toLowerCase())?"rtl":"ltr";var Q;const{handleSubmit:J,setValue:Y,setError:Z,control:ee,watch:te,clearErrors:re,trigger:ne,formState:{errors:oe}}=function(e={}){const t=M.useRef(void 0),r=M.useRef(void 0),n=M.useRef(e.formControl),[o,a]=M.useState(()=>({...sd(Df),isLoading:Dd(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Dd(e.defaultValues)?void 0:e.defaultValues}));if(!t.current||e.formControl&&n.current!==e.formControl)if(n.current=e.formControl,e.formControl)t.current={...e.formControl,formState:o},e.defaultValues&&!Dd(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:r,...n}=Af(e);t.current={...n,formState:o}}const i=t.current.control;return i._options=e,Md(()=>{const e=i._subscribe({formState:i._proxyFormState,callback:()=>a({...i._formState,defaultValues:i._defaultValues}),reRenderRoot:!0});return a(e=>({...e,isReady:!0})),i._formState.isReady=!0,e},[i]),M.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),M.useEffect(()=>{e.mode&&(i._options.mode=e.mode),e.reValidateMode&&(i._options.reValidateMode=e.reValidateMode)},[i,e.mode,e.reValidateMode]),M.useEffect(()=>{e.errors&&(i._setErrors(e.errors),i._focusError())},[i,e.errors]),M.useEffect(()=>{e.shouldUnregister&&i._subjects.state.next({values:i._getWatch()})},[i,e.shouldUnregister]),M.useEffect(()=>{if(i._proxyFormState.isDirty){const e=i._getDirty();e!==o.isDirty&&i._subjects.state.next({isDirty:e})}},[i,o.isDirty]),M.useEffect(()=>{var t;e.values&&!$d(e.values,r.current)?(i._reset(e.values,{keepFieldsRef:!0,...i._options.resetOptions}),(null===(t=i._options.resetOptions)||void 0===t?void 0:t.keepIsValid)||i._setValid(),r.current=e.values,a(e=>({...e}))):i._resetDefaultValues()},[i,e.values]),M.useEffect(()=>{i._state.mount||(i._setValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),t.current.formState=M.useMemo(()=>Ld(o,i),[i,o]),t.current}({defaultValues:{orgSizingId:1,isSharedMail:!0,isConsented:!1,consentedDate:void 0,preferredLanguage:G,assessmentProgresses:[]},mode:"all"});L.useEffect(()=>{A(!0),s.getPartnerByGuid(i.partnerGuid).then(e=>{e?n(e):V(!0)}).catch(e=>{console.error("Failed to load partner:",e),V(!0)}).finally(()=>{A(!1)})},[i.partnerGuid,s]),L.useEffect(()=>{if(!r)return;F(!0),c.getCountries().then(e=>{k(e.sort((e,t)=>e.name.localeCompare(t.name)).map(e=>({key:e.alpha2Code,text:e.name})))}).catch(e=>{console.error("Failed to load countries:",e),403===e.status&&U(!0)}).finally(()=>{F(!1)}),P(!0),c.getOrgSizes().then(e=>{_(e.filter(e=>null!=e.microsoftSizingId).sort((e,t)=>e.sortOrder-t.sortOrder).map(t=>({key:t.id,text:t.label||(t.sortOrder!==e.length-1?`${t.sizeLowerBound}-${t.sizeUpperBound}`:`${t.sizeLowerBound}+`)})))}).catch(e=>{console.error("Failed to load org sizes:",e),403===e.status&&U(!0)}).finally(()=>{P(!1)}),j(!0),c.getIndustries().then(e=>{B(e.map(e=>({key:e.id,text:e.name})))}).catch(e=>{console.error("Failed to load industries:",e),403===e.status&&U(!0)}).finally(()=>{j(!1)}),q(!0);const e=i.languageCode||r.languageCode||"en";c.getFormScreenLocalization(e,r.id).then(e=>{C(e)}).catch(e=>{console.error("Failed to load localization:",e)}).finally(()=>{q(!1)})},[c,r,i.languageCode]);const ae=Xd({control:ee,name:e.FormModel.Country});L.useEffect(()=>{"AU"===ae&&"Microsoft"===r?.partnerName&&Y(e.FormModel.PreferredLanguage,"English")},[ae,Y,r]);const ie=L.useMemo(()=>{if(!E)return Nm.en.formScreen;const e=Nm.en.formScreen,t={},r=E;for(const[n,o]of Object.entries(e))t[n]=r[o]||o;return t},[E]);return L.useEffect(()=>{if(!r)return void a(void 0);const e=r.partnerSettings?.find(e=>e.settingKey===nT);if(e?.settingValue)try{const t=JSON.parse(e.settingValue);a(t)}catch(e){console.error("Failed to parse ColorWidget setting:",e),a(void 0)}else a(void 0)},[r]),L.useEffect(()=>{if(!r||!E)return void N(void 0);const e=r.partnerSettings?.filter(e=>e.settingKey===oT),t=e&&e.length>0?e[0].settingValue:void 0;if(!t)return void N(void 0);const n=parseInt(t,10);if(isNaN(n)||n<=0)return void N(void 0);const o=[],a=E;for(let e=1;e<=n;e++){const t=`hear_about_${e}`,r=a[t]||`Option ${e}`;o.push({key:t,text:r})}N(o)},[r,E]),g?M.createElement(Pz,{primaryColor:i.theme?.primaryColor||o?.column1,fonts:i.theme?.fonts,dir:K},M.createElement("div",{className:u.mainContainer,style:d},M.createElement("div",{className:u.thankyouTopWrapper},M.createElement("div",{className:u.finalStepContainer},M.createElement("div",{className:u.textBlock},M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.heading,fontWeight:700}},ie.ThankYou),M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.subheading,margin:"20px 0",lineHeight:"30px"}},ie.ThankYouDesc),M.createElement("div",{style:{fontSize:18,margin:"20px 0",color:i.theme?.primaryColor||o?.column1||"#00BAE4",textUnderlinePosition:"under"}},g)))))):M.createElement(Pz,{primaryColor:i.theme?.primaryColor||o?.column1,fonts:i.theme?.fonts,dir:K},M.createElement("div",{className:u.mainContainer,style:d},M.createElement("div",{className:u.topWrapper,style:i.customStyles?.topWrapper},$?M.createElement(Cz,{size:"tiny",labelPosition:"below",label:"Loading form data...",style:{marginBottom:"20px"}}):H?M.createElement("div",{style:{textAlign:"center",padding:"40px 20px",color:"#605e5c"}},M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.heading||24,fontWeight:700,marginBottom:16}},"Access Not Available"),M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.subheading||16,lineHeight:"28px"}},"Your company is not eligible to use this form. Please contact your administrator for assistance.")):W?M.createElement("div",{style:{textAlign:"center",padding:"40px 20px",color:"#605e5c"}},M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.heading||24,fontWeight:700,marginBottom:16}},"Domain Not Whitelisted"),M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.subheading||16,lineHeight:"28px"}},"Your company has not registered this domain into the whitelist. Please contact QSSolutions admin to add it.")):M.createElement("form",{className:u.formWrapper,style:i.customStyles?.formWrapper,onSubmit:J(async t=>{p(!0),y(void 0);if(await c.checkMaintenanceStatus()){const e="System is under maintenance, please try again later";return i.onError&&i.onError(e),void p(!1)}Y(e.FormModel.Partner,r),Y(e.FormModel.PerfromedByPartner,h),c.addUser(te(),r?.partnerName||"",window.location.hostname).then(t=>{const r=te(e.FormModel.Email);v(r),i.onSuccess&&i.onSuccess(r)}).catch(e=>{const t=e?.response?.data;let r;if(t?.errors)r=Object.values(t.errors).flat().join(" ");else{const n=t?.title||e?.message||e;r=E?.[n]||n||"Registration failed"}i.onError&&i.onError(r),y(r)}).finally(()=>{p(!1)})}),noValidate:!0},M.createElement("div",{style:{textAlign:"center"}},M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.heading,fontWeight:700}},ie.AppForm),M.createElement("div",{style:{fontSize:i.theme?.fonts?.sizes?.subheading,margin:"12px auto 24px",width:"85%",lineHeight:"30px"}},ie.AppFormDesc)),M.createElement(Qz,{isRegistering:f,setPerformByPartner:m,performByPartner:h,setValue:Y,setError:Z,clearErrors:re,control:ee,errors:oe,trigger:ne,watch:te,translation:ie,config:i,apiService:c,styles:u,countryOptions:w,orgSizingOptions:x,orgIndustryOptions:S,hearAboutOptions:z,partnerData:r,primaryColor:i.theme?.primaryColor||o?.column1}),M.createElement(rT,{setValue:Y,isRegistering:f,errors:oe,translation:ie,config:i,submissionError:b,primaryColor:i.theme?.primaryColor||o?.column1,partnerData:r})))))};class iT extends HTMLElement{constructor(){super(),this.root=null,this._config=null}static get observedAttributes(){return["config"]}connectedCallback(){this._config&&this.render()}disconnectedCallback(){this.root&&(this.root.unmount(),this.root=null)}attributeChangedCallback(e,t,r){if("config"===e&&t!==r)try{this._config=JSON.parse(r),this.render()}catch(e){console.error("Invalid config JSON:",e)}}set config(e){this._config=e,this.render()}render(){let e=this.querySelector("div.ssas-form-container");e||(e=document.createElement("div"),e.className="ssas-form-container",e.style.width="100%",e.style.height="100%",this.appendChild(e));let t=this._config;if(!t){const e=this.getAttribute("config");if(e)try{t=JSON.parse(e)}catch(e){return void console.error("Invalid config attribute:",e)}}t?(this.root||(this.root=V.createRoot(e)),this.root.render(M.createElement(aT,{config:t})),this.dispatchEvent(new CustomEvent("ssas-form-ready",{bubbles:!0,composed:!0,detail:{config:t}}))):console.error("No configuration provided to ssas-registration-form")}}return"undefined"==typeof window||customElements.get("ssas-registration-form")||customElements.define("ssas-registration-form",iT),e.ApiService=qm,e.DEFAULT_TRANSLATIONS=Nm,e.EMAIL_PATTERN=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,e.LANGUAGE_OPTIONS=zm,e.SSASFormElement=iT,e.SSASRegistrationForm=aT,e.createBrandRamp=Fz,e.createFormTheme=Rz,e.useFormConfig=Vf,e}({});
29
110
  //# sourceMappingURL=web-component.min.js.map