!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=29)}([function(e,t,n){"use strict";e.exports=n(20)},,,,,,function(e,t,n){"use strict";!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)}}(),e.exports=n(21)},,,,,,,function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=a(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))r.call(n,c)&&(l[c]=n[c]);if(o){s=o(n);for(var d=0;d<s.length;d++)i.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";(function(e){var n,o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r="undefined"==typeof window?e:window,i=r&&r.CSPSettings&&r.CSPSettings.nonce,a=function(){var e=r.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};e.runState||(e=o({},e,{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}}));e.registeredThemableStyles||(e=o({},e,{registeredThemableStyles:[]}));return r.__themeState__=e,e}(),s=/[\'\"]\[theme:\s*(\w+)\s*(?:\,\s*default:\s*([\\"\']?[\.\,\(\)\#\-\s\w]*[\.\,\(\)\#\-\w][\"\']?))?\s*\][\'\"]/g,l=1e4,u=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()};function c(e){var t=u();e();var n=u();a.perf.duration+=n-t}function d(){c(function(){var e=a.runState.buffer.slice();a.runState.buffer=[];var t=[].concat.apply([],e);t.length>0&&p(t)})}function p(e,t){a.loadStyles?a.loadStyles(g(e).styleString,e):n?function(e,t){if("undefined"==typeof document)return;var n=document.getElementsByTagName("head")[0],o=a.registeredStyles,r=a.lastStyleElement,i=r?r.styleSheet:void 0,s=i?i.cssText:"",u=o[o.length-1],c=g(e).styleString;(!r||s.length+c.length>l)&&((r=document.createElement("style")).type="text/css",t?(n.replaceChild(r,t.styleElement),t.styleElement=r):n.appendChild(r),t||(u={styleElement:r,themableStyle:e},o.push(u)));r.styleSheet.cssText+=m(c),Array.prototype.push.apply(u.themableStyle,e),a.lastStyleElement=r}(e,t):function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),o=g(e),r=o.styleString,s=o.themable;n.type="text/css",i&&n.setAttribute("nonce",i);n.appendChild(document.createTextNode(r)),a.perf.count++,t.appendChild(n);var l={styleElement:n,themableStyle:e};s?a.registeredThemableStyles.push(l):a.registeredStyles.push(l)}(e)}function f(e){void 0===e&&(e=3),3!==e&&2!==e||(h(a.registeredStyles),a.registeredStyles=[]),3!==e&&1!==e||(h(a.registeredThemableStyles),a.registeredThemableStyles=[])}function h(e){e.forEach(function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)})}function m(e){return e&&(e=g(v(e)).styleString),e}function g(e){var t=a.theme,n=!1;return{styleString:(e||[]).map(function(e){var o=e.theme;if(o){n=!0;var r=t?t[o]:void 0,i=e.defaultValue||"inherit";return!t||r||!console||o in t||"undefined"==typeof DEBUG||!DEBUG||console.warn('Theming value not provided for "'+o+'". Falling back to "'+i+'".'),r||i}return e.rawString}).join(""),themable:n}}function v(e){var t=[];if(e){for(var n=0,o=void 0;o=s.exec(e);){var r=o.index;r>n&&t.push({rawString:e.substring(n,r)}),t.push({theme:o[1],defaultValue:o[2]}),n=s.lastIndex}t.push({rawString:e.substring(n)})}return t}t.loadStyles=function(e,t){void 0===t&&(t=!1),c(function(){var o=Array.isArray(e)?e:v(e);void 0===n&&(n=function(){var e=!1;if("undefined"!=typeof document){var t=document.createElement("style");t.type="text/css",e=!!t.styleSheet}return e}());var r=a.runState,i=r.mode,s=r.buffer,l=r.flushTimer;t||1===i?(s.push(o),l||(a.runState.flushTimer=setTimeout(function(){a.runState.flushTimer=0,d()},0))):p(o)})},t.configureLoadStyles=function(e){a.loadStyles=e},t.configureRunMode=function(e){a.runState.mode=e},t.flush=d,t.loadTheme=function(e){a.theme=e,function(){if(a.theme){for(var e=[],t=0,n=a.registeredThemableStyles;t<n.length;t++){var o=n[t];e.push(o.themableStyle)}e.length>0&&(f(1),p([].concat.apply([],e)))}}()},t.clearStyles=f,t.detokenize=m,t.splitStyles=v}).call(this,n(14))},,,,,function(e,t,n){"use strict";
/** @license React v16.8.6
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var o=n(13),r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,d=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=0;o<t;o++)n+="&args[]="+encodeURIComponent(arguments[o+1]);!function(e,t,n,o,r,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,r,i,a,s],u=0;(e=Error(t.replace(/%s/g,function(){return l[u++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_={};function x(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||b}function k(){}function C(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||b}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&y("85"),this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=x.prototype;var w=C.prototype=new k;w.constructor=C,o(w,x.prototype),w.isPureReactComponent=!0;var E={current:null},S={current:null},T=Object.prototype.hasOwnProperty,I={key:!0,ref:!0,__self:!0,__source:!0};function M(e,t,n){var o=void 0,r={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)T.call(t,o)&&!I.hasOwnProperty(o)&&(r[o]=t[o]);var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];r.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===r[o]&&(r[o]=l[o]);return{$$typeof:i,type:e,key:a,ref:s,props:r,_owner:S.current}}function P(e){return"object"==typeof e&&null!==e&&e.$$typeof===i}var D=/\/+/g,A=[];function N(e,t,n,o){if(A.length){var r=A.pop();return r.result=e,r.keyPrefix=t,r.func=n,r.context=o,r.count=0,r}return{result:e,keyPrefix:t,func:n,context:o,count:0}}function B(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function F(e,t,n){return null==e?0:function e(t,n,o,r){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case a:l=!0}}if(l)return o(r,t,""===n?"."+O(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var u=0;u<t.length;u++){var c=n+O(s=t[u],u);l+=e(s,c,o,r)}else if(c=null===t||"object"!=typeof t?null:"function"==typeof(c=v&&t[v]||t["@@iterator"])?c:null,"function"==typeof c)for(t=c.call(t),u=0;!(s=t.next()).done;)l+=e(s=s.value,c=n+O(s,u++),o,r);else"object"===s&&y("31","[object Object]"==(o=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":o,"");return l}(e,"",t,n)}function O(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 R(e,t){e.func.call(e.context,t,e.count++)}function L(e,t,n){var o=e.result,r=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?H(e,o,n,function(e){return e}):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,r+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(D,"$&/")+"/")+n)),o.push(e))}function H(e,t,n,o,r){var i="";null!=n&&(i=(""+n).replace(D,"$&/")+"/"),F(e,L,t=N(t,i,o,r)),B(t)}function W(){var e=E.current;return null===e&&y("321"),e}var z={Children:{map:function(e,t,n){if(null==e)return e;var o=[];return H(e,o,null,t,n),o},forEach:function(e,t,n){if(null==e)return e;F(e,R,t=N(null,null,t,n)),B(t)},count:function(e){return F(e,function(){return null},null)},toArray:function(e){var t=[];return H(e,t,null,function(e){return e}),t},only:function(e){return P(e)||y("143"),e}},createRef:function(){return{current:null}},Component:x,PureComponent:C,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:f,render:e}},lazy:function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return W().useCallback(e,t)},useContext:function(e,t){return W().useContext(e,t)},useEffect:function(e,t){return W().useEffect(e,t)},useImperativeHandle:function(e,t,n){return W().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return W().useLayoutEffect(e,t)},useMemo:function(e,t){return W().useMemo(e,t)},useReducer:function(e,t,n){return W().useReducer(e,t,n)},useRef:function(e){return W().useRef(e)},useState:function(e){return W().useState(e)},Fragment:s,StrictMode:l,Suspense:h,createElement:M,cloneElement:function(e,t,n){null==e&&y("267",e);var r=void 0,a=o({},e.props),s=e.key,l=e.ref,u=e._owner;if(null!=t){void 0!==t.ref&&(l=t.ref,u=S.current),void 0!==t.key&&(s=""+t.key);var c=void 0;for(r in e.type&&e.type.defaultProps&&(c=e.type.defaultProps),t)T.call(t,r)&&!I.hasOwnProperty(r)&&(a[r]=void 0===t[r]&&void 0!==c?c[r]:t[r])}if(1===(r=arguments.length-2))a.children=n;else if(1<r){c=Array(r);for(var d=0;d<r;d++)c[d]=arguments[d+2];a.children=c}return{$$typeof:i,type:e.type,key:s,ref:l,props:a,_owner:u}},createFactory:function(e){var t=M.bind(null,e);return t.type=e,t},isValidElement:P,version:"16.8.6",unstable_ConcurrentMode:p,unstable_Profiler:u,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:E,ReactCurrentOwner:S,assign:o}},U={default:z},K=U&&z||U;e.exports=K.default||K},function(e,t,n){"use strict";
/** @license React v16.8.6
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var o=n(0),r=n(13),i=n(22);function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,o=0;o<t;o++)n+="&args[]="+encodeURIComponent(arguments[o+1]);!function(e,t,n,o,r,i,a,s){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,r,i,a,s],u=0;(e=Error(t.replace(/%s/g,function(){return l[u++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}o||a("227");var s=!1,l=null,u=!1,c=null,d={onError:function(e){s=!0,l=e}};function p(e,t,n,o,r,i,a,u,c){s=!1,l=null,function(e,t,n,o,r,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}.apply(d,arguments)}var f=null,h={};function m(){if(f)for(var e in h){var t=h[e],n=f.indexOf(e);if(-1<n||a("96",e),!v[n])for(var o in t.extractEvents||a("97",e),v[n]=t,n=t.eventTypes){var r=void 0,i=n[o],s=t,l=o;y.hasOwnProperty(l)&&a("99",l),y[l]=i;var u=i.phasedRegistrationNames;if(u){for(r in u)u.hasOwnProperty(r)&&g(u[r],s,l);r=!0}else i.registrationName?(g(i.registrationName,s,l),r=!0):r=!1;r||a("98",o,e)}}}function g(e,t,n){b[e]&&a("100",e),b[e]=t,_[e]=t.eventTypes[n].dependencies}var v=[],y={},b={},_={},x=null,k=null,C=null;function w(e,t,n){var o=e.type||"unknown-event";e.currentTarget=C(n),function(e,t,n,o,r,i,d,f,h){if(p.apply(this,arguments),s){if(s){var m=l;s=!1,l=null}else a("198"),m=void 0;u||(u=!0,c=m)}}(o,t,void 0,e),e.currentTarget=null}function E(e,t){return null==t&&a("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function S(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var T=null;function I(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var o=0;o<t.length&&!e.isPropagationStopped();o++)w(e,t[o],n[o]);else t&&w(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}var M={injectEventPluginOrder:function(e){f&&a("101"),f=Array.prototype.slice.call(e),m()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var o=e[t];h.hasOwnProperty(t)&&h[t]===o||(h[t]&&a("102",t),h[t]=o,n=!0)}n&&m()}};function P(e,t){var n=e.stateNode;if(!n)return null;var o=x(n);if(!o)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}return e?null:(n&&"function"!=typeof n&&a("231",t,typeof n),n)}function D(e){if(null!==e&&(T=E(T,e)),e=T,T=null,e&&(S(e,I),T&&a("95"),u))throw e=c,u=!1,c=null,e}var A=Math.random().toString(36).slice(2),N="__reactInternalInstance$"+A,B="__reactEventHandlers$"+A;function F(e){if(e[N])return e[N];for(;!e[N];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[N]).tag||6===e.tag?e:null}function O(e){return!(e=e[N])||5!==e.tag&&6!==e.tag?null:e}function R(e){if(5===e.tag||6===e.tag)return e.stateNode;a("33")}function L(e){return e[B]||null}function H(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function W(e,t,n){(t=P(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=E(n._dispatchListeners,t),n._dispatchInstances=E(n._dispatchInstances,e))}function z(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=H(t);for(t=n.length;0<t--;)W(n[t],"captured",e);for(t=0;t<n.length;t++)W(n[t],"bubbled",e)}}function U(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=P(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=E(n._dispatchListeners,t),n._dispatchInstances=E(n._dispatchInstances,e))}function K(e){e&&e.dispatchConfig.registrationName&&U(e._targetInst,null,e)}function j(e){S(e,z)}var V=!("undefined"==typeof window||!window.document||!window.document.createElement);function G(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var q={animationend:G("Animation","AnimationEnd"),animationiteration:G("Animation","AnimationIteration"),animationstart:G("Animation","AnimationStart"),transitionend:G("Transition","TransitionEnd")},Y={},Q={};function Z(e){if(Y[e])return Y[e];if(!q[e])return e;var t,n=q[e];for(t in n)if(n.hasOwnProperty(t)&&t in Q)return Y[e]=n[t];return e}V&&(Q=document.createElement("div").style,"AnimationEvent"in window||(delete q.animationend.animation,delete q.animationiteration.animation,delete q.animationstart.animation),"TransitionEvent"in window||delete q.transitionend.transition);var X=Z("animationend"),J=Z("animationiteration"),$=Z("animationstart"),ee=Z("transitionend"),te="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ne=null,oe=null,re=null;function ie(){if(re)return re;var e,t,n=oe,o=n.length,r="value"in ne?ne.value:ne.textContent,i=r.length;for(e=0;e<o&&n[e]===r[e];e++);var a=o-e;for(t=1;t<=a&&n[o-t]===r[i-t];t++);return re=r.slice(e,1<t?1-t:void 0)}function ae(){return!0}function se(){return!1}function le(e,t,n,o){for(var r in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(r)&&((t=e[r])?this[r]=t(n):"target"===r?this.target=o:this[r]=n[r]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?ae:se,this.isPropagationStopped=se,this}function ue(e,t,n,o){if(this.eventPool.length){var r=this.eventPool.pop();return this.call(r,e,t,n,o),r}return new this(e,t,n,o)}function ce(e){e instanceof this||a("279"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function de(e){e.eventPool=[],e.getPooled=ue,e.release=ce}r(le.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ae)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ae)},persist:function(){this.isPersistent=ae},isPersistent:se,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=se,this._dispatchInstances=this._dispatchListeners=null}}),le.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},le.extend=function(e){function t(){}function n(){return o.apply(this,arguments)}var o=this;t.prototype=o.prototype;var i=new t;return r(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=r({},o.Interface,e),n.extend=o.extend,de(n),n},de(le);var pe=le.extend({data:null}),fe=le.extend({data:null}),he=[9,13,27,32],me=V&&"CompositionEvent"in window,ge=null;V&&"documentMode"in document&&(ge=document.documentMode);var ve=V&&"TextEvent"in window&&!ge,ye=V&&(!me||ge&&8<ge&&11>=ge),be=String.fromCharCode(32),_e={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},xe=!1;function ke(e,t){switch(e){case"keyup":return-1!==he.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Ce(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var we=!1;var Ee={eventTypes:_e,extractEvents:function(e,t,n,o){var r=void 0,i=void 0;if(me)e:{switch(e){case"compositionstart":r=_e.compositionStart;break e;case"compositionend":r=_e.compositionEnd;break e;case"compositionupdate":r=_e.compositionUpdate;break e}r=void 0}else we?ke(e,n)&&(r=_e.compositionEnd):"keydown"===e&&229===n.keyCode&&(r=_e.compositionStart);return r?(ye&&"ko"!==n.locale&&(we||r!==_e.compositionStart?r===_e.compositionEnd&&we&&(i=ie()):(oe="value"in(ne=o)?ne.value:ne.textContent,we=!0)),r=pe.getPooled(r,t,n,o),i?r.data=i:null!==(i=Ce(n))&&(r.data=i),j(r),i=r):i=null,(e=ve?function(e,t){switch(e){case"compositionend":return Ce(t);case"keypress":return 32!==t.which?null:(xe=!0,be);case"textInput":return(e=t.data)===be&&xe?null:e;default:return null}}(e,n):function(e,t){if(we)return"compositionend"===e||!me&&ke(e,t)?(e=ie(),re=oe=ne=null,we=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ye&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=fe.getPooled(_e.beforeInput,t,n,o)).data=e,j(t)):t=null,null===i?t:null===t?i:[i,t]}},Se=null,Te=null,Ie=null;function Me(e){if(e=k(e)){"function"!=typeof Se&&a("280");var t=x(e.stateNode);Se(e.stateNode,e.type,t)}}function Pe(e){Te?Ie?Ie.push(e):Ie=[e]:Te=e}function De(){if(Te){var e=Te,t=Ie;if(Ie=Te=null,Me(e),t)for(e=0;e<t.length;e++)Me(t[e])}}function Ae(e,t){return e(t)}function Ne(e,t,n){return e(t,n)}function Be(){}var Fe=!1;function Oe(e,t){if(Fe)return e(t);Fe=!0;try{return Ae(e,t)}finally{Fe=!1,(null!==Te||null!==Ie)&&(Be(),De())}}var Re={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 Le(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Re[e.type]:"textarea"===t}function He(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function We(e){if(!V)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}function ze(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ue(e){e._valueTracker||(e._valueTracker=function(e){var t=ze(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var r=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){o=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return o},setValue:function(e){o=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ke(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),o="";return e&&(o=ze(e)?e.checked?"true":"false":e.value),(e=o)!==n&&(t.setValue(e),!0)}var je=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;je.hasOwnProperty("ReactCurrentDispatcher")||(je.ReactCurrentDispatcher={current:null});var Ve=/^(.*)[\\\/]/,Ge="function"==typeof Symbol&&Symbol.for,qe=Ge?Symbol.for("react.element"):60103,Ye=Ge?Symbol.for("react.portal"):60106,Qe=Ge?Symbol.for("react.fragment"):60107,Ze=Ge?Symbol.for("react.strict_mode"):60108,Xe=Ge?Symbol.for("react.profiler"):60114,Je=Ge?Symbol.for("react.provider"):60109,$e=Ge?Symbol.for("react.context"):60110,et=Ge?Symbol.for("react.concurrent_mode"):60111,tt=Ge?Symbol.for("react.forward_ref"):60112,nt=Ge?Symbol.for("react.suspense"):60113,ot=Ge?Symbol.for("react.memo"):60115,rt=Ge?Symbol.for("react.lazy"):60116,it="function"==typeof Symbol&&Symbol.iterator;function at(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=it&&e[it]||e["@@iterator"])?e:null}function st(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 et:return"ConcurrentMode";case Qe:return"Fragment";case Ye:return"Portal";case Xe:return"Profiler";case Ze:return"StrictMode";case nt:return"Suspense"}if("object"==typeof e)switch(e.$$typeof){case $e:return"Context.Consumer";case Je:return"Context.Provider";case tt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case ot:return st(e.type);case rt:if(e=1===e._status?e._result:null)return st(e)}return null}function lt(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var o=e._debugOwner,r=e._debugSource,i=st(e.type);n=null,o&&(n=st(o.type)),o=i,i="",r?i=" (at "+r.fileName.replace(Ve,"")+":"+r.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n    in "+(o||"Unknown")+i}t+=n,e=e.return}while(e);return t}var ut=/^[: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]*$/,ct=Object.prototype.hasOwnProperty,dt={},pt={};function ft(e,t,n,o,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=o,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t}var ht={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ht[e]=new ft(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ht[t]=new ft(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){ht[e]=new ft(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ht[e]=new ft(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ht[e]=new ft(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){ht[e]=new ft(e,3,!0,e,null)}),["capture","download"].forEach(function(e){ht[e]=new ft(e,4,!1,e,null)}),["cols","rows","size","span"].forEach(function(e){ht[e]=new ft(e,6,!1,e,null)}),["rowSpan","start"].forEach(function(e){ht[e]=new ft(e,5,!1,e.toLowerCase(),null)});var mt=/[\-:]([a-z])/g;function gt(e){return e[1].toUpperCase()}function vt(e,t,n,o){var r=ht.hasOwnProperty(t)?ht[t]:null;(null!==r?0===r.type:!o&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,o){if(null==t||function(e,t,n,o){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!o&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,o))return!0;if(o)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,r,o)&&(n=null),o||null===r?function(e){return!!ct.call(pt,e)||!ct.call(dt,e)&&(ut.test(e)?pt[e]=!0:(dt[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,o=r.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(r=r.type)||4===r&&!0===n?"":""+n,o?e.setAttributeNS(o,t,n):e.setAttribute(t,n))))}function yt(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function bt(e,t){var n=t.checked;return r({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function _t(e,t){var n=null==t.defaultValue?"":t.defaultValue,o=null!=t.checked?t.checked:t.defaultChecked;n=yt(null!=t.value?t.value:n),e._wrapperState={initialChecked:o,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function xt(e,t){null!=(t=t.checked)&&vt(e,"checked",t,!1)}function kt(e,t){xt(e,t);var n=yt(t.value),o=t.type;if(null!=n)"number"===o?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===o||"reset"===o)return void e.removeAttribute("value");t.hasOwnProperty("value")?wt(e,t.type,n):t.hasOwnProperty("defaultValue")&&wt(e,t.type,yt(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ct(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!("submit"!==o&&"reset"!==o||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.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function wt(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+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(mt,gt);ht[t]=new ft(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(mt,gt);ht[t]=new ft(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(mt,gt);ht[t]=new ft(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),["tabIndex","crossOrigin"].forEach(function(e){ht[e]=new ft(e,1,!1,e.toLowerCase(),null)});var Et={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function St(e,t,n){return(e=le.getPooled(Et.change,e,t,n)).type="change",Pe(n),j(e),e}var Tt=null,It=null;function Mt(e){D(e)}function Pt(e){if(Ke(R(e)))return e}function Dt(e,t){if("change"===e)return t}var At=!1;function Nt(){Tt&&(Tt.detachEvent("onpropertychange",Bt),It=Tt=null)}function Bt(e){"value"===e.propertyName&&Pt(It)&&Oe(Mt,e=St(It,e,He(e)))}function Ft(e,t,n){"focus"===e?(Nt(),It=n,(Tt=t).attachEvent("onpropertychange",Bt)):"blur"===e&&Nt()}function Ot(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Pt(It)}function Rt(e,t){if("click"===e)return Pt(t)}function Lt(e,t){if("input"===e||"change"===e)return Pt(t)}V&&(At=We("input")&&(!document.documentMode||9<document.documentMode));var Ht={eventTypes:Et,_isInputEventSupported:At,extractEvents:function(e,t,n,o){var r=t?R(t):window,i=void 0,a=void 0,s=r.nodeName&&r.nodeName.toLowerCase();if("select"===s||"input"===s&&"file"===r.type?i=Dt:Le(r)?At?i=Lt:(i=Ot,a=Ft):(s=r.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===r.type||"radio"===r.type)&&(i=Rt),i&&(i=i(e,t)))return St(i,n,o);a&&a(e,r,t),"blur"===e&&(e=r._wrapperState)&&e.controlled&&"number"===r.type&&wt(r,"number",r.value)}},Wt=le.extend({view:null,detail:null}),zt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ut(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=zt[e])&&!!t[e]}function Kt(){return Ut}var jt=0,Vt=0,Gt=!1,qt=!1,Yt=Wt.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Kt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=jt;return jt=e.screenX,Gt?"mousemove"===e.type?e.screenX-t:0:(Gt=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Vt;return Vt=e.screenY,qt?"mousemove"===e.type?e.screenY-t:0:(qt=!0,0)}}),Qt=Yt.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Zt={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Xt={eventTypes:Zt,extractEvents:function(e,t,n,o){var r="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(r&&(n.relatedTarget||n.fromElement)||!i&&!r)return null;if(r=o.window===o?o:(r=o.ownerDocument)?r.defaultView||r.parentWindow:window,i?(i=t,t=(t=n.relatedTarget||n.toElement)?F(t):null):i=null,i===t)return null;var a=void 0,s=void 0,l=void 0,u=void 0;"mouseout"===e||"mouseover"===e?(a=Yt,s=Zt.mouseLeave,l=Zt.mouseEnter,u="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=Qt,s=Zt.pointerLeave,l=Zt.pointerEnter,u="pointer");var c=null==i?r:R(i);if(r=null==t?r:R(t),(e=a.getPooled(s,i,n,o)).type=u+"leave",e.target=c,e.relatedTarget=r,(n=a.getPooled(l,t,n,o)).type=u+"enter",n.target=r,n.relatedTarget=c,o=t,i&&o)e:{for(r=o,u=0,a=t=i;a;a=H(a))u++;for(a=0,l=r;l;l=H(l))a++;for(;0<u-a;)t=H(t),u--;for(;0<a-u;)r=H(r),a--;for(;u--;){if(t===r||t===r.alternate)break e;t=H(t),r=H(r)}t=null}else t=null;for(r=t,t=[];i&&i!==r&&(null===(u=i.alternate)||u!==r);)t.push(i),i=H(i);for(i=[];o&&o!==r&&(null===(u=o.alternate)||u!==r);)i.push(o),o=H(o);for(o=0;o<t.length;o++)U(t[o],"bubbled",e);for(o=i.length;0<o--;)U(i[o],"captured",n);return[e,n]}};function Jt(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var $t=Object.prototype.hasOwnProperty;function en(e,t){if(Jt(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(o=0;o<n.length;o++)if(!$t.call(t,n[o])||!Jt(e[n[o]],t[n[o]]))return!1;return!0}function tn(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!=(2&t.effectTag))return 1;for(;t.return;)if(0!=(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function nn(e){2!==tn(e)&&a("188")}function on(e){if(!(e=function(e){var t=e.alternate;if(!t)return 3===(t=tn(e))&&a("188"),1===t?null:e;for(var n=e,o=t;;){var r=n.return,i=r?r.alternate:null;if(!r||!i)break;if(r.child===i.child){for(var s=r.child;s;){if(s===n)return nn(r),e;if(s===o)return nn(r),t;s=s.sibling}a("188")}if(n.return!==o.return)n=r,o=i;else{s=!1;for(var l=r.child;l;){if(l===n){s=!0,n=r,o=i;break}if(l===o){s=!0,o=r,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,o=r;break}if(l===o){s=!0,o=i,n=r;break}l=l.sibling}s||a("189")}}n.alternate!==o&&a("190")}return 3!==n.tag&&a("188"),n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var rn=le.extend({animationName:null,elapsedTime:null,pseudoElement:null}),an=le.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),sn=Wt.extend({relatedTarget:null});function ln(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}var un={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cn={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"},dn=Wt.extend({key:function(e){if(e.key){var t=un[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ln(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?cn[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Kt,charCode:function(e){return"keypress"===e.type?ln(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ln(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),pn=Yt.extend({dataTransfer:null}),fn=Wt.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Kt}),hn=le.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),mn=Yt.extend({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:null,deltaMode:null}),gn=[["abort","abort"],[X,"animationEnd"],[J,"animationIteration"],[$,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[ee,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],vn={},yn={};function bn(e,t){var n=e[0],o="on"+((e=e[1])[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[n],isInteractive:t},vn[e]=t,yn[n]=t}[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["auxclick","auxClick"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(e){bn(e,!0)}),gn.forEach(function(e){bn(e,!1)});var _n={eventTypes:vn,isInteractiveTopLevelEventType:function(e){return void 0!==(e=yn[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,o){var r=yn[e];if(!r)return null;switch(e){case"keypress":if(0===ln(n))return null;case"keydown":case"keyup":e=dn;break;case"blur":case"focus":e=sn;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Yt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=pn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=fn;break;case X:case J:case $:e=rn;break;case ee:e=hn;break;case"scroll":e=Wt;break;case"wheel":e=mn;break;case"copy":case"cut":case"paste":e=an;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Qt;break;default:e=le}return j(t=e.getPooled(r,t,n,o)),t}},xn=_n.isInteractiveTopLevelEventType,kn=[];function Cn(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var o;for(o=n;o.return;)o=o.return;if(!(o=3!==o.tag?null:o.stateNode.containerInfo))break;e.ancestors.push(n),n=F(o)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var r=He(e.nativeEvent);o=e.topLevelType;for(var i=e.nativeEvent,a=null,s=0;s<v.length;s++){var l=v[s];l&&(l=l.extractEvents(o,t,i,r))&&(a=E(a,l))}D(a)}}var wn=!0;function En(e,t){if(!t)return null;var n=(xn(e)?Tn:In).bind(null,e);t.addEventListener(e,n,!1)}function Sn(e,t){if(!t)return null;var n=(xn(e)?Tn:In).bind(null,e);t.addEventListener(e,n,!0)}function Tn(e,t){Ne(In,e,t)}function In(e,t){if(wn){var n=He(t);if(null===(n=F(n))||"number"!=typeof n.tag||2===tn(n)||(n=null),kn.length){var o=kn.pop();o.topLevelType=e,o.nativeEvent=t,o.targetInst=n,e=o}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{Oe(Cn,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>kn.length&&kn.push(e)}}}var Mn={},Pn=0,Dn="_reactListenersID"+(""+Math.random()).slice(2);function An(e){return Object.prototype.hasOwnProperty.call(e,Dn)||(e[Dn]=Pn++,Mn[e[Dn]]={}),Mn[e[Dn]]}function Nn(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 Bn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fn(e,t){var n,o=Bn(e);for(e=0;o;){if(3===o.nodeType){if(n=e+o.textContent.length,e<=t&&n>=t)return{node:o,offset:t-e};e=n}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Bn(o)}}function On(){for(var e=window,t=Nn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Nn((e=t.contentWindow).document)}return t}function Rn(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 Ln(e){var t=On(),n=e.focusedElem,o=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(n.ownerDocument.documentElement,n)){if(null!==o&&Rn(n))if(t=o.start,void 0===(e=o.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 r=n.textContent.length,i=Math.min(o.start,r);o=void 0===o.end?i:Math.min(o.end,r),!e.extend&&i>o&&(r=o,o=i,i=r),r=Fn(n,i);var a=Fn(n,o);r&&a&&(1!==e.rangeCount||e.anchorNode!==r.node||e.anchorOffset!==r.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(r.node,r.offset),e.removeAllRanges(),i>o?(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 Hn=V&&"documentMode"in document&&11>=document.documentMode,Wn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},zn=null,Un=null,Kn=null,jn=!1;function Vn(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return jn||null==zn||zn!==Nn(n)?null:("selectionStart"in(n=zn)&&Rn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Kn&&en(Kn,n)?null:(Kn=n,(e=le.getPooled(Wn.select,Un,e,t)).type="select",e.target=zn,j(e),e))}var Gn={eventTypes:Wn,extractEvents:function(e,t,n,o){var r,i=o.window===o?o.document:9===o.nodeType?o:o.ownerDocument;if(!(r=!i)){e:{i=An(i),r=_.onSelect;for(var a=0;a<r.length;a++){var s=r[a];if(!i.hasOwnProperty(s)||!i[s]){i=!1;break e}}i=!0}r=!i}if(r)return null;switch(i=t?R(t):window,e){case"focus":(Le(i)||"true"===i.contentEditable)&&(zn=i,Un=t,Kn=null);break;case"blur":Kn=Un=zn=null;break;case"mousedown":jn=!0;break;case"contextmenu":case"mouseup":case"dragend":return jn=!1,Vn(n,o);case"selectionchange":if(Hn)break;case"keydown":case"keyup":return Vn(n,o)}return null}};function qn(e,t){return e=r({children:void 0},t),(t=function(e){var t="";return o.Children.forEach(e,function(e){null!=e&&(t+=e)}),t}(t.children))&&(e.children=t),e}function Yn(e,t,n,o){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&o&&(e[n].defaultSelected=!0)}else{for(n=""+yt(n),t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(o&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function Qn(e,t){return null!=t.dangerouslySetInnerHTML&&a("91"),r({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Zn(e,t){var n=t.value;null==n&&(n=t.defaultValue,null!=(t=t.children)&&(null!=n&&a("92"),Array.isArray(t)&&(1>=t.length||a("93"),t=t[0]),n=t),null==n&&(n="")),e._wrapperState={initialValue:yt(n)}}function Xn(e,t){var n=yt(t.value),o=yt(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=o&&(e.defaultValue=""+o)}function Jn(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}M.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),x=L,k=O,C=R,M.injectEventPluginsByName({SimpleEventPlugin:_n,EnterLeaveEventPlugin:Xt,ChangeEventPlugin:Ht,SelectEventPlugin:Gn,BeforeInputEventPlugin:Ee});var $n={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function eo(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 to(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?eo(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var no=void 0,oo=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,o,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==$n.svg||"innerHTML"in e)e.innerHTML=t;else{for((no=no||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=no.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ro(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 io={animationIterationCount:!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},ao=["Webkit","ms","Moz","O"];function so(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||io.hasOwnProperty(e)&&io[e]?(""+t).trim():t+"px"}function lo(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var o=0===n.indexOf("--"),r=so(n,t[n],o);"float"===n&&(n="cssFloat"),o?e.setProperty(n,r):e[n]=r}}Object.keys(io).forEach(function(e){ao.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),io[t]=io[e]})});var uo=r({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 co(e,t){t&&(uo[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&a("137",e,""),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&a("60"),"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||a("61")),null!=t.style&&"object"!=typeof t.style&&a("62",""))}function po(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}}function fo(e,t){var n=An(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=_[t];for(var o=0;o<t.length;o++){var r=t[o];if(!n.hasOwnProperty(r)||!n[r]){switch(r){case"scroll":Sn("scroll",e);break;case"focus":case"blur":Sn("focus",e),Sn("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":We(r)&&Sn(r,e);break;case"invalid":case"submit":case"reset":break;default:-1===te.indexOf(r)&&En(r,e)}n[r]=!0}}}function ho(){}var mo=null,go=null;function vo(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function yo(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var bo="function"==typeof setTimeout?setTimeout:void 0,_o="function"==typeof clearTimeout?clearTimeout:void 0,xo=i.unstable_scheduleCallback,ko=i.unstable_cancelCallback;function Co(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function wo(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}new Set;var Eo=[],So=-1;function To(e){0>So||(e.current=Eo[So],Eo[So]=null,So--)}function Io(e,t){Eo[++So]=e.current,e.current=t}var Mo={},Po={current:Mo},Do={current:!1},Ao=Mo;function No(e,t){var n=e.type.contextTypes;if(!n)return Mo;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var r,i={};for(r in n)i[r]=t[r];return o&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Bo(e){return null!=(e=e.childContextTypes)}function Fo(e){To(Do),To(Po)}function Oo(e){To(Do),To(Po)}function Ro(e,t,n){Po.current!==Mo&&a("168"),Io(Po,t),Io(Do,n)}function Lo(e,t,n){var o=e.stateNode;if(e=t.childContextTypes,"function"!=typeof o.getChildContext)return n;for(var i in o=o.getChildContext())i in e||a("108",st(t)||"Unknown",i);return r({},n,o)}function Ho(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Mo,Ao=Po.current,Io(Po,t),Io(Do,Do.current),!0}function Wo(e,t,n){var o=e.stateNode;o||a("169"),n?(t=Lo(e,t,Ao),o.__reactInternalMemoizedMergedChildContext=t,To(Do),To(Po),Io(Po,t)):To(Do),Io(Do,n)}var zo=null,Uo=null;function Ko(e){return function(t){try{return e(t)}catch(e){}}}function jo(e,t,n,o){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.contextDependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Vo(e,t,n,o){return new jo(e,t,n,o)}function Go(e){return!(!(e=e.prototype)||!e.isReactComponent)}function qo(e,t){var n=e.alternate;return null===n?((n=Vo(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.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.contextDependencies=e.contextDependencies,n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Yo(e,t,n,o,r,i){var s=2;if(o=e,"function"==typeof e)Go(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case Qe:return Qo(n.children,r,i,t);case et:return Zo(n,3|r,i,t);case Ze:return Zo(n,2|r,i,t);case Xe:return(e=Vo(12,n,t,4|r)).elementType=Xe,e.type=Xe,e.expirationTime=i,e;case nt:return(e=Vo(13,n,t,r)).elementType=nt,e.type=nt,e.expirationTime=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Je:s=10;break e;case $e:s=9;break e;case tt:s=11;break e;case ot:s=14;break e;case rt:s=16,o=null;break e}a("130",null==e?e:typeof e,"")}return(t=Vo(s,n,t,r)).elementType=e,t.type=o,t.expirationTime=i,t}function Qo(e,t,n,o){return(e=Vo(7,e,o,t)).expirationTime=n,e}function Zo(e,t,n,o){return e=Vo(8,e,o,t),t=0==(1&t)?Ze:et,e.elementType=t,e.type=t,e.expirationTime=n,e}function Xo(e,t,n){return(e=Vo(6,e,null,t)).expirationTime=n,e}function Jo(e,t,n){return(t=Vo(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function $o(e,t){e.didError=!1;var n=e.earliestPendingTime;0===n?e.earliestPendingTime=e.latestPendingTime=t:n<t?e.earliestPendingTime=t:e.latestPendingTime>t&&(e.latestPendingTime=t),nr(t,e)}function er(e,t){e.didError=!1,e.latestPingedTime>=t&&(e.latestPingedTime=0);var n=e.earliestPendingTime,o=e.latestPendingTime;n===t?e.earliestPendingTime=o===t?e.latestPendingTime=0:o:o===t&&(e.latestPendingTime=n),n=e.earliestSuspendedTime,o=e.latestSuspendedTime,0===n?e.earliestSuspendedTime=e.latestSuspendedTime=t:n<t?e.earliestSuspendedTime=t:o>t&&(e.latestSuspendedTime=t),nr(t,e)}function tr(e,t){var n=e.earliestPendingTime;return n>t&&(t=n),(e=e.earliestSuspendedTime)>t&&(t=e),t}function nr(e,t){var n=t.earliestSuspendedTime,o=t.latestSuspendedTime,r=t.earliestPendingTime,i=t.latestPingedTime;0===(r=0!==r?r:i)&&(0===e||o<e)&&(r=o),0!==(e=r)&&n>e&&(e=n),t.nextExpirationTimeToWorkOn=r,t.expirationTime=e}function or(e,t){if(e&&e.defaultProps)for(var n in t=r({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var rr=(new o.Component).refs;function ir(e,t,n,o){n=null==(n=n(o,t=e.memoizedState))?t:r({},t,n),e.memoizedState=n,null!==(o=e.updateQueue)&&0===e.expirationTime&&(o.baseState=n)}var ar={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===tn(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var o=xs(),r=Qi(o=Ya(o,e));r.payload=t,null!=n&&(r.callback=n),Ua(),Xi(e,r),Xa(e,o)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var o=xs(),r=Qi(o=Ya(o,e));r.tag=Ki,r.payload=t,null!=n&&(r.callback=n),Ua(),Xi(e,r),Xa(e,o)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=xs(),o=Qi(n=Ya(n,e));o.tag=ji,null!=t&&(o.callback=t),Ua(),Xi(e,o),Xa(e,n)}};function sr(e,t,n,o,r,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(o,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!en(n,o)||!en(r,i))}function lr(e,t,n){var o=!1,r=Mo,i=t.contextType;return"object"==typeof i&&null!==i?i=zi(i):(r=Bo(t)?Ao:Po.current,i=(o=null!=(o=t.contextTypes))?No(e,r):Mo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ar,e.stateNode=t,t._reactInternalFiber=e,o&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=i),t}function ur(e,t,n,o){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,o),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,o),t.state!==e&&ar.enqueueReplaceState(t,t.state,null)}function cr(e,t,n,o){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs=rr;var i=t.contextType;"object"==typeof i&&null!==i?r.context=zi(i):(i=Bo(t)?Ao:Po.current,r.context=No(e,i)),null!==(i=e.updateQueue)&&(ta(e,i,n,r,o),r.state=e.memoizedState),"function"==typeof(i=t.getDerivedStateFromProps)&&(ir(e,t,i,n),r.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(t=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),t!==r.state&&ar.enqueueReplaceState(r,r.state,null),null!==(i=e.updateQueue)&&(ta(e,i,n,r,o),r.state=e.memoizedState)),"function"==typeof r.componentDidMount&&(e.effectTag|=4)}var dr=Array.isArray;function pr(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var o=void 0;n&&(1!==n.tag&&a("309"),o=n.stateNode),o||a("147",e);var r=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===r?t.ref:((t=function(e){var t=o.refs;t===rr&&(t=o.refs={}),null===e?delete t[r]:t[r]=e})._stringRef=r,t)}"string"!=typeof e&&a("284"),n._owner||a("290",e)}return e}function fr(e,t){"textarea"!==e.type&&a("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function hr(e){function t(t,n){if(e){var o=t.lastEffect;null!==o?(o.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,o){if(!e)return null;for(;null!==o;)t(n,o),o=o.sibling;return null}function o(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 r(e,t,n){return(e=qo(e,t)).index=0,e.sibling=null,e}function i(t,n,o){return t.index=o,e?null!==(o=t.alternate)?(o=o.index)<n?(t.effectTag=2,n):o:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,o){return null===t||6!==t.tag?((t=Xo(n,e.mode,o)).return=e,t):((t=r(t,n)).return=e,t)}function u(e,t,n,o){return null!==t&&t.elementType===n.type?((o=r(t,n.props)).ref=pr(e,t,n),o.return=e,o):((o=Yo(n.type,n.key,n.props,null,e.mode,o)).ref=pr(e,t,n),o.return=e,o)}function c(e,t,n,o){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Jo(n,e.mode,o)).return=e,t):((t=r(t,n.children||[])).return=e,t)}function d(e,t,n,o,i){return null===t||7!==t.tag?((t=Qo(n,e.mode,o,i)).return=e,t):((t=r(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Xo(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case qe:return(n=Yo(t.type,t.key,t.props,null,e.mode,n)).ref=pr(e,null,t),n.return=e,n;case Ye:return(t=Jo(t,e.mode,n)).return=e,t}if(dr(t)||at(t))return(t=Qo(t,e.mode,n,null)).return=e,t;fr(e,t)}return null}function f(e,t,n,o){var r=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==r?null:l(e,t,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case qe:return n.key===r?n.type===Qe?d(e,t,n.props.children,o,r):u(e,t,n,o):null;case Ye:return n.key===r?c(e,t,n,o):null}if(dr(n)||at(n))return null!==r?null:d(e,t,n,o,null);fr(e,n)}return null}function h(e,t,n,o,r){if("string"==typeof o||"number"==typeof o)return l(t,e=e.get(n)||null,""+o,r);if("object"==typeof o&&null!==o){switch(o.$$typeof){case qe:return e=e.get(null===o.key?n:o.key)||null,o.type===Qe?d(t,e,o.props.children,r,o.key):u(t,e,o,r);case Ye:return c(t,e=e.get(null===o.key?n:o.key)||null,o,r)}if(dr(o)||at(o))return d(t,e=e.get(n)||null,o,r,null);fr(t,o)}return null}function m(r,a,s,l){for(var u=null,c=null,d=a,m=a=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=f(r,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(r,d),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v,d=g}if(m===s.length)return n(r,d),u;if(null===d){for(;m<s.length;m++)(d=p(r,s[m],l))&&(a=i(d,a,m),null===c?u=d:c.sibling=d,c=d);return u}for(d=o(r,d);m<s.length;m++)(g=h(d,r,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&d.forEach(function(e){return t(r,e)}),u}function g(r,s,l,u){var c=at(l);"function"!=typeof c&&a("150"),null==(l=c.call(l))&&a("151");for(var d=c=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=f(r,m,y.value,u);if(null===b){m||(m=v);break}e&&m&&null===b.alternate&&t(r,m),s=i(b,s,g),null===d?c=b:d.sibling=b,d=b,m=v}if(y.done)return n(r,m),c;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=p(r,y.value,u))&&(s=i(y,s,g),null===d?c=y:d.sibling=y,d=y);return c}for(m=o(r,m);!y.done;g++,y=l.next())null!==(y=h(m,r,g,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=i(y,s,g),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach(function(e){return t(r,e)}),c}return function(e,o,i,l){var u="object"==typeof i&&null!==i&&i.type===Qe&&null===i.key;u&&(i=i.props.children);var c="object"==typeof i&&null!==i;if(c)switch(i.$$typeof){case qe:e:{for(c=i.key,u=o;null!==u;){if(u.key===c){if(7===u.tag?i.type===Qe:u.elementType===i.type){n(e,u.sibling),(o=r(u,i.type===Qe?i.props.children:i.props)).ref=pr(e,u,i),o.return=e,e=o;break e}n(e,u);break}t(e,u),u=u.sibling}i.type===Qe?((o=Qo(i.props.children,e.mode,l,i.key)).return=e,e=o):((l=Yo(i.type,i.key,i.props,null,e.mode,l)).ref=pr(e,o,i),l.return=e,e=l)}return s(e);case Ye:e:{for(u=i.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(e,o.sibling),(o=r(o,i.children||[])).return=e,e=o;break e}n(e,o);break}t(e,o),o=o.sibling}(o=Jo(i,e.mode,l)).return=e,e=o}return s(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==o&&6===o.tag?(n(e,o.sibling),(o=r(o,i)).return=e,e=o):(n(e,o),(o=Xo(i,e.mode,l)).return=e,e=o),s(e);if(dr(i))return m(e,o,i,l);if(at(i))return g(e,o,i,l);if(c&&fr(e,i),void 0===i&&!u)switch(e.tag){case 1:case 0:a("152",(l=e.type).displayName||l.name||"Component")}return n(e,o)}}var mr=hr(!0),gr=hr(!1),vr={},yr={current:vr},br={current:vr},_r={current:vr};function xr(e){return e===vr&&a("174"),e}function kr(e,t){Io(_r,t),Io(br,e),Io(yr,vr);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:to(null,"");break;default:t=to(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}To(yr),Io(yr,t)}function Cr(e){To(yr),To(br),To(_r)}function wr(e){xr(_r.current);var t=xr(yr.current),n=to(t,e.type);t!==n&&(Io(br,e),Io(yr,n))}function Er(e){br.current===e&&(To(yr),To(br))}var Sr=0,Tr=2,Ir=4,Mr=8,Pr=16,Dr=32,Ar=64,Nr=128,Br=je.ReactCurrentDispatcher,Fr=0,Or=null,Rr=null,Lr=null,Hr=null,Wr=null,zr=null,Ur=0,Kr=null,jr=0,Vr=!1,Gr=null,qr=0;function Yr(){a("321")}function Qr(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Jt(e[n],t[n]))return!1;return!0}function Zr(e,t,n,o,r,i){if(Fr=i,Or=t,Lr=null!==e?e.memoizedState:null,Br.current=null===Lr?ui:ci,t=n(o,r),Vr){do{Vr=!1,qr+=1,Lr=null!==e?e.memoizedState:null,zr=Hr,Kr=Wr=Rr=null,Br.current=ci,t=n(o,r)}while(Vr);Gr=null,qr=0}return Br.current=li,(e=Or).memoizedState=Hr,e.expirationTime=Ur,e.updateQueue=Kr,e.effectTag|=jr,e=null!==Rr&&null!==Rr.next,Fr=0,zr=Wr=Hr=Lr=Rr=Or=null,Ur=0,Kr=null,jr=0,e&&a("300"),t}function Xr(){Br.current=li,Fr=0,zr=Wr=Hr=Lr=Rr=Or=null,Ur=0,Kr=null,jr=0,Vr=!1,Gr=null,qr=0}function Jr(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===Wr?Hr=Wr=e:Wr=Wr.next=e,Wr}function $r(){if(null!==zr)zr=(Wr=zr).next,Lr=null!==(Rr=Lr)?Rr.next:null;else{null===Lr&&a("310");var e={memoizedState:(Rr=Lr).memoizedState,baseState:Rr.baseState,queue:Rr.queue,baseUpdate:Rr.baseUpdate,next:null};Wr=null===Wr?Hr=e:Wr.next=e,Lr=Rr.next}return Wr}function ei(e,t){return"function"==typeof t?t(e):t}function ti(e){var t=$r(),n=t.queue;if(null===n&&a("311"),n.lastRenderedReducer=e,0<qr){var o=n.dispatch;if(null!==Gr){var r=Gr.get(n);if(void 0!==r){Gr.delete(n);var i=t.memoizedState;do{i=e(i,r.action),r=r.next}while(null!==r);return Jt(i,t.memoizedState)||(xi=!0),t.memoizedState=i,t.baseUpdate===n.last&&(t.baseState=i),n.lastRenderedState=i,[i,o]}}return[t.memoizedState,o]}o=n.last;var s=t.baseUpdate;if(i=t.baseState,null!==s?(null!==o&&(o.next=null),o=s.next):o=null!==o?o.next:null,null!==o){var l=r=null,u=o,c=!1;do{var d=u.expirationTime;d<Fr?(c||(c=!0,l=s,r=i),d>Ur&&(Ur=d)):i=u.eagerReducer===e?u.eagerState:e(i,u.action),s=u,u=u.next}while(null!==u&&u!==o);c||(l=s,r=i),Jt(i,t.memoizedState)||(xi=!0),t.memoizedState=i,t.baseUpdate=l,t.baseState=r,n.lastRenderedState=i}return[t.memoizedState,n.dispatch]}function ni(e,t,n,o){return e={tag:e,create:t,destroy:n,deps:o,next:null},null===Kr?(Kr={lastEffect:null}).lastEffect=e.next=e:null===(t=Kr.lastEffect)?Kr.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,Kr.lastEffect=e),e}function oi(e,t,n,o){var r=Jr();jr|=e,r.memoizedState=ni(t,n,void 0,void 0===o?null:o)}function ri(e,t,n,o){var r=$r();o=void 0===o?null:o;var i=void 0;if(null!==Rr){var a=Rr.memoizedState;if(i=a.destroy,null!==o&&Qr(o,a.deps))return void ni(Sr,n,i,o)}jr|=e,r.memoizedState=ni(t,n,i,o)}function ii(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 ai(){}function si(e,t,n){25>qr||a("301");var o=e.alternate;if(e===Or||null!==o&&o===Or)if(Vr=!0,e={expirationTime:Fr,action:n,eagerReducer:null,eagerState:null,next:null},null===Gr&&(Gr=new Map),void 0===(n=Gr.get(t)))Gr.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{Ua();var r=xs(),i={expirationTime:r=Ya(r,e),action:n,eagerReducer:null,eagerState:null,next:null},s=t.last;if(null===s)i.next=i;else{var l=s.next;null!==l&&(i.next=l),s.next=i}if(t.last=i,0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var u=t.lastRenderedState,c=o(u,n);if(i.eagerReducer=o,i.eagerState=c,Jt(c,u))return}catch(e){}Xa(e,r)}}var li={readContext:zi,useCallback:Yr,useContext:Yr,useEffect:Yr,useImperativeHandle:Yr,useLayoutEffect:Yr,useMemo:Yr,useReducer:Yr,useRef:Yr,useState:Yr,useDebugValue:Yr},ui={readContext:zi,useCallback:function(e,t){return Jr().memoizedState=[e,void 0===t?null:t],e},useContext:zi,useEffect:function(e,t){return oi(516,Nr|Ar,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,oi(4,Ir|Dr,ii.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oi(4,Ir|Dr,e,t)},useMemo:function(e,t){var n=Jr();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var o=Jr();return t=void 0!==n?n(t):t,o.memoizedState=o.baseState=t,e=(e=o.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=si.bind(null,Or,e),[o.memoizedState,e]},useRef:function(e){return e={current:e},Jr().memoizedState=e},useState:function(e){var t=Jr();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:ei,lastRenderedState:e}).dispatch=si.bind(null,Or,e),[t.memoizedState,e]},useDebugValue:ai},ci={readContext:zi,useCallback:function(e,t){var n=$r();t=void 0===t?null:t;var o=n.memoizedState;return null!==o&&null!==t&&Qr(t,o[1])?o[0]:(n.memoizedState=[e,t],e)},useContext:zi,useEffect:function(e,t){return ri(516,Nr|Ar,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ri(4,Ir|Dr,ii.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ri(4,Ir|Dr,e,t)},useMemo:function(e,t){var n=$r();t=void 0===t?null:t;var o=n.memoizedState;return null!==o&&null!==t&&Qr(t,o[1])?o[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:ti,useRef:function(){return $r().memoizedState},useState:function(e){return ti(ei)},useDebugValue:ai},di=null,pi=null,fi=!1;function hi(e,t){var n=Vo(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function mi(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,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function gi(e){if(fi){var t=pi;if(t){var n=t;if(!mi(e,t)){if(!(t=Co(n))||!mi(e,t))return e.effectTag|=2,fi=!1,void(di=e);hi(di,n)}di=e,pi=wo(t)}else e.effectTag|=2,fi=!1,di=e}}function vi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;di=e}function yi(e){if(e!==di)return!1;if(!fi)return vi(e),fi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!yo(t,e.memoizedProps))for(t=pi;t;)hi(e,t),t=Co(t);return vi(e),pi=di?Co(e.stateNode):null,!0}function bi(){pi=di=null,fi=!1}var _i=je.ReactCurrentOwner,xi=!1;function ki(e,t,n,o){t.child=null===e?gr(t,null,n,o):mr(t,e.child,n,o)}function Ci(e,t,n,o,r){n=n.render;var i=t.ref;return Wi(t,r),o=Zr(e,t,n,o,i,r),null===e||xi?(t.effectTag|=1,ki(e,t,o,r),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=r&&(e.expirationTime=0),Ai(e,t,r))}function wi(e,t,n,o,r,i){if(null===e){var a=n.type;return"function"!=typeof a||Go(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Yo(n.type,null,o,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ei(e,t,a,o,r,i))}return a=e.child,r<i&&(r=a.memoizedProps,(n=null!==(n=n.compare)?n:en)(r,o)&&e.ref===t.ref)?Ai(e,t,i):(t.effectTag|=1,(e=qo(a,o)).ref=t.ref,e.return=t,t.child=e)}function Ei(e,t,n,o,r,i){return null!==e&&en(e.memoizedProps,o)&&e.ref===t.ref&&(xi=!1,r<i)?Ai(e,t,i):Ti(e,t,n,o,i)}function Si(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ti(e,t,n,o,r){var i=Bo(n)?Ao:Po.current;return i=No(t,i),Wi(t,r),n=Zr(e,t,n,o,i,r),null===e||xi?(t.effectTag|=1,ki(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=r&&(e.expirationTime=0),Ai(e,t,r))}function Ii(e,t,n,o,r){if(Bo(n)){var i=!0;Ho(t)}else i=!1;if(Wi(t,r),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),lr(t,n,o),cr(t,n,o,r),o=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=zi(u):u=No(t,u=Bo(n)?Ao:Po.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==o||l!==u)&&ur(t,a,o,u),Gi=!1;var p=t.memoizedState;l=a.state=p;var f=t.updateQueue;null!==f&&(ta(t,f,o,a,r),l=t.memoizedState),s!==o||p!==l||Do.current||Gi?("function"==typeof c&&(ir(t,n,c,o),l=t.memoizedState),(s=Gi||sr(t,n,s,o,p,l,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.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=o,t.memoizedState=l),a.props=o,a.state=l,a.context=u,o=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),o=!1)}else a=t.stateNode,s=t.memoizedProps,a.props=t.type===t.elementType?s:or(t.type,s),l=a.context,"object"==typeof(u=n.contextType)&&null!==u?u=zi(u):u=No(t,u=Bo(n)?Ao:Po.current),(d="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==o||l!==u)&&ur(t,a,o,u),Gi=!1,l=t.memoizedState,p=a.state=l,null!==(f=t.updateQueue)&&(ta(t,f,o,a,r),p=t.memoizedState),s!==o||l!==p||Do.current||Gi?("function"==typeof c&&(ir(t,n,c,o),p=t.memoizedState),(c=Gi||sr(t,n,s,o,l,p,u))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(o,p,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(o,p,u)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=o,t.memoizedState=p),a.props=o,a.state=p,a.context=u,o=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),o=!1);return Mi(e,t,n,o,i,r)}function Mi(e,t,n,o,r,i){Si(e,t);var a=0!=(64&t.effectTag);if(!o&&!a)return r&&Wo(t,n,!1),Ai(e,t,i);o=t.stateNode,_i.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:o.render();return t.effectTag|=1,null!==e&&a?(t.child=mr(t,e.child,null,i),t.child=mr(t,null,s,i)):ki(e,t,s,i),t.memoizedState=o.state,r&&Wo(t,n,!0),t.child}function Pi(e){var t=e.stateNode;t.pendingContext?Ro(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ro(0,t.context,!1),kr(e,t.containerInfo)}function Di(e,t,n){var o=t.mode,r=t.pendingProps,i=t.memoizedState;if(0==(64&t.effectTag)){i=null;var a=!1}else i={timedOutAt:null!==i?i.timedOutAt:0},a=!0,t.effectTag&=-65;if(null===e)if(a){var s=r.fallback;e=Qo(null,o,0,null),0==(1&t.mode)&&(e.child=null!==t.memoizedState?t.child.child:t.child),o=Qo(s,o,n,null),e.sibling=o,(n=e).return=o.return=t}else n=o=gr(t,null,r.children,n);else null!==e.memoizedState?(s=(o=e.child).sibling,a?(n=r.fallback,r=qo(o,o.pendingProps),0==(1&t.mode)&&((a=null!==t.memoizedState?t.child.child:t.child)!==o.child&&(r.child=a)),o=r.sibling=qo(s,n,s.expirationTime),n=r,r.childExpirationTime=0,n.return=o.return=t):n=o=mr(t,o.child,r.children,n)):(s=e.child,a?(a=r.fallback,(r=Qo(null,o,0,null)).child=s,0==(1&t.mode)&&(r.child=null!==t.memoizedState?t.child.child:t.child),(o=r.sibling=Qo(a,o,n,null)).effectTag|=2,n=r,r.childExpirationTime=0,n.return=o.return=t):o=n=mr(t,s,r.children,n)),t.stateNode=e.stateNode;return t.memoizedState=i,t.child=n,o}function Ai(e,t,n){if(null!==e&&(t.contextDependencies=e.contextDependencies),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child&&a("153"),null!==t.child){for(n=qo(e=t.child,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=qo(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function Ni(e,t,n){var o=t.expirationTime;if(null!==e){if(e.memoizedProps!==t.pendingProps||Do.current)xi=!0;else if(o<n){switch(xi=!1,t.tag){case 3:Pi(t),bi();break;case 5:wr(t);break;case 1:Bo(t.type)&&Ho(t);break;case 4:kr(t,t.stateNode.containerInfo);break;case 10:Li(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(o=t.child.childExpirationTime)&&o>=n?Di(e,t,n):null!==(t=Ai(e,t,n))?t.sibling:null}return Ai(e,t,n)}}else xi=!1;switch(t.expirationTime=0,t.tag){case 2:o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps;var r=No(t,Po.current);if(Wi(t,n),r=Zr(null,t,o,e,r,n),t.effectTag|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof){if(t.tag=1,Xr(),Bo(o)){var i=!0;Ho(t)}else i=!1;t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null;var s=o.getDerivedStateFromProps;"function"==typeof s&&ir(t,o,s,e),r.updater=ar,t.stateNode=r,r._reactInternalFiber=t,cr(t,o,e,n),t=Mi(null,t,o,!0,i,n)}else t.tag=0,ki(null,t,r,n),t=t.child;return t;case 16:switch(r=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),i=t.pendingProps,e=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,(t=(t=e._ctor)()).then(function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)},function(t){0===e._status&&(e._status=2,e._result=t)}),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}(r),t.type=e,r=t.tag=function(e){if("function"==typeof e)return Go(e)?1:0;if(null!=e){if((e=e.$$typeof)===tt)return 11;if(e===ot)return 14}return 2}(e),i=or(e,i),s=void 0,r){case 0:s=Ti(null,t,e,i,n);break;case 1:s=Ii(null,t,e,i,n);break;case 11:s=Ci(null,t,e,i,n);break;case 14:s=wi(null,t,e,or(e.type,i),o,n);break;default:a("306",e,"")}return s;case 0:return o=t.type,r=t.pendingProps,Ti(e,t,o,r=t.elementType===o?r:or(o,r),n);case 1:return o=t.type,r=t.pendingProps,Ii(e,t,o,r=t.elementType===o?r:or(o,r),n);case 3:return Pi(t),null===(o=t.updateQueue)&&a("282"),r=null!==(r=t.memoizedState)?r.element:null,ta(t,o,t.pendingProps,null,n),(o=t.memoizedState.element)===r?(bi(),t=Ai(e,t,n)):(r=t.stateNode,(r=(null===e||null===e.child)&&r.hydrate)&&(pi=wo(t.stateNode.containerInfo),di=t,r=fi=!0),r?(t.effectTag|=2,t.child=gr(t,null,o,n)):(ki(e,t,o,n),bi()),t=t.child),t;case 5:return wr(t),null===e&&gi(t),o=t.type,r=t.pendingProps,i=null!==e?e.memoizedProps:null,s=r.children,yo(o,r)?s=null:null!==i&&yo(o,i)&&(t.effectTag|=16),Si(e,t),1!==n&&1&t.mode&&r.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(ki(e,t,s,n),t=t.child),t;case 6:return null===e&&gi(t),null;case 13:return Di(e,t,n);case 4:return kr(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=mr(t,null,o,n):ki(e,t,o,n),t.child;case 11:return o=t.type,r=t.pendingProps,Ci(e,t,o,r=t.elementType===o?r:or(o,r),n);case 7:return ki(e,t,t.pendingProps,n),t.child;case 8:case 12:return ki(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(o=t.type._context,r=t.pendingProps,s=t.memoizedProps,Li(t,i=r.value),null!==s){var l=s.value;if(0===(i=Jt(l,i)?0:0|("function"==typeof o._calculateChangedBits?o._calculateChangedBits(l,i):1073741823))){if(s.children===r.children&&!Do.current){t=Ai(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.contextDependencies;if(null!==u){s=l.child;for(var c=u.first;null!==c;){if(c.context===o&&0!=(c.observedBits&i)){1===l.tag&&((c=Qi(n)).tag=ji,Xi(l,c)),l.expirationTime<n&&(l.expirationTime=n),null!==(c=l.alternate)&&c.expirationTime<n&&(c.expirationTime=n),c=n;for(var d=l.return;null!==d;){var p=d.alternate;if(d.childExpirationTime<c)d.childExpirationTime=c,null!==p&&p.childExpirationTime<c&&(p.childExpirationTime=c);else{if(!(null!==p&&p.childExpirationTime<c))break;p.childExpirationTime=c}d=d.return}u.expirationTime<n&&(u.expirationTime=n);break}c=c.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}}ki(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,o=(i=t.pendingProps).children,Wi(t,n),o=o(r=zi(r,i.unstable_observedBits)),t.effectTag|=1,ki(e,t,o,n),t.child;case 14:return i=or(r=t.type,t.pendingProps),wi(e,t,r,i=or(r.type,i),o,n);case 15:return Ei(e,t,t.type,t.pendingProps,o,n);case 17:return o=t.type,r=t.pendingProps,r=t.elementType===o?r:or(o,r),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Bo(o)?(e=!0,Ho(t)):e=!1,Wi(t,n),lr(t,o,r),cr(t,o,r,n),Mi(null,t,o,!0,e,n)}a("156")}var Bi={current:null},Fi=null,Oi=null,Ri=null;function Li(e,t){var n=e.type._context;Io(Bi,n._currentValue),n._currentValue=t}function Hi(e){var t=Bi.current;To(Bi),e.type._context._currentValue=t}function Wi(e,t){Fi=e,Ri=Oi=null;var n=e.contextDependencies;null!==n&&n.expirationTime>=t&&(xi=!0),e.contextDependencies=null}function zi(e,t){return Ri!==e&&!1!==t&&0!==t&&("number"==typeof t&&1073741823!==t||(Ri=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Oi?(null===Fi&&a("308"),Oi=t,Fi.contextDependencies={first:t,expirationTime:0}):Oi=Oi.next=t),e._currentValue}var Ui=0,Ki=1,ji=2,Vi=3,Gi=!1;function qi(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Yi(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Qi(e){return{expirationTime:e,tag:Ui,payload:null,callback:null,next:null,nextEffect:null}}function Zi(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Xi(e,t){var n=e.alternate;if(null===n){var o=e.updateQueue,r=null;null===o&&(o=e.updateQueue=qi(e.memoizedState))}else o=e.updateQueue,r=n.updateQueue,null===o?null===r?(o=e.updateQueue=qi(e.memoizedState),r=n.updateQueue=qi(n.memoizedState)):o=e.updateQueue=Yi(r):null===r&&(r=n.updateQueue=Yi(o));null===r||o===r?Zi(o,t):null===o.lastUpdate||null===r.lastUpdate?(Zi(o,t),Zi(r,t)):(Zi(o,t),r.lastUpdate=t)}function Ji(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=qi(e.memoizedState):$i(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function $i(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Yi(t)),t}function ea(e,t,n,o,i,a){switch(n.tag){case Ki:return"function"==typeof(e=n.payload)?e.call(a,o,i):e;case Vi:e.effectTag=-2049&e.effectTag|64;case Ui:if(null==(i="function"==typeof(e=n.payload)?e.call(a,o,i):e))break;return r({},o,i);case ji:Gi=!0}return o}function ta(e,t,n,o,r){Gi=!1;for(var i=(t=$i(e,t)).baseState,a=null,s=0,l=t.firstUpdate,u=i;null!==l;){var c=l.expirationTime;c<r?(null===a&&(a=l,i=u),s<c&&(s=c)):(u=ea(e,0,l,u,n,o),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=l:(t.lastEffect.nextEffect=l,t.lastEffect=l))),l=l.next}for(c=null,l=t.firstCapturedUpdate;null!==l;){var d=l.expirationTime;d<r?(null===c&&(c=l,null===a&&(i=u)),s<d&&(s=d)):(u=ea(e,0,l,u,n,o),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=l:(t.lastCapturedEffect.nextEffect=l,t.lastCapturedEffect=l))),l=l.next}null===a&&(t.lastUpdate=null),null===c?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===c&&(i=u),t.baseState=i,t.firstUpdate=a,t.firstCapturedUpdate=c,e.expirationTime=s,e.memoizedState=u}function na(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),oa(t.firstEffect,n),t.firstEffect=t.lastEffect=null,oa(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function oa(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var o=t;"function"!=typeof n&&a("191",n),n.call(o)}e=e.nextEffect}}function ra(e,t){return{value:e,source:t,stack:lt(t)}}function ia(e){e.effectTag|=4}var aa=void 0,sa=void 0,la=void 0,ua=void 0;aa=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}},sa=function(){},la=function(e,t,n,o,i){var a=e.memoizedProps;if(a!==o){var s=t.stateNode;switch(xr(yr.current),e=null,n){case"input":a=bt(s,a),o=bt(s,o),e=[];break;case"option":a=qn(s,a),o=qn(s,o),e=[];break;case"select":a=r({},a,{value:void 0}),o=r({},o,{value:void 0}),e=[];break;case"textarea":a=Qn(s,a),o=Qn(s,o),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof o.onClick&&(s.onclick=ho)}co(n,o),s=n=void 0;var l=null;for(n in a)if(!o.hasOwnProperty(n)&&a.hasOwnProperty(n)&&null!=a[n])if("style"===n){var u=a[n];for(s in u)u.hasOwnProperty(s)&&(l||(l={}),l[s]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(b.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in o){var c=o[n];if(u=null!=a?a[n]:void 0,o.hasOwnProperty(n)&&c!==u&&(null!=c||null!=u))if("style"===n)if(u){for(s in u)!u.hasOwnProperty(s)||c&&c.hasOwnProperty(s)||(l||(l={}),l[s]="");for(s in c)c.hasOwnProperty(s)&&u[s]!==c[s]&&(l||(l={}),l[s]=c[s])}else l||(e||(e=[]),e.push(n,l)),l=c;else"dangerouslySetInnerHTML"===n?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(e=e||[]).push(n,""+c)):"children"===n?u===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(n,""+c):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(b.hasOwnProperty(n)?(null!=c&&fo(i,n),e||u===c||(e=[])):(e=e||[]).push(n,c))}l&&(e=e||[]).push("style",l),i=e,(t.updateQueue=i)&&ia(t)}},ua=function(e,t,n,o){n!==o&&ia(t)};var ca="function"==typeof WeakSet?WeakSet:Set;function da(e,t){var n=t.source,o=t.stack;null===o&&null!==n&&(o=lt(n)),null!==n&&st(n.type),t=t.value,null!==e&&1===e.tag&&st(e.type);try{console.error(t)}catch(e){setTimeout(function(){throw e})}}function pa(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){qa(e,t)}else t.current=null}function fa(e,t,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var o=n=n.next;do{if((o.tag&e)!==Sr){var r=o.destroy;o.destroy=void 0,void 0!==r&&r()}(o.tag&t)!==Sr&&(r=o.create,o.destroy=r()),o=o.next}while(o!==n)}}function ha(e){switch("function"==typeof Uo&&Uo(e),e.tag){case 0:case 11:case 14:case 15:var t=e.updateQueue;if(null!==t&&null!==(t=t.lastEffect)){var n=t=t.next;do{var o=n.destroy;if(void 0!==o){var r=e;try{o()}catch(e){qa(r,e)}}n=n.next}while(n!==t)}break;case 1:if(pa(e),"function"==typeof(t=e.stateNode).componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){qa(e,t)}break;case 5:pa(e);break;case 4:va(e)}}function ma(e){return 5===e.tag||3===e.tag||4===e.tag}function ga(e){e:{for(var t=e.return;null!==t;){if(ma(t)){var n=t;break e}t=t.return}a("160"),n=void 0}var o=t=void 0;switch(n.tag){case 5:t=n.stateNode,o=!1;break;case 3:case 4:t=n.stateNode.containerInfo,o=!0;break;default:a("161")}16&n.effectTag&&(ro(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ma(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var r=e;;){if(5===r.tag||6===r.tag)if(n)if(o){var i=t,s=r.stateNode,l=n;8===i.nodeType?i.parentNode.insertBefore(s,l):i.insertBefore(s,l)}else t.insertBefore(r.stateNode,n);else o?(s=t,l=r.stateNode,8===s.nodeType?(i=s.parentNode).insertBefore(l,s):(i=s).appendChild(l),null!=(s=s._reactRootContainer)||null!==i.onclick||(i.onclick=ho)):t.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function va(e){for(var t=e,n=!1,o=void 0,r=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&a("160"),n.tag){case 5:o=n.stateNode,r=!1;break e;case 3:case 4:o=n.stateNode.containerInfo,r=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var i=t,s=i;;)if(ha(s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===i)break;for(;null===s.sibling;){if(null===s.return||s.return===i)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(i=o,s=t.stateNode,8===i.nodeType?i.parentNode.removeChild(s):i.removeChild(s)):o.removeChild(t.stateNode)}else if(4===t.tag){if(null!==t.child){o=t.stateNode.containerInfo,r=!0,t.child.return=t,t=t.child;continue}}else if(ha(t),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;4===(t=t.return).tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function ya(e,t){switch(t.tag){case 0:case 11:case 14:case 15:fa(Ir,Mr,t);break;case 1:break;case 5:var n=t.stateNode;if(null!=n){var o=t.memoizedProps;e=null!==e?e.memoizedProps:o;var r=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&function(e,t,n,o,r){e[B]=r,"input"===n&&"radio"===r.type&&null!=r.name&&xt(e,r),po(n,o),o=po(n,r);for(var i=0;i<t.length;i+=2){var a=t[i],s=t[i+1];"style"===a?lo(e,s):"dangerouslySetInnerHTML"===a?oo(e,s):"children"===a?ro(e,s):vt(e,a,s,o)}switch(n){case"input":kt(e,r);break;case"textarea":Xn(e,r);break;case"select":t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!r.multiple,null!=(n=r.value)?Yn(e,!!r.multiple,n,!1):t!==!!r.multiple&&(null!=r.defaultValue?Yn(e,!!r.multiple,r.defaultValue,!0):Yn(e,!!r.multiple,r.multiple?[]:"",!1))}}(n,i,r,e,o)}break;case 6:null===t.stateNode&&a("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 12:break;case 13:if(n=t.memoizedState,o=void 0,e=t,null===n?o=!1:(o=!0,e=t.child,0===n.timedOutAt&&(n.timedOutAt=xs())),null!==e&&function(e,t){for(var n=e;;){if(5===n.tag){var o=n.stateNode;if(t)o.style.display="none";else{o=n.stateNode;var r=n.memoizedProps.style;r=null!=r&&r.hasOwnProperty("display")?r.display:null,o.style.display=so("display",r)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else{if(13===n.tag&&null!==n.memoizedState){(o=n.child.sibling).return=n,n=o;continue}if(null!==n.child){n.child.return=n,n=n.child;continue}}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}(e,o),null!==(n=t.updateQueue)){t.updateQueue=null;var s=t.stateNode;null===s&&(s=t.stateNode=new ca),n.forEach(function(e){var n=function(e,t){var n=e.stateNode;null!==n&&n.delete(t),t=Ya(t=xs(),e),null!==(e=Za(e,t))&&($o(e,t),0!==(t=e.expirationTime)&&ks(e,t))}.bind(null,t,e);s.has(e)||(s.add(e),e.then(n,n))})}break;case 17:break;default:a("163")}}var ba="function"==typeof WeakMap?WeakMap:Map;function _a(e,t,n){(n=Qi(n)).tag=Vi,n.payload={element:null};var o=t.value;return n.callback=function(){Ds(o),da(e,t)},n}function xa(e,t,n){(n=Qi(n)).tag=Vi;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var r=t.value;n.payload=function(){return o(r)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof o&&(null===Ra?Ra=new Set([this]):Ra.add(this));var n=t.value,r=t.stack;da(e,t),this.componentDidCatch(n,{componentStack:null!==r?r:""})}),n}function ka(e){switch(e.tag){case 1:Bo(e.type)&&Fo();var t=e.effectTag;return 2048&t?(e.effectTag=-2049&t|64,e):null;case 3:return Cr(),Oo(),0!=(64&(t=e.effectTag))&&a("285"),e.effectTag=-2049&t|64,e;case 5:return Er(e),null;case 13:return 2048&(t=e.effectTag)?(e.effectTag=-2049&t|64,e):null;case 18:return null;case 4:return Cr(),null;case 10:return Hi(e),null;default:return null}}var Ca=je.ReactCurrentDispatcher,wa=je.ReactCurrentOwner,Ea=1073741822,Sa=!1,Ta=null,Ia=null,Ma=0,Pa=-1,Da=!1,Aa=null,Na=!1,Ba=null,Fa=null,Oa=null,Ra=null;function La(){if(null!==Ta)for(var e=Ta.return;null!==e;){var t=e;switch(t.tag){case 1:var n=t.type.childContextTypes;null!=n&&Fo();break;case 3:Cr(),Oo();break;case 5:Er(t);break;case 4:Cr();break;case 10:Hi(t)}e=e.return}Ia=null,Ma=0,Pa=-1,Da=!1,Ta=null}function Ha(){for(;null!==Aa;){var e=Aa.effectTag;if(16&e&&ro(Aa.stateNode,""),128&e){var t=Aa.alternate;null!==t&&(null!==(t=t.ref)&&("function"==typeof t?t(null):t.current=null))}switch(14&e){case 2:ga(Aa),Aa.effectTag&=-3;break;case 6:ga(Aa),Aa.effectTag&=-3,ya(Aa.alternate,Aa);break;case 4:ya(Aa.alternate,Aa);break;case 8:va(e=Aa),e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,null!==(e=e.alternate)&&(e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null)}Aa=Aa.nextEffect}}function Wa(){for(;null!==Aa;){if(256&Aa.effectTag)e:{var e=Aa.alternate,t=Aa;switch(t.tag){case 0:case 11:case 15:fa(Tr,Sr,t);break e;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,o=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:or(t.type,n),o),e.__reactInternalSnapshotBeforeUpdate=t}break e;case 3:case 5:case 6:case 4:case 17:break e;default:a("163")}}Aa=Aa.nextEffect}}function za(e,t){for(;null!==Aa;){var n=Aa.effectTag;if(36&n){var o=Aa.alternate,r=Aa,i=t;switch(r.tag){case 0:case 11:case 15:fa(Pr,Dr,r);break;case 1:var s=r.stateNode;if(4&r.effectTag)if(null===o)s.componentDidMount();else{var l=r.elementType===r.type?o.memoizedProps:or(r.type,o.memoizedProps);s.componentDidUpdate(l,o.memoizedState,s.__reactInternalSnapshotBeforeUpdate)}null!==(o=r.updateQueue)&&na(0,o,s);break;case 3:if(null!==(o=r.updateQueue)){if(s=null,null!==r.child)switch(r.child.tag){case 5:s=r.child.stateNode;break;case 1:s=r.child.stateNode}na(0,o,s)}break;case 5:i=r.stateNode,null===o&&4&r.effectTag&&vo(r.type,r.memoizedProps)&&i.focus();break;case 6:case 4:case 12:case 13:case 17:break;default:a("163")}}128&n&&(null!==(r=Aa.ref)&&(i=Aa.stateNode,"function"==typeof r?r(i):r.current=i)),512&n&&(Ba=e),Aa=Aa.nextEffect}}function Ua(){null!==Fa&&ko(Fa),null!==Oa&&Oa()}function Ka(e,t){Na=Sa=!0,e.current===t&&a("177");var n=e.pendingCommitExpirationTime;0===n&&a("261"),e.pendingCommitExpirationTime=0;var o=t.expirationTime,r=t.childExpirationTime;for(function(e,t){if(e.didError=!1,0===t)e.earliestPendingTime=0,e.latestPendingTime=0,e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0;else{t<e.latestPingedTime&&(e.latestPingedTime=0);var n=e.latestPendingTime;0!==n&&(n>t?e.earliestPendingTime=e.latestPendingTime=0:e.earliestPendingTime>t&&(e.earliestPendingTime=e.latestPendingTime)),0===(n=e.earliestSuspendedTime)?$o(e,t):t<e.latestSuspendedTime?(e.earliestSuspendedTime=0,e.latestSuspendedTime=0,e.latestPingedTime=0,$o(e,t)):t>n&&$o(e,t)}nr(0,e)}(e,r>o?r:o),wa.current=null,o=void 0,1<t.effectTag?null!==t.lastEffect?(t.lastEffect.nextEffect=t,o=t.firstEffect):o=t:o=t.firstEffect,mo=wn,go=function(){var e=On();if(Rn(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(n&&0!==n.rangeCount){t=n.anchorNode;var o=n.anchorOffset,r=n.focusNode;n=n.focusOffset;try{t.nodeType,r.nodeType}catch(e){t=null;break e}var i=0,a=-1,s=-1,l=0,u=0,c=e,d=null;t:for(;;){for(var p;c!==t||0!==o&&3!==c.nodeType||(a=i+o),c!==r||0!==n&&3!==c.nodeType||(s=i+n),3===c.nodeType&&(i+=c.nodeValue.length),null!==(p=c.firstChild);)d=c,c=p;for(;;){if(c===e)break t;if(d===t&&++l===o&&(a=i),d===r&&++u===n&&(s=i),null!==(p=c.nextSibling))break;d=(c=d).parentNode}c=p}t=-1===a||-1===s?null:{start:a,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;return{focusedElem:e,selectionRange:t}}(),wn=!1,Aa=o;null!==Aa;){r=!1;var s=void 0;try{Wa()}catch(e){r=!0,s=e}r&&(null===Aa&&a("178"),qa(Aa,s),null!==Aa&&(Aa=Aa.nextEffect))}for(Aa=o;null!==Aa;){r=!1,s=void 0;try{Ha()}catch(e){r=!0,s=e}r&&(null===Aa&&a("178"),qa(Aa,s),null!==Aa&&(Aa=Aa.nextEffect))}for(Ln(go),go=null,wn=!!mo,mo=null,e.current=t,Aa=o;null!==Aa;){r=!1,s=void 0;try{za(e,n)}catch(e){r=!0,s=e}r&&(null===Aa&&a("178"),qa(Aa,s),null!==Aa&&(Aa=Aa.nextEffect))}if(null!==o&&null!==Ba){var l=function(e,t){Oa=Fa=Ba=null;var n=os;os=!0;do{if(512&t.effectTag){var o=!1,r=void 0;try{var i=t;fa(Nr,Sr,i),fa(Sr,Ar,i)}catch(e){o=!0,r=e}o&&qa(t,r)}t=t.nextEffect}while(null!==t);os=n,0!==(n=e.expirationTime)&&ks(e,n),us||os||Ts(1073741823,!1)}.bind(null,e,o);Fa=i.unstable_runWithPriority(i.unstable_NormalPriority,function(){return xo(l)}),Oa=l}Sa=Na=!1,"function"==typeof zo&&zo(t.stateNode),n=t.expirationTime,0===(t=(t=t.childExpirationTime)>n?t:n)&&(Ra=null),function(e,t){e.expirationTime=t,e.finishedWork=null}(e,t)}function ja(e){for(;;){var t=e.alternate,n=e.return,o=e.sibling;if(0==(1024&e.effectTag)){Ta=e;e:{var i=t,s=Ma,l=(t=e).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:Bo(t.type)&&Fo();break;case 3:Cr(),Oo(),(l=t.stateNode).pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),null!==i&&null!==i.child||(yi(t),t.effectTag&=-3),sa(t);break;case 5:Er(t);var u=xr(_r.current);if(s=t.type,null!==i&&null!=t.stateNode)la(i,t,s,l,u),i.ref!==t.ref&&(t.effectTag|=128);else if(l){var c=xr(yr.current);if(yi(t)){i=(l=t).stateNode;var d=l.type,p=l.memoizedProps,f=u;switch(i[N]=l,i[B]=p,s=void 0,u=d){case"iframe":case"object":En("load",i);break;case"video":case"audio":for(d=0;d<te.length;d++)En(te[d],i);break;case"source":En("error",i);break;case"img":case"image":case"link":En("error",i),En("load",i);break;case"form":En("reset",i),En("submit",i);break;case"details":En("toggle",i);break;case"input":_t(i,p),En("invalid",i),fo(f,"onChange");break;case"select":i._wrapperState={wasMultiple:!!p.multiple},En("invalid",i),fo(f,"onChange");break;case"textarea":Zn(i,p),En("invalid",i),fo(f,"onChange")}for(s in co(u,p),d=null,p)p.hasOwnProperty(s)&&(c=p[s],"children"===s?"string"==typeof c?i.textContent!==c&&(d=["children",c]):"number"==typeof c&&i.textContent!==""+c&&(d=["children",""+c]):b.hasOwnProperty(s)&&null!=c&&fo(f,s));switch(u){case"input":Ue(i),Ct(i,p,!0);break;case"textarea":Ue(i),Jn(i);break;case"select":case"option":break;default:"function"==typeof p.onClick&&(i.onclick=ho)}s=d,l.updateQueue=s,(l=null!==s)&&ia(t)}else{p=t,f=s,i=l,d=9===u.nodeType?u:u.ownerDocument,c===$n.html&&(c=eo(f)),c===$n.html?"script"===f?((i=d.createElement("div")).innerHTML="<script><\/script>",d=i.removeChild(i.firstChild)):"string"==typeof i.is?d=d.createElement(f,{is:i.is}):(d=d.createElement(f),"select"===f&&(f=d,i.multiple?f.multiple=!0:i.size&&(f.size=i.size))):d=d.createElementNS(c,f),(i=d)[N]=p,i[B]=l,aa(i,t,!1,!1),f=i;var h=u,m=po(d=s,p=l);switch(d){case"iframe":case"object":En("load",f),u=p;break;case"video":case"audio":for(u=0;u<te.length;u++)En(te[u],f);u=p;break;case"source":En("error",f),u=p;break;case"img":case"image":case"link":En("error",f),En("load",f),u=p;break;case"form":En("reset",f),En("submit",f),u=p;break;case"details":En("toggle",f),u=p;break;case"input":_t(f,p),u=bt(f,p),En("invalid",f),fo(h,"onChange");break;case"option":u=qn(f,p);break;case"select":f._wrapperState={wasMultiple:!!p.multiple},u=r({},p,{value:void 0}),En("invalid",f),fo(h,"onChange");break;case"textarea":Zn(f,p),u=Qn(f,p),En("invalid",f),fo(h,"onChange");break;default:u=p}co(d,u),c=void 0;var g=d,v=f,y=u;for(c in y)if(y.hasOwnProperty(c)){var _=y[c];"style"===c?lo(v,_):"dangerouslySetInnerHTML"===c?null!=(_=_?_.__html:void 0)&&oo(v,_):"children"===c?"string"==typeof _?("textarea"!==g||""!==_)&&ro(v,_):"number"==typeof _&&ro(v,""+_):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(b.hasOwnProperty(c)?null!=_&&fo(h,c):null!=_&&vt(v,c,_,m))}switch(d){case"input":Ue(f),Ct(f,p,!1);break;case"textarea":Ue(f),Jn(f);break;case"option":null!=p.value&&f.setAttribute("value",""+yt(p.value));break;case"select":(u=f).multiple=!!p.multiple,null!=(f=p.value)?Yn(u,!!p.multiple,f,!1):null!=p.defaultValue&&Yn(u,!!p.multiple,p.defaultValue,!0);break;default:"function"==typeof u.onClick&&(f.onclick=ho)}(l=vo(s,l))&&ia(t),t.stateNode=i}null!==t.ref&&(t.effectTag|=128)}else null===t.stateNode&&a("166");break;case 6:i&&null!=t.stateNode?ua(i,t,i.memoizedProps,l):("string"!=typeof l&&(null===t.stateNode&&a("166")),i=xr(_r.current),xr(yr.current),yi(t)?(s=(l=t).stateNode,i=l.memoizedProps,s[N]=l,(l=s.nodeValue!==i)&&ia(t)):(s=t,(l=(9===i.nodeType?i:i.ownerDocument).createTextNode(l))[N]=t,s.stateNode=l));break;case 11:break;case 13:if(l=t.memoizedState,0!=(64&t.effectTag)){t.expirationTime=s,Ta=t;break e}l=null!==l,s=null!==i&&null!==i.memoizedState,null!==i&&!l&&s&&(null!==(i=i.child.sibling)&&(null!==(u=t.firstEffect)?(t.firstEffect=i,i.nextEffect=u):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),(l||s)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:Cr(),sa(t);break;case 10:Hi(t);break;case 9:case 14:break;case 17:Bo(t.type)&&Fo();break;case 18:break;default:a("156")}Ta=null}if(t=e,1===Ma||1!==t.childExpirationTime){for(l=0,s=t.child;null!==s;)(i=s.expirationTime)>l&&(l=i),(u=s.childExpirationTime)>l&&(l=u),s=s.sibling;t.childExpirationTime=l}if(null!==Ta)return Ta;null!==n&&0==(1024&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e))}else{if(null!==(e=ka(e)))return e.effectTag&=1023,e;null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=1024)}if(null!==o)return o;if(null===n)break;e=n}return null}function Va(e){var t=Ni(e.alternate,e,Ma);return e.memoizedProps=e.pendingProps,null===t&&(t=ja(e)),wa.current=null,t}function Ga(e,t){Sa&&a("243"),Ua(),Sa=!0;var n=Ca.current;Ca.current=li;var o=e.nextExpirationTimeToWorkOn;o===Ma&&e===Ia&&null!==Ta||(La(),Ma=o,Ta=qo((Ia=e).current,null),e.pendingCommitExpirationTime=0);for(var r=!1;;){try{if(t)for(;null!==Ta&&!Es();)Ta=Va(Ta);else for(;null!==Ta;)Ta=Va(Ta)}catch(t){if(Ri=Oi=Fi=null,Xr(),null===Ta)r=!0,Ds(t);else{null===Ta&&a("271");var i=Ta,s=i.return;if(null!==s){e:{var l=e,u=s,c=i,d=t;if(s=Ma,c.effectTag|=1024,c.firstEffect=c.lastEffect=null,null!==d&&"object"==typeof d&&"function"==typeof d.then){var p=d;d=u;var f=-1,h=-1;do{if(13===d.tag){var m=d.alternate;if(null!==m&&null!==(m=m.memoizedState)){h=10*(1073741822-m.timedOutAt);break}"number"==typeof(m=d.pendingProps.maxDuration)&&(0>=m?f=0:(-1===f||m<f)&&(f=m))}d=d.return}while(null!==d);d=u;do{if((m=13===d.tag)&&(m=void 0!==d.memoizedProps.fallback&&null===d.memoizedState),m){if(null===(u=d.updateQueue)?((u=new Set).add(p),d.updateQueue=u):u.add(p),0==(1&d.mode)){d.effectTag|=64,c.effectTag&=-1957,1===c.tag&&(null===c.alternate?c.tag=17:((s=Qi(1073741823)).tag=ji,Xi(c,s))),c.expirationTime=1073741823;break e}u=s;var g=(c=l).pingCache;null===g?(g=c.pingCache=new ba,m=new Set,g.set(p,m)):void 0===(m=g.get(p))&&(m=new Set,g.set(p,m)),m.has(u)||(m.add(u),c=Qa.bind(null,c,p,u),p.then(c,c)),-1===f?l=1073741823:(-1===h&&(h=10*(1073741822-tr(l,s))-5e3),l=h+f),0<=l&&Pa<l&&(Pa=l),d.effectTag|=2048,d.expirationTime=s;break e}d=d.return}while(null!==d);d=Error((st(c.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+lt(c))}Da=!0,d=ra(d,c),l=u;do{switch(l.tag){case 3:l.effectTag|=2048,l.expirationTime=s,Ji(l,s=_a(l,d,s));break e;case 1:if(f=d,h=l.type,c=l.stateNode,0==(64&l.effectTag)&&("function"==typeof h.getDerivedStateFromError||null!==c&&"function"==typeof c.componentDidCatch&&(null===Ra||!Ra.has(c)))){l.effectTag|=2048,l.expirationTime=s,Ji(l,s=xa(l,f,s));break e}}l=l.return}while(null!==l)}Ta=ja(i);continue}r=!0,Ds(t)}}break}if(Sa=!1,Ca.current=n,Ri=Oi=Fi=null,Xr(),r)Ia=null,e.finishedWork=null;else if(null!==Ta)e.finishedWork=null;else{if(null===(n=e.current.alternate)&&a("281"),Ia=null,Da){if(r=e.latestPendingTime,i=e.latestSuspendedTime,s=e.latestPingedTime,0!==r&&r<o||0!==i&&i<o||0!==s&&s<o)return er(e,o),void _s(e,n,o,e.expirationTime,-1);if(!e.didError&&t)return e.didError=!0,o=e.nextExpirationTimeToWorkOn=o,t=e.expirationTime=1073741823,void _s(e,n,o,t,-1)}t&&-1!==Pa?(er(e,o),(t=10*(1073741822-tr(e,o)))<Pa&&(Pa=t),t=10*(1073741822-xs()),t=Pa-t,_s(e,n,o,e.expirationTime,0>t?0:t)):(e.pendingCommitExpirationTime=o,e.finishedWork=n)}}function qa(e,t){for(var n=e.return;null!==n;){switch(n.tag){case 1:var o=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof o.componentDidCatch&&(null===Ra||!Ra.has(o)))return Xi(n,e=xa(n,e=ra(t,e),1073741823)),void Xa(n,1073741823);break;case 3:return Xi(n,e=_a(n,e=ra(t,e),1073741823)),void Xa(n,1073741823)}n=n.return}3===e.tag&&(Xi(e,n=_a(e,n=ra(t,e),1073741823)),Xa(e,1073741823))}function Ya(e,t){var n=i.unstable_getCurrentPriorityLevel(),o=void 0;if(0==(1&t.mode))o=1073741823;else if(Sa&&!Na)o=Ma;else{switch(n){case i.unstable_ImmediatePriority:o=1073741823;break;case i.unstable_UserBlockingPriority:o=1073741822-10*(1+((1073741822-e+15)/10|0));break;case i.unstable_NormalPriority:o=1073741822-25*(1+((1073741822-e+500)/25|0));break;case i.unstable_LowPriority:case i.unstable_IdlePriority:o=1;break;default:a("313")}null!==Ia&&o===Ma&&--o}return n===i.unstable_UserBlockingPriority&&(0===as||o<as)&&(as=o),o}function Qa(e,t,n){var o=e.pingCache;null!==o&&o.delete(t),null!==Ia&&Ma===n?Ia=null:(t=e.earliestSuspendedTime,o=e.latestSuspendedTime,0!==t&&n<=t&&n>=o&&(e.didError=!1,(0===(t=e.latestPingedTime)||t>n)&&(e.latestPingedTime=n),nr(n,e),0!==(n=e.expirationTime)&&ks(e,n)))}function Za(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var o=e.return,r=null;if(null===o&&3===e.tag)r=e.stateNode;else for(;null!==o;){if(n=o.alternate,o.childExpirationTime<t&&(o.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===o.return&&3===o.tag){r=o.stateNode;break}o=o.return}return r}function Xa(e,t){null!==(e=Za(e,t))&&(!Sa&&0!==Ma&&t>Ma&&La(),$o(e,t),Sa&&!Na&&Ia===e||ks(e,e.expirationTime),gs>ms&&(gs=0,a("185")))}function Ja(e,t,n,o,r){return i.unstable_runWithPriority(i.unstable_ImmediatePriority,function(){return e(t,n,o,r)})}var $a=null,es=null,ts=0,ns=void 0,os=!1,rs=null,is=0,as=0,ss=!1,ls=null,us=!1,cs=!1,ds=null,ps=i.unstable_now(),fs=1073741822-(ps/10|0),hs=fs,ms=50,gs=0,vs=null;function ys(){fs=1073741822-((i.unstable_now()-ps)/10|0)}function bs(e,t){if(0!==ts){if(t<ts)return;null!==ns&&i.unstable_cancelCallback(ns)}ts=t,e=i.unstable_now()-ps,ns=i.unstable_scheduleCallback(Ss,{timeout:10*(1073741822-t)-e})}function _s(e,t,n,o,r){e.expirationTime=o,0!==r||Es()?0<r&&(e.timeoutHandle=bo(function(e,t,n){e.pendingCommitExpirationTime=n,e.finishedWork=t,ys(),hs=fs,Is(e,n)}.bind(null,e,t,n),r)):(e.pendingCommitExpirationTime=n,e.finishedWork=t)}function xs(){return os?hs:(Cs(),0!==is&&1!==is||(ys(),hs=fs),hs)}function ks(e,t){null===e.nextScheduledRoot?(e.expirationTime=t,null===es?($a=es=e,e.nextScheduledRoot=e):(es=es.nextScheduledRoot=e).nextScheduledRoot=$a):t>e.expirationTime&&(e.expirationTime=t),os||(us?cs&&(rs=e,is=1073741823,Ms(e,1073741823,!1)):1073741823===t?Ts(1073741823,!1):bs(e,t))}function Cs(){var e=0,t=null;if(null!==es)for(var n=es,o=$a;null!==o;){var r=o.expirationTime;if(0===r){if((null===n||null===es)&&a("244"),o===o.nextScheduledRoot){$a=es=o.nextScheduledRoot=null;break}if(o===$a)$a=r=o.nextScheduledRoot,es.nextScheduledRoot=r,o.nextScheduledRoot=null;else{if(o===es){(es=n).nextScheduledRoot=$a,o.nextScheduledRoot=null;break}n.nextScheduledRoot=o.nextScheduledRoot,o.nextScheduledRoot=null}o=n.nextScheduledRoot}else{if(r>e&&(e=r,t=o),o===es)break;if(1073741823===e)break;n=o,o=o.nextScheduledRoot}}rs=t,is=e}var ws=!1;function Es(){return!!ws||!!i.unstable_shouldYield()&&(ws=!0)}function Ss(){try{if(!Es()&&null!==$a){ys();var e=$a;do{var t=e.expirationTime;0!==t&&fs<=t&&(e.nextExpirationTimeToWorkOn=fs),e=e.nextScheduledRoot}while(e!==$a)}Ts(0,!0)}finally{ws=!1}}function Ts(e,t){if(Cs(),t)for(ys(),hs=fs;null!==rs&&0!==is&&e<=is&&!(ws&&fs>is);)Ms(rs,is,fs>is),Cs(),ys(),hs=fs;else for(;null!==rs&&0!==is&&e<=is;)Ms(rs,is,!1),Cs();if(t&&(ts=0,ns=null),0!==is&&bs(rs,is),gs=0,vs=null,null!==ds)for(e=ds,ds=null,t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(e){ss||(ss=!0,ls=e)}}if(ss)throw e=ls,ls=null,ss=!1,e}function Is(e,t){os&&a("253"),rs=e,is=t,Ms(e,t,!1),Ts(1073741823,!1)}function Ms(e,t,n){if(os&&a("245"),os=!0,n){var o=e.finishedWork;null!==o?Ps(e,o,t):(e.finishedWork=null,-1!==(o=e.timeoutHandle)&&(e.timeoutHandle=-1,_o(o)),Ga(e,n),null!==(o=e.finishedWork)&&(Es()?e.finishedWork=o:Ps(e,o,t)))}else null!==(o=e.finishedWork)?Ps(e,o,t):(e.finishedWork=null,-1!==(o=e.timeoutHandle)&&(e.timeoutHandle=-1,_o(o)),Ga(e,n),null!==(o=e.finishedWork)&&Ps(e,o,t));os=!1}function Ps(e,t,n){var o=e.firstBatch;if(null!==o&&o._expirationTime>=n&&(null===ds?ds=[o]:ds.push(o),o._defer))return e.finishedWork=t,void(e.expirationTime=0);e.finishedWork=null,e===vs?gs++:(vs=e,gs=0),i.unstable_runWithPriority(i.unstable_ImmediatePriority,function(){Ka(e,t)})}function Ds(e){null===rs&&a("246"),rs.expirationTime=0,ss||(ss=!0,ls=e)}function As(e,t){var n=us;us=!0;try{return e(t)}finally{(us=n)||os||Ts(1073741823,!1)}}function Ns(e,t){if(us&&!cs){cs=!0;try{return e(t)}finally{cs=!1}}return e(t)}function Bs(e,t,n){us||os||0===as||(Ts(as,!1),as=0);var o=us;us=!0;try{return i.unstable_runWithPriority(i.unstable_UserBlockingPriority,function(){return e(t,n)})}finally{(us=o)||os||Ts(1073741823,!1)}}function Fs(e,t,n,o,r){var i=t.current;e:if(n){t:{2===tn(n=n._reactInternalFiber)&&1===n.tag||a("170");var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(Bo(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);a("171"),s=void 0}if(1===n.tag){var l=n.type;if(Bo(l)){n=Lo(n,l,s);break e}}n=s}else n=Mo;return null===t.context?t.context=n:t.pendingContext=n,t=r,(r=Qi(o)).payload={element:e},null!==(t=void 0===t?null:t)&&(r.callback=t),Ua(),Xi(i,r),Xa(i,o),o}function Os(e,t,n,o){var r=t.current;return Fs(e,t,n,r=Ya(xs(),r),o)}function Rs(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Ls(e){var t=1073741822-25*(1+((1073741822-xs()+500)/25|0));t>=Ea&&(t=Ea-1),this._expirationTime=Ea=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Hs(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Ws(e,t,n){e={current:t=Vo(3,null,null,t?3:0),containerInfo:e,pendingChildren:null,pingCache:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,didError:!1,pendingCommitExpirationTime:0,finishedWork:null,timeoutHandle:-1,context:null,pendingContext:null,hydrate:n,nextExpirationTimeToWorkOn:0,expirationTime:0,firstBatch:null,nextScheduledRoot:null},this._internalRoot=t.stateNode=e}function zs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Us(e,t,n,o,r){var i=n._reactRootContainer;if(i){if("function"==typeof r){var a=r;r=function(){var e=Rs(i._internalRoot);a.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,r):i.render(t,r)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Ws(e,!1,t)}(n,o),"function"==typeof r){var s=r;r=function(){var e=Rs(i._internalRoot);s.call(e)}}Ns(function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,r):i.render(t,r)})}return Rs(i._internalRoot)}function Ks(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return zs(t)||a("200"),function(e,t,n){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Ye,key:null==o?null:""+o,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Se=function(e,t,n){switch(t){case"input":if(kt(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 o=n[t];if(o!==e&&o.form===e.form){var r=L(o);r||a("90"),Ke(o),kt(o,r)}}}break;case"textarea":Xn(e,n);break;case"select":null!=(t=n.value)&&Yn(e,!!n.multiple,t,!1)}},Ls.prototype.render=function(e){this._defer||a("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,o=new Hs;return Fs(e,t,null,n,o._onCommit),o},Ls.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Ls.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||a("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var o=null,r=t;r!==this;)o=r,r=r._next;null===o&&a("251"),o._next=r._next,this._next=t,e.firstBatch=this}this._defer=!1,Is(e,n),t=this._next,this._next=null,null!==(t=e.firstBatch=t)&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Ls.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},Hs.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Hs.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!=typeof n&&a("191",n),n()}}},Ws.prototype.render=function(e,t){var n=this._internalRoot,o=new Hs;return null!==(t=void 0===t?null:t)&&o.then(t),Os(e,n,null,o._onCommit),o},Ws.prototype.unmount=function(e){var t=this._internalRoot,n=new Hs;return null!==(e=void 0===e?null:e)&&n.then(e),Os(null,t,null,n._onCommit),n},Ws.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var o=this._internalRoot,r=new Hs;return null!==(n=void 0===n?null:n)&&r.then(n),Os(t,o,e,r._onCommit),r},Ws.prototype.createBatch=function(){var e=new Ls(this),t=e._expirationTime,n=this._internalRoot,o=n.firstBatch;if(null===o)n.firstBatch=e,e._next=null;else{for(n=null;null!==o&&o._expirationTime>=t;)n=o,o=o._next;e._next=o,null!==n&&(n._next=e)}return e},Ae=As,Ne=Bs,Be=function(){os||0===as||(Ts(as,!1),as=0)};var js,Vs,Gs={createPortal:Ks,findDOMNode:function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?a("188"):a("268",Object.keys(e))),e=null===(e=on(t))?null:e.stateNode},hydrate:function(e,t,n){return zs(t)||a("200"),Us(null,e,t,!0,n)},render:function(e,t,n){return zs(t)||a("200"),Us(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,o){return zs(n)||a("200"),(null==e||void 0===e._reactInternalFiber)&&a("38"),Us(e,t,n,!1,o)},unmountComponentAtNode:function(e){return zs(e)||a("40"),!!e._reactRootContainer&&(Ns(function(){Us(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return Ks.apply(void 0,arguments)},unstable_batchedUpdates:As,unstable_interactiveUpdates:Bs,flushSync:function(e,t){os&&a("187");var n=us;us=!0;try{return Ja(e,t)}finally{us=n,Ts(1073741823,!1)}},unstable_createRoot:function(e,t){return zs(e)||a("299","unstable_createRoot"),new Ws(e,!0,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=us;us=!0;try{Ja(e)}finally{(us=t)||os||Ts(1073741823,!1)}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[O,R,L,M.injectEventPluginsByName,y,j,function(e){S(e,K)},Pe,De,In,D]}};Vs=(js={findFiberByHostInstance:F,bundleType:0,version:"16.8.6",rendererPackageName:"react-dom"}).findFiberByHostInstance,function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);zo=Ko(function(e){return t.onCommitFiberRoot(n,e)}),Uo=Ko(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}}(r({},js,{overrideProps:null,currentDispatcherRef:je.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=on(e))?null:e.stateNode},findFiberByHostInstance:function(e){return Vs?Vs(e):null}}));var qs={default:Gs},Ys=qs&&Gs||qs;e.exports=Ys.default||Ys},function(e,t,n){"use strict";e.exports=n(23)},function(e,t,n){"use strict";(function(e){
/** @license React v0.13.6
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
Object.defineProperty(t,"__esModule",{value:!0});var n=null,o=!1,r=3,i=-1,a=-1,s=!1,l=!1;function u(){if(!s){var e=n.expirationTime;l?C():l=!0,k(p,e)}}function c(){var e=n,t=n.next;if(n===t)n=null;else{var o=n.previous;n=o.next=t,t.previous=o}e.next=e.previous=null,o=e.callback,t=e.expirationTime,e=e.priorityLevel;var i=r,s=a;r=e,a=t;try{var l=o()}finally{r=i,a=s}if("function"==typeof l)if(l={callback:l,priorityLevel:e,expirationTime:t,next:null,previous:null},null===n)n=l.next=l.previous=l;else{o=null,e=n;do{if(e.expirationTime>=t){o=e;break}e=e.next}while(e!==n);null===o?o=n:o===n&&(n=l,u()),(t=o.previous).next=o.previous=l,l.next=o,l.previous=t}}function d(){if(-1===i&&null!==n&&1===n.priorityLevel){s=!0;try{do{c()}while(null!==n&&1===n.priorityLevel)}finally{s=!1,null!==n?u():l=!1}}}function p(e){s=!0;var r=o;o=e;try{if(e)for(;null!==n;){var i=t.unstable_now();if(!(n.expirationTime<=i))break;do{c()}while(null!==n&&n.expirationTime<=i)}else if(null!==n)do{c()}while(null!==n&&!w())}finally{s=!1,o=r,null!==n?u():l=!1,d()}}var f,h,m=Date,g="function"==typeof setTimeout?setTimeout:void 0,v="function"==typeof clearTimeout?clearTimeout:void 0,y="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,b="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function _(e){f=y(function(t){v(h),e(t)}),h=g(function(){b(f),e(t.unstable_now())},100)}if("object"==typeof performance&&"function"==typeof performance.now){var x=performance;t.unstable_now=function(){return x.now()}}else t.unstable_now=function(){return m.now()};var k,C,w,E=null;if("undefined"!=typeof window?E=window:void 0!==e&&(E=e),E&&E._schedMock){var S=E._schedMock;k=S[0],C=S[1],w=S[2],t.unstable_now=S[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var T=null,I=function(e){if(null!==T)try{T(e)}finally{T=null}};k=function(e){null!==T?setTimeout(k,0,e):(T=e,setTimeout(I,0,!1))},C=function(){T=null},w=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof y&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var M=null,P=!1,D=-1,A=!1,N=!1,B=0,F=33,O=33;w=function(){return B<=t.unstable_now()};var R=new MessageChannel,L=R.port2;R.port1.onmessage=function(){P=!1;var e=M,n=D;M=null,D=-1;var o=t.unstable_now(),r=!1;if(0>=B-o){if(!(-1!==n&&n<=o))return A||(A=!0,_(H)),M=e,void(D=n);r=!0}if(null!==e){N=!0;try{e(r)}finally{N=!1}}};var H=function(e){if(null!==M){_(H);var t=e-B+O;t<O&&F<O?(8>t&&(t=8),O=t<F?F:t):F=t,B=e+O,P||(P=!0,L.postMessage(void 0))}else A=!1};k=function(e,t){M=e,D=t,N||0>t?L.postMessage(void 0):A||(A=!0,_(H))},C=function(){M=null,P=!1,D=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var o=r,a=i;r=e,i=t.unstable_now();try{return n()}finally{r=o,i=a,d()}},t.unstable_next=function(e){switch(r){case 1:case 2:case 3:var n=3;break;default:n=r}var o=r,a=i;r=n,i=t.unstable_now();try{return e()}finally{r=o,i=a,d()}},t.unstable_scheduleCallback=function(e,o){var a=-1!==i?i:t.unstable_now();if("object"==typeof o&&null!==o&&"number"==typeof o.timeout)o=a+o.timeout;else switch(r){case 1:o=a+-1;break;case 2:o=a+250;break;case 5:o=a+1073741823;break;case 4:o=a+1e4;break;default:o=a+5e3}if(e={callback:e,priorityLevel:r,expirationTime:o,next:null,previous:null},null===n)n=e.next=e.previous=e,u();else{a=null;var s=n;do{if(s.expirationTime>o){a=s;break}s=s.next}while(s!==n);null===a?a=n:a===n&&(n=e,u()),(o=a.previous).next=a.previous=e,e.next=a,e.previous=o}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)n=null;else{e===n&&(n=t);var o=e.previous;o.next=t,t.previous=o}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=r;return function(){var o=r,a=i;r=n,i=t.unstable_now();try{return e.apply(this,arguments)}finally{r=o,i=a,d()}}},t.unstable_getCurrentPriorityLevel=function(){return r},t.unstable_shouldYield=function(){return!o&&(null!==n&&n.expirationTime<a||w())},t.unstable_continueExecution=function(){null!==n&&u()},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return n}}).call(this,n(14))},function(e,t,n){var o=n(25);"string"==typeof o&&(o=[[e.i,o,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};n(27)(o,r);o.locals&&(e.exports=o.locals)},function(e,t,n){(e.exports=n(26)(!1)).push([e.i,".body {\r\n  display: -webkit-box;\r\n  display: flex;\r\n  -webkit-box-orient: horizontal;\r\n  -webkit-box-direction: normal;\r\n          flex-direction: row;\r\n  height: 100%;\r\n}\r\n\r\n.body .sidebar {\r\n  -webkit-box-ordinal-group: 0;\r\n          order: -1;\r\n  max-width: 228px;\r\n  min-width: 228px;\r\n  flex-basis: 228px;\r\n  display: -webkit-box;\r\n  display: flex;\r\n  -webkit-box-orient: vertical;\r\n  -webkit-box-direction: normal;\r\n          flex-direction: column;\r\n  background-color: #f3f2f1;\r\n}\r\n\r\n.body .sidebar.collapsed {\r\n  max-width: 48px;\r\n  min-width: 48px;\r\n  flex-basis: 48px;\r\n}\r\n\r\n.body .editorzone {\r\n  display: -webkit-box;\r\n  display: flex;\r\n  -webkit-box-orient: vertical;\r\n  -webkit-box-direction: normal;\r\n          flex-direction: column;\r\n  -webkit-box-flex: 1;\r\n          flex-grow: 1;\r\n}\r\n\r\n.body .editorzone .editorhead {\r\n  display: -webkit-box;\r\n  display: flex;\r\n  -webkit-box-orient: horizontal;\r\n  -webkit-box-direction: normal;\r\n          flex-direction: row;\r\n  -webkit-box-flex: 1;\r\n          flex-grow: 1;\r\n  min-height: 50px;\r\n  max-height: 50px;\r\n  border-bottom: 1px solid #f3f2f1;\r\n  padding-left: 16px;\r\n  padding-right: 16px;\r\n}\r\n\r\n.body .editorzone .editorhead .editortitle {\r\n  align-self: center;\r\n  flex-basis: 0;\r\n  -webkit-box-flex: 1;\r\n          flex-grow: 1;\r\n  flex-shrink: 1;\r\n  white-space: nowrap;\r\n  overflow: hidden;\r\n  text-overflow: ellipsis;\r\n}\r\n\r\n.body .editorzone .editorhead .editorheadbuttons {\r\n  justify-self: right;\r\n  -webkit-box-pack: right;\r\n          justify-content: right;\r\n  align-self: center;\r\n}\r\n\r\n.body .editorzone .editorbody {\r\n  display: -webkit-box;\r\n  display: flex;\r\n  position: relative;\r\n  -webkit-box-orient: vertical;\r\n  -webkit-box-direction: normal;\r\n          flex-direction: column;\r\n  -webkit-box-flex: 1;\r\n          flex-grow: 1;\r\n}\r\n",""])},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var r=(a=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"});return[n].concat(i).concat([r]).join("\n")}var a;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var o={},r=0;r<this.length;r++){var i=this[r][0];null!=i&&(o[i]=!0)}for(r=0;r<e.length;r++){var a=e[r];null!=a[0]&&o[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var o,r,i={},a=(o=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===r&&(r=o.apply(this,arguments)),r}),s=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var o=function(e,t){return t?t.querySelector(e):document.querySelector(e)}.call(this,e,n);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}t[e]=o}return t[e]}}(),l=null,u=0,c=[],d=n(28);function p(e,t){for(var n=0;n<e.length;n++){var o=e[n],r=i[o.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](o.parts[a]);for(;a<o.parts.length;a++)r.parts.push(y(o.parts[a],t))}else{var s=[];for(a=0;a<o.parts.length;a++)s.push(y(o.parts[a],t));i[o.id]={id:o.id,refs:1,parts:s}}}}function f(e,t){for(var n=[],o={},r=0;r<e.length;r++){var i=e[r],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};o[a]?o[a].parts.push(s):n.push(o[a]={id:a,parts:[s]})}return n}function h(e,t){var n=s(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=c[c.length-1];if("top"===e.insertAt)o?o.nextSibling?n.insertBefore(t,o.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),c.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=s(e.insertAt.before,n);n.insertBefore(t,r)}}function m(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=c.indexOf(e);t>=0&&c.splice(t,1)}function g(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var o=function(){0;return n.nc}();o&&(e.attrs.nonce=o)}return v(t,e.attrs),h(e,t),t}function v(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function y(e,t){var n,o,r,i;if(t.transform&&e.css){if(!(i="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=i}if(t.singleton){var a=u++;n=l||(l=g(t)),o=x.bind(null,n,a,!1),r=x.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",v(t,e.attrs),h(e,t),t}(t),o=function(e,t,n){var o=n.css,r=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||i)&&(o=d(o));r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([o],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),r=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=g(t),o=function(e,t){var n=t.css,o=t.media;o&&e.setAttribute("media",o);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),r=function(){m(n)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=f(e,t);return p(n,t),function(e){for(var o=[],r=0;r<n.length;r++){var a=n[r];(s=i[a.id]).refs--,o.push(s)}e&&p(f(e,t),t);for(r=0;r<o.length;r++){var s;if(0===(s=o[r]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var b,_=(b=[],function(e,t){return b[e]=t,b.filter(Boolean).join("\n")});function x(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=_(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,o=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var r,i=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(r=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:o+i.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")})}},function(e,t,n){"use strict";n.r(t);var o=n(0),r=n.n(o),i=n(6),a=n.n(i),s=function(e,t){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function l(e,t){function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var u=function(){return(u=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function c(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}function d(e,t,n,o){var r,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(i<3?r(a):i>3?r(t,n,a):r(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function p(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles)return e[0];for(var n={},o={},r=0,i=e;r<i.length;r++){var a=i[r];if(a)for(var s in a)if(a.hasOwnProperty(s)){if("subComponentStyles"===s&&void 0!==a.subComponentStyles){var l=a.subComponentStyles;for(var u in l)l.hasOwnProperty(u)&&(o.hasOwnProperty(u)?o[u].push(l[u]):o[u]=[l[u]]);continue}var c=n[s],d=a[s];n[s]=void 0===c?d:(Array.isArray(c)?c:[c]).concat(Array.isArray(d)?d:[d])}}if(Object.keys(o).length>0){n.subComponentStyles={};var f=n.subComponentStyles,h=function(e){if(o.hasOwnProperty(e)){var t=o[e];f[e]=function(e){return p.apply(void 0,t.map(function(t){return"function"==typeof t?t(e):t}))}}};for(var u in o)h(u)}return n}var f=!1;var h=void 0;try{h=window}catch(e){}function m(e){return f||void 0===h?void 0:e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:h}var g="__globalSettings__",v="__callbacks__",y=0,b=function(){function e(){}return e.getValue=function(e,t){var n=_();return void 0===n[e]&&(n[e]="function"==typeof t?t():t),n[e]},e.setValue=function(e,t){var n=_(),o=n[v],r=n[e];if(t!==r){n[e]=t;var i={oldValue:r,value:t,key:e};for(var a in o)o.hasOwnProperty(a)&&o[a](i)}return t},e.addChangeListener=function(e){var t=e.__id__,n=x();t||(t=e.__id__=String(y++)),n[t]=e},e.removeChangeListener=function(e){delete x()[e.__id__]},e}();function _(){var e,t=m()||{};return t[g]||(t[g]=((e={})[v]={},e)),t[g]}function x(){return _()[v]}var k={settings:{},scopedSettings:{},inCustomizerContext:!1},C=b.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),w=[],E=function(){function e(){}return e.reset=function(){C.settings={},C.scopedSettings={}},e.applySettings=function(t){C.settings=u({},C.settings,t),e._raiseChange()},e.applyScopedSettings=function(t,n){C.scopedSettings[t]=u({},C.scopedSettings[t],n),e._raiseChange()},e.getSettings=function(e,t,n){void 0===n&&(n=k);for(var o={},r=t&&n.scopedSettings[t]||{},i=t&&C.scopedSettings[t]||{},a=0,s=e;a<s.length;a++){var l=s[a];o[l]=r[l]||n.settings[l]||i[l]||C.settings[l]}return o},e.observe=function(e){w.push(e)},e.unobserve=function(e){w=w.filter(function(t){return t!==e})},e._raiseChange=function(){w.forEach(function(e){return e()})},e}(),S=o.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}}),T=["theme","styles"];function I(e,t,n,r,i){var a=(r=r||{scope:"",fields:void 0}).scope,s=r.fields,d=void 0===s?T:s;return function(r){function i(){var t=null!==r&&r.apply(this,arguments)||this;return t._inCustomizerContext=!1,t._renderContent=function(r){t._inCustomizerContext=!!r.customizations.inCustomizerContext;var i=E.getSettings(d,a,r.customizations),s=i.styles,l=(i.dir,c(i,["styles","dir"])),p=n?n(t.props):void 0;return t._updateStyles(s),o.createElement(e,u({},l,p,t.props,{styles:t._styles}))},t._onSettingsChanged=function(){return t.forceUpdate()},t}return l(i,r),i.prototype.render=function(){return o.createElement(S.Consumer,null,this._renderContent)},i.prototype.componentDidMount=function(){this._inCustomizerContext||E.observe(this._onSettingsChanged)},i.prototype.componentWillUnmount=function(){this._inCustomizerContext||E.unobserve(this._onSettingsChanged)},i.prototype._updateStyles=function(e){var n=this;this._styles&&e===this._styles.__cachedInputs__[1]&&!this.props.styles||(this._styles=function(o){return function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=[],r=0,i=t;r<i.length;r++){var a=i[r];a&&o.push("function"==typeof a?a(e):a)}if(1===o.length)return o[0];if(o.length)return p.apply(void 0,o);return{}}(o,t,e,n.props.styles)},this._styles.__cachedInputs__=[t,e,this.props.styles])},i.displayName="Styled"+(e.displayName||e.name),i}(i?o.PureComponent:o.Component)}function M(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],o=0,r=e;o<r.length;o++){var i=r[o];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(" ")}function P(e,t){return void 0===t&&(t=!0),e&&(t&&function(e){var t,n;return e&&(n=e)&&n._virtual&&(t=e._virtual.parent),t}(e)||e.parentNode&&e.parentNode)}function D(e,t){return e&&e!==document.body?t(e)?e:D(P(e),t):null}var A="data-portal-element";function N(e,t){var n=D(e,function(e){return t===e||e.hasAttribute(A)});return null!==n&&n.hasAttribute(A)}var B,F={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,pauseBreak:19,capslock:20,escape:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,del:46,zero:48,one:49,two:50,three:51,four:52,five:53,six:54,seven:55,eight:56,nine:57,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,leftWindow:91,rightWindow:92,select:93,zero_numpad:96,one_numpad:97,two_numpad:98,three_numpad:99,four_numpad:100,five_numpad:101,six_numpad:102,seven_numpad:103,eight_numpad:104,nine_numpad:105,multiply:106,add:107,subtract:109,decimalPoint:110,divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,numlock:144,scrollLock:145,semicolon:186,equalSign:187,comma:188,dash:189,period:190,forwardSlash:191,graveAccent:192,openBracket:219,backSlash:220,closeBracket:221,singleQuote:222},O={none:0,insertNode:1,appendChild:2},R="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),L={};try{L=window}catch(e){}var H=function(){function e(e){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=u({injectionMode:O.insertNode,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e)}return e.getInstance=function(){if(!(B=L.__stylesheet__)||B._lastStyleElement&&B._lastStyleElement.ownerDocument!==document){var t=L&&L.FabricConfig||{};B=L.__stylesheet__=new e(t.mergeStyles)}return B},e.prototype.setConfig=function(e){this._config=u({},this._config,e)},e.prototype.onReset=function(e){this._onResetCallbacks.push(e)},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},e.prototype.cacheClassName=function(e,t,n,o){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:o}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},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){var n=this._config.injectionMode!==O.none?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),n)switch(this._config.injectionMode){case O.insertNode:var o=n.sheet;try{o.insertRule(e,o.cssRules.length)}catch(e){}break;case O.appendChild:n.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e)},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")+this._rulesToInsert.join("")},e.prototype.reset=function(){this._rules=[],this._rulesToInsert=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach(function(e){return e()})},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),R||window.requestAnimationFrame(function(){e._styleElement=void 0})),this._styleElement},e.prototype._createStyleElement=function(){var e=document.createElement("style");e.setAttribute("data-merge-styles","true");var t=this._config.cspSettings;return t&&t.nonce&&e.setAttribute("nonce",t.nonce),this._lastStyleElement&&this._lastStyleElement.nextElementSibling?document.head.insertBefore(e,this._lastStyleElement.nextElementSibling):document.head.appendChild(e),this._lastStyleElement=e,e},e}(),W="__currentId__",z="id__",U=m()||{};function K(e,t){for(var n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||t[n]!==e[n]))return!1;return!0}function j(e,t){return K(e,t)&&K(t,e)}function V(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return G.apply(this,[null,e].concat(t))}function G(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];t=t||{};for(var r=0,i=n;r<i.length;r++){var a=i[r];if(a)for(var s in a)!a.hasOwnProperty(s)||e&&!e(s)||(t[s]=a[s])}return t}void 0===U[W]&&(U[W]=0);var q=H.getInstance();function Y(e){var t=U[W]++;return(e||z)+t}q&&q.onReset&&q.onReset(function(e){void 0===e&&(e=0);U[W]=e});var Q=["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","role","style","tabIndex","title","translate","spellCheck","name"].concat(["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"]),Z=(Q.concat(["form"]),Q.concat(["height","loop","muted","preload","src","width"]).concat(["poster"]),Q.concat(["start"]),Q.concat(["value"]),Q.concat(["download","href","hrefLang","media","rel","target","type"])),X=Q.concat(["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),J=X.concat(["accept","alt","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),$=X.concat(["cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),ee=(X.concat(["form","multiple","required"]),Q.concat(["selected","value"]),Q.concat(["cellPadding","cellSpacing"]),Q.concat(["rowSpan","scope"]),Q.concat(["colSpan","headers","rowSpan","scope"]),Q.concat(["span"]),Q.concat(["span"]),Q.concat(["acceptCharset","action","encType","encType","method","noValidate","target"]),Q.concat(["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),Q.concat(["alt","crossOrigin","height","src","srcSet","useMap","width"])),te=Q;function ne(e,t,n){return G(function(e){return(!n||n.indexOf(e)<0)&&(0===e.indexOf("data-")||0===e.indexOf("aria-")||t.indexOf(e)>=0)},{},e)}function oe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(function(e){return null!=e}).join(" ").trim();return""===n?void 0:n}var re,ie=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,o=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),o=setTimeout(function(){try{n._timeoutIds&&delete n._timeoutIds[o],e.apply(n._parent)}catch(e){n._onErrorHandler&&n._onErrorHandler(e)}},t),this._timeoutIds[o]=!0),o},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e){var t=this,n=0;if(!this._isDisposed){this._immediateIds||(this._immediateIds={});n=window.setTimeout(function(){try{t._immediateIds&&delete t._immediateIds[n],e.apply(t._parent)}catch(e){t._logError(e)}},0),this._immediateIds[n]=!0}return n},e.prototype.clearImmediate=function(e){this._immediateIds&&this._immediateIds[e]&&(window.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var n=this,o=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),o=setInterval(function(){try{e.apply(n._parent)}catch(e){n._logError(e)}},t),this._intervalIds[o]=!0),o},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,n){var o=this;if(this._isDisposed)return this._noop;var r,i,a=t||0,s=!0,l=!0,u=0,c=null;n&&"boolean"==typeof n.leading&&(s=n.leading),n&&"boolean"==typeof n.trailing&&(l=n.trailing);var d=function(t){var n=(new Date).getTime(),p=n-u,f=s?a-p:a;return p>=a&&(!t||s)?(u=n,c&&(o.clearTimeout(c),c=null),r=e.apply(o._parent,i)):null===c&&l&&(c=o.setTimeout(d,f)),r};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 o=this;if(this._isDisposed){var r=function(){};return r.cancel=function(){},r.flush=function(){return null},r.pending=function(){return!1},r}var i,a,s=t||0,l=!1,u=!0,c=null,d=0,p=(new Date).getTime(),f=null;n&&"boolean"==typeof n.leading&&(l=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){f&&(o.clearTimeout(f),f=null),p=e},m=function(t){h(t),i=e.apply(o._parent,a)},g=function(e){var t=(new Date).getTime(),n=!1;e&&(l&&t-d>=s&&(n=!0),d=t);var r=t-d,a=s-r,h=t-p,v=!1;return null!==c&&(h>=c&&f?v=!0:a=Math.min(a,c-h)),r>=s||v||n?m(t):null!==f&&e||!u||(f=o.setTimeout(g,a)),i},v=function(){return!!f},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((new Date).getTime())},y.flush=function(){return v()&&m((new Date).getTime()),i},y.pending=v,y},e.prototype.requestAnimationFrame=function(e){var t=this,n=0;if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var o=function(){try{t._animationFrameIds&&delete t._animationFrameIds[n],e.apply(t._parent)}catch(e){t._logError(e)}};n=window.requestAnimationFrame?window.requestAnimationFrame(o):window.setTimeout(o,0),this._animationFrameIds[n]=!0}return n},e.prototype.cancelAnimationFrame=function(e){this._animationFrameIds&&this._animationFrameIds[e]&&(window.cancelAnimationFrame?window.cancelAnimationFrame(e):window.clearTimeout(e),delete this._animationFrameIds[e])},e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},e}(),ae=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,n,o,r){var i;if(e._isElement(t)){if("undefined"!=typeof document&&document.createEvent){var a=document.createEvent("HTMLEvents");a.initEvent(n,r||!1,!0),V(a,o),i=t.dispatchEvent(a)}else if("undefined"!=typeof document&&document.createEventObject){var s=document.createEventObject(o);t.fireEvent("on"+n,s)}}else for(;t&&!1!==i;){var l=t.__events__,u=l?l[n]:null;if(u)for(var c in u)if(u.hasOwnProperty(c))for(var d=u[c],p=0;!1!==i&&p<d.length;p++){var f=d[p];f.objectCallback&&(i=f.objectCallback.call(f.parent,o))}t=r?t.parent:null}return i},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 o in t)t.hasOwnProperty(o)&&this.on(e,o,t[o],n)},e.prototype.on=function(t,n,o,r){var i=this;if(n.indexOf(",")>-1)for(var a=n.split(/[ ,]+/),s=0;s<a.length;s++)this.on(t,a[s],o,r);else{var l=this._parent,u={target:t,eventName:n,parent:l,callback:o,options:r};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=o.apply(l,e))&&e[0]){var r=e[0];r.preventDefault&&r.preventDefault(),r.stopPropagation&&r.stopPropagation(),r.cancelBubble=!0}}catch(r){}return n}};u.elementCallback=c,t.addEventListener?t.addEventListener(n,c,r):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 o.apply(l,e)}}this._eventRecords.push(u)}},e.prototype.off=function(e,t,n,o){for(var r=0;r<this._eventRecords.length;r++){var i=this._eventRecords[r];if(!(e&&e!==i.target||t&&t!==i.eventName||n&&n!==i.callback||"boolean"==typeof o&&o!==i.options)){var a=i.target.__events__,s=a[i.eventName],l=s?s[this._id]:null;l&&(1!==l.length&&n?(s.count--,l.splice(l.indexOf(i),1)):(s.count-=l.length,delete a[i.eventName][this._id]),s.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(r--,1)}}},e.prototype.raise=function(t,n,o){return e.raise(this._parent,t,n,o)},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}();function se(e){console&&console.warn&&console.warn(e)}var le=((re={})[F.up]=1,re[F.down]=1,re[F.left]=1,re[F.right]=1,re[F.home]=1,re[F.end]=1,re[F.tab]=1,re[F.pageUp]=1,re[F.pageDown]=1,re);function ue(e){return!!le[e]}var ce="ms-Fabric--isFocusVisible";function de(e){var t=m(e.target);if(t){var n=t.document.body.classList;n.contains(ce)&&n.remove(ce)}}function pe(e){var t=m(e.target);if(t){var n=t.document.body.classList;ue(e.which)&&!n.contains(ce)&&n.add(ce)}}var fe,he=function(e){function t(n,o){var r=e.call(this,n,o)||this;return function(e){var t=e||m();t&&!t.__hasInitializeFocusRects__&&(t.__hasInitializeFocusRects__=!0,t.addEventListener("mousedown",de,!0),t.addEventListener("keydown",pe,!0))}(),function(e){var t=e||m();if(t&&!t.__hasInitializedDir__){t.__hasInitializedDir__=!0;var n=t.document.documentElement;n.hasAttribute("dir")||n.setAttribute("dir","ltr")}}(),function(e,t,n){for(var o=0,r=n.length;o<r;o++)me(e,t,n[o])}(r,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),r}return l(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:!0,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new ie(this),this._disposables.push(this.__async)),this.__async},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new ae(this),this._disposables.push(this.__events)),this.__events},enumerable:!0,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))},t}(o.Component);function me(e,t,n){var o=e[n],r=t[n];(o||r)&&(e[n]=function(){var e;return r&&(e=r.apply(this,arguments)),o!==r&&(e=o.apply(this,arguments)),e})}function ge(){return null}function ve(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],o=[],r=H.getInstance();return function e(t){for(var i=0,a=t;i<a.length;i++){var s=a[i];if(s)if("string"==typeof s)if(s.indexOf(" ")>=0)e(s.split(" "));else{var l=r.argsFromClassName(s);l?e(l):-1===n.indexOf(s)&&n.push(s)}else Array.isArray(s)?e(s):"object"==typeof s&&o.push(s)}}(e),{classes:n,objects:o}}!function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(fe||(fe={}));var ye,be={MozOsxFontSmoothing:"-moz-osx-font-smoothing",MsHighContrastAdjust:"-ms-high-contrast-adjust",WebkitFontSmoothing:"-webkit-font-smoothing",WebkitOverflowScrolling:"-webkit-overflow-scrolling",WebkitTapHighlightColor:"-webkit-tap-highlight-color",alignContent:"align-content",alignItems:"align-items",alignSelf:"align-self",animation:"animation",animationDelay:"animation-delay",animationDirection:"animation-direction",animationDuration:"animation-duration",animationFillMode:"animation-fill-mode",animationIterationCount:"animation-iteration-count",animationName:"animation-name",animationTimingFunction:"animation-timing-function",background:"background",backgroundClip:"background-clip",backgroundColor:"background-color",backgroundImage:"background-image",backgroundPosition:"background-position",border:"border",borderBottom:"border-bottom",borderBottomColor:"border-bottom-color",borderBottomStyle:"border-bottom-style",borderBottomWidth:"border-bottom-width",borderCollapse:"border-collapse",borderColor:"border-color",borderLeft:"border-left",borderRadius:"border-radius",borderRight:"border-right",borderStyle:"border-style",borderTop:"border-top",borderTopColor:"border-top-color",borderTopLeftRadius:"border-top-left-radius",borderTopRightRadius:"border-top-right-radius",borderTopStyle:"border-top-style",borderTopWidth:"border-top-width",borderWidth:"border-width",bordercolor:"bordercolor",bottom:"bottom",boxShadow:"box-shadow",boxSizing:"box-sizing",clear:"clear",color:"color",content:"content",cursor:"cursor",display:"display",fill:"fill",flex:"flex",flexBasis:"flex-basis",flexDirection:"flex-direction",flexGrow:"flex-grow",flexShrink:"flex-shrink",flexWrap:"flex-wrap",float:"float",font:"font",fontFamily:"font-family",fontSize:"font-size",fontStyle:"font-style",fontWeight:"font-weight",height:"height",justifyContent:"justify-content",left:"left",lineHeight:"line-height",listStyle:"list-style",listStyleType:"list-style-type",marginBottom:"margin-bottom",marginLeft:"margin-left",marginRight:"margin-right",marginTop:"margin-top",maxHeight:"max-height",maxWidth:"max-width",minHeight:"min-height",minWidth:"min-width",mozOsxFontSmoothing:"moz-osx-font-smoothing",objectFit:"object-fit",opacity:"opacity",order:"order",outline:"outline",outlineColor:"outline-color",outlineOffset:"outline-offset",overflow:"overflow",overflowWrap:"overflow-wrap",overflowX:"overflow-x",overflowY:"overflow-y",paddingBottom:"padding-bottom",paddingLeft:"padding-left",paddingRight:"padding-right",paddingTop:"padding-top",perspective:"perspective",pointerEvents:"pointer-events",position:"position",resize:"resize",right:"right",speak:"speak",src:"src",tableLayout:"table-layout",textAlign:"text-align",textDecoration:"text-decoration",textOverflow:"text-overflow",textTransform:"text-transform",top:"top",transform:"transform",transformOrigin:"transform-origin",transition:"transition",transitionDelay:"transition-delay",transitionDuration:"transition-duration",transitionProperty:"transition-property",transitionTimingFunction:"transition-timing-function",userSelect:"user-select",verticalAlign:"vertical-align",visibility:"visibility",webkitFontSmoothing:"webkit-font-smoothing",whiteSpace:"white-space",width:"width",wordBreak:"word-break",wordWrap:"word-wrap",zIndex:"z-index"};var _e={"user-select":1};function xe(e,t){var n=function(){if(!ye){var e="undefined"!=typeof document?document:void 0,t="undefined"!=typeof navigator?navigator:void 0,n=t?t.userAgent.toLowerCase():void 0;ye=e?{isWebkit:!!(e&&"WebkitAppearance"in e.documentElement.style),isMoz:!!(n&&n.indexOf("firefox")>-1),isOpera:!!(n&&n.indexOf("opera")>-1),isMs:!(!t||!/rv:11.0/i.test(t.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return ye}(),o=e[t];if(_e[o]){var r=e[t+1];_e[o]&&(n.isWebkit&&e.push("-webkit-"+o,r),n.isMoz&&e.push("-moz-"+o,r),n.isMs&&e.push("-ms-"+o,r),n.isOpera&&e.push("-o-"+o,r))}}var ke,Ce=["column-count","font-weight","flex-basis","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function we(e,t){var n=e[t],o=e[t+1];if("number"==typeof o){var r=-1===Ce.indexOf(n)?"px":"";e[t+1]=""+o+r}}var Ee="left",Se="right",Te="@noflip",Ie=((ke={})[Ee]=Se,ke[Se]=Ee,ke),Me={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"},Pe=Ae();function De(e){Pe!==e&&(H.getInstance().resetKeys(),Pe=e)}function Ae(){return void 0===Pe&&(Pe="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),Pe}function Ne(e,t){if(Ae()){var n=e[t];if(!n)return;var o=e[t+1];if("string"==typeof o&&o.indexOf(Te)>=0)e[t+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(n.indexOf(Ee)>=0)e[t]=n.replace(Ee,Se);else if(n.indexOf(Se)>=0)e[t]=n.replace(Se,Ee);else if(String(o).indexOf(Ee)>=0)e[t+1]=o.replace(Ee,Se);else if(String(o).indexOf(Se)>=0)e[t+1]=o.replace(Se,Ee);else if(Ie[n])e[t]=Ie[n];else if(Me[o])e[t+1]=Me[o];else switch(n){case"margin":case"padding":e[t+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e}(o);break;case"box-shadow":e[t+1]=function(e,t){var n=e.split(" "),o=parseInt(n[t],10);return n[0]=n[0].replace(String(o),String(-1*o)),n.join(" ")}(o,0)}}}var Be="displayName";var Fe=/\:global\((.+?)\)/g;function Oe(e){if(!Fe.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,o=null;o=n.exec(e);)o[1].indexOf(",")>-1&&t.push([o.index,o.index+o[0].length,o[1].split(",").map(function(e){return":global("+e.trim()+")"}).join(", ")]);return t.reverse().reduce(function(e,t){var n=t[0],o=t[1],r=t[2];return e.slice(0,n)+r+e.slice(o)},e)}function Re(e,t){return e.indexOf(":global(")>=0?e.replace(Fe,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function Le(e,t,n){var o="string"==typeof n?n.split(" "):[n];e[t+"Top"]=o[0],e[t+"Right"]=o[1]||o[0],e[t+"Bottom"]=o[2]||o[0],e[t+"Left"]=o[3]||o[1]||o[0]}function He(e){if(!e)return"";var t,n,o,r=[];for(var i in e)e.hasOwnProperty(i)&&i!==Be&&void 0!==e[i]&&r.push(i,e[i]);for(var a=0;a<r.length;a+=2)o=void 0,o=(t=r)[n=a],t[n]=be[o]=be[o]||o.replace(/([A-Z])/g,"-$1").toLowerCase(),we(r,a),Ne(r,a),xe(r,a);for(a=1;a<r.length;a+=4)r.splice(a,1,":",r[a],";");return r.join("")}function We(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=function e(t,n,o){void 0===n&&(n={__order:[]}),void 0===o&&(o="&");var r=H.getInstance(),i=n[o];i||(i={},n[o]=i,n.__order.push(o));for(var a=0,s=t;a<s.length;a++){var l=s[a];if("string"==typeof l){var u=r.argsFromClassName(l);u&&e(u,n,o)}else if(Array.isArray(l))e(l,n,o);else for(var c in l)if("selectors"===c){var d=l.selectors;for(var p in d)if(d.hasOwnProperty(p)){var f=d[p];0===p.indexOf("@")?e([f],n,p=p+"{"+o):p.indexOf(",")>-1?e([f],n,Oe(p).split(/,/g).map(function(e){return e.trim()}).map(function(e){return Re(e,o)}).join(", ")):e([f],n,Re(p,o))}}else void 0!==l[c]&&("margin"===c||"padding"===c?Le(i,c,l[c]):i[c]=l[c])}return n}(e),o=function(e){for(var t=[],n=!1,o=0,r=e.__order;o<r.length;o++){var i=r[o];t.push(i);var a=e[i];for(var s in a)a.hasOwnProperty(s)&&void 0!==a[s]&&(n=!0,t.push(s,a[s]))}return n?t.join(""):void 0}(n);if(o){var r=H.getInstance(),i={className:r.classNameFromKey(o),key:o,args:e};if(!i.className){i.className=r.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(n));for(var a=[],s=0,l=n.__order;s<l.length;s++){var u=l[s];a.push(u,He(n[u]))}i.rulesToInsert=a}return i}}function ze(e,t){var n=H.getInstance(),o=e.className,r=e.key,i=e.args,a=e.rulesToInsert;if(a){for(var s=0;s<a.length;s+=2){var l=a[s+1];if(l){var u=a[s],c=(u=u.replace(/(&)|\$([\w-]+)\b/g,function(n,o,r){return o?"."+e.className:r?"."+(t&&t[r]||r):""}))+"{"+l+"}"+(0===u.indexOf("@")?"}":"");n.insertRule(c)}}n.cacheClassName(o,r,i,a)}}function Ue(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n={subComponentStyles:{}},o={};if(!e[0]&&e.length<=1)return{subComponentStyles:{}};var r=p.apply(void 0,e),i=[];for(var a in r)if(r.hasOwnProperty(a)){if("subComponentStyles"===a){n.subComponentStyles=r.subComponentStyles||{};continue}var s=ve(r[a]),l=s.classes,u=We({displayName:a},s.objects);i.push(u),u&&(o[a]=u.className,n[a]=l.concat([u.className]).join(" "))}for(var c=0,d=i;c<d.length;c++){(u=d[c])&&ze(u,o)}return n}var Ke=50,je=0,Ve=H.getInstance();Ve&&Ve.onReset&&Ve.onReset(function(){return je++});var Ge,qe,Ye,Qe="__retval__";function Ze(e){void 0===e&&(e={});var t=new Map,n=0,o=je;return function(r,i){void 0===i&&(i={});var a=t,s=e.disableCaching;return o!==je&&(o=je,t=new Map,n=0),e.disableCaching||(a=Je(t,r),a=Je(a,i)),!s&&a[Qe]||(a[Qe]=void 0===r?{}:Ue("function"==typeof r?r(i):r),s||n++),n>Ke&&(t.clear(),n=0,e.disableCaching=!0),a[Qe]}}function Xe(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 Je(e,t){if("function"==typeof t&&t.__cachedInputs__)for(var n=0,o=t.__cachedInputs__;n<o.length;n++){e=Xe(e,o[n])}else if("object"==typeof t)for(var r in t)t.hasOwnProperty(r)&&(e=Xe(e,t[r]));return e}!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"}(Ge||(Ge={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(qe||(qe={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(Ye||(Ye={}));var $e=Ze(),et=function(e){function t(t){var n=e.call(this,t)||this;return n._coverStyle=qe.portrait,n._imageElement=o.createRef(),n._frameElement=o.createRef(),n._onImageLoaded=function(e){var t=n.props,o=t.src,r=t.onLoad;r&&r(e),n._computeCoverStyle(n.props),o&&n.setState({loadState:Ye.loaded})},n._onImageError=function(e){n.props.onError&&n.props.onError(e),n.setState({loadState:Ye.error})},n.state={loadState:Ye.notLoaded},n}return l(t,e),t.prototype.componentWillReceiveProps=function(e){e.src!==this.props.src?this.setState({loadState:Ye.notLoaded}):this.state.loadState===Ye.loaded&&this._computeCoverStyle(e)},t.prototype.componentDidUpdate=function(e,t){this._checkImageLoaded(),this.props.onLoadingStateChange&&t.loadState!==this.state.loadState&&this.props.onLoadingStateChange(this.state.loadState)},t.prototype.render=function(){var e=ne(this.props,ee,["width","height"]),t=this.props,n=t.src,r=t.alt,i=t.width,a=t.height,s=t.shouldFadeIn,l=t.shouldStartVisible,c=t.className,d=t.imageFit,p=t.role,f=t.maximizeFrame,h=t.styles,m=t.theme,g=this.state.loadState,v=void 0!==this.props.coverStyle?this.props.coverStyle:this._coverStyle,y=$e(h,{theme:m,className:c,width:i,height:a,maximizeFrame:f,shouldFadeIn:s,shouldStartVisible:l,isLoaded:g===Ye.loaded||g===Ye.notLoaded&&this.props.shouldStartVisible,isLandscape:v===qe.landscape,isCenter:d===Ge.center,isCenterContain:d===Ge.centerContain,isCenterCover:d===Ge.centerCover,isContain:d===Ge.contain,isCover:d===Ge.cover,isNone:d===Ge.none,isError:g===Ye.error,isNotImageFit:void 0===d});return o.createElement("div",{className:y.root,style:{width:i,height:a},ref:this._frameElement},o.createElement("img",u({},e,{onLoad:this._onImageLoaded,onError:this._onImageError,key:"fabricImage"+this.props.src||"",className:y.image,ref:this._imageElement,src:n,alt:r,role:p})))},t.prototype._checkImageLoaded=function(){var e=this.props.src;this.state.loadState===Ye.notLoaded&&(!!this._imageElement.current&&(e&&this._imageElement.current.naturalWidth>0&&this._imageElement.current.naturalHeight>0||this._imageElement.current.complete&&t._svgRegex.test(e))&&(this._computeCoverStyle(this.props),this.setState({loadState:Ye.loaded})))},t.prototype._computeCoverStyle=function(e){var t=e.imageFit,n=e.width,o=e.height;if((t===Ge.cover||t===Ge.contain||t===Ge.centerContain||t===Ge.centerCover)&&void 0===this.props.coverStyle&&this._imageElement.current&&this._frameElement.current){var r=void 0;r=n&&o&&t!==Ge.centerContain&&t!==Ge.centerCover?n/o:this._frameElement.current.clientWidth/this._frameElement.current.clientHeight;var i=this._imageElement.current.naturalWidth/this._imageElement.current.naturalHeight;this._coverStyle=i>r?qe.landscape:qe.portrait}},t.defaultProps={shouldFadeIn:!0},t._svgRegex=/\.svg$/i,t}(o.Component);function tt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=ve(e),o=n.classes,r=n.objects;return r.length&&o.push(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=We.apply(void 0,e);return n?(ze(n),n.className):""}(r)),o.join(" ")}function nt(e){var t=H.getInstance(),n=t.getClassName(),o=[];for(var r in e)e.hasOwnProperty(r)&&o.push(r,"{",He(e[r]),"}");var i=o.join("");return t.insertRule("@keyframes "+n+"{"+i+"}",!0),t.cacheClassName(n,i,[],["keyframes",i]),n}var ot=n(45);function rt(e){var t={},n=function(n){var o;e.hasOwnProperty(n)&&Object.defineProperty(t,n,{get:function(){return void 0===o&&(o=tt(e[n]).toString()),o},enumerable:!0,configurable:!0})};for(var o in e)n(o);return t}function it(e){H.getInstance().insertRule("@font-face{"+He(e)+"}",!0)}Object(ot.a)("@uifabric/merge-styles","6.17.4");var at=b.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),st=H.getInstance();st&&st.onReset&&st.onReset(function(){for(var e in at)at.hasOwnProperty(e)&&at[e].subset&&(at[e].subset.className=void 0)});var lt=function(e){return e.toLowerCase()};function ut(e,t){var n=u({},e,{isRegistered:!1,className:void 0}),o=e.icons;for(var r in t=t?u({},at.__options,t):at.__options,o)if(o.hasOwnProperty(r)){var i=o[r],a=lt(r);at[a]?ht(r):at[a]={code:i,subset:n}}}function ct(e,t){at.__remapped[lt(e)]=lt(t)}function dt(e){var t=void 0,n=at.__options;if(e=e?lt(e):"",e=at.__remapped[e]||e)if(t=at[e]){var o=t.subset;o&&o.fontFace&&(o.isRegistered||(it(o.fontFace),o.isRegistered=!0),o.className||(o.className=tt(o.style,{fontFamily:o.fontFace.fontFamily,fontWeight:o.fontFace.fontWeight||"normal",fontStyle:o.fontFace.fontStyle||"normal"})))}else!n.disableWarnings&&n.warnOnMissingIcons&&se('The icon "'+e+'" was used but not registered. See http://aka.ms/fabric-icon-usage for more information.');return t}var pt=[],ft=void 0;function ht(e){var t=at.__options;t.disableWarnings||(pt.push(e),void 0===ft&&(ft=setTimeout(function(){se("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"+pt.slice(0,10).join(", ")+(pt.length>10?" (+ "+(pt.length-10)+" more)":"")),ft=void 0,pt=[]},2e3)))}var mt="cubic-bezier(.1,.9,.2,1)",gt="cubic-bezier(.1,.25,.75,.9)",vt=nt({from:{opacity:0},to:{opacity:1}}),yt=nt({from:{opacity:1},to:{opacity:0}}),bt=Jt(-10),_t=Jt(-20),xt=Jt(-40),kt=Jt(-400),Ct=Jt(10),wt=Jt(20),Et=Jt(40),St=Jt(400),Tt=$t(10),It=$t(20),Mt=$t(-10),Pt=$t(-20),Dt=en(10),At=en(20),Nt=en(40),Bt=en(400),Ft=en(-10),Ot=en(-20),Rt=en(-40),Lt=en(-400),Ht=tn(-10),Wt=tn(-20),zt=tn(10),Ut=tn(20),Kt=nt({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),jt=nt({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),Vt=nt({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),Gt=nt({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),qt=nt({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),Yt=nt({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),Qt="0.267s",Zt={slideRightIn10:Xt(vt+","+bt,"0.367s",mt),slideRightIn20:Xt(vt+","+_t,"0.367s",mt),slideRightIn40:Xt(vt+","+xt,"0.367s",mt),slideRightIn400:Xt(vt+","+kt,"0.367s",mt),slideLeftIn10:Xt(vt+","+Ct,"0.367s",mt),slideLeftIn20:Xt(vt+","+wt,"0.367s",mt),slideLeftIn40:Xt(vt+","+Et,"0.367s",mt),slideLeftIn400:Xt(vt+","+St,"0.367s",mt),slideUpIn10:Xt(vt+","+Tt,"0.367s",mt),slideUpIn20:Xt(vt+","+It,"0.367s",mt),slideDownIn10:Xt(vt+","+Mt,"0.367s",mt),slideDownIn20:Xt(vt+","+Pt,"0.367s",mt),slideRightOut10:Xt(yt+","+Dt,"0.367s",mt),slideRightOut20:Xt(yt+","+At,"0.367s",mt),slideRightOut40:Xt(yt+","+Nt,"0.367s",mt),slideRightOut400:Xt(yt+","+Bt,"0.367s",mt),slideLeftOut10:Xt(yt+","+Ft,"0.367s",mt),slideLeftOut20:Xt(yt+","+Ot,"0.367s",mt),slideLeftOut40:Xt(yt+","+Rt,"0.367s",mt),slideLeftOut400:Xt(yt+","+Lt,"0.367s",mt),slideUpOut10:Xt(yt+","+Ht,"0.367s",mt),slideUpOut20:Xt(yt+","+Wt,"0.367s",mt),slideDownOut10:Xt(yt+","+zt,"0.367s",mt),slideDownOut20:Xt(yt+","+Ut,"0.367s",mt),scaleUpIn100:Xt(vt+","+Kt,"0.367s",mt),scaleDownIn100:Xt(vt+","+Vt,"0.367s",mt),scaleUpOut103:Xt(yt+","+Gt,"0.167s",gt),scaleDownOut98:Xt(yt+","+jt,"0.167s",gt),fadeIn100:Xt(vt,"0.167s",gt),fadeIn200:Xt(vt,"0.267s",gt),fadeIn400:Xt(vt,"0.367s",gt),fadeIn500:Xt(vt,"0.467s",gt),fadeOut100:Xt(yt,"0.167s",gt),fadeOut200:Xt(yt,"0.267s",gt),fadeOut400:Xt(yt,"0.367s",gt),fadeOut500:Xt(yt,"0.467s",gt),rotate90deg:Xt(qt,"0.1s",gt),rotateN90deg:Xt(Yt,"0.1s",gt)};function Xt(e,t,n){return{animationName:e,animationDuration:t,animationTimingFunction:n,animationFillMode:"both"}}function Jt(e){return nt({from:{transform:"translate3d("+e+"px,0,0)"},to:{transform:"translate3d(0,0,0)"}})}function $t(e){return nt({from:{transform:"translate3d(0,"+e+"px,0)"},to:{transform:"translate3d(0,0,0)"}})}function en(e){return nt({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d("+e+"px,0,0)"}})}function tn(e){return nt({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,"+e+"px,0)"}})}var nn,on,rn={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"},an="'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif";!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"}(nn||(nn={})),function(e){e.Arabic="'"+nn.Arabic+"'",e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'"+nn.Cyrillic+"'",e.EastEuropean="'"+nn.EastEuropean+"'",e.Greek="'"+nn.Greek+"'",e.Hebrew="'"+nn.Hebrew+"'",e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'"+nn.Selawik+"'",e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'"+nn.Vietnamese+"'",e.WestEuropean="'"+nn.WestEuropean+"'"}(on||(on={}));var sn,ln,un,cn,dn="'Segoe UI', '"+nn.WestEuropean+"'",pn={ar:on.Arabic,bg:on.Cyrillic,cs:on.EastEuropean,el:on.Greek,et:on.EastEuropean,he:on.Hebrew,hi:on.Hindi,hr:on.EastEuropean,hu:on.EastEuropean,ja:on.Japanese,kk:on.EastEuropean,ko:on.Korean,lt:on.EastEuropean,lv:on.EastEuropean,pl:on.EastEuropean,ru:on.Cyrillic,sk:on.EastEuropean,"sr-latn":on.EastEuropean,th:on.Thai,tr:on.EastEuropean,uk:on.Cyrillic,vi:on.Vietnamese,"zh-hans":on.ChineseSimplified,"zh-hant":on.ChineseTraditional};function fn(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}function hn(e){return f||"undefined"==typeof document?void 0:e&&e.ownerDocument?e.ownerDocument:document}!function(e){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"}(sn||(sn={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(ln||(ln={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(un||(un={}));var mn,gn,vn,yn,bn="https://static2.sharepointonline.com/files/fabric/assets",_n=(mn=function(){if(void 0===cn){var e=hn(),t=function(e){var t=null;try{var n=m();t=n?n.localStorage.getItem(e):null}catch(e){}return t}("language");null!==t&&(cn=t),void 0===cn&&e&&(cn=e.documentElement.getAttribute("lang")),void 0===cn&&(cn="en")}return cn}(),gn=function(e){for(var t in pn)if(pn.hasOwnProperty(t)&&e&&0===t.indexOf(e))return pn[t];return dn}(mn)+", "+an,{tiny:fn(sn.mini,ln.regular,gn),xSmall:fn(sn.xSmall,ln.regular,gn),small:fn(sn.small,ln.regular,gn),smallPlus:fn(sn.smallPlus,ln.regular,gn),medium:fn(sn.medium,ln.regular,gn),mediumPlus:fn(sn.mediumPlus,ln.regular,gn),large:fn(sn.large,ln.regular,gn),xLarge:fn(sn.xLarge,ln.semibold,gn),xLargePlus:fn(sn.xLargePlus,ln.semibold,gn),xxLarge:fn(sn.xxLarge,ln.semibold,gn),xxLargePlus:fn(sn.xxLargePlus,ln.semibold,gn),superLarge:fn(sn.superLarge,ln.semibold,gn),mega:fn(sn.mega,ln.semibold,gn)});function xn(e,t,n,o){it({fontFamily:e="'"+e+"'",src:(void 0!==o?"local('"+o+"'),":"")+"url('"+t+".woff2') format('woff2'),url('"+t+".woff') format('woff')",fontWeight:n,fontStyle:"normal",fontDisplay:"swap"})}function kn(e,t,n,o,r){void 0===o&&(o="segoeui");var i=e+"/"+n+"/"+o;xn(t,i+"-light",ln.light,r&&r+" Light"),xn(t,i+"-semilight",ln.semilight,r&&r+" SemiLight"),xn(t,i+"-regular",ln.regular,r),xn(t,i+"-semibold",ln.semibold,r&&r+" SemiBold")}!function(e){if(e){var t=e+"/fonts";kn(t,nn.Thai,"leelawadeeui-thai","leelawadeeui"),kn(t,nn.Arabic,"segoeui-arabic"),kn(t,nn.Cyrillic,"segoeui-cyrillic"),kn(t,nn.EastEuropean,"segoeui-easteuropean"),kn(t,nn.Greek,"segoeui-greek"),kn(t,nn.Hebrew,"segoeui-hebrew"),kn(t,nn.Vietnamese,"segoeui-vietnamese"),kn(t,nn.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),kn(t,on.Selawik,"selawik","selawik"),xn("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-semilight",ln.light),xn("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-bold",ln.semibold)}}((vn=m(),yn=vn?vn.FabricConfig:void 0,yn&&void 0!==yn.fontBaseUrl?yn.fontBaseUrl:bn));var Cn,wn="@media screen and (-ms-high-contrast: active)";function En(e,t){return"@media only screen and (min-width: "+e+"px) and (max-width: "+t+"px)"}function Sn(e,t,n,o,r,i,a){return Tn(e,"number"!=typeof t&&t?t:{inset:t,position:n,highContrastStyle:o,borderColor:r,outlineColor:i,isFocusedOnly:a})}function Tn(e,t){var n,o;void 0===t&&(t={});var r=t.inset,i=void 0===r?0:r,a=t.width,s=void 0===a?1:a,l=t.position,u=void 0===l?"relative":l,c=t.highContrastStyle,d=t.borderColor,p=void 0===d?e.palette.white:d,f=t.outlineColor,h=void 0===f?e.palette.neutralSecondary:f,m=t.isFocusedOnly;return{outline:"transparent",position:u,selectors:(n={"::-moz-focus-inner":{border:"0"}},n["."+ce+" &"+(void 0===m||m?":focus":"")+":after"]={content:'""',position:"absolute",left:i+1,top:i+1,bottom:i+1,right:i+1,border:s+"px solid "+p,outline:s+"px solid "+h,zIndex:Cn.FocusStyle,selectors:(o={},o[wn]=c,o)},n)}}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(Cn||(Cn={}));var In={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden"};var Mn=H.getInstance();Mn&&Mn.onReset&&H.getInstance().onReset(function(){Pn++});var Pn=0,Dn={empty:!0},An={},Nn="undefined"==typeof WeakMap?null:WeakMap;function Bn(e,t){if(void 0===t&&(t=100),!Nn)return e;var n,o=0,r=Pn;return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var s=n;(void 0===n||r!==Pn||t>0&&o>t)&&(n=On(),o=0,r=Pn),s=n;for(var l=0;l<i.length;l++){var u=Fn(i[l]);s.map.has(u)||s.map.set(u,On()),s=s.map.get(u)}return s.hasOwnProperty("value")||(s.value=e.apply(void 0,i),o++),s.value}}function Fn(e){return e?"object"==typeof e||"function"==typeof e?e:(An[e]||(An[e]={val:e}),An[e]):Dn}function On(){return{map:Nn?new Nn:null}}var Rn=Bn(function(e,t){var n=H.getInstance();return t?Object.keys(e).reduce(function(t,o){return t[o]=n.getClassName(e[o]),t},{}):e});function Ln(e,t,n){return Rn(e,void 0!==n?n:t.disableGlobalClassNames)}function Hn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++){Wn(e||{},r[o])}return e}function Wn(e,t,n){for(var o in void 0===n&&(n=[]),n.push(t),t)if(t.hasOwnProperty(o)){var r=t[o];if("object"==typeof r){var i=n.indexOf(r)>-1;e[o]=i?r:Wn(e[o]||{},r,n)}else e[o]=r}return n.pop(),e}var zn,Un={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"},Kn=(n(15),{elevation4:"0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",elevation8:"0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",elevation16:"0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",elevation64:"0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)",roundedCorner2:"2px"}),jn=qn({palette:rn,semanticColors:Yn(rn,!1,!1),fonts:_n,isInverted:!1,disableGlobalClassNames:!1}),Vn="theme";if(!E.getSettings([Vn]).theme){var Gn=m();Gn&&Gn.FabricConfig&&Gn.FabricConfig.theme&&(jn=qn(Gn.FabricConfig.theme)),E.applySettings(((zn={})[Vn]=jn,zn))}function qn(e,t){void 0===t&&(t=!1);var n=u({},rn,e.palette);e.palette&&e.palette.accent||(n.accent=n.themePrimary);var o=u({},Yn(n,!!e.isInverted,t),e.semanticColors),r=u({},_n);if(e.defaultFontStyle)for(var i=0,a=Object.keys(r);i<a.length;i++){r[c=a[i]]=Hn({},r[c],e.defaultFontStyle)}if(e.fonts)for(var s=0,l=Object.keys(e.fonts);s<l.length;s++){var c;r[c=l[s]]=Hn({},r[c],e.fonts[c])}return{palette:n,fonts:u({},r),semanticColors:o,isInverted:!!e.isInverted,disableGlobalClassNames:!!e.disableGlobalClassNames,spacing:u({},Un,e.spacing),effects:u({},Kn,e.effects)}}function Yn(e,t,n){return function(e,t){var n="";!0===t&&(n=" /* @deprecated */");return e.listTextColor=e.listText+n,e.menuItemBackgroundChecked+=n,e}({bodyBackground:e.white,bodyStandoutBackground:e.neutralLighterAlt,bodyFrameBackground:e.white,bodyFrameDivider:e.neutralLight,bodyText:e.neutralPrimary,bodyTextChecked:e.black,bodySubtext:e.neutralSecondary,bodyDivider:e.neutralLight,disabledBackground:e.neutralLighter,disabledText:e.neutralTertiary,disabledBodyText:e.neutralTertiary,disabledSubtext:e.neutralQuaternary,disabledBodySubtext:e.neutralTertiaryAlt,focusBorder:e.neutralSecondary,variantBorder:e.neutralLight,variantBorderHovered:e.neutralTertiary,defaultStateBackground:e.neutralLighterAlt,errorText:t?"#ff5f5f":e.redDark,warningText:t?"#ffffff":"#333333",successText:t?"#92c353":"#107C10",errorBackground:t?"rgba(232, 17, 35, .5)":"rgba(245, 135, 145, .2)",blockingBackground:t?"rgba(234, 67, 0, .5)":"rgba(250, 65, 0, .2)",warningBackground:t?"rgba(255, 251, 0, .6)":"rgba(255, 200, 10, .2)",warningHighlight:t?"#fff100":"#ffb900",successBackground:t?"rgba(186, 216, 10, .4)":"rgba(95, 210, 85, .2)",inputBorder:e.neutralSecondaryAlt,inputBorderHovered:e.neutralPrimary,inputBackground:e.white,inputBackgroundChecked:e.themePrimary,inputBackgroundCheckedHovered:e.themeDarkAlt,inputForegroundChecked:e.white,inputFocusBorderAlt:e.themePrimary,smallInputBorder:e.neutralSecondary,inputText:e.neutralPrimary,inputTextHovered:e.neutralDark,inputPlaceholderText:e.neutralSecondary,buttonBackground:e.neutralLighter,buttonBackgroundChecked:e.neutralTertiaryAlt,buttonBackgroundHovered:e.neutralLight,buttonBackgroundCheckedHovered:e.neutralLight,buttonBackgroundPressed:e.neutralLight,buttonBackgroundDisabled:e.neutralLighter,buttonBorder:e.neutralSecondaryAlt,buttonText:e.neutralPrimary,buttonTextHovered:e.neutralDark,buttonTextChecked:e.neutralDark,buttonTextCheckedHovered:e.black,buttonTextPressed:e.neutralDark,buttonTextDisabled:e.neutralTertiary,buttonBorderDisabled:e.neutralLighter,primaryButtonBackground:e.themePrimary,primaryButtonBackgroundHovered:e.themeDarkAlt,primaryButtonBackgroundPressed:e.themeDark,primaryButtonBackgroundDisabled:e.neutralLighter,primaryButtonBorder:"transparent",primaryButtonText:e.white,primaryButtonTextHovered:e.white,primaryButtonTextPressed:e.white,primaryButtonTextDisabled:e.neutralQuaternary,accentButtonBackground:e.accent,accentButtonText:e.white,menuBackground:e.white,menuDivider:e.neutralTertiaryAlt,menuIcon:e.themePrimary,menuHeader:e.themePrimary,menuItemBackgroundHovered:e.neutralLighter,menuItemBackgroundPressed:e.neutralLight,menuItemText:e.neutralPrimary,menuItemTextHovered:e.neutralDark,listBackground:e.white,listText:e.neutralPrimary,listItemBackgroundHovered:e.neutralLighter,listItemBackgroundChecked:e.neutralLight,listItemBackgroundCheckedHovered:e.neutralQuaternaryAlt,listHeaderBackgroundHovered:e.neutralLighter,listHeaderBackgroundPressed:e.neutralLight,actionLink:e.neutralPrimary,actionLinkHovered:e.neutralDark,link:e.themePrimary,linkHovered:e.themeDarker,listTextColor:"",menuItemBackgroundChecked:e.neutralLight},n)}var Qn={boxShadow:"none",margin:0,padding:0,boxSizing:"border-box"};function Zn(e){return{selectors:{"::placeholder":e,":-ms-input-placeholder":e,"::-ms-input-placeholder":e}}}var Xn=rt(Zt),Jn=(rt(_n),{});for(var $n in rn)rn.hasOwnProperty($n)&&(eo(Jn,$n,"",!1,"color"),eo(Jn,$n,"Hover",!0,"color"),eo(Jn,$n,"Background",!1,"background"),eo(Jn,$n,"BackgroundHover",!0,"background"),eo(Jn,$n,"Border",!1,"borderColor"),eo(Jn,$n,"BorderHover",!0,"borderColor"));function eo(e,t,n,o,r){Object.defineProperty(e,t+n,{get:function(){var e,n,i=((e={})[r]=(void 0===n&&(n=!1),!0===n&&(jn=qn({},n)),jn).palette[t],e);return tt(o?{selectors:{":hover":i}}:i).toString()},enumerable:!0,configurable:!0})}Object(ot.a)("@uifabric/styling","6.47.6");var to,no={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"},oo=I(et,function(e){var t=e.className,n=e.width,o=e.height,r=e.maximizeFrame,i=e.isLoaded,a=e.shouldFadeIn,s=e.shouldStartVisible,l=e.isLandscape,u=e.isCenter,c=e.isContain,d=e.isCover,p=e.isCenterContain,f=e.isCenterCover,h=e.isNone,g=e.isError,v=e.isNotImageFit,y=e.theme,b=Ln(no,y),_={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},x=m(),k=void 0!==x&&void 0===x.navigator.msMaxTouchPoints,C=c&&l||d&&!l?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[b.root,y.fonts.medium,{overflow:"hidden"},r&&[b.rootMaximizeFrame,{height:"100%",width:"100%"}],i&&a&&!s&&Xn.fadeIn400,(u||c||d||p||f)&&{position:"relative"},t],image:[b.image,{display:"block",opacity:0},i&&["is-loaded",{opacity:1}],u&&[b.imageCenter,_],c&&[b.imageContain,k&&{width:"100%",height:"100%",objectFit:"contain"},!k&&C,_],d&&[b.imageCover,k&&{width:"100%",height:"100%",objectFit:"cover"},!k&&C,_],p&&[b.imageCenterContain,l&&{maxWidth:"100%"},!l&&{maxHeight:"100%"},_],f&&[b.imageCenterCover,l&&{maxHeight:"100%"},!l&&{maxWidth:"100%"},_],h&&[b.imageNone,{width:"auto",height:"auto"}],v&&[!!n&&!o&&{height:"auto",width:"100%"},!n&&!!o&&{height:"100%",width:"auto"},!!n&&!!o&&{height:"100%",width:"100%"}],l&&b.imageLandscape,!l&&b.imagePortrait,!i&&"is-notLoaded",a&&"is-fadeIn",g&&"is-error"]}},void 0,{scope:"Image"},!0),ro=Ze({disableCaching:!0}),io=I(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===Ye.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return l(t,e),t.prototype.render=function(){var e=this.props,t=e.ariaLabel,n=e.className,r=e.styles,i=e.iconName,a=e.imageErrorAs,s=e.theme,l="string"==typeof i&&0===i.length,c=this.props.iconType===fe.image||this.props.iconType===fe.Image,d=this._getIconContent(i),p=d.iconClassName,f=d.children,h=ro(r,{theme:s,className:n,iconClassName:p,isImage:c,isPlaceholder:l}),m=c?"div":"i",g=ne(this.props,Q),v=this.state.imageLoadError,y=u({},this.props.imageProps,{onLoadingStateChange:this.onImageLoadingStateChange}),b=v&&a||oo,_=t?{"aria-label":t}:{role:"presentation","aria-hidden":!y.alt&&!y["aria-labelledby"]};return o.createElement(m,u({"data-icon-name":i},_,g,{className:h.root}),c?o.createElement(b,u({},y)):f)},t.prototype._getIconContent=function(e){var t=dt(e)||{subset:{className:void 0},code:void 0};return{children:t.code,iconClassName:t.subset.className}},t}(o.Component),function(e){var t=e.className,n=e.iconClassName,o=e.isPlaceholder,r=e.isImage,i=e.styles;return{root:[r&&"ms-Icon-imageContainer",o&&"ms-Icon-placeHolder",{display:"inline-block"},o&&{width:"1em"},r&&{overflow:"hidden"},n,t,i&&i.root,i&&i.imageContainer]}},void 0,{scope:"Icon"},!0),ao={topLeftEdge:0,topCenter:1,topRightEdge:2,topAutoEdge:3,bottomLeftEdge:4,bottomCenter:5,bottomRightEdge:6,bottomAutoEdge:7,leftTopEdge:8,leftCenter:9,leftBottomEdge:10,rightTopEdge:11,rightCenter:12,rightBottomEdge:13};!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(to||(to={}));var so,lo={none:0,all:1,inputOnly:2};function uo(e,t,n){void 0===n&&(n=!0);var o=!1;if(e&&t)if(n)for(o=!1;t;){var r=P(t);if(r===e){o=!0;break}t=r}else e.contains&&(o=e.contains(t));return o}!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional"}(so||(so={}));var co="data-is-focusable",po="data-is-visible",fo="data-focuszone-id",ho="data-is-sub-focuszone";function mo(e,t,n,o,r,i,a,s){if(!t||!a&&t===e)return null;var l=vo(t);if(r&&l&&(i||!bo(t)&&!_o(t))){var u=mo(e,t.lastElementChild,!0,!0,!0,i,a,s);if(u){if(s&&yo(u,!0)||!s)return u;var c=mo(e,u.previousElementSibling,!0,!0,!0,i,a,s);if(c)return c;for(var d=u.parentElement;d&&d!==t;){var p=mo(e,d.previousElementSibling,!0,!0,!0,i,a,s);if(p)return p;d=d.parentElement}}}if(n&&l&&yo(t,s))return t;var f=mo(e,t.previousElementSibling,!0,!0,!0,i,a,s);return f||(o?null:mo(e,t.parentElement,!0,!1,!1,i,a,s))}function go(e,t,n,o,r,i,a,s){if(!t||t===e&&r&&!a)return null;var l=vo(t);if(n&&l&&yo(t,s))return t;if(!r&&l&&(i||!bo(t)&&!_o(t))){var u=go(e,t.firstElementChild,!0,!0,!1,i,a,s);if(u)return u}if(t===e)return null;var c=go(e,t.nextElementSibling,!0,!0,!1,i,a,s);return c||(o?null:go(e,t.parentElement,!1,!1,!0,i,a,s))}function vo(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute(po);return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function yo(e,t){if(!e||e.disabled)return!1;var n=0,o=null;e&&e.getAttribute&&(o=e.getAttribute("tabIndex"))&&(n=parseInt(o,10));var r=e.getAttribute?e.getAttribute(co):null,i=null!==o&&n>=0,a=!!e&&"false"!==r&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"true"===r||i);return t?-1!==n&&a:a}function bo(e){return!!(e&&e.getAttribute&&e.getAttribute(fo))}function _o(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute(ho))}function xo(e,t){return"true"!==function(e,t){var n=D(e,function(e){return e.hasAttribute(t)});return n&&n.getAttribute(t)}(e,t)}var ko=void 0;function Co(e){if(e){if(ko)return void(ko=e);ko=e;var t=m(e);t&&t.requestAnimationFrame(function(){ko&&ko.focus(),ko=void 0})}}var wo,Eo="isRTL";function So(){if(void 0===wo){var e=function(e){var t=null;try{t=window.sessionStorage.getItem(e)}catch(e){}return t}(Eo);null!==e&&function(e,t){void 0===t&&(t=!1);var n=hn();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr");t&&function(e,t){try{window.sessionStorage.setItem(e,t)}catch(e){}}(Eo,e?"1":"0");De(wo=e)}(wo="1"===e);var t=hn();void 0===wo&&t&&De(wo="rtl"===(t.body&&t.body.getAttribute("dir")||t.documentElement.getAttribute("dir")))}return!!wo}function To(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=[],o=0;o<arguments.length;o++)n[o]=arguments[o];t.forEach(function(t){return t&&t.apply(e,n)})}}function Io(e){!function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=To(e,e[n],t[n]))}(e,{componentDidMount:Mo,componentDidUpdate:Po,componentWillUnmount:Do})}function Mo(){Ao(this.props.componentRef,this)}function Po(e){e.componentRef!==this.props.componentRef&&(Ao(e.componentRef,null),Ao(this.props.componentRef,this))}function Do(){Ao(this.props.componentRef,null)}function Ao(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}function No(e,t,n,o){return e.addEventListener(t,n,o),function(){return e.removeEventListener(t,n,o)}}function Bo(e){var t=function(e){var t;"function"==typeof Event?t=new Event(e):(t=document.createEvent("Event")).initEvent(e,!0,!0);return t}("MouseEvents");t.initEvent("click",!0,!0),e.dispatchEvent(t)}var Fo,Oo="data-no-horizontal-wrap",Ro="ms-FocusZone";var Lo,Ho={},Wo=new Set,zo=["text","number","password","email","tel","url","search"],Uo=!1,Ko=function(e){function t(t){var n=e.call(this,t)||this;return n._disposables=[],n._root=o.createRef(),n._onFocus=function(e){if(!n._portalContainsElement(e.target)){var t,o=n.props,r=o.onActiveElementChanged,i=o.doNotAllowFocusEventToPropagate,a=o.onFocusNotification,s=n._isImmediateDescendantOfZone(e.target);if(a&&a(),s)t=e.target;else for(var l=e.target;l&&l!==n._root.current;){if(yo(l)&&n._isImmediateDescendantOfZone(l)){t=l;break}l=P(l,Uo)}var u=!n._activeElement;t&&t!==n._activeElement&&((s||u)&&n._setFocusAlignment(t,u),n._activeElement=t,u&&n._updateTabIndexes()),r&&r(n._activeElement,e),i&&e.stopPropagation()}},n._onBlur=function(){n._setParkedFocus(!1)},n._onKeyDownCapture=function(e){e.which===F.tab&&Wo.forEach(function(e){return e._updateTabIndexes()})},n._onMouseDown=function(e){if(!n._portalContainsElement(e.target)&&!n.props.disabled){for(var t=e.target,o=[];t&&t!==n._root.current;)o.push(t),t=P(t,Uo);for(;o.length&&((t=o.pop())&&yo(t)&&n._setActiveElement(t,!0),!bo(t)););}},n._onKeyDown=function(e){if(!n._portalContainsElement(e.target)){var t=n.props,o=t.direction,r=t.disabled,i=t.isInnerZoneKeystroke;if(!(r||(n.props.onKeyDown&&n.props.onKeyDown(e),e.isDefaultPrevented()||document.activeElement===n._root.current&&n._isInnerZone))){if(i&&i(e)&&n._isImmediateDescendantOfZone(e.target)){var a=n._getFirstInnerZone();if(a){if(!a.focus(!0))return}else{if(!_o(e.target))return;if(!n.focusElement(go(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case F.space:if(n._tryInvokeClickForFocusable(e.target))break;return;case F.left:if(o!==so.vertical&&n._moveFocusLeft())break;return;case F.right:if(o!==so.vertical&&n._moveFocusRight())break;return;case F.up:if(o!==so.horizontal&&n._moveFocusUp())break;return;case F.down:if(o!==so.horizontal&&n._moveFocusDown())break;return;case F.tab:if(n.props.allowTabKey||n.props.handleTabKey===lo.all||n.props.handleTabKey===lo.inputOnly&&n._isElementInput(e.target)){var s=!1;if(n._processingTabKey=!0,o!==so.vertical&&n._shouldWrapFocus(n._activeElement,Oo)){if(o===so.horizontal||o===so.bidirectional){s=(So()?!e.shiftKey:e.shiftKey)?n._moveFocusLeft():n._moveFocusRight()}}else s=e.shiftKey?n._moveFocusUp():n._moveFocusDown();if(n._processingTabKey=!1,s)break}return;case F.home:if(n._isElementInput(e.target)&&!n._shouldInputLoseFocus(e.target,!1))return!1;var l=n._root.current&&n._root.current.firstChild;if(n._root.current&&l&&n.focusElement(go(n._root.current,l,!0)))break;return;case F.end:if(n._isElementInput(e.target)&&!n._shouldInputLoseFocus(e.target,!0))return!1;var u=n._root.current&&n._root.current.lastChild;if(n._root.current&&n.focusElement(mo(n._root.current,u,!0,!0,!0)))break;return;case F.enter:if(n._tryInvokeClickForFocusable(e.target))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},Io(n),n._id=Y("FocusZone"),n._focusAlignment={left:0,top:0},n._processingTabKey=!1,n}return l(t,e),t.getOuterZones=function(){return Wo.size},t.prototype.componentDidMount=function(){var e=this._root.current;if(Ho[this._id]=this,e){for(var t=e.ownerDocument.defaultView,n=P(e,Uo);n&&n!==document.body&&1===n.nodeType;){if(bo(n)){this._isInnerZone=!0;break}n=P(n,Uo)}this._isInnerZone||Wo.add(this),t&&1===Wo.size&&this._disposables.push(No(t,"keydown",this._onKeyDownCapture,!0)),this._disposables.push(No(e,"blur",this._onBlur,!0)),this._updateTabIndexes(),this.props.defaultActiveElement&&(this._activeElement=hn().querySelector(this.props.defaultActiveElement),this.focus())}},t.prototype.componentDidUpdate=function(){var e=this._root.current,t=hn(e);if(t&&this._lastIndexPath&&(t.activeElement===t.body||t.activeElement===e)){var n=function(e,t){for(var n=e,o=0,r=t;o<r.length;o++){var i=r[o],a=n.children[Math.min(i,n.children.length-1)];if(!a)break;n=a}return n=yo(n)&&vo(n)?n:go(e,n,!0)||mo(e,n)}(e,this._lastIndexPath);n?(this._setActiveElement(n,!0),n.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete Ho[this._id],this._isInnerZone||Wo.delete(this),this._disposables.forEach(function(e){return e()})},t.prototype.render=function(){var e=this.props,t=e.rootProps,n=e.ariaDescribedBy,r=e.ariaLabelledBy,i=e.className,a=ne(this.props,Q),s=this.props.as||this.props.elementType||"div";return this._evaluateFocusBeforeRender(),o.createElement(s,u({role:"presentation","aria-labelledby":r,"aria-describedby":n},a,t,{className:M((Fo||(Fo=tt({selectors:{":focus":{outline:"none"}}},Ro)),Fo),i),ref:this._root,"data-focuszone-id":this._id,onKeyDown:this._onKeyDown,onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},t.prototype.focus=function(e){if(void 0===e&&(e=!1),this._root.current){if(!e&&"true"===this._root.current.getAttribute("data-is-focusable")&&this._isInnerZone){var t=this._getOwnerZone(this._root.current);if(t!==this._root.current){var n=Ho[t.getAttribute("data-focuszone-id")];return!!n&&n.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&uo(this._root.current,this._activeElement)&&yo(this._activeElement))return this._activeElement.focus(),!0;var o=this._root.current.firstChild;return this.focusElement(go(this._root.current,o,!0))}return!1},t.prototype.focusElement=function(e){var t=this.props.onBeforeFocus;return!(t&&!t(e))&&(!!e&&(this._setActiveElement(e),this._activeElement&&this._activeElement.focus(),!0))},t.prototype._evaluateFocusBeforeRender=function(){var e=this._root.current,t=hn(e);if(t){var n=t.activeElement;if(n!==e){var o=uo(e,n,!1);this._lastIndexPath=o?function(e,t){for(var n=[];t&&e&&t!==e;){var o=P(t,!0);if(null===o)return[];n.unshift(Array.prototype.indexOf.call(o.children,t)),t=o}return n}(e,t.activeElement):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&&(bo(n)&&this._updateTabIndexes(n),n.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},t.prototype._tryInvokeClickForFocusable=function(e){if(e===this._root.current)return!1;do{if("BUTTON"===e.tagName||"A"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName)return!1;if(this._isImmediateDescendantOfZone(e)&&"true"===e.getAttribute("data-is-focusable")&&"true"!==e.getAttribute("data-disable-click-on-enter"))return Bo(e),!0;e=P(e,Uo)}while(e!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(bo(e))return Ho[e.getAttribute("data-focuszone-id")];for(var t=e.firstElementChild;t;){if(bo(t))return Ho[t.getAttribute("data-focuszone-id")];var n=this._getFirstInnerZone(t);if(n)return n;t=t.nextElementSibling}return null},t.prototype._moveFocus=function(e,t,n,o){void 0===o&&(o=!0);var r=this._activeElement,i=-1,a=void 0,s=!1,l=this.props.direction===so.bidirectional;if(!r||!this._root.current)return!1;if(this._isElementInput(r)&&!this._shouldInputLoseFocus(r,e))return!1;var u=l?r.getBoundingClientRect():null;do{if(r=e?go(this._root.current,r):mo(this._root.current,r),!l){a=r;break}if(r){var c=t(u,r.getBoundingClientRect());if(-1===c&&-1===i){a=r;break}if(c>-1&&(-1===i||c<i)&&(i=c,a=r),i>=0&&c<0)break}}while(r);if(a&&a!==this._activeElement)s=!0,this.focusElement(a);else if(this.props.isCircularNavigation&&o)return e?this.focusElement(go(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(mo(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return s},t.prototype._moveFocusDown=function(){var e=this,t=-1,n=this._focusAlignment.left;return!!this._moveFocus(!0,function(o,r){var i=-1,a=Math.floor(r.top),s=Math.floor(o.bottom);return a<s?e._shouldWrapFocus(e._activeElement,"data-no-vertical-wrap")?999999999:-999999999:((-1===t&&a>=s||a===t)&&(t=a,i=n>=r.left&&n<=r.left+r.width?0:Math.abs(r.left+r.width/2-n)),i)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusUp=function(){var e=this,t=-1,n=this._focusAlignment.left;return!!this._moveFocus(!1,function(o,r){var i=-1,a=Math.floor(r.bottom),s=Math.floor(r.top),l=Math.floor(o.top);return a>l?e._shouldWrapFocus(e._activeElement,"data-no-vertical-wrap")?999999999:-999999999:((-1===t&&a<=l||s===t)&&(t=s,i=n>=r.left&&n<=r.left+r.width?0:Math.abs(r.left+r.width/2-n)),i)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusLeft=function(){var e=this,t=this._shouldWrapFocus(this._activeElement,Oo);return!!this._moveFocus(So(),function(n,o){var r=-1;return(So()?parseFloat(o.top.toFixed(3))<parseFloat(n.bottom.toFixed(3)):parseFloat(o.bottom.toFixed(3))>parseFloat(n.top.toFixed(3)))&&o.right<=n.right&&e.props.direction!==so.vertical?r=n.right-o.right:t||(r=-999999999),r},void 0,t)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(){var e=this,t=this._shouldWrapFocus(this._activeElement,Oo);return!!this._moveFocus(!So(),function(n,o){var r=-1;return(So()?parseFloat(o.bottom.toFixed(3))>parseFloat(n.top.toFixed(3)):parseFloat(o.top.toFixed(3))<parseFloat(n.bottom.toFixed(3)))&&o.left>=n.left&&e.props.direction!==so.vertical?r=o.left-n.left:t||(r=-999999999),r},void 0,t)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===so.bidirectional&&(!this._focusAlignment||t||n)){var o=e.getBoundingClientRect(),r=o.left+o.width/2,i=o.top+o.height/2;this._focusAlignment||(this._focusAlignment={left:r,top:i}),t&&(this._focusAlignment.left=r),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=P(e,Uo);t&&t!==this._root.current&&t!==document.body;){if(bo(t))return t;t=P(t,Uo)}return t},t.prototype._updateTabIndexes=function(e){!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!uo(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!yo(this._activeElement)&&(this._activeElement=null);for(var t=e&&e.children,n=0;t&&n<t.length;n++){var o=t[n];bo(o)?"true"===o.getAttribute("data-is-focusable")&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==o?"-1"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","-1"):(this._defaultFocusElement=o,"0"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","0"))):(o.getAttribute&&"false"===o.getAttribute("data-is-focusable")&&o.setAttribute("tabindex","-1"),yo(o)?this.props.disabled?o.setAttribute("tabindex","-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==o?"-1"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","-1"):(this._defaultFocusElement=o,"0"!==o.getAttribute("tabindex")&&o.setAttribute("tabindex","0")):"svg"===o.tagName&&"false"!==o.getAttribute("focusable")&&o.setAttribute("focusable","false")),this._updateTabIndexes(o)}},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&&zo.indexOf(e.type.toLowerCase())>-1){var n=e.selectionStart,o=n!==e.selectionEnd,r=e.value;if(o||n>0&&!t||n!==r.length&&t||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0},t.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||xo(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&N(e,this._root.current)},t.defaultProps={isCircularNavigation:!1,direction:so.bidirectional},t}(o.Component);function jo(e){if(void 0===Lo||e){var t=m(),n=t&&t.navigator.userAgent;Lo=!!n&&-1!==n.indexOf("Macintosh")}return!!Lo}var Vo=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)};function Go(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function qo(e){return!(!e.subMenuProps&&!e.items)}function Yo(e){return!(!e.isDisabled&&!e.disabled)}var Qo=["setState","render","componentWillMount","UNSAFE_componentWillMount","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","getSnapshotBeforeUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount"];var Zo,Xo=function(e){function t(t){var n=e.call(this,t)||this;return n._skipComponentRefResolution=!0,n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n),n}return l(t,e),t.prototype._updateComposedComponentRef=function(e){var t;this._composedComponentInstance=e,e?this._hoisted=function(e,t,n){void 0===n&&(n=Qo);var o=[],r=function(r){"function"!=typeof t[r]||void 0!==e[r]||n&&-1!==n.indexOf(r)||(o.push(r),e[r]=function(){t[r].apply(t,arguments)})};for(var i in t)r(i);return o}(this,e):this._hoisted&&(t=this,this._hoisted.forEach(function(e){return delete t[e]}))},t}(he);function Jo(e,t){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}!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"}(Zo||(Zo={}));var $o,er,tr,nr=[479,639,1023,1365,1919,99999999];function or(e){var t=function(t){function n(e){var n=t.call(this,e)||this;return n._updateComposedComponentRef=n._updateComposedComponentRef.bind(n),n.state={responsiveMode:n._getResponsiveMode()},n}return l(n,t),n.prototype.componentDidMount=function(){var e=this;this._events.on(window,"resize",function(){var t=e._getResponsiveMode();t!==e.state.responsiveMode&&e.setState({responsiveMode:t})})},n.prototype.componentWillUnmount=function(){this._events.dispose()},n.prototype.render=function(){var t=this.state.responsiveMode;return o.createElement(e,u({ref:this._updateComposedComponentRef,responsiveMode:t},this.props))},n.prototype._getResponsiveMode=function(){var e=Zo.small,t=m();if(void 0!==t)try{for(;t.innerWidth>nr[e];)e++}catch(t){e=Zo.large}else{if(void 0===$o)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.");e=$o}return e},n}(Xo);return Jo(e,t)}!function(e){e[e.top=1]="top",e[e.bottom=-1]="bottom",e[e.left=2]="left",e[e.right=-2]="right"}(er||(er={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(tr||(tr={}));var rr,ir,ar,sr,lr,ur,cr=function(){function e(e,t,n,o){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===o&&(o=0),this.top=n,this.bottom=o,this.left=e,this.right=t}return Object.defineProperty(e.prototype,"width",{get:function(){return this.right-this.left},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!0,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}(),dr=0,pr=tt({overflow:"hidden !important"}),fr="data-is-scrollable",hr=(ir=0,ar=null,sr=function(e){1===e.targetTouches.length&&(ir=e.targetTouches[0].clientY)},lr=function(e){if(1===e.targetTouches.length&&(e.stopPropagation(),ar)){var t=e.targetTouches[0].clientY-ir,n=function(e){for(var t=e;t&&t!==document.body;){if("true"===t.getAttribute(fr))return t;t=t.parentElement}for(t=e;t&&t!==document.body;){if("false"!==t.getAttribute(fr)){var n=getComputedStyle(t),o=n?n.getPropertyValue("overflow-y"):"";if(o&&("scroll"===o||"auto"===o))return t}t=t.parentElement}return t&&t!==document.body||(t=window),t}(e.target);n&&(ar=n),0===ar.scrollTop&&t>0&&e.preventDefault(),ar.scrollHeight-ar.scrollTop<=ar.clientHeight&&t<0&&e.preventDefault()}},function(e,t){e&&(t.on(e,"touchstart",sr,{passive:!1}),t.on(e,"touchmove",lr,{passive:!1}),ar=e)}),mr=function(e){e.preventDefault()};function gr(){if(void 0===rr){var e=document.createElement("div");e.style.setProperty("width","100px"),e.style.setProperty("height","100px"),e.style.setProperty("overflow","scroll"),e.style.setProperty("position","absolute"),e.style.setProperty("top","-9999px"),document.body.appendChild(e),rr=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return rr}var vr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t}(cr);function yr(e,t,n){return{targetEdge:e,alignmentEdge:t,isAuto:n}}var br=((ur={})[ao.topLeftEdge]=yr(er.top,er.left),ur[ao.topCenter]=yr(er.top),ur[ao.topRightEdge]=yr(er.top,er.right),ur[ao.topAutoEdge]=yr(er.top,void 0,!0),ur[ao.bottomLeftEdge]=yr(er.bottom,er.left),ur[ao.bottomCenter]=yr(er.bottom),ur[ao.bottomRightEdge]=yr(er.bottom,er.right),ur[ao.bottomAutoEdge]=yr(er.bottom,void 0,!0),ur[ao.leftTopEdge]=yr(er.left,er.top),ur[ao.leftCenter]=yr(er.left),ur[ao.leftBottomEdge]=yr(er.left,er.bottom),ur[ao.rightTopEdge]=yr(er.right,er.top),ur[ao.rightCenter]=yr(er.right),ur[ao.rightBottomEdge]=yr(er.right,er.bottom),ur);function _r(e,t){return!(e.top<t.top)&&(!(e.bottom>t.bottom)&&(!(e.left<t.left)&&!(e.right>t.right)))}function xr(e,t){var n=new Array;return e.top<t.top&&n.push(er.top),e.bottom>t.bottom&&n.push(er.bottom),e.left<t.left&&n.push(er.left),e.right>t.right&&n.push(er.right),n}function kr(e,t){return e[er[t]]}function Cr(e,t,n){return e[er[t]]=n,e}function wr(e,t){var n=Br(t);return(kr(e,n.positiveEdge)+kr(e,n.negativeEdge))/2}function Er(e,t){return e>0?t:-1*t}function Sr(e,t){return Er(e,kr(t,e))}function Tr(e,t,n){return Er(n,kr(e,n)-kr(t,n))}function Ir(e,t,n){var o=kr(e,t)-n;return e=Cr(e,t,n),e=Cr(e,-1*t,kr(e,-1*t)-o)}function Mr(e,t,n,o){return void 0===o&&(o=0),Ir(e,n,kr(t,n)+Er(n,o))}function Pr(e,t,n){return Sr(n,e)>Sr(n,t)}function Dr(e,t,n,o,r,i,a){void 0===r&&(r=0);var s=o.alignmentEdge,l=o.alignTargetEdge,u={elementRectangle:e,targetEdge:o.targetEdge,alignmentEdge:s};i||a||(u=function(e,t,n,o,r){void 0===r&&(r=0);var i=[er.left,er.right,er.bottom,er.top];So()&&(i[0]*=-1,i[1]*=-1);for(var a=e,s=o.targetEdge,l=o.alignmentEdge,u=0;u<4;u++){if(Pr(a,n,s))return{elementRectangle:a,targetEdge:s,alignmentEdge:l};i.splice(i.indexOf(s),1),i.indexOf(-1*s)>-1?s*=-1:(l=s,s=i.slice(-1)[0]),a=Nr(e,t,{targetEdge:s,alignmentEdge:l},r)}return{elementRectangle:e,targetEdge:o.targetEdge,alignmentEdge:l}}(e,t,n,o,r));var c=xr(e,n);if(l){if(u.alignmentEdge&&c.indexOf(-1*u.alignmentEdge)>-1){var d=function(e,t,n,o){var r=e.alignmentEdge,i=e.targetEdge,a=-1*r;return{elementRectangle:Nr(e.elementRectangle,t,{targetEdge:i,alignmentEdge:a},n,o),targetEdge:i,alignmentEdge:a}}(u,t,r,a);if(_r(d.elementRectangle,n))return d}}else for(var p=0,f=c;p<f.length;p++){var h=f[p];u.elementRectangle=Mr(u.elementRectangle,n,h)}return u}function Ar(e,t,n){var o=Br(t).positiveEdge;return Ir(e,o,n-(wr(e,t)-kr(e,o)))}function Nr(e,t,n,o,r){var i;void 0===o&&(o=0);var a=n.alignmentEdge,s=n.targetEdge,l=r?s:-1*s;(i=r?Mr(e,t,s,o):function(e,t,n,o){void 0===o&&(o=0);var r=Er(-1*n,o);return Ir(e,-1*n,kr(t,n)+r)}(e,t,s,o),a)?i=Mr(i,t,a):i=Ar(i,l,wr(t,s));return i}function Br(e){return e===er.top||e===er.bottom?{positiveEdge:er.left,negativeEdge:er.right}:{positiveEdge:er.top,negativeEdge:er.bottom}}function Fr(e,t,n){return n&&Math.abs(Tr(e,n,t))>Math.abs(Tr(e,n,-1*t))?-1*t:t}function Or(e){return Math.sqrt(e*e*2)}function Rr(e,t,n){if(void 0===e&&(e=ao.bottomAutoEdge),n)return{alignmentEdge:n.alignmentEdge,isAuto:n.isAuto,targetEdge:n.targetEdge};var o=u({},br[e]);return So()?(o.alignmentEdge&&o.alignmentEdge%2==0&&(o.alignmentEdge=-1*o.alignmentEdge),void 0!==t?br[t]:o):o}function Lr(e,t,n){var o=wr(t,e),r=wr(n,e),i=Br(e),a=i.positiveEdge,s=i.negativeEdge;return o<=r?a:s}function Hr(e,t,n,o,r,i,a){var s=Nr(e,t,o,r,a);return _r(s,n)?{elementRectangle:s,targetEdge:o.targetEdge,alignmentEdge:o.alignmentEdge}:Dr(e,t,n,o,r,i,a)}function Wr(e,t,n){var o=-1*e.targetEdge,r=new vr(0,e.elementRectangle.width,0,e.elementRectangle.height),i={},a=Fr(e.elementRectangle,e.alignmentEdge?e.alignmentEdge:Br(o).positiveEdge,n);return i[er[o]]=kr(t,o),i[er[a]]=Tr(t,r,a),{elementPosition:u({},i),closestEdge:Lr(e.targetEdge,t,r),targetEdge:o}}function zr(e,t){var n=t.targetRectangle,o=Br(t.targetEdge),r=o.positiveEdge,i=o.negativeEdge,a=wr(n,t.targetEdge),s=new vr(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),l=new vr(0,e,0,e);return Pr(l=Ar(l=Ir(l,-1*t.targetEdge,-e/2),-1*t.targetEdge,a-Sr(r,t.elementRectangle)),s,r)?Pr(l,s,i)||(l=Mr(l,s,i)):l=Mr(l,s,r),l}function Ur(e){var t=e.getBoundingClientRect();return new vr(t.left,t.right,t.top,t.bottom)}function Kr(e){return new vr(e.left,e.right,e.top,e.bottom)}function jr(e,t,n,o,r){var i=0,a=br[t],s=r?-1*a.targetEdge:a.targetEdge;return(i=s===er.top?kr(e,a.targetEdge)-o.top-n:s===er.bottom?o.bottom-kr(e,a.targetEdge)-n:o.bottom-e.top-n)>0?i:o.height}function Vr(e,t,n,o){var r=e.gapSpace?e.gapSpace:0,i=function(e,t){var n;if(t){if(t.preventDefault){var o=t;n=new vr(o.clientX,o.clientX,o.clientY,o.clientY)}else if(t.getBoundingClientRect)n=Ur(t);else{var r=t;n=new vr(r.x,r.x,r.y,r.y)}if(!_r(n,e))for(var i=0,a=xr(n,e);i<a.length;i++){var s=a[i];n[er[s]]=e[er[s]]}}else n=new vr(0,0,0,0);return n}(n,e.target),a=function(e,t,n,o,r){return e.isAuto&&(e.alignmentEdge=Lr(e.targetEdge,t,n)),e.alignTargetEdge=r,e}(Rr(e.directionalHint,e.directionalHintForRTL,o),i,n,e.coverTarget,e.alignTargetEdge),s=Hr(Ur(t),i,n,a,r,e.directionalHintFixed,e.coverTarget);return u({},s,{targetRectangle:i})}function Gr(e,t,n,o){return{elementPosition:function(e,t,n,o,r,i){var a={},s=Ur(t),l=i?n:-1*n,u=er[l],c=Fr(e,r||Br(n).positiveEdge,o);return a[u]=Tr(e,s,l),a[er[c]]=Tr(e,s,c),a}(e.elementRectangle,t,e.targetEdge,n,e.alignmentEdge,o),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}function qr(e,t,n,o){return function(e,t,n,o){var r=e.isBeakVisible&&e.beakWidth||0,i=Or(r)/2+(e.gapSpace?e.gapSpace:0),a=e;a.gapSpace=i;var s=e.bounds?Kr(e.bounds):new vr(0,window.innerWidth-gr(),0,window.innerHeight),l=Vr(a,n,s,o),c=Wr(l,zr(r,l),s);return u({},Gr(l,t,s,e.coverTarget),{beakPosition:c})}(e,t,n,o)}var Yr,Qr=function(e){function t(t){var n=e.call(this,t)||this;return n._root=o.createRef(),n._disposables=[],n._onKeyDown=function(e){switch(e.which){case F.escape:n.props.onDismiss&&(n.props.onDismiss(e),e.preventDefault(),e.stopPropagation())}},n._onFocus=function(){n._containsFocus=!0},n._onBlur=function(e){n._root.current&&n._root.current.contains(e.relatedTarget)&&(n._containsFocus=!1)},n._async=new ie(n),n.state={needsVerticalScrollBar:!1},n}return l(t,e),t.prototype.componentWillMount=function(){this._originalFocusedElement=hn().activeElement},t.prototype.componentDidMount=function(){this._root.current&&(this._disposables.push(No(this._root.current,"focus",this._onFocus,!0),No(this._root.current,"blur",this._onBlur,!0)),function(e){var t=hn(e),n=t&&t.activeElement;return!(!n||!uo(e,n))}(this._root.current)&&(this._containsFocus=!0)),this._updateScrollBarAsync()},t.prototype.componentDidUpdate=function(){this._updateScrollBarAsync(),this._async.dispose()},t.prototype.componentWillUnmount=function(){this._disposables.forEach(function(e){return e()}),this.props.shouldRestoreFocus&&this._originalFocusedElement&&this._containsFocus&&this._originalFocusedElement!==window&&this._originalFocusedElement&&this._originalFocusedElement.focus()},t.prototype.render=function(){var e=this.props,t=e.role,n=e.className,r=e.ariaLabel,i=e.ariaLabelledBy,a=e.ariaDescribedBy,s=e.style;return o.createElement("div",u({ref:this._root},ne(this.props,te),{className:n,role:t,"aria-label":r,"aria-labelledby":i,"aria-describedby":a,onKeyDown:this._onKeyDown,style:u({overflowY:this.state.needsVerticalScrollBar?"scroll":void 0,outline:"none"},s)}),this.props.children)},t.prototype._updateScrollBarAsync=function(){var e=this;this._async.requestAnimationFrame(function(){e._getScrollBar()})},t.prototype._getScrollBar=function(){if(!this.props.style||!this.props.style.overflowY){var e=!1;if(this._root&&this._root.current&&this._root.current.firstElementChild){var t=this._root.current.clientHeight,n=this._root.current.firstElementChild.clientHeight;t>0&&n>t&&(e=n-t>1)}this.state.needsVerticalScrollBar!==e&&this.setState({needsVerticalScrollBar:e})}},t.defaultProps={shouldRestoreFocus:!0},t}(o.Component),Zr=((Yr={})[er.top]=Xn.slideUpIn10,Yr[er.bottom]=Xn.slideDownIn10,Yr[er.left]=Xn.slideLeftIn10,Yr[er.right]=Xn.slideRightIn10,Yr),Xr=Ze({disableCaching:!0}),Jr=0,$r=0,ei={opacity:0,filter:"opacity(0)"},ti=["role","aria-roledescription"],ni=function(e){function t(t){var n=e.call(this,t)||this;return n._hostElement=o.createRef(),n._calloutElement=o.createRef(),n._hasListeners=!1,n._disposables=[],n.dismiss=function(e){var t=n.props.onDismiss;t&&t(e)},n._dismissOnScroll=function(e){var t=n.props.preventDismissOnScroll;n.state.positions&&!t&&n._dismissOnClickOrScroll(e)},n._dismissOnResize=function(e){n.props.preventDismissOnResize||n.dismiss(e)},n._dismissOnLostFocus=function(e){n.props.preventDismissOnLostFocus||n._dismissOnClickOrScroll(e)},n._setInitialFocus=function(){n.props.setInitialFocus&&!n._didSetInitialFocus&&n.state.positions&&n._calloutElement.current&&(n._didSetInitialFocus=!0,n._async.requestAnimationFrame(function(){return e=n._calloutElement.current,!!(t=go(e,e,!0,!1,!1,!0))&&(Co(t),!0);var e,t}))},n._onComponentDidMount=function(){n._addListeners(),n.props.onLayerMounted&&n.props.onLayerMounted(),n._updateAsyncPosition(),n._setHeightOffsetEveryFrame()},n._mouseDownOnPopup=function(){n._isMouseDownOnPopup=!0},n._mouseUpOnPopup=function(){n._isMouseDownOnPopup=!1},n._async=new ie(n),n._didSetInitialFocus=!1,n.state={positions:void 0,slideDirectionalClassName:void 0,calloutElementRect:void 0,heightOffset:0},n._positionAttempts=0,n}return l(t,e),t.prototype.componentDidUpdate=function(){this.props.hidden?this._hasListeners&&this._removeListeners():(this._setInitialFocus(),this._hasListeners||this._addListeners(),this._updateAsyncPosition())},t.prototype.shouldComponentUpdate=function(e,t){return(!this.props.hidden||!e.hidden)&&(!j(this.props,e)||!j(this.state,t))},t.prototype.componentWillMount=function(){this._setTargetWindowAndElement(this._getTarget())},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._disposables.forEach(function(e){return e()})},t.prototype.componentWillUpdate=function(e){var t=this._getTarget(e);(t!==this._getTarget()||"string"==typeof t||t instanceof String)&&!this._blockResetHeight&&(this._maxHeight=void 0,this._setTargetWindowAndElement(t)),e.gapSpace===this.props.gapSpace&&this.props.beakWidth===e.beakWidth||(this._maxHeight=void 0),e.finalHeight!==this.props.finalHeight&&this._setHeightOffsetEveryFrame(),e.hidden||e.hidden===this.props.hidden||(this._maxHeight=void 0,this._setTargetWindowAndElement(t),this.setState({positions:void 0}),this._didSetInitialFocus=!1,this._bounds=void 0),this._blockResetHeight=!1},t.prototype.componentDidMount=function(){this.props.hidden||this._onComponentDidMount()},t.prototype.render=function(){if(!this._targetWindow)return null;var e=this.props.target,t=this.props,n=t.styles,r=t.style,i=t.ariaLabel,a=t.ariaDescribedBy,s=t.ariaLabelledBy,l=t.className,c=t.isBeakVisible,d=t.children,p=t.beakWidth,f=t.calloutWidth,h=t.calloutMaxWidth,m=t.finalHeight,g=t.hideOverflow,v=void 0===g?!!m:g,y=t.backgroundColor,b=t.calloutMaxHeight,_=t.onScroll;e=this._getTarget();var x=this.state.positions,k=this._getMaxHeight()?this._getMaxHeight()+this.state.heightOffset:void 0,C=b&&k&&b<k?b:k,w=v,E=c&&!!e;this._classNames=Xr(n,{theme:this.props.theme,className:l,overflowYHidden:w,calloutWidth:f,positions:x,beakWidth:p,backgroundColor:y,calloutMaxWidth:h});var S=u({},r,{maxHeight:C},w&&{overflowY:"hidden"}),T=this.props.hidden?{visibility:"hidden"}:void 0;return o.createElement("div",{ref:this._hostElement,className:this._classNames.container,style:T},o.createElement("div",u({},ne(this.props,te,ti),{className:M(this._classNames.root,x&&x.targetEdge&&Zr[x.targetEdge]),style:x?x.elementPosition:ei,tabIndex:-1,ref:this._calloutElement}),E&&o.createElement("div",{className:this._classNames.beak,style:this._getBeakPosition()}),E&&o.createElement("div",{className:this._classNames.beakCurtain}),o.createElement(Qr,u({},ne(this.props,ti),{ariaLabel:i,ariaDescribedBy:a,ariaLabelledBy:s,className:this._classNames.calloutMain,onDismiss:this.dismiss,onScroll:_,shouldRestoreFocus:!0,style:S,onMouseDown:this._mouseDownOnPopup,onMouseUp:this._mouseUpOnPopup}),d)))},t.prototype._dismissOnClickOrScroll=function(e){var t=e.target,n=this._hostElement.current&&!uo(this._hostElement.current,t);n&&this._isMouseDownOnPopup?this._isMouseDownOnPopup=!1:(!this._target&&n||e.target!==this._targetWindow&&n&&(this._target.stopPropagation||!this._target||t!==this._target&&!uo(this._target,t)))&&this.dismiss(e)},t.prototype._addListeners=function(){var e=this;this._async.setTimeout(function(){e._disposables.push(No(e._targetWindow,"scroll",e._dismissOnScroll,!0),No(e._targetWindow,"resize",e._dismissOnResize,!0),No(e._targetWindow.document.documentElement,"focus",e._dismissOnLostFocus,!0),No(e._targetWindow.document.documentElement,"click",e._dismissOnLostFocus,!0)),e._hasListeners=!0},0)},t.prototype._removeListeners=function(){this._disposables.forEach(function(e){return e()}),this._disposables=[],this._hasListeners=!1},t.prototype._updateAsyncPosition=function(){var e=this;this._async.requestAnimationFrame(function(){return e._updatePosition()})},t.prototype._getBeakPosition=function(){var e=this.state.positions,t=u({},e&&e.beakPosition?e.beakPosition.elementPosition:null);return t.top||t.bottom||t.left||t.right||(t.left=$r,t.top=Jr),t},t.prototype._updatePosition=function(){this._setTargetWindowAndElement(this._getTarget());var e=this.state.positions,t=this._hostElement.current,n=this._calloutElement.current,o=!!this.props.target;if(t&&n&&(!o||this._target)){var r=void 0;(r=V(r,this.props)).bounds=this._getBounds(),r.target=this._target;var i=qr(r,t,n,e);!e&&i||e&&i&&!this._arePositionsEqual(e,i)&&this._positionAttempts<5?(this._positionAttempts++,this.setState({positions:i})):this._positionAttempts>0&&(this._positionAttempts=0,this.props.onPositioned&&this.props.onPositioned(this.state.positions))}},t.prototype._getBounds=function(){if(!this._bounds){var e=this.props.bounds;e||(e={top:0+this.props.minPagePadding,left:0+this.props.minPagePadding,right:this._targetWindow.innerWidth-this.props.minPagePadding,bottom:this._targetWindow.innerHeight-this.props.minPagePadding,width:this._targetWindow.innerWidth-2*this.props.minPagePadding,height:this._targetWindow.innerHeight-2*this.props.minPagePadding}),this._bounds=e}return this._bounds},t.prototype._getMaxHeight=function(){var e=this;if(!this._maxHeight)if(this.props.directionalHintFixed&&this._target){var t=this.props.isBeakVisible?this.props.beakWidth:0,n=(this.props.gapSpace?this.props.gapSpace:0)+t;this._async.requestAnimationFrame(function(){e._target&&(e._maxHeight=function(e,t,n,o,r){void 0===n&&(n=0);var i=e,a=e,s=e,l=o?Kr(o):new vr(0,window.innerWidth-gr(),0,window.innerHeight);return jr(i.stopPropagation?new vr(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==s.x&&void 0!==s.y?new vr(s.x,s.x,s.y,s.y):Ur(a),t,n,l,r)}(e._target,e.props.directionalHint,n,e._getBounds(),e.props.coverTarget),e._blockResetHeight=!0,e.forceUpdate())})}else this._maxHeight=this._getBounds().height;return this._maxHeight},t.prototype._arePositionsEqual=function(e,t){return this._comparePositions(e.elementPosition,t.elementPosition)&&this._comparePositions(e.beakPosition.elementPosition,t.beakPosition.elementPosition)},t.prototype._comparePositions=function(e,t){for(var n in t)if(t.hasOwnProperty(n)){var o=e[n],r=t[n];if(void 0===o||void 0===r)return!1;if(o.toFixed(2)!==r.toFixed(2))return!1}return!0},t.prototype._setTargetWindowAndElement=function(e){if(e)if("string"==typeof e){var t=hn();this._target=t?t.querySelector(e):null,this._targetWindow=m()}else if(e.stopPropagation)this._targetWindow=m(e.toElement),this._target=e;else if(e.getBoundingClientRect){var n=e;this._targetWindow=m(n),this._target=e}else void 0!==e.current?(this._target=e.current,this._targetWindow=m(this._target)):(this._targetWindow=m(),this._target=e);else this._targetWindow=m()},t.prototype._setHeightOffsetEveryFrame=function(){var e=this;this._calloutElement.current&&this.props.finalHeight&&(this._setHeightOffsetTimer=this._async.requestAnimationFrame(function(){var t=e._calloutElement.current&&e._calloutElement.current.lastChild;if(t){var n=t.scrollHeight-t.offsetHeight;e.setState({heightOffset:e.state.heightOffset+n}),t.offsetHeight<e.props.finalHeight?e._setHeightOffsetEveryFrame():e._async.cancelAnimationFrame(e._setHeightOffsetTimer)}}))},t.prototype._getTarget=function(e){return void 0===e&&(e=this.props),e.target},t.defaultProps={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:ao.bottomAutoEdge},t}(o.Component);function oi(e){return{height:e,width:e}}var ri={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},ii=I(ni,function(e){var t,n=e.theme,o=e.className,r=e.overflowYHidden,i=e.calloutWidth,a=e.beakWidth,s=e.backgroundColor,l=e.calloutMaxWidth,u=Ln(ri,n),c=n.palette,d=n.effects;return{container:[u.container,{position:"relative"}],root:[u.root,n.fonts.medium,{position:"absolute",boxSizing:"border-box",borderRadius:d.roundedCorner2,boxShadow:d.elevation16,selectors:(t={},t[wn]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}},o,!!i&&{width:i},!!l&&{maxWidth:l}],beak:[u.beak,{position:"absolute",backgroundColor:c.white,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},oi(a),s&&{backgroundColor:s}],beakCurtain:[u.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:c.white,borderRadius:d.roundedCorner2}],calloutMain:[u.calloutMain,{backgroundColor:c.white,overflowX:"hidden",overflowY:"auto",position:"relative",borderRadius:d.roundedCorner2},r&&{overflowY:"hidden"},s&&{backgroundColor:s}]}},void 0,{scope:"CalloutContent"}),ai={fontFamily:"inherit"},si={root:"ms-Fabric"},li=function(e){var t=e.theme,n=e.className,o=e.isFocusVisible;return{root:[Ln(si,t).root,o&&"is-focusVisible",t.fonts.medium,{color:t.palette.neutralPrimary,selectors:{"& button":ai,"& input":ai,"& textarea":ai}},n]}},ui=Ze(),ci=I(function(e){function t(t){var n=e.call(this,t)||this;return n._rootElement=o.createRef(),n._disposables=[],n._onMouseDown=function(e){n.setState({isFocusVisible:!1})},n._onKeyDown=function(e){ue(e.which)&&n.setState({isFocusVisible:!0})},n.state={isFocusVisible:!1},n}return l(t,e),t.prototype.render=function(){var e=this.props.className,t=ui(li,{theme:this.props.theme,className:e,isFocusVisible:this.state.isFocusVisible}),n=ne(this.props,te);return o.createElement("div",u({},n,{className:t.root,ref:this._rootElement}))},t.prototype.componentDidMount=function(){var e=m(this._rootElement.current);e&&this._disposables.push(No(e,"mousedown",this._onMouseDown,!0),No(e,"keydown",this._onKeyDown,!0))},t.prototype.componentWillUnmount=function(){this._disposables.forEach(function(e){return e()})},t}(o.Component),li,void 0,{scope:"Fabric"});function di(e,t,n){return function(r){var i,a=((i=function(i){function a(e){var t=i.call(this,e)||this;return t._onSettingChanged=t._onSettingChanged.bind(t),t}return l(a,i),a.prototype.componentDidMount=function(){E.observe(this._onSettingChanged)},a.prototype.componentWillUnmount=function(){E.unobserve(this._onSettingChanged)},a.prototype.render=function(){var i=this;return o.createElement(S.Consumer,null,function(a){var s=E.getSettings(t,e,a.customizations),l=i.props;if(s.styles&&"function"==typeof s.styles&&(s.styles=s.styles(u({},s,l))),n&&(s.styles||l.styles)){var c=p(s.styles,l.styles);return o.createElement(r,u({},s,l,{styles:c}))}return o.createElement(r,u({},s,l))})},a.prototype._onSettingChanged=function(){this.forceUpdate()},a}(o.Component)).displayName="Customized"+e,i);return Jo(r,a)}}var pi,fi={};var hi=Ze(),mi=function(e){function t(t){var n,o,r=e.call(this,t)||this;return r._handleRootElementRef=function(e){r._rootElement=e,e&&r._setVirtualParent()},r._filterEvent=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&e.stopPropagation()},r.state={hasMounted:!1},r.props.hostId&&(n=r.props.hostId,o=r,fi[n]||(fi[n]=[]),fi[n].push(o)),r}return l(t,e),t.prototype.componentWillMount=function(){this._layerElement=this._getLayerElement()},t.prototype.componentWillUpdate=function(){this._layerElement||(this._layerElement=this._getLayerElement())},t.prototype.componentDidMount=function(){this.setState({hasMounted:!0}),this._setVirtualParent();var e=this.props,t=e.onLayerDidMount,n=e.onLayerMounted;n&&n(),t&&t()},t.prototype.componentWillUnmount=function(){this._removeLayerElement();var e=this.props,t=e.onLayerWillUnmount,n=e.hostId;t&&t(),n&&function(e,t){if(fi[e]){var n=fi[e].indexOf(t);n>=0&&(fi[e].splice(n,1),0===fi[e].length&&delete fi[e])}}(n,this)},t.prototype.componentDidUpdate=function(){this._setVirtualParent()},t.prototype.render=function(){var e=this._getClassNames(),t=this.props.eventBubblingEnabled,n=this.state.hasMounted;return o.createElement("span",{className:"ms-layer",ref:this._handleRootElementRef},this._layerElement&&n&&i.createPortal(t?o.createElement(ci,{className:e.content},this.props.children):o.createElement(ci,{className:e.content,onClick:this._filterEvent,onContextMenu:this._filterEvent,onDoubleClick:this._filterEvent,onDrag:this._filterEvent,onDragEnd:this._filterEvent,onDragEnter:this._filterEvent,onDragExit:this._filterEvent,onDragLeave:this._filterEvent,onDragOver:this._filterEvent,onDragStart:this._filterEvent,onDrop:this._filterEvent,onMouseDown:this._filterEvent,onMouseEnter:this._filterEvent,onMouseLeave:this._filterEvent,onMouseMove:this._filterEvent,onMouseOver:this._filterEvent,onMouseOut:this._filterEvent,onMouseUp:this._filterEvent,onKeyDown:this._filterEvent,onKeyPress:this._filterEvent,onKeyUp:this._filterEvent,onFocus:this._filterEvent,onBlur:this._filterEvent,onChange:this._filterEvent,onInput:this._filterEvent,onInvalid:this._filterEvent,onSubmit:this._filterEvent},this.props.children),this._layerElement))},t.prototype._getClassNames=function(){var e=this.props,t=e.className,n=e.styles,o=e.theme;return hi(n,{theme:o,className:t,isNotHost:!this.props.hostId})},t.prototype._setVirtualParent=function(){this._rootElement&&this._layerElement&&function(e,t){var n=e,o=t;n._virtual||(n._virtual={children:[]});var r=n._virtual.parent;if(r&&r!==t){var i=r._virtual.children.indexOf(n);i>-1&&r._virtual.children.splice(i,1)}n._virtual.parent=o||void 0,o&&(o._virtual||(o._virtual={children:[]}),o._virtual.children.push(n))}(this._layerElement,this._rootElement)},t.prototype._getLayerElement=function(){var e=this._getHost(),t=this._getClassNames();if(e!==this._host&&this._removeLayerElement(),e&&(this._host=e,!this._layerElement)){var n=hn();if(!n)return;this._layerElement=n.createElement("div"),this._layerElement.className=t.root,this._layerElement.setAttribute(A,"true"),this.props.insertFirst?e.insertBefore(this._layerElement,e.firstChild):e.appendChild(this._layerElement)}return this._layerElement},t.prototype._removeLayerElement=function(){if(this._layerElement){this.props.onLayerWillUnmount();var e=this._layerElement.parentNode;e&&e.removeChild(this._layerElement),this._layerElement=void 0}},t.prototype._getHost=function(){var e=this.props.hostId,t=hn();if(t){if(e)return t.getElementById(e);var n=pi;return n?t.querySelector(n):t.body}},t.defaultProps={onLayerDidMount:function(){},onLayerWillUnmount:function(){}},t=d([di("Layer",["theme","hostId"])],t)}(o.Component),gi={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},vi=I(mi,function(e){var t=e.className,n=e.isNotHost,o=e.theme,r=Ln(gi,o);return{root:[r.root,o.fonts.medium,n&&[r.rootNoHost,{position:"fixed",zIndex:Cn.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[r.content,{visibility:"visible"}]}},void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),yi=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.render=function(){var e=this.props,t=e.layerProps,n=c(e,["layerProps"]),r=o.createElement(ii,u({},n));return this.props.doNotLayer?r:o.createElement(vi,u({},t),r)},t}(o.Component),bi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.openSubMenu=function(){var e=t.props,n=e.item,o=e.openSubMenu,r=e.getSubmenuTarget;if(r){var i=r();qo(n)&&o&&i&&o(n,i)}},t.dismissSubMenu=function(){var e=t.props,n=e.item,o=e.dismissSubMenu;qo(n)&&o&&o()},t.dismissMenu=function(e){var n=t.props.dismissMenu;n&&n(void 0,e)},t}return l(t,e),t.prototype.render=function(){var e=this.props,t=e.item,n=e.classNames;return o.createElement("div",{className:t.split?n.linkContentMenu:n.linkContent},function(e){var t=e.onCheckmarkClick,n=e.item,r=e.classNames,i=Go(n);if(t)return o.createElement(io,{iconName:i?"CheckMark":"",className:r.checkmarkIcon,onClick:function(e){return t(n,e)}});return null}(this.props),function(e){var t=e.item,n=e.hasIcons,r=e.classNames,i=t.iconProps;return n?t.onRenderIcon?t.onRenderIcon(e):o.createElement(io,u({},i,{className:r.icon})):null}(this.props),function(e){var t=e.item,n=e.classNames;return t.text||t.name?o.createElement("span",{className:n.label},t.text||t.name):null}(this.props),function(e){var t=e.item,n=e.classNames;return t.secondaryText?o.createElement("span",{className:n.secondaryText},t.secondaryText):null}(this.props),function(e){var t=e.item,n=e.classNames;return qo(t)?o.createElement(io,u({iconName:So()?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:n.subMenuIcon})):null}(this.props))},t}(he),_i=Bn(function(e){return Ue({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})}),xi=En(0,639),ki=Bn(function(){var e;return{selectors:(e={},e[wn]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"},e)}}),Ci=Bn(function(e){var t,n,o,r,i,a,s,l=e.semanticColors,c=e.fonts,d=e.palette,f=l.menuItemBackgroundHovered,h=l.menuItemTextHovered,m=l.menuItemBackgroundPressed,g=l.bodyDivider;return p({item:[c.medium,{color:l.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:g,position:"relative"},root:[Sn(e),c.medium,{color:l.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:36,lineHeight:36,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:l.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[wn]={color:"GrayText",opacity:1},t)},rootHovered:u({backgroundColor:f,color:h,selectors:{".ms-ContextualMenu-icon":{color:d.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:d.neutralPrimary}}},ki()),rootFocused:u({backgroundColor:d.white},ki()),rootChecked:u({selectors:{".ms-ContextualMenu-checkmarkIcon":{color:d.neutralPrimary}}},ki()),rootPressed:u({backgroundColor:m,selectors:{".ms-ContextualMenu-icon":{color:d.themeDark},".ms-ContextualMenu-submenuIcon":{color:d.neutralPrimary}}},ki()),rootExpanded:u({backgroundColor:m,color:l.bodyTextChecked},ki()),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",overflow:"hidden",whiteSpace:"nowrap"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:36,fontSize:un.medium,width:un.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(n={},n[xi]={fontSize:un.large,width:un.large},n)},iconColor:{color:l.menuIcon,selectors:(o={},o[wn]={color:"inherit"},o["$root:hover &"]={selectors:(r={},r[wn]={color:"HighlightText"},r)},o["$root:focus &"]={selectors:(i={},i[wn]={color:"HighlightText"},i)},o)},iconDisabled:{color:l.disabledBodyText},checkmarkIcon:{color:l.bodySubtext,selectors:(a={},a[wn]={color:"HighlightText"},a)},subMenuIcon:{height:36,lineHeight:36,color:d.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:sn.small,selectors:(s={":hover":{color:d.neutralPrimary},":active":{color:d.neutralPrimary}},s[xi]={fontSize:sn.icon},s)},splitButtonFlexContainer:[Sn(e),{display:"flex",height:36,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]})}),wi=En(0,639),Ei=Bn(function(e){var t;return Ue(_i(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[wi]={right:32},t)},divider:{height:16,width:1}})}),Si={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"},Ti=Bn(function(e,t,n,o,r,i,a,s,l,u,c,d){var p,f,h,m,g=Ci(e),v=Ln(Si,e);return Ue({item:[v.item,g.item,a],divider:[v.divider,g.divider,s],root:[v.root,g.root,o&&[v.isChecked,g.rootChecked],r&&g.anchorLink,n&&[v.isExpanded,g.rootExpanded],t&&[v.isDisabled,g.rootDisabled],!t&&!n&&[{selectors:(p={":hover":g.rootHovered,":active":g.rootPressed},p["."+ce+" &:focus, ."+ce+" &:focus:hover"]=g.rootFocused,p["."+ce+" &:hover"]={background:"inherit;"},p)}],d],splitPrimary:[g.root,{width:"calc(100% - 28px)"},o&&["is-checked",g.rootChecked],(t||c)&&["is-disabled",g.rootDisabled],!(t||c)&&!o&&[{selectors:(f={":hover":g.rootHovered,":hover ~ $splitMenu":g.rootHovered,":active":g.rootPressed},f["."+ce+" &:focus, ."+ce+" &:focus:hover"]=g.rootFocused,f["."+ce+" &:hover"]={background:"inherit;"},f)}]],splitMenu:[g.root,{flexBasis:"0",padding:"0 8px",minWidth:"28px"},n&&["is-expanded",g.rootExpanded],t&&["is-disabled",g.rootDisabled],!t&&!n&&[{selectors:(h={":hover":g.rootHovered,":active":g.rootPressed},h["."+ce+" &:focus, ."+ce+" &:focus:hover"]=g.rootFocused,h["."+ce+" &: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,l,t&&[v.isDisabled,g.iconDisabled]],iconColor:g.iconColor,checkmarkIcon:[v.checkmarkIcon,i&&g.checkmarkIcon,g.icon,l],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&&!o&&[{selectors:(m={},m["."+ce+" &:focus, ."+ce+" &:focus:hover"]=g.rootFocused,m)}]]})}),Ii=function(e){var t=e.theme,n=e.disabled,o=e.expanded,r=e.checked,i=e.isAnchorLink,a=e.knownIcon,s=e.itemClassName,l=e.dividerClassName,u=e.iconClassName,c=e.subMenuClassName,d=e.primaryDisabled,p=e.className;return Ti(t,n,o,r,i,a,s,l,u,c,d,p)},Mi=I(bi,Ii,void 0,{scope:"ContextualMenuItem"}),Pi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onItemMouseEnter=function(e){var n=t.props,o=n.item,r=n.onItemMouseEnter;r&&r(o,e,e.currentTarget)},t._onItemClick=function(e){var n=t.props,o=n.item,r=n.onItemClickBase;r&&r(o,e,e.currentTarget)},t._onItemMouseLeave=function(e){var n=t.props,o=n.item,r=n.onItemMouseLeave;r&&r(o,e)},t._onItemKeyDown=function(e){var n=t.props,o=n.item,r=n.onItemKeyDown;r&&r(o,e)},t._onItemMouseMove=function(e){var n=t.props,o=n.item,r=n.onItemMouseMove;r&&r(o,e,e.currentTarget)},t._getSubMenuId=function(e){var n=t.props.getSubMenuId;if(n)return n(e)},t._getSubmenuTarget=function(){},t}return l(t,e),t.prototype.shouldComponentUpdate=function(e){return!j(e,this.props)},t}(he);function Di(e,t){for(var n=-1,o=0;e&&o<e.length;o++)if(t(e[o],o)){n=o;break}return n}var Ai,Ni="ktp",Bi="-",Fi="ktp-layer-id";!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"}(Ai||(Ai={}));var Oi=function(){function e(){this.keytips=[],this.persistedKeytips=[],this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0}return e.getInstance=function(){return this._instance},e.prototype.register=function(e,t){void 0===t&&(t=!1);var n=e;t||(n=this.addParentOverflow(e));var o=this._getUniqueKtp(n);t?this.persistedKeytips.push(o):this.keytips.push(o);var r=t?Ai.PERSISTED_KEYTIP_ADDED:Ai.KEYTIP_ADDED;return ae.raise(this,r,{keytip:n,uniqueID:o.uniqueID}),o.uniqueID},e.prototype.update=function(e,t){var n,o,r,i,a=this.addParentOverflow(e),s=this._getUniqueKtp(a,t),l=Di(this.keytips,function(e){return e.uniqueID===t});l>=0&&(s.keytip.visible=this.keytips[l].keytip.visible,this.keytips=(n=this.keytips,o=s,r=l,(i=n.slice())[r]=o,i),ae.raise(this,Ai.KEYTIP_UPDATED,{keytip:s.keytip,uniqueID:s.uniqueID}))},e.prototype.unregister=function(e,t,n){void 0===n&&(n=!1),n?this.persistedKeytips=this.persistedKeytips.filter(function(e){return e.uniqueID!==t}):this.keytips=this.keytips.filter(function(e){return e.uniqueID!==t});var o=n?Ai.PERSISTED_KEYTIP_REMOVED:Ai.KEYTIP_REMOVED;ae.raise(this,o,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){ae.raise(this,Ai.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){ae.raise(this,Ai.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){return this.keytips.map(function(e){return e.keytip})},e.prototype.addParentOverflow=function(e){var t=e.keySequences.slice();if(t.pop(),0!==t.length){var n=function(e,t){var n=Di(e,t);if(!(n<0))return e[n]}(this.getKeytips(),function(e){return 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,e.keySequences)});if(n&&n.overflowSetSequence)return u({},e,{overflowSetSequence:n.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){ae.raise(this,Ai.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=Y()),{keytip:u({},e),uniqueID:t}},e._instance=new e,e}();function Ri(e){return e.reduce(function(e,t){return e+Bi+t.split("").join(Bi)},Ni)}var Li=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._keytipManager=Oi.getInstance(),t}return l(t,e),t.prototype.componentDidMount=function(){this.props.keytipProps&&(this._uniqueId=this._keytipManager.register(this._getKtpProps()))},t.prototype.componentWillUnmount=function(){this.props.keytipProps&&this._keytipManager.unregister(this._getKtpProps(),this._uniqueId)},t.prototype.componentDidUpdate=function(e){e.keytipProps===this.props.keytipProps&&e.disabled===this.props.disabled||this.props.keytipProps&&this._keytipManager.update(this._getKtpProps(),this._uniqueId)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.keytipProps,o=e.ariaDescribedBy,r={};return n&&(r=this._getKtpAttrs(n,o)),t(r)},t.prototype._getKtpProps=function(){return u({disabled:this.props.disabled},this.props.keytipProps)},t.prototype._getKtpAttrs=function(e,t){if(e){var n=this._keytipManager.addParentOverflow(e),o=function(e){var t=" "+Fi;return e.length?t+" "+Ri(e):t}(n.keySequences),r=n.keySequences.slice();n.overflowSetSequence&&(r=function(e,t){var n,o,r,i=t.length,a=t.slice().pop(),s=e.slice();return n=i-1,o=a,(r=s.slice()).splice(n,0,o),r}(r,n.overflowSetSequence));var i=Ri(r);return{"aria-describedby":oe(t,o),"data-ktp-target":i,"data-ktp-execute-target":i}}},t}(o.Component),Hi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=o.createRef(),t._getMemoizedMenuButtonKeytipProps=Bn(function(e){return u({},e,{hasMenu:!0})}),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var n=t.props,o=n.item,r=n.onItemClick;r&&r(o,e)},t}return l(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,i=t.index,a=t.focusableElementIndex,s=t.totalItemCount,l=t.hasCheckmarks,c=t.hasIcons,d=t.contextualMenuItemAs,p=void 0===d?Mi:d,f=t.expandedMenuItemKey,h=t.onItemClick,m=t.openSubMenu,g=t.dismissSubMenu,v=t.dismissMenu,y=n.rel;n.target&&"_blank"===n.target.toLowerCase()&&(y=y||"nofollow noopener noreferrer");var b=this._getSubMenuId(n),_=qo(n),x=ne(n,Z),k=Yo(n),C=n.itemProps,w=n.keytipProps;return w&&_&&(w=this._getMemoizedMenuButtonKeytipProps(w)),o.createElement("div",null,o.createElement(Li,{keytipProps:n.keytipProps,ariaDescribedBy:x["aria-describedby"],disabled:k},function(t){return o.createElement("a",u({},x,t,{ref:e._anchor,href:n.href,target:n.target,rel:y,className:r.root,role:"menuitem","aria-owns":n.key===f?b:void 0,"aria-haspopup":_||void 0,"aria-expanded":_?n.key===f:void 0,"aria-posinset":a+1,"aria-setsize":s,"aria-disabled":Yo(n),style:n.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:_?e._onItemKeyDown:void 0}),o.createElement(p,u({componentRef:n.componentRef,item:n,classNames:r,index:i,onCheckmarkClick:l&&h?h:void 0,hasIcons:c,openSubMenu:m,dismissSubMenu:g,dismissMenu:v,getSubmenuTarget:e._getSubmenuTarget},C)))}))},t}(Pi),Wi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=o.createRef(),t._getMemoizedMenuButtonKeytipProps=Bn(function(e){return u({},e,{hasMenu:!0})}),t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return l(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,i=t.index,a=t.focusableElementIndex,s=t.totalItemCount,l=t.hasCheckmarks,c=t.hasIcons,d=t.contextualMenuItemAs,p=void 0===d?Mi:d,f=t.expandedMenuItemKey,h=t.onItemMouseDown,m=t.onItemClick,g=t.openSubMenu,v=t.dismissSubMenu,y=t.dismissMenu,b=this._getSubMenuId(n),_=Go(n),x=null!==_,k=x?"menuitemcheckbox":"menuitem",C=qo(n),w=n.itemProps,E=n.ariaLabel,S=ne(n,X);delete S.disabled;var T={className:r.root,onClick:this._onItemClick,onKeyDown:C?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return h?h(n,e):void 0},onMouseMove:this._onItemMouseMove,href:n.href,title:n.title,"aria-label":E,"aria-haspopup":C||void 0,"aria-owns":n.key===f?b:void 0,"aria-expanded":C?n.key===f:void 0,"aria-checked":x?!!_:void 0,"aria-posinset":a+1,"aria-setsize":s,"aria-disabled":Yo(n),role:n.role||k,style:n.style},I=n.keytipProps;return I&&C&&(I=this._getMemoizedMenuButtonKeytipProps(I)),o.createElement(Li,{keytipProps:I,ariaDescribedBy:S["aria-describedby"],disabled:Yo(n)},function(t){return o.createElement("button",u({ref:e._btn},S,T,t),o.createElement(p,u({componentRef:n.componentRef,item:n,classNames:r,index:i,onCheckmarkClick:l&&m?m:void 0,hasIcons:c,openSubMenu:g,dismissSubMenu:v,dismissMenu:y,getSubmenuTarget:e._getSubmenuTarget},w)))})},t}(Pi),zi=Ze(),Ui=I(function(e){var t=e.styles,n=e.theme,r=e.getClassNames,i=e.className,a=zi(t,{theme:n,getClassNames:r,className:i});return o.createElement("span",{className:a.wrapper},o.createElement("span",{className:a.divider}))},function(e){var t=e.theme,n=e.getClassNames,o=e.className;if(!t)throw new Error("Theme is undefined or null.");if(n){var r=n(t);return{wrapper:[r.wrapper],divider:[r.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},o],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}},void 0,{scope:"VerticalDivider"}),Ki=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._getMemoizedMenuButtonKeytipProps=Bn(function(e){return u({},e,{hasMenu:!0})}),t._onItemKeyDown=function(e){var n=t.props,o=n.item,r=n.onItemKeyDown;e.which===F.enter?(t._executeItemClick(e),e.preventDefault(),e.stopPropagation()):r&&r(o,e)},t._getSubmenuTarget=function(){return t._splitButton},t._onItemMouseEnterPrimary=function(e){var n=t.props,o=n.item,r=n.onItemMouseEnter;r&&r(u({},o,{subMenuProps:void 0,items:void 0}),e,t._splitButton)},t._onItemMouseEnterIcon=function(e){var n=t.props,o=n.item,r=n.onItemMouseEnter;r&&r(o,e,t._splitButton)},t._onItemMouseMovePrimary=function(e){var n=t.props,o=n.item,r=n.onItemMouseMove;r&&r(u({},o,{subMenuProps:void 0,items:void 0}),e,t._splitButton)},t._onItemMouseMoveIcon=function(e){var n=t.props,o=n.item,r=n.onItemMouseMove;r&&r(o,e,t._splitButton)},t._onIconItemClick=function(e){var n=t.props,o=n.item,r=n.onItemClickBase;r&&r(o,e,t._splitButton?t._splitButton:e.currentTarget)},t._executeItemClick=function(e){var n=t.props,o=n.item,r=n.executeItemClick,i=n.onItemClick;if(!o.disabled&&!o.isDisabled)return t._processingTouch&&i?i(o,e):void(r&&r(o,e))},t._onTouchStart=function(e){!t._splitButton||"onpointerdown"in t._splitButton||t._handleTouchAndPointerEvent(e)},t._onPointerDown=function(e){"touch"===e.pointerType&&(t._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},t}return l(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,i=t.index,a=t.focusableElementIndex,s=t.totalItemCount,l=t.hasCheckmarks,c=t.hasIcons,d=t.onItemMouseLeave,p=t.expandedMenuItemKey,f=qo(n),h=n.keytipProps;return h&&(h=this._getMemoizedMenuButtonKeytipProps(h)),o.createElement(Li,{keytipProps:h,disabled:Yo(n)},function(t){return o.createElement("div",{"data-ktp-target":t["data-ktp-target"],ref:function(t){return e._splitButton=t},role:"menuitem","aria-label":n.ariaLabel,className:r.splitContainer,"aria-disabled":Yo(n),"aria-expanded":f?n.key===p:void 0,"aria-haspopup":!0,"aria-describedby":oe(n.ariaDescription,t["aria-describedby"]),"aria-checked":n.isChecked||n.checked,"aria-posinset":a+1,"aria-setsize":s,onMouseEnter:e._onItemMouseEnterPrimary,onMouseLeave:d?d.bind(e,u({},n,{subMenuProps:null,items:null})):void 0,onMouseMove:e._onItemMouseMovePrimary,onKeyDown:e._onItemKeyDown,onClick:e._executeItemClick,onTouchStart:e._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":n["aria-roledescription"]},e._renderSplitPrimaryButton(n,r,i,l,c),e._renderSplitDivider(n),e._renderSplitIconButton(n,r,i,t))})},t.prototype._renderSplitPrimaryButton=function(e,t,n,r,i){var a=this.props,s=a.contextualMenuItemAs,l=void 0===s?Mi:s,c=a.onItemClick,d={key:e.key,disabled:Yo(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,"data-is-focusable":!1,"aria-hidden":!0},p=e.itemProps;return o.createElement("button",u({},ne(d,X)),o.createElement(l,u({"data-is-focusable":!1,item:d,classNames:t,index:n,onCheckmarkClick:r&&c?c:void 0,hasIcons:i},p)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||Ei;return o.createElement(Ui,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,n,r){var i=this.props,a=i.contextualMenuItemAs,s=void 0===a?Mi:a,l=i.onItemMouseLeave,c=i.onItemMouseDown,d=i.openSubMenu,p=i.dismissSubMenu,f=i.dismissMenu,h={onClick:this._onIconItemClick,disabled:Yo(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key},m=u({},ne(h,X),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:l?l.bind(this,e):void 0,onMouseDown:function(t){return c?c(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":r["data-ktp-execute-target"],"aria-hidden":!0}),g=e.itemProps;return o.createElement("button",u({},m),o.createElement(s,u({componentRef:e.componentRef,item:h,classNames:t,index:n,hasIcons:!1,openSubMenu:d,dismissSubMenu:p,dismissMenu:f,getSubmenuTarget:this._getSubmenuTarget},g)))},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}(Pi),ji=Ze({disableCaching:!0}),Vi=Ze({disableCaching:!0});function Gi(e){return e.subMenuProps?e.subMenuProps.items:e.items}var qi,Yi=250,Qi=function(e){function t(t){var n=e.call(this,t)||this;return n._mounted=!1,n.dismiss=function(e,t){var o=n.props.onDismiss;o&&o(e,t)},n._onRenderMenuList=function(e,t){var r=0;return o.createElement("ul",{className:n._classNames.list,onKeyDown:n._onKeyDown,onKeyUp:n._onKeyUp,role:"menu"},e.items.map(function(t,o){var i=n._renderMenuItem(t,o,r,e.totalItemCount,e.hasCheckmarks,e.hasIcons);if(t.itemType!==to.Divider&&t.itemType!==to.Header){var a=t.customOnRenderListLength?t.customOnRenderListLength:1;r+=a}return i}))},n._onKeyDown=function(e){n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e);var t=e.which===F.escape&&(jo()||Vo());return n._keyHandler(e,n._shouldHandleKeyDown,t)},n._shouldHandleKeyDown=function(e){return e.which===F.escape||n._shouldCloseSubMenu(e)||e.which===F.up&&(e.altKey||e.metaKey)},n._onMenuFocusCapture=function(e){n.props.delayUpdateFocusOnHover&&(n._shouldUpdateFocusOnMouseEvent=!0)},n._onKeyUp=function(e){return n._keyHandler(e,n._shouldHandleKeyUp,!0)},n._shouldHandleKeyUp=function(e){var t=n._lastKeyDownWasAltOrMeta&&n._isAltOrMeta(e);return n._lastKeyDownWasAltOrMeta=!1,!!t&&!(Vo()||jo())},n._keyHandler=function(e,t,o){var r=!1;return t(e)&&(n._isFocusingPreviousElement=!0,e.preventDefault(),e.stopPropagation(),n.dismiss(e,o),r=!0),r},n._shouldCloseSubMenu=function(e){var t=So()?F.right:F.left;return!(e.which!==t||!n.props.isSubMenu)&&(n._adjustedFocusZoneProps.direction===so.vertical||!!n._adjustedFocusZoneProps.checkForNoWrap&&!xo(e.target,"data-no-horizontal-wrap"))},n._onMenuKeyDown=function(e){if(!n._onKeyDown(e)&&n._host){var t,o,r=!(!e.altKey&&!e.metaKey),i=e.which===F.up,a=e.which===F.down;if(!r&&(i||a)){var s=i?(t=n._host,o=n._host.lastChild,mo(t,o,!0,!1,!0,!0)):function(e,t,n){return go(e,t,!0,!1,!1,n)}(n._host,n._host.firstChild,!0);s&&(s.focus(),e.preventDefault(),e.stopPropagation())}}},n._onScroll=function(){n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(n._async.clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),n._scrollIdleTimeoutId=n._async.setTimeout(function(){n._isScrollIdle=!0},Yi)},n._onItemMouseEnterBase=function(e,t,o){n._shouldIgnoreMouseEvent()||n._updateFocusOnMouseEvent(e,t,o)},n._onItemMouseMoveBase=function(e,t,o){var r=t.currentTarget;n._shouldUpdateFocusOnMouseEvent&&(n._gotMouseMove=!0,n._isScrollIdle&&void 0===n._enterTimerId&&r!==n._targetWindow.document.activeElement&&n._updateFocusOnMouseEvent(e,t,o))},n._onMouseItemLeave=function(e,t){if(!n._shouldIgnoreMouseEvent()&&(void 0!==n._enterTimerId&&(n._async.clearTimeout(n._enterTimerId),n._enterTimerId=void 0),void 0===n.state.expandedMenuItemKey))if(n._host.setActive)try{n._host.setActive()}catch(e){}else n._host.focus()},n._onItemMouseDown=function(e,t){e.onMouseDown&&e.onMouseDown(e,t)},n._onItemClick=function(e,t){n._onItemClickBase(e,t,t.currentTarget)},n._onItemClickBase=function(e,t,o){var r=Gi(e);n._cancelSubMenuTimer(),qo(e)||r&&r.length?e.key!==n.state.expandedMenuItemKey&&(n.setState({expandedByMouseClick:0!==t.nativeEvent.detail||"mouse"===t.nativeEvent.pointerType}),n._onItemSubMenuExpand(e,o)):n._executeItemClick(e,t),t.stopPropagation(),t.preventDefault()},n._onAnchorClick=function(e,t){n._executeItemClick(e,t),t.stopPropagation()},n._executeItemClick=function(e,t){if(!e.disabled&&!e.isDisabled){var o=!1;e.onClick?o=!!e.onClick(t,e):n.props.onItemClick&&(o=!!n.props.onItemClick(t,e)),(o||!t.defaultPrevented)&&n.dismiss(t,!0)}},n._onItemKeyDown=function(e,t){var o=So()?F.left:F.right;e.disabled||t.which!==o&&t.which!==F.enter&&(t.which!==F.down||!t.altKey&&!t.metaKey)||(n.setState({expandedByMouseClick:!1}),n._onItemSubMenuExpand(e,t.currentTarget),t.preventDefault())},n._cancelSubMenuTimer=function(){void 0!==n._enterTimerId&&(n._async.clearTimeout(n._enterTimerId),n._enterTimerId=void 0)},n._onItemSubMenuExpand=function(e,t){n.state.expandedMenuItemKey!==e.key&&(n.state.expandedMenuItemKey&&n._onSubMenuDismiss(),t.focus(),n.setState({expandedMenuItemKey:e.key,submenuTarget:t}))},n._onSubMenuDismiss=function(e,t){t?n.dismiss(e,t):n._mounted&&n.setState({dismissedMenuItemKey:n.state.expandedMenuItemKey,expandedMenuItemKey:void 0,submenuTarget:void 0})},n._getSubMenuId=function(e){var t=n.state.subMenuId;return e.subMenuProps&&e.subMenuProps.id&&(t=e.subMenuProps.id),t},n._onPointerAndTouchEvent=function(e){n._cancelSubMenuTimer()},n.state={contextualMenuItems:void 0,subMenuId:Y("ContextualMenu")},n._warnDeprecations({getMenuClassNames:"styles"}),n._isFocusingPreviousElement=!1,n._isScrollIdle=!0,n._shouldUpdateFocusOnMouseEvent=!n.props.delayUpdateFocusOnHover,n._gotMouseMove=!1,n}return l(t,e),t.prototype.shouldComponentUpdate=function(e,t){return(!this.props.hidden||!e.hidden)&&(!j(this.props,e)||!j(this.state,t))},t.prototype.componentWillUpdate=function(e){if(e.target!==this.props.target){var t=e.target;this._setTargetWindowAndElement(t)}e.hidden!==this.props.hidden&&(e.hidden?this._onMenuClosed():(this._onMenuOpened(),this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:null)),e.delayUpdateFocusOnHover!==this.props.delayUpdateFocusOnHover&&(this._shouldUpdateFocusOnMouseEvent=!e.delayUpdateFocusOnHover,this._gotMouseMove=this._shouldUpdateFocusOnMouseEvent&&this._gotMouseMove)},t.prototype.componentWillMount=function(){var e=this.props.target;this._setTargetWindowAndElement(e),this.props.hidden||(this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:null)},t.prototype.componentDidMount=function(){this.props.hidden||this._onMenuOpened(),this._mounted=!0},t.prototype.componentWillUnmount=function(){this._tryFocusPreviousActiveElement(),this.props.onMenuDismissed&&this.props.onMenuDismissed(this.props),this._events.dispose(),this._async.dispose(),this._mounted=!1},t.prototype.render=function(){var e=this,t=this.props.isBeakVisible,n=this.props,r=n.items,i=n.labelElementId,a=n.id,s=n.className,l=n.beakWidth,c=n.directionalHint,d=n.directionalHintForRTL,p=n.alignTargetEdge,f=n.gapSpace,h=n.coverTarget,m=n.ariaLabel,g=n.doNotLayer,v=n.target,y=n.bounds,b=n.useTargetWidth,_=n.useTargetAsMinWidth,x=n.directionalHintFixed,k=n.shouldFocusOnMount,C=n.shouldFocusOnContainer,w=n.title,E=n.styles,S=n.theme,T=n.calloutProps,I=n.onRenderSubMenu,P=void 0===I?this._onRenderSubMenu:I,D=n.onRenderMenuList,A=void 0===D?this._onRenderMenuList:D,N=n.focusZoneProps,B=n.getMenuClassNames;this._classNames=B?B(S,s):ji(E,{theme:S,className:s});var F=function e(t){for(var n=0,o=t;n<o.length;n++){var r=o[n];if(r.iconProps)return!0;if(r.itemType===to.Section&&r.sectionProps&&e(r.sectionProps.items))return!0}return!1}(r);this._adjustedFocusZoneProps=u({},N,{direction:this._getFocusZoneDirection()});var O,R=function(e){return e.some(function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some(function(e){return!0===e.canCheck}))})}(r),L=this.state.expandedMenuItemKey&&!0!==this.props.hidden?this._getSubmenuProps():null;t=void 0===t?this.props.responsiveMode<=Zo.medium:t;var H=this._target;if((b||_)&&H&&H.offsetWidth){var W=H.getBoundingClientRect().width-2;b?O={width:W}:_&&(O={minWidth:W})}if(r&&r.length>0){for(var z=0,U=0,K=r;U<K.length;U++){var j=K[U];if(j.itemType!==to.Divider&&j.itemType!==to.Header)z+=j.customOnRenderListLength?j.customOnRenderListLength:1}var V=!B&&this._classNames.subComponentStyles?this._classNames.subComponentStyles.callout:void 0;return o.createElement(yi,u({styles:V},T,{target:v,isBeakVisible:t,beakWidth:l,directionalHint:c,directionalHintForRTL:d,gapSpace:f,coverTarget:h,doNotLayer:g,className:M("ms-ContextualMenu-Callout",T&&T.className),setInitialFocus:k,onDismiss:this.props.onDismiss,onScroll:this._onScroll,bounds:y,directionalHintFixed:x,alignTargetEdge:p,hidden:this.props.hidden}),o.createElement("div",{"aria-label":m,"aria-labelledby":i,style:O,ref:function(t){return e._host=t},id:a,className:this._classNames.container,tabIndex:C?0:-1,onKeyDown:this._onMenuKeyDown,onKeyUp:this._onKeyUp,onFocusCapture:this._onMenuFocusCapture},w&&o.createElement("div",{className:this._classNames.title}," ",w," "),r&&r.length?o.createElement(Ko,u({},this._adjustedFocusZoneProps,{className:this._classNames.root,isCircularNavigation:!0,handleTabKey:lo.all}),A({items:r,totalItemCount:z,hasCheckmarks:R,hasIcons:F},this._onRenderMenuList)):null,L&&P(L,this._onRenderSubMenu)))}return null},t.prototype._onMenuOpened=function(){this._events.on(this._targetWindow,"resize",this.dismiss),this._shouldUpdateFocusOnMouseEvent=!this.props.delayUpdateFocusOnHover,this._gotMouseMove=!1,this.props.onMenuOpened&&this.props.onMenuOpened(this.props)},t.prototype._onMenuClosed=function(){this._events.off(this._targetWindow,"resize",this.dismiss),this._tryFocusPreviousActiveElement(),this.props.onMenuDismissed&&this.props.onMenuDismissed(this.props),this._shouldUpdateFocusOnMouseEvent=!this.props.delayUpdateFocusOnHover,this.setState({expandedByMouseClick:void 0,dismissedMenuItemKey:void 0,expandedMenuItemKey:void 0,submenuTarget:void 0})},t.prototype._tryFocusPreviousActiveElement=function(){var e=this;this._isFocusingPreviousElement&&this._previousActiveElement&&setTimeout(function(){e._previousActiveElement&&e._previousActiveElement.focus()},0)},t.prototype._getFocusZoneDirection=function(){var e=this.props.focusZoneProps;return e&&void 0!==e.direction?e.direction:so.vertical},t.prototype._onRenderSubMenu=function(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")},t.prototype._renderMenuItem=function(e,t,n,o,r,i){var a,s=[],l=e.iconProps||{iconName:"None"},u=e.getItemClassNames,c=e.itemProps,d=c?c.styles:void 0,p=e.itemType===to.Divider?e.className:void 0,f=e.submenuIconProps?e.submenuIconProps.className:"";if(u)a=u(this.props.theme,Yo(e),this.state.expandedMenuItemKey===e.key,!!Go(e),!!e.href,"None"!==l.iconName,e.className,p,l.className,f,e.primaryDisabled);else{var h={theme:this.props.theme,disabled:Yo(e),expanded:this.state.expandedMenuItemKey===e.key,checked:!!Go(e),isAnchorLink:!!e.href,knownIcon:"None"!==l.iconName,itemClassName:e.className,dividerClassName:p,iconClassName:l.className,subMenuClassName:f,primaryDisabled:e.primaryDisabled},m=this._classNames.subComponentStyles?this._classNames.subComponentStyles.menuItem:void 0;a=Ue(Vi(Ii,h),Vi(m,h),Vi(d,h))}switch("-"!==e.text&&"-"!==e.name||(e.itemType=to.Divider),e.itemType){case to.Divider:s.push(this._renderSeparator(t,a));break;case to.Header:s.push(this._renderSeparator(t,a));var g=this._renderHeaderMenuItem(e,a,t,r,i);s.push(this._renderListItem(g,e.key||t,a,e.title));break;case to.Section:s.push(this._renderSectionItem(e,a,t,r,i));break;default:var v=this._renderNormalItem(e,a,t,n,o,r,i);s.push(this._renderListItem(v,e.key||t,a,e.title))}return s},t.prototype._renderSectionItem=function(e,t,n,r,i){var a=this,s=e.sectionProps;if(s){var l;if(s.title){var u={key:"section-"+s.title+"-title",itemType:to.Header,text:s.title};l=this._renderHeaderMenuItem(u,t,n,r,i)}return s.items&&s.items.length>0?o.createElement("li",{role:"presentation",key:s.key||e.key||"section-"+n},o.createElement("div",{role:"group"},o.createElement("ul",{className:this._classNames.list},s.topDivider&&this._renderSeparator(n,t,!0,!0),l&&this._renderListItem(l,e.key||n,t,e.title),s.items.map(function(e,t){return a._renderMenuItem(e,t,t,s.items.length,r,i)}),s.bottomDivider&&this._renderSeparator(n,t,!1,!0)))):void 0}},t.prototype._renderListItem=function(e,t,n,r){return o.createElement("li",{role:"presentation",title:r,key:t,className:n.item},e)},t.prototype._renderSeparator=function(e,t,n,r){return r||e>0?o.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},t.prototype._renderNormalItem=function(e,t,n,o,r,i,a){return e.onRender?e.onRender(u({"aria-posinset":o+1,"aria-setsize":r},e),this.dismiss):e.href?this._renderAnchorMenuItem(e,t,n,o,r,i,a):e.split&&qo(e)?this._renderSplitButton(e,t,n,o,r,i,a):this._renderButtonItem(e,t,n,o,r,i,a)},t.prototype._renderHeaderMenuItem=function(e,t,n,r,i){var a=this.props.contextualMenuItemAs,s=void 0===a?Mi:a,l=e.itemProps,c=l&&ne(l,te);return o.createElement("div",u({className:this._classNames.header},c,{style:e.style}),o.createElement(s,u({item:e,classNames:t,index:n,onCheckmarkClick:r?this._onItemClick:void 0,hasIcons:i},l)))},t.prototype._renderAnchorMenuItem=function(e,t,n,r,i,a,s){var l=this.props.contextualMenuItemAs,u=this.state.expandedMenuItemKey;return o.createElement(Hi,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:i,hasCheckmarks:a,hasIcons:s,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onAnchorClick,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:u,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderButtonItem=function(e,t,n,r,i,a,s){var l=this.props.contextualMenuItemAs,u=this.state.expandedMenuItemKey;return o.createElement(Wi,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:i,hasCheckmarks:a,hasIcons:s,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:u,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderSplitButton=function(e,t,n,r,i,a,s){var l=this.props.contextualMenuItemAs,u=this.state.expandedMenuItemKey;return o.createElement(Ki,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:i,hasCheckmarks:a,hasIcons:s,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss,expandedMenuItemKey:u,onTap:this._onPointerAndTouchEvent})},t.prototype._isAltOrMeta=function(e){return e.which===F.alt||"Meta"===e.key},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._updateFocusOnMouseEvent=function(e,t,n){var o=this,r=n||t.currentTarget,i=this.props.subMenuHoverDelay,a=void 0===i?Yi:i;e.key!==this.state.expandedMenuItemKey&&(void 0!==this._enterTimerId&&(this._async.clearTimeout(this._enterTimerId),this._enterTimerId=void 0),void 0===this.state.expandedMenuItemKey&&r.focus(),qo(e)?(t.stopPropagation(),this._enterTimerId=this._async.setTimeout(function(){r.focus(),o.setState({expandedByMouseClick:!0}),o._onItemSubMenuExpand(e,r),o._enterTimerId=void 0},a)):this._enterTimerId=this._async.setTimeout(function(){o._onSubMenuDismiss(t),r.focus(),o._enterTimerId=void 0},a))},t.prototype._getSubmenuProps=function(){var e=this.state,t=e.submenuTarget,n=e.expandedMenuItemKey,o=this._findItemByKey(n),r=null;return o&&(r={items:Gi(o),target:t,onDismiss:this._onSubMenuDismiss,isSubMenu:!0,id:this.state.subMenuId,shouldFocusOnMount:!0,shouldFocusOnContainer:this.state.expandedByMouseClick,directionalHint:So()?ao.leftTopEdge:ao.rightTopEdge,className:this.props.className,gapSpace:0,isBeakVisible:!1},o.subMenuProps&&V(r,o.subMenuProps)),r},t.prototype._findItemByKey=function(e){var t=this.props.items;return this._findItemByKeyFromItems(e,t)},t.prototype._findItemByKeyFromItems=function(e,t){for(var n=0,o=t;n<o.length;n++){var r=o[n];if(r.itemType===to.Section&&r.sectionProps){var i=this._findItemByKeyFromItems(e,r.sectionProps.items);if(i)return i}else if(r.key&&r.key===e)return r}},t.prototype._setTargetWindowAndElement=function(e){if(e)if("string"==typeof e){var t=hn();this._target=t?t.querySelector(e):null,this._targetWindow=m()}else if(e.stopPropagation)this._targetWindow=m(e.toElement),this._target=e;else if(void 0!==e.x&&void 0!==e.y)this._targetWindow=m(),this._target=e;else if(void 0!==e.current)this._target=e.current,this._targetWindow=m(this._target);else{var n=e;this._targetWindow=m(n),this._target=e}else this._targetWindow=m()},t.defaultProps={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:ao.bottomAutoEdge,beakWidth:16},t=d([or],t)}(he),Zi={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function Xi(e){return o.createElement(qi,u({},e))}var Ji,$i=qi=I(Qi,function(e){var t=e.className,n=e.theme,o=Ln(Zi,n),r=n.palette,i=n.fonts,a=n.semanticColors,s=n.effects;return{root:[n.fonts.medium,o.root,o.isopen,{backgroundColor:a.bodyBackground,minWidth:"180px"},t],container:[o.container,{selectors:{":focus":{outline:0}}}],list:[o.list,o.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[o.header,i.small,{fontWeight:ln.semibold,color:a.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[o.title,{fontSize:"16px",paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:r.neutralLight}],subComponentStyles:{callout:{root:{boxShadow:s.elevation8}},menuItem:{}}}},function(){return{onRenderSubMenu:Xi}},{scope:"ContextualMenu"}),ea={msButton:"ms-Button",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"},ta=Bn(function(e,t,n,o,r,i,a,s,l,u){var c,d,p=Ln(ea,e||{}),f=l&&!u;return Ue({root:[p.msButton,t.root,o,s&&["is-checked",t.rootChecked],f&&["is-expanded",t.rootExpanded,{selectors:(c={},c[":hover ."+p.msButtonIcon]=t.iconExpandedHovered,c[":hover ."+p.msButtonMenuIcon]=t.menuIconExpandedHovered||t.rootExpandedHovered,c[":hover"]=t.rootExpandedHovered,c)}],a&&["is-disabled",t.rootDisabled],!a&&!f&&!s&&{selectors:(d={":hover":t.rootHovered},d[":hover ."+p.msButtonLabel]=t.labelHovered,d[":hover ."+p.msButtonIcon]=t.iconHovered,d[":hover ."+p.msButtonDescription]=t.descriptionHovered,d[":hover ."+p.msButtonMenuIcon]=t.menuIconHovered,d[":focus"]=t.rootFocused,d[":active"]=t.rootPressed,d[":active ."+p.msButtonIcon]=t.iconPressed,d[":active ."+p.msButtonDescription]=t.descriptionPressed,d[":active ."+p.msButtonMenuIcon]=t.menuIconPressed,d)},a&&s&&[t.rootCheckedDisabled],!a&&s&&{selectors:{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed}},n],flexContainer:[p.msButtonFlexContainer,t.flexContainer],textContainer:[p.msButtonTextContainer,t.textContainer],icon:[p.msButtonIcon,r,t.icon,f&&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&&!u&&t.menuIconDisabled,!a&&!f&&!s&&{selectors:{":hover":t.menuIconHovered,":active":t.menuIconPressed}},f&&["is-expanded",t.menuIconExpanded]],description:[p.msButtonDescription,t.description,s&&t.descriptionChecked,a&&t.descriptionDisabled],screenReaderText:[p.msButtonScreenReaderText,t.screenReaderText]})}),na=Bn(function(e,t,n,o,r){return{root:tt(e.splitButtonMenuButton,n&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],o&&!t&&[e.splitButtonMenuButtonChecked]),splitButtonContainer:tt(e.splitButtonContainer,o&&!t&&[e.splitButtonContainerChecked,{selectors:{":hover":e.splitButtonContainerCheckedHovered}}],!t&&!o&&[{selectors:{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}}],t&&e.splitButtonContainerDisabled),icon:tt(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&r&&e.splitButtonMenuIcon),flexContainer:tt(e.splitButtonFlexContainer),divider:tt(e.splitButtonDivider,(r||t)&&e.splitButtonDividerDisabled)}}),oa=function(e){function t(t,n){var r=e.call(this,t)||this;return r._buttonElement=o.createRef(),r._splitButtonContainer=o.createRef(),r._renderedPersistentMenu=!1,r._getMemoizedMenuButtonKeytipProps=Bn(function(e){return u({},e,{hasMenu:!0})}),r._onRenderIcon=function(e,t){var n=r.props.iconProps;if(n&&(void 0!==n.iconName||n.imageProps)){var i=n.className,a=c(n,["className"]);return o.createElement(io,u({className:M(r._classNames.icon,i)},a))}return null},r._onRenderTextContents=function(){var e=r.props,t=e.text,n=e.children,i=e.secondaryText,a=void 0===i?r.props.description:i,s=e.onRenderText,l=void 0===s?r._onRenderText:s,u=e.onRenderDescription,c=void 0===u?r._onRenderDescription:u;return t||"string"==typeof n||a?o.createElement("div",{className:r._classNames.textContainer},l(r.props,r._onRenderText),c(r.props,r._onRenderDescription)):[l(r.props,r._onRenderText),c(r.props,r._onRenderDescription)]},r._onRenderText=function(){var e=r.props.text,t=r.props.children;return void 0===e&&"string"==typeof t&&(e=t),r._hasText()?o.createElement("div",{key:r._labelId,className:r._classNames.label,id:r._labelId},e):null},r._onRenderChildren=function(){var e=r.props.children;return"string"==typeof e?null:e},r._onRenderDescription=function(e){var t=e.secondaryText,n=void 0===t?r.props.description:t;return n?o.createElement("div",{key:r._descriptionId,className:r._classNames.description,id:r._descriptionId},n):null},r._onRenderAriaDescription=function(){var e=r.props.ariaDescription;return e?o.createElement("span",{className:r._classNames.screenReaderText,id:r._ariaDescriptionId},e):null},r._onRenderMenuIcon=function(e){var t=r.props.menuIconProps;return o.createElement(io,u({iconName:"ChevronDown"},t,{className:r._classNames.menuIcon}))},r._onRenderMenu=function(e){var t=e.onDismiss,n=void 0===t?r._dismissMenu:t,i=r.props.menuAs||$i;return e.ariaLabel||e.labelElementId||!r._hasText()||(e=u({},e,{labelElementId:r._labelId})),o.createElement(i,u({id:r._labelId+"-menu",directionalHint:ao.bottomLeftEdge},e,{shouldFocusOnContainer:r.state.menuProps?r.state.menuProps.shouldFocusOnContainer:void 0,shouldFocusOnMount:r.state.menuProps?r.state.menuProps.shouldFocusOnMount:void 0,hidden:r.state.menuProps?r.state.menuProps.hidden:void 0,className:M("ms-BaseButton-menuhost",e.className),target:r._isSplitButton?r._splitButtonContainer.current:r._buttonElement.current,onDismiss:n}))},r._dismissMenu=function(){var e=null;r.props.persistMenu&&r.state.menuProps&&(e=u({},r.state.menuProps,{hidden:!0})),r.setState({menuProps:e})},r._openMenu=function(e,t){if(void 0===t&&(t=!0),r.props.menuProps){var n=u({},r.props.menuProps,{shouldFocusOnContainer:e,shouldFocusOnMount:t});r.props.persistMenu&&(r._renderedPersistentMenu=!0,n.hidden=!1),r.setState({menuProps:n})}},r._onToggleMenu=function(e){var t=r.state.menuProps,n=!0;r.props.menuProps&&!1===r.props.menuProps.shouldFocusOnMount&&(n=!1),r.props.persistMenu?!r._renderedPersistentMenu||t&&t.hidden?r._openMenu(e,n):r._dismissMenu():t?r._dismissMenu():r._openMenu(e,n)},r._onSplitContainerFocusCapture=function(e){var t=r._splitButtonContainer.current;!t||e.target&&N(e.target,t)||t.focus()},r._onSplitButtonPrimaryClick=function(e){r._isExpanded&&r._dismissMenu(),!r._processingTouch&&r.props.onClick?r.props.onClick(e):r._processingTouch&&r._onMenuClick(e)},r._onKeyDown=function(e){!r.props.disabled||e.which!==F.enter&&e.which!==F.space?r.props.disabled||(r.props.menuProps?r._onMenuKeyDown(e):void 0!==r.props.onKeyDown&&r.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},r._onKeyUp=function(e){r.props.disabled||void 0===r.props.onKeyUp||r.props.onKeyUp(e)},r._onKeyPress=function(e){r.props.disabled||void 0===r.props.onKeyPress||r.props.onKeyPress(e)},r._onMouseUp=function(e){r.props.disabled||void 0===r.props.onMouseUp||r.props.onMouseUp(e)},r._onMouseDown=function(e){r.props.disabled||void 0===r.props.onMouseDown||r.props.onMouseDown(e)},r._onClick=function(e){r.props.disabled||(r.props.menuProps?r._onMenuClick(e):void 0!==r.props.onClick&&r.props.onClick(e))},r._onSplitButtonContainerKeyDown=function(e){e.which===F.enter?r._buttonElement.current&&(r._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):r._onMenuKeyDown(e)},r._onMenuKeyDown=function(e){if(!r.props.disabled){r.props.onKeyDown&&r.props.onKeyDown(e);var t=e.which===F.up,n=e.which===F.down;if(!e.defaultPrevented&&r._isValidMenuOpenKey(e)){var o=r.props.onMenuClick;o&&o(e,r),r._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}e.altKey||e.metaKey||!t&&!n||(r.setState(function(e){return e.menuProps&&!e.menuProps.shouldFocusOnMount?{menuProps:u({},e.menuProps,{shouldFocusOnMount:!0})}:e}),r.state.menuProps&&!r.state.menuProps.shouldFocusOnMount&&(e.preventDefault(),e.stopPropagation()))}},r._onTouchStart=function(){!r._isSplitButton||!r._splitButtonContainer.current||"onpointerdown"in r._splitButtonContainer.current||r._handleTouchAndPointerEvent()},r._onMenuClick=function(e){var t=r.props.onMenuClick;if(t&&t(e,r),!e.defaultPrevented){var n=0!==e.nativeEvent.detail||"mouse"===e.nativeEvent.pointerType;r._onToggleMenu(n),e.preventDefault(),e.stopPropagation()}},r._warnConditionallyRequiredProps(["menuProps","onClick"],"split",r.props.split),r._warnDeprecations({rootProps:void 0,description:"secondaryText",toggled:"checked"}),r._labelId=Y(),r._descriptionId=Y(),r._ariaDescriptionId=Y(),r.state={menuProps:null},r}return l(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isExpanded",{get:function(){var e=this.state.menuProps;return this.props.persistMenu?!!e&&!e.hidden:!!e},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e.ariaDescription,n=e.ariaLabel,o=e.ariaHidden,r=e.className,i=e.disabled,a=e.allowDisabledFocus,s=e.primaryDisabled,l=e.secondaryText,u=void 0===l?this.props.description:l,c=e.href,d=e.iconProps,p=e.menuIconProps,f=e.styles,h=e.checked,m=e.variantClassName,g=e.theme,v=e.toggle,y=e.getClassNames,b=i||s;this._classNames=y?y(g,r,m,d&&d.className,p&&p.className,b,h,this._isExpanded,this.props.split,!!a):ta(g,f,r,m,d&&d.className,p&&p.className,b,h,this._isExpanded,this.props.split);var _=this._ariaDescriptionId,x=this._labelId,k=this._descriptionId,C=!b&&!!c,w=C?"a":"button",E=ne(V(C?{}:{type:"button"},this.props.rootProps,this.props),C?Z:X,["disabled"]),S=n||E["aria-label"],T=void 0;t?T=_:u?T=k:E["aria-describedby"]&&(T=E["aria-describedby"]);var I=void 0;S||(E["aria-labelledby"]?I=E["aria-labelledby"]:T&&(I=this._hasText()?x:void 0));var M=!(!1===this.props["data-is-focusable"]||i&&!a||this._isSplitButton),P=V(E,{className:this._classNames.root,ref:this._buttonElement,disabled:b&&!a,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":S,"aria-labelledby":I,"aria-describedby":T,"aria-disabled":b,"data-is-focusable":M,"aria-pressed":v?!!h:void 0});return o&&(P["aria-hidden"]=!0),this._isSplitButton?this._onRenderSplitButtonContent(w,P):(this.props.menuProps&&V(P,{"aria-expanded":this._isExpanded,"aria-owns":this.state.menuProps?this._labelId+"-menu":null,"aria-haspopup":!0}),this._onRenderContent(w,P))},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&"onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0)},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&t.menuProps&&(!this.state.menuProps||this.props.persistMenu&&!t.menuProps.hidden&&this.state.menuProps.hidden)&&this.props.onAfterMenuDismiss()},t.prototype.focus=function(){this._isSplitButton&&this._splitButtonContainer.current?this._splitButtonContainer.current.focus():this._buttonElement.current&&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,i=e,a=r.menuIconProps,s=r.menuProps,l=r.onRenderIcon,c=void 0===l?this._onRenderIcon:l,d=r.onRenderAriaDescription,p=void 0===d?this._onRenderAriaDescription:d,f=r.onRenderChildren,h=void 0===f?this._onRenderChildren:f,m=r.onRenderMenu,g=void 0===m?this._onRenderMenu:m,v=r.onRenderMenuIcon,y=void 0===v?this._onRenderMenuIcon:v,b=r.disabled,_=r.keytipProps;_&&s&&(_=this._getMemoizedMenuButtonKeytipProps(_));var x=function(e){return o.createElement(i,u({},t,e),o.createElement("div",{className:n._classNames.flexContainer},c(r,n._onRenderIcon),n._onRenderTextContents(),p(r,n._onRenderAriaDescription),h(r,n._onRenderChildren),!n._isSplitButton&&(s||a||n.props.onRenderMenuIcon)&&y(n.props,n._onRenderMenuIcon),n.state.menuProps&&!n.state.menuProps.doNotLayer&&g(s,n._onRenderMenu)))},k=_?o.createElement(Li,{keytipProps:this._isSplitButton?void 0:_,ariaDescribedBy:t["aria-describedby"],disabled:b},function(e){return x(e)}):x();return s&&s.doNotLayer?o.createElement("div",{style:{display:"inline-block"}},k,this.state.menuProps&&g(s,this._onRenderMenu)):k},t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)},t.prototype._onRenderSplitButtonContent=function(e,t){var n=this,r=this.props,i=r.styles,a=void 0===i?{}:i,s=r.disabled,l=r.allowDisabledFocus,c=r.checked,d=r.getSplitButtonClassNames,p=r.primaryDisabled,f=r.menuProps,h=r.toggle,m=this.props.keytipProps,g=d?d(!!s,this._isExpanded,!!c,!!l):a&&na(a,!!s,this._isExpanded,!!c,!!p);V(t,{onClick:void 0,tabIndex:-1,"data-is-focusable":!1});var v=t.ariaDescription;m&&f&&(m=this._getMemoizedMenuButtonKeytipProps(m));var y=ne(t,[],["disabled"]),b=function(r){return o.createElement("div",u({},y,{"data-ktp-target":r?r["data-ktp-target"]:void 0,role:"button","aria-disabled":s,"aria-haspopup":!0,"aria-expanded":n._isExpanded,"aria-pressed":h?!!c:void 0,"aria-describedby":oe(v,r?r["aria-describedby"]:void 0),className:g&&g.splitButtonContainer,onKeyDown:n._onSplitButtonContainerKeyDown,onTouchStart:n._onTouchStart,ref:n._splitButtonContainer,"data-is-focusable":!0,onClick:s||p?void 0:n._onSplitButtonPrimaryClick,tabIndex:!s||l?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:n._onSplitContainerFocusCapture}),o.createElement("span",{style:{display:"flex"}},n._onRenderContent(e,t),n._onRenderSplitButtonMenuButton(g,r),n._onRenderSplitButtonDivider(g)))};return m?o.createElement(Li,{keytipProps:m,disabled:s},function(e){return b(e)}):b()},t.prototype._onRenderSplitButtonDivider=function(e){return e&&e.divider?o.createElement("span",{className:e.divider,"aria-hidden":!0}):null},t.prototype._onRenderSplitButtonMenuButton=function(e,n){var r=this.props,i=r.allowDisabledFocus,a=r.checked,s=r.disabled,l=r.splitButtonMenuProps,c=this.props.menuIconProps,d=this.props.splitButtonAriaLabel;void 0===c&&(c={iconName:"ChevronDown"});var p=u({},l,{styles:e,checked:a,disabled:s,allowDisabledFocus:i,onClick:this._onMenuClick,menuProps:void 0,iconProps:u({},c,{className:this._classNames.menuIcon}),ariaLabel:d,"aria-haspopup":!0,"aria-expanded":this._isExpanded,"data-is-focusable":!1});return o.createElement(t,u({},p,{"data-ktp-execute-target":n?n["data-ktp-execute-target"]:n,onMouseDown:this._onMouseDown,tabIndex:-1}))},t.prototype._onPointerDown=function(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},500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&(e.which===F.down&&(e.altKey||e.metaKey))},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t}(he),ra={outline:0},ia={fontSize:sn.icon,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",verticalAlign:"middle",flexShrink:0},aa=Bn(function(e){var t,n=e.semanticColors,o=e.effects,r=n.buttonBorder,i=n.disabledBackground,a=n.disabledText,s={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"};return{root:[Sn(e,{inset:1,highContrastStyle:s,borderColor:"transparent"}),e.fonts.medium,{boxSizing:"border-box",border:"1px solid "+r,userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",padding:"0 16px",borderRadius:o.roundedCorner2,selectors:{":active > *":{position:"relative",left:0,top:0}}}],rootDisabled:[Sn(e,{inset:1,highContrastStyle:s,borderColor:"transparent"}),{backgroundColor:i,borderColor:i,color:a,cursor:"default",pointerEvents:"none",selectors:(t={":hover":ra,":focus":ra},t[wn]={color:"grayText",borderColor:"grayText"},t)}],iconDisabled:{color:a},menuIconDisabled:{color:a},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},textContainer:{flexGrow:1},icon:ia,menuIcon:[ia,{fontSize:sn.small}],label:{margin:"0 4px",lineHeight:"100%"},screenReaderText:In}}),sa=Bn(function(e,t){var n;return p(aa(e),{root:{padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},rootHovered:{color:e.palette.themePrimary,selectors:(n={},n[wn]={borderColor:"Highlight",color:"Highlight"},n)},iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:{color:e.palette.neutralTertiary,backgroundColor:"transparent",borderColor:"transparent"},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)}),la=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipComponentRefResolution=!0,t}return l(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return o.createElement(oa,u({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:sa(n,t),onRenderDescription:ge}))},t=d([di("ActionButton",["theme","styles"],!0)],t)}(he),ua={root:"ms-Nav",linkText:"ms-Nav-linkText",compositeLink:"ms-Nav-compositeLink",link:"ms-Nav-link",chevronButton:"ms-Nav-chevronButton",chevronIcon:"ms-Nav-chevron",navItem:"ms-Nav-navItem",navItems:"ms-Nav-navItems",group:"ms-Nav-group",groupContent:"ms-Nav-groupContent"},ca={textContainer:{overflow:"hidden"},label:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"36px"}};var da=Ze(),pa=I(function(e){function t(t){var n=e.call(this,t)||this;return n._onRenderLink=function(e){var t=n.props,r=t.styles,i=t.groups,a=t.theme,s=da(r,{theme:a,groups:i});return o.createElement("div",{className:s.linkText},e.name)},n._renderGroup=function(e,t){var r=n.props,i=r.styles,a=r.groups,s=r.theme,l=r.onRenderGroupHeader,u=void 0===l?n._renderGroupHeader:l,c=da(i,{theme:s,isGroup:!0,isExpanded:n._isGroupExpanded(e),groups:a});return o.createElement("div",{key:t,className:c.group},e.name?u(e,n._renderGroupHeader):null,o.createElement("div",{className:c.groupContent},n._renderLinks(e.links,0)))},n._renderGroupHeader=function(e){var t=n.props,r=t.styles,i=t.groups,a=t.theme,s=t.expandButtonAriaLabel,l=da(r,{theme:a,isGroup:!0,isExpanded:n._isGroupExpanded(e),groups:i});return o.createElement("button",{className:l.chevronButton,onClick:n._onGroupHeaderClicked.bind(n,e),"aria-label":s,"aria-expanded":n._isGroupExpanded(e)},o.createElement(io,{className:l.chevronIcon,iconName:"ChevronDown"}),e.name)},n.state={isGroupCollapsed:{},isLinkExpandStateChanged:!1,selectedKey:t.initialSelectedKey||t.selectedKey},n}return l(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.groups,r=e.className,i=e.isOnTop,a=e.theme;if(!n)return null;var s=n.map(this._renderGroup),l=da(t,{theme:a,className:r,isOnTop:i,groups:n});return o.createElement(Ko,{direction:so.vertical},o.createElement("nav",{role:"navigation",className:l.root,"aria-label":this.props.ariaLabel},s))},Object.defineProperty(t.prototype,"selectedKey",{get:function(){return this.state.selectedKey},enumerable:!0,configurable:!0}),t.prototype._renderNavLink=function(e,t,n){var r,i=this.props,a=i.styles,s=i.groups,l=i.theme,u=i.onRenderLink,c=void 0===u?this._onRenderLink:u,d=i.linkAs,p=void 0===d?la:d,f=e.icon||e.iconProps,h=da(a,{theme:l,isSelected:this._isLinkSelected(e),isDisabled:e.disabled,isButtonEntry:e.onClick&&!e.forceAnchor,leftPadding:14*n+3+(f?0:24),groups:s}),m=e.url&&e.target&&(!(r=e.url)||/^[a-z0-9+-.]:\/\//i.test(r))?"noopener noreferrer":void 0;return o.createElement(p,{className:h.link,styles:ca,href:e.url||(e.forceAnchor?"javascript:":void 0),iconProps:e.iconProps||{iconName:e.icon},onClick:e.onClick?this._onNavButtonLinkClicked.bind(this,e):this._onNavAnchorLinkClicked.bind(this,e),title:e.title||e.name,target:e.target,rel:m,disabled:e.disabled,"aria-label":e.ariaLabel},c(e,this._onRenderLink))},t.prototype._renderCompositeLink=function(e,t,n){var r=u({},ne(e,te,["onClick"])),i=this.props,a=i.expandButtonAriaLabel,s=i.styles,l=i.groups,c=i.theme,d=da(s,{theme:c,isExpanded:!!e.isExpanded,isSelected:this._isLinkSelected(e),isLink:!0,isDisabled:e.disabled,position:14*n+1,groups:l}),p=a?e.name+" "+a:e.name;return o.createElement("div",u({},r,{key:e.key||t,className:d.compositeLink}),e.links&&e.links.length>0?o.createElement("button",{className:d.chevronButton,onClick:this._onLinkExpandClicked.bind(this,e),"aria-label":p,"aria-expanded":e.isExpanded?"true":"false"},o.createElement(io,{className:d.chevronIcon,iconName:"ChevronDown"})):null,this._renderNavLink(e,t,n))},t.prototype._renderLink=function(e,t,n){var r=this.props,i=r.styles,a=r.groups,s=r.theme,l=da(i,{theme:s,groups:a});return o.createElement("li",{key:e.key||t,role:"listitem",className:l.navItem},this._renderCompositeLink(e,t,n),e.isExpanded?this._renderLinks(e.links,++n):null)},t.prototype._renderLinks=function(e,t){var n=this;if(!e||!e.length)return null;var r=e.map(function(e,o){return n._renderLink(e,o,t)}),i=this.props,a=i.styles,s=i.groups,l=i.theme,u=da(a,{theme:l,groups:s});return o.createElement("ul",{role:"list",className:u.navItems},r)},t.prototype._onGroupHeaderClicked=function(e,t){e.onHeaderClick&&e.onHeaderClick(t,this._isGroupExpanded(e)),this._toggleCollapsed(e),t.preventDefault(),t.stopPropagation()},t.prototype._onLinkExpandClicked=function(e,t){var n=this.props.onLinkExpandClick;n&&n(t,e),t.defaultPrevented||(e.isExpanded=!e.isExpanded,this.setState({isLinkExpandStateChanged:!0})),t.preventDefault(),t.stopPropagation()},t.prototype._onNavAnchorLinkClicked=function(e,t){this.props.onLinkClick&&this.props.onLinkClick(t,e),!e.url&&e.links&&e.links.length>0&&this._onLinkExpandClicked(e,t),this.setState({selectedKey:e.key})},t.prototype._onNavButtonLinkClicked=function(e,t){e.onClick&&e.onClick(t,e),!e.url&&e.links&&e.links.length>0&&this._onLinkExpandClicked(e,t),this.setState({selectedKey:e.key})},t.prototype._isLinkSelected=function(e){if(void 0!==this.props.selectedKey)return e.key===this.props.selectedKey;if(void 0!==this.state.selectedKey)return e.key===this.state.selectedKey;if(void 0===m()||!e.url)return!1;(Ji=Ji||document.createElement("a")).href=e.url||"";var t=Ji.href;return location.href===t||(location.protocol+"//"+location.host+location.pathname===t||!!location.hash&&(location.hash===e.url||(Ji.href=location.hash.substring(1),Ji.href===t)))},t.prototype._isGroupExpanded=function(e){return e.name&&this.state.isGroupCollapsed.hasOwnProperty(e.name)?!this.state.isGroupCollapsed[e.name]:void 0===e.collapseByDefault||!e.collapseByDefault},t.prototype._toggleCollapsed=function(e){var t;if(e.name){var n=u({},this.state.isGroupCollapsed,((t={})[e.name]=this._isGroupExpanded(e),t));this.setState({isGroupCollapsed:n})}},t.defaultProps={groups:null},t}(o.Component),function(e){var t=e.className,n=e.theme,o=e.isOnTop,r=e.isExpanded,i=e.isGroup,a=e.isLink,s=e.isSelected,l=e.isDisabled,u=e.isButtonEntry,c=e.navHeight,d=void 0===c?36:c,p=e.position,f=e.leftPadding,h=void 0===f?20:f,m=e.leftPaddingExpanded,g=void 0===m?28:m,v=e.rightPadding,y=void 0===v?20:v,b=n.palette,_=n.semanticColors,x=Ln(ua,n);return{root:[x.root,t,n.fonts.medium,{overflowY:"auto",userSelect:"none",WebkitOverflowScrolling:"touch"},o&&[{position:"absolute"},Xn.slideRightIn40]],linkText:[x.linkText,{margin:"0 4px",overflow:"hidden",verticalAlign:"middle",textAlign:"left",textOverflow:"ellipsis"}],compositeLink:[x.compositeLink,{display:"block",position:"relative",color:_.bodyText,backgroundColor:_.bodyBackground},r&&"is-expanded",s&&"is-selected",l&&"is-disabled",l&&{color:_.disabledText}],link:[x.link,Sn(n),{display:"block",position:"relative",height:d+"px",width:"100%",lineHeight:d+"px",textDecoration:"none",cursor:"pointer",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",paddingLeft:h,paddingRight:y,color:_.bodyText,selectors:l?{}:{".ms-Nav-compositeLink:hover &":{backgroundColor:b.neutralLighterAlt,color:_.bodyText}}},s&&{color:b.themePrimary,backgroundColor:b.neutralLighter,selectors:{"&:after":{borderLeft:"2px solid "+b.themePrimary,content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"}}},l&&{color:_.disabledText},u&&{color:b.themePrimary}],chevronButton:[x.chevronButton,Sn(n),{display:"block",fontWeight:ln.regular,fontSize:sn.small,textAlign:"left",lineHeight:d+"px",margin:"5px 0",padding:"0px, "+y+"px, 0px, "+g+"px",border:"none",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",cursor:"pointer",color:_.bodyText,backgroundColor:"transparent",selectors:{"&:visited":{color:"inherit"},"&:hover":{color:_.bodyText,backgroundColor:b.neutralLighterAlt},"$compositeLink:hover &":{color:_.bodyText,backgroundColor:b.neutralLighterAlt}}},i&&[{width:"100%",height:d+"px",borderBottom:"1px solid "+_.bodyDivider},_n.large],a&&[{display:"block",width:g-2+"px",height:d-2+"px",position:"absolute",top:"1px",left:p+"px",zIndex:Cn.Nav,padding:0,margin:0}],s&&{color:b.themePrimary,backgroundColor:b.neutralLighterAlt,selectors:{"&:after":{borderLeft:"2px solid "+b.themePrimary,content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,pointerEvents:"none"}}}],chevronIcon:[x.chevronIcon,{position:"absolute",left:"8px",height:d+"px",lineHeight:d+"px",fontSize:"12px",transition:"transform .1s linear"},r&&{transform:"rotate(-180deg)"},a&&{top:0}],navItem:[x.navItem,{padding:0}],navItems:[x.navItems,{listStyleType:"none",padding:0}],group:[x.group,r&&"is-expanded"],groupContent:[x.groupContent,{display:"none",marginBottom:"40px"},Xn.slideDownIn20,r&&{display:"block"}]}},void 0,{scope:"Nav"}),fa=u;function ha(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=e;return i.isSlot?0===o.Children.count(n)?i(t):(n=o.Children.toArray(n),i(u({},t,{children:n}))):o.createElement.apply(o,[e,t].concat(n))}function ma(e,t){void 0===t&&(t={});var n=t.defaultProp,r=void 0===n?"children":n;return function(t,n,i,a){if(o.isValidElement(n))return n;var s=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o={},r=[],i=0,a=t;i<a.length;i++){var s=a[i];r.push(s&&s.className),fa.apply(void 0,[o].concat(s))}return o.className=tt(e,r),o}(a,t,function(e,t){var n,o;return"string"==typeof t||"number"==typeof t||"boolean"==typeof t?((n={})[e]=t,o=n):o=t,o}(r,n));if(i){if(i.component){var l=i.component;return o.createElement(l,u({},s))}if(i.render)return i.render(s,e)}return o.createElement(e,u({},s))}}var ga=Bn(function(e){return ma(e)});function va(e,t){var n={},o=e,r=function(e){if(t.hasOwnProperty(e)){var r=function(n){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];if(r.length>0)throw new Error("Any module using getSlots must use withSlots. Please see withSlots javadoc for more info.");return ya(t[e],n,o[e],o.slots&&o.slots[e],o._defaultStyles&&o._defaultStyles[e])};r.isSlot=!0,n[e]=r}};for(var i in t)r(i);return n}function ya(e,t,n,o,r){return void 0!==e.create?e.create(t,n,o,r):ga(e)(t,n,o,r)}function ba(e,t){void 0===t&&(t={});var n=t.factoryOptions,r=(void 0===n?{}:n).defaultProp,i=function(n){var r,i,a,s=(r=t.displayName,i=o.useContext(S),a=t.fields,E.getSettings(a||["theme","styles","tokens"],r,i.customizations)),l=t.state;l&&(n=u({},n,l(n)));var c=n.theme||s.theme,d=function e(t,n){var o=[];for(var r=2;r<arguments.length;r++)o[r-2]=arguments[r];var i={};for(var a=0,s=o;a<s.length;a++){var l=s[a];l&&(l="function"==typeof l?l(t,n):l,Array.isArray(l)&&(l=e.apply(void 0,[t,n].concat(l))),fa.apply(void 0,[i].concat(l)))}return i}(n,c,t.tokens,s.tokens,n.tokens),f=function(e,t,n){for(var o=[],r=3;r<arguments.length;r++)o[r-3]=arguments[r];return p.apply(void 0,o.map(function(o){return"function"==typeof o?o(e,t,n):o}))}(n,c,d,t.styles,s.styles,n.styles),h=u({},n,{styles:f,tokens:d,_defaultStyles:f});return e(h)};return i.displayName=t.displayName||e.name,r&&(i.create=ma(i,{defaultProp:r})),fa(i,t.statics),i}var _a=ba(function(e){if(!e.children)return null;e.block,e.className;var t=e.as,n=void 0===t?"span":t,o=(e.variant,e.nowrap,c(e,["block","className","as","variant","nowrap"]));return ha(va(e,{root:n}).root,u({},ne(o,Q)))},{displayName:"Text",styles:function(e,t){var n=e.as,o=e.className,r=e.block,i=e.nowrap,a=e.variant,s=t.fonts[a||"medium"];return{root:[t.fonts.medium,{display:r?"td"===n?"table-cell":"block":"inline",fontFamily:s&&s.fontFamily||"inherit",fontSize:s&&s.fontSize||"inherit",fontWeight:s&&s.fontWeight||"inherit",color:s&&s.color||"inherit",mozOsxFontSmoothing:s&&s.MozOsxFontSmoothing,webkitFontSmoothing:s&&s.WebkitFontSmoothing},i&&{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},o]}}}),xa=function(e,t){return t.spacing.hasOwnProperty(e)?t.spacing[e]:e},ka=function(e){var t=parseFloat(e),n=isNaN(t)?0:t,o=isNaN(t)?"":t.toString();return{value:n,unit:e.substring(o.toString().length)||"px"}},Ca=function(e,t){if(void 0===e||"number"==typeof e||""===e)return e;var n=e.split(" ");return n.length<2?xa(e,t):n.reduce(function(e,n){return xa(e,t)+" "+xa(n,t)})},wa={start:"flex-start",end:"flex-end"},Ea={root:"ms-Stack",inner:"ms-Stack-inner"},Sa={root:"ms-StackItem"},Ta={start:"flex-start",end:"flex-end"},Ia=ba(function(e){var t=e.children;return o.Children.count(t)<1?null:ha(va(e,{root:"div"}).root,null,t)},{displayName:"StackItem",styles:function(e,t,n){var o=e.grow,r=e.shrink,i=e.disableShrink,a=e.align,s=e.verticalFill,l=e.order,u=e.className,c=Ln(Sa,t);return{root:[t.fonts.medium,c.root,{margin:n.margin,height:s?"100%":"auto",width:"auto"},o&&{flexGrow:!0===o?1:o},(i||!o&&!r)&&{flexShrink:0},r&&!i&&{flexShrink:1},a&&{alignSelf:Ta[a]||a},l&&{order:l},u]}}}),Ma=ha(Ia,null).type,Pa=ba(function(e){var t=e.as,n=void 0===t?"div":t,r=e.disableShrink,i=e.wrap,a=c(e,["as","disableShrink","wrap"]),s=o.Children.map(e.children,function(e,t){if(!e)return null;if(e.type===Ma){var n={shrink:!r};return o.cloneElement(e,u({},n,e.props))}return e}),l=ne(a,Q),d=va(e,{root:n,inner:"div"});return ha(d.root,u({},l),i?ha(d.inner,null,s):s)},{displayName:"Stack",styles:function(e,t,n){var o,r,i,a,s,l,c,d=e.verticalFill,p=e.horizontal,f=e.reversed,h=e.gap,m=e.grow,g=e.wrap,v=e.horizontalAlign,y=e.verticalAlign,b=e.disableShrink,_=e.className,x=Ln(Ea,t),k=n&&n.childrenGap?n.childrenGap:h,C=n&&n.maxHeight?n.maxHeight:e.maxHeight,w=n&&n.maxWidth?n.maxWidth:e.maxWidth,E=n&&n.padding?n.padding:e.padding,S=function(e,t){if(void 0===e||""===e)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if("number"==typeof e)return{rowGap:{value:e,unit:"px"},columnGap:{value:e,unit:"px"}};var n=e.split(" ");if(n.length>2)return{rowGap:{value:0,unit:"px"},columnGap:{value:0,unit:"px"}};if(2===n.length)return{rowGap:ka(xa(n[0],t)),columnGap:ka(xa(n[1],t))};var o=ka(xa(e,t));return{rowGap:o,columnGap:o}}(k,t),T=S.rowGap,I=S.columnGap,M=""+-.5*I.value+I.unit,P=""+-.5*T.value+T.unit,D={textOverflow:"ellipsis"},A={"> *:not(.ms-StackItem)":{flexShrink:b?0:1}};return g?{root:[x.root,{flexWrap:"wrap",maxWidth:w,maxHeight:C,width:"auto",overflow:"visible",height:"100%"},v&&(o={},o[p?"justifyContent":"alignItems"]=wa[v]||v,o),y&&(r={},r[p?"alignItems":"justifyContent"]=wa[y]||y,r),_,{display:"flex"},p&&{height:d?"100%":"auto"}],inner:[x.inner,{display:"flex",flexWrap:"wrap",marginLeft:M,marginRight:M,marginTop:P,marginBottom:P,overflow:"visible",boxSizing:"border-box",padding:Ca(E,t),width:0===I.value?"100%":"calc(100% + "+I.value+I.unit+")",maxWidth:"100vw",selectors:u({"> *":u({margin:""+.5*T.value+T.unit+" "+.5*I.value+I.unit},D)},A)},v&&(i={},i[p?"justifyContent":"alignItems"]=wa[v]||v,i),y&&(a={},a[p?"alignItems":"justifyContent"]=wa[y]||y,a),p&&{flexDirection:f?"row-reverse":"row",height:0===T.value?"100%":"calc(100% + "+T.value+T.unit+")",selectors:{"> *":{maxWidth:0===I.value?"100%":"calc(100% - "+I.value+I.unit+")"}}},!p&&{flexDirection:f?"column-reverse":"column",height:"calc(100% + "+T.value+T.unit+")",selectors:{"> *":{maxHeight:0===T.value?"100%":"calc(100% - "+T.value+T.unit+")"}}}]}:{root:[x.root,{display:"flex",flexDirection:p?f?"row-reverse":"row":f?"column-reverse":"column",flexWrap:"nowrap",width:"auto",height:d?"100%":"auto",maxWidth:w,maxHeight:C,padding:Ca(E,t),boxSizing:"border-box",selectors:u((s={"> *":D},s[f?"> *:not(:last-child)":"> *:not(:first-child)"]=[p&&{marginLeft:""+I.value+I.unit},!p&&{marginTop:""+T.value+T.unit}],s),A)},m&&{flexGrow:!0===m?1:m,overflow:"hidden"},v&&(l={},l[p?"justifyContent":"alignItems"]=wa[v]||v,l),y&&(c={},c[p?"alignItems":"justifyContent"]=wa[y]||y,c),_]}},statics:{Item:Ia}}),Da=Bn(function(e,t){var n=e.effects,o=e.palette,r={position:"absolute",width:1,right:31,top:8,bottom:8};return p({splitButtonContainer:[Sn(e,{highContrastStyle:{left:-2,top:-2,bottom:-2,right:-2,border:"none"}}),{display:"inline-flex",selectors:{".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none"},".ms-Button--primary":{borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none"},".ms-Button--primary + .ms-Button":{border:"none"}}}],splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:{padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:n.roundedCorner2,borderBottomRightRadius:n.roundedCorner2,border:"1px solid "+o.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},splitButtonDivider:r,splitButtonDividerDisabled:r,splitButtonMenuButtonDisabled:{pointerEvents:"none",border:"none",selectors:{":hover":{cursor:"default"}}},splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:{outline:"none",border:"none"}},t)});var Aa,Na,Ba=Bn(function(e,t,n){var o=aa(e),r=Da(e);return p(o,{root:{minWidth:"80px",height:"32px"},label:{fontWeight:ln.semibold}},n?function(e){var t,n,o,r,i,a,s=e.palette,l=e.semanticColors;return{root:{backgroundColor:l.primaryButtonBackground,color:l.primaryButtonText,border:"none",selectors:(t={},t[wn]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},t["."+ce+" &:focus"]={selectors:{":after":{outline:"none",borderColor:s.white}}},t)},rootHovered:{backgroundColor:l.primaryButtonBackgroundHovered,color:l.primaryButtonTextHovered,selectors:(n={},n[wn]={color:"Window",backgroundColor:"Highlight"},n)},rootPressed:{backgroundColor:l.primaryButtonBackgroundPressed,color:l.primaryButtonTextPressed,selectors:(o={},o[wn]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},o)},rootExpanded:{backgroundColor:l.primaryButtonBackgroundPressed,color:l.primaryButtonTextPressed},rootChecked:{backgroundColor:l.primaryButtonBackgroundPressed,color:l.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:l.primaryButtonBackgroundPressed,color:l.primaryButtonTextPressed},rootDisabled:{selectors:(r={},r[wn]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},r)},splitButtonContainer:{selectors:(i={},i[wn]={border:"none"},i)},splitButtonDivider:{backgroundColor:s.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:l.primaryButtonBackground,color:l.primaryButtonText,selectors:{":hover":{backgroundColor:l.primaryButtonBackgroundHovered,selectors:(a={},a[wn]={color:"Highlight"},a)}}},splitButtonMenuButtonDisabled:{backgroundColor:l.primaryButtonBackgroundDisabled,selectors:{":hover":{backgroundColor:l.primaryButtonBackgroundDisabled}}},splitButtonMenuButtonChecked:{backgroundColor:l.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:l.primaryButtonBackgroundPressed}}},splitButtonMenuButtonExpanded:{backgroundColor:l.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:l.primaryButtonBackgroundPressed}}},splitButtonMenuIcon:{color:l.primaryButtonText},splitButtonMenuIconDisabled:{color:s.neutralTertiary}}}(e):function(e){var t,n,o,r=e.semanticColors,i=e.palette,a=r.buttonBackground,s=r.buttonBackgroundPressed,l=r.buttonBackgroundHovered,u=r.buttonText,c=r.buttonTextHovered,d=r.buttonTextChecked,p=r.buttonTextCheckedHovered;return{root:{backgroundColor:a,color:u},rootHovered:{backgroundColor:l,color:c,selectors:(t={},t[wn]={borderColor:"Highlight",color:"Highlight"},t)},rootPressed:{backgroundColor:s,color:d},rootExpanded:{backgroundColor:s,color:d},rootChecked:{backgroundColor:s,color:d},rootCheckedHovered:{backgroundColor:s,color:p},splitButtonContainer:{selectors:(n={},n[wn]={border:"none"},n)},splitButtonMenuButton:{color:i.white,backgroundColor:"transparent",selectors:{":hover":{backgroundColor:i.neutralLight,selectors:(o={},o[wn]={color:"Highlight"},o)}}},splitButtonMenuButtonDisabled:{backgroundColor:r.buttonBackgroundDisabled,selectors:{":hover":{backgroundColor:r.buttonBackgroundDisabled}}},splitButtonDivider:{backgroundColor:i.neutralTertiaryAlt},splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:i.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:i.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:i.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:i.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:r.buttonText},splitButtonMenuIconDisabled:{color:r.buttonTextDisabled}}}(e),r,t)}),Fa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipComponentRefResolution=!0,t}return l(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,r=e.styles,i=e.theme;return o.createElement(oa,u({},this.props,{variantClassName:n?"ms-Button--primary":"ms-Button--default",styles:Ba(i,r,n),onRenderDescription:ge}))},t=d([di("DefaultButton",["theme","styles"],!0)],t)}(he),Oa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipComponentRefResolution=!0,t}return l(t,e),t.prototype.render=function(){return o.createElement(Fa,u({},this.props,{primary:!0,onRenderDescription:ge}))},t=d([di("PrimaryButton",["theme","styles"],!0)],t)}(he);!function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(Aa||(Aa={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(Na||(Na={}));var Ra,La=function(e){function t(t){var n=e.call(this,t)||this;return n.state={isRendered:!1},n}return l(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=setTimeout(function(){e.setState({isRendered:!0})},t)},t.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},t.prototype.render=function(){return this.state.isRendered?o.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(o.Component),Ha=Ze(),Wa=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.render=function(){var e=this.props,t=e.type,n=e.size,r=e.ariaLabel,i=e.ariaLive,a=e.styles,s=e.label,l=e.theme,c=e.className,d=e.labelPosition,p=r,f=ne(this.props,te,["size"]),h=n;void 0===h&&void 0!==t&&(h=t===Na.large?Aa.large:Aa.medium);var m=Ha(a,{theme:l,size:h,className:c,labelPosition:d});return o.createElement("div",u({},f,{className:m.root}),o.createElement("div",{className:m.circle}),s&&o.createElement("div",{className:m.label},s),p&&o.createElement("div",{role:"status","aria-live":i},o.createElement(La,null,o.createElement("div",{className:m.screenReaderText},p))))},t.defaultProps={size:Aa.medium,ariaLive:"polite",labelPosition:"bottom"},t}(he),za={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},Ua=nt({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Ka=I(Wa,function(e){var t,n=e.theme,o=e.size,r=e.className,i=e.labelPosition,a=n.palette,s=Ln(za,n);return{root:[s.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"top"===i&&{flexDirection:"column-reverse"},"right"===i&&{flexDirection:"row"},"left"===i&&{flexDirection:"row-reverse"},r],circle:[s.circle,{boxSizing:"border-box",borderRadius:"50%",border:"1.5px solid "+a.themeLight,borderTopColor:a.themePrimary,animationName:Ua,animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[wn]={borderTopColor:"Highlight"},t)},o===Aa.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],o===Aa.small&&["ms-Spinner--small",{width:16,height:16}],o===Aa.medium&&["ms-Spinner--medium",{width:20,height:20}],o===Aa.large&&["ms-Spinner--large",{width:28,height:28}]],label:[s.label,{color:a.themePrimary,margin:"10px 0 0",textAlign:"center"},"top"===i&&{margin:"0 0 10px"},"right"===i&&{margin:"0 0 0 10px"},"left"===i&&{margin:"0 10px 0 0"}],screenReaderText:In}},void 0,{scope:"Spinner"}),ja={root:"ms-ScrollablePane",contentContainer:"ms-ScrollablePane--contentContainer"},Va=o.createContext({scrollablePane:void 0}),Ga=Ze(),qa=I(function(e){function t(t){var n=e.call(this,t)||this;return n._root=o.createRef(),n._stickyAboveRef=o.createRef(),n._stickyBelowRef=o.createRef(),n._contentContainer=o.createRef(),n.subscribe=function(e){n._subscribers.add(e)},n.unsubscribe=function(e){n._subscribers.delete(e)},n.addSticky=function(e){n._stickies.add(e),n.contentContainer&&(e.setDistanceFromTop(n.contentContainer),n.sortSticky(e))},n.removeSticky=function(e){n._stickies.delete(e),n._removeStickyFromContainers(e),n.notifySubscribers()},n.sortSticky=function(e,t){n.stickyAbove&&n.stickyBelow&&(t&&n._removeStickyFromContainers(e),e.canStickyTop&&e.stickyContentTop&&n._addToStickyContainer(e,n.stickyAbove,e.stickyContentTop),e.canStickyBottom&&e.stickyContentBottom&&n._addToStickyContainer(e,n.stickyBelow,e.stickyContentBottom))},n.updateStickyRefHeights=function(){var e=n._stickies,t=0,o=0;e.forEach(function(e){var r=e.state,i=r.isStickyTop,a=r.isStickyBottom;e.nonStickyContent&&(i&&(t+=e.nonStickyContent.offsetHeight),a&&(o+=e.nonStickyContent.offsetHeight),n._checkStickyStatus(e))}),n.setState({stickyTopHeight:t,stickyBottomHeight:o})},n.notifySubscribers=function(){n.contentContainer&&n._subscribers.forEach(function(e){e(n.contentContainer,n.stickyBelow)})},n.getScrollPosition=function(){return n.contentContainer?n.contentContainer.scrollTop:0},n.syncScrollSticky=function(e){e&&n.contentContainer&&e.syncScroll(n.contentContainer)},n._getScrollablePaneContext=function(){return{scrollablePane:{subscribe:n.subscribe,unsubscribe:n.unsubscribe,addSticky:n.addSticky,removeSticky:n.removeSticky,updateStickyRefHeights:n.updateStickyRefHeights,sortSticky:n.sortSticky,notifySubscribers:n.notifySubscribers,syncScrollSticky:n.syncScrollSticky}}},n._addToStickyContainer=function(e,t,o){if(t.children.length){if(!t.contains(o)){var r=[].slice.call(t.children),i=[];n._stickies.forEach(function(o){t===n.stickyAbove&&e.canStickyTop?i.push(o):e.canStickyBottom&&i.push(o)});var a=i.sort(function(e,t){return(e.state.distanceFromTop||0)-(t.state.distanceFromTop||0)}).filter(function(e){var o=t===n.stickyAbove?e.stickyContentTop:e.stickyContentBottom;if(o)return r.indexOf(o)>-1}),s=void 0;for(var l in a)if((a[l].state.distanceFromTop||0)>=(e.state.distanceFromTop||0)){s=a[l];break}var u=null;s&&(u=t===n.stickyAbove?s.stickyContentTop:s.stickyContentBottom),t.insertBefore(o,u)}}else t.appendChild(o)},n._removeStickyFromContainers=function(e){n.stickyAbove&&e.stickyContentTop&&n.stickyAbove.contains(e.stickyContentTop)&&n.stickyAbove.removeChild(e.stickyContentTop),n.stickyBelow&&e.stickyContentBottom&&n.stickyBelow.contains(e.stickyContentBottom)&&n.stickyBelow.removeChild(e.stickyContentBottom)},n._onWindowResize=function(){var e=n._getScrollbarWidth(),t=n._getScrollbarHeight();n.setState({scrollbarWidth:e,scrollbarHeight:t}),n.notifySubscribers()},n._getStickyContainerStyle=function(e,t){return u({height:e},So()?{right:"0",left:(n.state.scrollbarWidth||n._getScrollbarWidth()||0)+"px"}:{left:"0",right:(n.state.scrollbarWidth||n._getScrollbarWidth()||0)+"px"},t?{top:"0"}:{bottom:(n.state.scrollbarHeight||n._getScrollbarHeight()||0)+"px"})},n._onScroll=function(){var e=n.contentContainer;e&&n._stickies.forEach(function(t){t.syncScroll(e)}),n._notifyThrottled()},n._subscribers=new Set,n._stickies=new Set,n.state={stickyTopHeight:0,stickyBottomHeight:0,scrollbarWidth:0,scrollbarHeight:0},n._notifyThrottled=n._async.throttle(n.notifySubscribers,50),n}return l(t,e),Object.defineProperty(t.prototype,"root",{get:function(){return this._root.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stickyAbove",{get:function(){return this._stickyAboveRef.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stickyBelow",{get:function(){return this._stickyBelowRef.current},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentContainer",{get:function(){return this._contentContainer.current},enumerable:!0,configurable:!0}),t.prototype.componentDidMount=function(){var e=this,t=this.props.initialScrollPosition;this._events.on(this.contentContainer,"scroll",this._onScroll),this._events.on(window,"resize",this._onWindowResize),this.contentContainer&&t&&(this.contentContainer.scrollTop=t),this.setStickiesDistanceFromTop(),this._stickies.forEach(function(t){e.sortSticky(t)}),this.notifySubscribers(),"MutationObserver"in window&&(this._mutationObserver=new MutationObserver(function(t){var n=e._getScrollbarHeight();if(n!==e.state.scrollbarHeight&&e.setState({scrollbarHeight:n}),e.notifySubscribers(),t.some(function(e){return null!==this.stickyAbove&&null!==this.stickyBelow&&(this.stickyAbove.contains(e.target)||this.stickyBelow.contains(e.target))}.bind(e)))e.updateStickyRefHeights();else{var o=[];e._stickies.forEach(function(e){e.root&&e.root.contains(t[0].target)&&o.push(e)}),o.length&&o.forEach(function(e){e.forceUpdate()})}}),this.root&&this._mutationObserver.observe(this.root,{childList:!0,attributes:!0,subtree:!0,characterData:!0}))},t.prototype.componentWillUnmount=function(){this._events.off(this.contentContainer),this._events.off(window),this._mutationObserver&&this._mutationObserver.disconnect()},t.prototype.shouldComponentUpdate=function(e,t){return this.props.children!==e.children||this.props.initialScrollPosition!==e.initialScrollPosition||this.props.className!==e.className||this.state.stickyTopHeight!==t.stickyTopHeight||this.state.stickyBottomHeight!==t.stickyBottomHeight||this.state.scrollbarWidth!==t.scrollbarWidth||this.state.scrollbarHeight!==t.scrollbarHeight},t.prototype.componentDidUpdate=function(e,t){var n=this.props.initialScrollPosition;this.contentContainer&&"number"==typeof n&&e.initialScrollPosition!==n&&(this.contentContainer.scrollTop=n),t.stickyTopHeight===this.state.stickyTopHeight&&t.stickyBottomHeight===this.state.stickyBottomHeight||this.notifySubscribers(),this._async.setTimeout(this._onWindowResize,0)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.theme,r=e.styles,i=this.state,a=i.stickyTopHeight,s=i.stickyBottomHeight,l=Ga(r,{theme:n,className:t,scrollbarVisibility:this.props.scrollbarVisibility});return o.createElement("div",u({},ne(this.props,te),{ref:this._root,className:l.root}),o.createElement("div",{ref:this._contentContainer,className:l.contentContainer,"data-is-scrollable":!0},o.createElement(Va.Provider,{value:this._getScrollablePaneContext()},this.props.children)),o.createElement("div",{ref:this._stickyAboveRef,className:l.stickyAbove,style:this._getStickyContainerStyle(a,!0)}),o.createElement("div",{className:l.stickyBelow,style:this._getStickyContainerStyle(s,!1)},o.createElement("div",{ref:this._stickyBelowRef,className:l.stickyBelowItems})))},t.prototype.setStickiesDistanceFromTop=function(){var e=this;this.contentContainer&&this._stickies.forEach(function(t){t.setDistanceFromTop(e.contentContainer)})},t.prototype.forceLayoutUpdate=function(){this._onWindowResize()},t.prototype._checkStickyStatus=function(e){this.stickyAbove&&this.stickyBelow&&this.contentContainer&&e.nonStickyContent&&(e.state.isStickyTop||e.state.isStickyBottom?(e.state.isStickyTop&&!this.stickyAbove.contains(e.nonStickyContent)&&e.stickyContentTop&&e.addSticky(e.stickyContentTop),e.state.isStickyBottom&&!this.stickyBelow.contains(e.nonStickyContent)&&e.stickyContentBottom&&e.addSticky(e.stickyContentBottom)):this.contentContainer.contains(e.nonStickyContent)||e.resetSticky())},t.prototype._getScrollbarWidth=function(){var e=this.contentContainer;return e?e.offsetWidth-e.clientWidth:0},t.prototype._getScrollbarHeight=function(){var e=this.contentContainer;return e?e.offsetHeight-e.clientHeight:0},t}(he),function(e){var t,n,o=e.className,r=e.theme,i=Ln(ja,r),a={position:"absolute",pointerEvents:"auto"},s={position:"absolute",top:0,right:0,bottom:0,left:0,WebkitOverflowScrolling:"touch"};return{root:[i.root,r.fonts.medium,s,o],contentContainer:[i.contentContainer,{overflowY:"always"===e.scrollbarVisibility?"scroll":"auto"},s],stickyAbove:[{top:0,selectors:(t={},t[wn]={borderBottom:"1px solid WindowText"},t)},a],stickyBelow:[{bottom:0,selectors:(n={},n[wn]={borderTop:"1px solid WindowText"},n)},a],stickyBelowItems:[{bottom:0},a,{width:"100%"}]}},void 0,{scope:"ScrollablePane"});!function(e){e[e.normal=0]="normal",e[e.largeHeader=1]="largeHeader",e[e.close=2]="close"}(Ra||(Ra={}));var Ya=function(e){function t(n){var r=e.call(this,n)||this;return r._root=o.createRef(),r._firstBumper=o.createRef(),r._lastBumper=o.createRef(),r._hasFocus=!1,r._onRootFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r._hasFocus=!0},r._onRootBlur=function(e){r.props.onBlur&&r.props.onBlur(e);var t=e.relatedTarget;null===e.relatedTarget&&(t=document.activeElement),uo(r._root.current,t)||(r._hasFocus=!1)},r._onFirstBumperFocus=function(){r._onBumperFocus(!0)},r._onLastBumperFocus=function(){r._onBumperFocus(!1)},r._onBumperFocus=function(e){if(!r.props.disabled){var t,n,o=e===r._hasFocus?r._lastBumper.current:r._firstBumper.current;if(r._root.current){var i=e===r._hasFocus?(t=r._root.current,void 0===(n=!1)&&(n=!0),mo(t,o,n,!1,!0,!0,!1,!0)):function(e,t,n,o){return void 0===o&&(o=!0),go(e,t,o,!1,!1,n,!1,!0)}(r._root.current,o,!0,!1);i&&(r._isBumper(i)?r.focus():i.focus())}}},r._onFocusCapture=function(e){r.props.onFocusCapture&&r.props.onFocusCapture(e),e.target===e.currentTarget||r._isBumper(e.target)||(r._previouslyFocusedElementInTrapZone=e.target)},r._forceFocusInTrap=function(e){if(!r.props.disabled&&t._focusStack.length&&r===t._focusStack[t._focusStack.length-1]){var n=document.activeElement;uo(r._root.current,n)||(r.focus(),r._hasFocus=!0,e.preventDefault(),e.stopPropagation())}},r._forceClickInTrap=function(e){if(!r.props.disabled&&t._focusStack.length&&r===t._focusStack[t._focusStack.length-1]){var n=e.target;n&&!uo(r._root.current,n)&&(r.focus(),r._hasFocus=!0,e.preventDefault(),e.stopPropagation())}},Io(r),r}return l(t,e),t.prototype.componentDidMount=function(){this._bringFocusIntoZone(),this._updateEventHandlers(this.props)},t.prototype.componentWillReceiveProps=function(e){var t=e.elementToFocusOnDismiss;t&&this._previouslyFocusedElementOutsideTrapZone!==t&&(this._previouslyFocusedElementOutsideTrapZone=t),this._updateEventHandlers(e)},t.prototype.componentDidUpdate=function(e){var t=void 0===e.forceFocusInsideTrap||e.forceFocusInsideTrap,n=void 0===this.props.forceFocusInsideTrap||this.props.forceFocusInsideTrap,o=void 0!==e.disabled&&e.disabled,r=void 0!==this.props.disabled&&this.props.disabled;!t&&n||o&&!r?this._bringFocusIntoZone():(t&&!n||!o&&r)&&this._returnFocusToInitiator()},t.prototype.componentWillUnmount=function(){this.props.disabled&&!this.props.forceFocusInsideTrap&&uo(this._root.current,document.activeElement)||this._returnFocusToInitiator()},t.prototype.render=function(){var e=this.props,t=e.className,n=e.disabled,r=void 0!==n&&n,i=e.ariaLabelledBy,a=ne(this.props,te),s={style:{pointerEvents:"none",position:"fixed"},tabIndex:r?-1:0,"data-is-visible":!0};return o.createElement("div",u({},a,{className:t,ref:this._root,"aria-labelledby":i,onFocusCapture:this._onFocusCapture,onFocus:this._onRootFocus,onBlur:this._onRootBlur}),o.createElement("div",u({},s,{ref:this._firstBumper,onFocus:this._onFirstBumperFocus})),this.props.children,o.createElement("div",u({},s,{ref:this._lastBumper,onFocus:this._onLastBumperFocus})))},t.prototype.focus=function(){var e=this.props,t=e.focusPreviouslyFocusedInnerElement,n=e.firstFocusableSelector;if(t&&this._previouslyFocusedElementInTrapZone&&uo(this._root.current,this._previouslyFocusedElementInTrapZone))this._focusAsync(this._previouslyFocusedElementInTrapZone);else{var o="string"==typeof n?n:n&&n(),r=null;this._root.current&&(o&&(r=this._root.current.querySelector("."+o)),r||(r=go(this._root.current,this._root.current.firstChild,!1,!1,!1,!0))),r&&this._focusAsync(r)}},t.prototype._focusAsync=function(e){this._isBumper(e)||Co(e)},t.prototype._bringFocusIntoZone=function(){var e=this.props,n=e.elementToFocusOnDismiss,o=e.disabled,r=void 0!==o&&o,i=e.disableFirstFocus,a=void 0!==i&&i;r||(t._focusStack.push(this),this._previouslyFocusedElementOutsideTrapZone=n||document.activeElement,a||uo(this._root.current,this._previouslyFocusedElementOutsideTrapZone)||this.focus())},t.prototype._returnFocusToInitiator=function(){var e=this,n=this.props.ignoreExternalFocusing;t._focusStack=t._focusStack.filter(function(t){return e!==t});var o=document.activeElement;n||!this._previouslyFocusedElementOutsideTrapZone||"function"!=typeof this._previouslyFocusedElementOutsideTrapZone.focus||!uo(this._root.current,o)&&o!==document.body||this._focusAsync(this._previouslyFocusedElementOutsideTrapZone)},t.prototype._updateEventHandlers=function(e){var t=e.isClickableOutsideFocusTrap,n=void 0!==t&&t,o=e.forceFocusInsideTrap,r=void 0===o||o;r&&!this._disposeFocusHandler?this._disposeFocusHandler=No(window,"focus",this._forceFocusInTrap,!0):!r&&this._disposeFocusHandler&&(this._disposeFocusHandler(),this._disposeFocusHandler=void 0),n||this._disposeClickHandler?n&&this._disposeClickHandler&&(this._disposeClickHandler(),this._disposeClickHandler=void 0):this._disposeClickHandler=No(window,"click",this._forceClickInTrap,!0)},t.prototype._isBumper=function(e){return e===this._firstBumper.current||e===this._lastBumper.current},t._focusStack=[],t}(o.Component),Qa=Qt,Za={root:"ms-Modal",main:"ms-Dialog-main",scrollableContent:"ms-Modal-scrollableContent",isOpen:"is-open",layer:"ms-Modal-Layer"},Xa=Ze(),Ja=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.componentDidMount=function(){var e;(e=hn())&&e.body&&!dr&&(e.body.classList.add(pr),e.body.addEventListener("touchmove",mr,{passive:!1,capture:!1})),dr++},t.prototype.componentWillUnmount=function(){!function(){if(dr>0){var e=hn();e&&e.body&&1===dr&&(e.body.classList.remove(pr),e.body.removeEventListener("touchmove",mr)),dr--}}()},t.prototype.render=function(){var e=this.props,t=e.isDarkThemed,n=e.className,r=e.theme,i=e.styles,a=ne(this.props,te),s=Xa(i,{theme:r,className:n,isDark:t});return o.createElement("div",u({},a,{className:s.root}))},t}(he),$a={root:"ms-Overlay",rootDark:"ms-Overlay--dark"},es=I(Ja,function(e){var t,n=e.className,o=e.theme,r=e.isNone,i=e.isDark,a=o.palette,s=Ln($a,o);return{root:[s.root,o.fonts.medium,{backgroundColor:a.whiteTranslucent40,top:0,right:0,bottom:0,left:0,position:"absolute",selectors:(t={},t[wn]={border:"1px solid WindowText",opacity:0},t)},r&&{visibility:"hidden"},i&&[s.rootDark,{backgroundColor:a.blackTranslucent40}],n]}},void 0,{scope:"Overlay"}),ts=Bn(function(e,t){return{root:tt(e,t&&{touchAction:"none",selectors:{"& *":{userSelect:"none"}}})}}),ns={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},os=function(e){function t(t){var n=e.call(this,t)||this;return n._currentEventType=ns.mouse,n._events=[],n._onMouseDown=function(e){var t=o.Children.only(n.props.children).props.onMouseDown;return t&&t(e),n._currentEventType=ns.mouse,n._onDragStart(e)},n._onMouseUp=function(e){var t=o.Children.only(n.props.children).props.onMouseUp;return t&&t(e),n._currentEventType=ns.mouse,n._onDragStop(e)},n._onTouchStart=function(e){var t=o.Children.only(n.props.children).props.onTouchStart;return t&&t(e),n._currentEventType=ns.touch,n._onDragStart(e)},n._onTouchEnd=function(e){var t=o.Children.only(n.props.children).props.onTouchEnd;t&&t(e),n._currentEventType=ns.touch,n._onDragStop(e)},n._onDragStart=function(e){if("number"==typeof e.button&&0!==e.button)return!1;if(!(n.props.handleSelector&&!n._matchesSelector(e.target,n.props.handleSelector)||n.props.preventDragSelector&&n._matchesSelector(e.target,n.props.preventDragSelector))){n._touchId=n._getTouchId(e);var t=n._getControlPosition(e);if(void 0!==t){var o=n._createDragDataFromPosition(t);n.props.onStart&&n.props.onStart(e,o),n.setState({isDragging:!0,lastPosition:t}),n._events=[No(document.body,n._currentEventType.move,n._onDrag),No(document.body,n._currentEventType.stop,n._onDragStop)]}}},n._onDrag=function(e){"touchmove"===e.type&&e.preventDefault();var t=n._getControlPosition(e);if(t){var o=n._createUpdatedDragData(n._createDragDataFromPosition(t)),r=o.position;n.props.onDragChange&&n.props.onDragChange(e,o),n.setState({position:r,lastPosition:t})}},n._onDragStop=function(e){if(n.state.isDragging){var t=n._getControlPosition(e);if(t){var o=n._createDragDataFromPosition(t);n.setState({isDragging:!1,lastPosition:void 0}),n.props.onStop&&n.props.onStop(e,o),n.props.position&&n.setState({position:n.props.position}),n._events.forEach(function(e){return e()})}}},n.state={isDragging:!1,position:n.props.position||{x:0,y:0},lastPosition:void 0},n}return l(t,e),t.prototype.componentDidUpdate=function(e){!this.props.position||e.position&&this.props.position===e.position||this.setState({position:this.props.position})},t.prototype.componentWillUnmount=function(){this._events.forEach(function(e){return e()})},t.prototype.render=function(){var e=o.Children.only(this.props.children),t=e.props,n=this.props.position,r=this.state,i=r.position,a=r.isDragging,s=i.x,l=i.y;return n&&!a&&(s=n.x,l=n.y),o.cloneElement(e,{style:u({},t.style,{transform:"translate("+s+"px, "+l+"px)"}),className:ts(t.className,this.state.isDragging).root,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onTouchStart:this._onTouchStart,onTouchEnd:this._onTouchEnd})},t.prototype._getControlPosition=function(e){var t=this._getActiveTouch(e);if(void 0===this._touchId||t){var n=t||e;return{x:n.clientX,y:n.clientY}}},t.prototype._getActiveTouch=function(e){return e.targetTouches&&this._findTouchInTouchList(e.targetTouches)||e.changedTouches&&this._findTouchInTouchList(e.changedTouches)},t.prototype._getTouchId=function(e){var t=e.targetTouches&&e.targetTouches[0]||e.changedTouches&&e.changedTouches[0];if(t)return t.identifier},t.prototype._matchesSelector=function(e,t){if(!e||e===document.body)return!1;var n=e.matches||e.webkitMatchesSelector||e.msMatchesSelector;return!!n&&(n.call(e,t)||this._matchesSelector(e.parentElement,t))},t.prototype._findTouchInTouchList=function(e){if(void 0!==this._touchId)for(var t=0;t<e.length;t++)if(e[t].identifier===this._touchId)return e[t]},t.prototype._createDragDataFromPosition=function(e){var t=this.state.lastPosition;return void 0===t?{delta:{x:0,y:0},lastPosition:e,position:e}:{delta:{x:e.x-t.x,y:e.y-t.y},lastPosition:t,position:e}},t.prototype._createUpdatedDragData=function(e){var t=this.state.position;return{position:{x:t.x+e.delta.x,y:t.y+e.delta.y},delta:e.delta,lastPosition:t}},t}(o.Component),rs={eventBubblingEnabled:!1},is=Ze(),as=I(function(e){function t(t){var n=e.call(this,t)||this;return n._focusTrapZone=o.createRef(),n._allowScrollOnModal=function(e){e?hr(e,n._events):n._events.off(n._scrollableContent),n._scrollableContent=e},n._onModalContextMenuClose=function(){n.setState({isModalMenuOpen:!1})},n._onModalClose=function(){n._lastSetX=0,n._lastSetY=0,n.setState({isModalMenuOpen:!1,isInKeyboardMoveMode:!1,isOpen:!1,x:0,y:0}),n.props.onDismissed&&n.props.onDismissed()},n._onDragStart=function(){n.setState({isModalMenuOpen:!1,isInKeyboardMoveMode:!1})},n._onDrag=function(e,t){var o=n.state,r=o.x,i=o.y;n.setState({x:r+t.delta.x,y:i+t.delta.y})},n._onDragStop=function(){n.focus()},n._onDialogKeyUp=function(e){e.altKey&&e.ctrlKey&&e.keyCode===F.space&&(n.setState({isModalMenuOpen:!n.state.isModalMenuOpen}),e.preventDefault(),e.stopPropagation())},n._onDialogKeyDown=function(e){if(e.altKey&&e.ctrlKey&&e.keyCode===F.space)return e.preventDefault(),void e.stopPropagation();if(n.state.isModalMenuOpen&&(e.altKey||e.keyCode===F.escape)&&n.setState({isModalMenuOpen:!1}),!n.state.isInKeyboardMoveMode||e.keyCode!==F.escape&&e.keyCode!==F.enter||(n.setState({isInKeyboardMoveMode:!1}),e.preventDefault(),e.stopPropagation()),n.state.isInKeyboardMoveMode){var t=!0,o=n._getMoveDelta(e);switch(e.keyCode){case F.escape:n.setState({x:n._lastSetX,y:n._lastSetY});case F.enter:n._lastSetX=0,n._lastSetY=0,n.setState({isInKeyboardMoveMode:!1});break;case F.up:n.setState({y:n.state.y-o});break;case F.down:n.setState({y:n.state.y+o});break;case F.left:n.setState({x:n.state.x-o});break;case F.right:n.setState({x:n.state.x+o});break;default:t=!1}t&&(e.preventDefault(),e.stopPropagation())}},n._onEnterKeyboardMoveMode=function(){n._lastSetX=n.state.x,n._lastSetY=n.state.y,n.setState({isInKeyboardMoveMode:!0,isModalMenuOpen:!1})},n._onExitKeyboardMoveMode=function(){n._lastSetX=0,n._lastSetY=0,n.setState({isInKeyboardMoveMode:!1})},n.state={id:Y("Modal"),isOpen:t.isOpen,isVisible:t.isOpen,hasBeenOpened:t.isOpen,x:0,y:0},n._lastSetX=0,n._lastSetY=0,n._warnDeprecations({onLayerDidMount:"layerProps.onLayerDidMount"}),n}return l(t,e),t.prototype.componentWillReceiveProps=function(e){if(clearTimeout(this._onModalCloseTimer),e.isOpen)if(this.state.isOpen){if(this.setState({hasBeenOpened:!0,isVisible:!0}),e.topOffsetFixed){var t=document.getElementsByClassName("ms-Dialog-main"),n=void 0;t.length>0&&(n=t[0].getBoundingClientRect(),this.setState({modalRectangleTop:n.top}))}}else this.setState({isOpen:!0});!e.isOpen&&this.state.isOpen&&(this._onModalCloseTimer=this._async.setTimeout(this._onModalClose,1e3*parseFloat(Qa)),this.setState({isVisible:!1}))},t.prototype.componentDidUpdate=function(e,t){e.isOpen||t.isVisible||this.setState({isVisible:!0})},t.prototype.render=function(){var e=this.props,t=e.className,n=e.containerClassName,r=e.scrollableContentClassName,i=e.elementToFocusOnDismiss,a=e.firstFocusableSelector,s=e.forceFocusInsideTrap,l=e.ignoreExternalFocusing,c=e.isBlocking,d=e.isClickableOutsideFocusTrap,p=e.isDarkOverlay,f=e.onDismiss,h=e.layerProps,m=e.responsiveMode,g=e.titleAriaId,v=e.styles,y=e.subtitleAriaId,b=e.theme,_=e.topOffsetFixed,x=e.onLayerDidMount,k=e.isModeless,C=e.dragOptions,w=this.state,E=w.isOpen,S=w.isVisible,T=w.hasBeenOpened,I=w.modalRectangleTop,M=w.x,P=w.y,D=w.isInKeyboardMoveMode;if(!E)return null;var A=void 0===h?"":h.className,N=is(v,{theme:b,className:t,containerClassName:n,scrollableContentClassName:r,isOpen:E,isVisible:S,hasBeenOpened:T,modalRectangleTop:I,topOffsetFixed:_,isModeless:k,layerClassName:A,isDefaultDragHandle:C&&!C.dragHandleSelector}),B=u({},rs,this.props.layerProps,{onLayerDidMount:h&&h.onLayerDidMount?h.onLayerDidMount:x,insertFirst:k,className:N.layer}),F=o.createElement(Ya,{componentRef:this._focusTrapZone,className:N.main,elementToFocusOnDismiss:i,isClickableOutsideFocusTrap:k||d||!c,ignoreExternalFocusing:l,forceFocusInsideTrap:k?!k:s,firstFocusableSelector:a,focusPreviouslyFocusedInnerElement:!0,onKeyDown:C?this._onDialogKeyDown:void 0,onKeyUp:C?this._onDialogKeyUp:void 0,onBlur:D?this._onExitKeyboardMoveMode:void 0},C&&D&&o.createElement("div",{className:N.keyboardMoveIconContainer},C.keyboardMoveIconProps?o.createElement(io,u({},C.keyboardMoveIconProps)):o.createElement(io,{iconName:"move",className:N.keyboardMoveIcon})),o.createElement("div",{ref:this._allowScrollOnModal,className:N.scrollableContent,"data-is-scrollable":!0},C&&this.state.isModalMenuOpen&&o.createElement(C.menu,{items:[{key:"move",text:C.moveMenuItemText,onClick:this._onEnterKeyboardMoveMode},{key:"close",text:C.closeMenuItemText,onClick:this._onModalClose}],onDismiss:this._onModalContextMenuClose,alignTargetEdge:!0,coverTarget:!0,directionalHint:ao.topLeftEdge,directionalHintFixed:!0,shouldFocusOnMount:!0,target:this._scrollableContent}),this.props.children));return m>=Zo.small?o.createElement(vi,u({},B),o.createElement(Qr,{role:k||!c?"dialog":"alertdialog","aria-modal":!k,ariaLabelledBy:g,ariaDescribedBy:y,onDismiss:f},o.createElement("div",{className:N.root},!k&&o.createElement(es,{isDarkThemed:p,onClick:c?void 0:f}),C?o.createElement(os,{handleSelector:C.dragHandleSelector||"."+N.main.split(" ")[0],preventDragSelector:"button",onStart:this._onDragStart,onDragChange:this._onDrag,onStop:this._onDragStop,position:{x:M,y:P}},F):F))):null},t.prototype.focus=function(){this._focusTrapZone.current&&this._focusTrapZone.current.focus()},t.prototype._getMoveDelta=function(e){var t=10;return e.shiftKey?e.ctrlKey||(t=50):e.ctrlKey&&(t=1),t},t.defaultProps={isOpen:!1,isDarkOverlay:!0,isBlocking:!1,className:"",containerClassName:""},t=d([or],t)}(he),function(e){var t,n=e.className,o=e.containerClassName,r=e.scrollableContentClassName,i=e.isOpen,a=e.isVisible,s=e.hasBeenOpened,l=e.modalRectangleTop,u=e.theme,c=e.topOffsetFixed,d=e.isModeless,p=e.layerClassName,f=e.isDefaultDragHandle,h=u.palette,m=u.effects,g=Ln(Za,u);return{root:[g.root,u.fonts.medium,{backgroundColor:"transparent",position:d?"absolute":"fixed",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",opacity:0,pointerEvents:"none",transition:"opacity "+Qa},c&&s&&{alignItems:"flex-start"},i&&g.isOpen,a&&{opacity:1,pointerEvents:"auto"},n],main:[g.main,{boxShadow:m.elevation64,borderRadius:m.roundedCorner2,backgroundColor:h.white,boxSizing:"border-box",position:"relative",textAlign:"left",outline:"3px solid transparent",maxHeight:"100%",overflowY:"auto",zIndex:d?Cn.Layer:void 0},c&&s&&{top:l},f&&{cursor:"move"},o],scrollableContent:[g.scrollableContent,{overflowY:"auto",flexGrow:1,maxHeight:"100vh",selectors:(t={},t["@supports (-webkit-overflow-scrolling: touch)"]={maxHeight:window.innerHeight},t)},r],layer:d&&[p,g.layer,{position:"static",width:"unset",height:"unset"}],keyboardMoveIconContainer:{position:"absolute",display:"flex",justifyContent:"center",width:"100%",padding:"3px 0px"},keyboardMoveIcon:{fontSize:"24px",width:"24px"}}},void 0,{scope:"Modal"}),ss=Bn(function(e,t){var n,o=aa(e),r=Da(e),i=e.palette;return p(o,{root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:{color:i.themeDarkAlt,backgroundColor:i.neutralLighter,selectors:(n={},n[wn]={borderColor:"Highlight",color:"Highlight"},n)},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}},r,t)}),ls=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipComponentRefResolution=!0,t}return l(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return o.createElement(oa,u({},this.props,{variantClassName:"ms-Button--icon",styles:ss(n,t),onRenderText:ge,onRenderDescription:ge}))},t=d([di("IconButton",["theme","styles"],!0)],t)}(he),us=Ze(),cs=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.styles,r=e.theme;return this._classNames=us(n,{theme:r,className:t}),o.createElement("div",{className:this._classNames.actions},o.createElement("div",{className:this._classNames.actionsRight},this._renderChildrenAsActions()))},t.prototype._renderChildrenAsActions=function(){var e=this;return o.Children.map(this.props.children,function(t){return t?o.createElement("span",{className:e._classNames.action},t):null})},t}(he),ds={actions:"ms-Dialog-actions",action:"ms-Dialog-action",actionsRight:"ms-Dialog-actionsRight"},ps=I(cs,function(e){var t=e.className,n=e.theme,o=Ln(ds,n);return{actions:[o.actions,{position:"relative",width:"100%",minHeight:"24px",lineHeight:"24px",margin:"16px 0 0",fontSize:"0",selectors:{".ms-Button":{lineHeight:"normal"}}},t],action:[o.action],actionsRight:[o.actionsRight,{textAlign:"right",marginRight:"-4px",fontSize:"0",selectors:{$action:{margin:"0 4px"}}}]}},void 0,{scope:"DialogFooter"}),fs=Ze(),hs=o.createElement(ps,null).type,ms=function(e){function t(t){return e.call(this,t)||this}return l(t,e),t.prototype.render=function(){var e,t=this.props,n=t.showCloseButton,r=t.className,i=t.closeButtonAriaLabel,a=t.onDismiss,s=t.subTextId,l=t.subText,c=t.titleId,d=t.title,p=t.type,f=t.styles,h=t.theme,m=t.draggableHeaderClassName,g=fs(f,{theme:h,className:r,isLargeHeader:p===Ra.largeHeader,isClose:p===Ra.close,draggableHeaderClassName:m}),v=this._groupChildren();return l&&(e=o.createElement("p",{className:g.subText,id:s},l)),o.createElement("div",{className:g.content},o.createElement("div",{className:g.header},o.createElement("p",{className:g.title,id:c,role:"heading","aria-level":2},d),o.createElement("div",{className:g.topButton},this.props.topButtonsProps.map(function(e,t){return o.createElement(ls,u({key:e.uniqueId||t},e))}),(p===Ra.close||n&&p!==Ra.largeHeader)&&o.createElement(ls,{className:g.button,iconProps:{iconName:"Cancel"},ariaLabel:i,onClick:a}))),o.createElement("div",{className:g.inner},o.createElement("div",{className:g.innerContent},e,v.contents),v.footers))},t.prototype._groupChildren=function(){var e={footers:[],contents:[]};return o.Children.map(this.props.children,function(t){"object"==typeof t&&null!==t&&t.type===hs?e.footers.push(t):e.contents.push(t)}),e},t.defaultProps={showCloseButton:!1,className:"",topButtonsProps:[],closeButtonAriaLabel:"Close"},t=d([or],t)}(he),gs={contentLgHeader:"ms-Dialog-lgHeader",close:"ms-Dialog--close",subText:"ms-Dialog-subText",header:"ms-Dialog-header",headerLg:"ms-Dialog--lgHeader",button:"ms-Dialog-button ms-Dialog-button--close",inner:"ms-Dialog-inner",content:"ms-Dialog-content",title:"ms-Dialog-title"},vs=I(ms,function(e){var t=e.className,n=e.theme,o=e.isLargeHeader,r=e.isClose,i=e.hidden,a=e.isMultiline,s=e.draggableHeaderClassName,l=n.palette,u=n.fonts,c=n.effects,d=Ln(gs,n);return{content:[o&&d.contentLgHeader,r&&d.close,{flexGrow:1,overflowY:"hidden"},t],subText:[d.subText,o?u.medium:u.small,{margin:"0 0 20px 0",paddingTop:"8px",color:l.neutralPrimary,lineHeight:"1.5",wordWrap:"break-word",fontWeight:ln.regular}],header:[d.header,{position:"relative",width:"100%",boxSizing:"border-box"},o&&[d.headerLg,{backgroundColor:l.themePrimary}],r&&d.close,s&&[s,{cursor:"move"}]],button:[d.button,i&&{selectors:{".ms-Icon.ms-Icon--Cancel":{color:l.neutralSecondary,fontSize:"16px"}}}],inner:[d.inner,{padding:"0 24px 24px"}],innerContent:[d.content,{position:"relative",width:"100%"}],title:[d.title,u.xLarge,{color:l.neutralPrimary,margin:"0",padding:"16px 46px 24px 24px",fontSize:20,fontWeight:ln.semibold,lineHeight:"normal"},o&&[u.xxLarge,{color:l.white,marginBottom:"8px",padding:"22px 24px",fontWeight:ln.semibold}],a&&u.xxLarge],topButton:[{display:"flex",flexDirection:"row",flexWrap:"nowrap",position:"absolute",top:"0",right:"0",padding:"14px 14px 0 0",selectors:{"> *":{flex:"0 0 auto"},".ms-Dialog-button":{color:l.neutralSecondary},".ms-Dialog-button:hover":{color:l.neutralDark,borderRadius:c.roundedCorner2}}}]}},void 0,{scope:"DialogContent"}),ys=Ze(),bs={isDarkOverlay:!1,isBlocking:!1,className:"",containerClassName:"",topOffsetFixed:!1},_s={type:Ra.normal,className:"",topButtonsProps:[]},xs=function(e){function t(t){var n=e.call(this,t)||this;return n._getSubTextId=function(){var e=n.props,t=e.ariaDescribedById,o=e.modalProps,r=e.dialogContentProps,i=e.subText,a=t||o&&o.subtitleAriaId;return a||(a=(i||r&&r.subText)&&n._defaultSubTextId),a},n._getTitleTextId=function(){var e=n.props,t=e.ariaLabelledById,o=e.modalProps,r=e.dialogContentProps,i=e.title,a=t||o&&o.titleAriaId;return a||(a=(i||r&&r.title)&&n._defaultTitleTextId),a},n._id=Y("Dialog"),n._defaultTitleTextId=n._id+"-title",n._defaultSubTextId=n._id+"-subText",n}return l(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.className,i=n.containerClassName,a=n.contentClassName,s=n.elementToFocusOnDismiss,l=n.firstFocusableSelector,c=n.forceFocusInsideTrap,d=n.styles,p=n.hidden,f=n.ignoreExternalFocusing,h=n.isBlocking,m=n.isClickableOutsideFocusTrap,g=n.isDarkOverlay,v=n.isOpen,y=n.onDismiss,b=n.onDismissed,_=n.onLayerDidMount,x=n.responsiveMode,k=n.subText,C=n.theme,w=n.title,E=n.topButtonsProps,S=n.type,T=n.minWidth,I=n.maxWidth,M=n.modalProps,P=u({},M?M.layerProps:{onLayerDidMount:_});_&&!P.onLayerDidMount&&(P.onLayerDidMount=_),M&&M.dragOptions&&!M.dragOptions.dragHandleSelector?(e="ms-Dialog-draggable-header",t=u({},M.dragOptions,{dragHandleSelector:"."+e})):t=M&&M.dragOptions;var D=u({},bs,M,{layerProps:P,dragOptions:t}),A=u({},_s,this.props.dialogContentProps,{draggableHeaderClassName:e}),N=ys(d,{theme:C,className:r||D.className,containerClassName:i||D.containerClassName,hidden:p,dialogDefaultMinWidth:T,dialogDefaultMaxWidth:I});return o.createElement(as,u({elementToFocusOnDismiss:s,firstFocusableSelector:l,forceFocusInsideTrap:c,ignoreExternalFocusing:f,isClickableOutsideFocusTrap:m,onDismissed:b,responsiveMode:x},D,{isDarkOverlay:void 0!==g?g:D.isDarkOverlay,isBlocking:void 0!==h?h:D.isBlocking,isOpen:void 0!==v?v:!p,className:N.root,containerClassName:N.main,onDismiss:y||D.onDismiss,subtitleAriaId:this._getSubTextId(),titleAriaId:this._getTitleTextId()}),o.createElement(vs,u({titleId:this._defaultTitleTextId,subTextId:this._defaultSubTextId,title:w,subText:k,showCloseButton:void 0!==h?!h:!D.isBlocking,topButtonsProps:E||A.topButtonsProps,type:void 0!==S?S:A.type,onDismiss:y||A.onDismiss,className:a||A.className},A),this.props.children))},t.defaultProps={hidden:!0},t=d([or],t)}(o.Component),ks={root:"ms-Dialog"},Cs=I(xs,function(e){var t,n=e.className,o=e.containerClassName,r=e.dialogDefaultMinWidth,i=void 0===r?"288px":r,a=e.dialogDefaultMaxWidth,s=void 0===a?"340px":a,l=e.hidden,u=e.theme;return{root:[Ln(ks,u).root,u.fonts.medium,n],main:[{width:i,outline:"3px solid transparent",selectors:(t={},t["@media (min-width: 480px)"]={width:"auto",maxWidth:s,minWidth:i},t)},!l&&{display:"flex"},o]}},void 0,{scope:"Dialog"}),ws=Ze({disableCaching:!0}),Es=I(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t.prototype.render=function(){var e=this.props,t=e.as,n=void 0===t?"label":t,r=e.children,i=e.className,a=e.disabled,s=e.styles,l=e.required,c=e.theme,d=ws(s,{className:i,disabled:a,required:l,theme:c});return o.createElement(n,u({},ne(this.props,te),{className:d.root}),r)},t}(o.Component),function(e){var t,n=e.theme,o=e.className,r=e.disabled,i=e.required,a=n.semanticColors,s=ln.semibold,l=a.bodyText,u=a.disabledBodyText,c=a.errorText;return{root:["ms-Label",n.fonts.medium,{fontWeight:s,color:l,boxSizing:"border-box",boxShadow:"none",margin:0,display:"block",padding:"5px 0",wordWrap:"break-word",overflowWrap:"break-word"},r&&{color:u,selectors:(t={},t[wn]={color:"GrayText"},t)},i&&{selectors:{"::after":{content:"' *'",color:c,paddingRight:12}}},o]}},void 0,{scope:"Label"}),Ss=Ze(),Ts=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._link=o.createRef(),t._onClick=function(e){var n=t.props,o=n.onClick;n.disabled?e.preventDefault():o&&o(e)},t}return l(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.disabled,r=t.children,i=t.className,a=t.href,s=t.theme,l=t.styles,c=t.keytipProps,d=Ss(l,{className:i,isButton:!a,isDisabled:n,theme:s}),p=this._getRootType(this.props);return o.createElement(Li,{keytipProps:c,ariaDescribedBy:this.props["aria-describedby"],disabled:n},function(t){return o.createElement(p,u({},t,e._adjustPropsForRootType(p,e.props),{className:d.root,onClick:e._onClick,ref:e._link,"aria-disabled":n}),r)})},t.prototype.focus=function(){var e=this._link.current;e&&e.focus&&e.focus()},t.prototype._adjustPropsForRootType=function(e,t){t.children,t.as;var n=t.disabled,o=t.target,r=t.href,i=(t.theme,t.getStyles,t.styles,t.componentRef,c(t,["children","as","disabled","target","href","theme","getStyles","styles","componentRef"]));return"string"==typeof e?"a"===e?u({target:o,href:n?void 0:r},i):"button"===e?u({type:"button",disabled:n},i):u({},i,{disabled:n}):u({target:o,href:r,disabled:n},i)},t.prototype._getRootType=function(e){return e.as?e.as:e.href?"a":"button"},t}(he),Is={root:"ms-Link"},Ms=I(Ts,function(e){var t,n,o,r=e.className,i=e.isButton,a=e.isDisabled,s=e.theme,l=s.semanticColors,u=l.link,c=l.linkHovered,d=l.disabledText,p=l.focusBorder,f=Ln(Is,s);return{root:[f.root,s.fonts.medium,{color:u,outline:"none",fontSize:"inherit",fontWeight:"inherit",selectors:(t={".ms-Fabric--isFocusVisible &:focus":{boxShadow:"0 0 0 1px "+p+" inset",selectors:(n={},n[wn]={outline:"1px solid WindowText"},n)}},t[wn]={borderBottom:"none"},t)},i&&{background:"none",backgroundColor:"transparent",border:"none",cursor:"pointer",display:"inline",margin:0,overflow:"inherit",padding:0,textAlign:"left",textOverflow:"inherit",userSelect:"text",borderBottom:"1px solid transparent",selectors:(o={},o["@media screen and (-ms-high-contrast: white-on-black)"]={color:"#FFFF00"},o["@media screen and (-ms-high-contrast: black-on-white)"]={color:"#00009F"},o)},!i&&{textDecoration:"none"},a&&["is-disabled",{color:d,cursor:"default"},{selectors:{"&:link, &:visited":{pointerEvents:"none"}}}],!a&&{selectors:{"&:active, &:hover, &:active:hover":{color:c,textDecoration:"underline"},"&:focus":{color:u}}},f.root,r]}},void 0,{scope:"Link"}),Ps=function(e){function t(t){var n=e.call(this,t)||this;return n.parent_on_change=t.on_change,n}return l(t,e),t.prototype.get_value=function(){return null},t}(r.a.Component),Ds=Ze(),As=function(e){function t(t){var n=e.call(this,t)||this;return n._toggleButton=o.createRef(),n._onClick=function(e){var t=n.props,o=t.disabled,r=t.checked,i=t.onChange,a=t.onChanged,s=t.onClick,l=n.state.checked;o||(void 0===r&&n.setState({checked:!l}),i&&i(e,!l),a&&a(!l),s&&s(e))},n._warnMutuallyExclusive({checked:"defaultChecked"}),n._warnDeprecations({onAriaLabel:"ariaLabel",offAriaLabel:void 0,onChanged:"onChange"}),n.state={checked:!(!t.checked&&!t.defaultChecked)},n._id=t.id||Y("Toggle"),n}return l(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.checked?t:u({},t,{checked:!!e.checked})},Object.defineProperty(t.prototype,"checked",{get:function(){return this.state.checked},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.as,r=void 0===n?"div":n,i=t.className,a=t.theme,s=t.disabled,l=t.keytipProps,c=t.label,d=t.ariaLabel,p=t.onAriaLabel,f=t.offAriaLabel,h=t.offText,m=t.onText,g=t.styles,v=t.inlineLabel,y=this.state.checked,b=y?m:h,_=y?p:f,x=ne(this.props,J,["defaultChecked"]),k=Ds(g,{theme:a,className:i,disabled:s,checked:y,inlineLabel:v,onOffMissing:!m&&!h}),C=this._id+"-label",w=this._id+"-stateText",E=void 0;return d||_||(c?E=C:b&&(E=w)),o.createElement(r,{className:k.root,hidden:x.hidden},c&&o.createElement(Es,{htmlFor:this._id,className:k.label,id:C},c),o.createElement("div",{className:k.container},o.createElement(Li,{keytipProps:l,ariaDescribedBy:x["aria-describedby"],disabled:s},function(t){return o.createElement("button",u({},x,t,{className:k.pill,disabled:s,id:e._id,type:"button",role:"switch",ref:e._toggleButton,"aria-disabled":s,"aria-checked":y,"aria-label":d||_,"data-is-focusable":!0,onChange:e._noop,onClick:e._onClick,"aria-labelledby":E}),o.createElement("div",{className:k.thumb}))}),b&&o.createElement(Es,{htmlFor:this._id,className:k.text,id:w},b)))},t.prototype.focus=function(){this._toggleButton.current&&this._toggleButton.current.focus()},t.prototype._noop=function(){},t}(he),Ns=I(As,function(e){var t,n,o,r,i,a,s,l=e.theme,u=e.className,c=e.disabled,d=e.checked,p=e.inlineLabel,f=e.onOffMissing,h=l.semanticColors,m=l.palette,g=h.bodyBackground,v=h.inputBackgroundChecked,y=m.themeDark,b=m.neutralDark,_=h.disabledBodySubtext,x=h.smallInputBorder,k=h.inputForegroundChecked,C=h.disabledBodySubtext,w=h.disabledBackground,E=h.smallInputBorder,S=h.inputBorderHovered,T=h.disabledBodySubtext,I=h.disabledText;return{root:["ms-Toggle",d&&"is-checked",!c&&"is-enabled",c&&"is-disabled",l.fonts.medium,{marginBottom:"8px"},p&&{display:"flex",alignItems:"center"},u],label:["ms-Toggle-label",c&&{color:I,selectors:(t={},t[wn]={color:"GrayText"},t)},p&&!f&&{marginRight:16},f&&p&&{order:1,marginLeft:16}],container:["ms-Toggle-innerContainer",{display:"inline-flex",position:"relative"}],pill:["ms-Toggle-background",Sn(l,{inset:-3}),{fontSize:"20px",boxSizing:"border-box",width:40,height:20,borderRadius:10,transition:"all 0.1s ease",border:"1px solid "+E,background:g,cursor:"pointer",display:"flex",alignItems:"center",padding:"0 3px"},!c&&[!d&&{selectors:{":hover":[{borderColor:S}],":hover .ms-Toggle-thumb":[{backgroundColor:b,selectors:(n={},n[wn]={borderColor:"Highlight"},n)}]}},d&&[{background:v,borderColor:"transparent",justifyContent:"flex-end"},{selectors:(o={":hover":[{backgroundColor:y,borderColor:"transparent",selectors:(r={},r[wn]={backgroundColor:"Highlight"},r)}]},o[wn]={backgroundColor:"WindowText"},o)}]],c&&[{cursor:"default"},!d&&[{borderColor:T}],d&&[{backgroundColor:_,borderColor:"transparent",justifyContent:"flex-end"}]],!c&&{selectors:{"&:hover":{selectors:(i={},i[wn]={borderColor:"Highlight"},i)}}}],thumb:["ms-Toggle-thumb",{width:12,height:12,borderRadius:"50%",transition:"all 0.1s ease",backgroundColor:x,borderColor:"transparent",borderWidth:".28em",borderStyle:"solid",boxSizing:"border-box"},!c&&d&&[{backgroundColor:k,selectors:(a={},a[wn]={backgroundColor:"Window",borderColor:"Window"},a)}],c&&[!d&&[{backgroundColor:C}],d&&[{backgroundColor:w}]]],text:["ms-Toggle-stateText",{selectors:{"&&":{padding:"0",margin:"0 8px",userSelect:"none",fontWeight:ln.regular}}},c&&{selectors:{"&&":{color:I,selectors:(s={},s[wn]={color:"GrayText"},s)}}}]}},void 0,{scope:"Toggle"}),Bs=function(e){function t(t){var n=e.call(this,t)||this;return n.toggleref=null,n.toggleref=null,n.state={property_values:t.setting},n}return l(t,e),t.prototype.componentWillReceiveProps=function(e){this.setState({property_values:e.setting})},t.prototype.get_value=function(){return{value:this.toggleref.checked}},t.prototype.render=function(){var e=this;return r.a.createElement(Ns,{onChange:function(t,n){e.setState(function(e){return{property_values:u({},e.property_values,{value:n})}}),e.parent_on_change()},checked:this.state.property_values.value,label:this.state.property_values.display_name,onText:"On",offText:"Off",componentRef:function(t){e.toggleref=t}})},t}(Ps),Fs=Ze(),Os=I(function(e){var t=e.styles,n=e.theme,r=e.className,i=e.vertical,a=e.alignContent,s=Fs(t,{theme:n,className:r,alignContent:a,vertical:i});return o.createElement("div",{className:s.root},o.createElement("div",{className:s.content,role:"separator","aria-orientation":i?"vertical":"horizontal"},e.children))},function(e){var t=e.theme,n=e.alignContent,o=e.vertical,r=e.className,i="start"===n,a="center"===n,s="end"===n;return{root:[t.fonts.medium,{position:"relative"},n&&{textAlign:n},!n&&{textAlign:"center"},o&&(a||!n)&&{verticalAlign:"middle"},o&&i&&{verticalAlign:"top"},o&&s&&{verticalAlign:"bottom"},o&&{padding:"0 4px",height:"inherit",display:"table-cell",zIndex:1,selectors:{":after":{backgroundColor:t.palette.neutralLighter,width:"1px",content:'""',position:"absolute",top:"0",bottom:"0",left:"50%",right:"0",zIndex:-1}}},!o&&{padding:"4px 0",selectors:{":before":{backgroundColor:t.palette.neutralLighter,height:"1px",content:'""',display:"block",position:"absolute",top:"50%",bottom:"0",left:"0",right:"0"}}},r],content:[{position:"relative",display:"inline-block",padding:"0 12px",color:t.semanticColors.bodyText,background:t.semanticColors.bodyBackground},o&&{padding:"12px 0"}]}},void 0,{scope:"Separator"}),Rs=function(e){function t(t){var n=e.call(this,t)||this;return n.references={},n.references={},n.startup_reference=null,n.parent_on_change=t.on_change,n.state={settings_key:t.settings_key,settings:t.settings},n}return l(t,e),t.prototype.shouldComponentUpdate=function(e,t){return!1},t.prototype.componentWillReceiveProps=function(e){this.setState({settings:e.settings})},t.prototype.get_data=function(){var e=this,t={};Object.keys(this.references).forEach(function(n){t[n]=e.references[n].get_value().value});var n={};return n[this.state.settings_key]={startup:this.startup_reference.get_value().value,enabled:t},n},t.prototype.render=function(){var e=this,t=this.state.settings.general.enabled;return r.a.createElement(Pa,{tokens:{childrenGap:20}},r.a.createElement(_a,{variant:"xLarge"},"Available PowerToys"),Object.keys(t).map(function(n){var o=t[n];return r.a.createElement(Pa,{key:n},r.a.createElement(Pa,{horizontal:!0,tokens:{childrenGap:5}},r.a.createElement(Es,null,n),e.state.settings.powertoys&&e.state.settings.powertoys.hasOwnProperty(n)&&e.state.settings.powertoys[n].hasOwnProperty("overview_link")?r.a.createElement(Ms,{styles:{root:{alignSelf:"center"}},href:e.state.settings.powertoys[n].overview_link,target:"_blank"},"(Overview)"):null,e.state.settings.powertoys&&e.state.settings.powertoys.hasOwnProperty(n)&&e.state.settings.powertoys[n].hasOwnProperty("video_link")?r.a.createElement(Ms,{styles:{root:{alignSelf:"center"}},href:e.state.settings.powertoys[n].video_link,target:"_blank"},"(Video)"):null),e.state.settings.powertoys&&e.state.settings.powertoys.hasOwnProperty(n)&&e.state.settings.powertoys[n].hasOwnProperty("description")?r.a.createElement(_a,{styles:{root:{paddingBottom:"5px"}}},e.state.settings.powertoys[n].description):null,r.a.createElement(Bs,{setting:{value:o},on_change:e.parent_on_change,ref:function(t){e.references[n]=t}}))}),r.a.createElement(Os,null),r.a.createElement(_a,{variant:"xLarge"},"General"),r.a.createElement(Bs,{setting:{display_name:"Start at login",value:this.state.settings.general.startup},on_change:this.parent_on_change,ref:function(t){e.startup_reference=t}}),r.a.createElement(Pa,null,r.a.createElement(Es,null,"Version 0.11.0"),r.a.createElement(Fa,{styles:{root:{backgroundColor:"#FFFFFF",alignSelf:"start"}},href:"https://github.com/microsoft/PowerToys/releases",target:"_blank"},"Check for updates")),r.a.createElement("span",null))},t}(r.a.Component);var Ls=Ze(),Hs="",Ws="TextField",zs=function(e){function t(t){var n=e.call(this,t)||this;n._textElement=o.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,i=n._classNames.subComponentStyles?n._classNames.subComponentStyles.label:void 0;return t?o.createElement(Es,{required:r,htmlFor:n._id,styles:i,disabled:e.disabled,id:n._labelId},e.label):null},n._onRenderDescription=function(e){return e.description?o.createElement("span",{className:n._classNames.description},e.description):null},n._onInputChange=function(e){e.persist();var t=e.target.value,o=n.props;t!==n.value&&(n._isControlled?o.onChange&&o.onChange(e,t):n.setState({uncontrolledValue:t},function(){o.onChange&&o.onChange(e,t)}))},Io(n),n._async=new ie(n),n._fallbackId=Y(Ws),n._descriptionId=Y(Ws+"Description"),n._labelId=Y(Ws+"Label"),n._warnControlledUsage();var r=t.defaultValue,i=void 0===r?Hs:r;return"number"==typeof i&&(i=String(i)),n.state={uncontrolledValue:n._isControlled?void 0:i,isFocused:!1,errorMessage:""},n._delayedValidate=n._async.debounce(n._validate,n.props.deferredValidationTime),n._lastValidation=0,n}return l(t,e),Object.defineProperty(t.prototype,"value",{get:function(){var e=Us(this.props,this.state);return"number"==typeof e?String(e):e},enumerable:!0,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 o=this.props,r=(n||{}).selection,i=void 0===r?[null,null]:r,a=i[0],s=i[1];!!e.multiline!=!!o.multiline&&t.isFocused&&(this.focus(),null!==a&&null!==s&&a>=0&&s>=0&&this.setSelectionRange(a,s)),Us(e,t)!==this.value&&(this._warnControlledUsage(e),this.state.errorMessage&&!o.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),Ks(o)&&this._delayedValidate(this.value))},t.prototype.render=function(){var e=this.props,t=e.borderless,n=e.className,r=e.disabled,i=e.iconProps,a=e.inputClassName,s=e.label,l=e.multiline,c=e.required,d=e.underlined,p=e.prefix,f=e.resizable,h=e.suffix,m=e.theme,g=e.styles,v=e.autoAdjustHeight,y=e.onRenderPrefix,b=void 0===y?this._onRenderPrefix:y,_=e.onRenderSuffix,x=void 0===_?this._onRenderSuffix:_,k=e.onRenderLabel,C=void 0===k?this._onRenderLabel:k,w=e.onRenderDescription,E=void 0===w?this._onRenderDescription:w,S=this.state.isFocused,T=this._errorMessage;return this._classNames=Ls(g,{theme:m,className:n,disabled:r,focused:S,required:c,multiline:l,hasLabel:!!s,hasErrorMessage:!!T,borderless:t,resizable:f,hasIcon:!!i,underlined:d,inputClassName:a,autoAdjustHeight:v}),o.createElement("div",{className:this._classNames.root},o.createElement("div",{className:this._classNames.wrapper},C(this.props,this._onRenderLabel),o.createElement("div",{className:this._classNames.fieldGroup},(void 0!==p||this.props.onRenderPrefix)&&o.createElement("div",{className:this._classNames.prefix},b(this.props,this._onRenderPrefix)),l?this._renderTextArea():this._renderInput(),i&&o.createElement(io,u({className:this._classNames.icon},i)),(void 0!==h||this.props.onRenderSuffix)&&o.createElement("div",{className:this._classNames.suffix},x(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&o.createElement("span",{id:this._descriptionId},E(this.props,this._onRenderDescription),T&&o.createElement("div",{role:"alert"},o.createElement(La,null,o.createElement("p",{className:this._classNames.errorMessage},o.createElement("span",{"data-automation-id":"error-message"},T))))))},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:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!0,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,se("Warning: 'value' prop on '"+Ws+"' 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:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isControlled",{get:function(){return void 0!==(e=this.props)[t="value"]&&null!==e[t];var e,t},enumerable:!0,configurable:!0}),t.prototype._onRenderPrefix=function(e){var t=e.prefix;return o.createElement("span",{style:{paddingBottom:"1px"}},t)},t.prototype._onRenderSuffix=function(e){var t=e.suffix;return o.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:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isDescriptionAvailable",{get:function(){var e=this.props;return!!(e.onRenderDescription||e.description||this._errorMessage)},enumerable:!0,configurable:!0}),t.prototype._renderTextArea=function(){var e=ne(this.props,$,["defaultValue"]);return o.createElement("textarea",u({id:this._id},e,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":!!this._errorMessage,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._renderInput=function(){var e=ne(this.props,J,["defaultValue"]),t=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return o.createElement("input",u({type:"text",id:this._id,"aria-labelledby":t},e,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":this.props.ariaLabel,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":!!this._errorMessage,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._validate=function(e){var t=this;if(this._latestValidateValue!==e||!Ks(this.props)){this._latestValidateValue=e;var n=this.props.onGetErrorMessage,o=n&&n(e||"");if(void 0!==o)if("string"!=typeof o&&"then"in o){var r=++this._lastValidation;o.then(function(n){r===t._lastValidation&&t.setState({errorMessage:n}),t._notifyAfterValidate(e,n)})}else this.setState({errorMessage:o}),this._notifyAfterValidate(e,o);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(){if(this._textElement.current&&this.props.autoAdjustHeight&&this.props.multiline){var e=this._textElement.current;e.style.height="",e.style.height=e.scrollHeight+"px"}},t.defaultProps={resizable:!0,deferredValidationTime:200,validateOnLoad:!0},t}(o.Component);function Us(e,t){var n=e.value;return void 0===n?t.uncontrolledValue:n}function Ks(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}var js={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",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 Vs(e){var t=e.underlined,n=e.disabled,o=e.focused;return function(){var r;return{root:[t&&n&&{color:e.theme.palette.neutralTertiary},t&&{fontSize:sn.medium,marginRight:8,paddingLeft:12,paddingRight:0,lineHeight:"22px",height:32},t&&o&&{selectors:(r={},r[wn]={height:31},r)}]}}}var Gs=I(zs,function(e){var t,n,o,r,i,a,s,l,u,c=e.theme,d=e.className,p=e.disabled,f=e.focused,h=e.required,m=e.multiline,g=e.hasLabel,v=e.borderless,y=e.underlined,b=e.hasIcon,_=e.resizable,x=e.hasErrorMessage,k=e.inputClassName,C=e.autoAdjustHeight,w=c.semanticColors,E=c.effects,S=Ln(js,c),T={background:w.disabledBackground,color:p?w.disabledText:w.inputPlaceholderText,display:"flex",alignItems:"center",padding:"0 10px",lineHeight:1,whiteSpace:"nowrap",flexShrink:0},I=[c.fonts.medium,{color:w.inputPlaceholderText,opacity:1}],M={color:w.disabledText};return{root:[S.root,c.fonts.medium,h&&S.required,p&&S.disabled,f&&S.active,m&&S.multiline,v&&S.borderless,y&&S.underlined,Qn,{position:"relative"},d],wrapper:[S.wrapper,y&&{display:"flex",borderBottomWidth:1,borderBottomStyle:"solid",borderBottomColor:w.inputBorder,width:"100%"},x&&y&&!p&&{borderBottomColor:w.errorText,selectors:{":hover":{borderBottomColor:w.errorText,selectors:(t={},t[wn]={borderBottomColor:"Highlight"},t)}}},y&&p&&{borderBottomColor:w.disabledBackground},y&&!p&&!f&&!x&&{selectors:{":hover":{borderBottomColor:w.inputBorderHovered,selectors:(n={},n[wn]={borderBottomColor:"Highlight"},n)}}},y&&f&&{borderBottomColor:x?w.errorText:w.inputFocusBorderAlt,selectors:(o={},o[wn]={borderBottomWidth:2,borderBottomColor:"Highlight"},o)}],fieldGroup:[S.fieldGroup,Qn,{border:"1px solid "+w.inputBorder,borderRadius:E.roundedCorner2,background:w.inputBackground,cursor:"text",height:32,display:"flex",flexDirection:"row",alignItems:"stretch",position:"relative",selectors:{":hover":{selectors:(r={},r[wn]={borderColor:"Highlight"},r)}}},m&&{minHeight:"60px",height:"auto",display:"flex"},v&&{border:"none"},!f&&!p&&{selectors:{":hover":{borderColor:w.inputBorderHovered}}},f&&{borderColor:w.inputFocusBorderAlt,selectors:(i={},i[wn]={borderWidth:2,borderColor:"Highlight"},i)},p&&{backgroundColor:w.disabledBackground,borderColor:w.disabledBackground,cursor:"default"},y&&{flex:"1 1 0px",border:"none",textAlign:"left"},y&&f&&{selectors:(a={},a[wn]={height:31},a)},y&&p&&{backgroundColor:"transparent"},x&&{borderColor:w.errorText,selectors:{"&:focus, &:hover":{borderColor:w.errorText}}},x&&f&&{borderColor:w.errorText},!g&&h&&{selectors:(s={":after":{content:"'*'",color:w.errorText,position:"absolute",top:-5,right:-10}},s[wn]={selectors:{":after":{right:-14}}},s)}],field:[c.fonts.medium,S.field,Qn,{fontSize:sn.medium,borderRadius:0,border:"none",background:"none",backgroundColor:"transparent",color:w.inputText,padding:"0 8px",width:"100%",minWidth:0,textOverflow:"ellipsis",outline:0,selectors:{"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"}}},Zn(I),m&&!_&&[S.unresizable,{resize:"none"}],m&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,paddingBottom:6,overflow:"auto",width:"100%"},m&&C&&{overflow:"hidden"},b&&{paddingRight:24},m&&b&&{paddingRight:40},p&&[{backgroundColor:"transparent",borderColor:"transparent",color:w.disabledText},Zn(M)],y&&{textAlign:"left"},f&&!v&&{selectors:(l={},l[wn]={paddingLeft:11,paddingRight:11},l)},f&&m&&!v&&{selectors:(u={},u[wn]={paddingTop:4},u)},k],icon:[m&&{paddingRight:24,paddingBottom:8,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:5,right:8,top:"auto",fontSize:16,lineHeight:18},p&&{color:w.disabledText}],description:[S.description,{color:w.bodySubtext,fontSize:sn.xSmall}],errorMessage:[S.errorMessage,Xn.slideDownIn20,c.fonts.small,{color:w.errorText,margin:0,paddingTop:5,display:"flex",alignItems:"center"}],prefix:[S.prefix,T],suffix:[S.suffix,T],subComponentStyles:{label:Vs(e)}}},void 0,{scope:"TextField"}),qs=function(e){function t(t){var n=e.call(this,t)||this;return n.textref=null,n.textref=null,n.state={property_values:t.setting},n}return l(t,e),t.prototype.componentWillReceiveProps=function(e){this.setState({property_values:e.setting})},t.prototype.get_value=function(){return{value:this.textref.value}},t.prototype.render=function(){var e=this;return r.a.createElement(Gs,{onChange:function(t,n){e.setState(function(e){return{property_values:u({},e.property_values,{value:n})}}),e.parent_on_change()},value:this.state.property_values.value,label:this.state.property_values.display_name,componentRef:function(t){e.textref=t}})},t}(Ps);function Ys(e,t,n){void 0===n&&(n=10);var o=Math.pow(n,t);return Math.round(e*o)/o}var Qs,Zs=Bn(function(e){var t,n=e.semanticColors,o=n.disabledText;return{backgroundColor:n.disabledBackground,borderColor:"transparent",pointerEvents:"none",cursor:"default",color:o,selectors:(t={},t[wn]={color:"GrayText"},t)}}),Xs=Bn(function(e,t,n){var o,r,i,a=e.palette,s=e.effects,l=a.neutralSecondary,u=a.neutralPrimary,c=a.neutralPrimary,d=a.neutralLighter,f=a.neutralLight;return p({root:{outline:"none",display:"block",height:"50%",width:23,padding:0,backgroundColor:"transparent",textAlign:"center",cursor:"default",color:l,selectors:{"&.ms-DownButton":{borderRadius:"0 0 "+s.roundedCorner2+" 0"},"&.ms-UpButton":{borderRadius:"0 "+s.roundedCorner2+" 0 0"}}},rootHovered:{backgroundColor:d,color:u},rootChecked:{backgroundColor:f,color:c,selectors:(o={},o[wn]={backgroundColor:"Highlight",color:"HighlightText"},o)},rootPressed:{backgroundColor:f,color:c,selectors:(r={},r[wn]={backgroundColor:"Highlight",color:"HighlightText"},r)},rootDisabled:{opacity:.5,selectors:(i={},i[wn]={color:"GrayText",opacity:1},i)},icon:{fontSize:8,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}},{},n)}),Js=Bn(function(e,t){var n,o,r,i,a=e.palette,s=e.semanticColors,l=e.effects,u=s.inputBorder,c=s.inputBorderHovered,d=s.inputFocusBorderAlt,f=s.disabledText,h=s.bodyText,m=a.white,g=a.themePrimary,v=s.disabledText;return p({root:{outline:"none",fontSize:sn.medium,width:"100%",minWidth:86},labelWrapper:{display:"inline-flex"},labelWrapperStart:{height:32,alignItems:"center",float:"left",marginRight:10},labelWrapperEnd:{height:32,alignItems:"center",float:"right",marginLeft:10},labelWrapperTop:{marginBottom:10},labelWrapperBottom:{marginTop:10},icon:{padding:"0 5px",fontSize:un.large},iconDisabled:{color:v},label:{pointerEvents:"none",padding:0,lineHeight:un.large},labelDisabled:{cursor:"default",color:f,selectors:(n={},n[wn]={color:"GrayText"},n)},spinButtonWrapper:{display:"flex",boxSizing:"border-box",height:32,minWidth:86,border:"1px solid "+u,borderRadius:l.roundedCorner2},spinButtonWrapperTopBottom:{width:"100%"},spinButtonWrapperHovered:{borderColor:c,selectors:(o={},o[wn]={borderColor:"Highlight"},o)},spinButtonWrapperFocused:{borderColor:d,selectors:(r={},r[wn]={borderColor:"Highlight"},r)},spinButtonWrapperDisabled:Zs(e),input:{boxSizing:"border-box",boxShadow:"none",borderStyle:"none",flex:1,margin:0,fontSize:sn.medium,color:h,height:"100%",padding:"0 8px",outline:0,display:"block",minWidth:72,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",cursor:"text",userSelect:"text",borderRadius:l.roundedCorner2+" 0 0 "+l.roundedCorner2},inputTextSelected:{backgroundColor:g,color:m,selectors:(i={},i[wn]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},i)},inputDisabled:Zs(e),arrowButtonsContainer:{display:"block",height:"100%",cursor:"default"},arrowButtonsContainerDisabled:Zs(e)},t)}),$s=Bn(function(e,t,n,o,r,i){return void 0===r&&(r=tr.start),void 0===i&&(i=void 0),{root:tt(e.root,i),labelWrapper:tt(e.labelWrapper,el(r,e)),icon:tt(e.icon,t&&e.iconDisabled),label:tt(e.label,t&&e.labelDisabled),spinButtonWrapper:tt(e.spinButtonWrapper,tl(r,e),!t&&[{selectors:{":hover":e.spinButtonWrapperHovered}},n&&{selectors:{"&&":e.spinButtonWrapperFocused}}],t&&e.spinButtonWrapperDisabled),input:tt("ms-spinButton-input",e.input,!t&&{selectors:{"::selection":e.inputTextSelected}},t&&e.inputDisabled),arrowBox:tt(e.arrowButtonsContainer,t&&e.arrowButtonsContainerDisabled)}});function el(e,t){switch(e){case tr.start:return t.labelWrapperStart;case tr.end:return t.labelWrapperEnd;case tr.top:return t.labelWrapperTop;case tr.bottom:return t.labelWrapperBottom}}function tl(e,t){switch(e){case tr.top:case tr.bottom:return t.spinButtonWrapperTopBottom;default:return{}}}!function(e){e[e.down=-1]="down",e[e.notSpinning=0]="notSpinning",e[e.up=1]="up"}(Qs||(Qs={}));var nl=function(e){function t(t){var n=e.call(this,t)||this;n._input=o.createRef(),n._initialStepDelay=400,n._stepDelay=75,n._onFocus=function(e){n._input.current&&((n._spinningByMouse||n.state.keyboardSpinDirection!==Qs.notSpinning)&&n._stop(),n._input.current.select(),n.setState({isFocused:!0}),n.props.onFocus&&n.props.onFocus(e))},n._onBlur=function(e){n._validate(e),n.setState({isFocused:!1}),n.props.onBlur&&n.props.onBlur(e)},n._onValidate=function(e,t){return n.props.onValidate?n.props.onValidate(e,t):n._defaultOnValidate(e)},n._calculatePrecision=function(e){var t=e.precision;return void 0===t?Math.max(function(e){var t=/[1-9]([0]+$)|\.([0-9]*)/.exec(String(e));return t?t[1]?-t[1].length:t[2]?t[2].length:0:0}(e.step),0):t},n._defaultOnValidate=function(e){if(null===e||0===e.trim().length||isNaN(Number(e)))return n._lastValidValue;var t=Math.min(n.props.max,Math.max(n.props.min,Number(e)));return String(t)},n._onIncrement=function(e){return n.props.onIncrement?n.props.onIncrement(e):n._defaultOnIncrement(e)},n._defaultOnIncrement=function(e){var t=n.props,o=t.max,r=t.step,i=Math.min(Number(e)+Number(r),o);return i=Ys(i,n._precision),String(i)},n._onDecrement=function(e){return n.props.onDecrement?n.props.onDecrement(e):n._defaultOnDecrement(e)},n._defaultOnDecrement=function(e){var t=n.props,o=t.min,r=t.step,i=Math.max(Number(e)-Number(r),o);return i=Ys(i,n._precision),String(i)},n._validate=function(e){if(void 0!==n.state.value&&void 0!==n._valueToValidate&&n._valueToValidate!==n._lastValidValue){var t=n._onValidate(n._valueToValidate,e);t&&(n._lastValidValue=t,n._valueToValidate=void 0,n.setState({value:t}))}},n._onInputChange=function(e){var t=e.target.value;n._valueToValidate=t,n.setState({value:t})},n._updateValue=function(e,t,o){var r=o(n.state.value);r&&(n._lastValidValue=r,n.setState({value:r})),n._spinningByMouse!==e&&(n._spinningByMouse=e),e&&(n._currentStepFunctionHandle=n._async.setTimeout(function(){n._updateValue(e,n._stepDelay,o)},t))},n._stop=function(){n._currentStepFunctionHandle>=0&&(n._async.clearTimeout(n._currentStepFunctionHandle),n._currentStepFunctionHandle=-1),(n._spinningByMouse||n.state.keyboardSpinDirection!==Qs.notSpinning)&&(n._spinningByMouse=!1,n.setState({keyboardSpinDirection:Qs.notSpinning}))},n._handleKeyDown=function(e){if(e.which!==F.up&&e.which!==F.down&&e.which!==F.enter||(e.preventDefault(),e.stopPropagation()),n.props.disabled)n._stop();else{var t=Qs.notSpinning;switch(e.which){case F.up:t=Qs.up,n._updateValue(!1,n._initialStepDelay,n._onIncrement);break;case F.down:t=Qs.down,n._updateValue(!1,n._initialStepDelay,n._onDecrement);break;case F.enter:case F.tab:n._validate(e);break;case F.escape:n.state.value!==n._lastValidValue&&n.setState({value:n._lastValidValue})}n.state.keyboardSpinDirection!==t&&n.setState({keyboardSpinDirection:t})}},n._handleKeyUp=function(e){(n.props.disabled||e.which===F.up||e.which===F.down)&&n._stop()},n._onIncrementMouseDown=function(){n._updateValue(!0,n._initialStepDelay,n._onIncrement)},n._onDecrementMouseDown=function(){n._updateValue(!0,n._initialStepDelay,n._onDecrement)},n._warnMutuallyExclusive({value:"defaultValue"});var r=t.value||t.defaultValue||String(t.min)||"0";return n._lastValidValue=r,n._precision=n._calculatePrecision(n.props),n.state={isFocused:!1,value:r,keyboardSpinDirection:Qs.notSpinning},n._currentStepFunctionHandle=-1,n._labelId=Y("Label"),n._inputId=Y("input"),n._spinningByMouse=!1,n._valueToValidate=void 0,n}return l(t,e),t.prototype.componentWillReceiveProps=function(e){this._lastValidValue=this.state.value;var t=e.value?e.value:String(e.min);e.defaultValue&&(t=String(Math.max(e.min,Math.min(e.max,Number(e.defaultValue))))),void 0!==e.value&&this.setState({value:t}),this._precision=this._calculatePrecision(e)},t.prototype.render=function(){var e=this,t=this.props,n=t.disabled,r=t.label,i=t.min,a=t.max,s=t.labelPosition,l=t.iconProps,c=t.incrementButtonIcon,d=t.incrementButtonAriaLabel,p=t.decrementButtonIcon,f=t.decrementButtonAriaLabel,h=t.title,m=t.ariaLabel,g=t.ariaDescribedBy,v=t.styles,y=t.upArrowButtonStyles,b=t.downArrowButtonStyles,_=t.theme,x=t.ariaPositionInSet,k=t.ariaSetSize,C=t.ariaValueNow,w=t.ariaValueText,E=t.keytipProps,S=t.className,T=this.state,I=T.isFocused,M=T.value,P=T.keyboardSpinDirection,D=this.props.getClassNames?this.props.getClassNames(_,!!n,!!I,P,s,S):$s(Js(_,v),!!n,!!I,P,s,S);return o.createElement("div",{className:D.root},s!==tr.bottom&&o.createElement("div",{className:D.labelWrapper},l&&o.createElement(io,u({},l,{className:D.icon,"aria-hidden":"true"})),r&&o.createElement(Es,{id:this._labelId,htmlFor:this._inputId,className:D.label},r)),o.createElement(Li,{keytipProps:E,disabled:n},function(t){return o.createElement("div",{className:D.spinButtonWrapper,title:h&&h,"aria-label":m&&m,"aria-posinset":x,"aria-setsize":k,"data-ktp-target":t["data-ktp-target"]},o.createElement("input",{value:M,id:e._inputId,onChange:e._onChange,onInput:e._onInputChange,className:D.input,type:"text",autoComplete:"off",role:"spinbutton","aria-labelledby":r&&e._labelId,"aria-valuenow":isNaN(Number(C))?isNaN(Number(M))?void 0:Number(M):C,"aria-valuetext":w||(isNaN(Number(M))?M:void 0),"aria-valuemin":i,"aria-valuemax":a,"aria-describedby":oe(g,t["aria-describedby"]),onBlur:e._onBlur,ref:e._input,onFocus:e._onFocus,onKeyDown:e._handleKeyDown,onKeyUp:e._handleKeyUp,readOnly:n,"aria-disabled":n,"data-lpignore":!0,"data-ktp-execute-target":t["data-ktp-execute-target"]}),o.createElement("span",{className:D.arrowBox},o.createElement(ls,{styles:Xs(_,!0,y),className:"ms-UpButton",checked:P===Qs.up,disabled:n,iconProps:c,onMouseDown:e._onIncrementMouseDown,onMouseLeave:e._stop,onMouseUp:e._stop,tabIndex:-1,ariaLabel:d,"data-is-focusable":!1}),o.createElement(ls,{styles:Xs(_,!1,b),className:"ms-DownButton",checked:P===Qs.down,disabled:n,iconProps:p,onMouseDown:e._onDecrementMouseDown,onMouseLeave:e._stop,onMouseUp:e._stop,tabIndex:-1,ariaLabel:f,"data-is-focusable":!1})))}),s===tr.bottom&&o.createElement("div",{className:D.labelWrapper},l&&o.createElement(io,{iconName:l.iconName,className:D.icon,"aria-hidden":"true"}),r&&o.createElement(Es,{id:this._labelId,htmlFor:this._inputId,className:D.label},r)))},t.prototype.focus=function(){this._input.current&&this._input.current.focus()},Object.defineProperty(t.prototype,"value",{get:function(){return void 0===this.props.value?this.state.value:this.props.value},enumerable:!0,configurable:!0}),t.prototype._onChange=function(){},t.defaultProps={step:1,min:0,max:100,disabled:!1,labelPosition:tr.start,label:"",incrementButtonIcon:{iconName:"ChevronUpSmall"},decrementButtonIcon:{iconName:"ChevronDownSmall"}},t=d([di("SpinButton",["theme","styles"],!0)],t)}(he),ol=function(e){function t(t){var n=e.call(this,t)||this;return n.spinbuttonref=null,n.spinbuttonref=null,n.state={property_values:t.setting},n}return l(t,e),t.prototype.componentWillReceiveProps=function(e){this.setState({property_values:e.setting})},t.prototype.get_value=function(){return{value:parseInt(this.spinbuttonref.value)}},t.prototype.render=function(){var e=this;return r.a.createElement(nl,{styles:{spinButtonWrapperTopBottom:{maxWidth:"250px",alignSelf:"start"},input:{backgroundColor:"transparent"}},value:this.state.property_values.value,onValidate:function(t){return 0===t.trim().length||isNaN(+t)?t=String(e.state.property_values.value):Number(t)<e.spinbuttonref.props.min?t=String(e.spinbuttonref.props.min):Number(t)>e.spinbuttonref.props.max&&(t=String(e.spinbuttonref.props.max)),e.setState(function(e){return{property_values:u({},e.property_values,{value:parseInt(t)})}}),e.parent_on_change(),t},onIncrement:function(t){return t=Number(t)+e.spinbuttonref.props.step>e.spinbuttonref.props.max?String(e.spinbuttonref.props.max):String(+t+e.spinbuttonref.props.step),e.setState(function(e){return{property_values:u({},e.property_values,{value:parseInt(t)})}}),e.parent_on_change(),t},onDecrement:function(t){return t=Number(t)-e.spinbuttonref.props.step<e.spinbuttonref.props.min?String(e.spinbuttonref.props.min):String(+t-e.spinbuttonref.props.step),e.setState(function(e){return{property_values:u({},e.property_values,{value:parseInt(t)})}}),e.parent_on_change(),t},precision:0,step:this.state.property_values.step||1,min:this.state.property_values.min||0,max:this.state.property_values.max||999999999,label:this.state.property_values.display_name,labelPosition:tr.top,componentRef:function(t){e.spinbuttonref=t}})},t}(Ps),rl=100,il=100,al=255,sl=100,ll=3,ul=6,cl=1,dl=/^[\da-f]{0,6}$/i,pl=/^\d{0,3}$/;function fl(e,t,n){var o=[],r=(n/=100)*(t/=100),i=e/60,a=r*(1-Math.abs(i%2-1)),s=n-r;switch(Math.floor(i)){case 0:o=[r,a,0];break;case 1:o=[a,r,0];break;case 2:o=[0,r,a];break;case 3:o=[0,a,r];break;case 4:o=[a,0,r];break;case 5:o=[r,0,a]}return{r:Math.round(al*(o[0]+s)),g:Math.round(al*(o[1]+s)),b:Math.round(al*(o[2]+s))}}function hl(e){if(e){var t=ml(e)||function(e){if("#"===e[0]&&7===e.length&&/^#[\da-fA-F]{6}$/.test(e))return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:sl}}(e)||function(e){if("#"===e[0]&&4===e.length&&/^#[\da-fA-F]{3}$/.test(e))return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:sl}}(e)||function(e){var t=e.match(/^hsl(a?)\(([\d., ]+)\)$/);if(t){var n=!!t[1],o=n?4:3,r=t[2].split(/ *, */).map(Number);if(r.length===o){var i=(a=r[0],s=r[1],l=r[2],fl((u=function(e,t,n){var o=n+(t*=(n<50?n:100-n)/100);return{h:e,s:0===o?0:2*t/o*100,v:o}}(a,s,l)).h,u.s,u.v));return i.a=n?100*r[3]:sl,i}}var a,s,l,u}(e);return t||function(e){if("undefined"==typeof document)return;var t=document.createElement("div");t.style.backgroundColor=e,t.style.position="absolute",t.style.top="-9999px",t.style.left="-9999px",t.style.height="1px",t.style.width="1px",document.body.appendChild(t);var n=getComputedStyle(t),o=n&&n.backgroundColor;if(document.body.removeChild(t),"rgba(0, 0, 0, 0)"===o||"transparent"===o){switch(e.trim()){case"transparent":case"#0000":case"#00000000":return{r:0,g:0,b:0,a:0}}return}return ml(o)}(e)}}function ml(e){if(e){var t=e.match(/^rgb(a?)\(([\d., ]+)\)$/);if(t){var n=!!t[1],o=n?4:3,r=t[2].split(/ *, */).map(Number);if(r.length===o)return{r:r[0],g:r[1],b:r[2],a:n?100*r[3]:sl}}}}function gl(e,t,n){return void 0===n&&(n=0),e<n?n:e>t?t:e}function vl(e,t,n){return[yl(e),yl(t),yl(n)].join("")}function yl(e){var t=(e=gl(e,al)).toString(16);return 1===t.length?"0"+t:t}function bl(e,t,n,o,r){return o===sl||"number"!=typeof o?"#"+r:"rgba("+e+", "+t+", "+n+", "+o/sl+")"}function _l(e){var t=e.a,n=void 0===t?sl:t,o=e.b,r=e.g,i=e.r,a=function(e,t,n){var o=NaN,r=Math.max(e,t,n),i=r-Math.min(e,t,n);return 0===i?o=0:e===r?o=(t-n)/i%6:t===r?o=(n-e)/i+2:n===r&&(o=(e-t)/i+4),(o=Math.round(60*o))<0&&(o+=360),{h:o,s:Math.round(100*(0===r?0:i/r)),v:Math.round(r/al*100)}}(i,r,o),s=a.h,l=a.s,u=a.v,c=vl(i,r,o);return{a:n,b:o,g:r,h:s,hex:c,r:i,s:l,str:bl(i,r,o,n,c),v:u}}function xl(e){var t=hl(e);if(t)return u({},_l(t),{str:e})}function kl(e){return"#"+(t=e.h,vl((n=fl(t,rl,il)).r,n.g,n.b));var t,n}var Cl=Ze();var wl=I(function(e){function t(t){var n=e.call(this,t)||this;n._root=o.createRef(),n._onMouseDown=function(e){n._events.on(window,"mousemove",n._onMouseMove,!0),n._events.on(window,"mouseup",n._disableEvents,!0),n._onMouseMove(e)},n._onMouseMove=function(e){var t=n.props,o=t.color,r=t.onChange;if(n._root.current)if(1&e.buttons){var i=function(e,t,n){var o=n.getBoundingClientRect(),r=(e.clientX-o.left)/o.width,i=(e.clientY-o.top)/o.height;return a=t,s=gl(r*rl,rl),l=gl(il-i*il,il),u=fl(a.h,s,l),c=u.r,d=u.g,p=u.b,f=vl(c,d,p),{a:a.a,b:p,g:d,h:a.h,hex:f,r:c,s:s,str:bl(c,d,p,a.a,f),v:l};var a,s,l,u,c,d,p,f}(e,o,n._root.current);i&&(n.setState({color:i}),r&&r(e,i)),e.preventDefault(),e.stopPropagation()}else n._disableEvents()},n._disableEvents=function(){n._events.off()},Io(n),n._events=new ae(n);var r=n.props.color;return n.state={color:r},n}return l(t,e),Object.defineProperty(t.prototype,"color",{get:function(){return this.state.color},enumerable:!0,configurable:!0}),t.prototype.componentWillReceiveProps=function(e){var t=e.color;this.setState({color:t})},t.prototype.componentWillUnmount=function(){this._events.dispose()},t.prototype.render=function(){var e=this.props,t=e.minSize,n=e.theme,r=e.className,i=e.styles,a=this.state.color,s=Cl(i,{theme:n,className:r});return o.createElement("div",{ref:this._root,className:s.root,style:{minWidth:t,minHeight:t,backgroundColor:kl(a)},onMouseDown:this._onMouseDown},o.createElement("div",{className:s.light}),o.createElement("div",{className:s.dark}),o.createElement("div",{className:s.thumb,style:{left:a.s+"%",top:il-a.v+"%",backgroundColor:a.str}}))},t.defaultProps={minSize:220},t}(o.Component),function(e){var t,n=e.className,o=e.theme,r=o.palette,i=o.effects;return{root:["ms-ColorPicker-colorRect",{position:"relative",marginBottom:10,border:"1px solid "+r.neutralLighter,borderRadius:i.roundedCorner2,selectors:(t={},t[wn]={MsHighContrastAdjust:"none"},t)},n],light:["ms-ColorPicker-light",{position:"absolute",left:0,right:0,top:0,bottom:0,background:"linear-gradient(to right, white 0%, transparent 100%)"}],dark:["ms-ColorPicker-dark",{position:"absolute",left:0,right:0,top:0,bottom:0,background:"linear-gradient(to bottom, transparent 0, #000 100%)"}],thumb:["ms-ColorPicker-thumb",{position:"absolute",width:20,height:20,background:"white",border:"1px solid "+r.neutralSecondaryAlt,borderRadius:"50%",boxShadow:i.elevation8,transform:"translate(-50%, -50%)",selectors:{":before":{position:"absolute",left:0,right:0,top:0,bottom:0,border:"2px solid "+r.white,borderRadius:"50%",boxSizing:"border-box",content:'""'}}}]}},void 0,{scope:"ColorRectangle"}),El=Ze(),Sl=I(function(e){function t(t){var n=e.call(this,t)||this;n._root=o.createRef(),n._onMouseDown=function(e){n._events.on(window,"mousemove",n._onMouseMove,!0),n._events.on(window,"mouseup",n._onMouseUp,!0),n._onMouseMove(e)},n._onMouseMove=function(e){if(n._root.current){var t=n.props,o=t.onChange,r=t.minValue,i=t.maxValue,a=n._root.current.getBoundingClientRect(),s=(e.clientX-a.left)/a.width,l=Math.min(i,Math.max(r,s*i));n.setState({currentValue:l}),o&&o(e,l),e.preventDefault(),e.stopPropagation()}},n._onMouseUp=function(e){n._events.off()},Io(n),n._events=new ae(n);var r=n.props.value;return n.state={currentValue:r},n}return l(t,e),t.prototype.componentWillReceiveProps=function(e){e&&e.value&&this.setState({currentValue:e.value})},t.prototype.componentWillUnmount=function(){this._events.dispose()},t.prototype.render=function(){var e=this.props,t=e.isAlpha,n=e.minValue,r=e.maxValue,i=e.overlayStyle,a=e.theme,s=e.className,l=e.styles,u=this.state.currentValue,c=El(l,{theme:a,className:s}),d=100*(u-n)/(r-n),p=t?{backgroundImage:"url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAJUlEQVQYV2N89erVfwY0ICYmxoguxjgUFKI7GsTH5m4M3w1ChQC1/Ca8i2n1WgAAAABJRU5ErkJggg==)"}:{background:"linear-gradient(to left,red 0,#f09 10%,#cd00ff 20%,#3200ff 30%,#06f 40%,#00fffd 50%,#0f6 60%,#35ff00 70%,#cdff00 80%,#f90 90%,red 100%)"};return o.createElement("div",{ref:this._root,className:c.root,onMouseDown:this._onMouseDown,style:p},o.createElement("div",{className:c.sliderOverlay,style:i}),o.createElement("div",{className:c.sliderThumb,style:{left:d+"%"}}))},t.defaultProps={minValue:0,maxValue:100,thumbColor:"inherit",value:0},t}(o.Component),function(e){var t=e.theme,n=e.className,o=t.palette,r=t.effects;return{root:["ms-ColorPicker-slider",{position:"relative",height:20,marginBottom:8,border:"1px solid "+o.neutralLight,borderRadius:r.roundedCorner2,boxSizing:"border-box"},n],sliderOverlay:["ms-ColorPicker-sliderOverlay",{content:"",position:"absolute",left:0,right:0,top:0,bottom:0}],sliderThumb:["ms-ColorPicker-thumb","is-slider",{position:"absolute",width:20,height:20,background:"white",border:"1px solid "+o.neutralSecondaryAlt,borderRadius:"50%",boxShadow:r.elevation8,transform:"translate(-50%, -50%)",top:"50%"}]}},void 0,{scope:"ColorSlider"});var Tl=Ze(),Il=["hex","r","g","b","a"];function Ml(e){var t=e.color;return"string"==typeof t?xl(t):t}var Pl=I(function(e){function t(t){var n=e.call(this,t)||this;n._onSVChanged=function(e,t){n._updateColor(e,t)},n._onHChanged=function(e,t){n._updateColor(e,function(e,t){var n=fl(t,e.s,e.v),o=n.r,r=n.g,i=n.b,a=vl(o,r,i);return{a:e.a,b:i,g:r,h:t,hex:a,r:o,s:e.s,str:bl(o,r,i,e.a,a),v:e.v}}(n.state.color,t))},n._onAChanged=function(e,t){n._updateColor(e,function(e,t){return u({},e,{a:t,str:bl(e.r,e.g,e.b,t,e.hex)})}(n.state.color,Math.round(t)))},n._onBlur=function(e){var t,o=n.state,r=o.color,i=o.editingColor;if(i){var a,s=i.value,l=i.component,c="hex"===l,d=c?ll:cl;if(s.length>=d&&(c||!isNaN(Number(s)))){var p=void 0;p=c?xl("#"+(!(a=s)||a.length<ll?"ffffff":a.length>=ul?a.substring(0,ul):a.substring(0,ll))):_l(function(e){return{r:gl(e.r,al),g:gl(e.g,al),b:gl(e.b,al),a:"number"==typeof e.a?gl(e.a,sl):e.a}}(u({},r,((t={})[l]=Number(s),t)))),n._updateColor(e,p)}else n.setState({editingColor:void 0})}},Io(n),n.state={color:Ml(t)||xl("#ffffff")},n._textChangeHandlers={};for(var o=0,r=Il;o<r.length;o++){var i=r[o];n._textChangeHandlers[i]=n._onTextChange.bind(n,i)}return n._textLabels={r:t.redLabel,g:t.greenLabel,b:t.blueLabel,a:t.alphaLabel,hex:t.hexLabel},n}return l(t,e),Object.defineProperty(t.prototype,"color",{get:function(){return this.state.color},enumerable:!0,configurable:!0}),t.prototype.componentWillReceiveProps=function(e){var t=Ml(e);t&&this._updateColor(void 0,t)},t.prototype.render=function(){var e=this,t=this.props,n=t.theme,r=t.className,i=t.styles,a=this.state.color,s=Tl(i,{theme:n,className:r});return o.createElement("div",{className:s.root},o.createElement("div",{className:s.panel},o.createElement(wl,{color:a,onChange:this._onSVChanged}),o.createElement(Sl,{className:"is-hue",minValue:0,maxValue:359,value:a.h,onChange:this._onHChanged}),!t.alphaSliderHidden&&o.createElement(Sl,{className:"is-alpha",isAlpha:!0,overlayStyle:{background:"linear-gradient(to right, transparent 0, #"+a.hex+" 100%)"},minValue:0,maxValue:sl,value:a.a,onChange:this._onAChanged}),o.createElement("table",{className:s.table,cellPadding:"0",cellSpacing:"0"},o.createElement("thead",null,o.createElement("tr",{className:s.tableHeader},o.createElement("td",{className:s.tableHexCell},t.hexLabel),o.createElement("td",null,t.redLabel),o.createElement("td",null,t.greenLabel),o.createElement("td",null,t.blueLabel),!t.alphaSliderHidden&&o.createElement("td",null,t.alphaLabel))),o.createElement("tbody",null,o.createElement("tr",null,Il.map(function(n){return"a"===n&&t.alphaSliderHidden?null:o.createElement("td",{key:n,style:"hex"===n?void 0:{width:"18%"}},o.createElement(Gs,{className:s.input,onChange:e._textChangeHandlers[n],onBlur:e._onBlur,value:e._getDisplayValue(n),spellCheck:!1,ariaLabel:e._textLabels[n]}))}))))))},t.prototype._getDisplayValue=function(e){var t=this.state,n=t.color,o=t.editingColor;return o&&o.component===e?o.value:String(n[e]||"")},t.prototype._onTextChange=function(e,t,n){var o,r=this.state.color,i="hex"===e,a="a"===e;if(n=(n||"").substr(0,i?ul:3),(i?dl:pl).test(n))if(""!==n&&(i?n.length===ul:a?Number(n)<=sl:Number(n)<=al))if(String(r[e])===n)this.state.editingColor&&this.setState({editingColor:void 0});else{var s=i?xl("#"+n):_l(u({},r,((o={})[e]=Number(n),o)));this._updateColor(t,s)}else this.setState({editingColor:{component:e,value:n}})},t.prototype._updateColor=function(e,t){var n=this;if(t){var o=this.state,r=o.color,i=o.editingColor;(t.h!==r.h||t.str!==r.str||i)&&this.setState({color:t,editingColor:void 0},function(){e&&n.props.onChange&&n.props.onChange(e,t)})}},t.defaultProps={hexLabel:"Hex",redLabel:"Red",greenLabel:"Green",blueLabel:"Blue",alphaLabel:"Alpha"},t}(o.Component),function(e){var t=e.className,n=e.theme;return{root:["ms-ColorPicker",n.fonts.medium,{position:"relative",maxWidth:300},t],panel:["ms-ColorPicker-panel",{padding:"16px"}],table:["ms-ColorPicker-table",{tableLayout:"fixed",width:"100%",selectors:{"tbody td:last-of-type .ms-ColorPicker-input":{paddingRight:0}}}],tableHeader:[u({},n.fonts.small,{selectors:{td:{paddingBottom:4}}})],tableHexCell:[{width:"25%"}],input:["ms-ColorPicker-input",{width:"100%",border:"none",boxSizing:"border-box",height:30,selectors:{"&.ms-TextField":{paddingRight:4},"& .ms-TextField-field":{minWidth:"auto",padding:5,textOverflow:"clip"}}}]}},void 0,{scope:"ColorPicker"}),Dl=function(e){function t(t){var n=e.call(this,t)||this;return n.colorpickerref=null,n.colorpickerref=null,n.state={property_values:t.setting},n}return l(t,e),t.prototype.componentWillReceiveProps=function(e){this.setState({property_values:e.setting})},t.prototype.get_value=function(){return{value:this.colorpickerref.color.str}},t.prototype.render=function(){var e=this,t=xl(this.state.property_values.value);return r.a.createElement(Pa,null,r.a.createElement(Es,null,this.state.property_values.display_name),r.a.createElement(Pl,{styles:{panel:{padding:0}},color:void 0===t?"#000000":t,componentRef:function(t){e.colorpickerref=t},alphaSliderHidden:!0,onChange:function(){e.parent_on_change()}}))},t}(Ps),Al=function(e){function t(t){var n=e.call(this,t)||this;return n.colorpickerref=null,n.colorpickerref=null,n.state={property_values:t.setting,call_action_callback:t.action_callback,name:t.action_name},n}return l(t,e),t.prototype.componentWillReceiveProps=function(e){this.setState({property_values:e.setting,name:e.action_name})},t.prototype.get_value=function(){return{value:this.state.property_values.value}},t.prototype.render=function(){var e=this;return r.a.createElement(Pa,null,r.a.createElement(Es,null,this.state.property_values.display_name),this.state.property_values.value?r.a.createElement(_a,{styles:{root:{paddingBottom:"0.5em"}}},this.state.property_values.value):r.a.createElement("span",null),r.a.createElement(Oa,{styles:{root:{alignSelf:"start"}},text:this.state.property_values.button_text,onClick:function(){return e.state.call_action_callback(e.state.name,e.state.property_values)}}))},t}(Ps),Nl=function(e){function t(t){var n=e.call(this,t)||this;return n.references={},n.parent_on_change=t.on_change,n.state={settings_key:t.settings_key,powertoy:t.powertoy},n}return l(t,e),t.prototype.shouldComponentUpdate=function(e,t){return!1},t.prototype.componentWillReceiveProps=function(e){this.setState({powertoy:e.powertoy})},t.prototype.get_data=function(){var e=this,t={};Object.keys(this.references).forEach(function(n){t[n]=e.references[n].get_value()});var n={};return n[this.state.settings_key]={name:this.state.powertoy.name,properties:t},{powertoys:n}},t.prototype.call_custom_action=function(e,t){var n,o={action:(n={},n[this.state.settings_key]={action_name:e,value:t.value},n)};window.output_from_webview(JSON.stringify(o))},t.prototype.render=function(){var e=this,t=this.state.powertoy.properties;return r.a.createElement(Pa,{tokens:{childrenGap:20}},r.a.createElement(Pa,null,r.a.createElement(_a,{variant:"large"},this.state.powertoy.description),this.state.powertoy.hasOwnProperty("overview_link")?r.a.createElement(Pa,{horizontal:!0,tokens:{childrenGap:5}},r.a.createElement(Ms,{styles:{root:{alignSelf:"center"}},href:this.state.powertoy.overview_link,target:"_blank"},"Module overview")):null,this.state.powertoy.hasOwnProperty("video_link")?r.a.createElement(Pa,{horizontal:!0,tokens:{childrenGap:5}},r.a.createElement(Ms,{styles:{root:{alignSelf:"center"}},href:this.state.powertoy.video_link,target:"_blank"},"Video demo")):null),Object.keys(t).sort(function(e,n){return(t[e].order||0)-(t[n].order||0)}).map(function(n){switch(t[n].editor_type){case"bool_toggle":return r.a.createElement(Bs,{setting:t[n],key:n,on_change:e.parent_on_change,ref:function(t){e.references[n]=t}});case"string_text":return r.a.createElement(qs,{setting:t[n],key:n,on_change:e.parent_on_change,ref:function(t){e.references[n]=t}});case"int_spinner":return r.a.createElement(ol,{setting:t[n],key:n,on_change:e.parent_on_change,ref:function(t){e.references[n]=t}});case"color_picker":return r.a.createElement(Dl,{setting:t[n],key:n,on_change:e.parent_on_change,ref:function(t){e.references[n]=t}});case"custom_action":return r.a.createElement(Al,{setting:t[n],action_name:n,action_callback:function(t,n){e.call_custom_action(t,n)},key:n,ref:function(t){e.references[n]=t}});default:return null}}),r.a.createElement("span",null))},t}(r.a.Component);n(24);function Bl(e,t){void 0===e&&(e="");ut({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('data:application/octet-stream;base64,d09GRgABAAAAAAu8AA4AAAAAFYgAA2PXAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABRAAAAEgAAABgMUZxSWNtYXAAAAGMAAAAWwAAAXqhL5+fY3Z0IAAAAegAAAAgAAAAKgnZCa9mcGdtAAACCAAAAPAAAAFZ/J7mjmdhc3AAAAL4AAAADAAAAAwACAAbZ2x5ZgAAAwQAAANmAAAFdLqlsAxoZWFkAAAGbAAAADIAAAA2AGEB92hoZWEAAAagAAAAFQAAACQQAQgDaG10eAAABrgAAAAmAAAAJhJIBzVsb2NhAAAG4AAAACQAAAAkDIYOZG1heHAAAAcEAAAAHQAAACAAKgH2bmFtZQAAByQAAAP2AAAJ+o+d8VFwb3N0AAALHAAAABQAAAAg/1EAiHByZXAAAAswAAAAiQAAANN4vfIOeJxjYGG/yjiBgZWBgXUWqzEDA6M0hGa+yJDGJMTBysrFyMQIBgxAIMCAAL7BCgoMDs8ZXllxgPkQkgGsjgXCU2BgAADopwgseJxjYGBgZoBgGQZGBhAoAfIYwXwWhgggLcQgABRhes7wnPc533PB58LPc16WvLL6/5+BAUks+2UuSEySUeKrxHeJTxIfJWaLzRa9BjUTDTCyYRMdWQAAVKwc+wB4nGPQYghlKGBoYFjFyMDYwOzAeIDBAYsIEAAAqhwHlXicXY+/TsNADMZzJLSEJ0A6IZ11KkOViJ3phksk1CUlDOelgNRKpO+AlIXFA8/ibhnzYgjMEf4utr/P+ny/c6f5yXx2nKVHKilWnDfhoNQLDurtmf35IU/vNmVhTNV5VvdlwWoJomtOF/VNsGjI0PWWTG0eH7acLWKXxY7w0nDShk7qbQB2qL/HHeJVPJLFI4QS30/xfYxL+rUsVobTiyasA/des/OoAUzFYxN49BoQf8ikP3VnE+NsOWXbwE5zgkSfygL3RJqE+0uPf/Wgkv+G+23Iv6tB9U3c9Bb0h2HBgrChl2fbUAkaYPkOhPxkxgABAAIACAAK//8AD3iclZPPaxtXEMdn3uzuSC1Waq/ktVJQa8mSECVqKlveQ0BxIZCkEB19WKOQUw6F6BISEASsQImbgi92bj2YRDR/QAKhxn9Arrnl1F5CqotzkFNoVrxdOrv6EQX3Uv3YNzvzmfedtzsDCp4CGD+Zd4GAAdz55fni8vzyU/pTv1Avgh/AvDv85ZHRBPkQAHYTYEkCJCEFFTiKvQTGN78DfHEIc2D9fQifAck1Edum2Oe/w+X6cmZ+eknAB/j4N7vdroZuV+H2NiDY+Be/s85JJqCTRBd539O2tj3at86JRe88fUu49/Ce53gOPgdIIiexLGwSHWNLPfOCa8E1Tz0Lmp56rp57BnxyGzQFgegUFlg85CG4cBt24FdRTC9m0lbGpKLFtkl5q5AvFahol8riWivV19brRdtcd8VVW1+tLa4KtOgUbWxgfa1UdstmFct2matYyFtcZjuFXGQnhZn0osNOMYcOOW4OV2vrruNSA13TxVpOZdIpVchXVX2toexaQ9aq3KfEn1PWP4hIB+HrpbOXwvuPkwtJ+T0O7186uxS+PkBCDIMDrEgUtydR3JYoVg7Cn5VhqOPNcPDV96WLrx45552lb5f2X10sbXwdDjaPR1E8czqKZzb1XvPhzQsXbj5sTlb3xpVK5coNd7waK/+vmGD2IOEfoiWKU7njT0udjZ4qVf04W1a0Bt2ZwuJVeoQUcWBtRb2UVNIg3NMt3fIooEARPdHXPQq1inob8TcgM+AgYovJqPPMnlYUevo6PaEow4tyY1ZJz1tbU1babma3FvWo52nSFLPA2GLfuhyNzahP0QDyT7Sv/ROSgOYBsfYH5E/4Q+F7ER/3vyTxiWbNJ8TEVm+gmfyB9olHdR+CONmP91eyv2P1ouAIYx7riKKwLWEvT9hoYFST/EkB7E9VhIWsynLf6kxZ5rbe03sd6lO/o7LUjm2d7UQs7nDf7I/OGE2hnFEi1KZ2R0tQMvRebI9q3oGs2eeYHz1rNts6O6GysUQsJs86C1mrM2ZHM65EeKI+FZGt4xeZkC98KRMNWDNyaiGTVillFPIrVSVTtdBQKzJfhsyX+FKGzJdhwC5ab44eXL364OhNONzdDYeTO7R277192buzsXGn9/LtvRk7Af9Jj3f60D2VMLalwn8BDliIAQAAeJxjYGRgYGBOvp43+b9GPL/NVwZuDgYQ2P/3YAOIvunUvwhEczCAxTkZmEAUAGSmCn0AAHicY2BkYOBgAAE4yciACpgAAsoAHQAAAAUqAKYIAAAAABMA8wAGAAMBpQIDAAcABwG5AV0AGQAZAYcCGQAAAAAAAAAWAEgAXAB+AW4BhAGaAbAByAHgAfYCDAIiAjoCUAJmArp4nGNgZGBgEGSYw8DCAAKMYJILhBkjQUwAFCoBIgAAAHictVQ/axxHFH+nO1sKjkUwBFxOEYIsjj1bKozsSthxZTWyEbgJzO3M7Q7e2xlmZr1scOHSRT5GGkM+RUggZep8gtSpUua9t7N3ku9ilEDu2NnfvHl/f+/NAsDd0dcwgv53jE+PR3AHdz3egV34JuExyp8nPEH8bcI34HNwCd+EL+BtwrtwAt8nvAdfwi8J34JD+D3h26OfR5OE9+Fw51eMMpp8hju182fCI/hqfJHwDuyPv0t4jPL3CU8Q/5jwDbg7/i3hmyDGfyS8C36yl/AeHE4GP7fg5eSHhG+P30/+SngfXu69++mDOLr/4KE4M7m3wS6ieGK9s15GY+tMnFaVODdFGYM410H7N1plz+Tcm1ycPX1+JE5D0DGc66KppN882JRcaB/QszjOjk/6Uzrsz17owmphgpAieqn0UvrXwi5ELPWl/ApvG0fi3C6drI0O2dbkyxjdo9msbdtsOZxnaDOLnbOFl67sZgtbxzBbm4fGucpoJeggE69sI5ayE03QmAQmRmIRrci9llFPhTLBVbKbClkr4bzB0xxVNL5lEE77pYkR3c07LqIyua7JFx4EYf0AFhRhulmq81Y1eZwKYh5tp2QzBDC1aEuTl5cyazGoqfOqUdimVfa2rjpxYO4JvZxjLmt19PCpbFldmboQXoeInSJW1wHIfOXrMTNwYDBK1EtqgTcYVdm2rqxUV9mTPVXaUzkWQ+HaRNdEoTSVSTqlrtxVRnEY6y6pU0PQIfJTmrnBnLPrdxs+gIAjuA8P4CGiMzCQgwcLAZ8FRJQ9QeTxztMqUWIQ1ZDhySlU+BdwjrICSjwLvNP41qj9BleFms/Qbo578k0xnuKX5YjtA2uSHVkV0KA/iZrXsbiOzgXnEVLOAr90GT4nV2wHy8t2Lzgbi6tAHapK4hOZAYXSJWf5GmXEEp2UrLuNv4L3DTI4aOf4XuJeYk6G2cr+BfPEc0TpI5jhv+V/hv4+ts9SnBnijr0U7Mehhw6lC/ZG1c62Rg+cs8OOGO6jWFlQ719xTYKZ6PDdMHc9Ez1jgzbJLFftUYPq0DDFvWI9xx3vWEJ8UBzHnelt8+RFp71k3477SjVHPiOrOecxdKLiishqyKu3CNwFvyFZrGqYXqurjvcKbXLcT5mvfub7uNNVnI8rMDyJLfOU47qdszZVSto5VtPw3Kmt3JNNxegA9e/hmyZ0nnjZ5r3P4b9yu/au2FOBMs9zHNOdGmZ1WwVD9M28Hl+aAaqkryVyvOEWkP++VoWSliu3fCs/NXvyylRp7otNa19Vjxu+WQ1bUrZDNwc/pFnxTf7nGe2/jHXqzNr7cENMYpnmh/KdM9N9b/+Hu/03eW84mAAAeJxjYGYAg/9+DOUMmEAQACk7Adl4nNvAoM2wiZGTSZtxExeI3M7Vmhtqq8rAob2dOzXYQU8GxOKJ8LDQkASxeJ3NteWFQSw+HRUZER4Qi19OQpiPA8QS4OPhZGcBsQTBAMQS2jChIMAAyGLYzgg3mgluNDPcaBa40axwo9nkJKFGs8ON5oAbzQk3epMwI7v2BgYF19pMCRcAxAEoGgAAAA==') format('truetype');"},icons:{GlobalNavButton:"",ChevronDown:"",ChevronUp:"",Cancel:"",Settings:"",ChevronLeft:"",ChevronRight:"",ChevronUpSmall:"",ChevronDownSmall:"",ChevronLeftSmall:"",ChevronRightSmall:"",ChevronUpMed:"",ChevronDownMed:"",ChevronLeftMed:"",ChevronRightMed:"",CircleRing:""}},t)}var Fl=function(){ct("trash","delete"),ct("onedrive","onedrivelogo"),ct("alertsolid12","eventdatemissed12"),ct("sixpointstar","6pointstar"),ct("twelvepointstar","12pointstar"),ct("toggleon","toggleleft"),ct("toggleoff","toggleright")},Ol="https://spoprod-a.akamaihd.net/files/fabric/assets/icons/";function Rl(){return(Rl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var Ll=r.a.createElement("g",{fill:"none",fillRule:"evenodd"},r.a.createElement("path",{stroke:"#000",d:"M.5.5h14v14H.5z"}),r.a.createElement("circle",{fill:"#000",cx:7.5,cy:7.5,r:2.5}),r.a.createElement("circle",{stroke:"#000",cx:7.5,cy:7.5,r:4})),Hl=function(e){return r.a.createElement("svg",Rl({width:15,height:15},e),Ll)};function Wl(){return(Wl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var zl=r.a.createElement("g",{stroke:"#000",fill:"none",fillRule:"evenodd"},r.a.createElement("path",{d:"M.5.5h14v14H.5zM2.5 2v5M4.5 2v5M6.5 5v5M7.5 6v3M8.5 7v1M5 2.5H2M2.5 8v5M5 8.5H2M5 12.5H2M10.5 8v5M12.5 9v3M12 8.5h-2M12 12.5h-2M5 4.5H2M10.5 2v5M12.5 2v5M13 2.5h-3M13 4.5h-3M13 6.5h-3"})),Ul=function(e){return r.a.createElement("svg",Wl({width:15,height:15},e),zl)};function Kl(){return(Kl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var jl=r.a.createElement("g",{stroke:"#000",fill:"none",fillRule:"evenodd"},r.a.createElement("path",{d:"M.5.5h14v14H.5z"}),r.a.createElement("path",{d:"M2.5 2.5h4v4h-4zM2.5 8.5h4v4h-4zM8.5 2.5h4v10h-4z"})),Vl=function(e){return r.a.createElement("svg",Kl({width:15,height:15},e),jl)};function Gl(){return(Gl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var ql=r.a.createElement("g",{stroke:"#000",fill:"none",fillRule:"evenodd"},r.a.createElement("path",{d:"M.5.5h14v14H.5z"}),r.a.createElement("path",{d:"M2.5 2.5h6v6h-6zM2.5 10.5h2v2h-2zM6.5 10.5h2v2h-2zM10.5 2.5h2v2h-2zM10.5 6.5h2v2h-2zM10.5 10.5h2v2h-2z"})),Yl=function(e){return r.a.createElement("svg",Gl({width:15,height:15},e),ql)};function Ql(){return(Ql=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var Zl=r.a.createElement("g",{stroke:"#000",fill:"none",fillRule:"evenodd"},r.a.createElement("path",{d:"M.5.5h15v15H.5zM5 5l5.657 5.657M10.657 5L5 10.657"})),Xl=function(e){return r.a.createElement("svg",Ql({width:16,height:16},e),Zl)};function Jl(){return(Jl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var $l,eu,tu=r.a.createElement("g",{stroke:"#000",fill:"none",fillRule:"evenodd"},r.a.createElement("path",{d:"M.5.5h14v10H.5zM5 5.5h5M7.5 3v5"}),r.a.createElement("path",{d:"M.5.5h14v12H.5z"})),nu=function(e){return r.a.createElement("svg",Jl({width:15,height:13},e),tu)};void 0===($l="icons/fonts/")&&($l=Ol),[Bl].forEach(function(e){return e($l,eu)}),Fl(),ut({icons:{"pt-animated-gif-recorder":r.a.createElement(Hl,null),"pt-batch-renamer":r.a.createElement(Ul,null),"pt-fancy-zones":r.a.createElement(Vl,null),"pt-shortcut-guide":r.a.createElement(Yl,null),"pt-terminate-tool":r.a.createElement(Xl,null),"pt-maximize-new-desktop":r.a.createElement(nu,null)}});var ou=function(e){function t(t){var n=e.call(this,t)||this;return n.show_save_exit_dialog=function(){n.setState({show_save_discard_dialog:!0,user_trying_to_exit:!0})},n.on_setting_change=function(){n.setState({data_changed:!0})},n.show_save_discard_dialog=function(e){n.setState({target_selected_menu:e,show_save_discard_dialog:!0,user_trying_to_exit:!1})},n.save_clicked=function(){n.setState({saving:!0}),window.output_from_webview(JSON.stringify(n.settings_screen_ref.get_data()))},n.close_save_discard_dialog=function(){n.state.user_trying_to_exit&&n.send_message_to_application("cancel-exit"),n.setState({show_save_discard_dialog:!1})},n.save_save_discard_dialog=function(){n.state.user_trying_to_exit&&n.send_message_to_application("cancel-exit"),n.setState({show_save_discard_dialog:!1}),n.save_clicked()},n.discard_save_discard_dialog=function(){n.state.user_trying_to_exit&&n.send_message_to_application("exit"),n.setState({show_save_discard_dialog:!1,selected_menu:n.state.target_selected_menu,data_changed:!1,saving:!1})},n.settings_screen_ref=null,n.state={data_changed:!1,saving:!1,selected_menu:"general",target_selected_menu:"",show_save_discard_dialog:!1,user_trying_to_exit:!1,settings:{}},n}return l(t,e),t.prototype.componentDidMount=function(){this.send_message_to_application(JSON.stringify({refresh:!0}))},t.prototype.send_message_to_application=function(e){window.output_from_webview(e)},t.prototype.receive_config_msg=function(e){var t=this.state.selected_menu;e.hasOwnProperty("powertoys")&&e.powertoys.hasOwnProperty(t)||(t="general"),this.setState({settings:e,selected_menu:t,data_changed:!1,saving:!1,show_save_discard_dialog:!1}),this.settings_screen_ref&&this.settings_screen_ref.forceUpdate()},t.prototype.receive_exit_request=function(){this.state.data_changed?this.show_save_exit_dialog():this.send_message_to_application("exit")},t.prototype.render=function(){var e=this,t=this.state.settings.powertoys,n=[];for(var o in t)t.hasOwnProperty(o)&&n.push({name:t[o].name,key:o,url:"",icon:t[o].icon_key||"CircleRing"});return r.a.createElement("div",{className:"body"},r.a.createElement("div",{className:"sidebar"},r.a.createElement(pa,{selectedKey:this.state.selected_menu,onLinkClick:function(t,n){var o=n&&n.key||null;o&&o!=e.state.selected_menu&&(e.state.data_changed?(t&&t.preventDefault(),e.show_save_discard_dialog(o)):e.setState({selected_menu:o}))},styles:{navItems:{margin:"0"},compositeLink:{backgroundColor:"#f3f2f1",color:"#323130",selectors:{"&.is-selected button":{backgroundColor:"#e1dfdd",color:"#201F1E",fontWeight:"bold"},"&:hover button.ms-Nav-link":{backgroundColor:"#e1dfdd",color:"#323130"},"i.ms-Button-icon":{color:"#201F1E",fontWeight:"normal"},"&:hover i.ms-Button-icon":{color:"#201F1E"},"&:active i.ms-Button-icon":{color:"#201F1E"}}}},groups:[{links:[{name:"General Settings",key:"general",url:"",icon:"Settings"}].concat(n)}]})),r.a.createElement("div",{className:"editorzone"},r.a.createElement("div",{className:"editorhead"},r.a.createElement("div",{className:"editortitle"},r.a.createElement(_a,{variant:"xxLarge",styles:{root:{display:"block",whiteSpace:"no-wrap",overflow:"hidden",textOverflow:"ellipsis"}}},"general"!=this.state.selected_menu?t[this.state.selected_menu].name+" Settings":"PowerToys General Settings")),r.a.createElement("div",{className:"editorheadbuttons"},r.a.createElement(Pa,{horizontal:!0,tokens:{childrenGap:16}},r.a.createElement(Oa,{styles:{root:{minWidth:"100px"}},disabled:!this.state.data_changed||this.state.saving,text:this.state.saving?"Saving":"Save",onClick:this.save_clicked},this.state.saving?r.a.createElement(Ka,{size:Aa.small}):r.a.createElement("span",null))))),r.a.createElement("div",{className:"editorbody"},r.a.createElement(qa,{styles:{contentContainer:{paddingTop:"16px",paddingLeft:"16px",paddingRight:"16px"}}},"general"===e.state.selected_menu&&e.state.settings.hasOwnProperty("general")?r.a.createElement(Rs,{key:"general",settings_key:"general",settings:e.state.settings,on_change:e.on_setting_change,ref:function(t){e.settings_screen_ref=t}}):e.state.settings.hasOwnProperty("powertoys")&&e.state.selected_menu in e.state.settings.powertoys?r.a.createElement(Nl,{key:e.state.selected_menu,settings_key:e.state.selected_menu,powertoy:e.state.settings.powertoys[e.state.selected_menu],on_change:e.on_setting_change,ref:function(t){e.settings_screen_ref=t}}):void 0))),r.a.createElement(Cs,{hidden:!this.state.show_save_discard_dialog,onDismiss:this.close_save_discard_dialog,dialogContentProps:{type:Ra.normal,title:"Changes not saved",subText:this.state.user_trying_to_exit?"Would you like to save your changes or exit the settings?":"Would you like to save or discard your changes?"},modalProps:{isBlocking:!0,styles:{main:{maxWidth:450}}}},r.a.createElement(ps,{styles:{actionsRight:{textAlign:"center"}}},r.a.createElement(Oa,{onClick:this.save_save_discard_dialog,text:"Save"}),r.a.createElement(Oa,{onClick:this.discard_save_discard_dialog,text:this.state.user_trying_to_exit?"Exit":"Discard"}),r.a.createElement(Fa,{onClick:this.close_save_discard_dialog,text:"Cancel"}))))},t}(r.a.Component);tt({selectors:{":global(body), :global(html), :global(#app)":{margin:0,padding:0,height:"100vh"}}});var ru=document.getElementById("app");ru&&ru.hasChildNodes()?a.a.hydrate(r.a.createElement(ou,{ref:function(e){window.react_app_component=e}}),ru):a.a.render(r.a.createElement(ou,{ref:function(e){window.react_app_component=e}}),ru)},,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return i});var o={},r=void 0;try{r=window}catch(e){}function i(e,t){if(void 0!==r){var n=r.__packages__=r.__packages__||{};if(!n[e]||!o[e])o[e]=t,(n[e]=n[e]||[]).push(t)}}}]);