@qssolutions/ssas-registration-form 1.0.7 → 1.0.9
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.
- package/README.md +9 -1
- package/dist/components/SSASRegistrationForm.d.ts.map +1 -1
- package/dist/index.esm.js +1243 -784
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1243 -784
- package/dist/index.js.map +1 -1
- package/dist/services/ApiService.d.ts +3 -1
- package/dist/services/ApiService.d.ts.map +1 -1
- package/dist/styles/defaultStyles.d.ts +9 -0
- package/dist/styles/defaultStyles.d.ts.map +1 -1
- package/dist/utils/constants.d.ts +3 -3
- package/dist/web-component.js +1403 -833
- package/dist/web-component.js.map +1 -1
- package/dist/web-component.min.js +4 -4
- package/dist/web-component.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
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={};
|
|
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(
|
|
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;
|
|
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"),Se=Symbol.for("react.lazy"),we=Symbol.for("react.offscreen"),ke=Symbol.iterator;function xe(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=ke&&e[ke]||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 Se: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 St(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 wt=!1;if(ee)try{var kt={};Object.defineProperty(kt,"passive",{get:function(){wt=!0}}),window.addEventListener("test",kt,kt),window.removeEventListener("test",kt,kt)}catch(et){wt=!1}function xt(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,xt.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,Sn=new Map,wn=new Map,kn=[],xn="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":Sn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":wn.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),Sn.forEach(Pn),wn.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),Sn.forEach(t),wn.forEach(t),n=0;n<kn.length;n++)(r=kn[n]).blockedOn===e&&(r.blockedOn=null);for(;0<kn.length&&null===(n=kn[0]).blockedOn;)In(n),null===n.blockedOn&&kn.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 Sn.set(i,Fn(Sn.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,wn.set(i,Fn(wn.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<xn.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}),Sr=Qn(Cr),wr=[9,13,27,32],kr=ee&&"CompositionEvent"in window,xr=null;ee&&"documentMode"in document&&(xr=document.documentMode);var Er=ee&&"TextEvent"in window&&!xr,Fr=ee&&(!kr||xr&&8<xr&&11>=xr),Ir=String.fromCharCode(32),Tr=!1;function Pr(e,t){switch(e){case"keyup":return-1!==wr.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,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 wo(e,t){Co.set(e,t),J(t,[e])}for(var ko=0;ko<So.length;ko++){var xo=So[ko];wo(xo.toLowerCase(),"on"+(xo[0].toUpperCase()+xo.slice(1)))}wo(vo,"onAnimationEnd"),wo(yo,"onAnimationIteration"),wo(bo,"onAnimationStart"),wo("dblclick","onDoubleClick"),wo("focusin","onFocus"),wo("focusout","onBlur"),wo(_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,!wt||"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=Sr;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=St(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(kr)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||!kr&&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=St(e,n))&&r.unshift(Lo(e,i,o)),null!=(i=St(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=St(n,i))&&a.unshift(Lo(n,s,l)):o||null!=(s=St(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 Si(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 wi(e){return null!=(e=e.childContextTypes)}function ki(){gi(_i),gi(bi)}function xi(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=wc(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===Se&&ua(i)===t.type)?((r=o(t,n.props)).ref=la(e,t,n),r.return=e,r):((r=kc(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=xc(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=kc(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 Se:return d(e,(0,t._init)(t._payload),n)}if(Ke(t)||xe(t))return(t=xc(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 Se:return f(e,t,(o=n._init)(n._payload),r)}if(Ke(n)||xe(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 Se:return p(e,t,n,(0,r._init)(r._payload),o)}if(Ke(r)||xe(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=xe(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===Se&&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=xc(l.props.children,r.mode,s,l.key)).return=r,r=i):((s=kc(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 Se:return e(r,i,(c=l._init)(l._payload),s)}if(Ke(l))return h(r,i,l,s);if(xe(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 Sa=null;function wa(e){null===Sa?Sa=[e]:Sa.push(e)}function ka(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,wa(t)):(n.next=o.next,o.next=n),t.interleaved=n,xa(e,r)}function xa(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,xa(e,n)}return null===(o=r.interleaved)?(t.next=t,wa(r)):(t.next=o.next,o.next=t),r.interleaved=t,xa(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=xa(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 Sl(){return ul().memoizedState}function wl(e,t,n,r){var o=sl();Ya.flags|=e,o.memoizedState=Cl(1|t,n,void 0,void 0===r?null:r)}function kl(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 xl(e,t){return wl(8390656,8,e,t)}function El(e,t){return kl(2048,8,e,t)}function Fl(e,t){return kl(4,2,e,t)}function Il(e,t){return kl(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,kl(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=ka(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,wa(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=ka(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:xl,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,wl(4194308,4,Tl.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wl(4194308,4,e,t)},useInsertionEffect:function(e,t){return wl(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,xl(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:Sl,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:Sl,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=wi(t)?Ci:bi.current,i=(r=null!=(r=t.contextTypes))?Si(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=wi(t)?Ci:bi.current,o.context=Si(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||Sc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=kc(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=wc(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(wu,Su),Su|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,vi(wu,Su),Su|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},vi(wu,Su),Su|=n;else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,vi(wu,Su),Su|=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=wi(n)?Ci:bi.current;return i=Si(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(wi(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=Si(t,u=wi(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=Si(t,s=wi(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?xi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&xi(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,Ss,ws,ks,xs={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=xc(e,o,n,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=Es(n),t.memoizedState=xs,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=xc(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=xs,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,xa(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=wc(i,s)).subtreeFlags=14680064&i.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null),null!==r?a=wc(r,a):(a=xc(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=xs,o}return e=(a=e.child).sibling,o=wc(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=wc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=wc(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 wi(t.type)&&ki(),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))),Ss(e,t),Ls(t),null;case 5:Ua(t);var o=za(Ba.current);if(n=t.type,null!==e&&null!=t.stateNode)ws(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)ks(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===ku&&(ku=3):ic())),null!==t.updateQueue&&(t.flags|=4),Ls(t),null);case 4:return Va(),Ss(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!==ku||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&Su)&&(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 wi(t.type)&&ki(),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}},Ss=function(){},ws=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)}},ks=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,Su=0,wu=mi(0),ku=0,xu=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===ku&&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=ku)}if(0!==t){if(2===t&&(0!==(o=on(e))&&(r=o,t=Qu(e,o))),1===t)throw n=xu,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=xu,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=xu,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(){Su=wu.current,gi(wu)}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)&&ki();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=wc(e.current,null),Cu=Su=t,ku=0,xu=null,Iu=Fu=Eu=0,Pu=Tu=null,null!==Sa){for(t=0;t<Sa.length;t++)if(null!==(r=(n=Sa[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}Sa=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){ku=1,xu=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!==ku&&(ku=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!==ku&&3!==ku&&2!==ku||(ku=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,ku}function lc(){for(;null!==_u;)uc(_u)}function sc(){for(;null!==_u&&!zt();)uc(_u)}function uc(e){var t=pu(e.alternate,e,Su);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 ku=6,void(_u=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=Ns(n,t,Su)))return void(_u=n);if(null!==(t=t.sibling))return void(_u=t);_u=t=e}while(null!==t);0===ku&&(ku=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===ku||3===ku&&(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=xa(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 Sc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function wc(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 kc(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)Sc(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case pe:return xc(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 we: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 Se: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 xc(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=we,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(wi(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(wi(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:wi(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=Si(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,wi(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 Sc(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,wi(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<kn.length&&0!==t&&t<kn[n].priority;n++);kn.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=xa(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=xa(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=xa(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)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),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="onBlur",vd="onChange",yd="onSubmit",bd="onTouched",_d="all",Cd="max",Sd="min",wd="maxLength",kd="minLength",xd="pattern",Ed="required",Fd="validate",Id=H.createContext(null);Id.displayName="HookFormControlContext";const Td=()=>H.useContext(Id);var Pd=(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]!==_d&&(t._proxyFormState[o]=!r||_d),n&&(n[o]=!0),e[o]}});return o};const Rd="undefined"!=typeof window?H.useLayoutEffect:H.useEffect;var Dd=e=>"string"==typeof e,Md=(e,t,n,r,o)=>Dd(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),Od=e=>Jc(e)||!Xc(e);function Ad(e,t,n=new WeakSet){if(Od(e)||Od(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)&&ed(e)||Array.isArray(r)&&Array.isArray(e)?!Ad(r,e,n):!Object.is(r,e))return!1}}return!0}function Ld(e){const t=Td(),{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=Md(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=Md(r,n._names,e||n._formValues,!1,s.current);if(u.current){const e=u.current(t);Ad(e,c.current)||(h(e),c.current=e)}else h(t)}},[n._formValues,n._names,i,r]);Rd(()=>(d.current===n&&Ad(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&&!Ad(y,r);return v||e?m():null},[i,v,r,y,m]);return null!==b?b:p}function Nd(e){const t=Td(),{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=Ld({control:o,name:n,defaultValue:u,exact:l}),d=function(e){const t=Td(),{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 Rd(()=>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(()=>Pd(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 Bd=e=>e.render(Nd(e));H.createContext(null).displayName="HookFormContext";var zd=(e,t,n,r,o)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:o||!0}}:{},Hd=e=>Array.isArray(e)?e:[e],Vd=()=>{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 Wd(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=Wd(o,i);ed(e)&&(n[r]=e)}else e[r]&&(n[r]=i)}return n}var Ud=e=>ed(e)&&!Object.keys(e).length,jd=e=>"file"===e.type,Kd=e=>{if(!rd)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},qd=e=>"select-multiple"===e.type,Gd=e=>"radio"===e.type,$d=e=>Kd(e)&&e.isConnected;function Qd(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)&&Ud(r)||Array.isArray(r)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!ad(e[t]))return!1;return!0}(r))&&Qd(e,n.slice(0,-1)),e}function Zd(e){return Array.isArray(e)||ed(e)&&!(e=>{for(const t in e)if(dd(e[t]))return!0;return!1})(e)}function Yd(e,t={}){for(const n in e){const r=e[n];Zd(r)?(t[n]=Array.isArray(r)?[]:{},Yd(r,t[n])):ad(r)||(t[n]=!0)}return t}function Jd(e,t,n){n||(n=Yd(t));for(const r in e){const o=e[r];if(Zd(o))ad(t)||Od(n[r])?n[r]=Yd(o,Array.isArray(o)?[]:{}):Jd(o,Jc(t)?{}:t[r],n[r]);else{const e=t[r];n[r]=!Ad(o,e)}}return n}const Xd={value:!1,isValid:!1},ef={value:!0,isValid:!0};var tf=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?ef:{value:e[0].value,isValid:!0}:ef:Xd}return Xd},nf=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>ad(e)?e:t?""===e?NaN:e?+e:e:n&&Dd(e)?new Date(e):r?r(e):e;const rf={isValid:!1,value:null};var of=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,rf):rf;function af(e){const t=e.ref;return jd(t)?t.files:Gd(t)?of(e.refs).value:qd(t)?[...t.selectedOptions].map(({value:e})=>e):Zc(t)?tf(e.refs).value:nf(ad(t.value)?e.ref.value:t.value,e)}var lf=e=>e instanceof RegExp,sf=e=>ad(e)?e:lf(e)?e.source:ed(e)?lf(e.value)?e.value.source:e.value:e,uf=e=>({isOnSubmit:!e||e===yd,isOnBlur:e===gd,isOnChange:e===vd,isOnAll:e===_d,isOnTouch:e===bd});const cf="AsyncFunction";var df=e=>!!e&&!!e.validate&&!!(dd(e.validate)&&e.validate.constructor.name===cf||ed(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===cf)),ff=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));const pf=(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(pf(i,t))break}else if(ed(i)&&pf(i,t))break}}};function hf(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 mf=(e,t,n)=>{const r=Hd(ud(e,n));return fd(r,"root",t[n]),fd(e,n,r),e};function gf(e,t,n="validate"){if(Dd(e)||Array.isArray(e)&&e.every(Dd)||cd(e)&&!e)return{type:n,message:Dd(e)?e:"",ref:t}}var vf=e=>ed(e)&&!lf(e)?e:{value:e,message:""},yf=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={},S=Gd(a),w=Zc(a),k=S||w,x=(g||jd(a))&&ad(a.value)&&ad(y)||Kd(a)&&""===a.value||""===y||Array.isArray(y)&&!y.length,E=zd.bind(null,m,r,C),F=(e,t,n,r=wd,o=kd)=>{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&&(!k&&(x||Jc(y))||cd(y)&&!y||w&&!tf(l).isValid||S&&!of(l).isValid)){const{value:e,message:t}=Dd(s)?{value:!!s,message:s}:vf(s);if(e&&(C[m]={type:Ed,message:t,ref:b,...E(Ed,t)},!r))return _(t),C}if(!(x||Jc(d)&&Jc(f))){let e,t;const n=vf(f),o=vf(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;Dd(n.value)&&y&&(e=l?i(y)>i(n.value):s?y>n.value:r>new Date(n.value)),Dd(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,Cd,Sd),!r))return _(C[m].message),C}if((u||c)&&!x&&(Dd(y)||i&&Array.isArray(y))){const e=vf(u),t=vf(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&&!x&&Dd(y)){const{value:e,message:t}=vf(p);if(lf(e)&&!y.match(e)&&(C[m]={type:xd,message:t,ref:a,...E(xd,t)},!r))return _(t),C}if(h)if(dd(h)){const e=gf(await h(y,n),b);if(e&&(C[m]={...e,...E(Fd,e.message)},!r))return _(e.message),C}else if(ed(h)){let e={};for(const t in h){if(!Ud(e)&&!r)break;const o=gf(await h[t](y,n),b,t);o&&(e={...o,...E(t,o.message)},_(o.message),r&&(C[m]=e))}if(!Ud(e)&&(C[m]={ref:b,...e},!r))return C}return _(!0),C};const bf={mode:yd,reValidateMode:vd,shouldFocusError:!0};function _f(e={}){let t,n={...bf,...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},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:Vd(),state:Vd()},h=n.criteriaMode===_d,m=async e=>{if(!l.keepIsValid&&!n.disabled&&(d.isValid||f.isValid||e)){let e;n.resolver?(e=Ud((await _()).errors),g()):e=await C(o,!0),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):Qd(r.validatingFields,e))}),p.state.next({validatingFields:r.validatingFields,isValidating:!Ud(r.validatingFields)}))},v=(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:af(s._f)):k(e,o),l.mount&&!l.action&&m()}},y=(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=S(),s=u!==c.isDirty);const n=Ad(ud(i,e),t);u=!!ud(r.dirtyFields,e),n?Qd(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:{}},b=(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):Qd(r.errors,e)),(i?!Ad(l,i):l)||!Ud(a)||s){const t={...a,...s&&cd(o)?{isValid:o}:{},errors:r.errors,name:e};r={...r,...t},p.state.next(t)}},_=async e=>{g(e,!0);const t=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));return t},C=async(t,o,i={valid:!0})=>{for(const l in t){const u=t[l];if(u){const{_f:t,...l}=u;if(t){const l=s.array.has(t.name),c=u._f&&df(u._f);c&&d.validatingFields&&g([t.name],!0);const f=await yf(u,s.disabled,a,h,n.shouldUseNativeValidation&&!o,l);if(c&&d.validatingFields&&g([t.name]),f[t.name]&&(i.valid=!1,o||e.shouldUseNativeValidation))break;!o&&(ud(f,t.name)?l?mf(r.errors,f,t.name):fd(r.errors,t.name,f[t.name]):Qd(r.errors,t.name))}!Ud(l)&&await C(l,o,i)}}return i.valid},S=(e,t)=>!n.disabled&&(e&&t&&fd(a,e,t),!Ad(P(),i)),w=(e,t,n)=>Md(e,s,{...l.mount?a:ad(t)?i:Dd(e)?{[e]:t}:t},n,t),k=(e,t,n={})=>{const r=ud(o,e);let i=t;if(r){const n=r._f;n&&(!n.disabled&&fd(a,e,nf(t,n)),i=Kd(n.ref)&&Jc(t)?"":t,qd(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):jd(n.ref)?n.ref.value="":(n.ref.value=i,n.ref.type||p.state.next({name:e,values:od(a)})))}(n.shouldDirty||n.shouldTouch)&&y(e,i,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&T(e)},x=(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)?x(a,i,n):k(a,i,n)}},E=(e,t,n={})=>{const u=ud(o,e),c=s.array.has(e),h=od(t);fd(a,e,h),c?(p.array.next({name:e,values:od(a)}),(d.isDirty||d.dirtyFields||f.isDirty||f.dirtyFields)&&n.shouldDirty&&p.state.next({name:e,dirtyFields:Jd(i,a),isDirty:S(e,h)})):!u||u._f||Jc(h)?k(e,h,n):x(e,h,n),ff(e,s)?p.state.next({...r,name:e,values:od(a)}):p.state.next({name:l.mount?e:void 0,values:od(a)})},F=async e=>{l.mount=!0;const i=e.target;let u=i.name,c=!0;const v=ud(o,u),S=e=>{c=Number.isNaN(e)||Yc(e)&&isNaN(e.getTime())||Ad(e,ud(a,u,e))},w=uf(n.mode),k=uf(n.reValidateMode);if(v){let l,E;const F=i.type?af(v._f):td(e),I=e.type===pd||e.type===hd,P=!((x=v._f).mount&&(x.required||x.min||x.max||x.maxLength||x.minLength||x.pattern||x.validate)||n.resolver||ud(r.errors,u)||v._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))(I,ud(r.touchedFields,u),r.isSubmitted,k,w),R=ff(u,s,I);fd(a,u,F),I?i&&i.readOnly||(v._f.onBlur&&v._f.onBlur(e),t&&t(0)):v._f.onChange&&v._f.onChange(e);const D=y(u,F,I),M=!Ud(D)||R;if(!I&&p.state.next({name:u,type:e.type,values:od(a)}),P)return(d.isValid||f.isValid)&&("onBlur"===n.mode?I&&m():I||m()),M&&p.state.next({name:u,...R?{}:D});if(!I&&R&&p.state.next({...r}),n.resolver){const{errors:e}=await _([u]);if(g([u]),S(F),c){const t=hf(r.errors,o,u),n=hf(e,o,t.name||u);l=n.error,u=n.name,E=Ud(e)}}else g([u],!0),l=(await yf(v,s.disabled,a,h,n.shouldUseNativeValidation))[u],g([u]),S(F),c&&(l?E=!1:(d.isValid||f.isValid)&&(E=await C(o,!0)));c&&(v._f.deps&&(!Array.isArray(v._f.deps)||v._f.deps.length>0)&&T(v._f.deps),b(u,E,l,D))}var x},I=(e,t)=>{if(ud(r.errors,t)&&e.focus)return e.focus(),1},T=async(e,t={})=>{let i,a;const l=Hd(e);if(n.resolver){const t=await(async e=>{const{errors:t}=await _(e);if(g(e),e)for(const n of e){const e=ud(t,n);e?fd(r.errors,n,e):Qd(r.errors,n)}else r.errors=t;return t})(ad(e)?e:l);i=Ud(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 C(t&&t._f?{[e]:t}:t)}))).every(Boolean),(a||r.isValid)&&m()):a=i=await C(o);return p.state.next({...!Dd(e)||(d.isValid||f.isValid)&&i!==r.isValid?{}:{name:e},...n.resolver||!e?{isValid:i}:{},errors:r.errors}),t.shouldFocus&&!a&&pf(o,I,e?l:s.mount),a},P=(e,t)=>{let n={...l.mount?a:i};return t&&(n=Wd(t.dirtyFields?r.dirtyFields:r.touchedFields,n)),ad(e)?n:Dd(e)?ud(n,e):e.map(e=>ud(n,e))},R=(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)}),D=(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()},M=e=>p.state.subscribe({next:t=>{var n,o,l;n=e.name,o=t.name,l=e.exact,n&&o&&n!==o&&!Hd(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 Ud(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(e=>t[e]===(!r||_d))})(t,e.formState||d,V,e.reRenderRoot)||e.callback({values:{...a},...r,...t,defaultValues:i})}}).unsubscribe,O=(e,t={})=>{for(const l of e?Hd(e):s.mount)s.mount.delete(l),s.array.delete(l),t.keepValue||(Qd(o,l),Qd(a,l)),!t.keepError&&Qd(r.errors,l),!t.keepDirty&&Qd(r.dirtyFields,l),!t.keepTouched&&Qd(r.touchedFields,l),!t.keepIsValidating&&Qd(r.validatingFields,l),!n.shouldUnregister&&!t.keepDefaultValue&&Qd(i,l);p.state.next({values:od(a)}),p.state.next({...r,...t.keepDirty?{isDirty:S()}:{}}),!t.keepIsValid&&m()},A=({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()}},L=(e,t={})=>{let r=ud(o,e);const a=cd(t.disabled)||cd(n.disabled);return fd(o,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),s.mount.add(e),r?A({disabled:cd(t.disabled)?t.disabled:n.disabled,name:e}):v(e,!0,t.value),{...a?{disabled:t.disabled||n.disabled}:{},...n.progressive?{required:!!t.required,min:sf(t.min),max:sf(t.max),minLength:sf(t.minLength),maxLength:sf(t.maxLength),pattern:sf(t.pattern)}:{},name:e,onChange:F,onBlur:F,ref:a=>{if(a){L(e,t),r=ud(o,e);const n=ad(a.value)&&a.querySelectorAll&&a.querySelectorAll("input,select,textarea")[0]||a,l=(e=>Gd(e)||Zc(e))(n),s=r._f.refs||[];if(l?s.find(e=>e===n):n===r._f.ref)return;fd(o,e,{_f:{...r._f,...l?{refs:[...s.filter($d),n,...Array.isArray(ud(i,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),v(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)}}},N=()=>n.shouldFocusError&&pf(o,I,s.mount),B=(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 _();g(),r.errors=e,u=od(t)}else await C(o);if(s.disabled.size)for(const e of s.disabled)Qd(u,e);if(Qd(r.errors,"root"),Ud(r.errors)){p.state.next({errors:{}});try{await e(u,i)}catch(e){l=e}}else t&&await t({...r.errors},i),N(),setTimeout(N);if(p.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Ud(r.errors)&&!l,submitCount:r.submitCount+1,errors:r.errors}),l)throw l},z=(e,t={})=>{const u=e?od(e):i,c=od(u),f=Ud(e),h=f?i:c;if(t.keepDefaultValues||(i=u),!t.keepValues){if(t.keepDirtyValues){const e=new Set([...s.mount,...Object.keys(Jd(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)||E(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(Kd(e)){const t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(const e of s.mount)E(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,disabled:new Set,watch:new Set,watchAll:!1,focus:""},l.mount=!d.isValid||!!t.keepIsValid||!!t.keepDirtyValues||!n.shouldUnregister&&!Ud(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||Ad(e,i))),isSubmitted:!!t.keepIsSubmitted&&r.isSubmitted,dirtyFields:f?{}:t.keepDirtyValues?t.keepDefaultValues&&a?Jd(i,a):r.dirtyFields:t.keepDefaultValues&&e?Jd(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})},H=(e,t)=>z(dd(e)?e(a):e,{...n.resetOptions,...t}),V=e=>{r={...r,...e}},W={control:{register:L,unregister:O,getFieldState:R,handleSubmit:B,setError:D,_subscribe:M,_runSchema:_,_updateIsValidating:g,_focusError:N,_getWatch:w,_getDirty:S,_setValid:m,_setFieldArray:(e,t=[],s,u,c=!0,h=!0)=>{if(u&&s&&!n.disabled){if(l.action=!0,h&&Array.isArray(ud(o,e))){const t=s(ud(o,e),u.argA,u.argB);c&&fd(o,e,t)}if(h&&Array.isArray(ud(r.errors,e))){const t=s(ud(r.errors,e),u.argA,u.argB);c&&fd(r.errors,e,t),((e,t)=>{!ld(ud(e,t)).length&&Qd(e,t)})(r.errors,e)}if((d.touchedFields||f.touchedFields)&&h&&Array.isArray(ud(r.touchedFields,e))){const t=s(ud(r.touchedFields,e),u.argA,u.argB);c&&fd(r.touchedFields,e,t)}(d.dirtyFields||f.dirtyFields)&&(r.dirtyFields=Jd(i,a)),p.state.next({name:e,isDirty:S(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else fd(a,e,t)},_setDisabledField:A,_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:z,_resetDefaultValues:()=>dd(n.defaultValues)&&n.defaultValues().then(e=>{H(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=>!$d(e)):!$d(t._f.ref))&&O(e)}s.unMount=new Set},_disableForm:e=>{cd(e)&&(p.state.next({disabled:e}),pf(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},M({...e,formState:{...c,...e.formState}})),trigger:T,register:L,handleSubmit:B,watch:(e,t)=>dd(e)?p.state.subscribe({next:n=>"values"in n&&e(w(void 0,t),n)}):w(e,t,!0),setValue:E,getValues:P,reset:H,resetField:(e,t={})=>{ud(o,e)&&(ad(t.defaultValue)?E(e,od(ud(i,e))):(E(e,t.defaultValue),fd(i,e,od(t.defaultValue))),t.keepTouched||Qd(r.touchedFields,e),t.keepDirty||(Qd(r.dirtyFields,e),r.isDirty=t.defaultValue?S(e,od(ud(i,e))):S()),t.keepError||(Qd(r.errors,e),d.isValid&&m()),p.state.next({...r}))},clearErrors:e=>{e&&Hd(e).forEach(e=>Qd(r.errors,e)),p.state.next({errors:e?r.errors:{}})},unregister:O,setError:D,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:R};return{...W,formControl:W}}var Cf,Sf;e.FormModel=void 0,(Cf=e.FormModel||(e.FormModel={})).FirstName="firstName",Cf.LastName="lastName",Cf.Email="email",Cf.JobRole="jobRole",Cf.CustomerPartnerName="customerPartnerName",Cf.CustomerPartnerMail="customerPartnerMail",Cf.IsSharedMail="isSharedMail",Cf.IsConsented="isConsented",Cf.ConsentedDate="consentedDate",Cf.CompanyName="companyName",Cf.CompanySize="orgSizingId",Cf.Country="countryCode",Cf.PreferredLanguage="preferredLanguage",Cf.HearAbout="knownProductFrom",Cf.Partner="partner",Cf.PerfromedByPartner="perfromedByPartner",Cf.UserObjectId="userObjectId",Cf.OrgIndustryId="orgIndustryId",e.FormType=void 0,(Sf=e.FormType||(e.FormType={})).Text="text",Sf.AsyncText="asyncText",Sf.Dropdown="dropdown",Sf.ComboBox="combobox",Sf.CheckBox="checkbox";const wf={theme:{backgroundColor:"#FCFCFF",fonts:{family:"Proxima Nova, sans-serif",sizes:{heading:36,subheading:18,body:16}}}};var kf={exports:{}};
|
|
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:{}};
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Lodash <https://lodash.com/>
|
|
@@ -25,5 +25,5 @@ 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]",S="[object Function]",w="[object GeneratorFunction]",k="[object Map]",x="[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=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",ke="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xe="\\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="["+we+"]",De="["+Te+"]",Me="["+ke+"]",Oe="\\d+",Ae="["+xe+"]",Le="["+Ee+"]",Ne="[^"+we+Te+Oe+xe+Ee+Fe+"]",Be="\\ud83c[\\udffb-\\udfff]",ze="[^"+we+"]",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+we+ke+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[S]=lt[k]=lt[x]=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[k]=st[x]=st[E]=st[I]=st[T]=st[P]=st[R]=st[H]=st[V]=st[W]=st[U]=!0,st[C]=st[S]=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&>.exports===mt,yt=vt&&ft.process,bt=function(){try{var e=gt&>.require&>.require("util").types;return e||yt&&yt.binding&&yt.binding("util")}catch(e){}}(),_t=bt&&bt.isArrayBuffer,Ct=bt&&bt.isDate,St=bt&&bt.isMap,wt=bt&&bt.isRegExp,kt=bt&&bt.isSet,xt=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({"&":"&","<":"<",">":">",'"':""","'":"'"});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({"&":"&","<":"<",">":">",""":'"',"'":"'"});var vn=function e(t){var n,ae=(t=null==t?ht:vn.defaults(ht.Object(),t,vn.pick(ht,it))).Array,we=t.Date,ke=t.Error,xe=t.Function,Ee=t.Math,Fe=t.Object,Ie=t.RegExp,Te=t.String,Pe=t.TypeError,Re=ae.prototype,De=xe.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=we&&we.now!==ht.Date.now&&we.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=we.now,Sn=t.parseInt,wn=Ee.random,kn=Re.reverse,xn=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(xn),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==S||f==w;if(Qa(e))return xo(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 k:return new r;case x: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(Sr,!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 Sr(e,t){return e&&_r(e,t,Dl)}function wr(e,t){return Rt(t,function(t){return Ja(e[t])})}function kr(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 xr(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 x:return Va(+e,+t);case C:return e.name==t.name&&e.message==t.message;case I:case P:return e==t+"";case k: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,S=m?t.value():t;return a||(a=new Zn),i(g,S,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,S=t.constructor;C==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof C&&C instanceof C&&"function"==typeof S&&S instanceof S||(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(!xi(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=xi(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 Si(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=xo(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 kr(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=kr(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(wn()*(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(var o=null==e||"object"!=typeof e&&"function"!=typeof e;++n<r;){var i=t[n];if("string"==typeof i){if("__proto__"===i&&!Le.call(e,"__proto__"))return!1;if("constructor"===i&&n+1<r&&"string"==typeof t[n+1]&&"prototype"===t[n+1]){if(o&&0===n)continue;return!1}}}var a=Ti(e,t);return null==a||delete a[Bi(Yi(t))]}function ho(e,t,n,r){return eo(e,t,n(kr(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:Si(e,t)?[e]:Ni(bl(e))}var So=Yr;function wo(e,t,n){var o=e.length;return n=n===r?o:n,!t&&n>=o?e:oo(e,t,n)}var ko=ut||function(e){return ht.clearTimeout(e)};function xo(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?wo(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&&wi(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[si(c[0])].apply(s,c[3]):1==l.length&&wi(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),S=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-=S,m&&y<d){var w=cn(b,C);return Qo(e,t,Wo,c.placeholder,n,b,w,s,u,d-y)}var k=p?n:this,x=h?k[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&&(x=v||zo(x)),x.apply(k,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)?wo(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 wi(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==k?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)S=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 S=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)(S,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 xr(e,Dl,hi)}function ai(e){return xr(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||xi(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 Si(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 wi(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]}(xn&&gi(new xn(new ArrayBuffer(1)))!=O||En&&gi(new En)!=k||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 k;case An:return F;case Ln:return T;case Nn:return D}return t});var ki=Oe?Ja:vs;function xi(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:kr(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:kn.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 Sa=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}),wa=Mo(function(e,t,n){ar(e,n,t)});function ka(e,t){return(Ka(e)?Ot:Hr)(e,ci(t,3))}var xa=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 ko(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&&ko(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=So(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==S||t==w||"[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=St?Jt(St):function(e){return nl(e)&&gi(e)==k};function ol(e){return"number"==typeof e||nl(e)&&Er(e)==x}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=wt?Jt(wt):function(e){return nl(e)&&Er(e)==I};var ll=kt?Jt(kt):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=xt?Jt(xt):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==k?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(xi(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)}),Sl=Oo(function(e,t,n,r){Do(t,Ml(t),e,r)}),wl=Oo(function(e,t,n,r){Do(t,Dl(t),e,r)}),kl=oi(lr);var xl=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:kr(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 ke(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=wr(t,r);null!=n||tl(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=wr(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 Si(e)?qt(Bi(e)):function(e){return function(t){return kr(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 Ss,ws=jo(function(e,t){return e*t},1),ks=Zo("round"),xs=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=Sl,Vn.assignWith=wl,Vn.at=kl,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=xl,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(ka(e,t),1)},Vn.flatMapDeep=function(e,t){return yr(ka(e,t),f)},Vn.flatMapDepth=function(e,t,n){return n=n===r?1:ml(n),yr(ka(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];r[o[0]]=o[1]}return r},Vn.functions=function(e){return null==e?[]:wr(e,Dl(e))},Vn.functionsIn=function(e){return null==e?[]:wr(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=Sa,Vn.iteratee=is,Vn.keyBy=wa,Vn.keys=Dl,Vn.keysIn=Ml,Vn.map=ka,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=xa,Vn.pick=Nl,Vn.pickBy=Bl,Vn.property=ps,Vn.propertyOf=function(e){return function(t){return null==e?r:kr(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)?wo(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=wo(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=Sl,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),Sr)},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&&Sr(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==k||t==T)return!e.size;if(xi(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(ki(e))throw new ke("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=ws,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),Sn(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=wn();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=ks,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==k||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=xs,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,a,l=Sl({},t.imports,o.imports,ei),s=Dl(l),u=Xt(l,s),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,l,s){return r||(r=o),f+=e.slice(c,s).replace(Se,an),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),l&&(a=!0,f+="';\n"+l+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=s+t.length,t}),f+="';\n";var m=Le.call(t,"variable")&&t.variable;if(m){if(de.test(m))throw new ke("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(j,""):f).replace(K,"$1").replace(q,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var g=Xl(function(){return xe(s,h+"return "+f).apply(r,u)});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 wo(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 wo(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 wo(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?wo(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,(Ss={},Cr(Vn,function(e,t){Le.call(Vn.prototype,t)||(Ss[t]=e)}),Ss),{chain:!1}),Vn.VERSION="4.17.23",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)}(kf,kf.exports);var xf=n(kf.exports);const Ef=e=>z.useMemo(()=>xf.merge({},wf,e),[e]);function Ff(e,t){return function(){return e.apply(t,arguments)}}const{toString:If}=Object.prototype,{getPrototypeOf:Tf}=Object,{iterator:Pf,toStringTag:Rf}=Symbol,Df=(Mf=Object.create(null),e=>{const t=If.call(e);return Mf[t]||(Mf[t]=t.slice(8,-1).toLowerCase())});var Mf;const Of=e=>(e=e.toLowerCase(),t=>Df(t)===e),Af=e=>t=>typeof t===e,{isArray:Lf}=Array,Nf=Af("undefined");function Bf(e){return null!==e&&!Nf(e)&&null!==e.constructor&&!Nf(e.constructor)&&Vf(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const zf=Of("ArrayBuffer");const Hf=Af("string"),Vf=Af("function"),Wf=Af("number"),Uf=e=>null!==e&&"object"==typeof e,jf=e=>{if("object"!==Df(e))return!1;const t=Tf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Rf in e||Pf in e)},Kf=Of("Date"),qf=Of("File"),Gf=Of("Blob"),$f=Of("FileList"),Qf=Of("URLSearchParams"),[Zf,Yf,Jf,Xf]=["ReadableStream","Request","Response","Headers"].map(Of);function ep(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),Lf(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Bf(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 tp(e,t){if(Bf(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 np="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,rp=e=>!Nf(e)&&e!==np;const op=(ip="undefined"!=typeof Uint8Array&&Tf(Uint8Array),e=>ip&&e instanceof ip);var ip;const ap=Of("HTMLFormElement"),lp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),sp=Of("RegExp"),up=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ep(n,(n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)};const cp=Of("AsyncFunction"),dp=(fp="function"==typeof setImmediate,pp=Vf(np.postMessage),fp?setImmediate:pp?(hp=`axios@${Math.random()}`,mp=[],np.addEventListener("message",({source:e,data:t})=>{e===np&&t===hp&&mp.length&&mp.shift()()},!1),e=>{mp.push(e),np.postMessage(hp,"*")}):e=>setTimeout(e));var fp,pp,hp,mp;const gp="undefined"!=typeof queueMicrotask?queueMicrotask.bind(np):"undefined"!=typeof process&&process.nextTick||dp;var vp={isArray:Lf,isArrayBuffer:zf,isBuffer:Bf,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Vf(e.append)&&("formdata"===(t=Df(e))||"object"===t&&Vf(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&zf(e.buffer),t},isString:Hf,isNumber:Wf,isBoolean:e=>!0===e||!1===e,isObject:Uf,isPlainObject:jf,isEmptyObject:e=>{if(!Uf(e)||Bf(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:Zf,isRequest:Yf,isResponse:Jf,isHeaders:Xf,isUndefined:Nf,isDate:Kf,isFile:qf,isBlob:Gf,isRegExp:sp,isFunction:Vf,isStream:e=>Uf(e)&&Vf(e.pipe),isURLSearchParams:Qf,isTypedArray:op,isFileList:$f,forEach:ep,merge:function e(){const{caseless:t,skipUndefined:n}=rp(this)&&this||{},r={},o=(o,i)=>{const a=t&&tp(r,i)||i;jf(r[a])&&jf(o)?r[a]=e(r[a],o):jf(o)?r[a]=e({},o):Lf(o)?r[a]=o.slice():n&&Nf(o)||(r[a]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&ep(arguments[e],o);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(ep(t,(t,r)=>{n&&Vf(t)?Object.defineProperty(e,r,{value:Ff(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&&Tf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Df,kindOfTest:Of,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(Lf(e))return e;let t=e.length;if(!Wf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Pf]).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:ap,hasOwnProperty:lp,hasOwnProp:lp,reduceDescriptors:up,freezeMethods:e=>{up(e,(t,n)=>{if(Vf(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];Vf(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 Lf(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:tp,global:np,isContextDefined:rp,isSpecCompliantForm:function(e){return!!(e&&Vf(e.append)&&"FormData"===e[Rf]&&e[Pf])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(Uf(e)){if(t.indexOf(e)>=0)return;if(Bf(e))return e;if(!("toJSON"in e)){t[r]=e;const o=Lf(e)?[]:{};return ep(e,(e,t)=>{const i=n(e,r+1);!Nf(i)&&(o[t]=i)}),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:cp,isThenable:e=>e&&(Uf(e)||Vf(e))&&Vf(e.then)&&Vf(e.catch),setImmediate:dp,asap:gp,isIterable:e=>null!=e&&Vf(e[Pf])};class yp extends Error{static from(e,t,n,r,o,i){const a=new yp(e.message,t||e.code,n,r,o);return a.cause=e,a.name=e.name,i&&Object.assign(a,i),a}constructor(e,t,n,r,o){super(e),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:vp.toJSONObject(this.config),code:this.code,status:this.status}}}yp.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",yp.ERR_BAD_OPTION="ERR_BAD_OPTION",yp.ECONNABORTED="ECONNABORTED",yp.ETIMEDOUT="ETIMEDOUT",yp.ERR_NETWORK="ERR_NETWORK",yp.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",yp.ERR_DEPRECATED="ERR_DEPRECATED",yp.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",yp.ERR_BAD_REQUEST="ERR_BAD_REQUEST",yp.ERR_CANCELED="ERR_CANCELED",yp.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",yp.ERR_INVALID_URL="ERR_INVALID_URL";var bp=yp;function _p(e){return vp.isPlainObject(e)||vp.isArray(e)}function Cp(e){return vp.endsWith(e,"[]")?e.slice(0,-2):e}function Sp(e,t,n){return e?e.concat(t).map(function(e,t){return e=Cp(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const wp=vp.toFlatObject(vp,{},null,function(e){return/^is[A-Z]/.test(e)});function kp(e,t,n){if(!vp.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=vp.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!vp.isUndefined(t[e])})).metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&vp.isSpecCompliantForm(t);if(!vp.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(vp.isDate(e))return e.toISOString();if(vp.isBoolean(e))return e.toString();if(!l&&vp.isBlob(e))throw new bp("Blob is not supported. Use a Buffer instead.");return vp.isArrayBuffer(e)||vp.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,o){let l=e;if(e&&!o&&"object"==typeof e)if(vp.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(vp.isArray(e)&&function(e){return vp.isArray(e)&&!e.some(_p)}(e)||(vp.isFileList(e)||vp.endsWith(n,"[]"))&&(l=vp.toArray(e)))return n=Cp(n),l.forEach(function(e,r){!vp.isUndefined(e)&&null!==e&&t.append(!0===a?Sp([n],r,i):null===a?n:n+"[]",s(e))}),!1;return!!_p(e)||(t.append(Sp(o,n,i),s(e)),!1)}const c=[],d=Object.assign(wp,{defaultVisitor:u,convertValue:s,isVisitable:_p});if(!vp.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!vp.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),vp.forEach(n,function(n,i){!0===(!(vp.isUndefined(n)||null===n)&&o.call(t,n,vp.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])}),c.pop()}}(e),t}function xp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Ep(e,t){this._pairs=[],e&&kp(e,this,t)}const Fp=Ep.prototype;function Ip(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Tp(e,t,n){if(!t)return e;const r=n&&n.encode||Ip,o=vp.isFunction(n)?{serialize:n}:n,i=o&&o.serialize;let a;if(a=i?i(t,o):vp.isURLSearchParams(t)?t.toString():new Ep(t,o).toString(r),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}Fp.append=function(e,t){this._pairs.push([e,t])},Fp.toString=function(e){const t=e?function(t){return e.call(this,t,xp)}:xp;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var Pp=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){vp.forEach(this.handlers,function(t){null!==t&&e(t)})}},Rp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dp={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Ep,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Mp="undefined"!=typeof window&&"undefined"!=typeof document,Op="object"==typeof navigator&&navigator||void 0,Ap=Mp&&(!Op||["ReactNative","NativeScript","NS"].indexOf(Op.product)<0),Lp="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Np=Mp&&window.location.href||"http://localhost";var Bp={...Object.freeze({__proto__:null,hasBrowserEnv:Mp,hasStandardBrowserEnv:Ap,hasStandardBrowserWebWorkerEnv:Lp,navigator:Op,origin:Np}),...Dp};function zp(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&&vp.isArray(r)?r.length:i,l)return vp.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&vp.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&vp.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(vp.isFormData(e)&&vp.isFunction(e.entries)){const n={};return vp.forEachEntry(e,(e,r)=>{t(function(e){return vp.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null}const Hp={transitional:Rp,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=vp.isObject(e);o&&vp.isHTMLForm(e)&&(e=new FormData(e));if(vp.isFormData(e))return r?JSON.stringify(zp(e)):e;if(vp.isArrayBuffer(e)||vp.isBuffer(e)||vp.isStream(e)||vp.isFile(e)||vp.isBlob(e)||vp.isReadableStream(e))return e;if(vp.isArrayBufferView(e))return e.buffer;if(vp.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 kp(e,new Bp.classes.URLSearchParams,{visitor:function(e,t,n,r){return Bp.isNode&&vp.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=vp.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return kp(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(vp.isString(e))try{return(t||JSON.parse)(e),vp.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Hp.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(vp.isResponse(e)||vp.isReadableStream(e))return e;if(e&&vp.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 bp.from(e,bp.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:Bp.classes.FormData,Blob:Bp.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};vp.forEach(["delete","get","head","post","put","patch"],e=>{Hp.headers[e]={}});var Vp=Hp;const Wp=vp.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 Up=Symbol("internals");function jp(e){return e&&String(e).trim().toLowerCase()}function Kp(e){return!1===e||null==e?e:vp.isArray(e)?e.map(Kp):String(e)}function qp(e,t,n,r,o){return vp.isFunction(r)?r.call(this,t,n):(o&&(t=n),vp.isString(t)?vp.isString(r)?-1!==t.indexOf(r):vp.isRegExp(r)?r.test(t):void 0:void 0)}class Gp{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=vp.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Kp(e))}const i=(e,t)=>vp.forEach(e,(e,n)=>o(e,n,t));if(vp.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(vp.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]&&Wp[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(vp.isObject(e)&&vp.isIterable(e)){let n,r,o={};for(const t of e){if(!vp.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?vp.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=vp.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(vp.isFunction(t))return t.call(this,e,n);if(vp.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=jp(e)){const n=vp.findKey(this,e);return!(!n||void 0===this[n]||t&&!qp(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=vp.findKey(n,e);!o||t&&!qp(0,n[o],o,t)||(delete n[o],r=!0)}}return vp.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&&!qp(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return vp.forEach(this,(r,o)=>{const i=vp.findKey(n,o);if(i)return t[i]=Kp(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]=Kp(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return vp.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&vp.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[Up]=this[Up]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=jp(e);t[r]||(!function(e,t){const n=vp.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 vp.isArray(e)?e.forEach(r):r(e),this}}Gp.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),vp.reduceDescriptors(Gp.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),vp.freezeMethods(Gp);var $p=Gp;function Qp(e,t){const n=this||Vp,r=t||n,o=$p.from(r.headers);let i=r.data;return vp.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Zp(e){return!(!e||!e.__CANCEL__)}var Yp=class extends bp{constructor(e,t,n){super(null==e?"canceled":e,bp.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function Jp(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new bp("Request failed with status code "+n.status,[bp.ERR_BAD_REQUEST,bp.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Xp=(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)},eh=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},th=e=>(...t)=>vp.asap(()=>e(...t));var nh=Bp.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Bp.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Bp.origin),Bp.navigator&&/(msie|trident)/i.test(Bp.navigator.userAgent)):()=>!0,rh=Bp.hasStandardBrowserEnv?{write(e,t,n,r,o,i,a){if("undefined"==typeof document)return;const l=[`${e}=${encodeURIComponent(t)}`];vp.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),vp.isString(r)&&l.push(`path=${r}`),vp.isString(o)&&l.push(`domain=${o}`),!0===i&&l.push("secure"),vp.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 oh(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const ih=e=>e instanceof $p?{...e}:e;function ah(e,t){t=t||{};const n={};function r(e,t,n,r){return vp.isPlainObject(e)&&vp.isPlainObject(t)?vp.merge.call({caseless:r},e,t):vp.isPlainObject(t)?vp.merge({},t):vp.isArray(t)?t.slice():t}function o(e,t,n,o){return vp.isUndefined(t)?vp.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!vp.isUndefined(t))return r(void 0,t)}function a(e,t){return vp.isUndefined(t)?vp.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(ih(e),ih(t),0,!0)};return vp.forEach(Object.keys({...e,...t}),function(r){const i=s[r]||o,a=i(e[r],t[r],r);vp.isUndefined(a)&&i!==l||(n[r]=a)}),n}var lh=e=>{const t=ah({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:l}=t;if(t.headers=a=$p.from(a),t.url=Tp(oh(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),vp.isFormData(n))if(Bp.hasStandardBrowserEnv||Bp.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(vp.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(Bp.hasStandardBrowserEnv&&(r&&vp.isFunction(r)&&(r=r(t)),r||!1!==r&&nh(t.url))){const e=o&&i&&rh.read(i);e&&a.set(o,e)}return t};var sh="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=lh(e);let o=r.data;const i=$p.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=$p.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Jp(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 bp("Request aborted",bp.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new bp(r,bp.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||Rp;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new bp(t,o.clarifyTimeoutError?bp.ETIMEDOUT:bp.ECONNABORTED,e,m)),m=null},void 0===o&&i.setContentType(null),"setRequestHeader"in m&&vp.forEach(i.toJSON(),function(e,t){m.setRequestHeader(t,e)}),vp.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),p&&([s,c]=Xp(p,!0),m.addEventListener("progress",s)),f&&m.upload&&([l,u]=Xp(f),m.upload.addEventListener("progress",l),m.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(a=t=>{m&&(n(!t||t.type?new Yp(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===Bp.protocols.indexOf(v)?n(new bp("Unsupported protocol "+v+":",bp.ERR_BAD_REQUEST,e)):m.send(o||null)})};var uh=(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 bp?t:new Yp(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new bp(`timeout of ${t}ms exceeded`,bp.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=()=>vp.asap(a),l}};const ch=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},dh=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()}},fh=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of dh(e))yield*ch(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:ph}=vp,hh=(({Request:e,Response:t})=>({Request:e,Response:t}))(vp.global),{ReadableStream:mh,TextEncoder:gh}=vp.global,vh=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},yh=e=>{e=vp.merge.call({skipUndefined:!0},hh,e);const{fetch:t,Request:n,Response:r}=e,o=t?ph(t):"function"==typeof fetch,i=ph(n),a=ph(r);if(!o)return!1;const l=o&&ph(mh),s=o&&("function"==typeof gh?(u=new gh,e=>u.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var u;const c=i&&l&&vh(()=>{let e=!1;const t=new n(Bp.origin,{body:new mh,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),d=a&&l&&vh(()=>vp.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 bp(`Response type '${e}' is not supported`,bp.ERR_NOT_SUPPORT,n)})});const p=async(e,t)=>{const r=vp.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(vp.isBlob(e))return e.size;if(vp.isSpecCompliantForm(e)){const t=new n(Bp.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return vp.isArrayBufferView(e)||vp.isArrayBuffer(e)?e.byteLength:(vp.isURLSearchParams(e)&&(e+=""),vp.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:_}=lh(e),C=t||fetch;v=v?(v+"").toLowerCase():"text";let S=uh([s,u&&u.toAbortSignal()],h),w=null;const k=S&&S.unsubscribe&&(()=>{S.unsubscribe()});let x;try{if(g&&c&&"get"!==a&&"head"!==a&&0!==(x=await p(y,l))){let e,t=new n(o,{method:"POST",body:l,duplex:"half"});if(vp.isFormData(l)&&(e=t.headers.get("content-type"))&&y.setContentType(e),t.body){const[e,n]=eh(x,Xp(th(g)));l=fh(t.body,65536,e,n)}}vp.isString(b)||(b=b?"include":"omit");const t=i&&"credentials"in n.prototype,s={..._,signal:S,method:a.toUpperCase(),headers:y.normalize().toJSON(),body:l,duplex:"half",credentials:t?b:void 0};w=i&&new n(o,s);let u=await(i?C(w,_):C(o,s));const h=d&&("stream"===v||"response"===v);if(d&&(m||h&&k)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=u[t]});const t=vp.toFiniteNumber(u.headers.get("content-length")),[n,o]=m&&eh(t,Xp(th(m),!0))||[];u=new r(fh(u.body,65536,n,()=>{o&&o(),k&&k()}),e)}v=v||"text";let E=await f[vp.findKey(f,v)||"text"](u,e);return!h&&k&&k(),await new Promise((t,n)=>{Jp(t,n,{data:E,headers:$p.from(u.headers),status:u.status,statusText:u.statusText,config:e,request:w})})}catch(t){if(k&&k(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new bp("Network Error",bp.ERR_NETWORK,e,w),{cause:t.cause||t});throw bp.from(t,t&&t.code,e,w)}}},bh=new Map,_h=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=bh;for(;s--;)a=i[s],l=u.get(a),void 0===l&&u.set(a,l=s?new Map:yh(t)),u=l;return l};_h();const Ch={http:null,xhr:sh,fetch:{get:_h}};vp.forEach(Ch,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const Sh=e=>`- ${e}`,wh=e=>vp.isFunction(e)||null===e||!1===e;var kh={getAdapter:function(e,t){e=vp.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,!wh(r)&&(o=Ch[(n=String(r)).toLowerCase()],void 0===o))throw new bp(`Unknown adapter '${n}'`);if(o&&(vp.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(Sh).join("\n"):" "+Sh(e[0]):"as no adapter specified";throw new bp("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o},adapters:Ch};function xh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Yp(null,e)}function Eh(e){xh(e),e.headers=$p.from(e.headers),e.data=Qp.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return kh.getAdapter(e.adapter||Vp.adapter,e)(e).then(function(t){return xh(e),t.data=Qp.call(e,e.transformResponse,t),t.headers=$p.from(t.headers),t},function(t){return Zp(t)||(xh(e),t&&t.response&&(t.response.data=Qp.call(e,e.transformResponse,t.response),t.response.headers=$p.from(t.response.headers))),Promise.reject(t)})}const Fh="1.13.4",Ih={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ih[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Th={};Ih.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Fh+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new bp(r(o," has been removed"+(t?" in "+t:"")),bp.ERR_DEPRECATED);return t&&!Th[o]&&(Th[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)}},Ih.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var Ph={assertOptions:function(e,t,n){if("object"!=typeof e)throw new bp("options must be an object",bp.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 bp("option "+i+" must be "+n,bp.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new bp("Unknown option "+i,bp.ERR_BAD_OPTION)}},validators:Ih};const Rh=Ph.validators;class Dh{constructor(e){this.defaults=e||{},this.interceptors={request:new Pp,response:new Pp}}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=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=ah(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Ph.assertOptions(n,{silentJSONParsing:Rh.transitional(Rh.boolean),forcedJSONParsing:Rh.transitional(Rh.boolean),clarifyTimeoutError:Rh.transitional(Rh.boolean)},!1),null!=r&&(vp.isFunction(r)?t.paramsSerializer={serialize:r}:Ph.assertOptions(r,{encode:Rh.function,serialize:Rh.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Ph.assertOptions(t,{baseUrl:Rh.spelling("baseURL"),withXsrfToken:Rh.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&vp.merge(o.common,o[t.method]);o&&vp.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=$p.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,a.unshift(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=[Eh.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=Eh.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 Tp(oh((e=ah(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}vp.forEach(["delete","get","head","options"],function(e){Dh.prototype[e]=function(t,n){return this.request(ah(n||{},{method:e,url:t,data:(n||{}).data}))}}),vp.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,o){return this.request(ah(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Dh.prototype[e]=t(),Dh.prototype[e+"Form"]=t(!0)});var Mh=Dh;class Oh{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 Yp(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 Oh(function(t){e=t});return{token:t,cancel:e}}}var Ah=Oh;const Lh={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(Lh).forEach(([e,t])=>{Lh[t]=e});var Nh=Lh;const Bh=function e(t){const n=new Mh(t),r=Ff(Mh.prototype.request,n);return vp.extend(r,Mh.prototype,n,{allOwnKeys:!0}),vp.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(ah(t,n))},r}(Vp);Bh.Axios=Mh,Bh.CanceledError=Yp,Bh.CancelToken=Ah,Bh.isCancel=Zp,Bh.VERSION=Fh,Bh.toFormData=kp,Bh.AxiosError=bp,Bh.Cancel=Bh.CanceledError,Bh.all=function(e){return Promise.all(e)},Bh.spread=function(e){return function(t){return e.apply(null,t)}},Bh.isAxiosError=function(e){return vp.isObject(e)&&!0===e.isAxiosError},Bh.mergeConfig=ah,Bh.AxiosHeaders=$p,Bh.formToJSON=e=>zp(vp.isHTMLForm(e)?new FormData(e):e),Bh.getAdapter=kh.getAdapter,Bh.HttpStatusCode=Nh,Bh.default=Bh;var zh=Bh;const Hh=[{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"}}],Vh={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"}}},Wh="/user/add-from-partner",Uh="/user/validate",jh="/common/country-list",Kh="/app-configuration/maintenance-status",qh="/common/orgsizing-list",Gh="/common/industry-list",$h="/partner/get",Qh="/partner/get-by-guid",Zh="/localization/get";class Yh{constructor(e){this.baseUrl=e.endsWith("/")?e.slice(0,-1):e}getUrl(e){const t=this.baseUrl.includes("localhost")?"":"/api";return`${this.baseUrl}${t}${e}`}async addUser(e,t,n){return new Promise((r,o)=>{zh.post(this.getUrl(`${Wh}?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 zh.get(this.getUrl(Uh),{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(zh.isCancel(e))throw e;throw new Error(e.response?.data?.error||e.message||"Email validation failed")}}async getCountries(){try{const e=await zh.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){throw console.error("Failed to fetch countries:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch countries")}}async checkMaintenanceStatus(){try{const e=await zh.get(this.getUrl(Kh));return!!e.data.isSuccess&&e.data.data}catch(e){return!1}}async getOrgSizes(){try{const e=await zh.get(this.getUrl(qh));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){throw console.error("Failed to fetch org sizes:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch organization sizes")}}async getIndustries(){try{const e=await zh.get(this.getUrl(Gh));if(e.data.isSuccess)return e.data.data;throw new Error(e.data.error||"Failed to fetch industries")}catch(e){throw console.error("Failed to fetch industries:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch industries")}}async getPartnerByDomain(){try{let e=new URL(this.baseUrl).host;e=e.replace(/^(https?:\/\/)/,""),e=e.replace(/^www\./,"");const t=await zh.get(this.getUrl($h),{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 zh.get(this.getUrl(Qh),{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 zh.get(this.getUrl(`${Zh}/${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 Jh=function(e,t){return Jh=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])},Jh(e,t)};function Xh(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}Jh(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var em=function(){return em=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},em.apply(this,arguments)};function tm(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 nm(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 rm(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 om={},im=void 0;try{im=window}catch(dI){}function am(e,t){if(void 0!==im){var n=im.__packages__=im.__packages__||{};if(!n[e]||!om[e])om[e]=t,(n[e]=n[e]||[]).push(t)}}am("@fluentui/set-version","6.0.0");var lm,sm="__global__",um="__shadow_dom_stylesheet__",cm={stylesheetKey:sm,inShadow:!1,window:void 0,__isShadowConfig__:!0},dm=function(e){return!(!e||!function(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}(e))&&!0===e.__isShadowConfig__};function fm(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&&!dm(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 pm(e){lm!==e&&(lm=e)}function hm(){return void 0===lm&&(lm="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),lm}function mm(){return{rtl:hm(),shadowConfig:cm}}lm=hm();var gm,vm=0,ym=1,bm=2,_m="__stylesheet__",Cm="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),Sm={};try{Sm=window||{}}catch(nF){}var wm,km=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=em({injectionMode:"undefined"==typeof document?vm:ym,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(gm=Sm[_m],Sm[um])return Sm[um].getInstance(t);if(!gm||gm._lastStyleElement&&gm._lastStyleElement.ownerDocument!==document){var n=(null==Sm?void 0:Sm.FabricConfig)||{},r=new e(n.mergeStyles,n.serializedStylesheet);gm=r,Sm[_m]=r}return gm},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=em(em({},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=sm);var r=this._config.injectionMode,o=r!==vm?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),o)switch(r){case ym:this._insertRuleIntoSheet(o.sheet,e);break;case bm: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(),Cm||(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}(),xm={};function Em(e,t){var n=e[t];"-"!==n.charAt(0)&&(e[t]=xm[n]=xm[n]||n.replace(/([A-Z])/g,"-$1").toLowerCase())}var Fm={"user-select":1};function Im(e,t){var n=function(){var e;if(!wm){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();wm=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 wm}(),r=e[t];if(Fm[r]){var o=e[t+1];Fm[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 Tm,Pm=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function Rm(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var o=Pm.indexOf(n)>-1,i=n.indexOf("--")>-1,a=o||i?"":"px";e[t+1]="".concat(r).concat(a)}}var Dm="left",Mm="right",Om=((Tm={})[Dm]=Mm,Tm[Mm]=Dm,Tm),Am={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function Lm(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(Dm)>=0)t[n]=r.replace(Dm,Mm);else if(r.indexOf(Mm)>=0)t[n]=r.replace(Mm,Dm);else if(String(o).indexOf(Dm)>=0)t[n+1]=o.replace(Dm,Mm);else if(String(o).indexOf(Mm)>=0)t[n+1]=o.replace(Mm,Dm);else if(Om[r])t[n]=Om[r];else if(Am[o])t[n+1]=Am[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 Nm=/\:global\((.+?)\)/g;function Bm(e){return e.indexOf(":global(")>=0||0===e.indexOf(":")}function zm(e,t){return e.indexOf(":global(")>=0?e.replace(Nm,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function Hm(e,t,n,r,o){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?Vm([r],t,n=n+"{"+e,o):n.indexOf(",")>-1?function(e){if(!Nm.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 Vm([r],t,zm(n,e),o)}):Vm([r],t,zm(n,e),o)}function Vm(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&&Vm(s,t,n,r)}else if(Array.isArray(l))Vm(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)&&Hm(n,t,f,d[f],r)}else"object"==typeof c||Bm(u)?null!=c&&Hm(n,t,u,c,r):void 0!==c&&("margin"===u||"padding"===u?Wm(o,u,c):o[u]=c)}}return t}function Wm(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 Um(e,t){return t<=0?"":1===t?e:e+Um(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)Em(n,o),Rm(n,o),Lm(e,n,o),Im(n,o);for(o=1;o<n.length;o+=4)n.splice(o,1,":",n[o],";");return n.join("")}function Km(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:km.getInstance(e.shadowConfig),i=Vm(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 qm(e,t,n,r){void 0===t&&(t=1);var o=null!=r?r:km.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,Um(".".concat(e.className),t));var f="".concat(d,"{").concat(c,"}").concat(0===d.indexOf("@")?"}":"");o.insertRule(f)}}o.cacheClassName(i,a,l,s)}}function Gm(){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||{};dm(n[0])&&(r.shadowConfig=n[0]);r.stylesheet=km.getInstance(r.shadowConfig);var o=fm(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=Km.apply(void 0,rm([e],t,!1));return r?(qm(r,e.specificityMultiplier,e.shadowConfig,e.stylesheet),r.className):""}(r,a));return i.join(" ")}(e,mm())}function $m(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles&&!dm(e[0]))return e[0];for(var n={},r={},o=0,i=e;o<i.length;o++){var a=i[o];if(a&&!dm(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:rm(rm([],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 $m.apply(void 0,t.map(function(t){return"function"==typeof t?t(e):t}))}}};for(var u in r)p(u)}return n}function Qm(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Zm(e,mm())}function Zm(e,t){var n,r={subComponentStyles:{}},o=void 0;dm(e[0])?(o=e[0],n=e[1]):n=e[0],null!=o||(o=null==t?void 0:t.shadowConfig);var i=em(em({},t),{shadowConfig:o});if(!n&&e.length<=1)return{subComponentStyles:{}};var a=km.getInstance(o);i.stylesheet=a;var l=$m.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=fm(a,l[u]),d=c.classes,f=c.objects;if(null==f?void 0:f.length)(m=Km(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])&&qm(m,null==t?void 0:t.specificityMultiplier,o)}return r}function Ym(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?$m.apply(void 0,r):{}}function Jm(e){var t=km.getInstance(),n=jm(mm(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{".concat(n,"}"),!0),t.cacheClassName(r,n,[],["font-face",n])}}function Xm(e){var t=km.getInstance(),n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r,"{",jm(mm(),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 eg(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}var tg=void 0;try{tg=window}catch(dI){}function ng(e){if(eg()&&void 0!==tg){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:tg}}var rg=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=ng(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=ng(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=ng(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=ng(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 og(e){return e&&!!e._virtual}function ig(e,t){var n,r;if(void 0===t&&(t=!0),!e)return null;var o=t&&function(e){var t;return e&&og(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 ag(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=ig(t);if(o===e){r=!0;break}t=o}else e.contains&&(r=e.contains(t));return r}function lg(e,t,n){return null!=n||(n=document),!e||e===n.body||e instanceof Document?null:t(e)?e:lg(ig(e),t)}var sg=function(e){for(var t=e.activeElement;null==t?void 0:t.shadowRoot;)t=t.shadowRoot.activeElement;return t};var ug=function(e){var t=e.target;return t&&t.shadowRoot&&(t=e.composedPath()[0]),t},cg="data-portal-element";function dg(e,t,n){var r,o=lg(e,function(e){var n;return t===e||!!(null===(n=e.hasAttribute)||void 0===n?void 0:n.call(e,cg))},n);return null!==o&&!!(null===(r=o.hasAttribute)||void 0===r?void 0:r.call(o,cg))}function fg(e){if(eg()&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}function pg(e,t,n,r){return gg(e,t,!0,!1,!1,n,void 0,void 0,void 0,r)}function hg(e,t,n,r){return mg(e,t,!0,!1,!0,n,void 0,void 0,r)}function mg(e,t,n,r,o,i,a,l,s){var u;if(!t||!a&&t===e)return null;var c=vg(t);if(o&&c&&(i||!_g(t)&&!Cg(t))){var d=mg(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&&bg(d,!0,s)||!l)return d;var f=mg(e,d.previousElementSibling,!0,!0,!0,i,a,l,s);if(f)return f;for(var p=d.parentElement;p&&p!==t;){var h=mg(e,p.previousElementSibling,!0,!0,!0,i,a,l,s);if(h)return h;p=p.parentElement}}}if(n&&c&&bg(t,l,s))return t;var m=mg(e,t.previousElementSibling,!0,!0,!0,i,a,l,s);return m||(r?null:mg(e,t.parentElement,!0,!1,!1,i,a,l,s))}function gg(e,t,n,r,o,i,a,l,s,u){var c;if(!t||t===e&&o&&!a)return null;var d=(s?yg:vg)(t);if(n&&d&&bg(t,l,u))return t;if(!o&&d&&(i||!_g(t)&&!Cg(t))){var f=gg(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=gg(e,t.nextElementSibling,!0,!0,!1,i,a,l,s,u);return p||(r?null:gg(e,t.parentElement,!1,!1,!0,i,a,l,s,u))}function vg(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 yg(e,t){var n=null!=t?t:ng();return!!e&&vg(e)&&!e.hidden&&"hidden"!==n.getComputedStyle(e).visibility}function bg(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 _g(e){return!!(e&&e.getAttribute&&e.getAttribute("data-focuszone-id"))}function Cg(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute("data-is-sub-focuszone"))}function Sg(e,t,n){return"true"!==function(e,t,n){var r=lg(e,function(e){return e.hasAttribute(t)},n);return r&&r.getAttribute(t)}(e,t,null!=n?n:fg())}var wg=void 0;function kg(e){if(e){var t=ng(e);t&&(void 0!==wg&&t.cancelAnimationFrame(wg),wg=t.requestAnimationFrame(function(){e&&e.focus(),wg=void 0}))}}function xg(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function Eg(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 Fg(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Ig.apply(this,[null,e].concat(t))}function Ig(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 Tg,Pg=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:fg();if(e._isElement(t)){if(void 0!==l&&l.createEvent){var s=l.createEvent("HTMLEvents");s.initEvent(n,o||!1,!0),Fg(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}(),Rg=0,Dg=Gm({overflow:"hidden !important"}),Mg="data-is-scrollable",Og=function(e){e.preventDefault()};function Ag(e){for(var t=e,n=fg(e);t&&t!==n.body;){if("true"===t.getAttribute(Mg))return t;t=t.parentElement}for(t=e;t&&t!==n.body;){if("false"!==t.getAttribute(Mg)){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=ng(e)),t}function Lg(e){console&&console.warn&&console.warn(e)}function Ng(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 Bg(){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++)Ng(e,t,n[r])}(o,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),o}Xh(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 rg(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 Pg(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 zg=function(e){function t(t){var n=e.call(this,t)||this;return n.state={isRendered:void 0===ng()},n}return Xh(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),Hg="__globalSettings__",Vg="__callbacks__",Wg=0,Ug=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[Vg],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=Kg();t||(t=e.__id__=String(Wg++)),n[t]=e},e.removeChangeListener=function(e){delete Kg()[e.__id__]},e}();function jg(){var e,t=ng()||{};return t[Hg]||(t[Hg]=((e={})[Vg]={},e)),t[Hg]}function Kg(){return jg()[Vg]}var qg=8,Gg=9,$g=13,Qg=18,Zg=27,Yg=32,Jg=33,Xg=34,ev=35,tv=36,nv=37,rv=38,ov=39,iv=40,av=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 lv(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 sv(){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 uv(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 cv(e){var t=null;try{var n=ng();t=n?n.sessionStorage.getItem(e):null}catch(e){}return t}var dv,fv="isRTL";function pv(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===dv){var t=cv(fv);null!==t&&function(e,t){void 0===t&&(t=!1);var n=fg();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr");t&&function(e,t){var n;try{null===(n=ng())||void 0===n||n.sessionStorage.setItem(e,t)}catch(e){}}(fv,e?"1":"0");pm(dv=e)}(dv="1"===t);var n=fg();void 0===dv&&n&&pm(dv="rtl"===(n.body&&n.body.getAttribute("dir")||n.documentElement.getAttribute("dir")))}return!!dv}var hv=0,mv=km.getInstance();mv&&mv.onReset&&mv.onReset(function(){return hv++});var gv="__retval__";function vv(e){void 0===e&&(e={});var t=new Map,n=0,r=0,o=hv;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:pv(),p=e.disableCaching;if(o!==hv&&(o=hv,t.set(u,new Map),c=t.get(u),n=0),e.disableCaching||(c=bv(t.get(u),i),c=bv(c,a)),!p&&c[gv]||(c[gv]=void 0===i?{}:Zm(["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=ng();(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[gv]}}function yv(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 bv(e,t){if("function"==typeof t)if(t.__cachedInputs__)for(var n=0,r=t.__cachedInputs__;n<r.length;n++){e=yv(e,r[n])}else e=yv(e,t);else if("object"==typeof t)for(var o in t)t.hasOwnProperty(o)&&(e=yv(e,t[o]));return e}var _v=!1,Cv=0,Sv={empty:!0},wv={},kv="undefined"==typeof WeakMap?null:WeakMap;function xv(){Cv++}function Ev(e,t,n){if(void 0===t&&(t=100),void 0===n&&(n=!1),!kv)return e;if(!_v){var r=km.getInstance();r&&r.onReset&&km.getInstance().onReset(xv),_v=!0}var o,i=0,a=Cv;return function(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];var s=o;(void 0===o||a!==Cv||t>0&&i>t)&&(o=Tv(),i=0,a=Cv),s=o;for(var u=0;u<r.length;u++){var c=Iv(r[u]);s.map.has(c)||s.map.set(c,Tv()),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 Fv(e){if(!kv)return e;var t=new kv;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 Iv(e){return e?"object"==typeof e||"function"==typeof e?e:(wv[e]||(wv[e]={val:e}),wv[e]):Sv}function Tv(){return{map:kv?new kv:null}}var Pv=Fv(function(e){var t=e;return Fv(function(n){if(e===n)throw new Error("Attempted to compose a component with itself.");var r=n,o=Fv(function(e){return function(t){return z.createElement(r,em({},t,{defaultRender:e}))}});return function(e){var n=e.defaultRender;return z.createElement(t,em({},e,{defaultRender:n?o(n):r}))}})});function Rv(e,t){return Pv(e)(t)}function Dv(){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 Mv={settings:{},scopedSettings:{},inCustomizerContext:!1},Ov=Ug.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),Av=[],Lv=function(){function e(){}return e.reset=function(){Ov.settings={},Ov.scopedSettings={}},e.applySettings=function(t){Ov.settings=em(em({},Ov.settings),t),e._raiseChange()},e.applyScopedSettings=function(t,n){Ov.scopedSettings[t]=em(em({},Ov.scopedSettings[t]),n),e._raiseChange()},e.getSettings=function(e,t,n){void 0===n&&(n=Mv);for(var r={},o=t&&n.scopedSettings[t]||{},i=t&&Ov.scopedSettings[t]||{},a=0,l=e;a<l.length;a++){var s=l[a];r[s]=o[s]||n.settings[s]||i[s]||Ov.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){Av.push(e)},e.unobserve=function(e){Av=Av.filter(function(t){return t!==e})},e._raiseChange=function(){e._suppressUpdates||Av.forEach(function(e){return e()})},e}(),Nv=z.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}});function Bv(e,t){void 0===e&&(e={});var n=Hv(t)?t:function(e){return function(t){return e?em(em({},t),e):t}}(t);return n(e)}function zv(e,t){return void 0===e&&(e={}),(Hv(t)?t:function(e){void 0===e&&(e={});return function(t){var n=em({},t);for(var r in e)e.hasOwnProperty(r)&&(n[r]=em(em({},t[r]),e[r]));return n}}(t))(e)}function Hv(e){return"function"==typeof e}var Vv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onCustomizationChange=function(){return t.forceUpdate()},t}return Xh(t,e),t.prototype.componentDidMount=function(){Lv.observe(this._onCustomizationChange)},t.prototype.componentWillUnmount=function(){Lv.unobserve(this._onCustomizationChange)},t.prototype.render=function(){var e=this,t=this.props.contextTransform;return z.createElement(Nv.Consumer,null,function(n){var r=function(e,t){var n=(t||{}).customizations,r=void 0===n?{settings:{},scopedSettings:{}}:n;return{customizations:{settings:Bv(r.settings,e.settings),scopedSettings:zv(r.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}}(e.props,n);return t&&(r=t(r)),z.createElement(Nv.Provider,{value:r},e.props.children)})},t}(z.Component);var Wv=function(){return!1},Uv=function(){return cm},jv=function(){return new Map},Kv=function(){},qv=z.createContext({stylesheets:new Map,useAdoptedStylesheetEx:Wv,useAdoptedStylesheet:Wv,useShadowConfig:Uv,useMergeStylesShadowRootContext:Kv,useHasMergeStylesShadowRootContext:Wv,useMergeStylesRootStylesheets:jv,useWindow:Kv,useStyled:Kv}),Gv=function(){var e=z.useContext(qv);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}},$v=z.createContext(void 0),Qv=function(){return z.useContext($v)},Zv=function(e){var t=e.stylesheetKey,n=e.children,r=Gv(),o=r.useAdoptedStylesheetEx,i=r.useMergeStylesRootStylesheets,a=r.useWindow,l=Qv(),s=i(),u=a();return o(sm,l,s,u),o(t,l,s,u),n(!!l)},Yv=z.createContext({window:"object"==typeof window?window:void 0}),Jv=function(){return z.useContext(Yv).window},Xv=function(){var e;return null===(e=z.useContext(Yv).window)||void 0===e?void 0:e.document},ey=Ev(function(e,t,n){return{stylesheetKey:e,inShadow:t,window:n,__isShadowConfig__:!0}}),ty=Ev(function(e,t,n){var r,o=null!==(r=null!=t?t:e)&&void 0!==r?r:{};return o.__shadowConfig__=n,o});function ny(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 Xh(i,o),i.prototype.componentDidMount=function(){Lv.observe(this._onSettingChanged)},i.prototype.componentWillUnmount=function(){Lv.unobserve(this._onSettingChanged)},i.prototype.render=function(){var o=this;return z.createElement(Zv,{stylesheetKey:e},function(i){return z.createElement(Nv.Consumer,null,function(a){var l,s=Lv.getSettings(t,e,a.customizations),u=null!==(l=o.context.window)&&void 0!==l?l:ng(),c=ey(e,i,u),d=o.props;if(s.styles&&"function"==typeof s.styles&&(s.styles=s.styles(em(em({},s),d))),n&&s.styles){if(o._styleCache.default!==s.styles||o._styleCache.component!==d.styles){var f=$m(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,em({},s,d,{styles:o._styleCache.merged}))}var p=ty(s.styles,d.styles,c);return z.createElement(r,em({},s,d,{styles:p}))})})},i.prototype._onSettingChanged=function(){this.forceUpdate()},i}(z.Component),o.displayName="Customized"+e,o.contextType=Yv,o);return function(e,t){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(r,i)}}function ry(e,t){var n=function(){var e=z.useState(0),t=e[1];return function(){return t(function(e){return++e})}}(),r=z.useContext(Nv).customizations,o=r.inCustomizerContext;return z.useEffect(function(){return o||Lv.observe(n),function(){o||Lv.unobserve(n)}},[o]),Lv.getSettings(e,t,r)}function oy(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=lv(e,e[n],t[n]))}var iy="__currentId__",ay=ng()||{};void 0===ay[iy]&&(ay[iy]=0);var ly=!1;function sy(e){if(!ly){var t=km.getInstance();t&&t.onReset&&t.onReset(uy),ly=!0}return(void 0===e?"id__":e)+ay[iy]++}function uy(e){void 0===e&&(e=0),ay[iy]=e}var cy=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},dy=cy(["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"]),fy=cy(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),py=cy(fy,dy);cy(py,["form"]);var hy=cy(py,["height","loop","muted","preload","src","width"]);cy(hy,["poster"]),cy(py,["start"]),cy(py,["value"]);var my=cy(py,["download","href","hrefLang","media","rel","target","type"]),gy=cy(py,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),vy=cy(gy,["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"]),yy=cy(gy,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]);cy(gy,["form","multiple","required"]),cy(py,["selected","value"]),cy(py,["cellPadding","cellSpacing"]),cy(py,["rowSpan","scope"]),cy(py,["colSpan","headers","rowSpan","scope"]),cy(py,["span"]),cy(py,["span"]),cy(py,["acceptCharset","action","encType","encType","method","noValidate","target"]),cy(py,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]);var by,_y=cy(py,["alt","crossOrigin","height","src","srcSet","useMap","width"]),Cy=py;function Sy(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 wy(e){oy(e,{componentDidMount:ky,componentDidUpdate:xy,componentWillUnmount:Ey})}function ky(){Fy(this.props.componentRef,this)}function xy(e){e.componentRef!==this.props.componentRef&&(Fy(e.componentRef,null),Fy(this.props.componentRef,this))}function Ey(){Fy(this.props.componentRef,null)}function Fy(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}var Iy=((by={})[rv]=1,by[iv]=1,by[nv]=1,by[ov]=1,by[tv]=1,by[ev]=1,by[Gg]=1,by[Jg]=1,by[Xg]=1,by);function Ty(e){return!!Iy[e]}var Py="ms-Fabric--isFocusVisible",Ry="ms-Fabric--isFocusHidden";function Dy(e,t){e&&(e.classList.add(t?Py:Ry),e.classList.remove(t?Ry:Py))}function My(e,t,n){var r;n?n.forEach(function(t){return Dy(t.current,e)}):Dy(null===(r=ng(t))||void 0===r?void 0:r.document.body,e)}var Oy=new WeakMap,Ay=new WeakMap;function Ly(e,t){var n,r=Oy.get(e);return n=r?r+t:1,Oy.set(e,n),n}function Ny(e){var t=Ay.get(e);if(t)return t;return t={onMouseDown:function(t){return Vy(t,e.registeredProviders)},onPointerDown:function(t){return Wy(t,e.registeredProviders)},onKeyDown:function(t){return Uy(t,e.registeredProviders)},onKeyUp:function(t){return jy(t,e.registeredProviders)}},Ay.set(e,t),t}var By=z.createContext(void 0);function zy(e){var t=z.useContext(By);z.useEffect(function(){var n,r,o,i,a=ng(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=Ny(t);l=f.onMouseDown,s=f.onPointerDown,u=f.onKeyDown,c=f.onKeyUp}else l=Vy,s=Wy,u=Uy,c=jy;var p=Ly(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=Ly(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 Hy=function(e){return zy(e.rootRef),null};function Vy(e,t){My(!1,e.target,t)}function Wy(e,t){"mouse"!==e.pointerType&&My(!1,e.target,t)}function Uy(e,t){Ty(e.which)&&My(!0,e.target,t)}function jy(e,t){Ty(e.which)&&My(!0,e.target,t)}var Ky,qy=function(e){var t=e.providerRef,n=e.layerRoot,r=z.useState([])[0],o=z.useContext(By),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(By.Provider,{value:a},e.children):z.createElement(z.Fragment,null,e.children)};var Gy="language";function $y(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++){Qy(e||{},o[r])}return e}function Qy(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:Qy(e[r]||{},o,n)}}return n.pop(),e}var Zy,Yy=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)},Jy=["TEMPLATE","STYLE","SCRIPT"];function Xy(e){var t=fg(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===Jy.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 eb(e){var t;if(void 0===Zy||e){var n=ng(),r=null===(t=null==n?void 0:n.navigator)||void 0===t?void 0:t.userAgent;Zy=!!r&&-1!==r.indexOf("Macintosh")}return!!Zy}var tb=Fv(function(e){return Fv(function(t){var n=Fv(function(e){return function(n){return t(n,e)}});return function(r,o){return e(r,o?n(o):t)}})});function nb(e,t){return tb(e)(t)}var rb=["theme","styles"];function ob(e,t,n,r,o){var i=(r=r||{scope:"",fields:void 0}).scope,a=r.fields,l=void 0===a?rb:a,s=z.forwardRef(function(r,o){var a=z.useRef(void 0),s=ry(l,i),u=s.styles;s.dir;var c=tm(s,["styles","dir"]),d=n?n(r):void 0,f=Gv().useStyled,p=a.current&&a.current.__cachedInputs__||[],h=r.styles;if(!a.current||u!==p[1]||h!==p[2]){var m=function(e){return Ym(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,em({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 ib=function(){var e,t=ng();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 ab(e,t){for(var n=em({},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 lb=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}},sb=eg()?z.useLayoutEffect:z.useEffect,ub=Ug.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),cb=km.getInstance();cb&&cb.onReset&&cb.onReset(function(){for(var e in ub)ub.hasOwnProperty(e)&&ub[e].subset&&(ub[e].subset.className=void 0)});var db=function(e){return e.toLowerCase()};function fb(e,t){var n=em(em({},e),{isRegistered:!1,className:void 0}),r=e.icons;for(var o in t=t?em(em({},ub.__options),t):ub.__options,r)if(r.hasOwnProperty(o)){var i=r[o],a=db(o);ub[a]?gb(o):ub[a]={code:i,subset:n}}}function pb(e,t){ub.__remapped[db(e)]=db(t)}var hb=[],mb=void 0;function gb(e){var t=ub.__options;t.disableWarnings||(hb.push(e),void 0===mb&&(mb=setTimeout(function(){Lg("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"+hb.slice(0,10).join(", ")+(hb.length>10?" (+ ".concat(hb.length-10," more)"):"")),mb=void 0,hb=[]},2e3)))}function vb(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}(yb(e,t,em({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 yb(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,S=a.neutralTertiary,w=a.neutralTertiaryAlt,k=a.neutralLighterAlt,x=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),S&&(i.disabledBodyText=S,i.variantBorderHovered=(null==n?void 0:n.variantBorderHovered)||S,i.buttonTextDisabled=S,i.inputIconDisabled=S,i.disabledText=S),b&&(i.bodyText=b,i.actionLink=b,i.buttonText=b,i.inputBorderHovered=b,i.inputText=b,i.listText=b,i.menuItemText=b),k&&(i.bodyStandoutBackground=k,i.defaultStateBackground=k),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),w&&(i.disabledBodySubtext=w,i.disabledBorder=w,i.buttonBackgroundChecked=w,i.menuDivider=w),x&&(i.accentButtonBackground=x),(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=em(em({},i),n)}var bb,_b={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)"}(bb||(bb={}));var Cb,Sb,wb,kb,xb,Eb={elevation4:bb.depth4,elevation8:bb.depth8,elevation16:bb.depth16,elevation64:bb.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"},Fb={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"},Ib="cubic-bezier(.1,.9,.2,1)",Tb="cubic-bezier(.1,.25,.75,.9)",Pb="0.167s",Rb="0.267s",Db="0.367s",Mb="0.467s",Ob=Xm({from:{opacity:0},to:{opacity:1}}),Ab=Xm({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),Lb=g_(-10),Nb=g_(-20),Bb=g_(-40),zb=g_(-400),Hb=g_(10),Vb=g_(20),Wb=g_(40),Ub=g_(400),jb=v_(10),Kb=v_(20),qb=v_(-10),Gb=v_(-20),$b=y_(10),Qb=y_(20),Zb=y_(40),Yb=y_(400),Jb=y_(-10),Xb=y_(-20),e_=y_(-40),t_=y_(-400),n_=b_(-10),r_=b_(-20),o_=b_(10),i_=b_(20),a_=Xm({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),l_=Xm({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),s_=Xm({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),u_=Xm({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),c_=Xm({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),d_=Xm({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),f_=Tb,p_=Db,h_={slideRightIn10:m_("".concat(Ob,",").concat(Lb),Db,Ib),slideRightIn20:m_("".concat(Ob,",").concat(Nb),Db,Ib),slideRightIn40:m_("".concat(Ob,",").concat(Bb),Db,Ib),slideRightIn400:m_("".concat(Ob,",").concat(zb),Db,Ib),slideLeftIn10:m_("".concat(Ob,",").concat(Hb),Db,Ib),slideLeftIn20:m_("".concat(Ob,",").concat(Vb),Db,Ib),slideLeftIn40:m_("".concat(Ob,",").concat(Wb),Db,Ib),slideLeftIn400:m_("".concat(Ob,",").concat(Ub),Db,Ib),slideUpIn10:m_("".concat(Ob,",").concat(jb),Db,Ib),slideUpIn20:m_("".concat(Ob,",").concat(Kb),Db,Ib),slideDownIn10:m_("".concat(Ob,",").concat(qb),Db,Ib),slideDownIn20:m_("".concat(Ob,",").concat(Gb),Db,Ib),slideRightOut10:m_("".concat(Ab,",").concat($b),Db,Ib),slideRightOut20:m_("".concat(Ab,",").concat(Qb),Db,Ib),slideRightOut40:m_("".concat(Ab,",").concat(Zb),Db,Ib),slideRightOut400:m_("".concat(Ab,",").concat(Yb),Db,Ib),slideLeftOut10:m_("".concat(Ab,",").concat(Jb),Db,Ib),slideLeftOut20:m_("".concat(Ab,",").concat(Xb),Db,Ib),slideLeftOut40:m_("".concat(Ab,",").concat(e_),Db,Ib),slideLeftOut400:m_("".concat(Ab,",").concat(t_),Db,Ib),slideUpOut10:m_("".concat(Ab,",").concat(n_),Db,Ib),slideUpOut20:m_("".concat(Ab,",").concat(r_),Db,Ib),slideDownOut10:m_("".concat(Ab,",").concat(o_),Db,Ib),slideDownOut20:m_("".concat(Ab,",").concat(i_),Db,Ib),scaleUpIn100:m_("".concat(Ob,",").concat(a_),Db,Ib),scaleDownIn100:m_("".concat(Ob,",").concat(s_),Db,Ib),scaleUpOut103:m_("".concat(Ab,",").concat(u_),Pb,Tb),scaleDownOut98:m_("".concat(Ab,",").concat(l_),Pb,Tb),fadeIn100:m_(Ob,Pb,Tb),fadeIn200:m_(Ob,Rb,Tb),fadeIn400:m_(Ob,Db,Tb),fadeIn500:m_(Ob,Mb,Tb),fadeOut100:m_(Ab,Pb,Tb),fadeOut200:m_(Ab,Rb,Tb),fadeOut400:m_(Ab,Db,Tb),fadeOut500:m_(Ab,Mb,Tb),rotate90deg:m_(c_,"0.1s",Tb),rotateN90deg:m_(d_,"0.1s",Tb)};function m_(e,t,n){return{animationName:e,animationDuration:t,animationTimingFunction:n,animationFillMode:"both"}}function g_(e){return Xm({from:{transform:"translate3d(".concat(e,"px,0,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function v_(e){return Xm({from:{transform:"translate3d(0,".concat(e,"px,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function y_(e){return Xm({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(".concat(e,"px,0,0)")}})}function b_(e){return Xm({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)"}(Cb||(Cb={})),function(e){e.Arabic="'".concat(Cb.Arabic,"'"),e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'".concat(Cb.Cyrillic,"'"),e.EastEuropean="'".concat(Cb.EastEuropean,"'"),e.Greek="'".concat(Cb.Greek,"'"),e.Hebrew="'".concat(Cb.Hebrew,"'"),e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'".concat(Cb.Selawik,"'"),e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'".concat(Cb.Vietnamese,"'"),e.WestEuropean="'".concat(Cb.WestEuropean,"'"),e.Armenian="'".concat(Cb.Armenian,"'"),e.Georgian="'".concat(Cb.Georgian,"'")}(Sb||(Sb={})),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"}(wb||(wb={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(kb||(kb={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(xb||(xb={}));var __="'Segoe UI', '".concat(Cb.WestEuropean,"'"),C_={ar:Sb.Arabic,bg:Sb.Cyrillic,cs:Sb.EastEuropean,el:Sb.Greek,et:Sb.EastEuropean,he:Sb.Hebrew,hi:Sb.Hindi,hr:Sb.EastEuropean,hu:Sb.EastEuropean,ja:Sb.Japanese,kk:Sb.EastEuropean,ko:Sb.Korean,lt:Sb.EastEuropean,lv:Sb.EastEuropean,pl:Sb.EastEuropean,ru:Sb.Cyrillic,sk:Sb.EastEuropean,"sr-latn":Sb.EastEuropean,th:Sb.Thai,tr:Sb.EastEuropean,uk:Sb.Cyrillic,vi:Sb.Vietnamese,"zh-hans":Sb.ChineseSimplified,"zh-hant":Sb.ChineseTraditional,hy:Sb.Armenian,ka:Sb.Georgian};function S_(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}var w_,k_,x_,E_=(w_=function(e){if(void 0===e&&(e="sessionStorage"),void 0===Ky){var t=fg(),n="localStorage"===e?function(e){var t=null;try{var n=ng();t=n?n.localStorage.getItem(e):null}catch(e){}return t}(Gy):"sessionStorage"===e?cv(Gy):void 0;n&&(Ky=n),void 0===Ky&&t&&(Ky=t.documentElement.getAttribute("lang")),void 0===Ky&&(Ky="en")}return Ky}(),k_=function(e){for(var t in C_)if(C_.hasOwnProperty(t)&&e&&0===t.indexOf(e))return C_[t];return __}(w_),x_="".concat(k_,", ").concat("'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif"),{tiny:S_(wb.mini,kb.regular,x_),xSmall:S_(wb.xSmall,kb.regular,x_),small:S_(wb.small,kb.regular,x_),smallPlus:S_(wb.smallPlus,kb.regular,x_),medium:S_(wb.medium,kb.regular,x_),mediumPlus:S_(wb.mediumPlus,kb.regular,x_),large:S_(wb.large,kb.regular,x_),xLarge:S_(wb.xLarge,kb.semibold,x_),xLargePlus:S_(wb.xLargePlus,kb.semibold,x_),xxLarge:S_(wb.xxLarge,kb.semibold,x_),xxLargePlus:S_(wb.xxLargePlus,kb.semibold,x_),superLarge:S_(wb.superLarge,kb.semibold,x_),mega:S_(wb.mega,kb.semibold,x_)});function F_(e,t,n,r){Jm({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 I_(e,t,n,r,o){void 0===r&&(r="segoeui");var i="".concat(e,"/").concat(n,"/").concat(r);F_(t,i+"-light",kb.light,o&&o+" Light"),F_(t,i+"-semilight",kb.semilight,o&&o+" SemiLight"),F_(t,i+"-regular",kb.regular,o),F_(t,i+"-semibold",kb.semibold,o&&o+" SemiBold"),F_(t,i+"-bold",kb.bold,o&&o+" Bold")}function T_(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=$y({},e,t,{semanticColors:yb(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]=$y(i.fonts[s],t.defaultFontStyle,null===(o=null==t?void 0:t.fonts)||void 0===o?void 0:o[s])}return i}({palette:_b,effects:Eb,fonts:E_,spacing:Fb,isInverted:n,disableGlobalClassNames:!1,semanticColors:vb(_b,Eb,void 0,n,t),rtl:void 0},e)}!function(e){if(e){var t="".concat(e,"/fonts");I_(t,Cb.Thai,"leelawadeeui-thai","leelawadeeui"),I_(t,Cb.Arabic,"segoeui-arabic"),I_(t,Cb.Cyrillic,"segoeui-cyrillic"),I_(t,Cb.EastEuropean,"segoeui-easteuropean"),I_(t,Cb.Greek,"segoeui-greek"),I_(t,Cb.Hebrew,"segoeui-hebrew"),I_(t,Cb.Vietnamese,"segoeui-vietnamese"),I_(t,Cb.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),I_(t,Sb.Selawik,"selawik","selawik"),I_(t,Cb.Armenian,"segoeui-armenian"),I_(t,Cb.Georgian,"segoeui-georgian"),F_("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-semilight"),kb.light),F_("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-bold"),kb.semibold)}}(function(){var e,t,n=null===(e=ng())||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 P_,R_="@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)",D_=480,M_=1366;function O_(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 A_(e,t,n,r,o,i,a,l){return L_(e,"number"!=typeof t&&t?t:{inset:t,position:n,highContrastStyle:r,borderColor:o,outlineColor:i,isFocusedOnly:a,borderRadius:l})}function L_(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(Py," &").concat(v?":focus":"",":after, :host(.").concat(Py,") &").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:P_.FocusStyle,borderRadius:o,selectors:(r={},r[R_]=d,r)},n)}}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(P_||(P_={}));var N_=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[R_]=(a={},a["border"===n?"borderColor":"borderBottomColor"]="Highlight",a),i),o)}}},B_={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden",whiteSpace:"nowrap"},z_=Ev(function(e,t){var n=km.getInstance();return t?Object.keys(e).reduce(function(t,r){return t[r]=n.getClassName(e[r]),t},{}):e});function H_(e,t,n){return z_(e,void 0!==n?n:t.disableGlobalClassNames)}var V_=function(){return V_=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},V_.apply(this,arguments)},W_="undefined"==typeof window?global:window,U_=W_&&W_.CSPSettings&&W_.CSPSettings.nonce,j_=function(){var e=W_.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};e.runState||(e=V_(V_({},e),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}}));e.registeredThemableStyles||(e=V_(V_({},e),{registeredThemableStyles:[]}));return W_.__themeState__=e,e}();function K_(e,t){j_.loadStyles?j_.loadStyles($_(e).styleString,e):function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),r=$_(e),o=r.styleString,i=r.themable;n.setAttribute("data-load-themed-styles","true"),U_&&n.setAttribute("nonce",U_);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 q_(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||(G_(j_.registeredStyles),j_.registeredStyles=[]);3!==e&&1!==e||(G_(j_.registeredThemableStyles),j_.registeredThemableStyles=[])}(1),K_([].concat.apply([],e)))}}()}function G_(e){e.forEach(function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)})}function $_(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 Q_=T_({}),Z_=[],Y_="theme";function J_(){var e,t,n,r=ng();(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);Q_=T_(e,t),q_(em(em(em(em({},Q_.palette),Q_.semanticColors),Q_.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}(Q_))),Lv.applySettings((n={},n[Y_]=Q_,n)),Z_.forEach(function(e){try{e(Q_)}catch(e){}})}(r.FabricConfig.legacyTheme):Lv.getSettings([Y_]).theme||((null===(n=null==r?void 0:r.FabricConfig)||void 0===n?void 0:n.theme)&&(Q_=T_(r.FabricConfig.theme)),Lv.applySettings(((e={})[Y_]=Q_,e)))}J_();var X_={boxShadow:"none",margin:0,padding:0,boxSizing:"border-box"};function eC(e){return{selectors:{"::placeholder":e,":-ms-input-placeholder":e,"::-ms-input-placeholder":e}}}var tC=function(e){var t={},n=function(n){var r;e.hasOwnProperty(n)&&Object.defineProperty(t,n,{get:function(){return void 0===r&&(r=Gm(e[n]).toString()),r},enumerable:!0,configurable:!0})};for(var r in e)n(r);return t}(h_);am("@fluentui/style-utilities","8.14.0"),J_();var nC,rC,oC,iC=0,aC=1,lC=2,sC=3,uC=4,cC=5,dC=6,fC=7,pC=8,hC=9,mC=10,gC=11,vC=12,yC=13;function bC(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"}(nC||(nC={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(rC||(rC={}));var _C=((oC={})[iC]=bC(nC.top,nC.left),oC[aC]=bC(nC.top),oC[lC]=bC(nC.top,nC.right),oC[sC]=bC(nC.top,void 0,!0),oC[uC]=bC(nC.bottom,nC.left),oC[cC]=bC(nC.bottom),oC[dC]=bC(nC.bottom,nC.right),oC[fC]=bC(nC.bottom,void 0,!0),oC[pC]=bC(nC.left,nC.top),oC[hC]=bC(nC.left),oC[mC]=bC(nC.left,nC.bottom),oC[gC]=bC(nC.right,nC.top),oC[vC]=bC(nC.right),oC[yC]=bC(nC.right,nC.bottom),oC);function CC(e,t){return!(e.top<t.top)&&(!(e.bottom>t.bottom)&&(!(e.left<t.left)&&!(e.right>t.right)))}function SC(e,t){var n=[];return e.top<t.top&&n.push(nC.top),e.bottom>t.bottom&&n.push(nC.bottom),e.left<t.left&&n.push(nC.left),e.right>t.right&&n.push(nC.right),n}function wC(e,t){return e[nC[t]]}function kC(e,t,n){return e[nC[t]]=n,e}function xC(e,t){var n=BC(t);return(wC(e,n.positiveEdge)+wC(e,n.negativeEdge))/2}function EC(e,t){return e>0?t:-1*t}function FC(e,t){return EC(e,wC(t,e))}function IC(e,t,n){return EC(n,wC(e,n)-wC(t,n))}function TC(e,t,n,r){void 0===r&&(r=!0);var o=wC(e,t)-n,i=kC(e,t,n);return r&&(i=kC(e,-1*t,wC(e,-1*t)-o)),i}function PC(e,t,n,r){return void 0===r&&(r=0),TC(e,n,wC(t,n)+EC(n,r))}function RC(e,t,n){return FC(n,e)>FC(n,t)}function DC(e,t){for(var n=0,r=0,o=SC(e,t);r<o.length;r++){var i=o[r];n+=Math.pow(IC(e,t,i),2)}return n}function MC(e,t,n,r){return void 0===r&&(r=200),(n===nC.bottom||n===nC.top)&&IC(e,t,n)>=r}function OC(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=[nC.left,nC.right,nC.bottom,nC.top];pv()&&(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(RC(u,n,c))return{elementRectangle:u,targetEdge:c,alignmentEdge:d};if(o&&MC(t,n,c,i)){switch(c){case nC.bottom:u.bottom=n.bottom;break;case nC.top:u.top=n.top}return{elementRectangle:u,targetEdge:c,alignmentEdge:d,forcedInBounds:!0}}var m=DC(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=NC(e,t,{targetEdge:c,alignmentEdge:d},a))}return{elementRectangle:u=NC(e,t,{targetEdge:f,alignmentEdge:p},a),targetEdge:f,alignmentEdge:p}}(e,t,n,r,o,i,a));var f=SC(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:NC(e.elementRectangle,t,{targetEdge:i,alignmentEdge:a},n,r),targetEdge:i,alignmentEdge:a}}(d,t,a,s);if(CC(h.elementRectangle,n))return h;d=AC(SC(h.elementRectangle,n),d,n,p)}else d=AC(f,d,n,p);else d=AC(f,d,n,p);return d}function AC(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=TC(t.elementRectangle,a,wC(n,a),!1),t.forcedInBounds=!0;else RC(l=PC(t.elementRectangle,n,a),n,-1*a)||(l=TC(l,-1*a,wC(n,-1*a),!1),t.forcedInBounds=!0);t.elementRectangle=l}return t}function LC(e,t,n){var r=BC(t).positiveEdge;return TC(e,r,n-(xC(e,t)-wC(e,r)))}function NC(e,t,n,r,o){void 0===r&&(r=0);var i=new av(e.left,e.right,e.top,e.bottom),a=n.alignmentEdge,l=n.targetEdge,s=o?l:-1*l;(i=o?PC(i,t,l,r):function(e,t,n,r){void 0===r&&(r=0);var o=EC(-1*n,r);return TC(e,-1*n,wC(t,n)+o)}(i,t,l,r),a)?i=PC(i,t,a):i=LC(i,s,xC(t,l));return i}function BC(e){return e===nC.top||e===nC.bottom?{positiveEdge:nC.left,negativeEdge:nC.right}:{positiveEdge:nC.top,negativeEdge:nC.bottom}}function zC(e,t,n){return n&&Math.abs(IC(e,n,t))>Math.abs(IC(e,n,-1*t))?-1*t:t}function HC(e,t,n,r,o,i,a,l){var s,u={},c=WC(t),d=i?n:-1*n,f=o||BC(n).positiveEdge;return a&&!function(e,t,n){return void 0!==n&&wC(e,t)===wC(n,t)}(e,(s=f,-1*s),r)||(f=zC(e,f,r)),u[nC[d]]=IC(e,c,d),u[nC[f]]=IC(e,c,f),l&&(u[nC[-1*d]]=IC(e,c,-1*d),u[nC[-1*f]]=IC(e,c,-1*f)),u}function VC(e,t,n){var r=xC(t,e),o=xC(n,e),i=BC(e),a=i.positiveEdge,l=i.negativeEdge;return r<=o?a:l}function WC(e){var t=e.getBoundingClientRect();return new av(t.left,t.right,t.top,t.bottom)}function UC(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 av(r.clientX,r.clientX,r.clientY,r.clientY)}else if(t.getBoundingClientRect)n=WC(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 av(i,l,a,s)}if(!CC(n,e))for(var u=0,c=SC(n,e);u<c.length;u++){var d=c[u];n[nC[d]]=e[nC[d]]}}else n=new av(0,0,0,0);return n}(n,e.target),s=function(e,t,n,r,o){return e.isAuto&&(e.alignmentEdge=VC(e.targetEdge,t,n)),e.alignTargetEdge=o,e}(function(e,t,n){if(void 0===e&&(e=fC),n)return{alignmentEdge:n.alignmentEdge,isAuto:n.isAuto,targetEdge:n.targetEdge};var r=em({},_C[e]);return pv()?(r.alignmentEdge&&r.alignmentEdge%2==0&&(r.alignmentEdge=-1*r.alignmentEdge),void 0!==t?_C[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=NC(e,t,r,o,s);return CC(u,n)?{elementRectangle:u,targetEdge:r.targetEdge,alignmentEdge:r.alignmentEdge}:OC(u,t,n,r,i,a,o,l,s)}(WC(t),l,n,s,a,o,i,e.directionalHintFixed,e.coverTarget);return em(em({},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 KC(e,t,n,r,o,i,a,l){void 0===o&&(o=!1);var s=null!=l?l:ng(),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 av(f.left,f.right,f.top,f.bottom)):new av(0,s.innerWidth-function(e){if(void 0===Tg){var t=null!=e?e:fg(),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),Tg=n.offsetWidth-n.clientWidth,t.body.removeChild(n)}return Tg}(),0,s.innerHeight),S=UC(d,n,C,r,o,i),w=function(e,t){var n=t.targetRectangle,r=BC(t.targetEdge),o=r.positiveEdge,i=r.negativeEdge,a=xC(n,t.targetEdge),l=new av(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),s=new av(0,e,0,e);return RC(s=LC(s=TC(s,-1*t.targetEdge,-e/2),-1*t.targetEdge,a-FC(o,t.elementRectangle)),l,o)?RC(s,l,i)||(s=PC(s,l,i)):s=PC(s,l,o),s}(u,S),k=(h=w,m=C,g=-1*(p=S).targetEdge,v=new av(0,p.elementRectangle.width,0,p.elementRectangle.height),y={},b=zC(p.elementRectangle,p.alignmentEdge?p.alignmentEdge:BC(g).positiveEdge,m),_=IC(p.elementRectangle,p.targetRectangle,g)>Math.abs(wC(h,g)),y[nC[g]]=wC(h,g),y[nC[b]]=IC(h,v,b),{elementPosition:em({},y),closestEdge:VC(p.targetEdge,h,v),targetEdge:g,hideBeak:!_});return em(em({},function(e,t,n,r,o){return{elementPosition:HC(e.elementRectangle,t,e.targetEdge,n,e.alignmentEdge,r,o,e.forcedInBounds),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}(S,t,C,e.coverTarget,a)),{beakPosition:k})}function qC(e,t,n,r,o){return function(e,t,n,r,o){return KC(e,t,n,r,!1,void 0,!0,null!=o?o:ng())}(e,t,n,r,o)}function GC(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 av(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==s&&void 0!==u?new av(s,c,u,d):WC(a)}(e)}function $C(){var e=z.useRef(void 0);return e.current||(e.current=new rg),z.useEffect(function(){return function(){var t;null===(t=e.current)||void 0===t||t.dispose(),e.current=void 0}},[]),e.current}function QC(e){var t=z.useRef(void 0);return void 0===t.current&&(t.current={value:"function"==typeof e?e():e}),t.current.value}function ZC(e,t,n){var r=z.useState(t),o=r[0],i=r[1],a=QC(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=QC(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 YC(e){var t=z.useRef(function(){throw new Error("Cannot call an event handler while rendering")});return sb(function(){t.current=e},[e]),QC(function(){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.current.apply(void 0,e)}})}function JC(e,t){var n=z.useRef(t);return n.current||(n.current=sy(e)),n.current}function XC(){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)}},rm([],e,!0));return n}function eS(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 xg(n,t,function(e){return o.current(e)},r)},[e,t,r])}function tS(e){var t=z.useRef(void 0);return z.useEffect(function(){t.current=e}),t.current}function nS(e,t){var n,r,o,i=z.useRef(void 0),a=z.useRef(null),l=Jv();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=fg(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 rS(e){var t=e.originalElement,n=e.containsFocus;t&&n&&t!==ng()&&setTimeout(function(){var e;null===(e=t.focus)||void 0===e||e.call(t)},0)}function oS(e,t){var n=e.onRestoreFocus,r=void 0===n?rS:n,o=z.useRef(void 0),i=z.useRef(!1);z.useEffect(function(){var e,n,a;return o.current=fg().activeElement,e=t.current,n=fg(e),(a=n&&n.activeElement)&&ag(e,a)&&(i.current=!0),function(){var e;null==r||r({originalElement:o.current,containsFocus:i.current,documentContainsFocus:(null===(e=fg())||void 0===e?void 0:e.hasFocus())||!1}),o.current=void 0}},[]),eS(t,"focus",z.useCallback(function(){i.current=!0},[]),!0),eS(t,"blur",z.useCallback(function(e){t.current&&e.relatedTarget&&!t.current.contains(e.relatedTarget)&&(i.current=!1)},[]),!0)}var iS=z.forwardRef(function(e,t){var n=ab({shouldRestoreFocus:!0,enableAriaHiddenSiblings:!0},e),r=z.useRef(void 0),o=XC(r,t);!function(e,t){var n="true"===String(e["aria-modal"]).toLowerCase()&&e.enableAriaHiddenSiblings;z.useEffect(function(){if(n&&t.current)return Xy(t.current)},[t,n])}(n,r),oS(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=$C(),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===Zg)f&&(f(e),e.preventDefault(),e.stopPropagation())},[f]);return eS(Jv(),"keydown",h),z.createElement("div",em({ref:o},Sy(n,Cy),{className:a,role:i,"aria-label":l,"aria-labelledby":s,"aria-describedby":u,onKeyDown:h,style:em({overflowY:p?"scroll":void 0,outline:"none"},c)}),d)});iS.displayName="Popup";var aS,lS=function(){var e;return null!==(e=Jv())&&void 0!==e?e:"undefined"!=typeof window?window:void 0},sS=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},uS=function(e){var t;return null!==(t=null==e?void 0:e.window)&&void 0!==t?t:"undefined"!=typeof window?window:void 0},cS=((aS={})[nC.top]=tC.slideUpIn10,aS[nC.bottom]=tC.slideDownIn10,aS[nC.left]=tC.slideLeftIn10,aS[nC.right]=tC.slideRightIn10,aS),dS=0,fS=0,pS={opacity:0,filter:"opacity(0)",pointerEvents:"none"},hS=["role","aria-roledescription"],mS={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:fC},gS=vv({disableCaching:!0});function vS(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)?GC(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)===nC.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 yS(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=$C(),p=e.hidden,h=e.target,m=e.finalHeight,g=e.calloutMaxHeight,v=e.onPositioned,y=e.directionalHint,b=e.hideOverflow,_=e.preferScrollResizePositioning,C=lS(),S=z.useRef(void 0);S.current!==i.current&&(S.current=i.current,a=i.current?null==C?void 0:C.getComputedStyle(i.current):void 0);var w=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=em(em({},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 S=d.current===h?s:void 0,k=_&&!(b||"clip"===w||"hidden"===w),x=m?qC(p,t.current,y,S,C):function(e,t,n,r,o,i,a){return KC(e,t,n,r,o,i,void 0,a)}(p,t.current,y,S,k,void 0,C);null===(a=n.parentElement)||void 0===a||a.removeChild(y),!s&&x||s&&x&&(f=x,!SS((l=s).elementPosition,f.elementPosition)||!SS(l.beakPosition.elementPosition,f.beakPosition.elementPosition))&&c.current<5?(c.current++,u(x)):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,_,w,C]),s}function bS(e,t,n){var r=e.hidden,o=e.setInitialFocus,i=$C(),a=!!t;z.useEffect(function(){if(!r&&o&&a&&n){var e=i.requestAnimationFrame(function(){return!!(o=gg(e=n,e,!0,!1,!1,!0,void 0,void 0,t,r))&&(kg(o),!0);var e,t,r,o},n);return function(){return i.cancelAnimationFrame(e)}}},[r,a,i,n,o])}var _S=z.memo(z.forwardRef(function(e,t){var n=ab(mS,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,S=n.shouldRestoreFocus,w=void 0===S||S,k=n.target,x=n.hidden,E=n.onLayerMounted,F=n.popupProps,I=z.useRef(null),T=XC(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=XC(I,t),A=nS(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?mS.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=$C();return eS(n,"resize",f.debounce(function(){u(!0)},500,{leading:!0})),d}(n,L,N),H=yS(n,I,R,L,B,T),V=vS(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=$C(),m=QC([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&&!ag(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&&!ag(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=[xg(o,"scroll",e,!0),xg(o,"resize",t,!0),xg(o.document.documentElement,"focus",m,!0),xg(o.document.documentElement,"click",m,!0),xg(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=em(em({},null==H?void 0:H.elementPosition),{maxHeight:V});if(K&&(q.bottom=void 0),bS(n,H,R),z.useEffect(function(){x||null==E||E()},[x]),!N)return null;var G=y,$=u&&!!k,Q=gS(r,{theme:n.theme,className:s,overflowYHidden:G,calloutWidth:f,positions:H,beakWidth:d,backgroundColor:b,calloutMaxWidth:p,calloutMinWidth:h,doNotLayer:m}),Z=em(em({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",em({},Sy(n,Cy,hS),{className:Dv(Q.root,H&&H.targetEdge&&cS[H.targetEdge]),style:H?em({},q):pS,tabIndex:-1,ref:M}),$&&z.createElement("div",{className:Q.beak,style:CS(H)}),$&&z.createElement("div",{className:Q.beakCurtain}),z.createElement(iS,em({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:w,style:Z},F,{ref:T}),c)))}),function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||Eg(e,t)});function CS(e){var t,n,r=em(em({},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=fS,r.top=dS),r}function SS(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 wS(e){return{height:e,width:e}}_S.displayName="CalloutContentBase";var kS={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},xS=ob(_S,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=H_(kS,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?P_.Layer:void 0,boxSizing:"border-box",borderRadius:p.roundedCorner2,boxShadow:p.elevation16,selectors:(t={},t[R_]={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)"},wS(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"}),ES=z.createContext(void 0),FS=function(){return function(){}};ES.Provider;var IS=vv(),TS=Ev(function(e,t){return T_(em(em({},e),{rtl:t}))}),PS=z.forwardRef(function(e,t){var n=e.className,r=e.theme,o=e.applyTheme,i=e.applyThemeToBody,a=e.styles,l=IS(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=fg(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=Sy(e,Cy,["dir"]),c=function(e){var t=e.theme,n=e.dir,r=pv(t)?"rtl":"ltr",o=pv()?"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(qy,{providerRef:n},z.createElement(a,em({dir:d},u,{className:o,ref:XC(n,r)})));f&&(p=z.createElement(Vv,{settings:{theme:TS(s,"rtl"===l)}},p));return p}(e,l,s,t))});PS.displayName="FabricBase";var RS={fontFamily:"inherit"},DS={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},MS=ob(PS,function(e){var t=e.applyTheme,n=e.className,r=e.preventBlanketFontInheritance,o=e.theme;return{root:[H_(DS,o).root,o.fonts.medium,{color:o.palette.neutralPrimary},!r&&{"& button":RS,"& input":RS,"& textarea":RS},t&&{color:o.semanticColors.bodyText,backgroundColor:o.semanticColors.bodyBackground},n],bodyThemed:[{backgroundColor:o.semanticColors.bodyBackground}]}},void 0,{scope:"Fabric"}),OS={},AS={},LS="fluent-default-layer-host",NS="#".concat(LS);var BS,zS=vv(),HS=z.forwardRef(function(e,t){var n,r=null!==(n=z.useContext(ES))&&void 0!==n?n:FS,o=z.useRef(null),i=XC(o,t),a=z.useRef(void 0),l=z.useRef(null),s=z.useContext(By),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(Py);e&&n&&e.classList.add(Py)},[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,S=void 0===C?function(){}:C,w=e.onLayerWillUnmount,k=e.styles,x=e.theme,E=XC(l,null==g?void 0:g.ref,f),F=zS(k,{theme:x,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=AS[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=NS,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",LS),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==w||w();var e=a.current;a.current=void 0,e&&e.parentNode&&e.parentNode.removeChild(e)},P=function(){var e,t,n,r,i=fg(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(cg,"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 sb(function(){P(),v&&function(e,t){OS[e]||(OS[e]=[]),OS[e].push(t);var n=AS[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=OS[e];if(n){var r=n.indexOf(t);r>=0&&(n.splice(r,1),0===n.length&&delete OS[e])}var o=AS[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==S||S(),null==_||_(),d(!1))},[c,S,_]),z.createElement("span",{className:"ms-layer",ref:i},a.current&&$c.createPortal(z.createElement(qy,{layerRoot:!0,providerRef:E},z.createElement(MS,em({},!m&&function(){BS||(BS={},["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 BS[e]=VS}));return BS}(),g,{className:Dv(F.content,null==g?void 0:g.className),ref:E}),p)),a.current))});HS.displayName="LayerBase";var VS=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()};var WS={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},US=ob(HS,function(e){var t=e.className,n=e.isNotHost,r=e.theme,o=H_(WS,r);return{root:[o.root,r.fonts.medium,n&&[o.rootNoHost,{position:"fixed",zIndex:P_.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"]}),jS=z.forwardRef(function(e,t){var n=e.layerProps,r=e.doNotLayer,o=tm(e,["layerProps","doNotLayer"]),i=z.createElement(xS,em({},o,{doNotLayer:r,ref:t}));return r?i:z.createElement(US,em({},n),i)});jS.displayName="Callout";var KS,qS,GS,$S,QS={disabled:!1,disableFirstFocus:!1,forceFocusInsideTrap:!0,isClickableOutsideFocusTrap:!1,"data-tabster":'{"uncontrolled": {"completely": true}}'},ZS=z.forwardRef(function(e,t){var n,r,o,i=z.useRef(null),a=z.useRef(null),l=z.useRef(null),s=XC(i,t),u=Xv(),c=lS(),d=!!Qv(),f=null===(n=tS(!1))||void 0===n||n,p=ab(QS,e),h=QC({hasFocus:!1,focusStackId:JC("ftz-",p.id)}),m=p.children,g=p.componentRef,v=p.disabled,y=p.disableFirstFocus,b=p.forceFocusInsideTrap,_=p.focusPreviouslyFocusedInnerElement,C=p.firstFocusableSelector,S=p.firstFocusableTarget,w=p.disableRestoreFocus,k=void 0===w?p.ignoreExternalFocusing:w,x=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&&kg(e)},[]),T=YC(function(){if(i.current){var e=h.previouslyFocusedElementInTrapZone;if(_&&e&&ag(i.current,e))I(e);else{var t=null;if("string"==typeof S)t=i.current.querySelector(S);else if(S)t=S(i.current);else if(C){var n="string"==typeof C?C:C();t=i.current.querySelector("."+n)}t||(t=gg(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),mg(t,n,r,!1,!0,!0,!1,!0,d)):function(e,t,n,r,o){return void 0===r&&(r=!0),gg(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=YC(function(e){if(ZS.focusStack=ZS.focusStack.filter(function(e){return h.focusStackId!==e}),u){var t=u.activeElement;k||"function"!=typeof(null==e?void 0:e.focus)||!ag(i.current,t)&&t!==u.body&&!t.shadowRoot||I(e)}}),D=YC(function(e){if(!v&&h.focusStackId===ZS.focusStack.slice(-1)[0]){var t=ug(e);t&&!ag(i.current,t)&&(u&&sg(u)===u.body?setTimeout(function(){u&&sg(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(xg(c,"focus",D,!0)),x||e.push(xg(c,"click",D,!0)),function(){e.forEach(function(e){return e()})}},[b,x,c]),z.useEffect(function(){if(!v&&(f||b)&&i.current){ZS.focusStack.push(h.focusStackId);var e=p.elementToFocusOnDismiss||sg(u);return y||ag(i.current,e)||T(),function(){return R(e)}}},[b,v]),z.useEffect(function(){if(!v&&E)return Xy(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",em({"aria-labelledby":p.ariaLabelledBy},Sy(p,Cy),{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=ug(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=sg(u)),ag(i.current,n)||(h.hasFocus=!1)}}),z.createElement("div",em({},F,{ref:a})),m,z.createElement("div",em({},F,{ref:l})))});ZS.displayName="FocusTrapZone",ZS.focusStack=[],function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(KS||(KS={})),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"}(qS||(qS={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(GS||(GS={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}($S||($S={}));var YS=vv(),JS=/\.svg$/i;var XS=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($S.notLoaded),l=a[0],s=a[1];sb(function(){s($S.notLoaded)},[i]),z.useEffect(function(){l===$S.notLoaded&&t.current&&(i&&t.current.naturalWidth>0&&t.current.naturalHeight>0||t.current.complete&&JS.test(i))&&s($S.loaded)}),z.useEffect(function(){null==n||n(l)},[l]);var u=z.useCallback(function(e){null==r||r(e),i&&s($S.loaded)},[i,r]),c=z.useCallback(function(e){null==o||o(e),s($S.error)},[o]);return[l,u,c]}(e,r),i=o[0],a=o[1],l=o[2],s=Sy(e,_y,["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,S=e.loading,w=function(e,t,n,r){var o=z.useRef(t),i=z.useRef(void 0);(void 0===i||o.current===$S.notLoaded&&t===$S.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===$S.loaded&&(o===qS.cover||o===qS.contain||o===qS.centerContain||o===qS.centerCover)&&n.current&&r.current){var l=void 0;if(l="number"==typeof i&&"number"==typeof a&&o!==qS.centerContain&&o!==qS.centerCover?i/a:r.current.clientWidth/r.current.clientHeight,n.current.naturalWidth/n.current.naturalHeight>l)return GS.landscape}return GS.portrait}(e,t,n,r));return o.current=t,i.current}(e,i,r,n),k=YS(_,{theme:C,className:g,width:d,height:f,maximizeFrame:b,shouldFadeIn:h,shouldStartVisible:m,isLoaded:i===$S.loaded||i===$S.notLoaded&&e.shouldStartVisible,isLandscape:w===GS.landscape,isCenter:v===qS.center,isCenterContain:v===qS.centerContain,isCenterCover:v===qS.centerCover,isContain:v===qS.contain,isCover:v===qS.cover,isNone:v===qS.none,isError:i===$S.error,isNotImageFit:void 0===v});return z.createElement("div",{className:k.root,style:{width:d,height:f},ref:n},z.createElement("img",em({},s,{onLoad:a,onError:l,key:"fabricImage"+e.src||"",className:k.image,ref:XC(r,t),src:u,alt:c,role:y,loading:S})))});XS.displayName="ImageBase";var ew={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"},tw=ob(XS,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=H_(ew,v),b={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},_=ng(),C=void 0!==_&&void 0===_.navigator.msMaxTouchPoints,S=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&&tC.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&&S,!C&&b],d&&[y.imageCover,C&&{width:"100%",height:"100%",objectFit:"cover"},!C&&S,!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);tw.displayName="Image";var nw=Qm({root:{display:"inline-block",textDecoration:"inherit"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),rw="ms-Icon",ow=Ev(function(e){var t=function(e){var t=void 0,n=ub.__options;if(e=e?db(e):"",e=ub.__remapped[e]||e)if(t=ub[e]){var r=t.subset;r&&r.fontFace&&(r.isRegistered||(Jm(r.fontFace),r.isRegistered=!0),r.className||(r.className=Gm(r.style,{fontFamily:r.fontFace.fontFamily,fontWeight:r.fontFace.fontWeight||"normal",fontStyle:r.fontFace.fontStyle||"normal"})))}else!n.disableWarnings&&n.warnOnMissingIcons&&Lg('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),iw=function(e){var t=e.iconName,n=e.className,r=e.style,o=void 0===r?{}:r,i=ow(t)||{},a=i.iconClassName,l=i.children,s=i.fontFamily,u=i.mergeImageProps,c=Sy(e,py),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",em({"data-icon-name":t},f,c,u?{title:void 0,"aria-label":void 0}:{},{className:Dv(rw,nw.root,a,!t&&nw.placeholder,n),style:em({fontFamily:s},o)}),p)};Ev(function(e,t,n){return iw({iconName:e,className:t,"aria-label":n})});var aw=vv({cacheSize:100}),lw=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===$S.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return Xh(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===KS.image||this.props.iconType===KS.Image,u=ow(o)||{},c=u.iconClassName,d=u.children,f=u.mergeImageProps,p=aw(r,{theme:a,className:n,iconClassName:c,isImage:s,isPlaceholder:l}),h=s?"span":"i",m=Sy(this.props,py,["aria-label"]),g=this.state.imageLoadError,v=em(em({},this.props.imageProps),{onLoadingStateChange:this._onImageLoadingStateChange}),y=g&&i||tw,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},S=d;return f&&d&&"object"==typeof d&&_&&(S=z.cloneElement(d,{alt:_})),z.createElement(h,em({"data-icon-name":o},C,m,f?{title:void 0,"aria-label":void 0}:{},{className:p.root}),s?z.createElement(y,em({},v)):t||S)},t}(z.Component),sw=ob(lw,function(e){var t=e.className,n=e.iconClassName,r=e.isPlaceholder,o=e.isImage,i=e.styles;return{root:[r&&nw.placeholder,nw.root,o&&nw.image,n,t,i&&i.root,i&&i.imageContainer]}},void 0,{scope:"Icon"},!0);sw.displayName="Icon";var uw=function(e){var t=e.className,n=e.imageProps,r=Sy(e,py,["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",em({},l,r,{className:Dv(rw,nw.root,nw.image,t)}),z.createElement(tw,em({},a,n,{alt:i?o:""})))},cw="backward",dw=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(){ib()&&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 qg:n._autoFillEnabled=!1;break;case nv:case ov: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),!ib()||!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)})}},wy(n),n._async=new rg(n),n.state={inputValue:t.defaultVisibleValue||"",isComposing:!1},n}return Xh(t,e),t.getDerivedStateFromProps=function(e,t){if(e.updateValueInWillReceiveProps){var n=e.updateValueInWillReceiveProps();if(null!==n&&n!==t.inputValue&&!t.isComposing)return em(em({},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)||fg(this._inputElement.current);if(this._inputElement.current&&this._inputElement.current===(null==s?void 0:s.activeElement)&&this._autoFillEnabled&&this.value&&i&&fw(i,this.value)){var u=!1;if(a&&(u=a()),u)this._inputElement.current.setSelectionRange(0,i.length,cw);else{for(;l<this.value.length&&this.value[l].toLocaleLowerCase()===i[l].toLocaleLowerCase();)l++;l>0&&this._inputElement.current.setSelectionRange(l,i.length,cw)}}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=Sy(this.props,vy),t=em(em({},this.props.style),{fontFamily:"inherit"});return z.createElement("input",em({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&&fw(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:[iv,rv]},t.contextType=Yv,t}(z.Component);function fw(e,t){return!(!e||!t)&&0===e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())}var pw,hw=1,mw=2;!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(pw||(pw={}));var gw,vw="data-is-focusable",yw="data-focuszone-id",bw="tabindex",_w="data-no-vertical-wrap",Cw="data-no-horizontal-wrap",Sw=999999999,ww=-999999999;function kw(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 xw,Ew={},Fw=new Set,Iw=["text","number","password","email","tel","url","search","textarea"],Tw=!1,Pw=function(e){function t(n){var r,o,i,a,l=e.call(this,n)||this;l._root=z.createRef(),l._mergedRef=lb(),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(bg(f,void 0,l._inShadowRoot)&&l._isImmediateDescendantOfZone(f)){t=f;break}f=ig(f,Tw)}if(u&&e.target===l._root.current){var p=c&&"function"==typeof c&&l._root.current&&c(l._root.current);p&&bg(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=ig(t,Tw);for(;n.length&&((t=n.pop())&&bg(t,void 0,l._inShadowRoot)&&l._setActiveElement(t,!0),!_g(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(!Cg(e.target))return;if(!l.focusElement(gg(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case Yg:if(l._shouldRaiseClicksOnSpace&&l._tryInvokeClickForFocusable(e.target,e))break;return;case nv:if(r!==pw.vertical&&(l._preventDefaultWhenHandled(e),l._moveFocusLeft(t)))break;return;case ov:if(r!==pw.vertical&&(l._preventDefaultWhenHandled(e),l._moveFocusRight(t)))break;return;case rv:if(r!==pw.horizontal&&(l._preventDefaultWhenHandled(e),l._moveFocusUp()))break;return;case iv:if(r!==pw.horizontal&&(l._preventDefaultWhenHandled(e),l._moveFocusDown()))break;return;case Xg:if(!a&&l._moveFocusPaging(!0))break;return;case Jg:if(!a&&l._moveFocusPaging(!1))break;return;case Gg:if(l.props.allowTabKey||l.props.handleTabKey===hw||l.props.handleTabKey===mw&&l._isElementInput(e.target)){var c=!1;if(l._processingTabKey=!0,r!==pw.vertical&&l._shouldWrapFocus(l._activeElement,Cw))c=(pv(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 tv: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(gg(l._root.current,d,!0)))break;return;case ev: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(mg(l._root.current,f,!0,!0,!0)))break;return;case $g: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,_w)?Sw:ww},wy(l),l._id=sy("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 Xh(t,e),t.getOuterZones=function(){return Fw.size},t._onKeyDownCapture=function(e){e.which===Gg&&Fw.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),Ew[this._id]=this,n){for(var r=ig(n,Tw);r&&r!==this._getDocument().body&&1===r.nodeType;){if(_g(r)){this._isInnerZone=!0;break}r=ig(r,Tw)}this._isInnerZone||(Fw.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&&!ag(this._root.current,this._activeElement,Tw)||this._defaultFocusElement&&!ag(this._root.current,this._defaultFocusElement,Tw))&&(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 bg(n)&&vg(n)?n:gg(e,n,!0)||mg(e,n)}(t,this._lastIndexPath);r?(this._setActiveElement(r,!0),r.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete Ew[this._id],this._isInnerZone||(Fw.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=Sy(this.props,py),u=n||r||"div";this._evaluateFocusBeforeRender();var c,d=(void 0===c&&(c=!1),!0===c&&(Q_=T_({},c)),Q_);return z.createElement(u,em({"aria-labelledby":a,"aria-describedby":i},s,o,{className:Dv((gw||(gw=Gm({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),gw),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(vw)&&this._isInnerZone){var n=this._getOwnerZone(this._root.current);if(n!==this._root.current){var r=Ew[n.getAttribute(yw)];return!!r&&r.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&ag(this._root.current,this._activeElement)&&bg(this._activeElement,void 0,this._inShadowRoot)&&(!t||yg(this._activeElement)))return this._activeElement.focus(),!0;var o=this._root.current.firstChild;return this.focusElement(gg(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(mg(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=ag(e,n,!1);this._lastIndexPath=r?function(e,t){for(var n=[];t&&e&&t!==e;){var r=ig(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&&(_g(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(vw)&&"true"!==n.getAttribute("data-disable-click-on-enter"))return kw(n,t),!0;n=ig(n,Tw)}while(n!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(_g(e))return Ew[e.getAttribute(yw)];for(var t=e.firstElementChild;t;){if(_g(t))return Ew[t.getAttribute(yw)];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===pw.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?gg(this._root.current,o):mg(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(gg(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(mg(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,_w)?Sw:ww:((-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,_w)?Sw:ww:((-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,Cw);return!!this._moveFocus(pv(e),function(r,o){var i=-1;return(pv(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!==pw.vertical?i=r.right-o.right:n||(i=ww),i},void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,Cw);return!!this._moveFocus(!pv(e),function(r,o){var i=-1;return(pv(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!==pw.vertical?i=o.left-r.left:n||(i=ww),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=Ag(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?gg(this._root.current,n):mg(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(gg(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(mg(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return g},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===pw.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=ig(e,Tw);t&&t!==this._root.current&&t!==this._getDocument().body;){if(_g(t))return t;t=ig(t,Tw)}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&&!ag(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!bg(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];_g(r)?"true"===r.getAttribute(vw)&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(bw)&&r.setAttribute(bw,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(bw)&&r.setAttribute(bw,"0"))):(r.getAttribute&&"false"===r.getAttribute(vw)&&r.setAttribute(bw,"-1"),bg(r,void 0,this._inShadowRoot)?this.props.disabled?r.setAttribute(bw,"-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(bw)&&r.setAttribute(bw,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(bw)&&r.setAttribute(bw,"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&&Iw.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||Sg(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&dg(e,this._root.current)},t.prototype._getDocument=function(){return fg(this._root.current)},t.defaultProps={isCircularNavigation:!1,direction:pw.bidirectional,shouldRaiseClicks:!0,"data-tabster":'{"uncontrolled": {}}'},t.contextType=$v,t}(z.Component);function Rw(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function Dw(e){return!(!e.subMenuProps&&!e.items)}function Mw(e){return!(!e.isDisabled&&!e.disabled)}function Ow(e){return null!==Rw(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"}(xw||(xw={}));var Aw,Lw=function(e){var t=e.item,n=e.classNames,r=t.iconProps;return z.createElement(sw,em({},r,{className:n.icon}))},Nw=function(e){var t=e.item;return e.hasIcons?t.onRenderIcon?t.onRenderIcon(e,Lw):Lw(e):null},Bw=function(e){var t=e.onCheckmarkClick,n=e.item,r=e.classNames,o=Rw(n);if(t){return z.createElement(sw,{iconName:!1!==n.canCheck&&o?"CheckMark":"",className:r.checkmarkIcon,onClick:function(e){return t(n,e)}})}return null},zw=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},Hw=function(e){var t=e.item,n=e.classNames;return t.secondaryText?z.createElement("span",{className:n.secondaryText},t.secondaryText):null},Vw=function(e){var t=e.item,n=e.classNames,r=e.theme;return Dw(t)?z.createElement(sw,em({iconName:pv(r)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:n.subMenuIcon})):null},Ww=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();Dw(t)&&r&&i&&r(t,i)}},n.dismissSubMenu=function(){var e=n.props,t=e.item,r=e.dismissSubMenu;Dw(t)&&r&&r()},n.dismissMenu=function(e){var t=n.props.dismissMenu;t&&t(void 0,e)},wy(n),n}return Xh(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:Bw,renderItemIcon:Nw,renderItemName:zw,renderSecondaryText:Hw,renderSubMenuIcon:Vw}))},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),Uw=Ev(function(e){return Qm({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})}),jw=36,Kw=O_(0,639),qw=Ev(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 $m({item:[l.medium,{color:a.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:f,position:"relative"},root:[A_(e),l.medium,{color:a.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:jw,lineHeight:jw,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:a.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[R_]={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[R_]={color:"inherit"},r)},n[R_]=em({},{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:jw,fontSize:xb.medium,width:xb.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(o={},o[Kw]={fontSize:xb.large,width:xb.large},o)},iconColor:{color:a.menuIcon},iconDisabled:{color:a.disabledBodyText},checkmarkIcon:{color:a.bodySubtext},subMenuIcon:{height:jw,lineHeight:jw,color:s.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:xb.small,selectors:(i={":hover":{color:s.neutralPrimary},":active":{color:s.neutralPrimary}},i[Kw]={fontSize:xb.medium},i)},splitButtonFlexContainer:[A_(e),{display:"flex",height:jw,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]})}),Gw="28px",$w=O_(0,639),Qw=Ev(function(e){var t;return Qm(Uw(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[$w]={right:32},t)},divider:{height:16,width:1}})}),Zw={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"},Yw=Ev(function(e,t,n,r,o,i,a,l,s,u,c,d){var f,p,h,m,g=qw(e),v=H_(Zw,e);return Qm({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(Py," &:focus, .").concat(Py," &:focus:hover, :host(.").concat(Py,") &:focus, :host(.").concat(Py,") &:focus:hover")]=g.rootFocused,f[".".concat(Py," &:hover, :host(.").concat(Py,") &:hover")]={background:"inherit;"},f)}],d],splitPrimary:[g.root,{width:"calc(100% - ".concat(Gw,")")},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(Py," &:focus, .").concat(Py," &:focus:hover, :host(.").concat(Py,") &:focus, :host(.").concat(Py,") &:focus:hover")]=g.rootFocused,p[".".concat(Py," &:hover, :host(.").concat(Py,") &:hover")]={background:"inherit;"},p)}]],splitMenu:[v.splitMenu,g.root,{flexBasis:"0",padding:"0 8px",minWidth:Gw},n&&["is-expanded",g.rootExpanded],t&&["is-disabled",g.rootDisabled],!t&&!n&&[{selectors:(h={":hover":g.rootHovered,":active":g.rootPressed},h[".".concat(Py," &:focus, .").concat(Py," &:focus:hover, :host(.").concat(Py,") &:focus, :host(.").concat(Py,") &:focus:hover")]=g.rootFocused,h[".".concat(Py," &:hover, :host(.").concat(Py,") &: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(Py," &:focus, .").concat(Py," &:focus:hover, :host(.").concat(Py,") &:focus, :host(.").concat(Py,") &:focus:hover")]=g.rootFocused,m)}]],screenReaderText:[v.screenReaderText,g.screenReaderText,B_,{visibility:"hidden"}]})}),Jw=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 Yw(t,n,r,o,i,a,l,s,u,c,d,f)},Xw=ob(Ww,Jw,void 0,{scope:"ContextualMenuItem"}),ek=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(){},wy(n),n}return Xh(t,e),t.prototype.shouldComponentUpdate=function(e){return!Eg(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"}(Aw||(Aw={}));var tk=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?Aw.PERSISTED_KEYTIP_ADDED:Aw.KEYTIP_ADDED;Pg.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||Pg.raise(this,Aw.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?Aw.PERSISTED_KEYTIP_REMOVED:Aw.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||Pg.raise(this,r,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){Pg.raise(this,Aw.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){Pg.raise(this,Aw.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=rm([],e.keySequences,!0);if(t.pop(),0!==t.length){var n=this.sequenceMapping[t.toString()];if(n&&n.overflowSetSequence)return em(em({},e),{overflowSetSequence:n.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){Pg.raise(this,Aw.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=sy()),{keytip:em({},e),uniqueID:t}},e._instance=new e,e}();function nk(e){return e.reduce(function(e,t){return e+"-"+t.split("").join("-")},"ktp")}function rk(e){var t=z.useRef(void 0),n=e.keytipProps?em({disabled:e.disabled},e.keytipProps):void 0,r=QC(tk.getInstance()),o=tS(e);sb(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)}),sb(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=sv(n,function(e){var t=" ktp-layer-id";return e.length?t+" "+nk(e):t}(r.keySequences)),i=rm([],r.keySequences,!0);r.overflowSetSequence&&(i=function(e,t){var n,r,o,i=t.length,a=rm([],t,!0).pop(),l=rm([],e,!0);return n=i-1,r=a,(o=l.slice()).splice(n,0,r),o}(i,r.overflowSetSequence));var a=nk(i);return{ariaDescribedBy:o,keytipId:a}}(r,n,e.ariaDescribedBy)),i}var ok=function(e){var t,n=e.children,r=rk(tm(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))},ik=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=z.createRef(),t._getMemoizedMenuButtonKeytipProps=Ev(function(e){return em(em({},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 Xh(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=Xw;this.props.item.contextualMenuItemAs&&(h=Rv(this.props.item.contextualMenuItemAs,h)),this.props.contextualMenuItemAs&&(h=Rv(this.props.contextualMenuItemAs,h));var m=n.rel;n.target&&"_blank"===n.target.toLowerCase()&&(m=m||"nofollow noopener noreferrer");var g=Dw(n),v=Sy(n,my),y=Mw(n),b=n.itemProps,_=n.ariaDescription,C=n.keytipProps;C&&g&&(C=this._getMemoizedMenuButtonKeytipProps(C)),_&&(this._ariaDescriptionId=sy());var S=sv(n.ariaDescribedBy,_?this._ariaDescriptionId:void 0,v["aria-describedby"]),w={"aria-describedby":S};return z.createElement("div",null,z.createElement(ok,{keytipProps:n.keytipProps,ariaDescribedBy:S,disabled:y},function(t){return z.createElement("a",em({},w,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":Mw(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,em({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}(ek),ak=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=z.createRef(),t._getMemoizedMenuButtonKeytipProps=Ev(function(e){return em(em({},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 Xh(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=Xw;n.contextualMenuItemAs&&(g=Rv(n.contextualMenuItemAs,g)),u&&(g=Rv(u,g));var v=Rw(n),y=null!==v,b=Ow(n),_=Dw(n),C=n.itemProps,S=n.ariaLabel,w=n.ariaDescription,k=Sy(n,gy);delete k.disabled;var x=n.role||b;w&&(this._ariaDescriptionId=sy());var E=sv(n.ariaDescribedBy,w?this._ariaDescriptionId:void 0,k["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":S,"aria-describedby":E,"aria-haspopup":_||void 0,"aria-expanded":_?n.key===c:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":Mw(n),"aria-checked":"menuitemcheckbox"!==x&&"menuitemradio"!==x||!y?void 0:!!v,"aria-selected":"menuitem"===x&&y?!!v:void 0,role:x,style:n.style},I=n.keytipProps;return I&&_&&(I=this._getMemoizedMenuButtonKeytipProps(I)),z.createElement(ok,{keytipProps:I,ariaDescribedBy:E,disabled:Mw(n)},function(t){return z.createElement("button",em({ref:e._btn},k,F,t),z.createElement(g,em({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(w,r.screenReaderText))})},t}(ek),lk=vv(),sk=z.forwardRef(function(e,t){var n=e.styles,r=e.theme,o=e.getClassNames,i=e.className,a=lk(n,{theme:r,getClassNames:o,className:i});return z.createElement("span",{className:a.wrapper,ref:t},z.createElement("span",{className:a.divider}))});sk.displayName="VerticalDividerBase";var uk,ck=ob(sk,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"}),dk=function(e){function t(t){var n=e.call(this,t)||this;return n._getMemoizedMenuButtonKeytipProps=Ev(function(e){return em(em({},e),{hasMenu:!0})}),n._onItemKeyDown=function(e){var t=n.props,r=t.item,o=t.onItemKeyDown;e.which===$g?(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(em(em({},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(em(em({},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 rg(n),n._events=new Pg(n),n._dismissLabelId=sy(),n}return Xh(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=Dw(r),p=r.keytipProps;p&&(p=this._getMemoizedMenuButtonKeytipProps(p));var h=r.ariaDescription;h&&(this._ariaDescriptionId=sy());var m=null!==(e=Rw(r))&&void 0!==e?e:void 0;return z.createElement(ok,{keytipProps:p,disabled:Mw(r)},function(e){return z.createElement("div",{"data-ktp-target":e["data-ktp-target"],ref:function(e){t._splitButton=e},role:Ow(r),"aria-label":r.ariaLabel,className:o.splitContainer,"aria-disabled":Mw(r),"aria-expanded":f?r.key===d:void 0,"aria-haspopup":!0,"aria-describedby":sv(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,em(em({},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?Xw:a,s=i.onItemClick,u={key:e.key,disabled:Mw(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",em({},Sy(u,gy)),z.createElement(l,em({"data-is-focusable":!1,item:em(em({},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||Qw;return z.createElement(ck,{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=Xw;this.props.item.contextualMenuItemAs&&(c=Rv(this.props.item.contextualMenuItemAs,c)),this.props.contextualMenuItemAs&&(c=Rv(this.props.contextualMenuItemAs,c));var d={onClick:this._onIconItemClick,disabled:Mw(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key,"aria-labelledby":this._dismissLabelId},f=em(em({},Sy(d,gy)),{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",em({},f),z.createElement(c,em({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}(ek);!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"}(uk||(uk={}));var fk,pk=[479,639,1023,1365,1919,99999999];function hk(){var e;return null!==(e=fk)&&void 0!==e?e:uk.large}function mk(e){try{return e.document.documentElement.clientWidth}catch(t){return e.innerWidth}}var gk=function(e,t){var n=z.useState(hk()),r=n[0],o=n[1],i=z.useCallback(function(){var t=function(e){var t=uk.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(;mk(e)>pk[t];)t++}catch(e){t=hk()}return fk=t,t}(ng(e.current));r!==t&&o(t)},[e,r]);return eS(Jv(),"resize",i),z.useEffect(function(){void 0===t&&i()},[t]),null!=t?t:r},vk=z.createContext({}),yk=vv(),bk=vv(),_k={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:fC,beakWidth:16};function Ck(e){for(var t=0,n=0,r=e;n<r.length;n++){var o=r[n];if(o.itemType!==xw.Divider&&o.itemType!==xw.Header)t+=o.customOnRenderListLength?o.customOnRenderListLength:1}return t}function Sk(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=tm(l,["onClick"]);o.push(em(em({},u),{onClick:Dk(s,n)}))}else o.push(l)}return o}}var wk="ContextualMenu",kk=Ev(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return Ym.apply(void 0,rm([t,Jw],e,!1))}});function xk(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=JC(wk,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=Rk(u,r),t=null;if(e&&(t={items:Sk(e,{target:l}),target:f,onDismiss:_,isSubMenu:!0,id:v,shouldFocusOnMount:!0,shouldFocusOnContainer:m,directionalHint:pv(o)?pC:gC,className:i,gapSpace:0,isBeakVisible:!1},e.subMenuProps&&Fg(t,e.subMenuProps),e.preferMenuTargetAsEventTarget)){var n=e.onItemClick;t.onItemClick=Dk(n,l)}return t},_]}function Ek(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?pw.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===Zg||function(e){var t=pv(o)?ov:nv;return!(e.which!==t||!i||c!==pw.vertical&&(!s||Sg(e.target,"data-no-horizontal-wrap")))}(e)||e.which===rv&&(e.altKey||e.metaKey)},h=function(e){d.current=Ik(e);var t=e.which===Zg&&(eb()||Yy());return f(e,p,t)},m=function(e){var t=d.current&&Ik(e);return d.current=!1,!!t&&!(Yy()||eb())};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===rv,o=e.which===iv;if(!t&&(r||o)){var i=r?hg(n.current,n.current.lastChild,!0):pg(n.current,n.current.firstChild,!0);i&&(i.focus(),e.preventDefault(),e.stopPropagation())}}},function(e,t){var n=pv(o)?nv:ov;e.disabled||t.which!==n&&t.which!==$g&&(t.which!==iv||!t.altKey&&!t.metaKey)||(r(e,t.currentTarget),t.preventDefault())}]}var Fk=z.memo(z.forwardRef(function(e,t){var n,r=ab(_k,e);r.ref;var o=tm(r,["ref"]),i=z.useRef(null),a=$C(),l=JC(wk,o.id),s=function(e,t){var n;return null===(n=o.onDismiss)||void 0===n?void 0:n.call(o,e,t)},u=nS(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 sb(function(){var e,o;if(r)i.current&&(a({originalElement:i.current,containsFocus:!0,documentContainsFocus:(null===(o=fg())||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=xk(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],S=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),w=S[0],k=S[1],x=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=x[0],F=x[1],I=x[2],T=gk(i,o.responsiveMode);!function(e){var t=e.hidden,n=void 0!==t&&t,r=e.onMenuDismissed,o=e.onMenuOpened,i=tS(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=Ek(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(),Dw(e)?(t.stopPropagation(),s(function(){r.focus(),c(e,r,!0)})):s(function(){d(t),r.focus()}))},g=function(t,n,r){var o=Sk(t,{target:p});if(u(),Dw(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&&Mk(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,k,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!==xw.Divider&&e.itemType!==xw.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===xw.Divider?e.className:void 0,v=e.submenuIconProps?e.submenuIconProps.className:"";if(f)u=f(o.theme,Mw(e),h===e.key,!!Rw(e),!!e.href,"None"!==d.iconName,e.className,g,d.className,v,e.primaryDisabled);else{var y={theme:o.theme,disabled:Mw(e),expanded:h===e.key,checked:!!Rw(e),isAnchorLink:!!e.href,knownIcon:"None"!==d.iconName,itemClassName:e.className,dividerClassName:g,iconClassName:d.className,subMenuClassName:v,primaryDisabled:e.primaryDisabled};u=bk(kk(null===(s=l.subComponentStyles)||void 0===s?void 0:s.menuItem,m),y)}switch("-"!==e.text&&"-"!==e.name||(e.itemType=xw.Divider),e.itemType){case xw.Divider:c.push($(t,u));break;case xw.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 xw.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:xw.Header,text:a.title,id:f},d=f}else{var p=a.title.id||l+a.title.key.replace(/\s/g,"");c=em(em({},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",em({},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,Ck(a.items),o,i,n);if(e.itemType!==xw.Divider&&e.itemType!==xw.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(em({"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:Tk,executeItemClick:W,onItemKeyDown:O,expandedMenuItemKey:h,openSubMenu:m,dismissSubMenu:v,dismissMenu:s};if(e.href){var c=ik;return e.contextualMenuItemWrapperAs&&(c=Rv(e.contextualMenuItemWrapperAs,c)),z.createElement(c,em({},u,{onItemClick:V}))}if(e.split&&Dw(e)){var d=dk;return e.contextualMenuItemWrapperAs&&(d=Rv(e.contextualMenuItemWrapperAs,d)),z.createElement(d,em({},u,{onItemClick:H,onItemClickBase:U,onTap:E}))}var f=ak;return e.contextualMenuItemWrapperAs&&(f=Rv(e.contextualMenuItemWrapperAs,f)),z.createElement(f,em({},u,{onItemClick:H,onItemClickBase:U}))},Z=function(e,t,n,r,i,a){var l=Xw;e.contextualMenuItemAs&&(l=Rv(e.contextualMenuItemAs,l)),o.contextualMenuItemAs&&(l=Rv(o.contextualMenuItemAs,l));var s=e.itemProps,u=e.id,c=s&&Sy(s,Cy);return z.createElement("div",em({id:u,className:n.header},c,{style:e.style}),z.createElement(l,em({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,Se=void 0===Ce?Pk:Ce,we=o.onRenderMenuList,ke=void 0===we?function(e,t){return j(e,Fe)}:we,xe=o.focusZoneProps,Ee=o.getMenuClassNames,Fe=Ee?Ee(be,te):yk(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===xw.Section&&o.sectionProps&&e(o.sectionProps.items))return!0}return!1}(J);var Te,Pe=em(em({direction:pw.vertical,handleTabKey:hw,isCircularNavigation:!0,"data-tabster":'{"uncontrolled": {}, "focusable": { "excludeFromMover": true }}'},xe),{className:Dv(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<=uk.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=Ck(J),Le=Fe.subComponentStyles?Fe.subComponentStyles.callout:void 0;return z.createElement(vk.Consumer,null,function(e){return z.createElement(jS,em({styles:Le,onRestoreFocus:f},_e,{target:ce||e.target,isBeakVisible:Y,beakWidth:ne,directionalHint:re,directionalHintForRTL:oe,gapSpace:ae,coverTarget:le,doNotLayer:ue,className:Dv("ms-ContextualMenu-Callout",_e&&_e.className),setInitialFocus:me,onDismiss:o.onDismiss||e.onDismiss,onScroll:w,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?Pw:n;return z.createElement(r,em({},t),e)}(ke({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&&Se(De,Pk)),z.createElement(Hy,null))})}return null}),function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||Eg(e,t)});function Ik(e){return e.which===Qg||"Meta"===e.key}function Tk(e,t){var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,e,t)}function Pk(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")}function Rk(e,t){for(var n=0,r=t;n<r.length;n++){var o=r[n];if(o.itemType===xw.Section&&o.sectionProps){var i=Rk(e,o.sectionProps.items);if(i)return i}else if(o.key&&o.key===e)return o}}function Dk(e,t){return e?function(n,r){return Mk(n,t),e(n,r)}:e}function Mk(e,t){e&&t&&(e.persist(),t instanceof Event?e.target=t.target:t instanceof Element&&(e.target=t))}Fk.displayName="ContextualMenuBase";var Ok={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function Ak(e){return z.createElement(Lk,em({},e))}var Lk=ob(Fk,function(e){var t=e.className,n=e.theme,r=H_(Ok,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:kb.semibold,color:i.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:jw,lineHeight:jw,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?nb(e.onRenderSubMenu,Ak):Ak}},{scope:"ContextualMenu"}),Nk=Lk;Nk.displayName="ContextualMenu";var Bk={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"},zk=Ev(function(e,t,n,r,o,i,a,l,s,u,c){var d,f,p=H_(Bk,e||{}),h=u&&!c;return Qm(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&&[Bk.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]})}),Hk="ms-SplitButton-divider",Vk=Ev(function(e,t,n,r,o){return{root:Gm(e.splitButtonMenuButton,n&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],r&&!t&&[e.splitButtonMenuButtonChecked],o&&!t&&[{":focus":e.splitButtonMenuFocused}]),splitButtonContainer:Gm(e.splitButtonContainer,!t&&r&&[e.splitButtonContainerChecked,{":hover":e.splitButtonContainerCheckedHovered}],!t&&!r&&[{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}],t&&e.splitButtonContainerDisabled),icon:Gm(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&o&&e.splitButtonMenuIcon),flexContainer:Gm(e.splitButtonFlexContainer),divider:Gm(Hk,e.splitButtonDivider,(o||t)&&e.splitButtonDividerDisabled)}}),Wk=function(e){function t(t){var n=e.call(this,t)||this;return n._buttonElement=z.createRef(),n._splitButtonContainer=z.createRef(),n._mergedRef=lb(),n._renderedVisibleMenu=!1,n._getMemoizedMenuButtonKeytipProps=Ev(function(e){return em(em({},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=tm(r,["className","imageProps"]);if(r.styles)return z.createElement(sw,em({className:Dv(n._classNames.icon,o),imageProps:i},a));if(r.iconName)return z.createElement(iw,em({className:Dv(n._classNames.icon,o)},a));if(i)return z.createElement(uw,em({className:Dv(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(iw,em({iconName:"ChevronDown"},t,{className:n._classNames.menuIcon}))},n._onRenderMenu=function(e){var t=n.props.menuAs?Rv(n.props.menuAs,Nk):Nk;return z.createElement(t,em({},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&&dg(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!==$g&&e.which!==Yg?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===$g||e.which===Yg?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===rv,o=e.which===iv;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!==$g&&e.which!==Yg||My(!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())},wy(n),n._async=new rg(n),n._events=new Pg(n),n.props.split,n._labelId=sy(),n._descriptionId=sy(),n._ariaDescriptionId=sy(),n.state={menuHidden:!0},n}return Xh(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,S=a||s;this._classNames=b?b(v,i,g,f&&f.className,p&&p.className,S,m,!C,!!this.props.menuProps,this.props.split,!!l):zk(v,h,i,g,f&&f.className,p&&p.className,S,!!this.props.menuProps,m,!C,this.props.split);var w=this,k=w._ariaDescriptionId,x=w._labelId,E=w._descriptionId,F=!S&&!!d,I=F?"a":"button",T=Sy(Fg(F?{}:{type:"button"},this.props.rootProps,this.props),F?my:gy,["disabled"]),P=r||T["aria-label"],R=void 0;n?R=k:c&&this.props.onRenderDescription!==Bg?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()?x: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=Fg(T,((e={className:this._classNames.root,ref:this._mergedRef(this.props.elementRef,this._buttonElement),disabled:S&&!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":S,"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;Fg(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?(My(!0,void 0,null===(e=this.context)||void 0===e?void 0:e.registeredProviders),this._splitButtonContainer.current.focus()):this._buttonElement.current&&(My(!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,em({},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(ok,{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(Hy,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=em(em({},e),{labelElementId:this._labelId})),em(em({id:this._labelId+"-menu",directionalHint:uC},e),{shouldFocusOnContainer:this._menuShouldFocusOnContainer,shouldFocusOnMount:this._menuShouldFocusOnMount,hidden:t?n:void 0,className:Dv("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&&Vk(i,!!a,!g,!!s,!!c);Fg(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1}),m&&d&&(m=this._getMemoizedMenuButtonKeytipProps(m));var y=Sy(t,[],["disabled"]);h&&Fg(t,h);var b=function(r){return z.createElement("div",em({},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":sv(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(ok,{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=em(em({},l),{styles:e,checked:i,disabled:a,allowDisabledFocus:o,onClick:this._onMenuClick,menuProps:void 0,iconProps:em(em({},d),{className:this._classNames.menuIcon}),ariaLabel:s,"aria-haspopup":!0,"aria-expanded":!c,"data-is-focusable":!1});return z.createElement(t,em({},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===iv&&(e.altKey||e.metaKey))},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t.contextType=By,t}(z.Component),Uk={outline:0},jk=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}},Kk=Ev(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:[A_(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:[A_(e,{inset:1,highContrastStyle:u,borderColor:"transparent"}),{backgroundColor:l,borderColor:l,color:s,cursor:"default",":hover":Uk,":focus":Uk}],iconDisabled:(t={color:s},t[R_]={color:"GrayText"},t),menuIconDisabled:(n={color:s},n[R_]={color:"GrayText"},n),flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:jk(i.mediumPlus.fontSize),menuIcon:jk(i.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:B_}}),qk=Ev(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,S={left:-2,top:-2,bottom:-2,right:-2,border:"none"},w={position:"absolute",width:1,right:31,top:8,bottom:8};return $m({splitButtonContainer:[A_(e,{highContrastStyle:S,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[R_]=em(em({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[R_]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":em({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})}},r),'.ms-Button--default + .ms-Button[aria-expanded="true"]':(o={},o[R_]={backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":em({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})},o),".ms-Button--primary + .ms-Button":(i={border:"none"},i[R_]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{borderLeftWidth:"0",backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",".ms-Button-menuIcon":em(em({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"HighlightText"})}},i),'.ms-Button--primary + .ms-Button[aria-expanded="true"]':(a={},a[R_]=em(em({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{".ms-Button-menuIcon":{color:"HighlightText"}}),a),".ms-Button.is-disabled":(l={},l[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},l)}],splitButtonContainerHovered:{".ms-Button--default.is-disabled":(s={backgroundColor:C.buttonBackgroundDisabled,color:C.buttonTextDisabled},s[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},s),".ms-Button--primary.is-disabled":(u={backgroundColor:C.primaryButtonBackgroundDisabled,color:C.primaryButtonTextDisabled},u[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},u)},splitButtonContainerChecked:{".ms-Button--primary":(c={},c[R_]=em({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),c)},splitButtonContainerCheckedHovered:{".ms-Button--primary":(d={},d[R_]=em({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[R_]={".ms-Button-menuIcon":{color:"WindowText"}},f),splitButtonDivider:em(em({},w),(p={},p[R_]={backgroundColor:"WindowText"},p)),splitButtonDividerDisabled:em(em({},w),(h={},h[R_]={backgroundColor:"GrayText"},h)),splitButtonMenuButtonDisabled:(m={pointerEvents:"none",border:"none",":hover":{cursor:"default"},".ms-Button--primary":(g={},g[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},g),".ms-Button-menuIcon":(v={},v[R_]={color:"GrayText"},v)},m[R_]={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[R_]=em({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),y),splitButtonMenuFocused:em({},A_(e,{highContrastStyle:S,inset:2}))},t)});var Gk=Ev(function(e,t,n){var r=Kk(e),o=qk(e);return $m(r,{root:{minWidth:"80px",minHeight:"32px"},label:{fontWeight:kb.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[R_]=em({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t[".".concat(Py," &:focus, :host(.").concat(Py,") &:focus")]={":after":{border:"none",outlineColor:c.white}},t),rootHovered:(n={backgroundColor:d.primaryButtonBackgroundHovered,border:"1px solid ".concat(d.primaryButtonBackgroundHovered),color:d.primaryButtonTextHovered},n[R_]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},n),rootPressed:(r={backgroundColor:d.primaryButtonBackgroundPressed,border:"1px solid ".concat(d.primaryButtonBackgroundPressed),color:d.primaryButtonTextPressed},r[R_]=em({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[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},o),splitButtonContainer:(i={},i[R_]={border:"none"},i),splitButtonDivider:em(em({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(a={backgroundColor:c.white},a[R_]={backgroundColor:"Window"},a)),splitButtonMenuButton:(l={backgroundColor:d.primaryButtonBackground,color:d.primaryButtonText},l[R_]={backgroundColor:"Canvas"},l[":hover"]=(s={backgroundColor:d.primaryButtonBackgroundHovered},s[R_]={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[R_]={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[R_]={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[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},n),splitButtonContainer:(r={},r[R_]={border:"none"},r),splitButtonMenuButton:{color:l.white,backgroundColor:"transparent",":hover":(o={backgroundColor:l.neutralLight},o[R_]={color:"Highlight"},o)},splitButtonMenuButtonDisabled:{backgroundColor:a.buttonBackgroundDisabled,":hover":{backgroundColor:a.buttonBackgroundDisabled}},splitButtonDivider:em(em({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(i={backgroundColor:l.neutralTertiaryAlt},i[R_]={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)}),$k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(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(Wk,em({},this.props,{variantClassName:n?"ms-Button--primary":"ms-Button--default",styles:Gk(o,r,n),onRenderDescription:Bg}))},t=nm([ny("DefaultButton",["theme","styles"],!0)],t)}(z.Component),Qk=Ev(function(e,t){var n,r,o;return $m(Kk(e),{root:(n={padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},n[R_]={borderColor:"Window"},n),rootHovered:(r={color:e.palette.themePrimary},r[R_]={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[R_]={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)}),Zk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return z.createElement(Wk,em({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:Qk(n,t),onRenderDescription:Bg}))},t=nm([ny("ActionButton",["theme","styles"],!0)],t)}(z.Component),Yk=Ev(function(e,t){var n,r=Kk(e),o=qk(e),i=e.palette;return $m(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[R_]={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)}),Jk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return z.createElement(Wk,em({},this.props,{variantClassName:"ms-Button--icon",styles:Yk(n,t),onRenderText:Bg,onRenderDescription:Bg}))},t=nm([ny("IconButton",["theme","styles"],!0)],t)}(z.Component),Xk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(t,e),t.prototype.render=function(){return z.createElement($k,em({},this.props,{primary:!0,onRenderDescription:Bg}))},t=nm([ny("PrimaryButton",["theme","styles"],!0)],t)}(z.Component),ex=Zk,tx=vv(),nx=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=JC("checkbox-",e.id),b=z.useRef(null),_=XC(b,t),C=z.useRef(null),S=ZC(e.checked,e.defaultChecked,e.onChange),w=S[0],k=S[1],x=ZC(e.indeterminate,e.defaultIndeterminate),E=x[0],F=x[1];zy(b);var I=tx(p,{theme:h,className:m,disabled:n,indeterminate:E,checked:w,reversed:"start"!==v,isUsingCustomLabelRender:!!e.onRenderLabel}),T=z.useCallback(function(e){E?(k(!!w,e),F(!1)):k(!w,e)},[k,F,E,w]),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,w,E,R,C),z.useEffect(function(){return R(E)},[R,E]);var D=e.onRenderLabel||P,M=E?"mixed":void 0,O=em(em({className:I.input,type:"checkbox"},o),{checked:!!w,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",em({},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(sw,em({iconName:"CheckMark"},f,{className:I.checkmark}))),D(e,P)))});nx.displayName="CheckboxBase";var rx={root:"ms-Checkbox",label:"ms-Checkbox-label",checkbox:"ms-Checkbox-checkbox",checkmark:"ms-Checkbox-checkmark",text:"ms-Checkbox-text"},ox="20px",ix="200ms",ax="cubic-bezier(.4, 0, .23, 1)",lx=ob(nx,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,S=e.checked,w=e.disabled,k=e.isUsingCustomLabelRender,x=e.indeterminate,E=_.semanticColors,F=_.effects,I=_.palette,T=_.fonts,P=H_(rx,_),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:w?L:O,transitionProperty:"border-width, border, border-color",transitionDuration:ix,transitionTimingFunction:ax},t[R_]={borderColor:"WindowText"},t)];return{root:[P.root,{position:"relative",display:"flex"},C&&"reversed",S&&"is-checked",!w&&"is-enabled",w&&"is-disabled",!w&&[!S&&(n={},n[":hover .".concat(P.checkbox)]=(r={borderColor:N},r[R_]={borderColor:"Highlight"},r),n[":focus .".concat(P.checkbox)]={borderColor:N},n[":hover .".concat(P.checkmark)]=(o={color:D,opacity:"1"},o[R_]={color:"Highlight"},o),n),S&&!x&&(i={},i[":hover .".concat(P.checkbox)]={background:H,borderColor:V},i[":focus .".concat(P.checkbox)]={background:H,borderColor:V},i[R_]=(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),x&&(l={},l[":hover .".concat(P.checkbox,", :hover .").concat(P.checkbox,":after")]=(s={borderColor:B},s[R_]={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[R_]={color:w?"GrayText":"WindowText"},c),u)],b],input:(d={position:"absolute",background:"none",opacity:0},d[".".concat(Py," &:focus + label::before, :host(.").concat(Py,") &:focus + label::before")]=(f={outline:"1px solid "+_.palette.neutralSecondary,outlineOffset:"2px"},f[R_]={outline:"1px solid WindowText"},f),d),label:[P.label,_.fonts.medium,{display:"flex",alignItems:k?"center":"flex-start",cursor:w?"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:ox,width:ox,border:"1px solid ".concat(M),borderRadius:F.roundedCorner2,boxSizing:"border-box",transitionProperty:"background, border, border-color",transitionDuration:ix,transitionTimingFunction:ax,overflow:"hidden",":after":x?q:null},p[R_]=em({borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),p),x&&{borderColor:O},C?{marginLeft:4}:{marginRight:4},!w&&!x&&S&&(h={background:z,borderColor:A},h[R_]={background:"Highlight",borderColor:"Highlight"},h),w&&(m={borderColor:L},m[R_]={borderColor:"GrayText"},m),S&&w&&(g={background:U,borderColor:L},g[R_]={background:"Window"},g)],checkmark:[P.checkmark,(v={opacity:S&&!x?"1":"0",color:R},v[R_]=em({color:w?"GrayText":"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),v)],text:[P.text,(y={color:w?K:j,fontSize:T.medium.fontSize,lineHeight:"20px"},y[R_]=em({color:w?"GrayText":"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),y),C?{marginRight:4}:{marginLeft:4}]}},void 0,{scope:"Checkbox"}),sx=vv({cacheSize:100}),ux=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(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=sx(a,{className:o,disabled:i,required:l,theme:s});return z.createElement(n,em({},Sy(this.props,Cy),{className:u.root}),r)},t}(z.Component),cx=ob(ux,function(e){var t,n=e.theme,r=e.className,o=e.disabled,i=e.required,a=n.semanticColors,l=kb.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[R_]=em({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},i&&{selectors:{"::after":{content:"' *'",color:c,paddingRight:12}}},r]}},void 0,{scope:"Label"}),dx=vv(),fx={imageSize:{width:32,height:32}},px=function(e){var t=ab(em(em({},fx),{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=tm(t,["ariaLabel","focused","required","theme","iconProps","imageSrc","imageSize","disabled","checked","id","styles","name"]),m=dx(f,{theme:i,hasIcon:!!a,hasImage:!!l,checked:c,disabled:u,imageIsLarge:!!l&&(s.width>71||s.height>71),imageSize:s,focused:r}),g=Sy(h,vy),v=g.className,y=tm(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?nb(t.onRenderLabel,b):b)(em(em({},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(tw,em({src:l,alt:n},s))),z.createElement("div",{className:m.selectedImageWrapper},z.createElement(tw,em({src:r,alt:n},s)))),a&&z.createElement("div",{className:m.innerField},z.createElement("div",{className:m.iconWrapper},z.createElement(sw,em({},a)))),l||a?z.createElement("div",{className:m.labelWrapper},o):o)},C=t.onRenderField,S=void 0===C?_:C;return z.createElement("div",{className:m.root},z.createElement("div",{className:m.choiceFieldWrapper},z.createElement("input",em({"aria-label":n,id:d,className:Dv(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,em(em({},t),{key:t.itemKey}))},onFocus:function(e){var n;null===(n=t.onFocus)||void 0===n||n.call(t,e,em(em({},t),{key:t.itemKey}))},onBlur:function(e){var n;null===(n=t.onBlur)||void 0===n||n.call(t,e)}})),S(em(em({},t),{key:t.itemKey}),_)))};px.displayName="ChoiceGroupOption";var hx={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"},mx="200ms",gx="cubic-bezier(.4, 0, .23, 1)";function vx(e,t){var n,r;return["is-inFocus",{selectors:(n={},n[".".concat(Py," &, :host(.").concat(Py,") &")]={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[R_]={borderColor:"WindowText",borderWidth:t?1:2},r)}}},n)}]}function yx(e,t,n){return[t,{paddingBottom:2,transitionProperty:"opacity",transitionDuration:mx,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 bx=ob(px,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=H_(hx,a),y=h.neutralPrimary,b=m.inputBorderHovered,_=m.inputBackgroundChecked,C=h.themeDark,S=m.disabledBodySubtext,w=m.bodyBackground,k=h.neutralSecondary,x=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:k},u&&{borderColor:E,background:E}]}},A={borderColor:u?D:P,selectors:{":before":{opacity:1,borderColor:u?C:b}}},L=[{content:'""',display:"inline-block",backgroundColor:w,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:mx,transitionTimingFunction:gx,borderRadius:"50%"},c&&{borderColor:S,selectors:(t={},t[R_]=em({borderColor:"GrayText",background:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},u&&{borderColor:c?S:_,selectors:(n={},n[R_]={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:mx,transitionTimingFunction:gx,boxSizing:"border-box"},u&&{borderWidth:5,borderStyle:"solid",borderColor:c?F:x,background:x,left:5,top:5,width:10,height:10,selectors:(r={},r[R_]={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&&vx(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:mx,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[R_]=em({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[R_]={color:"GrayText",opacity:1},i)}],imageWrapper:yx(!1,v.imageWrapper,u),selectedImageWrapper:yx(!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"}),_x=vv(),Cx=function(e,t){return"".concat(t,"-").concat(e.key)},Sx=function(e,t){return void 0===t?void 0:function(e,t){var n=uv(e,t);if(!(n<0))return e[n]}(e,function(e){return e.key===t})},wx=function(e,t,n,r,o){var i=Sx(e,t)||e.filter(function(e){return!e.disabled})[0],a=i&&(null==o?void 0:o.getElementById(Cx(i,n)));a&&(a.focus(),My(!0,a,r))},kx=function(e,t,n,r,o){var i=function(){var e;return null!==(e=Xv())&&void 0!==e?e:"undefined"!=typeof document?document:void 0}();z.useImperativeHandle(r,function(){return{get checkedOption(){return Sx(e,t)},focus:function(){wx(e,t,n,o,i)}}},[e,t,n,o,i])},xx=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=JC("ChoiceGroup"),m=JC("ChoiceGroupLabel"),g=Sy(e,Cy,["onChange","className","required"]),v=_x(o,{theme:r,className:n,optionsContainIconOrImage:a.some(function(e){return!(!e.iconProps&&!e.imageSrc)})}),y=e.ariaLabelledBy||(l?m:e["aria-labelledby"]),b=ZC(e.selectedKey,d),_=b[0],C=b[1],S=z.useState(),w=S[0],k=S[1],x=z.useRef(null),E=XC(x,t),F=z.useContext(By);kx(a,_,h,f,null==F?void 0:F.registeredProviders),zy(x);var I=z.useCallback(function(e,t){var n;t&&(k(t.itemKey),null===(n=t.onFocus)||void 0===n||n.call(t,e))},[]),T=z.useCallback(function(e,t){var n;k(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,Sx(a,t.itemKey)))},[p,a,C]),R=z.useCallback(function(e){(function(e){return e.relatedTarget instanceof HTMLElement&&"true"===e.relatedTarget.dataset.isFocusTrapZoneBumper})(e)&&wx(a,_,h,null==F?void 0:F.registeredProviders)},[a,_,h,F]);return z.createElement("div",em({className:v.root},g,{ref:E}),z.createElement("div",em({role:"radiogroup"},y&&{"aria-labelledby":y},{onFocus:R}),l&&z.createElement(cx,{className:v.label,required:s,id:m,disabled:u},l),z.createElement("div",{className:v.flexContainer},a.map(function(e){return z.createElement(bx,em({itemKey:e.key},e,{key:e.key,onBlur:T,onFocus:I,onChange:P,focused:e.key===w,checked:e.key===_,disabled:e.disabled||u,id:Cx(e,h),labelId:e.labelId||"".concat(m,"-").concat(e.key),name:c||h,required:s}))}))))});xx.displayName="ChoiceGroup";var Ex,Fx={root:"ms-ChoiceFieldGroup",flexContainer:"ms-ChoiceFieldGroup-flexContainer"},Ix=ob(xx,function(e){var t=e.className,n=e.optionsContainIconOrImage,r=e.theme,o=H_(Fx,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"}),Tx=vv(),Px="TextField",Rx=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(cx,{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=Dx(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},wy(n),n._async=new rg(n),n._fallbackId=sy(Px),n._descriptionId=sy(Px+"Description"),n._labelId=sy(Px+"Label"),n._prefixId=sy(Px+"Prefix"),n._suffixId=sy(Px+"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 Xh(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return Dx(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=Dx(e,t),u=this.value;s!==u&&(this._warnControlledUsage(e),this.state.errorMessage&&!r.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),Mx(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:_,S=e.onRenderSuffix,w=void 0===S?this._onRenderSuffix:S,k=e.onRenderLabel,x=void 0===k?this._onRenderLabel:k,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 Ex){var e=ng();if(null==e?void 0:e.navigator){var t=/Edg/.test(e.navigator.userAgent||"");Ex=!(ib()||t)}else Ex=!0}return Ex}(),O=this._classNames=Tx(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},x(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(sw,em({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(sw,{className:O.revealIcon,iconName:P?"Hide":"RedEye"}))),(void 0!==p||this.props.onRenderSuffix)&&z.createElement("div",{className:O.suffix,id:this._suffixId},w(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(zg,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,Lg("Warning: 'value' prop on '".concat(Px,"' 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=Sy(this.props,yy,["defaultValue"]),r=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return z.createElement("textarea",em({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=em(em({type:this.state.isRevealingPassword?"text":u,id:this._id},Sy(this.props,vy,["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",em({},e))};return(this.props.onRenderInput||f)(d,f)},t.prototype._validate=function(e){var t=this;if(this._latestValidateValue!==e||!Mx(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 Dx(e,t){var n=e.value,r=void 0===n?t.uncontrolledValue:n;return"number"==typeof r?String(r):r}function Mx(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}var Ox={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 Ax(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[R_]={height:31},e)}]}}}var Lx,Nx,Bx,zx,Hx,Vx=ob(Rx,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,S=e.hasIcon,w=e.resizable,k=e.hasErrorMessage,x=e.inputClassName,E=e.autoAdjustHeight,F=e.hasRevealButton,I=p.semanticColors,T=p.effects,P=p.fonts,R=H_(Ox,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[R_]={background:"Window",color:m?"GrayText":"WindowText"},t)},M=[{color:I.inputPlaceholderText,opacity:1,selectors:(n={},n[R_]={color:"GrayText"},n)}],O={color:I.disabledText,selectors:(r={},r[R_]={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,X_,{position:"relative"},h],wrapper:[R.wrapper,C&&[{display:"flex",borderBottom:"1px solid ".concat(k?I.errorText:I.inputBorder),width:"100%"},m&&{borderBottomColor:I.disabledBackground,selectors:(o={},o[R_]=em({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)},!m&&{selectors:{":hover":{borderBottomColor:k?I.errorText:I.inputBorderHovered,selectors:(i={},i[R_]=em({borderBottomColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}}},g&&[{position:"relative"},N_(k?I.errorText:I.inputFocusBorderAlt,0,"borderBottom")]]],fieldGroup:[R.fieldGroup,X_,{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[R_]=em({borderColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a)}}},g&&!C&&N_(k?I.errorText:I.inputFocusBorderAlt,T.roundedCorner2),m&&{borderColor:I.disabledBackground,selectors:(l={},l[R_]=em({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"},k&&!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[R_]={selectors:{":before":{color:"WindowText",right:-14}}},s)}],field:[P.medium,R.field,X_,{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[R_]={background:"Window",color:m?"GrayText":"WindowText"},u)},eC(M),y&&!w&&[R.unresizable,{resize:"none"}],y&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,paddingBottom:6,overflow:"auto",width:"100%"},y&&E&&{overflow:"hidden"},S&&!F&&{paddingRight:24},y&&S&&{paddingRight:40},m&&[{backgroundColor:I.disabledBackground,color:I.disabledText,borderColor:I.disabledBackground},eC(O)],C&&{textAlign:"left"},g&&!_&&{selectors:(c={},c[R_]={paddingLeft:11,paddingRight:11},c)},g&&y&&!_&&{selectors:(d={},d[R_]={paddingTop:4},d)},x],icon:[y&&{paddingRight:24,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:6,right:8,top:"auto",fontSize:xb.medium,lineHeight:18},m&&{color:I.disabledText}],description:[R.description,{color:I.bodySubtext,fontSize:P.xSmall.fontSize}],errorMessage:[R.errorMessage,tC.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",A_(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[R_]={borderColor:"Highlight",color:"Highlight"},f)},":focus":{outline:0}}},S&&{marginRight:28}],revealSpan:{display:"flex",height:"100%",alignItems:"center"},revealIcon:{margin:"0px 4px",pointerEvents:"none",bottom:6,right:8,top:"auto",fontSize:xb.medium,lineHeight:18},subComponentStyles:{label:Ax(e)}}},void 0,{scope:"TextField"}),Wx=Ev(function(e){var t,n=e.semanticColors;return{backgroundColor:n.disabledBackground,color:n.disabledText,cursor:"default",selectors:(t={":after":{borderColor:n.disabledBackground}},t[R_]={color:"GrayText",selectors:{":after":{borderColor:"GrayText"}}},t)}}),Ux={selectors:(Lx={},Lx[R_]=em({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),Lx)},jx={selectors:(Nx={},Nx[R_]=em({color:"WindowText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),Nx)},Kx=Ev(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 $m({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:em(em((a={},a[R_]={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},Ux]}},A_(e,{inset:-1,isFocusedOnly:!1}),Ux]:[]],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)}),qx=Ev(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[R_]=em({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)};return $m({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[R_]=em({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:[Wx(e),{position:"absolute"}]},t)}),Gx=Ev(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[R_]={color:"GrayText"},r)},m=[{color:u.inputPlaceholderText},h],g=[{color:u.inputTextHovered},h],v=[{color:u.disabledText},h],y=em(em({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),b=N_(f.borderPressedColor,d.roundedCorner2,"border",0);return $m({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[R_]=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},eC(g),jx]},i[R_]=em(em({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),i)},rootPressed:[{position:"relative",selectors:(a={},a[R_]=y,a)}],rootFocused:[{selectors:(l={".ms-ComboBox-Input":[{color:u.inputTextHovered},jx]},l[R_]=y,l)},b],rootDisabled:Wx(e),rootError:{selectors:{":after":{borderColor:f.erroredColor},":hover:after":{borderColor:u.inputBorderHovered}}},rootDisallowFreeForm:{},input:[eC(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"}}},jx],inputDisabled:[Wx(e),eC(v)],errorMessage:[e.fonts.small,{color:f.erroredColor,marginTop:"5px"}],callout:{boxShadow:d.elevation8},optionsContainerWrapper:{width:n},optionsContainer:{display:"block"},screenReaderText:B_,header:[c.medium,{fontWeight:kb.semibold,color:p.headerTextColor,backgroundColor:"none",borderStyle:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(s={},s[R_]=em({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s)}],divider:{height:1,backgroundColor:p.dividerBorderColor}},t)}),$x=Ev(function(e,t,n,r,o,i,a,l){return{container:Gm(e.__shadowConfig__,"ms-ComboBox-container",t,e.container),label:Gm(e.__shadowConfig__,e.label,r&&e.labelDisabled),root:Gm(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:Gm(e.__shadowConfig__,"ms-ComboBox-Input",e.input,r&&e.inputDisabled),errorMessage:Gm(e.__shadowConfig__,e.errorMessage),callout:Gm(e.__shadowConfig__,"ms-ComboBox-callout",e.callout),optionsContainerWrapper:Gm(e.__shadowConfig__,"ms-ComboBox-optionsContainerWrapper",e.optionsContainerWrapper),optionsContainer:Gm(e.__shadowConfig__,"ms-ComboBox-optionsContainer",e.optionsContainer),header:Gm(e.__shadowConfig__,"ms-ComboBox-header",e.header),divider:Gm(e.__shadowConfig__,"ms-ComboBox-divider",e.divider),screenReaderText:Gm(e.__shadowConfig__,e.screenReaderText)}}),Qx=Ev(function(e){return{optionText:Gm(e.__shadowConfig__,"ms-ComboBox-optionText",e.optionText),root:Gm(e.__shadowConfig__,"ms-ComboBox-option",e.root,{selectors:{":hover":e.rootHovered,":focus":e.rootFocused,":active":e.rootPressed}}),optionTextWrapper:Gm(e.__shadowConfig__,e.optionTextWrapper)}});function Zx(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"}(Bx||(Bx={})),function(e){e[e.backward=-1]="backward",e[e.none=0]="none",e[e.forward=1]="forward"}(zx||(zx={})),function(e){e[e.clearAll=-2]="clearAll",e[e.default=-1]="default"}(Hx||(Hx={}));var Yx=z.memo(function(e){return(0,e.render)()},function(e,t){e.render;var n=tm(e,["render"]);return t.render,Eg(n,tm(t,["render"]))}),Jx={options:[],allowFreeform:!1,allowParentArrowNavigation:!1,autoComplete:"on",buttonIconProps:{iconName:"ChevronDown"}};function Xx(e){var t=e.options,n=e.defaultSelectedKey,r=e.selectedKey,o=z.useState(function(){return iE(t,function(e,t){var n=aE(e);if(n.length)return n;return aE(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=aE(r),n=iE(t,e);a(n)}u(t)},[t,r]),z.useEffect(function(){null===r&&f(void 0)},[r]),[i,a,s,u,d,f]}var eE=z.forwardRef(function(e,t){var n=ab(Jx,e);n.ref;var r=tm(n,["ref"]),o=z.useRef(null),i=XC(o,t),a=Xx(r),l=a[0],s=a[1],u=a[2],c=a[3],d=a[4],f=a[5];return z.createElement(oE,em({},r,{hoisted:{mergedRootRef:i,rootRef:o,selectedIndices:l,setSelectedIndices:s,currentOptions:u,setCurrentOptions:c,suggestedDisplayValue:d,setSuggestedDisplayValue:f}}))});function tE(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&&og(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=tE(o,t);if(i)return i}return null}eE.displayName="ComboBox";var nE,rE,oE=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?kg(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:lE(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,S=n._hasFocus()&&n.props.multiSelect&&e?e:h,w=[n.props["aria-labelledby"],o&&n._id+"-label"].join(" ").trim(),k={"aria-labelledby":w||void 0,"aria-label":a&&!o?a:void 0},x=!!(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(dw,em({"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},k,{"aria-describedby":void 0!==c?sv(s,t):s,"aria-activedescendant":_,"aria-required":u,"aria-disabled":i,"aria-invalid":x,"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:S,tabIndex:i?-1:m},g)),z.createElement(Jk,em({className:"ms-ComboBox-CaretDown-button",styles:n._getCaretButtonStyles(),role:f?"presentation":void 0,"aria-hidden":f},f?void 0:k,{"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=sE(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,lE(f)):!n.state.isOpen&&f?sE(u,m)?f:lE(l):sE(u,m)?dE(u[m]):lE(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(rm([],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=sS(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&&lg(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(jS,em({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHint:uC,directionalHintFixed:!1},o,{onLayerMounted:n._onLayerMounted,className:Dv(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(em(em({},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(cx,{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=rm(rm([],s,!0),e,!0),l={items:[]}};e.options.forEach(function(e,t){!function(e,t){switch(e.itemType){case Bx.Header:l.items.length>0&&u();var o=n._id+e.key;l.items.push(r(em(em({id:o},e),{index:t}),n._onRenderItem)),l.id=o;break;case Bx.Divider:t>0&&l.items.push(r(em(em({},e),{index:t}),n._onRenderItem)),l.items.length>0&&u();break;default:l.items.push(r(em(em({},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 Bx.Divider:return n._renderSeparator(e);case Bx.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=Qx(u),d=e.title;return z.createElement(Yx,{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(lx,{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,em(em({},e),{id:i+"-label"})),inputProps:em({"aria-selected":l?"true":"false",role:"option"},{"data-index":e.index,"data-is-focusable":!0})}):z.createElement(ex,{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=Qx(n._getCurrentOptionStyles(e));return z.createElement("span",{className:t.optionText},e.text)},n._onRenderMultiselectOptionContent=function(e){var t=Qx(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=fE(e),r)n._handleInputWhenDisabled(e);else{var f=n._getPendingSelectedIndex(!1);switch(e.which){case $g: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 Gg:return n.props.multiSelect||n._submitPendingValue(e),void(c&&n._setOpenStateAndFocusOnClose(!c,!1));case Zg:if(n._resetSelectedIndex(),!c)return;n.setState({isOpen:!1});break;case rv:if(d===Hx.clearAll&&(f=n.props.hoisted.currentOptions.length),e.altKey||e.metaKey){if(c){n._setOpenStateAndFocusOnClose(!c,!0);break}return}e.preventDefault(),n._setPendingInfoFromIndexAndDirection(f,zx.backward);break;case iv:e.altKey||e.metaKey?n._setOpenStateAndFocusOnClose(!0,!0):(d===Hx.clearAll&&(f=-1),e.preventDefault(),n._setPendingInfoFromIndexAndDirection(f,zx.forward));break;case tv:case ev:if(o||i)return;f=-1;var p=zx.forward;e.which===ev&&(f=s.length,p=zx.backward),n._setPendingInfoFromIndexAndDirection(f,p);break;case Yg:if(!o&&!i&&"off"===l)break;default:if(e.which>=112&&e.which<=123)return;if(e.keyCode===Qg||"Meta"===e.key)return;if(a&&(e.keyCode===nv||e.keyCode===ov))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&&fE(e);n._lastKeyDownWasAltOrMeta=!1;var u=s&&!(eb()||Yy());r?n._handleInputWhenDisabled(e):e.which!==Yg?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:Hx.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())},wy(n),n._async=new rg(n),n._events=new Pg(n),n._id=t.id||sy("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:Hx.default},n}return Xh(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props.hoisted;return Zx(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=sS(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 em(em({},e),{index:t})});!Eg(e.hoisted.currentOptions,p)&&g&&(_=this.props.allowFreeform||this.props.allowFreeInput?this._processInputChangeWithFreeform(g):this._updateAutocompleteIndexWithoutFreeform(g));var S=void 0;y&&this._hasFocus()&&-1!==_?S=null!==(n=C[_].id)&&void 0!==n?n:this._id+"-list"+_:y&&h.length&&(S=null!==(o=null===(r=C[h[0]])||void 0===r?void 0:r.id)&&void 0!==o?o:this._id+"-list"+h[0]),S!==this.state.ariaActiveDescendantValue&&this.setState({ariaActiveDescendantValue:S})},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,S=C.suggestedDisplayValue,w=C.selectedIndices,k=C.currentOptions,x=this.state.isOpen;this._currentVisibleValue=this._getVisibleValue();var E=_?this._getMultiselectDisplayString(w,k,S):void 0,F=Sy(this.props,Cy,["onChange","value","aria-describedby","aria-labelledby"]),I=!!(i&&i.length>0);this._classNames=this.props.getClassNames?this.props.getClassNames(y,!!x,!!r,!!o,!!this._hasFocus(),!!g,!!I,n):$x(Gx(y,v),n,!!x,!!r,!!o,!!this._hasFocus(),!!g,!!I);var T=this._renderComboBoxWrapper(E,e);return z.createElement("div",em({},F,{ref:this.props.hoisted.mergedRootRef,className:this._classNames.container}),u({props:this.props,multiselectAccessibleText:E},this._onRenderLabel),T,(b||x)&&l(em(em({},this.props),{onRenderList:d,onRenderItem:p,onRenderOption:m,options:k.map(function(e,t){return em(em({},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:sE(t,n)?dE(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!==Bx.SelectAll&&r.push(sE(t,i)?t[i].text:lE(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 em(em({},e),{index:t})}).filter(function(t){return uE(t)&&!t.disabled&&dE(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 em(em({},e),{index:t})}).filter(function(n){return uE(n)&&!n.disabled&&0===t._adjustForCaseSensitivity(dE(n)).indexOf(e)})).length>0){var l=dE(i[0]);a=this._adjustForCaseSensitivity(l)!==e?l:"",r=i[0].index}}else 1===(i=n.map(function(e,t){return em(em({},e),{index:t})}).filter(function(n){return uE(n)&&!n.disabled&&t._adjustForCaseSensitivity(dE(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=lE(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 em(em({},e),{index:t})}).filter(function(n){return uE(n)&&!n.disabled&&0===t._adjustForCaseSensitivity(n.text).indexOf(e)});return o.length>0?(this._setPendingInfo(r,o[0].index,dE(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(!sE(n,r=Math.max(0,Math.min(n.length-1,r))))return-1;var o=n[r];if(!cE(o)||!0===o.hidden){if(t===zx.none||!(r>0&&t<zx.none||r>=0&&r<n.length&&t>zx.none))return e;r=this._getNextSelectableIndex(r,t)}return r},t.prototype._setSelectedIndex=function(e,t,n){void 0===n&&(n=zx.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(sE(s,e=this._getNextSelectableIndex(e,n))){if(this.props.multiSelect||u.length<1||1===u.length&&u[0]!==e){var d=em({},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===Bx.SelectAll)u=[],d.selected?s.forEach(function(e,t){!e.disabled&&cE(e)&&(u.push(t),c[t]=em(em({},e),{selected:!0}))}):c=s.map(function(e){return em(em({},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===Bx.SelectAll})[0];if(f){var p=this._isSelectAllChecked(u),h=c.indexOf(f);p?(u.push(h),c[h]=em(em({},f),{selected:!0})):(u=u.filter(function(e){return e!==h}),c[h]=em(em({},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,dE(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(sE(s,d)){var h=this._adjustForCaseSensitivity(dE(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||sy(),text:lE(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!==Hx.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===Bx.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===Bx.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!==Bx.SelectAll&&cE(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=tE(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:Hx.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:lE(e),currentPendingValueValidIndex:t,currentPendingValueValidIndexOnHover:Hx.default}))},t.prototype._setPendingInfoFromIndex=function(e){var t=this.props.hoisted.currentOptions;if(e>=0&&e<t.length){var n=t[e];this._setPendingInfo(dE(n),e,dE(n))}else this._clearPendingInfo()},t.prototype._setPendingInfoFromIndexAndDirection=function(e,t){var n=this.props.hoisted.currentOptions;t===zx.forward&&e>=n.length-1?e=-1:t===zx.backward&&e<=0&&(e=n.length);var r=this._getNextSelectableIndex(e,t);e===r?t===zx.forward?e=this._getNextSelectableIndex(-1,t):t===zx.backward&&(e=this._getNextSelectableIndex(n.length,t)):e=r,sE(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&&sE(n,a)?l=a:i!==e.currentPendingValueValidIndex&&sE(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!==Gg&&e.which!==Zg&&(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 qx(this.props.theme,e)},t.prototype._getCurrentOptionStyles=function(e){var t,n=this.props.comboBoxOptionStyles,r=e.styles,o=Kx(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=Yv,t=nm([ny("ComboBox",["theme","styles"],!0)],t)}(z.Component);function iE(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=uv(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 aE(e){return void 0===e?[]:e instanceof Array?e:[e]}function lE(e){return e||""}function sE(e,t){return!!e&&t>=0&&t<e.length}function uE(e){return e.itemType!==Bx.Header&&e.itemType!==Bx.Divider&&e.itemType!==Bx.SelectAll}function cE(e){return e.itemType!==Bx.Header&&e.itemType!==Bx.Divider}function dE(e){return e.useAriaLabelAsText&&e.ariaLabel?e.ariaLabel:e.text}function fE(e){return e.which===Qg||"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"}(nE||(nE={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(rE||(rE={}));var pE,hE=vv(),mE=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(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=Sy(this.props,Cy,["size"]),f=n;void 0===f&&void 0!==t&&(f=t===rE.large?nE.large:nE.medium);var p=hE(i,{theme:l,size:f,className:s,labelPosition:u});return z.createElement("div",em({},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(zg,null,z.createElement("div",{className:p.screenReaderText},c))))},t.defaultProps={size:nE.medium,ariaLive:"polite",labelPosition:"bottom"},t}(z.Component),gE={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},vE=Ev(function(){return Xm({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})}),yE=ob(mE,function(e){var t,n=e.theme,r=e.size,o=e.className,i=e.labelPosition,a=n.palette,l=H_(gE,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:vE(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[R_]=em({borderTopColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},r===nE.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],r===nE.small&&["ms-Spinner--small",{width:16,height:16}],r===nE.medium&&["ms-Spinner--medium",{width:20,height:20}],r===nE.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:B_}},void 0,{scope:"Spinner"}),bE=vv(),_E=function(e){function t(t){var n=e.call(this,t)||this;wy(n);var r=n.props.allowTouchBodyScroll,o=void 0!==r&&r;return n._allowTouchBodyScroll=o,n}return Xh(t,e),t.prototype.componentDidMount=function(){var e;!this._allowTouchBodyScroll&&((e=fg())&&e.body&&!Rg&&(e.body.classList.add(Dg),e.body.addEventListener("touchmove",Og,{passive:!1,capture:!1})),Rg++)},t.prototype.componentWillUnmount=function(){!this._allowTouchBodyScroll&&function(){if(Rg>0){var e=fg();e&&e.body&&1===Rg&&(e.body.classList.remove(Dg),e.body.removeEventListener("touchmove",Og)),Rg--}}()},t.prototype.render=function(){var e=this.props,t=e.isDarkThemed,n=e.className,r=e.theme,o=e.styles,i=Sy(this.props,Cy),a=bE(o,{theme:r,className:n,isDark:t});return z.createElement("div",em({},i,{className:a.root}))},t}(z.Component),CE={root:"ms-Overlay",rootDark:"ms-Overlay--dark"},SE=ob(_E,function(e){var t,n=e.className,r=e.theme,o=e.isNone,i=e.isDark,a=r.palette,l=H_(CE,r);return{root:[l.root,r.fonts.medium,{backgroundColor:a.whiteTranslucent40,top:0,right:0,bottom:0,left:0,position:"absolute",selectors:(t={},t[R_]={border:"1px solid WindowText",opacity:0},t)},o&&{visibility:"hidden"},i&&[l.rootDark,{backgroundColor:a.blackTranslucent40}],n]}},void 0,{scope:"Overlay"}),wE=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===Bx.Divider||a===Bx.Header?(t.push(o),n.push(o)):l?n.push(o):r++}this._size=r,this._displayOnlyOptionsCache=t,this._notSelectableOptionsCache=n,this._cachedOptions=rm([],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"}(pE||(pE={}));var kE,xE=vv();!function(e){e[e.closed=0]="closed",e[e.animatingOpen=1]="animatingOpen",e[e.open=2]="open",e[e.animatingClosed=3]="animatingClosed"}(kE||(kE={}));var EE,FE,IE,TE,PE,RE=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=ng(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=Ag(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(Jk,{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",em({id:r,role:"heading","aria-level":1},a,{className:Dv(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===kE.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===kE.open&&n.props.onOpened&&n.props.onOpened(),e===kE.closed&&n.props.onDismissed&&n.props.onDismissed()};var r=n.props.allowTouchBodyScroll,o=void 0!==r&&r;return n._allowTouchBodyScroll=o,wy(n),n.state={isFooterSticky:!1,visibility:kE.closed,id:sy("Panel")},n}return Xh(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.isOpen?null:!e.isOpen||t.visibility!==kE.closed&&t.visibility!==kE.animatingClosed?e.isOpen||t.visibility!==kE.open&&t.visibility!==kE.animatingOpen?null:{visibility:kE.animatingClosed}:{visibility:kE.animatingOpen}},t.prototype.componentDidMount=function(){this._async=new rg(this),this._events=new Pg(this);var e=uS(this.context),t=sS(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:kE.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===kE.animatingOpen?this._animateTo(kE.open):this.state.visibility===kE.animatingClosed&&this._animateTo(kE.closed));var o=sS(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,S=e.customWidth,w=e.onLightDismissClick,k=void 0===w?this._onPanelClick:w,x=e.onRenderNavigation,E=void 0===x?this._onRenderNavigation:x,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===pE.smallFixedNear||b===pE.customNear,B=pv(C)?N:!N,H=b===pE.custom||b===pE.customNear?{width:S}:{},V=Sy(this.props,Cy),W=this.isActive,U=A===kE.animatingClosed||A===kE.animatingOpen;if(this._headerTextId=s&&L+"-headerText",!W&&!U&&!m)return null;this._classNames=xE(_,{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(SE,em({className:K.overlay,isDarkThemed:!1,onClick:h?k:void 0,allowTouchBodyScroll:q},v))),z.createElement(US,em({},g),z.createElement(iS,em({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",em({"aria-hidden":!W&&U},V,{ref:this._panel,className:K.root}),j,z.createElement(ZS,em({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:kE.animatingOpen}))},t.prototype.close=function(){void 0===this.props.isOpen&&this.isActive&&this.setState({visibility:kE.animatingClosed})},Object.defineProperty(t.prototype,"isActive",{get:function(){return this.state.visibility===kE.open||this.state.visibility===kE.animatingOpen},enumerable:!1,configurable:!0}),t.prototype._createResizeObserver=function(e){var t,n=sS(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&&(ag(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:pE.smallFixedFar},t.contextType=Yv,t}(z.Component),DE={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"},ME="100%",OE="auto",AE=272,LE=340,NE=592,BE=644,zE=940,HE="auto",VE=0,WE=48,UE=428,jE=176,KE=((EE={})["@media (min-width: ".concat(D_,"px)")]={width:LE},EE),qE=((FE={})["@media (min-width: ".concat(640,"px)")]={width:NE},FE["@media (min-width: ".concat(1024,"px)")]={width:BE},FE),GE=((IE={})["@media (min-width: ".concat(768,"px)")]={left:WE,width:OE},IE["@media (min-width: ".concat(M_,"px)")]={left:UE},IE),$E=((TE={})["@media (min-width: ".concat(M_,"px)")]={left:HE,width:zE},TE),QE=((PE={})["@media (min-width: ".concat(M_,"px)")]={left:jE},PE),ZE=function(e){var t;switch(e){case pE.smallFixedFar:t=em({},KE);break;case pE.medium:t=em(em({},KE),qE);break;case pE.large:t=em(em(em({},KE),qE),GE);break;case pE.largeFixed:t=em(em(em(em({},KE),qE),GE),$E);break;case pE.extraLarge:t=em(em(em(em({},KE),qE),GE),QE)}return t},YE={paddingLeft:"24px",paddingRight:"24px"},JE=ob(RE,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?pE.smallFixedFar:v,b=g.effects,_=g.fonts,C=g.semanticColors,S=H_(DE,g),w=y===pE.custom||y===pE.customNear;return{root:[S.root,g.fonts.medium,p&&S.isOpen,l&&S.hasCloseButton,{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0},w&&f&&S.custom,w&&!f&&S.customNear,i],overlay:[{pointerEvents:"auto",cursor:"pointer"},p&&u&&tC.fadeIn100,!p&&u&&tC.fadeOut100],hiddenPanel:[!p&&!u&&h&&{visibility:"hidden"}],main:[S.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:HE,right:VE,width:ME,selectors:em((t={},t[R_]={borderLeft:"3px solid ".concat(C.variantBorder),borderRight:"3px solid ".concat(C.variantBorder)},t),ZE(y))},y===pE.smallFluid&&{left:VE},y===pE.smallFixedNear&&{left:VE,right:HE,width:AE},y===pE.customNear&&{right:"auto",left:0},w&&{maxWidth:"100vw"},p&&u&&!f&&tC.slideRightIn40,p&&u&&f&&tC.slideLeftIn40,!p&&u&&!f&&tC.slideLeftOut40,!p&&u&&f&&tC.slideRightOut40,a],commands:[S.commands,{backgroundColor:C.bodyBackground,paddingTop:18,selectors:(n={},n["@media (min-height: ".concat(D_,"px)")]={position:"sticky",top:0,zIndex:1},n)},m&&{paddingTop:"inherit"}],navigation:[S.navigation,{display:"flex",justifyContent:"flex-end"},m&&{height:"44px"}],contentInner:[S.contentInner,{display:"flex",flexDirection:"column",flexGrow:1,overflowY:"hidden"}],header:[S.header,YE,{alignSelf:"flex-start"},l&&!m&&{flexGrow:1},m&&{flexShrink:0}],headerText:[S.headerText,_.xLarge,{color:C.bodyText,lineHeight:"27px",overflowWrap:"break-word",wordWrap:"break-word",wordBreak:"break-word",hyphens:"auto"},s],scrollableContent:[S.scrollableContent,{overflowY:"auto"},d&&{flexGrow:1,display:"inherit",flexDirection:"inherit"}],content:[S.content,YE,{paddingBottom:20},d&&{selectors:(r={},r["@media (min-height: ".concat(D_,"px)")]={flexGrow:1},r)}],footer:[S.footer,{flexShrink:0,borderTop:"1px solid transparent",transition:"opacity ".concat(p_," ").concat(f_),selectors:(o={},o["@media (min-height: ".concat(D_,"px)")]={position:"sticky",bottom:0},o)},c&&{backgroundColor:C.bodyBackground,borderTopColor:C.variantBorder}],footerInner:[S.footerInner,YE,{paddingBottom:16,paddingTop:16}],subComponentStyles:{closeButton:{root:[S.closeButton,{marginRight:14,color:g.palette.neutralSecondary,fontSize:xb.large},m&&{marginRight:0,height:"auto",width:"44px"}],rootHovered:{color:g.palette.neutralPrimary}}}}},void 0,{scope:"Panel"}),XE=vv(),eF={options:[]};var tF=z.forwardRef(function(e,t){var n=ab(eF,e),r=z.useRef(null),o=XC(t,r),i=gk(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=tS(a),u=z.useState([]),c=u[0],d=u[1],f=a!==s,p=tS(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 uv(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(lF,em({},n,{responsiveMode:i,hoisted:{rootRef:o,selectedIndices:l,setSelectedIndices:s}}))});tF.displayName="DropdownBase";var nF,rF,oF,iF,aF,lF=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 wE,o._requestAnimationFrame=(n=o,function(e){r||(r=new Set,oy(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?em(em({},t[n]),{selected:!r}):t[n];l&&l(em(em({},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<=uk.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(JE,em({closeButtonAriaLabel:"Close",focusTrapZoneProps:s,hasCloseButton:!0,isOpen:!0,isLightDismiss:!0,onDismiss:o._onDismiss,styles:u},n),o._renderFocusableList(e)):z.createElement(jS,em({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHintFixed:!1,directionalHint:uC,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(sw,{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=rm(rm([],i,!0),e,!0),r={items:[]}};return e.options.forEach(function(e,t){!function(e,t){switch(e.itemType){case Bx.Header:r.items.length>0&&a();var i=o._id+e.key;r.items.push(n(em(em({id:i},e),{index:t}),o._onRenderItem)),r.id=i;break;case Bx.Divider:t>0&&r.items.push(n(em(em({},e),{index:t}),o._onRenderItem)),r.items.length>0&&a();break;default:r.items.push(n(em(em({},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 Bx.Divider:return o._renderSeparator(e);case Bx.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(lx,{id:d,key:e.key,disabled:e.disabled,onChange:o._onItemClick(e),inputProps:em({"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,em(em({},e),{id:f})),className:Dv(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(ex,{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=fg().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=uS(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 $g:o.setState({isOpen:!i});break;case Zg:if(!i)return;o.setState({isOpen:!1});break;case rv: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 iv: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 tv:o.props.multiSelect||(t=o._moveIndex(e,1,0,n));break;case ev:o.props.multiSelect||(t=o._moveIndex(e,-1,o.props.options.length-1,n));break;case Yg: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===Yg?(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 rv:i?o.setState({isOpen:!1}):o._host.current&&(r=hg(o._host.current,o._host.current.lastChild,!0));break;case tv:case ev:case Jg:case Xg:break;case iv:!i&&o._host.current&&(r=pg(o._host.current,o._host.current.firstChild,!0));break;case Zg:o.setState({isOpen:!1});break;case Gg:o.setState({isOpen:!1});var a=fg();a&&(e.shiftKey?null===(t=mg(a.body,o._dropDown.current,!1,!1,!0,!0))||void 0===t||t.focus():null===(n=gg(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(cx,{className:o._classNames.label,id:o._labelId,required:n,styles:i,disabled:r},t):null},wy(o),t.multiSelect,t.selectedKey,t.selectedKeys,t.defaultSelectedKey,t.defaultSelectedKeys;var i=t.options;return o._id=t.id||sy("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 Xh(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props;return Zx(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:_,S=t.hoisted.selectedIndices,w=t.responsiveMode,k=this.state,x=k.isOpen,E=k.calloutRenderEdge,F=k.hasFocus,I=t.onRenderPlaceholder||t.onRenderPlaceHolder||this._getPlaceholder;o!==this._sizePosCache.cachedOptions&&this._sizePosCache.updateOptions(o);var T=Zx(o,S),P=Sy(t,Cy),R=this._isDisabled(),D=w<=uk.medium,M=e+"-errorMessage";this._classNames=XE(s,{theme:u,className:n,hasError:!!(l&&l.length>0),hasLabel:!!r,isOpen:x,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":x&&!D?this._listId:void 0},b(this.props,this._onRenderLabel),z.createElement("div",em({"data-is-focusable":!R,"data-ktp-target":!0,ref:this._dropDown,id:e,tabIndex:R?-1:0,role:"combobox","aria-haspopup":"listbox","aria-expanded":x?"true":"false","aria-label":i,"aria-labelledby":r&&!i?sv(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":x&&!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))),x&&m(em(em({},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===Bx.Header||o[n].itemType===Bx.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(Pw,{ref:this._focusZone,direction:pw.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=sS(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===Qg||"Meta"===e.key},t.prototype._shouldHandleKeyUp=function(e){var t=this._lastKeyDownWasAltOrMeta&&this._isAltOrMeta(e);return this._lastKeyDownWasAltOrMeta=!1,!!t&&!(eb()||Yy())},t.prototype._shouldOpenOnFocus=function(){var e=this.state.hasFocus,t=this.props.openOnKeyboardFocus;return!this._isFocusedByClick&&!0===t&&!e},t.defaultProps={options:[]},t.contextType=Yv,t}(z.Component),sF={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"},uF=((nF={})["".concat(R_,", ").concat("@media screen and (-ms-high-contrast: black-on-white), screen and (forced-colors: active) and (prefers-color-scheme: light)".replace("@media ",""))]=em({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),nF),cF={selectors:em((rF={},rF[R_]=(oF={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},oF[".".concat(Py," &:focus:after")]={borderColor:"HighlightText"},oF),rF[".ms-Checkbox-checkbox"]=(iF={},iF[R_]={borderColor:"HighlightText"},iF),rF),uF)},dF={selectors:(aF={},aF[R_]={borderColor:"Highlight"},aF)},fF=O_(0,D_),pF=ob(tF,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,S=e.calloutClassName,w=e.calloutRenderEdge;if(!p)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var k=H_(sF,p),x=p.palette,E=p.semanticColors,F=p.effects,I=p.fonts,T={color:E.menuItemTextHovered},P={color:E.menuItemText},R={borderColor:E.errorText},D=[k.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=[k.dropdownItemHeader,em(em({},I.medium),{fontWeight:kb.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[R_]=em({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},cF],"&.is-multi-select:hover":[{backgroundColor:e?O:"transparent"},cF],"&:active:hover":[{color:E.menuItemTextHovered,backgroundColor:e?E.menuItemBackgroundHovered:E.menuItemBackgroundPressed},cF]},t[".".concat(Py," &:focus:after, :host(.").concat(Py,") &:focus:after")]=(n={left:0,top:0,bottom:0,right:0},n[R_]={inset:"2px"},n),t[R_]={border:"none"},t)}},L=rm(rm([],D,!0),[{backgroundColor:O,color:E.menuItemTextHovered},A(!0),cF],!1),N=rm(rm([],D,!0),[{color:E.disabledText,cursor:"default",selectors:(n={},n[R_]={color:"GrayText",border:"none"},n)}],!1),B=w===nC.bottom?"".concat(F.roundedCorner2," ").concat(F.roundedCorner2," 0 0"):"0 0 ".concat(F.roundedCorner2," ").concat(F.roundedCorner2),z=w===nC.bottom?"0 0 ".concat(F.roundedCorner2," ").concat(F.roundedCorner2):"".concat(F.roundedCorner2," ").concat(F.roundedCorner2," 0 0");return{root:[k.root,g],label:k.label,dropdown:[k.dropdown,X_,I.medium,{color:E.menuItemText,borderColor:E.focusBorder,position:"relative",outline:0,userSelect:"none",selectors:(r={},r["&:hover ."+k.title]=[!y&&T,{borderColor:v?x.neutralSecondary:x.neutralPrimary},dF],r["&:focus ."+k.title]=[!y&&T,{selectors:(o={},o[R_]={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(x.themePrimary),borderRadius:"2px",selectors:(i={},i[R_]={color:"Highlight"},i)}],r["&:active ."+k.title]=[!y&&T,{borderColor:x.themePrimary},dF],r["&:hover ."+k.caretDown]=!y&&P,r["&:focus ."+k.caretDown]=[!y&&P,{selectors:(a={},a[R_]={color:"Highlight"},a)}],r["&:active ."+k.caretDown]=!y&&P,r["&:hover ."+k.titleIsPlaceHolder]=!y&&P,r["&:focus ."+k.titleIsPlaceHolder]=!y&&P,r["&:active ."+k.titleIsPlaceHolder]=!y&&P,r["&:hover ."+k.titleHasError]=R,r["&:active ."+k.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[R_]={selectors:{":after":{right:-14}}},l)}],title:[k.title,X_,{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"},_&&[k.titleIsPlaceHolder,{color:E.inputPlaceholderText}],h&&[k.titleHasError,R],y&&{backgroundColor:E.disabledBackground,border:"none",color:E.disabledText,cursor:"default",selectors:(s={},s[R_]=em({border:"1px solid GrayText",color:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s)}],caretDownWrapper:[k.caretDownWrapper,{height:32,lineHeight:30,paddingTop:1,position:"absolute",right:8,top:0},!y&&{cursor:"pointer"}],caretDown:[k.caretDown,{color:x.neutralSecondary,fontSize:I.small.fontSize,pointerEvents:"none"},y&&{color:E.disabledText,selectors:(u={},u[R_]=em({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)}],errorMessage:em(em({color:E.errorText},p.fonts.small),{paddingTop:5}),callout:[k.callout,{boxShadow:F.elevation8,borderRadius:z,selectors:(c={},c[".ms-Callout-main"]={borderRadius:z},c)},S],dropdownItemsWrapper:{selectors:{"&:focus":{outline:0}}},dropdownItems:[k.dropdownItems,{display:"block"}],dropdownItem:rm(rm([],D,!0),[A()],!1),dropdownItemSelected:L,dropdownItemDisabled:N,dropdownItemSelectedAndDisabled:[L,N,{backgroundColor:"transparent"}],dropdownItemHidden:rm(rm([],D,!0),[{display:"none"}],!1),dropdownDivider:[k.dropdownDivider,{height:1,backgroundColor:E.bodyDivider}],dropdownDividerHidden:[k.dropdownDivider,{display:"none"}],dropdownOptionText:[k.dropdownOptionText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:0,maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",margin:"1px"}],dropdownItemHeader:M,dropdownItemHeaderHidden:rm(rm([],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(Py," &:focus + label::before, :host(.").concat(Py,") &:focus + label::before")]={outlineOffset:"0px"},d)}},panel:{root:[C],main:{selectors:(f={},f[fF]={width:272},f)},contentInner:{padding:"0 0 20px"}}}}},void 0,{scope:"Dropdown"});function hF(e,t){void 0===e&&(e=""),fb({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 mF(e,t){void 0===e&&(e=""),fb({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 gF(e,t){void 0===e&&(e=""),fb({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 vF(e,t){void 0===e&&(e=""),fb({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 yF(e,t){void 0===e&&(e=""),fb({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 bF(e,t){void 0===e&&(e=""),fb({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 _F(e,t){void 0===e&&(e=""),fb({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 CF(e,t){void 0===e&&(e=""),fb({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 SF(e,t){void 0===e&&(e=""),fb({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 wF(e,t){void 0===e&&(e=""),fb({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 kF(e,t){void 0===e&&(e=""),fb({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 xF(e,t){void 0===e&&(e=""),fb({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 EF(e,t){void 0===e&&(e=""),fb({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 FF(e,t){void 0===e&&(e=""),fb({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 IF(e,t){void 0===e&&(e=""),fb({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 TF(e,t){void 0===e&&(e=""),fb({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 PF(e,t){void 0===e&&(e=""),fb({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 RF(e,t){void 0===e&&(e=""),fb({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 DF(e,t){void 0===e&&(e=""),fb({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)}pF.displayName="Dropdown";am("@fluentui/font-icons-mdl2","8.5.71");var MF="".concat("https://res.cdn.office.net/files/fabric-cdn-prod_20260113.001","/assets/icons/"),OF=ng();const AF=(e="#00BAE4",t,n="#FCFCFF")=>Qm({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%"}},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)"}}}}),LF=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}}},NF=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"}}},BF=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"}}},zF=(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}}}}}}),HF=({name:e,control:t,rules:n,defaultValue:r,...o})=>H.createElement(Bd,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{onChange:e,onBlur:t,name:n,value:r},fieldState:{error:i}})=>H.createElement(Vx,{...o,onChange:e,value:r,onBlur:t,name:n,errorMessage:i&&i.message,defaultValue:void 0})}),VF=({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(Bd,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{name:e,value:t,onChange:n},fieldState:{error:r}})=>H.createElement(Vx,{...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})})},WF=({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(Bd,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{onChange:e,name:t,value:n},fieldState:{error:r}})=>H.createElement(lx,{...i,checked:n,onChange:e,styles:l})})},UF=({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(Bd,{name:t,control:n,rules:r,defaultValue:o||"",render:({field:{onChange:n,onBlur:r,value:o},fieldState:{error:s}})=>H.createElement(pF,{...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(Bd,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{onChange:e,onBlur:t,name:n,value:r},fieldState:{error:a}})=>H.createElement(eE,{...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 KF;e.FormDataModels=void 0,(KF=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+"}],KF.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"}],KF.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 qF=({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",[S,w]=z.useState({}),k=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},[]),x=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?Hh:Hh.filter(t=>e.includes(t.data.code))}case e.FormModel.Country:return m||[];default:return[]}};return H.createElement(H.Fragment,null,k.map(t=>((t,u)=>{const g=S[t.name]||!1;switch(t.type){case e.FormType.Text:return H.createElement(HF,{name:t.name,control:r,rules:t.rules,label:t.label,placeholder:t.placeholder,required:t.rules?.required,disabled:n,styles:LF(f.theme?.fonts),key:u});case e.FormType.AsyncText:return H.createElement("div",{key:u},H.createElement(VF,{label:t.label,placeholder:t.placeholder,control:r,setValue:o,setError:i,clearErrors:a,name:t.name,styles:LF(f.theme?.fonts),trigger:s,setIsValidating:(y=t.name,e=>{w(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(yE,{label:d.ValidatingMessage,styles:{root:{alignItems:"flex-end",justifyContent:"flex-start",flexDirection:"row"},label:{marginLeft:"5px"}}}));case e.FormType.Dropdown:return H.createElement(UF,{key:u,required:void 0!==t.rules?.required,options:x(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:NF(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:BF(f.theme?.fonts)});case e.FormType.CheckBox:return H.createElement(WF,{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 GF(e,t){const n=Object.assign({},e);return $F(e)&&$F(t)&&Object.keys(t).forEach(r=>{$F(t[r])?r in e?n[r]=GF(e[r],t[r]):Object.assign(n,{[r]:t[r]}):Object.assign(n,{[r]:t[r]})}),n}function $F(e){return e&&"object"==typeof e&&!Array.isArray(e)}function QF(e){return!!e&&["ar","he"].includes(e.toLowerCase())}const ZF=({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",S=[{key:"ByCustomer",text:d.ByCustomer},{key:"ByPartner",text:d.ByPartner}],w=y&&y.length>0,k=[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,!!w&&e.FormModel.HearAbout];return H.createElement(H.Fragment,null,H.createElement(Ix,{defaultSelectedKey:"ByCustomer",options:S,styles:zF(QF(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(qF,{formModels:k,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 YF={exports:{}};function JF(){}function XF(){}XF.resetWarningCache=JF;YF.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:XF,resetWarningCache:JF};return n.PropTypes=n,n}();var eI=n(YF.exports),tI=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function nI(){return nI=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},nI.apply(this,arguments)}function rI(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oI(e,t){return oI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oI(e,t)}var iI=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(rI(t)),t.handleErrored=t.handleErrored.bind(rI(t)),t.handleChange=t.handleChange.bind(rI(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(rI(t)),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,oI(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,tI);return z.createElement("div",nI({},t,{ref:this.handleRecaptchaRef}))},r}(z.Component);iI.displayName="ReCAPTCHA",iI.propTypes={sitekey:eI.string.isRequired,onChange:eI.func,grecaptcha:eI.object,theme:eI.oneOf(["dark","light"]),type:eI.oneOf(["image","audio"]),tabindex:eI.number,onExpired:eI.func,onErrored:eI.func,size:eI.oneOf(["compact","normal","invisible"]),stoken:eI.string,hl:eI.string,badge:eI.oneOf(["bottomright","bottomleft","inline"]),isolated:eI.bool},iI.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var aI={exports:{}},lI={},sI="function"==typeof Symbol&&Symbol.for,uI=sI?Symbol.for("react.element"):60103,cI=sI?Symbol.for("react.portal"):60106,dI=sI?Symbol.for("react.fragment"):60107,fI=sI?Symbol.for("react.strict_mode"):60108,pI=sI?Symbol.for("react.profiler"):60114,hI=sI?Symbol.for("react.provider"):60109,mI=sI?Symbol.for("react.context"):60110,gI=sI?Symbol.for("react.async_mode"):60111,vI=sI?Symbol.for("react.concurrent_mode"):60111,yI=sI?Symbol.for("react.forward_ref"):60112,bI=sI?Symbol.for("react.suspense"):60113,_I=sI?Symbol.for("react.suspense_list"):60120,CI=sI?Symbol.for("react.memo"):60115,SI=sI?Symbol.for("react.lazy"):60116,wI=sI?Symbol.for("react.block"):60121,kI=sI?Symbol.for("react.fundamental"):60117,xI=sI?Symbol.for("react.responder"):60118,EI=sI?Symbol.for("react.scope"):60119;function FI(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case uI:switch(e=e.type){case gI:case vI:case dI:case pI:case fI:case bI:return e;default:switch(e=e&&e.$$typeof){case mI:case yI:case SI:case CI:case hI:return e;default:return t}}case cI:return t}}}function II(e){return FI(e)===vI}lI.AsyncMode=gI,lI.ConcurrentMode=vI,lI.ContextConsumer=mI,lI.ContextProvider=hI,lI.Element=uI,lI.ForwardRef=yI,lI.Fragment=dI,lI.Lazy=SI,lI.Memo=CI,lI.Portal=cI,lI.Profiler=pI,lI.StrictMode=fI,lI.Suspense=bI,lI.isAsyncMode=function(e){return II(e)||FI(e)===gI},lI.isConcurrentMode=II,lI.isContextConsumer=function(e){return FI(e)===mI},lI.isContextProvider=function(e){return FI(e)===hI},lI.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===uI},lI.isForwardRef=function(e){return FI(e)===yI},lI.isFragment=function(e){return FI(e)===dI},lI.isLazy=function(e){return FI(e)===SI},lI.isMemo=function(e){return FI(e)===CI},lI.isPortal=function(e){return FI(e)===cI},lI.isProfiler=function(e){return FI(e)===pI},lI.isStrictMode=function(e){return FI(e)===fI},lI.isSuspense=function(e){return FI(e)===bI},lI.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===dI||e===vI||e===pI||e===fI||e===bI||e===_I||"object"==typeof e&&null!==e&&(e.$$typeof===SI||e.$$typeof===CI||e.$$typeof===hI||e.$$typeof===mI||e.$$typeof===yI||e.$$typeof===kI||e.$$typeof===xI||e.$$typeof===EI||e.$$typeof===wI)},lI.typeOf=FI,aI.exports=lI;var TI=aI.exports,PI={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},RI={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},DI={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},MI={};function OI(e){return TI.isMemo(e)?DI:MI[e.$$typeof]||PI}MI[TI.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},MI[TI.Memo]=DI;var AI=Object.defineProperty,LI=Object.getOwnPropertyNames,NI=Object.getOwnPropertySymbols,BI=Object.getOwnPropertyDescriptor,zI=Object.getPrototypeOf,HI=Object.prototype;var VI=function e(t,n,r){if("string"!=typeof n){if(HI){var o=zI(n);o&&o!==HI&&e(t,o,r)}var i=LI(n);NI&&(i=i.concat(NI(n)));for(var a=OI(t),l=OI(n),s=0;s<i.length;++s){var u=i[s];if(!(RI[u]||r&&r[u]||l&&l[u]||a&&a[u])){var c=BI(n,u);try{AI(t,u,c)}catch(e){}}}}return t},WI=n(VI);function UI(){return UI=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},UI.apply(this,arguments)}var jI={},KI=0;var qI="onloadcallback";function GI(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}var $I,QI,ZI=($I=function(){var e=GI(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+qI+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+qI+"&render=explicit"},QI=(QI={callbackName:qI,globalName:"grecaptcha",attributes:GI().nonce?{nonce:GI().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-"+KI++),this.__scriptLoaderID},i.setupScriptURL=function(){return this.__scriptURL="function"==typeof $I?$I():$I,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[QI.callbackName]},i.componentDidMount=function(){var e=this,t=this.setupScriptURL(),n=this.asyncScriptLoaderGetScriptLoaderID(),r=QI,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,QI.attributes)u.setAttribute(c,QI.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===QI.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===QI.removeOnUnmount&&delete jI[e])},i.render=function(){var t=QI.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,UI({},e,{forwardedRef:t}))});return r.displayName="AsyncScriptLoader("+t+")",r.propTypes={asyncScriptOnLoad:eI.func},WI(r,e)})(iI);const YI=e=>{const{styles:t,description:n,primaryColor:r,fonts:o,...i}=e;return H.createElement("div",null,H.createElement(lx,{...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?GF(n,"function"==typeof t?t(e):t):n}}),n&&H.createElement("div",{style:{margin:"0 28px",cursor:"default"},className:"checkboxDescription"},n))},JI=(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"}}),XI=()=>z.createElement(yE,{size:nE.medium,style:{marginRight:8}}),eT=e=>{const{primaryColor:t,noShadow:n,iconProps:r,noIcon:o,iconName:i,loadingIcon:a,styles:l,...s}=e,u=void 0===i?QF()?"ChevronLeft":"ChevronRight":i,c=l?GF(JI(t,n),l):JI(t,n);return o?z.createElement(Xk,{...s,styles:c}):r?z.createElement(Xk,{...s,styles:c,iconProps:{iconName:u},disabled:a,onRenderIcon:()=>a?XI():null}):z.createElement(Xk,{...s,styles:c,menuIconProps:{iconName:u},onRenderIcon:()=>a?XI():null})},tT=({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(ZI,{sitekey:"6LeSgOkgAAAAAG820G9BYrck3obgjOBn05IdJhom",onChange:e=>c(!!e)})),H.createElement(YI,{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(YI,{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(eT,{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(yE,{size:nE.medium}):t?t():null}))},nT="ColorWidget",rT="KnownProductFrom",oT=({config:t})=>{const[n,r]=z.useState(),[o,i]=z.useState(),a=Ef(t),l=a.apiBaseUrl||"https://portal.selfserviceassessment.com",s=z.useMemo(()=>new Yh(l),[l]),u=z.useMemo(()=>new Yh(n?.domain?new URL(`https://${n?.domain}`).toString():""),[n?.domain]),c=z.useMemo(()=>AF(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,S]=z.useState(e.FormDataModels.CompanySizeDropdownOptions),[w,k]=z.useState(e.FormDataModels.IndustryOptions),[x,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=T||R||M||A||N,j=z.useMemo(()=>{const e=n?.supportedLanguages?n.supportedLanguages.split(",").map(e=>e.trim()):[];return xf.isEmpty(e)?Hh:Hh.filter(t=>e.includes(t.data.code))},[n?.supportedLanguages]),K=z.useMemo(()=>{const e=a.languageCode||n?.languageCode||"en";return j.find(t=>t.data.code===e)?.text||"English"},[a.languageCode,n?.languageCode,j]),{handleSubmit:q,setValue:G,setError:$,control:Q,watch:Z,clearErrors:Y,trigger:J,formState:{errors:X}}=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}=_f(e);t.current={...o,formState:r}}const i=t.current.control;return i._options=e,Rd(()=>{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&&!Ad(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(()=>Pd(r,i),[i,r]),t.current}({defaultValues:{orgSizingId:1,isSharedMail:!0,isConsented:!1,consentedDate:void 0,preferredLanguage:K,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)}).finally(()=>{P(!1)}),D(!0),u.getOrgSizes().then(e=>{S(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)}).finally(()=>{D(!1)}),O(!0),u.getIndustries().then(e=>{k(e.map(e=>({key:e.id,text:e.name})))}).catch(e=>{console.error("Failed to load industries:",e)}).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 ee=Ld({control:Q,name:e.FormModel.Country});z.useEffect(()=>{"AU"===ee&&"Microsoft"===n?.partnerName&&G(e.FormModel.PreferredLanguage,"English")},[ee,G,n]);const te=z.useMemo(()=>{if(!x)return Vh.en.formScreen;const e=Vh.en.formScreen,t={},n=x;for(const[r,o]of Object.entries(e))t[r]=n[o]||o;return t},[x]);return z.useEffect(()=>{if(!n)return void i(void 0);const e=n.partnerSettings?.find(e=>e.settingKey===nT);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||!x)return void I(void 0);const e=n.partnerSettings?.filter(e=>e.settingKey===rT),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=x;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,x]),m?H.createElement("div",{className:c.mainContainer},H.createElement("div",{className:c.topWrapper,style:a.customStyles?.topWrapper},H.createElement("div",{className:c.finalStepContainer},H.createElement("div",{className:c.textBlock},H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.heading,fontWeight:700}},te.ThankYou),H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.subheading,margin:"20px 0",lineHeight:"30px"}},te.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},U?H.createElement(yE,{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.")):H.createElement("form",{className:c.formWrapper,style:a.customStyles?.formWrapper,onSubmit:q(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)}G(e.FormModel.Partner,n),G(e.FormModel.PerfromedByPartner,p),u.addUser(Z(),n?.partnerName||"",window.location.hostname).then(t=>{const n=Z(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=x?.[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}},te.AppForm),H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.subheading,margin:"12px auto 24px",width:"85%",lineHeight:"30px"}},te.AppFormDesc)),H.createElement(ZF,{isRegistering:d,setPerformByPartner:h,performByPartner:p,setValue:G,setError:$,clearErrors:Y,control:Q,errors:X,trigger:J,watch:Z,translation:te,config:a,apiService:u,styles:c,countryOptions:b,orgSizingOptions:C,orgIndustryOptions:w,hearAboutOptions:F,partnerData:n,primaryColor:a.theme?.primaryColor||o?.column1}),H.createElement(tT,{setValue:G,isRegistering:d,errors:X,translation:te,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==OF?void 0:OF.FabricConfig)||void 0===n?void 0:n.iconBaseUrl)||(null===(r=null==OF?void 0:OF.FabricConfig)||void 0===r?void 0:r.fontBaseUrl)||MF),[hF,mF,gF,vF,yF,bF,_F,CF,SF,wF,kF,xF,EF,FF,IF,TF,PF,RF,DF].forEach(function(n){return n(e,t)}),pb("trash","delete"),pb("onedrive","onedrivelogo"),pb("alertsolid12","eventdatemissed12"),pb("sixpointstar","6pointstar"),pb("twelvepointstar","12pointstar"),pb("toggleon","toggleleft"),pb("toggleoff","toggleright")}();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,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(oT,{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=Yh,e.DEFAULT_TRANSLATIONS=Vh,e.EMAIL_PATTERN=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,e.LANGUAGE_OPTIONS=Hh,e.SSASFormElement=iT,e.SSASRegistrationForm=oT,e.choiceGroupStyles=zF,e.createFormStyles=AF,e.textFieldStyles=LF,e.useFormConfig=Ef,e}({});
|
|
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&>.exports===mt,yt=vt&&ft.process,bt=function(){try{var e=gt&>.require&>.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({"&":"&","<":"<",">":">",'"':""","'":"'"});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({"&":"&","<":"<",">":">",""":'"',"'":"'"});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}({});
|
|
29
29
|
//# sourceMappingURL=web-component.min.js.map
|