(window["webpackJsonpseu-igem2019"]=window["webpackJsonpseu-igem2019"]||[]).push([[2],Array(61).concat([function(e,t,o){"use strict";o.d(t,"a",function(){return n});var n={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,t,o){"use strict";o.d(t,"a",function(){return a});var n=o(58),r=o(1),i={outline:0},s=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",verticalAlign:"middle",flexShrink:0}},a=Object(n.a)(function(e){var t,o=e.semanticColors,n=e.effects,a=e.fonts,l=o.buttonBorder,c=o.disabledBackground,u=o.disabledText,d={left:-2,top:-2,bottom:-2,right:-2,border:"none",outlineColor:"ButtonText"};return{root:[Object(r.t)(e,{inset:1,highContrastStyle:d,borderColor:"transparent"}),e.fonts.medium,{boxSizing:"border-box",border:"1px solid "+l,userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",padding:"0 16px",borderRadius:n.roundedCorner2,selectors:{":active > *":{position:"relative",left:0,top:0}}}],rootDisabled:[Object(r.t)(e,{inset:1,highContrastStyle:d,borderColor:"transparent"}),{backgroundColor:c,borderColor:c,color:u,cursor:"default",pointerEvents:"none",selectors:(t={":hover":i,":focus":i},t[r.d]={color:"grayText",borderColor:"grayText"},t)}],iconDisabled:{color:u},menuIconDisabled:{color:u},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:s(a.mediumPlus.fontSize),menuIcon:s(a.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:r.z}})},function(e,t,o){"use strict";var n,r=o(2),i=o(0),s=o(58),a=o(123),l=o(133),c=o(12),u=o(73),d=o(122),p=o(143),h=o(135),m=o(150),f=o(89),b=o(79),g=o(68),v=function(e){var t=e.className,o=e.imageProps,n=Object(d.d)(e,d.e),s=e["aria-label"]?{}:{role:"presentation","aria-hidden":!o.alt&&!o["aria-labelledby"]};return i.createElement("div",r.a({},s,n,{className:Object(a.a)(g.a,g.b.root,g.b.image,t)}),i.createElement(b.a,r.a({},o)))},_=o(61),y=o(124);!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(n||(n={}));var C=o(91),x=o(155),k=o(125),E=o(127),I=o(128),w=o(152),S=o(153),O=o(25),M=o(13);function D(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"===typeof e.isChecked?e.isChecked:"boolean"===typeof e.checked?e.checked:null}function T(e){return!(!e.subMenuProps&&!e.items)}function P(e){return!(!e.isDisabled&&!e.disabled)}var B=o(80),N=o(140),F=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.openSubMenu=function(){var e=t.props,o=e.item,n=e.openSubMenu,r=e.getSubmenuTarget;if(r){var i=r();T(o)&&n&&i&&n(o,i)}},t.dismissSubMenu=function(){var e=t.props,o=e.item,n=e.dismissSubMenu;T(o)&&n&&n()},t.dismissMenu=function(e){var o=t.props.dismissMenu;o&&o(void 0,e)},t}return r.c(t,e),t.prototype.render=function(){var e=this.props,t=e.item,o=e.classNames;return i.createElement("div",{className:t.split?o.linkContentMenu:o.linkContent},function(e){var t=e.onCheckmarkClick,o=e.item,n=e.classNames,r=D(o);if(t){return i.createElement(m.a,{iconName:r?"CheckMark":"",className:n.checkmarkIcon,onClick:function(e){return t(o,e)}})}return null}(this.props),function(e){var t=e.item,o=e.hasIcons,n=e.classNames,s=t.iconProps;return o?t.onRenderIcon?t.onRenderIcon(e):i.createElement(m.a,r.a({},s,{className:n.icon})):null}(this.props),function(e){var t=e.item,o=e.classNames;return t.text||t.name?i.createElement("span",{className:o.label},t.text||t.name):null}(this.props),function(e){var t=e.item,o=e.classNames;return t.secondaryText?i.createElement("span",{className:o.secondaryText},t.secondaryText):null}(this.props),function(e){var t=e.item,o=e.classNames;return T(t)?i.createElement(m.a,r.a({iconName:Object(w.a)()?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:o.subMenuIcon})):null}(this.props))},t}(p.a),R=o(1),j=Object(s.a)(function(e){return Object(R.C)({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})}),A=Object(R.x)(0,R.i),z=Object(s.a)(function(){var e;return{selectors:(e={},e[R.d]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"},e)}}),L=Object(s.a)(function(e){var t,o,n,i,s,a,l,c=e.semanticColors,u=e.fonts,d=e.palette,p=c.menuItemBackgroundHovered,h=c.menuItemTextHovered,m=c.menuItemBackgroundPressed,f=c.bodyDivider,b={item:[u.medium,{color:c.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:f,position:"relative"},root:[Object(R.t)(e),u.medium,{color:c.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:36,lineHeight:36,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:c.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[R.d]={color:"GrayText",opacity:1},t)},rootHovered:r.a({backgroundColor:p,color:h,selectors:{".ms-ContextualMenu-icon":{color:d.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:d.neutralPrimary}}},z()),rootFocused:r.a({backgroundColor:d.white},z()),rootChecked:r.a({selectors:{".ms-ContextualMenu-checkmarkIcon":{color:d.neutralPrimary}}},z()),rootPressed:r.a({backgroundColor:m,selectors:{".ms-ContextualMenu-icon":{color:d.themeDark},".ms-ContextualMenu-submenuIcon":{color:d.neutralPrimary}}},z()),rootExpanded:r.a({backgroundColor:m,color:c.bodyTextChecked},z()),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:R.g.medium,width:R.g.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(o={},o[A]={fontSize:R.g.large,width:R.g.large},o)},iconColor:{color:c.menuIcon,selectors:(n={},n[R.d]={color:"inherit"},n["$root:hover &"]={selectors:(i={},i[R.d]={color:"HighlightText"},i)},n["$root:focus &"]={selectors:(s={},s[R.d]={color:"HighlightText"},s)},n)},iconDisabled:{color:c.disabledBodyText},checkmarkIcon:{color:c.bodySubtext,selectors:(a={},a[R.d]={color:"HighlightText"},a)},subMenuIcon:{height:36,lineHeight:36,color:d.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:R.g.small,selectors:(l={":hover":{color:d.neutralPrimary},":active":{color:d.neutralPrimary}},l[A]={fontSize:R.g.medium},l)},splitButtonFlexContainer:[Object(R.t)(e),{display:"flex",height:36,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]};return Object(R.q)(b)}),H=o(55),W=Object(R.x)(0,R.i),K=Object(s.a)(function(e){var t;return Object(R.C)(j(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[W]={right:32},t)},divider:{height:16,width:1}})}),U={item:"ms-ContextualMenu-item",divider:"ms-ContextualMenu-divider",root:"ms-ContextualMenu-link",isChecked:"is-checked",isExpanded:"is-expanded",isDisabled:"is-disabled",linkContent:"ms-ContextualMenu-linkContent",linkContentMenu:"ms-ContextualMenu-linkContent",icon:"ms-ContextualMenu-icon",iconColor:"ms-ContextualMenu-iconColor",checkmarkIcon:"ms-ContextualMenu-checkmarkIcon",subMenuIcon:"ms-ContextualMenu-submenuIcon",label:"ms-ContextualMenu-itemText",secondaryText:"ms-ContextualMenu-secondaryText",splitMenu:"ms-ContextualMenu-splitMenu"},V=Object(s.a)(function(e,t,o,n,r,i,s,a,l,c,u,d){var p,h,m,f,b=L(e),g=Object(R.u)(U,e);return Object(R.C)({item:[g.item,b.item,s],divider:[g.divider,b.divider,a],root:[g.root,b.root,n&&[g.isChecked,b.rootChecked],r&&b.anchorLink,o&&[g.isExpanded,b.rootExpanded],t&&[g.isDisabled,b.rootDisabled],!t&&!o&&[{selectors:(p={":hover":b.rootHovered,":active":b.rootPressed},p["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=b.rootFocused,p["."+H.a+" &:hover"]={background:"inherit;"},p)}],d],splitPrimary:[b.root,{width:"calc(100% - 28px)"},n&&["is-checked",b.rootChecked],(t||u)&&["is-disabled",b.rootDisabled],!(t||u)&&!n&&[{selectors:(h={":hover":b.rootHovered},h[":hover ~ ."+g.splitMenu]=b.rootHovered,h[":active"]=b.rootPressed,h["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=b.rootFocused,h["."+H.a+" &:hover"]={background:"inherit;"},h)}]],splitMenu:[g.splitMenu,b.root,{flexBasis:"0",padding:"0 8px",minWidth:"28px"},o&&["is-expanded",b.rootExpanded],t&&["is-disabled",b.rootDisabled],!t&&!o&&[{selectors:(m={":hover":b.rootHovered,":active":b.rootPressed},m["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=b.rootFocused,m["."+H.a+" &:hover"]={background:"inherit;"},m)}]],anchorLink:b.anchorLink,linkContent:[g.linkContent,b.linkContent],linkContentMenu:[g.linkContentMenu,b.linkContent,{justifyContent:"center"}],icon:[g.icon,i&&b.iconColor,b.icon,l,t&&[g.isDisabled,b.iconDisabled]],iconColor:b.iconColor,checkmarkIcon:[g.checkmarkIcon,i&&b.checkmarkIcon,b.icon,l],subMenuIcon:[g.subMenuIcon,b.subMenuIcon,c,o&&{color:e.palette.neutralPrimary},t&&[b.iconDisabled]],label:[g.label,b.label],secondaryText:[g.secondaryText,b.secondaryText],splitContainer:[b.splitButtonFlexContainer,!t&&!n&&[{selectors:(f={},f["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=b.rootFocused,f)}]]})}),q=function(e){var t=e.theme,o=e.disabled,n=e.expanded,r=e.checked,i=e.isAnchorLink,s=e.knownIcon,a=e.itemClassName,l=e.dividerClassName,c=e.iconClassName,u=e.subMenuClassName,d=e.primaryDisabled,p=e.className;return V(t,o,n,r,i,s,a,l,c,u,d,p)},Z=Object(y.a)(F,q,void 0,{scope:"ContextualMenuItem"}),G=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onItemMouseEnter=function(e){var o=t.props,n=o.item,r=o.onItemMouseEnter;r&&r(n,e,e.currentTarget)},t._onItemClick=function(e){var o=t.props,n=o.item,r=o.onItemClickBase;r&&r(n,e,e.currentTarget)},t._onItemMouseLeave=function(e){var o=t.props,n=o.item,r=o.onItemMouseLeave;r&&r(n,e)},t._onItemKeyDown=function(e){var o=t.props,n=o.item,r=o.onItemKeyDown;r&&r(n,e)},t._onItemMouseMove=function(e){var o=t.props,n=o.item,r=o.onItemMouseMove;r&&r(n,e,e.currentTarget)},t._getSubMenuId=function(e){var o=t.props.getSubMenuId;if(o)return o(e)},t._getSubmenuTarget=function(){},t}return r.c(t,e),t.prototype.shouldComponentUpdate=function(e){return!Object(u.d)(e,this.props)},t}(p.a),Y=o(144),X=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=i.createRef(),t._getMemoizedMenuButtonKeytipProps=Object(s.a)(function(e){return r.a({},e,{hasMenu:!0})}),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var o=t.props,n=o.item,r=o.onItemClick;r&&r(n,e)},t}return r.c(t,e),t.prototype.render=function(){var e=this,t=this.props,o=t.item,n=t.classNames,s=t.index,a=t.focusableElementIndex,l=t.totalItemCount,c=t.hasCheckmarks,u=t.hasIcons,p=t.contextualMenuItemAs,h=void 0===p?Z:p,m=t.expandedMenuItemKey,f=t.onItemClick,b=t.openSubMenu,g=t.dismissSubMenu,v=t.dismissMenu,_=o.rel;o.target&&"_blank"===o.target.toLowerCase()&&(_=_||"nofollow noopener noreferrer");var y=this._getSubMenuId(o),C=T(o),x=Object(d.d)(o,d.a),k=P(o),E=o.itemProps,I=o.keytipProps;return I&&C&&(I=this._getMemoizedMenuButtonKeytipProps(I)),i.createElement("div",null,i.createElement(Y.a,{keytipProps:o.keytipProps,ariaDescribedBy:x["aria-describedby"],disabled:k},function(t){return i.createElement("a",r.a({},x,t,{ref:e._anchor,href:o.href,target:o.target,rel:_,className:n.root,role:"menuitem","aria-owns":o.key===m?y:void 0,"aria-haspopup":C||void 0,"aria-expanded":C?o.key===m:void 0,"aria-posinset":a+1,"aria-setsize":l,"aria-disabled":P(o),style:o.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:C?e._onItemKeyDown:void 0}),i.createElement(h,r.a({componentRef:o.componentRef,item:o,classNames:n,index:s,onCheckmarkClick:c&&f?f:void 0,hasIcons:u,openSubMenu:b,dismissSubMenu:g,dismissMenu:v,getSubmenuTarget:e._getSubmenuTarget},E)))}))},t}(G),Q=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=i.createRef(),t._getMemoizedMenuButtonKeytipProps=Object(s.a)(function(e){return r.a({},e,{hasMenu:!0})}),t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return r.c(t,e),t.prototype.render=function(){var e=this,t=this.props,o=t.item,n=t.classNames,s=t.index,a=t.focusableElementIndex,l=t.totalItemCount,c=t.hasCheckmarks,u=t.hasIcons,p=t.contextualMenuItemAs,h=void 0===p?Z:p,m=t.expandedMenuItemKey,f=t.onItemMouseDown,b=t.onItemClick,g=t.openSubMenu,v=t.dismissSubMenu,_=t.dismissMenu,y=this._getSubMenuId(o),C=D(o),x=null!==C,k=x?"menuitemcheckbox":"menuitem",E=T(o),I=o.itemProps,w=o.ariaLabel,S=Object(d.d)(o,d.b);delete S.disabled;var O={className:n.root,onClick:this._onItemClick,onKeyDown:E?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return f?f(o,e):void 0},onMouseMove:this._onItemMouseMove,href:o.href,title:o.title,"aria-label":w,"aria-haspopup":E||void 0,"aria-owns":o.key===m?y:void 0,"aria-expanded":E?o.key===m:void 0,"aria-checked":x?!!C:void 0,"aria-posinset":a+1,"aria-setsize":l,"aria-disabled":P(o),role:o.role||k,style:o.style},M=o.keytipProps;return M&&E&&(M=this._getMemoizedMenuButtonKeytipProps(M)),i.createElement(Y.a,{keytipProps:M,ariaDescribedBy:S["aria-describedby"],disabled:P(o)},function(t){return i.createElement("button",r.a({ref:e._btn},S,O,t),i.createElement(h,r.a({componentRef:o.componentRef,item:o,classNames:n,index:s,onCheckmarkClick:c&&b?b:void 0,hasIcons:u,openSubMenu:g,dismissSubMenu:v,dismissMenu:_,getSubmenuTarget:e._getSubmenuTarget},I)))})},t}(G),$=Object(k.a)(),J=Object(y.a)(function(e){var t=e.styles,o=e.theme,n=e.getClassNames,r=e.className,s=$(t,{theme:o,getClassNames:n,className:r});return i.createElement("span",{className:s.wrapper},i.createElement("span",{className:s.divider}))},function(e){var t=e.theme,o=e.getClassNames,n=e.className;if(!t)throw new Error("Theme is undefined or null.");if(o){var r=o(t);return{wrapper:[r.wrapper],divider:[r.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},n],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}},void 0,{scope:"VerticalDivider"}),ee=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._getMemoizedMenuButtonKeytipProps=Object(s.a)(function(e){return r.a({},e,{hasMenu:!0})}),t._onItemKeyDown=function(e){var o=t.props,n=o.item,r=o.onItemKeyDown;e.which===c.a.enter?(t._executeItemClick(e),e.preventDefault(),e.stopPropagation()):r&&r(n,e)},t._getSubmenuTarget=function(){return t._splitButton},t._onItemMouseEnterPrimary=function(e){var o=t.props,n=o.item,i=o.onItemMouseEnter;i&&i(r.a({},n,{subMenuProps:void 0,items:void 0}),e,t._splitButton)},t._onItemMouseEnterIcon=function(e){var o=t.props,n=o.item,r=o.onItemMouseEnter;r&&r(n,e,t._splitButton)},t._onItemMouseMovePrimary=function(e){var o=t.props,n=o.item,i=o.onItemMouseMove;i&&i(r.a({},n,{subMenuProps:void 0,items:void 0}),e,t._splitButton)},t._onItemMouseMoveIcon=function(e){var o=t.props,n=o.item,r=o.onItemMouseMove;r&&r(n,e,t._splitButton)},t._onIconItemClick=function(e){var o=t.props,n=o.item,r=o.onItemClickBase;r&&r(n,e,t._splitButton?t._splitButton:e.currentTarget)},t._executeItemClick=function(e){var o=t.props,n=o.item,r=o.executeItemClick,i=o.onItemClick;if(!n.disabled&&!n.isDisabled)return t._processingTouch&&i?i(n,e):void(r&&r(n,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 r.c(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,o=t.item,n=t.classNames,s=t.index,a=t.focusableElementIndex,l=t.totalItemCount,c=t.hasCheckmarks,u=t.hasIcons,d=t.onItemMouseLeave,p=t.expandedMenuItemKey,m=T(o),f=o.keytipProps;return f&&(f=this._getMemoizedMenuButtonKeytipProps(f)),i.createElement(Y.a,{keytipProps:f,disabled:P(o)},function(t){return i.createElement("div",{"data-ktp-target":t["data-ktp-target"],ref:function(t){return e._splitButton=t},role:"menuitem","aria-label":o.ariaLabel,className:n.splitContainer,"aria-disabled":P(o),"aria-expanded":m?o.key===p:void 0,"aria-haspopup":!0,"aria-describedby":Object(h.a)(o.ariaDescription,t["aria-describedby"]),"aria-checked":o.isChecked||o.checked,"aria-posinset":a+1,"aria-setsize":l,onMouseEnter:e._onItemMouseEnterPrimary,onMouseLeave:d?d.bind(e,r.a({},o,{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":o["aria-roledescription"]},e._renderSplitPrimaryButton(o,n,s,c,u),e._renderSplitDivider(o),e._renderSplitIconButton(o,n,s,t))})},t.prototype._renderSplitPrimaryButton=function(e,t,o,n,s){var a=this.props,l=a.contextualMenuItemAs,c=void 0===l?Z:l,u=a.onItemClick,p={key:e.key,disabled:P(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},h=e.itemProps;return i.createElement("button",r.a({},Object(d.d)(p,d.b)),i.createElement(c,r.a({"data-is-focusable":!1,item:p,classNames:t,index:o,onCheckmarkClick:n&&u?u:void 0,hasIcons:s},h)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||K;return i.createElement(J,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,o,n){var s=this.props,a=s.contextualMenuItemAs,l=void 0===a?Z:a,c=s.onItemMouseLeave,u=s.onItemMouseDown,p=s.openSubMenu,h=s.dismissSubMenu,m=s.dismissMenu,f={onClick:this._onIconItemClick,disabled:P(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key},b=r.a({},Object(d.d)(f,d.b),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:c?c.bind(this,e):void 0,onMouseDown:function(t){return u?u(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":n["data-ktp-execute-target"],"aria-hidden":!0}),g=e.itemProps;return i.createElement("button",r.a({},b),i.createElement(l,r.a({componentRef:e.componentRef,item:f,classNames:t,index:o,hasIcons:!1,openSubMenu:p,dismissSubMenu:h,dismissMenu:m,getSubmenuTarget:this._getSubmenuTarget},g)))},t.prototype._handleTouchAndPointerEvent=function(e){var t=this,o=this.props.onTap;o&&o(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}(G),te=Object(k.a)({disableCaching:!0}),oe=Object(k.a)({disableCaching:!0});function ne(e){return e.subMenuProps?e.subMenuProps.items:e.items}var re,ie=250,se=function(e){function t(t){var o=e.call(this,t)||this;return o._mounted=!1,o.dismiss=function(e,t){var n=o.props.onDismiss;n&&n(e,t)},o._onRenderMenuList=function(e,t){var r=0;return i.createElement("ul",{className:o._classNames.list,onKeyDown:o._onKeyDown,onKeyUp:o._onKeyUp,role:"menu"},e.items.map(function(t,i){var s=o._renderMenuItem(t,i,r,e.totalItemCount,e.hasCheckmarks,e.hasIcons);if(t.itemType!==n.Divider&&t.itemType!==n.Header){var a=t.customOnRenderListLength?t.customOnRenderListLength:1;r+=a}return s}))},o._onKeyDown=function(e){o._lastKeyDownWasAltOrMeta=o._isAltOrMeta(e);var t=e.which===c.a.escape&&(Object(E.a)()||Object(I.a)());return o._keyHandler(e,o._shouldHandleKeyDown,t)},o._shouldHandleKeyDown=function(e){return e.which===c.a.escape||o._shouldCloseSubMenu(e)||e.which===c.a.up&&(e.altKey||e.metaKey)},o._onMenuFocusCapture=function(e){o.props.delayUpdateFocusOnHover&&(o._shouldUpdateFocusOnMouseEvent=!0)},o._onKeyUp=function(e){return o._keyHandler(e,o._shouldHandleKeyUp,!0)},o._shouldHandleKeyUp=function(e){var t=o._lastKeyDownWasAltOrMeta&&o._isAltOrMeta(e);return o._lastKeyDownWasAltOrMeta=!1,!!t&&!(Object(I.a)()||Object(E.a)())},o._keyHandler=function(e,t,n){var r=!1;return t(e)&&(o._isFocusingPreviousElement=!0,e.preventDefault(),e.stopPropagation(),o.dismiss(e,n),r=!0),r},o._shouldCloseSubMenu=function(e){var t=Object(w.a)()?c.a.right:c.a.left;return!(e.which!==t||!o.props.isSubMenu)&&(o._adjustedFocusZoneProps.direction===C.a.vertical||!!o._adjustedFocusZoneProps.checkForNoWrap&&!Object(S.o)(e.target,"data-no-horizontal-wrap"))},o._onMenuKeyDown=function(e){if(!o._onKeyDown(e)&&o._host){var t=!(!e.altKey&&!e.metaKey),n=e.which===c.a.up,r=e.which===c.a.down;if(!t&&(n||r)){var i=n?Object(S.h)(o._host,o._host.lastChild,!0):Object(S.e)(o._host,o._host.firstChild,!0);i&&(i.focus(),e.preventDefault(),e.stopPropagation())}}},o._onScroll=function(){o._isScrollIdle||void 0===o._scrollIdleTimeoutId?o._isScrollIdle=!1:(o._async.clearTimeout(o._scrollIdleTimeoutId),o._scrollIdleTimeoutId=void 0),o._scrollIdleTimeoutId=o._async.setTimeout(function(){o._isScrollIdle=!0},ie)},o._onItemMouseEnterBase=function(e,t,n){o._shouldIgnoreMouseEvent()||o._updateFocusOnMouseEvent(e,t,n)},o._onItemMouseMoveBase=function(e,t,n){var r=t.currentTarget;o._shouldUpdateFocusOnMouseEvent&&(o._gotMouseMove=!0,o._isScrollIdle&&void 0===o._enterTimerId&&r!==o._targetWindow.document.activeElement&&o._updateFocusOnMouseEvent(e,t,n))},o._onMouseItemLeave=function(e,t){if(!o._shouldIgnoreMouseEvent()&&(void 0!==o._enterTimerId&&(o._async.clearTimeout(o._enterTimerId),o._enterTimerId=void 0),void 0===o.state.expandedMenuItemKey))if(o._host.setActive)try{o._host.setActive()}catch(n){}else o._host.focus()},o._onItemMouseDown=function(e,t){e.onMouseDown&&e.onMouseDown(e,t)},o._onItemClick=function(e,t){o._onItemClickBase(e,t,t.currentTarget)},o._onItemClickBase=function(e,t,n){var r=ne(e);o._cancelSubMenuTimer(),T(e)||r&&r.length?e.key!==o.state.expandedMenuItemKey&&(o.setState({expandedByMouseClick:0!==t.nativeEvent.detail||"mouse"===t.nativeEvent.pointerType}),o._onItemSubMenuExpand(e,n)):o._executeItemClick(e,t),t.stopPropagation(),t.preventDefault()},o._onAnchorClick=function(e,t){o._executeItemClick(e,t),t.stopPropagation()},o._executeItemClick=function(e,t){if(!e.disabled&&!e.isDisabled){var n=!1;e.onClick?n=!!e.onClick(t,e):o.props.onItemClick&&(n=!!o.props.onItemClick(t,e)),(n||!t.defaultPrevented)&&o.dismiss(t,!0)}},o._onItemKeyDown=function(e,t){var n=Object(w.a)()?c.a.left:c.a.right;e.disabled||t.which!==n&&t.which!==c.a.enter&&(t.which!==c.a.down||!t.altKey&&!t.metaKey)||(o.setState({expandedByMouseClick:!1}),o._onItemSubMenuExpand(e,t.currentTarget),t.preventDefault())},o._cancelSubMenuTimer=function(){void 0!==o._enterTimerId&&(o._async.clearTimeout(o._enterTimerId),o._enterTimerId=void 0)},o._onItemSubMenuExpand=function(e,t){o.state.expandedMenuItemKey!==e.key&&(o.state.expandedMenuItemKey&&o._onSubMenuDismiss(),t.focus(),o.setState({expandedMenuItemKey:e.key,submenuTarget:t}))},o._onSubMenuDismiss=function(e,t){t?o.dismiss(e,t):o._mounted&&o.setState({dismissedMenuItemKey:o.state.expandedMenuItemKey,expandedMenuItemKey:void 0,submenuTarget:void 0})},o._getSubMenuId=function(e){var t=o.state.subMenuId;return e.subMenuProps&&e.subMenuProps.id&&(t=e.subMenuProps.id),t},o._onPointerAndTouchEvent=function(e){o._cancelSubMenuTimer()},o.state={contextualMenuItems:void 0,subMenuId:Object(u.c)("ContextualMenu")},o._warnDeprecations({getMenuClassNames:"styles"}),o._isFocusingPreviousElement=!1,o._isScrollIdle=!0,o._shouldUpdateFocusOnMouseEvent=!o.props.delayUpdateFocusOnHover,o._gotMouseMove=!1,o}return r.c(t,e),t.prototype.shouldComponentUpdate=function(e,t){return(!this.props.hidden||!e.hidden)&&(!Object(u.d)(this.props,e)||!Object(u.d)(this.state,t))},t.prototype.UNSAFE_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.UNSAFE_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,o=this.props,s=o.items,l=o.labelElementId,c=o.id,u=o.className,d=o.beakWidth,p=o.directionalHint,h=o.directionalHintForRTL,m=o.alignTargetEdge,f=o.gapSpace,b=o.coverTarget,g=o.ariaLabel,v=o.doNotLayer,_=o.target,y=o.bounds,k=o.useTargetWidth,E=o.useTargetAsMinWidth,I=o.directionalHintFixed,w=o.shouldFocusOnMount,S=o.shouldFocusOnContainer,O=o.title,M=o.styles,D=o.theme,T=o.calloutProps,P=o.onRenderSubMenu,F=void 0===P?this._onRenderSubMenu:P,R=o.onRenderMenuList,j=void 0===R?this._onRenderMenuList:R,A=o.focusZoneProps,z=o.getMenuClassNames;this._classNames=z?z(D,u):te(M,{theme:D,className:u});var L=function e(t){for(var o=0,r=t;o<r.length;o++){var i=r[o];if(i.iconProps)return!0;if(i.itemType===n.Section&&i.sectionProps&&e(i.sectionProps.items))return!0}return!1}(s);this._adjustedFocusZoneProps=r.a({},A,{direction:this._getFocusZoneDirection()});var H,W=function(e){return e.some(function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some(function(e){return!0===e.canCheck}))})}(s),K=this.state.expandedMenuItemKey&&!0!==this.props.hidden?this._getSubmenuProps():null;t=void 0===t?this.props.responsiveMode<=B.a.medium:t;var U=this._target;if((k||E)&&U&&U.offsetWidth){var V=U.getBoundingClientRect().width-2;k?H={width:V}:E&&(H={minWidth:V})}if(s&&s.length>0){for(var q=0,Z=0,G=s;Z<G.length;Z++){var Y=G[Z];if(Y.itemType!==n.Divider&&Y.itemType!==n.Header)q+=Y.customOnRenderListLength?Y.customOnRenderListLength:1}var X=!z&&this._classNames.subComponentStyles?this._classNames.subComponentStyles.callout:void 0;return i.createElement(N.a,r.a({styles:X},T,{target:_,isBeakVisible:t,beakWidth:d,directionalHint:p,directionalHintForRTL:h,gapSpace:f,coverTarget:b,doNotLayer:v,className:Object(a.a)("ms-ContextualMenu-Callout",T&&T.className),setInitialFocus:w,onDismiss:this.props.onDismiss,onScroll:this._onScroll,bounds:y,directionalHintFixed:I,alignTargetEdge:m,hidden:this.props.hidden}),i.createElement("div",{"aria-label":g,"aria-labelledby":l,style:H,ref:function(t){return e._host=t},id:c,className:this._classNames.container,tabIndex:S?0:-1,onKeyDown:this._onMenuKeyDown,onKeyUp:this._onKeyUp,onFocusCapture:this._onMenuFocusCapture},O&&i.createElement("div",{className:this._classNames.title}," ",O," "),s&&s.length?i.createElement(x.a,r.a({},this._adjustedFocusZoneProps,{className:this._classNames.root,isCircularNavigation:!0,handleTabKey:C.b.all}),j({items:s,totalItemCount:q,hasCheckmarks:W,hasIcons:L},this._onRenderMenuList)):null,K&&F(K,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:C.a.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,o,r,i,s){var a,l=[],c=e.iconProps||{iconName:"None"},u=e.getItemClassNames,d=e.itemProps,p=d?d.styles:void 0,h=e.itemType===n.Divider?e.className:void 0,m=e.submenuIconProps?e.submenuIconProps.className:"";if(u)a=u(this.props.theme,P(e),this.state.expandedMenuItemKey===e.key,!!D(e),!!e.href,"None"!==c.iconName,e.className,h,c.className,m,e.primaryDisabled);else{var f={theme:this.props.theme,disabled:P(e),expanded:this.state.expandedMenuItemKey===e.key,checked:!!D(e),isAnchorLink:!!e.href,knownIcon:"None"!==c.iconName,itemClassName:e.className,dividerClassName:h,iconClassName:c.className,subMenuClassName:m,primaryDisabled:e.primaryDisabled},b=this._classNames.subComponentStyles?this._classNames.subComponentStyles.menuItem:void 0;a=Object(R.C)(oe(q,f),oe(b,f),oe(p,f))}switch("-"!==e.text&&"-"!==e.name||(e.itemType=n.Divider),e.itemType){case n.Divider:l.push(this._renderSeparator(t,a));break;case n.Header:l.push(this._renderSeparator(t,a));var g=this._renderHeaderMenuItem(e,a,t,i,s);l.push(this._renderListItem(g,e.key||t,a,e.title));break;case n.Section:l.push(this._renderSectionItem(e,a,t,i,s));break;default:var v=this._renderNormalItem(e,a,t,o,r,i,s);l.push(this._renderListItem(v,e.key||t,a,e.title))}return l},t.prototype._renderSectionItem=function(e,t,o,r,s){var a=this,l=e.sectionProps;if(l){var c;if(l.title){var u={key:"section-"+l.title+"-title",itemType:n.Header,text:l.title};c=this._renderHeaderMenuItem(u,t,o,r,s)}return l.items&&l.items.length>0?i.createElement("li",{role:"presentation",key:l.key||e.key||"section-"+o},i.createElement("div",{role:"group"},i.createElement("ul",{className:this._classNames.list},l.topDivider&&this._renderSeparator(o,t,!0,!0),c&&this._renderListItem(c,e.key||o,t,e.title),l.items.map(function(e,t){return a._renderMenuItem(e,t,t,l.items.length,r,s)}),l.bottomDivider&&this._renderSeparator(o,t,!1,!0)))):void 0}},t.prototype._renderListItem=function(e,t,o,n){return i.createElement("li",{role:"presentation",title:n,key:t,className:o.item},e)},t.prototype._renderSeparator=function(e,t,o,n){return n||e>0?i.createElement("li",{role:"separator",key:"separator-"+e+(void 0===o?"":o?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},t.prototype._renderNormalItem=function(e,t,o,n,i,s,a){return e.onRender?e.onRender(r.a({"aria-posinset":n+1,"aria-setsize":i},e),this.dismiss):e.href?this._renderAnchorMenuItem(e,t,o,n,i,s,a):e.split&&T(e)?this._renderSplitButton(e,t,o,n,i,s,a):this._renderButtonItem(e,t,o,n,i,s,a)},t.prototype._renderHeaderMenuItem=function(e,t,o,n,s){var a=this.props.contextualMenuItemAs,l=void 0===a?Z:a,c=e.itemProps,u=c&&Object(d.d)(c,d.c);return i.createElement("div",r.a({className:this._classNames.header},u,{style:e.style}),i.createElement(l,r.a({item:e,classNames:t,index:o,onCheckmarkClick:n?this._onItemClick:void 0,hasIcons:s},c)))},t.prototype._renderAnchorMenuItem=function(e,t,o,n,r,s,a){var l=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return i.createElement(X,{item:e,classNames:t,index:o,focusableElementIndex:n,totalItemCount:r,hasCheckmarks:s,hasIcons:a,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:c,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderButtonItem=function(e,t,o,n,r,s,a){var l=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return i.createElement(Q,{item:e,classNames:t,index:o,focusableElementIndex:n,totalItemCount:r,hasCheckmarks:s,hasIcons:a,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:c,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderSplitButton=function(e,t,o,n,r,s,a){var l=this.props.contextualMenuItemAs,c=this.state.expandedMenuItemKey;return i.createElement(ee,{item:e,classNames:t,index:o,focusableElementIndex:n,totalItemCount:r,hasCheckmarks:s,hasIcons:a,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:c,onTap:this._onPointerAndTouchEvent})},t.prototype._isAltOrMeta=function(e){return e.which===c.a.alt||"Meta"===e.key},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._updateFocusOnMouseEvent=function(e,t,o){var n=this,r=o||t.currentTarget,i=this.props.subMenuHoverDelay,s=void 0===i?ie: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(),T(e)?(t.stopPropagation(),this._enterTimerId=this._async.setTimeout(function(){r.focus(),n.setState({expandedByMouseClick:!0}),n._onItemSubMenuExpand(e,r),n._enterTimerId=void 0},s)):this._enterTimerId=this._async.setTimeout(function(){n._onSubMenuDismiss(t),r.focus(),n._enterTimerId=void 0},s))},t.prototype._getSubmenuProps=function(){var e=this.state,t=e.submenuTarget,o=e.expandedMenuItemKey,n=this._findItemByKey(o),r=null;return n&&(r={items:ne(n),target:t,onDismiss:this._onSubMenuDismiss,isSubMenu:!0,id:this.state.subMenuId,shouldFocusOnMount:!0,shouldFocusOnContainer:this.state.expandedByMouseClick,directionalHint:Object(w.a)()?_.a.leftTopEdge:_.a.rightTopEdge,className:this.props.className,gapSpace:0,isBeakVisible:!1},n.subMenuProps&&Object(u.a)(r,n.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 o=0,r=t;o<r.length;o++){var i=r[o];if(i.itemType===n.Section&&i.sectionProps){var s=this._findItemByKeyFromItems(e,i.sectionProps.items);if(s)return s}else if(i.key&&i.key===e)return i}},t.prototype._setTargetWindowAndElement=function(e){if(e)if("string"===typeof e){var t=Object(O.a)();this._target=t?t.querySelector(e):null,this._targetWindow=Object(M.a)()}else if(e.stopPropagation)this._targetWindow=Object(M.a)(e.toElement),this._target=e;else if(void 0!==e.x&&void 0!==e.y)this._targetWindow=Object(M.a)(),this._target=e;else if(void 0!==e.current)this._target=e.current,this._targetWindow=Object(M.a)(this._target);else{var o=e;this._targetWindow=Object(M.a)(o),this._target=e}else this._targetWindow=Object(M.a)()},t.defaultProps={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:_.a.bottomAutoEdge,beakWidth:16},t=r.b([B.b],t)}(p.a),ae={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function le(e){return i.createElement(re,r.a({},e))}var ce=re=Object(y.a)(se,function(e){var t=e.className,o=e.theme,n=Object(R.u)(ae,o),r=o.palette,i=o.fonts,s=o.semanticColors,a=o.effects;return{root:[o.fonts.medium,n.root,n.isopen,{backgroundColor:s.bodyBackground,minWidth:"180px"},t],container:[n.container,{selectors:{":focus":{outline:0}}}],list:[n.list,n.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[n.header,i.small,{fontWeight:R.c.semibold,color:s.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[n.title,{fontSize:i.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:r.neutralLight}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}},function(){return{onRenderSubMenu:le}},{scope:"ContextualMenu"}),ue=o(77),de=Object(s.a)(function(e,t,o,n,r){return{root:Object(R.D)(e.splitButtonMenuButton,o&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],n&&!t&&[e.splitButtonMenuButtonChecked]),splitButtonContainer:Object(R.D)(e.splitButtonContainer,!t&&n&&[e.splitButtonContainerChecked,{selectors:{":hover":e.splitButtonContainerCheckedHovered}}],!t&&!n&&[{selectors:{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}}],t&&e.splitButtonContainerDisabled),icon:Object(R.D)(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&r&&e.splitButtonMenuIcon),flexContainer:Object(R.D)(e.splitButtonFlexContainer),divider:Object(R.D)(e.splitButtonDivider,(r||t)&&e.splitButtonDividerDisabled)}});o.d(t,"a",function(){return pe});var pe=function(e){function t(t,o){var n=e.call(this,t)||this;return n._buttonElement=i.createRef(),n._splitButtonContainer=i.createRef(),n._renderedPersistentMenu=!1,n._getMemoizedMenuButtonKeytipProps=Object(s.a)(function(e){return r.a({},e,{hasMenu:!0})}),n._onRenderIcon=function(e,t){var o=n.props.iconProps;if(o&&(void 0!==o.iconName||o.imageProps)){var s=o.className,l=o.imageProps,c=r.d(o,["className","imageProps"]);if(o.styles)return i.createElement(m.a,r.a({className:Object(a.a)(n._classNames.icon,s),imageProps:l},c));if(o.iconName)return i.createElement(f.a,r.a({className:Object(a.a)(n._classNames.icon,s)},c));if(l)return i.createElement(v,r.a({className:Object(a.a)(n._classNames.icon,s),imageProps:l},c))}return null},n._onRenderTextContents=function(){var e=n.props,t=e.text,o=e.children,r=e.secondaryText,s=void 0===r?n.props.description:r,a=e.onRenderText,l=void 0===a?n._onRenderText:a,c=e.onRenderDescription,u=void 0===c?n._onRenderDescription:c;return t||"string"===typeof o||s?i.createElement("span",{className:n._classNames.textContainer},l(n.props,n._onRenderText),u(n.props,n._onRenderDescription)):[l(n.props,n._onRenderText),u(n.props,n._onRenderDescription)]},n._onRenderText=function(){var e=n.props.text,t=n.props.children;return void 0===e&&"string"===typeof t&&(e=t),n._hasText()?i.createElement("span",{key:n._labelId,className:n._classNames.label,id:n._labelId},e):null},n._onRenderChildren=function(){var e=n.props.children;return"string"===typeof e?null:e},n._onRenderDescription=function(e){var t=e.secondaryText,o=void 0===t?n.props.description:t;return o?i.createElement("span",{key:n._descriptionId,className:n._classNames.description,id:n._descriptionId},o):null},n._onRenderAriaDescription=function(){var e=n.props.ariaDescription;return e?i.createElement("span",{className:n._classNames.screenReaderText,id:n._ariaDescriptionId},e):null},n._onRenderMenuIcon=function(e){var t=n.props.menuIconProps;return i.createElement(f.a,r.a({iconName:"ChevronDown"},t,{className:n._classNames.menuIcon}))},n._onRenderMenu=function(e){var t=e.onDismiss,o=void 0===t?n._dismissMenu:t,s=n.props.menuAs||ce;return e.ariaLabel||e.labelElementId||!n._hasText()||(e=r.a({},e,{labelElementId:n._labelId})),i.createElement(s,r.a({id:n._labelId+"-menu",directionalHint:_.a.bottomLeftEdge},e,{shouldFocusOnContainer:n.state.menuProps?n.state.menuProps.shouldFocusOnContainer:void 0,shouldFocusOnMount:n.state.menuProps?n.state.menuProps.shouldFocusOnMount:void 0,hidden:n.state.menuProps?n.state.menuProps.hidden:void 0,className:Object(a.a)("ms-BaseButton-menuhost",e.className),target:n._isSplitButton?n._splitButtonContainer.current:n._buttonElement.current,onDismiss:o}))},n._dismissMenu=function(){var e=null;n.props.persistMenu&&n.state.menuProps&&(e=r.a({},n.state.menuProps,{hidden:!0})),n.setState({menuProps:e})},n._openMenu=function(e,t){if(void 0===t&&(t=!0),n.props.menuProps){var o=r.a({},n.props.menuProps,{shouldFocusOnContainer:e,shouldFocusOnMount:t});n.props.persistMenu&&(n._renderedPersistentMenu=!0,o.hidden=!1),n.setState({menuProps:o})}},n._onToggleMenu=function(e){var t=n.state.menuProps,o=!0;n.props.menuProps&&!1===n.props.menuProps.shouldFocusOnMount&&(o=!1),n.props.persistMenu?!n._renderedPersistentMenu||t&&t.hidden?n._openMenu(e,o):n._dismissMenu():t?n._dismissMenu():n._openMenu(e,o)},n._onSplitContainerFocusCapture=function(e){var t=n._splitButtonContainer.current;!t||e.target&&Object(l.a)(e.target,t)||t.focus()},n._onSplitButtonPrimaryClick=function(e){n._isExpanded&&n._dismissMenu(),!n._processingTouch&&n.props.onClick?n.props.onClick(e):n._processingTouch&&n._onMenuClick(e)},n._onKeyDown=function(e){!n.props.disabled||e.which!==c.a.enter&&e.which!==c.a.space?n.props.disabled||(n.props.menuProps?n._onMenuKeyDown(e):void 0!==n.props.onKeyDown&&n.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},n._onKeyUp=function(e){n.props.disabled||void 0===n.props.onKeyUp||n.props.onKeyUp(e)},n._onKeyPress=function(e){n.props.disabled||void 0===n.props.onKeyPress||n.props.onKeyPress(e)},n._onMouseUp=function(e){n.props.disabled||void 0===n.props.onMouseUp||n.props.onMouseUp(e)},n._onMouseDown=function(e){n.props.disabled||void 0===n.props.onMouseDown||n.props.onMouseDown(e)},n._onClick=function(e){n.props.disabled||(n.props.menuProps?n._onMenuClick(e):void 0!==n.props.onClick&&n.props.onClick(e))},n._onSplitButtonContainerKeyDown=function(e){e.which===c.a.enter||e.which===c.a.space?n._buttonElement.current&&(n._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):n._onMenuKeyDown(e)},n._onMenuKeyDown=function(e){if(!n.props.disabled){n.props.onKeyDown&&n.props.onKeyDown(e);var t=e.which===c.a.up,o=e.which===c.a.down;if(!e.defaultPrevented&&n._isValidMenuOpenKey(e)){var i=n.props.onMenuClick;i&&i(e,n),n._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}e.altKey||e.metaKey||!t&&!o||(n.setState(function(e){return e.menuProps&&!e.menuProps.shouldFocusOnMount?{menuProps:r.a({},e.menuProps,{shouldFocusOnMount:!0})}:e}),n.state.menuProps&&!n.state.menuProps.shouldFocusOnMount&&(e.preventDefault(),e.stopPropagation()))}},n._onTouchStart=function(){!n._isSplitButton||!n._splitButtonContainer.current||"onpointerdown"in n._splitButtonContainer.current||n._handleTouchAndPointerEvent()},n._onMenuClick=function(e){var t=n.props.onMenuClick;if(t&&t(e,n),!e.defaultPrevented){var o=0!==e.nativeEvent.detail||"mouse"===e.nativeEvent.pointerType;n._onToggleMenu(o),e.preventDefault(),e.stopPropagation()}},n._warnConditionallyRequiredProps(["menuProps","onClick"],"split",n.props.split),n._warnDeprecations({rootProps:void 0,description:"secondaryText",toggled:"checked"}),n._labelId=Object(u.c)(),n._descriptionId=Object(u.c)(),n._ariaDescriptionId=Object(u.c)(),n.state={menuProps:null},n}return r.c(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,o=e.ariaLabel,n=e.ariaHidden,r=e.className,i=e.disabled,s=e.allowDisabledFocus,a=e.primaryDisabled,l=e.secondaryText,c=void 0===l?this.props.description:l,h=e.href,m=e.iconProps,f=e.menuIconProps,b=e.styles,g=e.checked,v=e.variantClassName,_=e.theme,y=e.toggle,C=e.getClassNames,x=i||a;this._classNames=C?C(_,r,v,m&&m.className,f&&f.className,x,g,this._isExpanded,this.props.split,!!s):Object(ue.b)(_,b,r,v,m&&m.className,f&&f.className,x,g,this._isExpanded,this.props.split);var k=this._ariaDescriptionId,E=this._labelId,I=this._descriptionId,w=!x&&!!h,S=w?"a":"button",O=Object(d.d)(Object(u.a)(w?{}:{type:"button"},this.props.rootProps,this.props),w?d.a:d.b,["disabled"]),M=o||O["aria-label"],D=void 0;t?D=k:c&&this.props.onRenderDescription!==p.b?D=I:O["aria-describedby"]&&(D=O["aria-describedby"]);var T=void 0;M||(O["aria-labelledby"]?T=O["aria-labelledby"]:D&&(T=this._hasText()?E:void 0));var P=!(!1===this.props["data-is-focusable"]||i&&!s||this._isSplitButton),B=Object(u.a)(O,{className:this._classNames.root,ref:this._buttonElement,disabled:x&&!s,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":M,"aria-labelledby":T,"aria-describedby":D,"aria-disabled":x,"data-is-focusable":P,"aria-pressed":y?!!g:void 0});return n&&(B["aria-hidden"]=!0),this._isSplitButton?this._onRenderSplitButtonContent(S,B):(this.props.menuProps&&Object(u.a)(B,{"aria-expanded":this._isExpanded,"aria-owns":this.state.menuProps?this._labelId+"-menu":null,"aria-haspopup":!0}),this._onRenderContent(S,B))},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 o=this,n=this.props,s=e,a=n.menuIconProps,l=n.menuProps,c=n.onRenderIcon,u=void 0===c?this._onRenderIcon:c,d=n.onRenderAriaDescription,p=void 0===d?this._onRenderAriaDescription:d,h=n.onRenderChildren,m=void 0===h?this._onRenderChildren:h,f=n.onRenderMenu,b=void 0===f?this._onRenderMenu:f,g=n.onRenderMenuIcon,v=void 0===g?this._onRenderMenuIcon:g,_=n.disabled,y=n.keytipProps;y&&l&&(y=this._getMemoizedMenuButtonKeytipProps(y));var C=function(e){return i.createElement(s,r.a({},t,e),i.createElement("span",{className:o._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},u(n,o._onRenderIcon),o._onRenderTextContents(),p(n,o._onRenderAriaDescription),m(n,o._onRenderChildren),!o._isSplitButton&&(l||a||o.props.onRenderMenuIcon)&&v(o.props,o._onRenderMenuIcon),o.state.menuProps&&!o.state.menuProps.doNotLayer&&b(l,o._onRenderMenu)))},x=y?i.createElement(Y.a,{keytipProps:this._isSplitButton?void 0:y,ariaDescribedBy:t["aria-describedby"],disabled:_},function(e){return C(e)}):C();return l&&l.doNotLayer?i.createElement("span",{style:{display:"inline-block"}},x,this.state.menuProps&&b(l,this._onRenderMenu)):x},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 o=this,n=this.props,s=n.styles,a=void 0===s?{}:s,l=n.disabled,c=n.allowDisabledFocus,p=n.checked,m=n.getSplitButtonClassNames,f=n.primaryDisabled,b=n.menuProps,g=n.toggle,v=n.primaryActionButtonProps,_=this.props.keytipProps,y=m?m(!!l,this._isExpanded,!!p,!!c):a&&de(a,!!l,this._isExpanded,!!p,!!f);Object(u.a)(t,{onClick:void 0,tabIndex:-1,"data-is-focusable":!1});var C=t.ariaDescription;_&&b&&(_=this._getMemoizedMenuButtonKeytipProps(_));var x=Object(d.d)(t,[],["disabled"]);v&&Object(u.a)(t,r.a({},v));var k=function(n){return i.createElement("div",r.a({},x,{"data-ktp-target":n?n["data-ktp-target"]:void 0,role:"button","aria-disabled":l,"aria-haspopup":!0,"aria-expanded":o._isExpanded,"aria-pressed":g?!!p:void 0,"aria-describedby":Object(h.a)(C,n?n["aria-describedby"]:void 0),className:y&&y.splitButtonContainer,onKeyDown:o._onSplitButtonContainerKeyDown,onTouchStart:o._onTouchStart,ref:o._splitButtonContainer,"data-is-focusable":!0,onClick:l||f?void 0:o._onSplitButtonPrimaryClick,tabIndex:!l||c?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:o._onSplitContainerFocusCapture}),i.createElement("span",{style:{display:"flex"}},o._onRenderContent(e,t),o._onRenderSplitButtonMenuButton(y,n),o._onRenderSplitButtonDivider(y)))};return _?i.createElement(Y.a,{keytipProps:_,disabled:l},function(e){return k(e)}):k()},t.prototype._onRenderSplitButtonDivider=function(e){return e&&e.divider?i.createElement("span",{className:e.divider,"aria-hidden":!0}):null},t.prototype._onRenderSplitButtonMenuButton=function(e,o){var n=this.props,s=n.allowDisabledFocus,a=n.checked,l=n.disabled,c=n.splitButtonMenuProps,u=this.props.menuIconProps,d=this.props.splitButtonAriaLabel;void 0===u&&(u={iconName:"ChevronDown"});var p=r.a({},c,{styles:e,checked:a,disabled:l,allowDisabledFocus:s,onClick:this._onMenuClick,menuProps:void 0,iconProps:r.a({},u,{className:this._classNames.menuIcon}),ariaLabel:d,"aria-haspopup":!0,"aria-expanded":this._isExpanded,"data-is-focusable":!1});return i.createElement(t,r.a({},p,{"data-ktp-execute-target":o?o["data-ktp-execute-target"]:o,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===c.a.down&&(e.altKey||e.metaKey))},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t}(p.a)},,function(e,t,o){"use strict";o.d(t,"b",function(){return r}),o.d(t,"a",function(){return i}),o.d(t,"c",function(){return s});var n=o(1),r=Object(n.C)({root:{display:"inline-block"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),i="ms-Icon",s=function(e){var t=e.className,o=e.iconClassName,n=e.isPlaceholder,i=e.isImage,s=e.styles;return{root:[n&&r.placeholder,r.root,i&&r.image,o,t,s&&s.root,s&&s.imageContainer]}}},function(e,t,o){"use strict";o.d(t,"a",function(){return i});var n=o(1),r=o(58),i=Object(r.a)(function(e,t){var o,r,i,s,a,l,c,u=e.effects,d=e.palette,p={position:"absolute",width:1,right:31,top:8,bottom:8},h={splitButtonContainer:[Object(n.t)(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",selectors:(o={},o[n.d]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},o)},".ms-Button--primary + .ms-Button":{border:"none"}}}],splitButtonContainerHovered:{selectors:{".ms-Button--primary":{selectors:(r={},r[n.d]={color:"Window",backgroundColor:"Highlight"},r)},".ms-Button.is-disabled":{selectors:(i={},i[n.d]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},i)}}},splitButtonContainerChecked:{selectors:{".ms-Button--primary":{selectors:(s={},s[n.d]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},s)}}},splitButtonContainerCheckedHovered:{selectors:{".ms-Button--primary":{selectors:(a={},a[n.d]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},a)}}},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:{padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:u.roundedCorner2,borderBottomRightRadius:u.roundedCorner2,border:"1px solid "+d.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:p,splitButtonDividerDisabled:p,splitButtonMenuButtonDisabled:{pointerEvents:"none",border:"none",selectors:{":hover":{cursor:"default"},".ms-Button--primary":{selectors:(l={},l[n.d]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},l)}}},splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:{outline:"none",border:"none",selectors:(c={},c[n.d]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},c)}};return Object(n.q)(h,t)})},function(e,t,o){"use strict";function n(e,t){return void 0===t&&(t=!0),e&&(t&&function(e){var t,o;return e&&((o=e)&&o._virtual)&&(t=e._virtual.parent),t}(e)||e.parentNode&&e.parentNode)}o.d(t,"a",function(){return n})},,,function(e,t,o){"use strict";o.d(t,"d",function(){return c}),o.d(t,"a",function(){return u}),o.d(t,"b",function(){return d}),o.d(t,"c",function(){return h});var n=o(7),r=o(13),i="__currentId__",s="id__",a=Object(r.a)()||{};function l(e,t){for(var o in e)if(e.hasOwnProperty(o)&&(!t.hasOwnProperty(o)||t[o]!==e[o]))return!1;return!0}function c(e,t){return l(e,t)&&l(t,e)}function u(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return d.apply(this,[null,e].concat(t))}function d(e,t){for(var o=[],n=2;n<arguments.length;n++)o[n-2]=arguments[n];t=t||{};for(var r=0,i=o;r<i.length;r++){var s=i[r];if(s)for(var a in s)!s.hasOwnProperty(a)||e&&!e(a)||(t[a]=s[a])}return t}void 0===a[i]&&(a[i]=0);var p=n.a.getInstance();function h(e){var t=a[i]++;return(e||s)+t}p&&p.onReset&&p.onReset(function(e){void 0===e&&(e=0);a[i]=e})},function(e,t,o){"use strict";o.d(t,"a",function(){return r});var n=o(0),r=n.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}})},function(e,t,o){"use strict";var n,r,i;o.d(t,"b",function(){return n}),o.d(t,"a",function(){return r}),o.d(t,"c",function(){return i}),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"}(n||(n={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(r||(r={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(i||(i={}))},function(e,t,o){"use strict";o.d(t,"a",function(){return r});var n=o(70);function r(e,t){return e&&e!==document.body?t(e)?e:r(Object(n.a)(e),t):null}},function(e,t,o){"use strict";o.d(t,"a",function(){return i}),o.d(t,"b",function(){return s});var n=o(58),r=o(1),i={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"},s=Object(n.a)(function(e,t,o,n,s,a,l,c,u,d){var p,h,m=Object(r.u)(i,e||{}),f=u&&!d;return Object(r.C)({root:[m.msButton,t.root,n,c&&["is-checked",t.rootChecked],f&&["is-expanded",t.rootExpanded,{selectors:(p={},p[":hover ."+m.msButtonIcon]=t.iconExpandedHovered,p[":hover ."+m.msButtonMenuIcon]=t.menuIconExpandedHovered||t.rootExpandedHovered,p[":hover"]=t.rootExpandedHovered,p)}],l&&["is-disabled",t.rootDisabled],!l&&!f&&!c&&{selectors:(h={":hover":t.rootHovered},h[":hover ."+m.msButtonLabel]=t.labelHovered,h[":hover ."+m.msButtonIcon]=t.iconHovered,h[":hover ."+m.msButtonDescription]=t.descriptionHovered,h[":hover ."+m.msButtonMenuIcon]=t.menuIconHovered,h[":focus"]=t.rootFocused,h[":active"]=t.rootPressed,h[":active ."+m.msButtonIcon]=t.iconPressed,h[":active ."+m.msButtonDescription]=t.descriptionPressed,h[":active ."+m.msButtonMenuIcon]=t.menuIconPressed,h)},l&&c&&[t.rootCheckedDisabled],!l&&c&&{selectors:{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed}},o],flexContainer:[m.msButtonFlexContainer,t.flexContainer],textContainer:[m.msButtonTextContainer,t.textContainer],icon:[m.msButtonIcon,s,t.icon,f&&t.iconExpanded,c&&t.iconChecked,l&&t.iconDisabled],label:[m.msButtonLabel,t.label,c&&t.labelChecked,l&&t.labelDisabled],menuIcon:[m.msButtonMenuIcon,a,t.menuIcon,c&&t.menuIconChecked,l&&!d&&t.menuIconDisabled,!l&&!f&&!c&&{selectors:{":hover":t.menuIconHovered,":active":t.menuIconPressed}},f&&["is-expanded",t.menuIconExpanded]],description:[m.msButtonDescription,t.description,c&&t.descriptionChecked,l&&t.descriptionDisabled],screenReaderText:[m.msButtonScreenReaderText,t.screenReaderText]})})},,function(e,t,o){"use strict";var n=o(124),r=o(2),i=o(0),s=o(125),a=o(122),l=o(75),c=Object(s.a)(),u=function(e){function t(t){var o=e.call(this,t)||this;return o._coverStyle=l.a.portrait,o._imageElement=i.createRef(),o._frameElement=i.createRef(),o._onImageLoaded=function(e){var t=o.props,n=t.src,r=t.onLoad;r&&r(e),o._computeCoverStyle(o.props),n&&o.setState({loadState:l.c.loaded})},o._onImageError=function(e){o.props.onError&&o.props.onError(e),o.setState({loadState:l.c.error})},o.state={loadState:l.c.notLoaded},o}return r.c(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.src!==this.props.src?this.setState({loadState:l.c.notLoaded}):this.state.loadState===l.c.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=Object(a.d)(this.props,a.f,["width","height"]),t=this.props,o=t.src,n=t.alt,s=t.width,u=t.height,d=t.shouldFadeIn,p=t.shouldStartVisible,h=t.className,m=t.imageFit,f=t.role,b=t.maximizeFrame,g=t.styles,v=t.theme,_=this.state.loadState,y=void 0!==this.props.coverStyle?this.props.coverStyle:this._coverStyle,C=c(g,{theme:v,className:h,width:s,height:u,maximizeFrame:b,shouldFadeIn:d,shouldStartVisible:p,isLoaded:_===l.c.loaded||_===l.c.notLoaded&&this.props.shouldStartVisible,isLandscape:y===l.a.landscape,isCenter:m===l.b.center,isCenterContain:m===l.b.centerContain,isCenterCover:m===l.b.centerCover,isContain:m===l.b.contain,isCover:m===l.b.cover,isNone:m===l.b.none,isError:_===l.c.error,isNotImageFit:void 0===m});return i.createElement("div",{className:C.root,style:{width:s,height:u},ref:this._frameElement},i.createElement("img",r.a({},e,{onLoad:this._onImageLoaded,onError:this._onImageError,key:"fabricImage"+this.props.src||"",className:C.image,ref:this._imageElement,src:o,alt:n,role:f})))},t.prototype._checkImageLoaded=function(){var e=this.props.src;this.state.loadState===l.c.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:l.c.loaded})))},t.prototype._computeCoverStyle=function(e){var t=e.imageFit,o=e.width,n=e.height;if((t===l.b.cover||t===l.b.contain||t===l.b.centerContain||t===l.b.centerCover)&&void 0===this.props.coverStyle&&this._imageElement.current&&this._frameElement.current){var r=void 0;r=o&&n&&t!==l.b.centerContain&&t!==l.b.centerCover?o/n:this._frameElement.current.clientWidth/this._frameElement.current.clientHeight;var i=this._imageElement.current.naturalWidth/this._imageElement.current.naturalHeight;this._coverStyle=i>r?l.a.landscape:l.a.portrait}},t.defaultProps={shouldFadeIn:!0},t._svgRegex=/\.svg$/i,t}(i.Component),d=o(1),p=o(13),h={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"};o.d(t,"a",function(){return m});var m=Object(n.a)(u,function(e){var t=e.className,o=e.width,n=e.height,r=e.maximizeFrame,i=e.isLoaded,s=e.shouldFadeIn,a=e.shouldStartVisible,l=e.isLandscape,c=e.isCenter,u=e.isContain,m=e.isCover,f=e.isCenterContain,b=e.isCenterCover,g=e.isNone,v=e.isError,_=e.isNotImageFit,y=e.theme,C=Object(d.u)(h,y),x={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},k=Object(p.a)(),E=void 0!==k&&void 0===k.navigator.msMaxTouchPoints,I=u&&l||m&&!l?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[C.root,y.fonts.medium,{overflow:"hidden"},r&&[C.rootMaximizeFrame,{height:"100%",width:"100%"}],i&&s&&!a&&d.a.fadeIn400,(c||u||m||f||b)&&{position:"relative"},t],image:[C.image,{display:"block",opacity:0},i&&["is-loaded",{opacity:1}],c&&[C.imageCenter,x],u&&[C.imageContain,E&&{width:"100%",height:"100%",objectFit:"contain"},!E&&I,x],m&&[C.imageCover,E&&{width:"100%",height:"100%",objectFit:"cover"},!E&&I,x],f&&[C.imageCenterContain,l&&{maxWidth:"100%"},!l&&{maxHeight:"100%"},x],b&&[C.imageCenterCover,l&&{maxHeight:"100%"},!l&&{maxWidth:"100%"},x],g&&[C.imageNone,{width:"auto",height:"auto"}],_&&[!!o&&!n&&{height:"auto",width:"100%"},!o&&!!n&&{height:"100%",width:"auto"},!!o&&!!n&&{height:"100%",width:"100%"}],l&&C.imageLandscape,!l&&C.imagePortrait,!i&&"is-notLoaded",s&&"is-fadeIn",v&&"is-error"]}},void 0,{scope:"Image"},!0)},function(e,t,o){"use strict";var n=o(2),r=o(0),i=["setState","render","componentWillMount","UNSAFE_componentWillMount","componentDidMount","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","getSnapshotBeforeUpdate","UNSAFE_componentWillUpdate","componentDidUpdate","componentWillUnmount"];var s,a=function(e){function t(t){var o=e.call(this,t)||this;return o._skipComponentRefResolution=!0,o._updateComposedComponentRef=o._updateComposedComponentRef.bind(o),o}return n.c(t,e),t.prototype._updateComposedComponentRef=function(e){var t;this._composedComponentInstance=e,e?this._hoisted=function(e,t,o){void 0===o&&(o=i);var n=[],r=function(r){"function"!==typeof t[r]||void 0!==e[r]||o&&-1!==o.indexOf(r)||(n.push(r),e[r]=function(){t[r].apply(t,arguments)})};for(var s in t)r(s);return n}(this,e):this._hoisted&&(t=this,this._hoisted.forEach(function(e){return delete t[e]}))},t}(o(143).a),l=o(13),c=o(94);o.d(t,"a",function(){return s}),o.d(t,"b",function(){return p}),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"}(s||(s={}));var u,d=[479,639,1023,1365,1919,99999999];function p(e){var t=function(t){function o(e){var o=t.call(this,e)||this;return o._updateComposedComponentRef=o._updateComposedComponentRef.bind(o),o.state={responsiveMode:o._getResponsiveMode()},o}return n.c(o,t),o.prototype.componentDidMount=function(){var e=this;this._events.on(window,"resize",function(){var t=e._getResponsiveMode();t!==e.state.responsiveMode&&e.setState({responsiveMode:t})})},o.prototype.componentWillUnmount=function(){this._events.dispose()},o.prototype.render=function(){var t=this.state.responsiveMode;return r.createElement(e,n.a({ref:this._updateComposedComponentRef,responsiveMode:t},this.props))},o.prototype._getResponsiveMode=function(){var e=s.small,t=Object(l.a)();if("undefined"!==typeof t)try{for(;t.innerWidth>d[e];)e++}catch(o){e=s.large}else{if(void 0===u)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=u}return e},o}(a);return Object(c.a)(e,t)}},function(e,t,o){"use strict";function n(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return t.length<2?t[0]:function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];t.forEach(function(t){return t&&t.apply(e,o)})}}function r(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=n(e,e[o],t[o]))}o.d(t,"a",function(){return r})},,,,,,,,function(e,t,o){"use strict";o.d(t,"b",function(){return u}),o.d(t,"a",function(){return d});var n=o(2),r=o(0),i=o(68),s=o(58),a=o(122),l=o(123),c=o(1),u=Object(s.a)(function(e){var t=Object(c.v)(e)||{subset:{className:void 0},code:void 0};return{children:t.code,iconClassName:t.subset.className}}),d=function(e){var t=e.iconName,o=e.className,s=u(t),c=s.iconClassName,d=s.children,p=Object(a.d)(e,a.e),h=e["aria-label"]?{}:{role:"presentation","aria-hidden":!0};return r.createElement("i",n.a({"data-icon-name":t},h,p,{className:Object(l.a)(i.a,i.b.root,c,!t&&i.b.placeholder,o)}),d)};Object(s.a)(function(e,t,o){return d({iconName:e,className:t,"aria-label":o})})},function(e,t,o){"use strict";o.d(t,"a",function(){return n});var n=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 o=this,n=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),n=setTimeout(function(){try{o._timeoutIds&&delete o._timeoutIds[n],e.apply(o._parent)}catch(t){o._onErrorHandler&&o._onErrorHandler(t)}},t),this._timeoutIds[n]=!0),n},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e){var t=this,o=0;if(!this._isDisposed){this._immediateIds||(this._immediateIds={});o=window.setTimeout(function(){try{t._immediateIds&&delete t._immediateIds[o],e.apply(t._parent)}catch(n){t._logError(n)}},0),this._immediateIds[o]=!0}return o},e.prototype.clearImmediate=function(e){this._immediateIds&&this._immediateIds[e]&&(window.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var o=this,n=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),n=setInterval(function(){try{e.apply(o._parent)}catch(t){o._logError(t)}},t),this._intervalIds[n]=!0),n},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,o){var n=this;if(this._isDisposed)return this._noop;var r,i,s=t||0,a=!0,l=!0,c=0,u=null;o&&"boolean"===typeof o.leading&&(a=o.leading),o&&"boolean"===typeof o.trailing&&(l=o.trailing);var d=function t(o){var d=(new Date).getTime(),p=d-c,h=a?s-p:s;return p>=s&&(!o||a)?(c=d,u&&(n.clearTimeout(u),u=null),r=e.apply(n._parent,i)):null===u&&l&&(u=n.setTimeout(t,h)),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,o){var n=this;if(this._isDisposed){var r=function(){};return r.cancel=function(){},r.flush=function(){return null},r.pending=function(){return!1},r}var i,s,a=t||0,l=!1,c=!0,u=null,d=0,p=(new Date).getTime(),h=null;o&&"boolean"===typeof o.leading&&(l=o.leading),o&&"boolean"===typeof o.trailing&&(c=o.trailing),o&&"number"===typeof o.maxWait&&!isNaN(o.maxWait)&&(u=o.maxWait);var m=function(e){h&&(n.clearTimeout(h),h=null),p=e},f=function(t){m(t),i=e.apply(n._parent,s)},b=function e(t){var o=(new Date).getTime(),r=!1;t&&(l&&o-d>=a&&(r=!0),d=o);var s=o-d,m=a-s,b=o-p,g=!1;return null!==u&&(b>=u&&h?g=!0:m=Math.min(m,u-b)),s>=a||g||r?f(o):null!==h&&t||!c||(h=n.setTimeout(e,m)),i},g=function(){return!!h},v=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s=e,b(!0)};return v.cancel=function(){g()&&m((new Date).getTime())},v.flush=function(){return g()&&f((new Date).getTime()),i},v.pending=g,v},e.prototype.requestAnimationFrame=function(e){var t=this,o=0;if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var n=function(){try{t._animationFrameIds&&delete t._animationFrameIds[o],e.apply(t._parent)}catch(n){t._logError(n)}};o=window.requestAnimationFrame?window.requestAnimationFrame(n):window.setTimeout(n,0),this._animationFrameIds[o]=!0}return o},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}()},function(e,t,o){"use strict";o.d(t,"b",function(){return r}),o.d(t,"a",function(){return n});var n,r={none:0,all:1,inputOnly:2};!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional"}(n||(n={}))},function(e,t,o){"use strict";o.d(t,"a",function(){return r});var n=o(70);function r(e,t,o){void 0===o&&(o=!0);var r=!1;if(e&&t)if(o)for(r=!1;t;){var i=Object(n.a)(t);if(i===e){r=!0;break}t=i}else e.contains&&(r=e.contains(t));return r}},function(e,t,o){"use strict";o.d(t,"a",function(){return r});var n=o(73),r=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,o,r,i){var s;if(e._isElement(t)){if("undefined"!==typeof document&&document.createEvent){var a=document.createEvent("HTMLEvents");a.initEvent(o,i||!1,!0),Object(n.a)(a,r),s=t.dispatchEvent(a)}else if("undefined"!==typeof document&&document.createEventObject){var l=document.createEventObject(r);t.fireEvent("on"+o,l)}}else for(;t&&!1!==s;){var c=t.__events__,u=c?c[o]:null;if(u)for(var d in u)if(u.hasOwnProperty(d))for(var p=u[d],h=0;!1!==s&&h<p.length;h++){var m=p[h];m.objectCallback&&(s=m.objectCallback.call(m.parent,r))}t=i?t.parent:null}return s},e.isObserved=function(e,t){var o=e&&e.__events__;return!!o&&!!o[t]},e.isDeclared=function(e,t){var o=e&&e.__declaredEvents;return!!o&&!!o[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,o){for(var n in t)t.hasOwnProperty(n)&&this.on(e,n,t[n],o)},e.prototype.on=function(t,o,n,r){var i=this;if(o.indexOf(",")>-1)for(var s=o.split(/[ ,]+/),a=0;a<s.length;a++)this.on(t,s[a],n,r);else{var l=this._parent,c={target:t,eventName:o,parent:l,callback:n,options:r};if((s=t.__events__=t.__events__||{})[o]=s[o]||{count:0},s[o][this._id]=s[o][this._id]||[],s[o][this._id].push(c),s[o].count++,e._isElement(t)){var u=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed){var o;try{if(!1===(o=n.apply(l,e))&&e[0]){var r=e[0];r.preventDefault&&r.preventDefault(),r.stopPropagation&&r.stopPropagation(),r.cancelBubble=!0}}catch(r){}return o}};c.elementCallback=u,t.addEventListener?t.addEventListener(o,u,r):t.attachEvent&&t.attachEvent("on"+o,u)}else{c.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed)return n.apply(l,e)}}this._eventRecords.push(c)}},e.prototype.off=function(e,t,o,n){for(var r=0;r<this._eventRecords.length;r++){var i=this._eventRecords[r];if((!e||e===i.target)&&(!t||t===i.eventName)&&(!o||o===i.callback)&&("boolean"!==typeof n||n===i.options)){var s=i.target.__events__,a=s[i.eventName],l=a?a[this._id]:null;l&&(1!==l.length&&o?(a.count--,l.splice(l.indexOf(i),1)):(a.count-=l.length,delete s[i.eventName][this._id]),a.count||delete s[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,o,n){return e.raise(this._parent,t,o,n)},e.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"===typeof e)t[e]=!0;else for(var o=0;o<e.length;o++)t[e[o]]=!0},e._uniqueId=0,e}()},function(e,t,o){"use strict";function n(e,t){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);return t}o.d(t,"a",function(){return n})},function(e,t,o){"use strict";var n,r;o.d(t,"a",function(){return n}),function(e){e[e.top=1]="top",e[e.bottom=-1]="bottom",e[e.left=2]="left",e[e.right=-2]="right"}(n||(n={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(r||(r={}))},function(e,t,o){"use strict";o.d(t,"a",function(){return n}),o.d(t,"b",function(){return r});var n="data-portal-element";function r(e){e.setAttribute(n,"true")}},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,o){"use strict";o.d(t,"e",function(){return r}),o.d(t,"a",function(){return i}),o.d(t,"b",function(){return s}),o.d(t,"g",function(){return a}),o.d(t,"h",function(){return l}),o.d(t,"f",function(){return c}),o.d(t,"c",function(){return u}),o.d(t,"d",function(){return d});var n=o(73),r=["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"]),i=(r.concat(["form"]),r.concat(["height","loop","muted","preload","src","width"]).concat(["poster"]),r.concat(["start"]),r.concat(["value"]),r.concat(["download","href","hrefLang","media","rel","target","type"])),s=r.concat(["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),a=s.concat(["accept","alt","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),l=s.concat(["cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),c=(s.concat(["form","multiple","required"]),r.concat(["selected","value"]),r.concat(["cellPadding","cellSpacing"]),r.concat(["rowSpan","scope"]),r.concat(["colSpan","headers","rowSpan","scope"]),r.concat(["span"]),r.concat(["span"]),r.concat(["acceptCharset","action","encType","encType","method","noValidate","target"]),r.concat(["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),r.concat(["alt","crossOrigin","height","src","srcSet","useMap","width"])),u=r;function d(e,t,o){return Object(n.b)(function(e){return(!o||o.indexOf(e)<0)&&(0===e.indexOf("data-")||0===e.indexOf("aria-")||t.indexOf(e)>=0)},{},e)}},function(e,t,o){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var o=[],n=0,r=e;n<r.length;n++){var i=r[n];if(i)if("string"===typeof i)o.push(i);else if(i.hasOwnProperty("toString")&&"function"===typeof i.toString)o.push(i.toString());else for(var s in i)i[s]&&o.push(s)}return o.join(" ")}o.d(t,"a",function(){return n})},function(e,t,o){"use strict";o.d(t,"a",function(){return c});var n=o(2),r=o(0),i=o(32),s=o(54),a=o(74),l=["theme","styles"];function c(e,t,o,c,u){var d=(c=c||{scope:"",fields:void 0}).scope,p=c.fields,h=void 0===p?l:p;return function(l){function c(){var t=null!==l&&l.apply(this,arguments)||this;return t._inCustomizerContext=!1,t._renderContent=function(i){t._inCustomizerContext=!!i.customizations.inCustomizerContext;var a=s.a.getSettings(h,d,i.customizations),l=a.styles,c=(a.dir,n.d(a,["styles","dir"])),u=o?o(t.props):void 0;return t._updateStyles(l),r.createElement(e,n.a({},c,u,t.props,{styles:t._styles}))},t._onSettingsChanged=function(){return t.forceUpdate()},t}return n.c(c,l),c.prototype.render=function(){return r.createElement(a.a.Consumer,null,this._renderContent)},c.prototype.componentDidMount=function(){this._inCustomizerContext||s.a.observe(this._onSettingsChanged)},c.prototype.componentWillUnmount=function(){this._inCustomizerContext||s.a.unobserve(this._onSettingsChanged)},c.prototype._updateStyles=function(e){var o=this;this._styles&&e===this._styles.__cachedInputs__[1]&&!this.props.styles||(this._styles=function(n){return function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];for(var n=[],r=0,s=t;r<s.length;r++){var a=s[r];a&&n.push("function"===typeof a?a(e):a)}if(1===n.length)return n[0];if(n.length)return i.a.apply(void 0,n);return{}}(n,t,e,o.props.styles)},this._styles.__cachedInputs__=[t,e,this.props.styles])},c.displayName="Styled"+(e.displayName||e.name),c}(u?r.PureComponent:r.Component)}},function(e,t,o){"use strict";o.d(t,"a",function(){return c});var n=o(7),r=o(56),i=50,s=0,a=n.a.getInstance();a&&a.onReset&&a.onReset(function(){return s++});var l="__retval__";function c(e){void 0===e&&(e={});var t=new Map,o=0,n=s;return function(a,c){void 0===c&&(c={});var u=t,p=e.disableCaching;return n!==s&&(n=s,t=new Map,o=0),e.disableCaching||(u=d(t,a),u=d(u,c)),!p&&u[l]||(u[l]=void 0===a?{}:Object(r.a)("function"===typeof a?a(c):a),p||o++),o>i&&(t.clear(),o=0,e.disableCaching=!0),u[l]}}function u(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 d(e,t){if("function"===typeof t&&t.__cachedInputs__)for(var o=0,n=t.__cachedInputs__;o<n.length;o++){e=u(e,n[o])}else if("object"===typeof t)for(var r in t)t.hasOwnProperty(r)&&(e=u(e,t[r]));return e}},function(e,t,o){"use strict";o.d(t,"a",function(){return r});var n=o(81);function r(e){Object(n.a)(e,{componentDidMount:i,componentDidUpdate:s,componentWillUnmount:a})}function i(){l(this.props.componentRef,this)}function s(e){e.componentRef!==this.props.componentRef&&(l(e.componentRef,null),l(this.props.componentRef,this))}function a(){l(this.props.componentRef,null)}function l(e,t){e&&("object"===typeof e?e.current=t:"function"===typeof e&&e(t))}},function(e,t,o){"use strict";o.d(t,"a",function(){return i});var n,r=o(13);function i(e){if("undefined"===typeof n||e){var t=Object(r.a)(),o=t&&t.navigator.userAgent;n=!!o&&-1!==o.indexOf("Macintosh")}return!!n}},function(e,t,o){"use strict";o.d(t,"a",function(){return n});var n=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)}},function(e,t,o){"use strict";o.d(t,"a",function(){return d});var n=o(2),r=o(0),i=o(12),s=o(90),a=o(25),l=o(130),c=o(153),u=o(122),d=function(e){function t(t){var o=e.call(this,t)||this;return o._root=r.createRef(),o._disposables=[],o._onKeyDown=function(e){switch(e.which){case i.a.escape:o.props.onDismiss&&(o.props.onDismiss(e),e.preventDefault(),e.stopPropagation())}},o._onFocus=function(){o._containsFocus=!0},o._onBlur=function(e){o._root.current&&o._root.current.contains(e.relatedTarget)&&(o._containsFocus=!1)},o._async=new s.a(o),o.state={needsVerticalScrollBar:!1},o}return n.c(t,e),t.prototype.UNSAFE_componentWillMount=function(){this._originalFocusedElement=Object(a.a)().activeElement},t.prototype.componentDidMount=function(){this._root.current&&(this._disposables.push(Object(l.a)(this._root.current,"focus",this._onFocus,!0),Object(l.a)(this._root.current,"blur",this._onBlur,!0)),Object(c.a)(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,o=e.className,i=e.ariaLabel,s=e.ariaLabelledBy,a=e.ariaDescribedBy,l=e.style;return r.createElement("div",n.a({ref:this._root},Object(u.d)(this.props,u.c),{className:o,role:t,"aria-label":i,"aria-labelledby":s,"aria-describedby":a,onKeyDown:this._onKeyDown,style:n.a({overflowY:this.state.needsVerticalScrollBar?"scroll":void 0,outline:"none"},l)}),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,o=this._root.current.firstElementChild.clientHeight;t>0&&o>t&&(e=o-t>1)}this.state.needsVerticalScrollBar!==e&&this.setState({needsVerticalScrollBar:e})}},t.defaultProps={shouldRestoreFocus:!0},t}(r.Component)},function(e,t,o){"use strict";function n(e,t,o,n){return e.addEventListener(t,o,n),function(){return e.removeEventListener(t,o,n)}}o.d(t,"a",function(){return n})},function(e,t,o){"use strict";o.d(t,"a",function(){return c}),o.d(t,"b",function(){return d}),o.d(t,"c",function(){return p}),o.d(t,"d",function(){return h});var n,r=o(25),i=o(57),s=0,a=Object(i.a)({overflow:"hidden !important"}),l="data-is-scrollable",c=function(){var e=0,t=null,o=function(t){1===t.targetTouches.length&&(e=t.targetTouches[0].clientY)},n=function(o){if(1===o.targetTouches.length&&(o.stopPropagation(),t)){var n=o.targetTouches[0].clientY-e,r=function(e){var t=e;for(;t&&t!==document.body;){if("true"===t.getAttribute(l))return t;t=t.parentElement}t=e;for(;t&&t!==document.body;){if("false"!==t.getAttribute(l)){var o=getComputedStyle(t),n=o?o.getPropertyValue("overflow-y"):"";if(n&&("scroll"===n||"auto"===n))return t}t=t.parentElement}t&&t!==document.body||(t=window);return t}(o.target);r&&(t=r),0===t.scrollTop&&n>0&&o.preventDefault(),t.scrollHeight-t.scrollTop<=t.clientHeight&&n<0&&o.preventDefault()}};return function(e,r){e&&(r.on(e,"touchstart",o,{passive:!1}),r.on(e,"touchmove",n,{passive:!1}),t=e)}}(),u=function(e){e.preventDefault()};function d(){var e=Object(r.a)();e&&e.body&&!s&&(e.body.classList.add(a),e.body.addEventListener("touchmove",u,{passive:!1,capture:!1})),s++}function p(){if(s>0){var e=Object(r.a)();e&&e.body&&1===s&&(e.body.classList.remove(a),e.body.removeEventListener("touchmove",u)),s--}}function h(){if(void 0===n){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),n=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return n}},function(e,t,o){"use strict";o.d(t,"a",function(){return c});var n=o(2),r=o(0),i=o(54),s=o(94),a=o(74),l=o(32);function c(e,t,o){return function(c){var u,d=((u=function(s){function u(e){var t=s.call(this,e)||this;return t._onSettingChanged=t._onSettingChanged.bind(t),t}return n.c(u,s),u.prototype.componentDidMount=function(){i.a.observe(this._onSettingChanged)},u.prototype.componentWillUnmount=function(){i.a.unobserve(this._onSettingChanged)},u.prototype.render=function(){var s=this;return r.createElement(a.a.Consumer,null,function(a){var u=i.a.getSettings(t,e,a.customizations),d=s.props;if(u.styles&&"function"===typeof u.styles&&(u.styles=u.styles(n.a({},u,d))),o&&(u.styles||d.styles)){var p=Object(l.a)(u.styles,d.styles);return r.createElement(c,n.a({},u,d,{styles:p}))}return r.createElement(c,n.a({},u,d))})},u.prototype._onSettingChanged=function(){this.forceUpdate()},u}(r.Component)).displayName="Customized"+e,u);return Object(s.a)(c,d)}}},function(e,t,o){"use strict";o.d(t,"a",function(){return i});var n=o(76),r=o(96);function i(e,t){var o=Object(n.a)(e,function(e){return t===e||e.hasAttribute(r.a)});return null!==o&&o.hasAttribute(r.a)}},function(e,t,o){"use strict";function n(e,t){for(var o=-1,n=0;e&&n<e.length;n++)if(t(e[n],n)){o=n;break}return o}function r(e,t){var o=n(e,t);if(!(o<0))return e[o]}function i(e,t,o){var n=e.slice();return n[o]=t,n}function s(e,t,o){var n=e.slice();return n.splice(t,0,o),n}function a(e,t){if(e.length!==t.length)return!1;for(var o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0}o.d(t,"d",function(){return n}),o.d(t,"c",function(){return r}),o.d(t,"e",function(){return i}),o.d(t,"a",function(){return s}),o.d(t,"b",function(){return a})},function(e,t,o){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=e.filter(function(e){return void 0!==e&&null!==e}).join(" ").trim();return""===o?void 0:o}o.d(t,"a",function(){return n})},function(e,t,o){"use strict";var n,r=o(124),i=o(2),s=o(0),a=o(125),l=o(81),c=function(e){var t;return function(o){t||(t=new Set,Object(l.a)(e,{componentWillUnmount:function(){t.forEach(function(e){return cancelAnimationFrame(e)})}}));var n=requestAnimationFrame(function(){t.delete(n),o()});t.add(n)}},u=o(25),d=o(12),p=o(153),h=o(126),m=o(73),f=o(122),b=o(135),g=o(134),v=o(127),_=o(128),y=o(140),C=o(150),x=o(144),k=Object(a.a)(),E=function(e){function t(t,o){var n=e.call(this,t,o)||this;return n._checkBox=s.createRef(),n._onFocus=function(e){var t=n.props.inputProps;t&&t.onFocus&&t.onFocus(e)},n._onBlur=function(e){var t=n.props.inputProps;t&&t.onBlur&&t.onBlur(e)},n._onChange=function(e){var t=n.props,o=t.disabled,r=t.onChange,i=n.state,s=i.isChecked,a=i.isIndeterminate;o||(a?(r&&r(e,s),void 0===n.props.indeterminate&&n.setState({isIndeterminate:!1})):(r&&r(e,!s),void 0===n.props.checked&&n.setState({isChecked:!s})))},n._onRenderLabel=function(e){var t=e.label;return t?s.createElement("span",{"aria-hidden":"true",className:n._classNames.text},t):null},Object(h.a)(n),n._id=n.props.id||Object(m.c)("checkbox-"),n.state={isChecked:!!(void 0!==t.checked?t.checked:t.defaultChecked),isIndeterminate:!!(void 0!==t.indeterminate?t.indeterminate:t.defaultIndeterminate)},n}return i.c(t,e),t.getDerivedStateFromProps=function(e,t){return!e.defaultIndeterminate&&t.isIndeterminate?{isIndeterminate:!!e.indeterminate}:void 0!==e.checked?{isChecked:!!e.checked}:null},t.prototype.render=function(){var e=this,t=this.props,o=t.checked,n=t.className,r=t.defaultChecked,a=t.disabled,l=t.inputProps,c=t.name,u=t.boxSide,d=t.theme,p=t.ariaLabel,h=t.ariaLabelledBy,m=t.ariaDescribedBy,f=t.styles,g=t.onRenderLabel,v=void 0===g?this._onRenderLabel:g,_=t.checkmarkIconProps,y=t.ariaPositionInSet,E=t.ariaSetSize,I=t.keytipProps,w=t.title,S=t.label,O=t.indeterminate,M=void 0===o?this.state.isChecked:o,D=!!(void 0===O?this.state.isIndeterminate:O),T="start"!==u;return this._classNames=k(f,{theme:d,className:n,disabled:a,indeterminate:D,checked:M,reversed:T,isUsingCustomLabelRender:v!==this._onRenderLabel}),s.createElement(x.a,{keytipProps:I,disabled:a},function(t){return s.createElement("div",{className:e._classNames.root},s.createElement("input",i.a({type:"checkbox"},l,{"data-ktp-execute-target":t["data-ktp-execute-target"]},void 0!==o&&{checked:o},void 0!==r&&{defaultChecked:r},{disabled:a,className:e._classNames.input,ref:e._checkBox,name:c,id:e._id,title:w,onChange:e._onChange,onFocus:e._onFocus,onBlur:e._onBlur,"aria-disabled":a,"aria-label":p||S,"aria-labelledby":h,"aria-describedby":Object(b.a)(m,t["aria-describedby"]),"aria-posinset":y,"aria-setsize":E,"aria-checked":D?"mixed":M?"true":"false"})),s.createElement("label",{className:e._classNames.label,htmlFor:e._id},s.createElement("div",{className:e._classNames.checkbox,"data-ktp-target":t["data-ktp-target"]},s.createElement(C.a,i.a({iconName:"CheckMark"},_,{className:e._classNames.checkmark}))),v(e.props,e._onRenderLabel)))})},Object.defineProperty(t.prototype,"indeterminate",{get:function(){return this.state.isIndeterminate},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this.state.isChecked},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this._checkBox.current&&this._checkBox.current.focus()},t.defaultProps={boxSide:"start"},t}(s.Component),I=o(1),w=o(55),S={root:"ms-Checkbox",label:"ms-Checkbox-label",checkbox:"ms-Checkbox-checkbox",checkmark:"ms-Checkbox-checkmark",text:"ms-Checkbox-text"},O=Object(r.a)(E,function(e){var t,o,n,r,i,s,a,l,c,u,d,p,h,m=e.className,f=e.theme,b=e.reversed,g=e.checked,v=e.disabled,_=e.isUsingCustomLabelRender,y=e.indeterminate,C=f.semanticColors,x=f.effects,k=f.palette,E=f.fonts,O=Object(I.u)(S,f),M=C.inputForegroundChecked,D=k.neutralSecondary,T=k.neutralPrimary,P=C.inputBackgroundChecked,B=C.inputBackgroundChecked,N=C.disabledBodySubtext,F=C.inputBorderHovered,R=C.inputBackgroundCheckedHovered,j=C.inputBackgroundChecked,A=C.inputBackgroundCheckedHovered,z=C.inputBackgroundCheckedHovered,L=C.inputTextHovered,H=C.disabledBodySubtext,W=C.bodyText,K=C.disabledText,U=[{content:'""',borderRadius:x.roundedCorner2,position:"absolute",width:10,height:10,top:4,left:4,boxSizing:"border-box",borderWidth:5,borderStyle:"solid",borderColor:v?N:P,transitionProperty:"border-width, border, border-color",transitionDuration:"200ms",transitionTimingFunction:"cubic-bezier(.4, 0, .23, 1)"}];return{root:[O.root,{position:"relative",display:"flex"},b&&"reversed",g&&"is-checked",!v&&"is-enabled",v&&"is-disabled",!v&&[!g&&{selectors:(t={},t[":hover ."+O.checkbox]={borderColor:F,selectors:(o={},o[I.d]={borderColor:"Highlight"},o)},t[":focus ."+O.checkbox]={borderColor:F},t[":hover ."+O.checkmark]={color:D,opacity:"1",selectors:(n={},n[I.d]={color:"Highlight"},n)},t)},g&&!y&&{selectors:(r={},r[":hover ."+O.checkbox]={background:A,borderColor:z},r[":focus ."+O.checkbox]={background:A,borderColor:z},r["."+O.checkbox]={background:B,borderColor:B},r[I.d]={selectors:(i={},i[":hover ."+O.checkbox]={background:"Window",borderColor:"Highlight"},i[":focus ."+O.checkbox]={background:"Highlight"},i[":focus:hover ."+O.checkbox]={background:"Highlight"},i[":focus:hover ."+O.checkmark]={color:"Window"},i[":hover ."+O.checkmark]={color:"Highlight"},i)},r)},y&&{selectors:(s={},s[":hover ."+O.checkbox+", :hover ."+O.checkbox+":after"]={borderColor:R},s[":focus ."+O.checkbox]={borderColor:R},s[":hover ."+O.checkmark]={opacity:"0"},s)},{selectors:(a={},a[":hover ."+O.text]={color:L},a[":focus ."+O.text]={color:L},a)}],m],input:{position:"absolute",background:"none",opacity:0,selectors:(l={},l["."+w.a+" &:focus + label::before"]={outline:"1px solid "+f.palette.neutralSecondary,outlineOffset:"2px",selectors:(c={},c[I.d]={outline:"1px solid ActiveBorder"},c)},l)},label:[O.label,f.fonts.medium,{display:"flex",alignItems:_?"center":"flex-start",cursor:v?"default":"pointer",position:"relative",userSelect:"none",textAlign:"left"},b&&{flexDirection:"row-reverse",justifyContent:"flex-end"},{selectors:{"&::before":{position:"absolute",left:0,right:0,top:0,bottom:0,content:'""',pointerEvents:"none"}}}],checkbox:[O.checkbox,{position:"relative",display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",height:"20px",width:"20px",border:"1px solid "+T,borderRadius:x.roundedCorner2,boxSizing:"border-box",transitionProperty:"background, border, border-color",transitionDuration:"200ms",transitionTimingFunction:"cubic-bezier(.4, 0, .23, 1)",overflow:"hidden",selectors:{":after":y?U:null}},y&&{borderColor:P},b?{marginLeft:4}:{marginRight:4},!v&&!y&&g&&{background:j,borderColor:B,selectors:(u={},u[I.d]={background:"Highlight",borderColor:"Highlight"},u)},v&&{borderColor:N,selectors:(d={},d[I.d]={borderColor:"InactiveBorder"},d)},g&&v&&{background:H,borderColor:N}],checkmark:[O.checkmark,{opacity:g?"1":"0",color:M,selectors:(p={},p[I.d]={color:v?"InactiveBorder":"Window",MsHighContrastAdjust:"none"},p)}],text:[O.text,{color:v?K:W,fontSize:E.medium.fontSize,lineHeight:"20px"},b?{marginRight:4}:{marginLeft:4},v&&{selectors:(h={},h[I.d]={color:"InactiveBorder"},h)}]}},void 0,{scope:"Checkbox"}),M=o(66),D=o(143),T=o(132),P=o(58),B=o(65),N=Object(P.a)(function(e,t){var o,n=Object(B.a)(e),r={root:{padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},rootHovered:{color:e.palette.themePrimary,selectors:(o={},o[I.d]={borderColor:"Highlight",color:"Highlight"},o)},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}};return Object(I.q)(n,r,t)}),F=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipComponentRefResolution=!0,t}return i.c(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme;return s.createElement(M.a,i.a({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:N(o,t),onRenderDescription:D.b}))},t=i.b([Object(T.a)("ActionButton",["theme","styles"],!0)],t)}(D.a),R=o(61);!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header"}(n||(n={}));var j,A=function(){function e(){this._size=0}return e.prototype.updateOptions=function(e){for(var t=[],o=0,r=0;r<e.length;r++)e[r].itemType===n.Divider||e[r].itemType===n.Header?t.push(r):o++;this._size=o,this._displayOnlyOptionsCache=t},Object.defineProperty(e.prototype,"optionSetSize",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.positionInSet=function(e){if(void 0!==e){for(var t=0;e>this._displayOnlyOptionsCache[t];)t++;if(this._displayOnlyOptionsCache[t]===e)throw new Error("Unexpected: Option at index "+e+" is not a selectable element.");return e-t+1}},e}(),z=o(155),L=o(91),H=o(147),W=o(151),K=o(139),U=o(131),V=Object(a.a)(),q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.c(t,e),t.prototype.componentDidMount=function(){Object(U.b)()},t.prototype.componentWillUnmount=function(){Object(U.c)()},t.prototype.render=function(){var e=this.props,t=e.isDarkThemed,o=e.className,n=e.theme,r=e.styles,a=Object(f.d)(this.props,f.c),l=V(r,{theme:n,className:o,isDark:t});return s.createElement("div",i.a({},a,{className:l.root}))},t}(D.a),Z={root:"ms-Overlay",rootDark:"ms-Overlay--dark"},G=Object(r.a)(q,function(e){var t,o=e.className,n=e.theme,r=e.isNone,i=e.isDark,s=n.palette,a=Object(I.u)(Z,n);return{root:[a.root,n.fonts.medium,{backgroundColor:s.whiteTranslucent40,top:0,right:0,bottom:0,left:0,position:"absolute",selectors:(t={},t[I.d]={border:"1px solid WindowText",opacity:0},t)},r&&{visibility:"hidden"},i&&[a.rootDark,{backgroundColor:s.blackTranslucent40}],o]}},void 0,{scope:"Overlay"}),Y=o(129),X=o(152),Q=o(92),$=o(130),J=function(e){function t(o){var n=e.call(this,o)||this;return n._root=s.createRef(),n._firstBumper=s.createRef(),n._lastBumper=s.createRef(),n._hasFocus=!1,n._onRootFocus=function(e){n.props.onFocus&&n.props.onFocus(e),n._hasFocus=!0},n._onRootBlur=function(e){n.props.onBlur&&n.props.onBlur(e);var t=e.relatedTarget;null===e.relatedTarget&&(t=n._getDocument().activeElement),Object(Q.a)(n._root.current,t)||(n._hasFocus=!1)},n._onFirstBumperFocus=function(){n._onBumperFocus(!0)},n._onLastBumperFocus=function(){n._onBumperFocus(!1)},n._onBumperFocus=function(e){if(!n.props.disabled){var t=e===n._hasFocus?n._lastBumper.current:n._firstBumper.current;if(n._root.current){var o=e===n._hasFocus?Object(p.i)(n._root.current,t,!0,!1):Object(p.f)(n._root.current,t,!0,!1);o&&(n._isBumper(o)?n.focus():o.focus())}}},n._onFocusCapture=function(e){n.props.onFocusCapture&&n.props.onFocusCapture(e),e.target===e.currentTarget||n._isBumper(e.target)||(n._previouslyFocusedElementInTrapZone=e.target)},n._forceFocusInTrap=function(e){if(!n.props.disabled&&t._focusStack.length&&n===t._focusStack[t._focusStack.length-1]){var o=n._getDocument().activeElement;Object(Q.a)(n._root.current,o)||(n.focus(),n._hasFocus=!0,e.preventDefault(),e.stopPropagation())}},n._forceClickInTrap=function(e){if(!n.props.disabled&&t._focusStack.length&&n===t._focusStack[t._focusStack.length-1]){var o=e.target;o&&!Object(Q.a)(n._root.current,o)&&(n.focus(),n._hasFocus=!0,e.preventDefault(),e.stopPropagation())}},Object(h.a)(n),n}return i.c(t,e),t.prototype.componentDidMount=function(){this._bringFocusIntoZone(),this._updateEventHandlers(this.props)},t.prototype.UNSAFE_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,o=void 0===this.props.forceFocusInsideTrap||this.props.forceFocusInsideTrap,n=void 0!==e.disabled&&e.disabled,r=void 0!==this.props.disabled&&this.props.disabled;!t&&o||n&&!r?this._bringFocusIntoZone():(t&&!o||!n&&r)&&this._returnFocusToInitiator()},t.prototype.componentWillUnmount=function(){this.props.disabled&&!this.props.forceFocusInsideTrap&&Object(Q.a)(this._root.current,this._getDocument().activeElement)||this._returnFocusToInitiator()},t.prototype.render=function(){var e=this.props,t=e.className,o=e.disabled,n=void 0!==o&&o,r=e.ariaLabelledBy,a=Object(f.d)(this.props,f.c),l={style:{pointerEvents:"none",position:"fixed"},tabIndex:n?-1:0,"data-is-visible":!0};return s.createElement("div",i.a({},a,{className:t,ref:this._root,"aria-labelledby":r,onFocusCapture:this._onFocusCapture,onFocus:this._onRootFocus,onBlur:this._onRootBlur}),s.createElement("div",i.a({},l,{ref:this._firstBumper,onFocus:this._onFirstBumperFocus})),this.props.children,s.createElement("div",i.a({},l,{ref:this._lastBumper,onFocus:this._onLastBumperFocus})))},t.prototype.focus=function(){var e=this.props,t=e.focusPreviouslyFocusedInnerElement,o=e.firstFocusableSelector;if(t&&this._previouslyFocusedElementInTrapZone&&Object(Q.a)(this._root.current,this._previouslyFocusedElementInTrapZone))this._focusAsync(this._previouslyFocusedElementInTrapZone);else{var n="string"===typeof o?o:o&&o(),r=null;this._root.current&&(n&&(r=this._root.current.querySelector("."+n)),r||(r=Object(p.j)(this._root.current,this._root.current.firstChild,!1,!1,!1,!0))),r&&this._focusAsync(r)}},t.prototype._focusAsync=function(e){this._isBumper(e)||Object(p.b)(e)},t.prototype._bringFocusIntoZone=function(){var e=this.props,o=e.elementToFocusOnDismiss,n=e.disabled,r=void 0!==n&&n,i=e.disableFirstFocus,s=void 0!==i&&i;r||(t._focusStack.push(this),this._previouslyFocusedElementOutsideTrapZone=o||this._getDocument().activeElement,s||Object(Q.a)(this._root.current,this._previouslyFocusedElementOutsideTrapZone)||this.focus())},t.prototype._returnFocusToInitiator=function(){var e=this,o=this.props.ignoreExternalFocusing;t._focusStack=t._focusStack.filter(function(t){return e!==t});var n=this._getDocument(),r=n.activeElement;o||!this._previouslyFocusedElementOutsideTrapZone||"function"!==typeof this._previouslyFocusedElementOutsideTrapZone.focus||!Object(Q.a)(this._root.current,r)&&r!==n.body||this._focusAsync(this._previouslyFocusedElementOutsideTrapZone)},t.prototype._updateEventHandlers=function(e){var t=e.isClickableOutsideFocusTrap,o=void 0!==t&&t,n=e.forceFocusInsideTrap,r=void 0===n||n;r&&!this._disposeFocusHandler?this._disposeFocusHandler=Object($.a)(window,"focus",this._forceFocusInTrap,!0):!r&&this._disposeFocusHandler&&(this._disposeFocusHandler(),this._disposeFocusHandler=void 0),o||this._disposeClickHandler?o&&this._disposeClickHandler&&(this._disposeClickHandler(),this._disposeClickHandler=void 0):this._disposeClickHandler=Object($.a)(window,"click",this._forceClickInTrap,!0)},t.prototype._isBumper=function(e){return e===this._firstBumper.current||e===this._lastBumper.current},t.prototype._getDocument=function(){return Object(u.a)(this._root.current)},t._focusStack=[],t}(s.Component);!function(e){e[e.smallFluid=0]="smallFluid",e[e.smallFixedFar=1]="smallFixedFar",e[e.smallFixedNear=2]="smallFixedNear",e[e.medium=3]="medium",e[e.large=4]="large",e[e.largeFixed=5]="largeFixed",e[e.extraLarge=6]="extraLarge",e[e.custom=7]="custom",e[e.customNear=8]="customNear"}(j||(j={}));var ee,te=Object(a.a)();!function(e){e[e.closed=0]="closed",e[e.animatingOpen=1]="animatingOpen",e[e.open=2]="open",e[e.animatingClosed=3]="animatingClosed"}(ee||(ee={}));var oe,ne,re,ie,se,ae=function(e){function t(t){var o=e.call(this,t)||this;return o._panel=s.createRef(),o._animationCallback=null,o.dismiss=function(e){o.props.onDismiss&&o.props.onDismiss(e),(!e||e&&!e.defaultPrevented)&&o.close()},o._allowScrollOnPanel=function(e){e?Object(U.a)(e,o._events):o._events.off(o._scrollableContent),o._scrollableContent=e},o._onRenderNavigation=function(e){if(!o.props.onRenderNavigationContent&&!o.props.onRenderNavigation&&!o.props.hasCloseButton)return null;var t=o.props.onRenderNavigationContent,n=void 0===t?o._onRenderNavigationContent:t;return s.createElement("div",{className:o._classNames.navigation},n(e,o._onRenderNavigationContent))},o._onRenderNavigationContent=function(e){var t=e.closeButtonAriaLabel,n=e.hasCloseButton,r=Object(I.y)();return n?s.createElement(W.a,{styles:{root:{height:"auto",width:"44px",color:r.palette.neutralSecondary,fontSize:I.g.large},rootHovered:{color:r.palette.neutralPrimary}},className:o._classNames.closeButton,onClick:o._onPanelClick,ariaLabel:t,title:t,"data-is-visible":!0,iconProps:{iconName:"Cancel"}}):null},o._onRenderHeader=function(e,t,n){var r=e.headerText;return r?s.createElement("div",{className:o._classNames.header},s.createElement("p",{className:o._classNames.headerText,id:n,role:"heading","aria-level":2},r)):null},o._onRenderBody=function(e){return s.createElement("div",{className:o._classNames.content},e.children)},o._onRenderFooter=function(e){var t=o.props.onRenderFooterContent,n=void 0===t?null:t;return n?s.createElement("div",{className:o._classNames.footer},s.createElement("div",{className:o._classNames.footerInner},n())):null},o._animateTo=function(e){o._animationCallback=o._async.setTimeout(function(){o.setState({visibility:e}),o._onTransitionComplete()},200)},o._clearExistingAnimationTimer=function(){null!==o._animationCallback&&o._async.clearTimeout(o._animationCallback)},o._onPanelClick=function(e){o.dismiss(e)},o._onTransitionComplete=function(){o._updateFooterPosition(),o.state.visibility===ee.open&&o.props.onOpened&&o.props.onOpened(),o.state.visibility===ee.closed&&o.props.onDismissed&&o.props.onDismissed()},o._warnDeprecations({ignoreExternalFocusing:"focusTrapZoneProps",forceFocusInsideTrap:"focusTrapZoneProps",firstFocusableSelector:"focusTrapZoneProps"}),o.state={isFooterSticky:!1,visibility:ee.closed,id:Object(m.c)("Panel")},o}return i.c(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.isOpen?t:!e.isOpen||t.visibility!==ee.closed&&t.visibility!==ee.animatingClosed?e.isOpen||t.visibility!==ee.open&&t.visibility!==ee.animatingOpen?t:i.a({},t,{visibility:ee.animatingClosed}):i.a({},t,{visibility:ee.animatingOpen})},t.prototype.componentDidMount=function(){this._events.on(window,"resize",this._updateFooterPosition),this._shouldListenForOuterClick(this.props)&&this._events.on(document.body,"mousedown",this._dismissOnOuterClick,!0),this.props.isOpen&&this.setState({visibility:ee.animatingOpen})},t.prototype.componentDidUpdate=function(e,t){var o=this._shouldListenForOuterClick(this.props),n=this._shouldListenForOuterClick(e);this.state.visibility!==t.visibility&&(this._clearExistingAnimationTimer(),this.state.visibility===ee.animatingOpen?this._animateTo(ee.open):this.state.visibility===ee.animatingClosed&&this._animateTo(ee.closed)),o&&!n?this._events.on(document.body,"mousedown",this._dismissOnOuterClick,!0):!o&&n&&this._events.off(document.body,"mousedown",this._dismissOnOuterClick,!0)},t.prototype.render=function(){var e=this.props,t=e.className,o=void 0===t?"":t,n=e.elementToFocusOnDismiss,r=e.firstFocusableSelector,a=e.focusTrapZoneProps,l=e.forceFocusInsideTrap,c=e.hasCloseButton,u=e.headerText,d=e.headerClassName,p=void 0===d?"":d,h=e.ignoreExternalFocusing,m=e.isBlocking,b=e.isFooterAtBottom,g=e.isLightDismiss,v=e.isHiddenOnDismiss,_=e.layerProps,y=e.overlayProps,C=e.type,x=e.styles,k=e.theme,E=e.customWidth,I=e.onLightDismissClick,w=void 0===I?this._onPanelClick:I,S=e.onRenderNavigation,O=void 0===S?this._onRenderNavigation:S,M=e.onRenderHeader,D=void 0===M?this._onRenderHeader:M,T=e.onRenderBody,P=void 0===T?this._onRenderBody:T,B=e.onRenderFooter,N=void 0===B?this._onRenderFooter:B,F=this.state,R=F.isFooterSticky,A=F.visibility,z=F.id,L=C===j.smallFixedNear||C===j.customNear,H=Object(X.a)()?L:!L,W=u&&z+"-headerText",U=C===j.custom||C===j.customNear?{width:E}:{},V=Object(f.d)(this.props,f.c),q=this.isActive,Z=A===ee.animatingClosed||A===ee.animatingOpen;if(!q&&!Z&&!v)return null;this._classNames=te(x,{theme:k,className:o,focusTrapZoneClassName:a?a.className:void 0,hasCloseButton:c,headerClassName:p,isAnimating:Z,isFooterSticky:R,isFooterAtBottom:b,isOnRightSide:H,isOpen:q,isHiddenOnDismiss:v,type:C});var Q,$=this._classNames;m&&q&&(Q=s.createElement(G,i.a({className:$.overlay,isDarkThemed:!1,onClick:g?w:void 0},y)));var oe=D(this.props,this._onRenderHeader,W);return s.createElement(K.a,i.a({},_),s.createElement(Y.a,{role:"dialog","aria-modal":"true",ariaLabelledBy:oe?W:void 0,onDismiss:this.dismiss,className:$.hiddenPanel},s.createElement("div",i.a({"aria-hidden":!q&&Z},V,{ref:this._panel,className:$.root}),Q,s.createElement(J,i.a({ignoreExternalFocusing:h,forceFocusInsideTrap:!(!m||v&&!q)&&l,firstFocusableSelector:r,isClickableOutsideFocusTrap:!0},a,{className:$.main,style:U,elementToFocusOnDismiss:n}),s.createElement("div",{className:$.commands,"data-is-visible":!0},O(this.props,this._onRenderNavigation)),s.createElement("div",{className:$.contentInner},oe,s.createElement("div",{ref:this._allowScrollOnPanel,className:$.scrollableContent,"data-is-scrollable":!0},P(this.props,this._onRenderBody)),N(this.props,this._onRenderFooter))))))},t.prototype.open=function(){void 0===this.props.isOpen&&(this.isActive||(this.props.onOpen&&this.props.onOpen(),this.setState({visibility:ee.animatingOpen})))},t.prototype.close=function(){void 0===this.props.isOpen&&this.isActive&&this.setState({visibility:ee.animatingClosed})},Object.defineProperty(t.prototype,"isActive",{get:function(){return this.state.visibility===ee.open||this.state.visibility===ee.animatingOpen},enumerable:!0,configurable:!0}),t.prototype._shouldListenForOuterClick=function(e){return!!e.isBlocking&&!!e.isOpen},t.prototype._updateFooterPosition=function(){var e=this._scrollableContent;if(e){var t=e.clientHeight,o=e.scrollHeight;this.setState({isFooterSticky:t<o})}},t.prototype._dismissOnOuterClick=function(e){var t=this._panel.current;this.isActive&&t&&(Object(Q.a)(t,e.target)||(this.props.onOuterClick?(this.props.onOuterClick(),e.preventDefault()):this.dismiss()))},t.defaultProps={isHiddenOnDismiss:!1,isOpen:void 0,isBlocking:!0,hasCloseButton:!0,type:j.smallFixedFar},t}(D.a),le={root:"ms-Panel",main:"ms-Panel-main",commands:"ms-Panel-commands",contentInner:"ms-Panel-contentInner",scrollableContent:"ms-Panel-scrollableContent",navigation:"ms-Panel-navigation",closeButton:"ms-Panel-closeButton ms-PanelAction-close",header:"ms-Panel-header",headerText:"ms-Panel-headerText",content:"ms-Panel-content",footer:"ms-Panel-footer",footerInner:"ms-Panel-footerInner",isOpen:"is-open",hasCloseButton:"ms-Panel--hasCloseButton",smallFluid:"ms-Panel--smFluid",smallFixedNear:"ms-Panel--smLeft",smallFixedFar:"ms-Panel--sm",medium:"ms-Panel--md",large:"ms-Panel--lg",largeFixed:"ms-Panel--fixed",extraLarge:"ms-Panel--xl",custom:"ms-Panel--custom",customNear:"ms-Panel--customLeft"},ce="100%",ue="auto",de=272,pe=340,he=592,me=644,fe=940,be="auto",ge=0,ve=48,_e=428,ye=176,Ce=((oe={})["@media (min-width: "+I.l+"px)"]={width:pe},oe),xe=((ne={})["@media (min-width: "+I.k+"px)"]={width:he},ne["@media (min-width: "+I.n+"px)"]={width:me},ne),ke=((re={})["@media (min-width: "+I.m+"px)"]={left:ve,width:ue},re["@media (min-width: "+I.o+"px)"]={left:_e},re),Ee=((ie={})["@media (min-width: "+I.o+"px)"]={left:be,width:fe},ie),Ie=((se={})["@media (min-width: "+I.o+"px)"]={left:ye},se),we=function(e){var t;switch(e){case j.smallFixedFar:t=i.a({},Ce);break;case j.medium:t=i.a({},Ce,xe);break;case j.large:t=i.a({},Ce,xe,ke);break;case j.largeFixed:t=i.a({},Ce,xe,ke,Ee);break;case j.extraLarge:t=i.a({},Ce,xe,ke,Ie)}return t},Se={paddingLeft:"16px",paddingRight:"16px"},Oe=Object(r.a)(ae,function(e){var t,o,n=e.className,r=e.focusTrapZoneClassName,s=e.hasCloseButton,a=e.headerClassName,l=e.isAnimating,c=e.isFooterSticky,u=e.isFooterAtBottom,d=e.isOnRightSide,p=e.isOpen,h=e.isHiddenOnDismiss,m=e.theme,f=e.type,b=void 0===f?j.smallFixedFar:f,g=m.palette,v=m.effects,_=m.fonts,y=Object(I.u)(le,m),C=b===j.custom||b===j.customNear;return{root:[y.root,m.fonts.medium,p&&y.isOpen,s&&y.hasCloseButton,{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0},C&&d&&y.custom,C&&!d&&y.customNear,n],overlay:[{pointerEvents:"auto",cursor:"pointer"},p&&l&&I.a.fadeIn100,!p&&l&&I.a.fadeOut100],hiddenPanel:[!p&&!l&&h&&{visibility:"hidden"}],main:[y.main,{backgroundColor:g.white,boxShadow:v.elevation64,pointerEvents:"auto",position:"absolute",display:"flex",flexDirection:"column",overflowX:"hidden",overflowY:"auto",WebkitOverflowScrolling:"touch",bottom:0,top:0,left:be,right:ge,width:ce,selectors:i.a((t={},t[I.d]={borderLeft:"3px solid "+g.neutralLight,borderRight:"3px solid "+g.neutralLight},t),we(b))},b===j.smallFluid&&{left:ge},b===j.smallFixedNear&&{left:ge,right:be,width:de},b===j.customNear&&{right:"auto",left:0},C&&{maxWidth:"100vw"},p&&l&&!d&&I.a.slideRightIn40,p&&l&&d&&I.a.slideLeftIn40,!p&&l&&!d&&I.a.slideLeftOut40,!p&&l&&d&&I.a.slideRightOut40,r],commands:[y.commands],navigation:[y.navigation,{padding:"0 5px",height:"44px",display:"flex",justifyContent:"flex-end"}],closeButton:[y.closeButton],contentInner:[y.contentInner,{display:"flex",flexDirection:"column",flexGrow:1,overflowY:"hidden"}],header:[y.header,Se,{margin:"14px 0",flexShrink:0,selectors:(o={},o["@media (min-width: "+I.n+"px)"]={marginTop:"30px"},o)}],headerText:[y.headerText,_.xLarge,{color:g.neutralPrimary,lineHeight:"27px",margin:0,overflowWrap:"break-word",wordWrap:"break-word",wordBreak:"break-word",hyphens:"auto"},a],scrollableContent:[y.scrollableContent,{overflowY:"auto"},u&&{flexGrow:1}],content:[y.content,Se,{marginBottom:0,paddingBottom:20}],footer:[y.footer,{flexShrink:0,borderTop:"1px solid transparent",transition:"opacity "+I.b.durationValue3+" "+I.b.easeFunction2},c&&{background:g.white,borderTopColor:g.neutralLight}],footerInner:[y.footerInner,Se,{paddingBottom:16,paddingTop:16}]}},void 0,{scope:"Panel"}),Me=o(80);function De(e,t){for(var o=[],n=0,r=t;n<r.length;n++){var i=e[r[n]];i&&o.push(i)}return o}var Te,Pe,Be,Ne=Object(a.a)(),Fe=function(e){function t(t){var o,r=e.call(this,t)||this;if(r._host=s.createRef(),r._focusZone=s.createRef(),r._dropDown=s.createRef(),r._scrollIdleDelay=250,r._sizePosCache=new A,r._requestAnimationFrame=c(r),r._onChange=function(e,t,o,n,s){var a=r.props,l=a.onChange,c=a.onChanged;if(l){var u=s?i.a({},t[o],{selected:!n}):t[o];l(i.a({},e,{target:r._dropDown.current}),u,o)}c&&c(u=s?i.a({},t[o],{selected:!n}):t[o],o)},r._onRenderTitle=function(e){var t=r.props.multiSelectDelimiter,o=void 0===t?", ":t,n=e.map(function(e){return e.text}).join(o);return s.createElement("span",null,n)},r._onRenderPlaceholder=function(e){return r._placeholder?s.createElement("span",null,r._placeholder):null},r._onRenderContainer=function(e){var t=e.calloutProps,o=e.panelProps,n=r.props,a=n.responsiveMode,l=n.dropdownWidth,c=a<=Me.a.medium,u=r._classNames.subComponentStyles?r._classNames.subComponentStyles.panel:void 0;return c?s.createElement(Oe,i.a({isOpen:!0,isLightDismiss:!0,onDismiss:r._onDismiss,hasCloseButton:!1,styles:u},o),r._renderFocusableList(e)):s.createElement(y.a,i.a({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHintFixed:!1,directionalHint:R.a.bottomLeftEdge},t,{className:r._classNames.callout,target:r._dropDown.current,onDismiss:r._onDismiss,onScroll:r._onScroll,onPositioned:r._onPositioned,calloutWidth:l||(r._dropDown.current?r._dropDown.current.clientWidth:0)}),r._renderFocusableList(e))},r._onRenderCaretDown=function(e){return s.createElement(C.a,{className:r._classNames.caretDown,iconName:"ChevronDown","aria-hidden":!0})},r._onRenderList=function(e){var t=e.onRenderItem,o=void 0===t?r._onRenderItem:t;return s.createElement(s.Fragment,null,e.options.map(function(e,t){return o(i.a({},e,{index:t}),r._onRenderItem)}))},r._onRenderItem=function(e){switch(e.itemType){case n.Divider:return r._renderSeparator(e);case n.Header:return r._renderHeader(e);default:return r._renderOption(e)}},r._renderOption=function(e){var t=r.props.onRenderOption,o=void 0===t?r._onRenderOption:t,n=r.state.selectedIndices,i=void 0===n?[]:n,a=r._id,l=!(void 0===e.index||!i)&&i.indexOf(e.index)>-1,c=e.hidden?r._classNames.dropdownItemHidden:l&&!0===e.disabled?r._classNames.dropdownItemSelectedAndDisabled:l?r._classNames.dropdownItemSelected:!0===e.disabled?r._classNames.dropdownItemDisabled:r._classNames.dropdownItem,u=e.title,d=void 0===u?e.text:u;return r.props.multiSelect?s.createElement(O,{id:a+"-list"+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,onChange:r._onItemClick(e),inputProps:{onMouseEnter:r._onItemMouseEnter.bind(r,e),onMouseLeave:r._onMouseItemLeave.bind(r,e),onMouseMove:r._onItemMouseMove.bind(r,e)},label:e.text,title:e.title?e.title:e.text,onRenderLabel:r._onRenderItemLabel.bind(r,e),className:c,role:"option","aria-selected":l?"true":"false",checked:l}):s.createElement(F,{id:a+"-list"+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:c,onClick:r._onItemClick(e),onMouseEnter:r._onItemMouseEnter.bind(r,e),onMouseLeave:r._onMouseItemLeave.bind(r,e),onMouseMove:r._onItemMouseMove.bind(r,e),role:"option","aria-selected":l?"true":"false",ariaLabel:e.ariaLabel,title:d},o(e,r._onRenderOption))},r._onRenderOption=function(e){return s.createElement("span",{className:r._classNames.dropdownOptionText},e.text)},r._onRenderItemLabel=function(e){var t=r.props.onRenderOption;return(void 0===t?r._onRenderOption:t)(e,r._onRenderOption)},r._onPositioned=function(e){r._focusZone.current&&r._requestAnimationFrame(function(){var e=r.state.selectedIndices;if(r._focusZone.current)if(e&&e[0]&&!r.props.options[e[0]].disabled){var t=Object(u.a)().querySelector("#"+r._id+"-list"+e[0]);r._focusZone.current.focusElement(t)}else r._focusZone.current.focus()}),r.state.calloutRenderEdge&&r.state.calloutRenderEdge===e.targetEdge||r.setState({calloutRenderEdge:e.targetEdge})},r._onItemClick=function(e){return function(t){e.disabled||(r.setSelectedIndex(t,e.index),r.props.multiSelect||r.setState({isOpen:!1}))}},r._onScroll=function(){r._isScrollIdle||void 0===r._scrollIdleTimeoutId?r._isScrollIdle=!1:(clearTimeout(r._scrollIdleTimeoutId),r._scrollIdleTimeoutId=void 0),r._scrollIdleTimeoutId=setTimeout(function(){r._isScrollIdle=!0},r._scrollIdleDelay)},r._onMouseItemLeave=function(e,t){if(!r._shouldIgnoreMouseEvent()&&r._host.current)if(r._host.current.setActive)try{r._host.current.setActive()}catch(o){}else r._host.current.focus()},r._onDismiss=function(){r.setState({isOpen:!1}),r._dropDown.current&&r._dropDown.current.focus()},r._onDropdownBlur=function(e){r._isDisabled()||(r.setState({hasFocus:!1}),r.state.isOpen||r.props.onBlur&&r.props.onBlur(e))},r._onDropdownKeyDown=function(e){if(!r._isDisabled()&&(r._lastKeyDownWasAltOrMeta=r._isAltOrMeta(e),!r.props.onKeyDown||(r.props.onKeyDown(e),!e.defaultPrevented))){var t,o=r.state.selectedIndices.length?r.state.selectedIndices[0]:-1,n=e.altKey||e.metaKey,i=r.state.isOpen;switch(e.which){case d.a.enter:r.setState({isOpen:!i});break;case d.a.escape:if(!i)return;r.setState({isOpen:!1});break;case d.a.up:if(n){if(i){r.setState({isOpen:!1});break}return}r.props.multiSelect?r.setState({isOpen:!0}):r._isDisabled()||(t=r._moveIndex(e,-1,o-1,o));break;case d.a.down:n&&(e.stopPropagation(),e.preventDefault()),n&&!i||r.props.multiSelect?r.setState({isOpen:!0}):r._isDisabled()||(t=r._moveIndex(e,1,o+1,o));break;case d.a.home:r.props.multiSelect||(t=r._moveIndex(e,1,0,o));break;case d.a.end:r.props.multiSelect||(t=r._moveIndex(e,-1,r.props.options.length-1,o));break;case d.a.space:break;default:return}t!==o&&(e.stopPropagation(),e.preventDefault())}},r._onDropdownKeyUp=function(e){if(!r._isDisabled()){var t=r._shouldHandleKeyUp(e),o=r.state.isOpen;if(!r.props.onKeyUp||(r.props.onKeyUp(e),!e.preventDefault)){switch(e.which){case d.a.space:r.setState({isOpen:!o});break;default:return void(t&&o&&r.setState({isOpen:!1}))}e.stopPropagation(),e.preventDefault()}}},r._onZoneKeyDown=function(e){var t;r._lastKeyDownWasAltOrMeta=r._isAltOrMeta(e);var o=e.altKey||e.metaKey;switch(e.which){case d.a.up:o?r.setState({isOpen:!1}):r._host.current&&(t=Object(p.h)(r._host.current,r._host.current.lastChild,!0));break;case d.a.home:case d.a.end:case d.a.pageUp:case d.a.pageDown:break;case d.a.down:!o&&r._host.current&&(t=Object(p.e)(r._host.current,r._host.current.firstChild,!0));break;case d.a.escape:r.setState({isOpen:!1});break;case d.a.tab:return void r.setState({isOpen:!1});default:return}t&&t.focus(),e.stopPropagation(),e.preventDefault()},r._onZoneKeyUp=function(e){r._shouldHandleKeyUp(e)&&r.state.isOpen&&(r.setState({isOpen:!1}),e.preventDefault())},r._onDropdownClick=function(e){if(!r.props.onClick||(r.props.onClick(e),!e.preventDefault)){var t=r.state.isOpen;r._isDisabled()||r.setState({isOpen:!t})}},r._onFocus=function(e){var t=r.state,o=t.isOpen,n=t.selectedIndices,i=t.hasFocus,s=r.props,a=s.multiSelect,l=s.openOnKeyboardFocus;if(!r._isDisabled()){o||0!==n.length||a||r._moveIndex(e,1,0,-1),r.props.onFocus&&r.props.onFocus(e);var c={hasFocus:!0};l&&!i&&(c.isOpen=!0),r.setState(c)}},r._isDisabled=function(){var e=r.props.disabled,t=r.props.isDisabled;return void 0!==t&&(e=t),e},r._onRenderLabel=function(e){var t=r._id,o=e.label,n=e.required,i=e.disabled,a=r._classNames.subComponentStyles?r._classNames.subComponentStyles.label:void 0;return o?s.createElement(H.a,{className:r._classNames.label,id:t+"-label",htmlFor:t,required:n,styles:a,disabled:i},o):null},Object(h.a)(r),r._id=t.id||Object(m.c)("Dropdown"),r._isScrollIdle=!0,r.props.multiSelect){var a=void 0!==t.defaultSelectedKeys?t.defaultSelectedKeys:t.selectedKeys;o=r._getSelectedIndexes(t.options,a)}else{var l=void 0!==t.defaultSelectedKey?t.defaultSelectedKey:t.selectedKey;o=r._getSelectedIndexes(t.options,l),r._sizePosCache.updateOptions(t.options)}return r.state={isOpen:!1,selectedIndices:o,hasFocus:!1,calloutRenderEdge:void 0},r}return i.c(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){return De(this.props.options,this.state.selectedIndices)},enumerable:!0,configurable:!0}),t.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){var t,o=e.options!==this.props.options;void 0===e[t=e.multiSelect?o&&void 0!==e.defaultSelectedKeys?"defaultSelectedKeys":"selectedKeys":o&&void 0!==e.defaultSelectedKey?"defaultSelectedKey":"selectedKey"]||e[t]===this.props[t]&&!o||this.setState({selectedIndices:this._getSelectedIndexes(e.options,e[t])}),e.options===this.props.options||e.multiSelect||this._sizePosCache.updateOptions(e.options)},t.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this._dropDown.current&&this._dropDown.current.focus(),this.props.onDismiss&&this.props.onDismiss())},t.prototype.render=function(){var e=this,t=this._id,o=this.props,n=o.className,r=o.label,a=o.options,l=o.ariaLabel,c=o.required,u=o.errorMessage,d=o.multiSelect,p=o.keytipProps,h=o.styles,m=o.theme,g=o.panelProps,v=o.calloutProps,_=o.onRenderTitle,y=void 0===_?this._onRenderTitle:_,C=o.onRenderContainer,k=void 0===C?this._onRenderContainer:C,E=o.onRenderCaretDown,I=void 0===E?this._onRenderCaretDown:E,w=o.onRenderLabel,S=void 0===w?this._onRenderLabel:w,O=this.state,M=O.isOpen,D=O.selectedIndices,T=O.hasFocus,P=O.calloutRenderEdge,B=o.onRenderPlaceholder||o.onRenderPlaceHolder||this._onRenderPlaceholder,N=De(a,D),F=Object(f.d)(o,f.c),R=this._isDisabled(),j=t+"-option",A=d||R?{role:void 0,ariaActiveDescendant:void 0,childRole:void 0,ariaSetSize:void 0,ariaPosInSet:void 0,ariaSelected:void 0}:{role:"listbox",ariaActiveDescendant:M&&1===D.length&&D[0]>=0?this._id+"-list"+D[0]:j,childRole:"option",ariaSetSize:this._sizePosCache.optionSetSize,ariaPosInSet:this._sizePosCache.positionInSet(D[0]),ariaSelected:void 0!==D[0]||void 0};return this._classNames=Ne(h,{theme:m,className:n,hasError:!!(u&&u.length>0),hasLabel:!!r,isOpen:M,required:c,disabled:R,isRenderingPlaceholder:!N.length,panelClassName:g?g.className:void 0,calloutClassName:v?v.className:void 0,calloutRenderEdge:P}),s.createElement("div",{className:this._classNames.root},S(this.props,this._onRenderLabel),s.createElement(x.a,{keytipProps:p,disabled:R},function(n){return s.createElement("div",i.a({},n,{"data-is-focusable":!R,ref:e._dropDown,id:t,tabIndex:R?-1:0,"aria-expanded":M?"true":"false",role:A.role,"aria-label":l,"aria-labelledby":r&&!l?t+"-label":void 0,"aria-describedby":Object(b.a)(j,n["aria-describedby"]),"aria-activedescendant":M?A.ariaActiveDescendant:void 0,"aria-required":c,"aria-disabled":R,"aria-owns":M?t+"-list":void 0},F,{className:e._classNames.dropdown,onBlur:e._onDropdownBlur,onKeyDown:e._onDropdownKeyDown,onKeyUp:e._onDropdownKeyUp,onClick:e._onDropdownClick,onFocus:e._onFocus}),s.createElement("span",{id:j,className:e._classNames.title,"aria-atomic":!0,role:A.childRole,"aria-live":!T||R||d||M?"off":"assertive","aria-label":N.length?N[0].text:e._placeholder,"aria-setsize":A.ariaSetSize,"aria-posinset":A.ariaPosInSet,"aria-selected":A.ariaSelected},N.length?y(N,e._onRenderTitle):B(o,e._onRenderPlaceholder)),s.createElement("span",{className:e._classNames.caretDownWrapper},I(o,e._onRenderCaretDown)))}),M&&k(o,this._onRenderContainer),u&&u.length>0&&s.createElement("div",{className:this._classNames.errorMessage},u))},t.prototype.focus=function(e){this._dropDown.current&&-1!==this._dropDown.current.tabIndex&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},t.prototype.setSelectedIndex=function(e,t){var o=this,n=this.props,r=n.options,i=n.selectedKey,s=n.selectedKeys,a=n.multiSelect,l=n.notifyOnReselect,c=this.state.selectedIndices,u=void 0===c?[]:c,d=!!u&&u.indexOf(t)>-1,p=[];if(t=Math.max(0,Math.min(r.length-1,t)),void 0===i&&void 0===s){if(a||l||t!==u[0]){if(a)if(p=u?this._copyArray(u):[],d){var h=p.indexOf(t);h>-1&&p.splice(h,1)}else p.push(t);else p=[t];e.persist(),this.setState({selectedIndices:p},function(){o._onChange(e,r,t,d,a)})}}else this._onChange(e,r,t,d,a)},Object.defineProperty(t.prototype,"_placeholder",{get:function(){return this.props.placeholder||this.props.placeHolder},enumerable:!0,configurable:!0}),t.prototype._copyArray=function(e){for(var t=[],o=0,n=e;o<n.length;o++){var r=n[o];t.push(r)}return t},t.prototype._moveIndex=function(e,t,o,r){var i=this.props.options;if(r===o||0===i.length)return r;o<0&&(o=0),o>=i.length&&(o=i.length-1);for(var s=0;i[o].itemType===n.Header||i[o].itemType===n.Divider||i[o].disabled;){if(s>=i.length)return r;o+t<0?o=i.length:o+t>=i.length&&(o=-1),o+=t,s++}return this.setSelectedIndex(e,o),o},t.prototype._renderFocusableList=function(e){var t=e.onRenderList,o=void 0===t?this._onRenderList:t,n=e.label,r=e.ariaLabel,i=this._id;return s.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},s.createElement(z.a,{ref:this._focusZone,direction:L.a.vertical,id:i+"-list",className:this._classNames.dropdownItems,"aria-label":r,"aria-labelledby":n&&!r?i+"-label":void 0,role:"listbox"},o(e,this._onRenderList)))},t.prototype._renderSeparator=function(e){var t=e.index,o=e.key;return t>0?s.createElement("div",{role:"separator",key:o,className:this._classNames.dropdownDivider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,o=void 0===t?this._onRenderOption:t,n=e.key;return s.createElement("div",{key:n,className:this._classNames.dropdownItemHeader},o(e,this._onRenderOption))},t.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},t.prototype._onItemMouseMove=function(e,t){var o=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&document.activeElement!==o&&o.focus()},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._getSelectedIndexes=function(e,t){if(void 0===t)return this.props.multiSelect?this._getAllSelectedIndices(e):-1!==(i=this._getSelectedIndex(e,null))?[i]:[];if(!Array.isArray(t))return-1!==(i=this._getSelectedIndex(e,t))?[i]:[];for(var o=[],n=0,r=t;n<r.length;n++){var i,s=r[n];-1!==(i=this._getSelectedIndex(e,s))&&o.push(i)}return o},t.prototype._getAllSelectedIndices=function(e){return e.map(function(e,t){return e.selected?t:-1}).filter(function(e){return-1!==e})},t.prototype._getSelectedIndex=function(e,t){return Object(g.d)(e,function(e){return null!=t?e.key===t:!!e.isSelected||!!e.selected})},t.prototype._isAltOrMeta=function(e){return e.which===d.a.alt||"Meta"===e.key},t.prototype._shouldHandleKeyUp=function(e){var t=this._lastKeyDownWasAltOrMeta&&this._isAltOrMeta(e);return this._lastKeyDownWasAltOrMeta=!1,!!t&&!(Object(v.a)()||Object(_.a)())},t.defaultProps={options:[]},t=i.b([Me.b],t)}(s.Component),Re=o(95),je={root:"ms-Dropdown-container",label:"ms-Dropdown-label",dropdown:"ms-Dropdown",title:"ms-Dropdown-title",caretDownWrapper:"ms-Dropdown-caretDownWrapper",caretDown:"ms-Dropdown-caretDown",callout:"ms-Dropdown-callout",panel:"ms-Dropdown-panel",dropdownItems:"ms-Dropdown-items",dropdownItem:"ms-Dropdown-item",dropdownDivider:"ms-Dropdown-divider",dropdownOptionText:"ms-Dropdown-optionText",dropdownItemHeader:"ms-Dropdown-header",titleIsPlaceHolder:"ms-Dropdown-titleIsPlaceHolder",titleHasError:"ms-Dropdown-title--hasError"},Ae=((Te={})[I.d+", "+I.f.replace("@media ","")]={MsHighContrastAdjust:"none"},Te),ze={selectors:i.a((Pe={},Pe[I.d]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",selectors:{":hover":{color:"HighlightText"}}},Pe),Ae)},Le={selectors:(Be={},Be[I.d]={borderColor:"Highlight"},Be)},He=Object(I.x)(0,I.l);o.d(t,"a",function(){return We});var We=Object(r.a)(Fe,function(e){var t,o,n,r,s,a,l,c=e.theme,u=e.hasError,d=e.hasLabel,p=e.className,h=e.isOpen,m=e.disabled,f=e.required,b=e.isRenderingPlaceholder,g=e.panelClassName,v=e.calloutClassName,_=e.calloutRenderEdge;if(!c)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var y=Object(I.u)(je,c),C=c.palette,x=c.semanticColors,k=c.effects,E=c.fonts,S={color:x.menuItemTextHovered},O={color:C.neutralPrimary},M={borderColor:x.errorText},D=[y.dropdownItem,{backgroundColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:"flex",alignItems:"center",padding:"0 8px",width:"100%",minHeight:36,lineHeight:20,height:"auto",position:"relative",border:"1px solid transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left"}],T=function(e){var t;return void 0===e&&(e=!1),{selectors:(t={"&:hover:focus":{color:C.neutralDark,backgroundColor:e?C.neutralLight:C.neutralLighter},"&:focus":{backgroundColor:e?C.neutralLight:"transparent"},"&:active":{color:C.neutralDark,backgroundColor:e?C.neutralLight:C.neutralLighter}},t[I.d]={borderColor:"Window"},t["."+w.a+" &:focus:after"]={left:0,top:0,bottom:0,right:0},t)}},P=D.concat([{backgroundColor:C.neutralLight,color:C.neutralDark},T(!0),ze]),B=D.concat([{color:x.disabledText,cursor:"default"}]),N=_===Re.a.bottom?k.roundedCorner2+" "+k.roundedCorner2+" 0 0":"0 0 "+k.roundedCorner2+" "+k.roundedCorner2,F=_===Re.a.bottom?"0 0 "+k.roundedCorner2+" "+k.roundedCorner2:k.roundedCorner2+" "+k.roundedCorner2+" 0 0";return{root:[y.root,p],label:y.label,dropdown:[y.dropdown,I.E,E.medium,{color:C.neutralPrimary,borderColor:C.neutralSecondary,position:"relative",outline:0,userSelect:"none",selectors:(t={},t["&:hover ."+y.title]=[!m&&S,{borderColor:h?C.themePrimary:C.neutralPrimary},Le],t["&:focus ."+y.title]=[!m&&S,{borderColor:C.themePrimary},ze],t["&:active ."+y.title]=[!m&&S,{borderColor:C.themePrimary},Le],t["&:hover ."+y.caretDown]=!m&&O,t["&:focus ."+y.caretDown]=[!m&&O,{selectors:i.a((o={},o[I.d]={color:"HighlightText"},o),Ae)}],t["&:active ."+y.caretDown]=!m&&O,t["&:hover ."+y.titleIsPlaceHolder]=!m&&O,t["&:focus ."+y.titleIsPlaceHolder]=!m&&O,t["&:active ."+y.titleIsPlaceHolder]=!m&&O,t["&:hover ."+y.titleHasError]=M,t["&:active ."+y.titleHasError]=M,t["&:focus ."+y.titleHasError]=M,t)},h&&"is-open",m&&"is-disabled",f&&"is-required",f&&!d&&{selectors:(n={":after":{content:"'*'",color:x.errorText,position:"absolute",top:-5,right:-10}},n[I.d]={selectors:{":after":{right:-14}}},n)}],title:[y.title,I.E,{backgroundColor:x.inputBackground,borderWidth:1,borderStyle:"solid",borderColor:x.inputBorder,borderRadius:h?N:k.roundedCorner2,cursor:"pointer",display:"block",height:32,lineHeight:30,padding:"0 28px 0 8px",position:"relative",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},b&&[y.titleIsPlaceHolder,{color:x.inputPlaceholderText}],u&&[y.titleHasError,M],m&&{backgroundColor:x.disabledBackground,border:"none",color:x.disabledText,cursor:"default",selectors:(r={},r[I.d]={border:"1px solid GrayText",color:"GrayText"},r)}],caretDownWrapper:[y.caretDownWrapper,{position:"absolute",top:1,right:8,height:32,lineHeight:30},!m&&{cursor:"pointer"}],caretDown:[y.caretDown,{color:C.neutralSecondary,fontSize:E.small.fontSize,pointerEvents:"none"},m&&{color:x.disabledText,selectors:(s={},s[I.d]={color:"GrayText"},s)}],errorMessage:i.a({color:x.errorText},c.fonts.small,{paddingTop:5}),callout:[y.callout,{boxShadow:k.elevation8,borderRadius:F,selectors:(a={},a[".ms-Callout-main"]={borderRadius:F},a)},v],dropdownItemsWrapper:{selectors:{"&:focus":{outline:0}}},dropdownItems:[y.dropdownItems,{display:"block"}],dropdownItem:D.concat([T()]),dropdownItemSelected:P,dropdownItemDisabled:B,dropdownItemSelectedAndDisabled:[P,B,{backgroundColor:"transparent"}],dropdownItemHidden:D.concat([{display:"none"}]),dropdownDivider:[y.dropdownDivider,{height:1,backgroundColor:x.bodyDivider}],dropdownOptionText:[y.dropdownOptionText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:0,maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",margin:"1px"}],dropdownItemHeader:[y.dropdownItemHeader,i.a({},E.medium,{fontWeight:I.c.semibold,color:x.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left"})],subComponentStyles:{label:{root:{display:"inline-block"}},panel:{root:[g],main:{selectors:(l={},l[He]={width:272},l)},contentInner:{padding:"0 0 20px"}}}}},void 0,{scope:"Dropdown"})},function(e,t,o){"use strict";var n,r=o(124),i=o(2),s=o(0),a=o(125),l=o(152),c=o(122),u=o(143),d=o(155),p=o(91),h=o(148),m=o(150),f=o(151),b=o(61);!function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(n||(n={}));var g=function(e){void 0===e&&(e=function(){var e={};return{getCachedMeasurement:function(t){if(t&&t.cacheKey&&e.hasOwnProperty(t.cacheKey))return e[t.cacheKey]},addMeasurementToCache:function(t,o){t.cacheKey&&(e[t.cacheKey]=o)}}}());var t,o=e;function n(e,t){var n=o.getCachedMeasurement(e);if(void 0!==n)return n;var r=t();return o.addMeasurementToCache(e,r),r}function r(e,r,i){for(var s=e,a=n(e,i);a>t;){var l=r(s);if(void 0===l)return{renderedData:s,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(a=o.getCachedMeasurement(l)))return{dataToMeasure:l,resizeDirection:"shrink"};s=l}return{renderedData:s,resizeDirection:void 0,dataToMeasure:void 0}}return{getNextState:function(e,s,a,l){if(void 0!==l||void 0!==s.dataToMeasure){if(l){if(t&&s.renderedData&&!s.dataToMeasure)return i.a({},s,function(e,o,n,r){var s;return s=e>t?r?{resizeDirection:"grow",dataToMeasure:r(n)}:{resizeDirection:"shrink",dataToMeasure:o}:{resizeDirection:"shrink",dataToMeasure:n},t=e,i.a({},s,{measureContainer:!1})}(l,e.data,s.renderedData,e.onGrowData));t=l}var c=i.a({},s,{measureContainer:!1});return s.dataToMeasure&&(c="grow"===s.resizeDirection&&e.onGrowData?i.a({},c,function(e,s,a,l){for(var c=e,u=n(e,a);u<t;){var d=s(c);if(void 0===d)return{renderedData:c,resizeDirection:void 0,dataToMeasure:void 0};if(void 0===(u=o.getCachedMeasurement(d)))return{dataToMeasure:d};c=d}return i.a({resizeDirection:"shrink"},r(c,l,a))}(s.dataToMeasure,e.onGrowData,a,e.onReduceData)):i.a({},c,r(s.dataToMeasure,e.onReduceData,a))),c}},shouldRenderDataForMeasurement:function(e){return!(!e||void 0!==o.getCachedMeasurement(e))},getInitialResizeGroupState:function(e){return{dataToMeasure:i.a({},e),resizeDirection:"grow",measureContainer:!0}}}},v=s.createContext({isMeasured:!1}),_={position:"fixed",visibility:"hidden"},y={position:"relative"},C=function(e){function t(t){var o=e.call(this,t)||this;return o._nextResizeGroupStateProvider=g(),o._root=s.createRef(),o._initialHiddenDiv=s.createRef(),o._updateHiddenDiv=s.createRef(),o._hasRenderedContent=!1,o.state=o._nextResizeGroupStateProvider.getInitialResizeGroupState(o.props.data),o._warnDeprecations({styles:"className"}),o}return i.c(t,e),t.prototype.render=function(){var e=this.props,t=e.className,o=e.onRenderData,n=this.state,r=n.dataToMeasure,a=n.renderedData,l=Object(c.d)(this.props,c.c,["data"]),u=this._nextResizeGroupStateProvider.shouldRenderDataForMeasurement(r),d=!this._hasRenderedContent&&u;return s.createElement("div",i.a({},l,{className:t,ref:this._root}),s.createElement("div",{style:y},u&&!d&&s.createElement("div",{style:_,ref:this._updateHiddenDiv},s.createElement(v.Provider,{value:{isMeasured:!0}},o(r))),s.createElement("div",{ref:this._initialHiddenDiv,style:d?_:void 0,"data-automation-id":"visibleContent"},d?o(r):a&&o(a))))},t.prototype.componentDidMount=function(){this._afterComponentRendered(this.props.direction),this._events.on(window,"resize",this._async.debounce(this._onResize,16,{leading:!0}))},t.prototype.UNSAFE_componentWillReceiveProps=function(e){this.setState({dataToMeasure:i.a({},e.data),resizeDirection:"grow",measureContainer:!0})},t.prototype.componentDidUpdate=function(e){this.state.renderedData&&(this._hasRenderedContent=!0,this.props.dataDidRender&&this.props.dataDidRender(this.state.renderedData)),this._afterComponentRendered(this.props.direction)},t.prototype.remeasure=function(){this._root.current&&this.setState({measureContainer:!0})},t.prototype._afterComponentRendered=function(e){var t=this;this._async.requestAnimationFrame(function(){var o=void 0;if(t.state.measureContainer&&t._root.current){var r=t._root.current.getBoundingClientRect();o=e&&e===n.vertical?r.height:r.width}var i=t._nextResizeGroupStateProvider.getNextState(t.props,t.state,function(){var o=t._hasRenderedContent?t._updateHiddenDiv:t._initialHiddenDiv;return o.current?e&&e===n.vertical?o.current.scrollHeight:o.current.scrollWidth:0},o);i&&t.setState(i)})},t.prototype._onResize=function(){this._root.current&&this.setState({measureContainer:!0})},t}(u.a);var x,k=o(133),E=o(12),I=o(126),w=o(90),S=o(73);!function(e){e[e.Parent=0]="Parent",e[e.Self=1]="Self"}(x||(x={}));var O,M=o(140),D=Object(a.a)(),T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onRenderContent=function(e){return s.createElement("p",{className:t._classNames.subText},e.content)},t}return i.c(t,e),t.prototype.render=function(){var e=this.props,t=e.className,o=e.calloutProps,n=e.directionalHint,r=e.directionalHintForRTL,a=e.styles,l=e.id,u=e.maxWidth,d=e.onRenderContent,p=void 0===d?this._onRenderContent:d,h=e.targetElement,m=e.theme;return this._classNames=D(a,{theme:m,className:t||o&&o.className,beakWidth:o&&o.beakWidth,gapSpace:o&&o.gapSpace,maxWidth:u}),s.createElement(M.a,i.a({target:h,directionalHint:n,directionalHintForRTL:r},o,Object(c.d)(this.props,c.c,["id"]),{className:this._classNames.root}),s.createElement("div",{className:this._classNames.content,id:l,role:"tooltip",onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},p(this.props,this._onRenderContent)))},t.defaultProps={directionalHint:b.a.topCenter,maxWidth:"364px",calloutProps:{isBeakVisible:!0,beakWidth:16,gapSpace:0,setInitialFocus:!0,doNotLayer:!1}},t}(s.Component),P=o(1),B=Object(r.a)(T,function(e){var t=e.className,o=e.beakWidth,n=void 0===o?16:o,r=e.gapSpace,i=void 0===r?0:r,s=e.maxWidth,a=e.theme,l=a.palette,c=a.fonts,u=a.effects,d=-(Math.sqrt(n*n/2)+i);return{root:["ms-Tooltip",a.fonts.medium,P.a.fadeIn200,{background:l.white,boxShadow:u.elevation8,padding:"8px",maxWidth:s,selectors:{":after":{content:"",position:"absolute",bottom:d,left:d,right:d,top:d}}},t],content:["ms-Tooltip-content",c.small,{color:l.neutralPrimary,wordWrap:"break-word",overflowWrap:"break-word",overflow:"hidden"}],subText:["ms-Tooltip-subtext",{fontSize:"inherit",fontWeight:"inherit",color:"inherit",margin:0}]}},void 0,{scope:"Tooltip"});!function(e){e[e.zero=0]="zero",e[e.medium=1]="medium",e[e.long=2]="long"}(O||(O={}));var N=Object(a.a)(),F=function(e){function t(o){var n=e.call(this,o)||this;return n._tooltipHost=s.createRef(),n.show=function(){n._toggleTooltip(!0)},n.dismiss=function(){n._hideTooltip()},n._getTargetElement=function(){if(n._tooltipHost.current){var e=n.props.overflowMode;if(void 0!==e)switch(e){case x.Parent:return n._tooltipHost.current.parentElement;case x.Self:return n._tooltipHost.current}return n._tooltipHost.current}},n._onTooltipMouseEnter=function(e){var o,r=n.props,i=r.overflowMode,s=r.delay;if(t._currentVisibleTooltip&&t._currentVisibleTooltip!==n&&t._currentVisibleTooltip.dismiss(),t._currentVisibleTooltip=n,void 0!==i){var a=n._getTargetElement();if(a&&(!function(e){return e.clientWidth<e.scrollWidth}(o=a)&&!function(e){return e.clientHeight<e.scrollHeight}(o)))return}if(!e.target||!Object(k.a)(e.target,n._getTargetElement()))if(n._clearDismissTimer(),n._clearOpenTimer(),s!==O.zero){var l=n._getDelayTime(s);n._openTimerId=n._async.setTimeout(function(){n._toggleTooltip(!0)},l)}else n._toggleTooltip(!0)},n._onTooltipMouseLeave=function(e){var o=n.props.closeDelay;n._clearDismissTimer(),n._clearOpenTimer(),o?n._dismissTimerId=n._async.setTimeout(function(){n._toggleTooltip(!1)},o):n._toggleTooltip(!1),t._currentVisibleTooltip===n&&(t._currentVisibleTooltip=void 0)},n._onTooltipKeyDown=function(e){e.which===E.a.escape&&n._hideTooltip()},n._clearDismissTimer=function(){n._async.clearTimeout(n._dismissTimerId)},n._clearOpenTimer=function(){n._async.clearTimeout(n._openTimerId)},n._hideTooltip=function(){n._toggleTooltip(!1)},n._toggleTooltip=function(e){n.state.isTooltipVisible!==e&&n.setState({isTooltipVisible:e},function(){return n.props.onTooltipToggle&&n.props.onTooltipToggle(n.state.isTooltipVisible)})},n._getDelayTime=function(e){switch(e){case O.medium:return 300;case O.long:return 500;default:return 0}},Object(I.a)(n),n.state={isTooltipVisible:!1},n._async=new w.a(n),n}return i.c(t,e),t.prototype.render=function(){var e=this.props,t=e.calloutProps,o=e.children,n=e.content,r=e.directionalHint,a=e.directionalHintForRTL,l=e.hostClassName,u=e.id,d=e.setAriaDescribedBy,p=void 0===d||d,h=e.tooltipProps,m=e.styles,f=e.theme;this._classNames=N(m,{theme:f,className:l});var b=this.state.isTooltipVisible,g=u||Object(S.c)("tooltip"),v=!!(n||h&&h.onRenderContent&&h.onRenderContent()),_=b&&v,y=p&&b&&v?g:void 0;return s.createElement("div",i.a({className:this._classNames.root,ref:this._tooltipHost},{onFocusCapture:this._onTooltipMouseEnter},{onBlurCapture:this._hideTooltip},{onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave,onKeyDown:this._onTooltipKeyDown,"aria-describedby":y}),o,_&&s.createElement(B,i.a({id:g,content:n,targetElement:this._getTargetElement(),directionalHint:r,directionalHintForRTL:a,calloutProps:Object(S.a)({},t,{onDismiss:this._hideTooltip,onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave}),onMouseEnter:this._onTooltipMouseEnter,onMouseLeave:this._onTooltipMouseLeave,onWheel:this._hideTooltip},Object(c.d)(this.props,c.c),h)))},t.prototype.componentWillUnmount=function(){t._currentVisibleTooltip&&t._currentVisibleTooltip===this&&(t._currentVisibleTooltip=void 0),this._async.dispose()},t.defaultProps={delay:O.medium},t}(s.Component),R={root:"ms-TooltipHost"},j=Object(r.a)(F,function(e){var t=e.className,o=e.theme;return{root:[Object(P.u)(R,o).root,{display:"inline"},t]}},void 0,{scope:"TooltipHost"}),A=Object(a.a)(),z="overflow",L=function(){return null},H=function(e){function t(t){var o=e.call(this,t)||this;return o._focusZone=s.createRef(),o._onReduceData=function(e){var t=e.renderedItems,o=e.renderedOverflowItems,n=e.props.overflowIndex,r=t[n];if((t=t.slice()).splice(n,1),o=o.concat([r]),void 0!==r)return i.a({},e,{renderedItems:t,renderedOverflowItems:o})},o._onRenderBreadcrumb=function(e){var t=e.props,n=t.ariaLabel,r=t.dividerAs,a=void 0===r?m.a:r,u=t.onRenderItem,h=void 0===u?o._onRenderItem:u,g=t.overflowAriaLabel,v=t.overflowIndex,_=e.renderedOverflowItems,y=e.renderedItems,C=_.map(function(e,t){return{name:e.text,key:e.key,onClick:e.onClick?o._onBreadcrumbClicked.bind(o,e):null,href:e.href}}),x=y.length-1,k=_&&0!==_.length,E=y.map(function(e,t){return s.createElement("li",{className:o._classNames.listItem,key:e.key||String(t)},h(e,o._onRenderItem),(t!==x||k&&t===v-1)&&s.createElement(a,{className:o._classNames.chevron,iconName:Object(l.a)()?"ChevronLeft":"ChevronRight",item:e}))});k&&E.splice(v,0,s.createElement("li",{className:o._classNames.overflow,key:z},s.createElement(f.a,{className:o._classNames.overflowButton,iconProps:{iconName:"More"},role:"button","aria-haspopup":"true",ariaLabel:g,onRenderMenuIcon:L,menuProps:{items:C,directionalHint:b.a.bottomLeftEdge}}),v!==x+1&&s.createElement(a,{className:o._classNames.chevron,iconName:Object(l.a)()?"ChevronLeft":"ChevronRight",item:_[_.length-1]})));var I=Object(c.d)(o.props,c.e,["className"]);return s.createElement("div",i.a({className:o._classNames.root,role:"navigation","aria-label":n},I),s.createElement(d.a,i.a({componentRef:o._focusZone,direction:p.a.horizontal},o.props.focusZoneProps),s.createElement("ol",{className:o._classNames.list},E)))},o._onRenderItem=function(e){return e.onClick||e.href?s.createElement(h.a,{as:"a",className:o._classNames.itemLink,href:e.href,"aria-current":e.isCurrentItem?"page":void 0,onClick:o._onBreadcrumbClicked.bind(o,e)},s.createElement(j,i.a({content:e.text,overflowMode:x.Parent},o.props.tooltipHostProps),e.text)):s.createElement("span",{className:o._classNames.item},s.createElement(j,i.a({content:e.text,overflowMode:x.Parent},o.props.tooltipHostProps),e.text))},o._onBreadcrumbClicked=function(e,t){e.onClick&&e.onClick(t,e)},o._validateProps(t),o}return i.c(t,e),t.prototype.focus=function(){this._focusZone.current&&this._focusZone.current.focus()},t.prototype.render=function(){this._validateProps(this.props);var e=this.props,t=e.onReduceData,o=void 0===t?this._onReduceData:t,n=e.overflowIndex,r=e.maxDisplayedItems,i=e.items,a=e.className,l=e.theme,c=e.styles,u=i.slice(),d=u.splice(n,u.length-r),p={props:this.props,renderedItems:u,renderedOverflowItems:d};return this._classNames=A(c,{className:a,theme:l}),s.createElement(C,{onRenderData:this._onRenderBreadcrumb,onReduceData:o,data:p})},t.prototype._validateProps=function(e){var t=e.maxDisplayedItems,o=e.overflowIndex,n=e.items;if(o<0||t>1&&o>t-1||n.length>0&&o>n.length-1)throw new Error("Breadcrumb: overflowIndex out of range")},t.defaultProps={items:[],maxDisplayedItems:999,overflowIndex:0},t}(u.a),W=o(55),K={root:"ms-Breadcrumb",list:"ms-Breadcrumb-list",listItem:"ms-Breadcrumb-listItem",chevron:"ms-Breadcrumb-chevron",overflow:"ms-Breadcrumb-overflow",overflowButton:"ms-Breadcrumb-overflowButton",itemLink:"ms-Breadcrumb-itemLink",item:"ms-Breadcrumb-item"},U={whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},V=Object(P.x)(0,P.j),q=Object(P.x)(P.l,P.i);o.d(t,"a",function(){return Z});var Z=Object(r.a)(H,function(e){var t,o,n,r,s=e.className,a=e.theme,l=a.palette,c=a.semanticColors,u=a.fonts,d=Object(P.u)(K,a),p=c.menuItemBackgroundHovered,h=c.menuItemBackgroundPressed,m=l.neutralSecondary,f=P.c.regular,b=l.neutralPrimary,g=l.neutralPrimary,v=P.c.semibold,_=l.neutralSecondary,y=l.neutralSecondary,C={fontWeight:v,color:g},x={":hover":{color:b,backgroundColor:p,cursor:"pointer",selectors:(t={},t[P.d]={color:"Highlight"},t)},":active":{backgroundColor:h,color:b},"&:active:hover":{color:b,backgroundColor:h},"&:active, &:hover, &:active:hover":{textDecoration:"none"}},k={color:m,padding:"0 8px",lineHeight:36,fontSize:18,fontWeight:f};return{root:[d.root,u.medium,{margin:"11px 0 1px"},s],list:[d.list,{whiteSpace:"nowrap",padding:0,margin:0,display:"flex",alignItems:"stretch"}],listItem:[d.listItem,{listStyleType:"none",margin:"0",padding:"0",display:"flex",position:"relative",alignItems:"center",selectors:{"&:last-child .ms-Breadcrumb-itemLink":C,"&:last-child .ms-Breadcrumb-item":C}}],chevron:[d.chevron,{color:_,fontSize:u.small.fontSize,selectors:(o={},o[P.d]={color:"WindowText",MsHighContrastAdjust:"none"},o[q]={fontSize:8},o[V]={fontSize:8},o)}],overflow:[d.overflow,{position:"relative",display:"flex",alignItems:"center"}],overflowButton:[d.overflowButton,Object(P.t)(a),U,{fontSize:16,color:y,height:"100%",cursor:"pointer",selectors:i.a({},x,(n={},n[V]={padding:"4px 6px"},n[q]={fontSize:u.mediumPlus.fontSize},n))}],itemLink:[d.itemLink,Object(P.t)(a),U,i.a({},k,{selectors:i.a((r={":focus":{color:l.neutralDark}},r["."+W.a+" &:focus"]={outline:"none"},r),x)})],item:[d.item,i.a({},k,{selectors:{":hover":{cursor:"default"}}})]}},void 0,{scope:"Breadcrumb"})},function(e,t,o){"use strict";var n=o(2),r=o(0),i=o(1),s=o(58),a=Object(s.a)(function(e,t,o,n){return{root:Object(i.D)("ms-ActivityItem",t,e.root,n&&e.isCompactRoot),pulsingBeacon:Object(i.D)("ms-ActivityItem-pulsingBeacon",e.pulsingBeacon),personaContainer:Object(i.D)("ms-ActivityItem-personaContainer",e.personaContainer,n&&e.isCompactPersonaContainer),activityPersona:Object(i.D)("ms-ActivityItem-activityPersona",e.activityPersona,n&&e.isCompactPersona,!n&&o&&2===o.length&&e.doublePersona),activityTypeIcon:Object(i.D)("ms-ActivityItem-activityTypeIcon",e.activityTypeIcon,n&&e.isCompactIcon),activityContent:Object(i.D)("ms-ActivityItem-activityContent",e.activityContent,n&&e.isCompactContent),activityText:Object(i.D)("ms-ActivityItem-activityText",e.activityText),commentText:Object(i.D)("ms-ActivityItem-commentText",e.commentText),timeStamp:Object(i.D)("ms-ActivityItem-timeStamp",e.timeStamp,n&&e.isCompactTimeStamp)}}),l=Object(s.a)(function(e,t,o,n,r,s){var a;void 0===e&&(e=Object(i.y)());var l=i.h.continuousPulseAnimationSingle(n||e.palette.themePrimary,r||e.palette.themeTertiary,"4px","28px","4px"),c=Object(i.A)({from:{opacity:0},to:{opacity:1}}),u={animationName:l,animationIterationCount:"1",animationDuration:".8s",zIndex:1},d={animationName:Object(i.A)({from:{transform:"translateX(-10px)"},to:{transform:"translateX(0)"}}),animationIterationCount:"1",animationDuration:".5s"},p={animationName:c,animationIterationCount:"1",animationDuration:".5s"},h={root:[e.fonts.small,{display:"flex",justifyContent:"flex-start",alignItems:"flex-start",boxSizing:"border-box",color:e.palette.neutralSecondary},s&&o&&p],pulsingBeacon:[{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"0px",height:"0px",borderRadius:"225px",borderStyle:"solid",opacity:0},s&&o&&u],isCompactRoot:{alignItems:"center"},personaContainer:{display:"flex",flexWrap:"wrap",minWidth:"32px",width:"32px",height:"32px"},isCompactPersonaContainer:{display:"inline-flex",flexWrap:"nowrap",flexBasis:"auto",height:"16px",width:"auto",minWidth:"0",paddingRight:"6px"},activityTypeIcon:{height:"32px",fontSize:"16px",lineHeight:"16px",marginTop:"3px"},isCompactIcon:{height:"16px",minWidth:"16px",fontSize:"13px",lineHeight:"13px",color:e.palette.themePrimary,marginTop:"1px",position:"relative",display:"flex",justifyContent:"center",alignItems:"center",selectors:{".ms-Persona-imageArea":{margin:"-2px 0 0 -2px",border:"2px solid"+e.palette.white,borderRadius:"50%",selectors:(a={},a[i.d]={border:"none",margin:"0"},a)}}},activityPersona:{display:"block"},doublePersona:{selectors:{":first-child":{alignSelf:"flex-end"}}},isCompactPersona:{display:"inline-block",width:"8px",minWidth:"8px",overflow:"visible"},activityContent:[{padding:"0 8px"},s&&o&&d],activityText:{display:"inline"},isCompactContent:{flex:"1",padding:"0 4px",whiteSpace:"nowrap",textOverflow:"ellipsis",overflowX:"hidden"},commentText:{color:e.palette.neutralPrimary},timeStamp:[e.fonts.tiny,{fontWeight:400,color:e.palette.neutralSecondary}],isCompactTimeStamp:{display:"inline-block",paddingLeft:"0.3em",fontSize:"1em"}};return Object(i.q)(h,t)}),c=o(124),u=o(125),d=o(152),p=/\([^)]*\)|[\0-\u001F\!-\/:-@\[-`\{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,h=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,m=/\s+/g,f=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function b(e,t,o){return e?(e=function(e){return e=(e=(e=e.replace(p,"")).replace(m," ")).trim()}(e),f.test(e)||!o&&h.test(e)?"":function(e,t){var o="",n=e.split(" ");return 2===n.length?(o+=n[0].charAt(0).toUpperCase(),o+=n[1].charAt(0).toUpperCase()):3===n.length?(o+=n[0].charAt(0).toUpperCase(),o+=n[2].charAt(0).toUpperCase()):0!==n.length&&(o+=n[0].charAt(0).toUpperCase()),t&&o.length>1?o.charAt(1)+o.charAt(0):o}(e,t)):""}var g,v,_,y,C,x,k=o(122),E=o(143),I=o(150);!function(e){e[e.tiny=0]="tiny",e[e.extraExtraSmall=1]="extraExtraSmall",e[e.extraSmall=2]="extraSmall",e[e.small=3]="small",e[e.regular=4]="regular",e[e.large=5]="large",e[e.extraLarge=6]="extraLarge",e[e.size8=17]="size8",e[e.size10=9]="size10",e[e.size16=8]="size16",e[e.size24=10]="size24",e[e.size28=7]="size28",e[e.size32=11]="size32",e[e.size40=12]="size40",e[e.size48=13]="size48",e[e.size56=16]="size56",e[e.size72=14]="size72",e[e.size100=15]="size100"}(g||(g={})),function(e){e[e.none=0]="none",e[e.offline=1]="offline",e[e.online=2]="online",e[e.away=3]="away",e[e.dnd=4]="dnd",e[e.blocked=5]="blocked",e[e.busy=6]="busy"}(v||(v={})),function(e){e[e.lightBlue=0]="lightBlue",e[e.blue=1]="blue",e[e.darkBlue=2]="darkBlue",e[e.teal=3]="teal",e[e.lightGreen=4]="lightGreen",e[e.green=5]="green",e[e.darkGreen=6]="darkGreen",e[e.lightPink=7]="lightPink",e[e.pink=8]="pink",e[e.magenta=9]="magenta",e[e.purple=10]="purple",e[e.black=11]="black",e[e.orange=12]="orange",e[e.red=13]="red",e[e.darkRed=14]="darkRed",e[e.transparent=15]="transparent",e[e.violet=16]="violet",e[e.lightRed=17]="lightRed",e[e.gold=18]="gold",e[e.burgundy=19]="burgundy",e[e.warmGray=20]="warmGray",e[e.coolGray=21]="coolGray",e[e.gray=22]="gray",e[e.cyan=23]="cyan",e[e.rust=24]="rust"}(_||(_={})),function(e){e.size8="20px",e.size10="20px",e.size16="16px",e.size24="24px",e.size28="28px",e.size32="32px",e.size40="40px",e.size48="48px",e.size56="56px",e.size72="72px",e.size100="100px"}(C||(C={})),function(e){e.size6="6px",e.size8="8px",e.size12="12px",e.size16="16px",e.size20="20px",e.size28="28px",e.border="2px"}(x||(x={}));var w=function(e){return{isSize8:e===g.size8,isSize10:e===g.size10||e===g.tiny,isSize16:e===g.size16,isSize24:e===g.size24||e===g.extraExtraSmall,isSize28:e===g.size28||e===g.extraSmall,isSize32:e===g.size32,isSize40:e===g.size40||e===g.small,isSize48:e===g.size48||e===g.regular,isSize56:e===g.size56,isSize72:e===g.size72||e===g.large,isSize100:e===g.size100||e===g.extraLarge}},S=((y={})[g.tiny]=10,y[g.extraExtraSmall]=24,y[g.extraSmall]=28,y[g.small]=40,y[g.regular]=48,y[g.large]=72,y[g.extraLarge]=100,y[g.size8]=8,y[g.size10]=10,y[g.size16]=16,y[g.size24]=24,y[g.size28]=28,y[g.size32]=32,y[g.size40]=40,y[g.size48]=48,y[g.size56]=56,y[g.size72]=72,y[g.size100]=100,y),O=Object(u.a)(),M=function(e){function t(t){var o=e.call(this,t)||this;return o._onRenderIcon=function(e,t){return r.createElement(I.a,{className:e,iconName:D(o.props.presence,o.props.isOutOfOffice),style:t})},o}return n.c(t,e),t.prototype.render=function(){var e=this.props,t=e.coinSize,o=e.isOutOfOffice,n=e.styles,i=e.presence,s=e.theme,a=e.presenceTitle,l=w(this.props.size),c=!(l.isSize8||l.isSize10||l.isSize16||l.isSize24||l.isSize28||l.isSize32)&&(!t||t>32),u=t?t/3<40?t/3+"px":"40px":"",d=t?{fontSize:t?t/6<20?t/6+"px":"20px":"",lineHeight:u}:void 0,p=t?{width:u,height:u}:void 0,h=O(n,{theme:s,presence:i,size:this.props.size,isOutOfOffice:o});return i===v.none?null:r.createElement("div",{className:h.presence,style:p,title:a},c&&this._onRenderIcon(h.presenceIcon,d))},t}(E.a);function D(e,t){if(e){switch(v[e]){case"online":return"SkypeCheck";case"away":return t?"SkypeArrow":"SkypeClock";case"dnd":return"SkypeMinus";case"offline":return t?"SkypeArrow":""}return""}}var T={presence:"ms-Persona-presence",presenceIcon:"ms-Persona-presenceIcon"};function P(e){return{color:e,borderColor:e}}function B(e,t){return{selectors:{":before":{border:e+" solid "+t}}}}function N(e){return{height:e,width:e}}function F(e){return{backgroundColor:e}}var R=Object(c.a)(M,function(e){var t,o,n,r,s,a,l=e.theme,c=l.semanticColors,u=l.fonts,d=Object(i.u)(T,l),p=w(e.size),h=function(e){return{isAvailable:e===v.online,isAway:e===v.away,isBlocked:e===v.blocked,isBusy:e===v.busy,isDoNotDisturb:e===v.dnd,isOffline:e===v.offline}}(e.presence),m=h.isOffline||e.isOutOfOffice&&(h.isAvailable||h.isBusy||h.isAway||h.isDoNotDisturb),f=p.isSize72||p.isSize100?"2px":"1px";return{presence:[d.presence,{position:"absolute",height:x.size12,width:x.size12,borderRadius:"50%",top:"auto",right:"-2px",bottom:"-2px",border:"2px solid "+c.bodyBackground,textAlign:"center",boxSizing:"content-box",backgroundClip:"content-box",MsHighContrastAdjust:"none",selectors:(t={},t[i.d]={borderColor:"Window",backgroundColor:"WindowText"},t)},(p.isSize8||p.isSize10)&&{right:"auto",top:"7px",left:0,border:0,selectors:(o={},o[i.d]={top:"9px",border:"1px solid WindowText"},o)},(p.isSize8||p.isSize10||p.isSize24||p.isSize28||p.isSize32)&&N(x.size8),(p.isSize40||p.isSize48)&&N(x.size12),p.isSize16&&{height:x.size6,width:x.size6,borderWidth:"1.5px"},p.isSize56&&N(x.size16),p.isSize72&&N(x.size20),p.isSize100&&N(x.size28),h.isAvailable&&{backgroundColor:"#6BB700",selectors:(n={},n[i.d]=F("Highlight"),n)},h.isAway&&F("#FFAA44"),h.isBlocked&&[{selectors:(r={":after":p.isSize40||p.isSize48||p.isSize72||p.isSize100?{content:'""',width:"100%",height:f,backgroundColor:"#C43148",transform:"translateY(-50%) rotate(-45deg)",position:"absolute",top:"50%",left:0}:void 0},r[i.d]={selectors:{":after":{width:"calc(100% - 4px)",left:"2px",backgroundColor:"Window"}}},r)}],h.isBusy&&F("#C43148"),h.isDoNotDisturb&&F("#C50F1F"),h.isOffline&&F("#8A8886"),(m||h.isBlocked)&&[{backgroundColor:c.bodyBackground,selectors:(s={":before":{content:'""',width:"100%",height:"100%",position:"absolute",top:0,left:0,border:f+" solid #C43148",borderRadius:"50%",boxSizing:"border-box"}},s[i.d]={backgroundColor:"WindowText",selectors:{":before":{width:"calc(100% - 2px)",height:"calc(100% - 2px)",top:"1px",left:"1px",borderColor:"Window"}}},s)}],m&&h.isAvailable&&B(f,"#6BB700"),m&&h.isBusy&&B(f,"#C43148"),m&&h.isAway&&B(f,"#B4009E"),m&&h.isDoNotDisturb&&B(f,"#C50F1F"),m&&h.isOffline&&B(f,"#8A8886"),m&&h.isOffline&&e.isOutOfOffice&&B(f,"#B4009E")],presenceIcon:[d.presenceIcon,{color:c.bodyBackground,fontSize:"6px",lineHeight:x.size12,verticalAlign:"top",selectors:(a={},a[i.d]={color:"Window"},a)},p.isSize56&&{fontSize:"8px",lineHeight:x.size16},p.isSize72&&{fontSize:u.small.fontSize,lineHeight:x.size20},p.isSize100&&{fontSize:u.medium.fontSize,lineHeight:x.size28},h.isAway&&{position:"relative",left:m?void 0:"1px"},m&&h.isAvailable&&P("#6BB700"),m&&h.isBusy&&P("#C43148"),m&&h.isAway&&P("#B4009E"),m&&h.isDoNotDisturb&&P("#C50F1F"),m&&h.isOffline&&P("#8A8886"),m&&h.isOffline&&e.isOutOfOffice&&P("#B4009E")]}},void 0,{scope:"PersonaPresence"}),j=o(79),A=o(75),z=[_.lightBlue,_.blue,_.darkBlue,_.teal,_.green,_.darkGreen,_.lightPink,_.pink,_.magenta,_.purple,_.orange,_.lightRed,_.darkRed,_.violet,_.gold,_.burgundy,_.warmGray,_.cyan,_.rust,_.coolGray],L=z.length;function H(e){var t=e.primaryText,o=e.text,n=e.initialsColor;return"string"===typeof n?n:function(e){switch(e){case _.lightBlue:return"#4F6BED";case _.blue:return"#0078D4";case _.darkBlue:return"#004E8C";case _.teal:return"#038387";case _.lightGreen:case _.green:return"#498205";case _.darkGreen:return"#0B6A0B";case _.lightPink:return"#C239B3";case _.pink:return"#E3008C";case _.magenta:return"#881798";case _.purple:return"#5C2E91";case _.orange:return"#CA5010";case _.red:return"#EE1111";case _.lightRed:return"#D13438";case _.darkRed:return"#A4262C";case _.transparent:return"transparent";case _.violet:return"#8764B8";case _.gold:return"#986F0B";case _.burgundy:return"#750B1C";case _.warmGray:return"#7A7574";case _.cyan:return"#005B70";case _.rust:return"#8E562E";case _.coolGray:return"#69797E";case _.black:return"#1D1D1D";case _.gray:return"#393939"}}(n=void 0!==n?n:function(e){var t=_.blue;if(!e)return t;for(var o=0,n=e.length-1;n>=0;n--){var r=e.charCodeAt(n),i=n%8;o^=(r<<i)+(r>>8-i)}return t=z[o%L]}(o||t))}var W=Object(u.a)(),K=function(e){function t(t){var o=e.call(this,t)||this;return o._onRenderCoin=function(e){var t=o.props,n=t.coinSize,i=t.styles,s=t.imageUrl,a=t.imageAlt,l=t.imageShouldFadeIn,c=t.imageShouldStartVisible,u=t.theme,d=t.showUnknownPersonaCoin;if(!s)return null;var p=o.props.size,h=W(i,{theme:u,size:p,showUnknownPersonaCoin:d}),m=n||S[p];return r.createElement(j.a,{className:h.image,imageFit:A.b.cover,src:s,width:m,height:m,alt:a,shouldFadeIn:l,shouldStartVisible:c,onLoadingStateChange:o._onPhotoLoadingStateChange})},o._onRenderInitials=function(e){var t=e.imageInitials,n=e.allowPhoneInitials;if(e.showUnknownPersonaCoin)return r.createElement(I.a,{iconName:"Help"});var i=Object(d.a)();return""!==(t=t||b(o._getText(),i,n))?r.createElement("span",null,t):r.createElement(I.a,{iconName:"Contact"})},o._onPhotoLoadingStateChange=function(e){o.setState({isImageLoaded:e===A.c.loaded,isImageError:e===A.c.error}),o.props.onPhotoLoadingStateChange&&o.props.onPhotoLoadingStateChange(e)},o._warnDeprecations({primaryText:"text"}),o.state={isImageLoaded:!1,isImageError:!1},o}return n.c(t,e),t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.imageUrl!==this.props.imageUrl&&this.setState({isImageLoaded:!1,isImageError:!1})},t.prototype.render=function(){var e=this.props,t=e.className,o=e.coinProps,s=e.showUnknownPersonaCoin,a=e.coinSize,l=e.styles,c=e.imageUrl,u=e.isOutOfOffice,d=e.onRenderCoin,p=void 0===d?this._onRenderCoin:d,h=e.onRenderInitials,m=void 0===h?this._onRenderInitials:h,f=e.presence,b=e.presenceTitle,v=e.showInitialsUntilImageLoads,_=e.theme,y=this.props.size,C=Object(k.d)(this.props,k.c),x=Object(k.d)(o||{},k.c),E=a?{width:a,height:a}:void 0,w=s,S={coinSize:a,isOutOfOffice:u,presence:f,presenceTitle:b,size:y,theme:_},O=W(l,{theme:_,className:o&&o.className?o.className:t,size:y,coinSize:a,showUnknownPersonaCoin:s}),M=Boolean(!this.state.isImageLoaded&&(v&&c||!c||this.state.isImageError||w));return r.createElement("div",n.a({},C,{className:O.coin}),y!==g.size8&&y!==g.size10&&y!==g.tiny?r.createElement("div",n.a({},x,{className:O.imageArea,style:E}),M&&r.createElement("div",{className:Object(i.D)(O.initials,!s&&{backgroundColor:H(this.props)}),style:E,"aria-hidden":"true"},m(this.props,this._onRenderInitials)),!w&&p(this.props,this._onRenderCoin),r.createElement(R,n.a({},S))):this.props.presence?r.createElement(R,n.a({},S)):r.createElement(I.a,{iconName:"Contact",className:O.size10WithoutPresenceIcon}),this.props.children)},t.prototype._getText=function(){return this.props.text||this.props.primaryText||""},t.defaultProps={size:g.size48,presence:v.none,imageAlt:""},t}(E.a),U={coin:"ms-Persona-coin",imageArea:"ms-Persona-imageArea",image:"ms-Persona-image",initials:"ms-Persona-initials",size8:"ms-Persona--size8",size10:"ms-Persona--size10",size16:"ms-Persona--size16",size24:"ms-Persona--size24",size28:"ms-Persona--size28",size32:"ms-Persona--size32",size40:"ms-Persona--size40",size48:"ms-Persona--size48",size56:"ms-Persona--size56",size72:"ms-Persona--size72",size100:"ms-Persona--size100"},V=Object(c.a)(K,function(e){var t,o=e.className,n=e.theme,r=e.coinSize,s=n.palette,a=n.fonts,l=w(e.size),c=Object(i.u)(U,n),u=r||e.size&&S[e.size]||48;return{coin:[c.coin,a.medium,l.isSize8&&c.size8,l.isSize10&&c.size10,l.isSize16&&c.size16,l.isSize24&&c.size24,l.isSize28&&c.size28,l.isSize32&&c.size32,l.isSize40&&c.size40,l.isSize48&&c.size48,l.isSize56&&c.size56,l.isSize72&&c.size72,l.isSize100&&c.size100,o],size10WithoutPresenceIcon:{fontSize:a.xSmall.fontSize,position:"absolute",top:"5px",right:"auto",left:0},imageArea:[c.imageArea,{position:"relative",textAlign:"center",flex:"0 0 auto",height:u,width:u},u<=10&&{overflow:"visible",background:"transparent",height:0,width:0}],image:[c.image,{marginRight:"10px",position:"absolute",top:0,left:0,width:"100%",height:"100%",border:0,borderRadius:"50%",perspective:"1px"},u<=10&&{overflow:"visible",background:"transparent",height:0,width:0},u>10&&{height:u,width:u}],initials:[c.initials,{borderRadius:"50%",color:e.showUnknownPersonaCoin?"rgb(168, 0, 0)":s.white,fontSize:a.large.fontSize,fontWeight:i.c.semibold,lineHeight:48===u?46:u,height:u,selectors:(t={},t[i.d]={border:"1px solid WindowText",MsHighContrastAdjust:"none",color:"WindowText",boxSizing:"border-box",backgroundColor:"Window !important"},t.i={fontWeight:i.c.semibold},t)},e.showUnknownPersonaCoin&&{backgroundColor:"rgb(234, 234, 234)"},u<32&&{fontSize:a.xSmall.fontSize},u>=32&&u<40&&{fontSize:a.medium.fontSize},u>=40&&u<56&&{fontSize:a.mediumPlus.fontSize},u>=56&&u<72&&{fontSize:a.xLarge.fontSize},u>=72&&u<100&&{fontSize:a.xxLarge.fontSize},u>=100&&{fontSize:a.superLarge.fontSize}]}},void 0,{scope:"PersonaCoin"});o.d(t,"a",function(){return q});var q=function(e){function t(t){var o=e.call(this,t)||this;return o._onRenderIcon=function(e){return e.activityPersonas?o._onRenderPersonaArray(e):o.props.activityIcon},o._onRenderActivityDescription=function(e){var t=o._getClassNames(e),n=e.activityDescription||e.activityDescriptionText;return n?r.createElement("span",{className:t.activityText},n):null},o._onRenderComments=function(e){var t=o._getClassNames(e),n=e.comments||e.commentText;return!e.isCompact&&n?r.createElement("div",{className:t.commentText},n):null},o._onRenderTimeStamp=function(e){var t=o._getClassNames(e);return!e.isCompact&&e.timeStamp?r.createElement("div",{className:t.timeStamp},e.timeStamp):null},o._onRenderPersonaArray=function(e){var t=o._getClassNames(e),i=null,s=e.activityPersonas;if(s[0].imageUrl||s[0].imageInitials){var a=[],l=s.length>1||e.isCompact,c=e.isCompact?3:4,u=void 0;e.isCompact&&(u={display:"inline-block",width:"10px",minWidth:"10px",overflow:"visible"}),s.filter(function(e,t){return t<c}).forEach(function(e,o){a.push(r.createElement(V,n.a({},e,{key:e.key?e.key:o,className:t.activityPersona,size:l?g.size16:g.size32,style:u})))}),i=r.createElement("div",{className:t.personaContainer},a)}return i},o}return n.c(t,e),t.prototype.render=function(){var e=this.props,t=e.onRenderIcon,o=void 0===t?this._onRenderIcon:t,n=e.onRenderActivityDescription,i=void 0===n?this._onRenderActivityDescription:n,s=e.onRenderComments,a=void 0===s?this._onRenderComments:s,l=e.onRenderTimeStamp,c=void 0===l?this._onRenderTimeStamp:l,u=e.animateBeaconSignal,d=e.isCompact,p=this._getClassNames(this.props);return r.createElement("div",{className:p.root,style:this.props.style},(this.props.activityPersonas||this.props.activityIcon||this.props.onRenderIcon)&&r.createElement("div",{className:p.activityTypeIcon},u&&d&&r.createElement("div",{className:p.pulsingBeacon}),o(this.props)),r.createElement("div",{className:p.activityContent},i(this.props,this._onRenderActivityDescription),a(this.props,this._onRenderComments),c(this.props,this._onRenderTimeStamp)))},t.prototype._getClassNames=function(e){return a(l(void 0,e.styles,e.animateBeaconSignal,e.beaconColorOne,e.beaconColorTwo,e.isCompact),e.className,e.activityPersonas,e.isCompact)},t}(r.Component)},function(e,t,o){"use strict";var n=o(124),r=o(2),i=o(0),s=o(28),a=o(125),l=o(35),c=o(122),u=o(13),d=o(130),p=o(1),h={fontFamily:"inherit"},m={root:"ms-Fabric"},f=function(e){var t=e.theme,o=e.className,n=e.isFocusVisible;return{root:[Object(p.u)(m,t).root,n&&"is-focusVisible",t.fonts.medium,{color:t.palette.neutralPrimary,selectors:{"& button":h,"& input":h,"& textarea":h}},o]}},b=Object(a.a)(),g=function(e){function t(t){var o=e.call(this,t)||this;return o._rootElement=i.createRef(),o._disposables=[],o._onMouseDown=function(e){o.setState({isFocusVisible:!1})},o._onKeyDown=function(e){Object(l.a)(e.which)&&o.setState({isFocusVisible:!0})},o.state={isFocusVisible:!1},o}return r.c(t,e),t.prototype.render=function(){var e=this.props.className,t=b(f,{theme:this.props.theme,className:e,isFocusVisible:this.state.isFocusVisible}),o=Object(c.d)(this.props,c.c);return i.createElement("div",r.a({},o,{className:t.root,ref:this._rootElement}))},t.prototype.componentDidMount=function(){var e=Object(u.a)(this._rootElement.current);e&&this._disposables.push(Object(d.a)(e,"mousedown",this._onMouseDown,!0),Object(d.a)(e,"keydown",this._onKeyDown,!0))},t.prototype.componentWillUnmount=function(){this._disposables.forEach(function(e){return e()})},t}(i.Component),v=Object(n.a)(g,f,void 0,{scope:"Fabric"});var _,y=o(25),C=o(96),x=o(132),k={};var E=Object(a.a)(),I=function(e){function t(t){var o,n,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&&(o=r.props.hostId,n=r,k[o]||(k[o]=[]),k[o].push(n)),r}return r.c(t,e),t.prototype.UNSAFE_componentWillMount=function(){this._layerElement=this._getLayerElement()},t.prototype.UNSAFE_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,o=e.onLayerMounted;o&&o(),t&&t()},t.prototype.componentWillUnmount=function(){this._removeLayerElement();var e=this.props,t=e.onLayerWillUnmount,o=e.hostId;t&&t(),o&&function(e,t){if(k[e]){var o=k[e].indexOf(t);o>=0&&(k[e].splice(o,1),0===k[e].length&&delete k[e])}}(o,this)},t.prototype.componentDidUpdate=function(){this._setVirtualParent()},t.prototype.render=function(){var e=this._getClassNames(),t=this.props.eventBubblingEnabled,o=this.state.hasMounted;return i.createElement("span",{className:"ms-layer",ref:this._handleRootElementRef},this._layerElement&&o&&s.createPortal(t?i.createElement(v,{className:e.content},this.props.children):i.createElement(v,{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,o=e.styles,n=e.theme;return E(o,{theme:n,className:t,isNotHost:!this.props.hostId})},t.prototype._setVirtualParent=function(){this._rootElement&&this._layerElement&&function(e,t){var o=e,n=t;o._virtual||(o._virtual={children:[]});var r=o._virtual.parent;if(r&&r!==t){var i=r._virtual.children.indexOf(o);i>-1&&r._virtual.children.splice(i,1)}o._virtual.parent=n||void 0,n&&(n._virtual||(n._virtual={children:[]}),n._virtual.children.push(o))}(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 o=Object(y.a)();if(!o)return;this._layerElement=o.createElement("div"),this._layerElement.className=t.root,Object(C.b)(this._layerElement),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=Object(y.a)();if(t){if(e)return t.getElementById(e);var o=_;return o?t.querySelector(o):t.body}},t.defaultProps={onLayerDidMount:function(){},onLayerWillUnmount:function(){}},t=r.b([Object(x.a)("Layer",["theme","hostId"])],t)}(i.Component),w={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"};o.d(t,"a",function(){return S});var S=Object(n.a)(I,function(e){var t=e.className,o=e.isNotHost,n=e.theme,r=Object(p.u)(w,n);return{root:[r.root,n.fonts.medium,o&&[r.rootNoHost,{position:"fixed",zIndex:p.p.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"]})},function(e,t,o){"use strict";var n,r=o(2),i=o(0),s=o(124),a=o(61),l=o(153),c=o(90),u=o(73),d=o(122),p=o(123),h=o(92),m=o(130),f=o(25),b=o(13),g=o(95),v=function(){function e(e,t,o,n){void 0===e&&(e=0),void 0===t&&(t=0),void 0===o&&(o=0),void 0===n&&(n=0),this.top=o,this.bottom=n,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}(),_=o(152),y=o(131),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.c(t,e),t}(v);function x(e,t,o){return{targetEdge:e,alignmentEdge:t,isAuto:o}}var k=((n={})[a.a.topLeftEdge]=x(g.a.top,g.a.left),n[a.a.topCenter]=x(g.a.top),n[a.a.topRightEdge]=x(g.a.top,g.a.right),n[a.a.topAutoEdge]=x(g.a.top,void 0,!0),n[a.a.bottomLeftEdge]=x(g.a.bottom,g.a.left),n[a.a.bottomCenter]=x(g.a.bottom),n[a.a.bottomRightEdge]=x(g.a.bottom,g.a.right),n[a.a.bottomAutoEdge]=x(g.a.bottom,void 0,!0),n[a.a.leftTopEdge]=x(g.a.left,g.a.top),n[a.a.leftCenter]=x(g.a.left),n[a.a.leftBottomEdge]=x(g.a.left,g.a.bottom),n[a.a.rightTopEdge]=x(g.a.right,g.a.top),n[a.a.rightCenter]=x(g.a.right),n[a.a.rightBottomEdge]=x(g.a.right,g.a.bottom),n);function E(e,t){return!(e.top<t.top)&&(!(e.bottom>t.bottom)&&(!(e.left<t.left)&&!(e.right>t.right)))}function I(e,t){var o=new Array;return e.top<t.top&&o.push(g.a.top),e.bottom>t.bottom&&o.push(g.a.bottom),e.left<t.left&&o.push(g.a.left),e.right>t.right&&o.push(g.a.right),o}function w(e,t){return e[g.a[t]]}function S(e,t,o){return e[g.a[t]]=o,e}function O(e,t){var o=z(t);return(w(e,o.positiveEdge)+w(e,o.negativeEdge))/2}function M(e,t){return e>0?t:-1*t}function D(e,t){return M(e,w(t,e))}function T(e,t,o){return M(o,w(e,o)-w(t,o))}function P(e,t,o){var n=w(e,t)-o;return e=S(e,t,o),e=S(e,-1*t,w(e,-1*t)-n)}function B(e,t,o,n){return void 0===n&&(n=0),P(e,o,w(t,o)+M(o,n))}function N(e,t,o){return D(o,e)>D(o,t)}function F(e,t,o,n,r,i,s){void 0===r&&(r=0);var a=n.alignmentEdge,l=n.alignTargetEdge,c={elementRectangle:e,targetEdge:n.targetEdge,alignmentEdge:a};i||s||(c=function(e,t,o,n,r){void 0===r&&(r=0);var i=[g.a.left,g.a.right,g.a.bottom,g.a.top];Object(_.a)()&&(i[0]*=-1,i[1]*=-1);for(var s=e,a=n.targetEdge,l=n.alignmentEdge,c=0;c<4;c++){if(N(s,o,a))return{elementRectangle:s,targetEdge:a,alignmentEdge:l};i.splice(i.indexOf(a),1),i.length>0&&(i.indexOf(-1*a)>-1?a*=-1:(l=a,a=i.slice(-1)[0]),s=A(e,t,{targetEdge:a,alignmentEdge:l},r))}return{elementRectangle:e,targetEdge:n.targetEdge,alignmentEdge:l}}(e,t,o,n,r));var u=I(e,o);if(l){if(c.alignmentEdge&&u.indexOf(-1*c.alignmentEdge)>-1){var d=function(e,t,o,n){var r=e.alignmentEdge,i=e.targetEdge,s=-1*r;return{elementRectangle:A(e.elementRectangle,t,{targetEdge:i,alignmentEdge:s},o,n),targetEdge:i,alignmentEdge:s}}(c,t,r,s);if(E(d.elementRectangle,o))return d;c=R(I(d.elementRectangle,o),c,o)}}else c=R(u,c,o);return c}function R(e,t,o){for(var n=0,r=e;n<r.length;n++){var i=r[n];t.elementRectangle=B(t.elementRectangle,o,i)}return t}function j(e,t,o){var n=z(t).positiveEdge;return P(e,n,o-(O(e,t)-w(e,n)))}function A(e,t,o,n,r){var i;void 0===n&&(n=0);var s=o.alignmentEdge,a=o.targetEdge,l=r?a:-1*a;(i=r?B(e,t,a,n):function(e,t,o,n){void 0===n&&(n=0);var r=M(-1*o,n);return P(e,-1*o,w(t,o)+r)}(e,t,a,n),s)?i=B(i,t,s):i=j(i,l,O(t,a));return i}function z(e){return e===g.a.top||e===g.a.bottom?{positiveEdge:g.a.left,negativeEdge:g.a.right}:{positiveEdge:g.a.top,negativeEdge:g.a.bottom}}function L(e,t,o){return o&&Math.abs(T(e,o,t))>Math.abs(T(e,o,-1*t))?-1*t:t}function H(e){return Math.sqrt(e*e*2)}function W(e,t,o){if(void 0===e&&(e=a.a.bottomAutoEdge),o)return{alignmentEdge:o.alignmentEdge,isAuto:o.isAuto,targetEdge:o.targetEdge};var n=r.a({},k[e]);return Object(_.a)()?(n.alignmentEdge&&n.alignmentEdge%2===0&&(n.alignmentEdge=-1*n.alignmentEdge),void 0!==t?k[t]:n):n}function K(e,t,o){var n=O(t,e),r=O(o,e),i=z(e),s=i.positiveEdge,a=i.negativeEdge;return n<=r?s:a}function U(e,t,o,n,r,i,s){var a=A(e,t,n,r,s);return E(a,o)?{elementRectangle:a,targetEdge:n.targetEdge,alignmentEdge:n.alignmentEdge}:F(e,t,o,n,r,i,s)}function V(e,t,o){var n=-1*e.targetEdge,i=new C(0,e.elementRectangle.width,0,e.elementRectangle.height),s={},a=L(e.elementRectangle,e.alignmentEdge?e.alignmentEdge:z(n).positiveEdge,o);return s[g.a[n]]=w(t,n),s[g.a[a]]=T(t,i,a),{elementPosition:r.a({},s),closestEdge:K(e.targetEdge,t,i),targetEdge:n}}function q(e,t){var o=t.targetRectangle,n=z(t.targetEdge),r=n.positiveEdge,i=n.negativeEdge,s=O(o,t.targetEdge),a=new C(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),l=new C(0,e,0,e);return N(l=j(l=P(l,-1*t.targetEdge,-e/2),-1*t.targetEdge,s-D(r,t.elementRectangle)),a,r)?N(l,a,i)||(l=B(l,a,i)):l=B(l,a,r),l}function Z(e){var t=e.getBoundingClientRect();return new C(t.left,t.right,t.top,t.bottom)}function G(e){return new C(e.left,e.right,e.top,e.bottom)}function Y(e,t,o,n,r){var i=0,s=k[t],a=r?-1*s.targetEdge:s.targetEdge;return(i=a===g.a.top?w(e,s.targetEdge)-n.top-o:a===g.a.bottom?n.bottom-w(e,s.targetEdge)-o:n.bottom-e.top-o)>0?i:n.height}function X(e,t,o,n){var i=e.gapSpace?e.gapSpace:0,s=function(e,t){var o;if(t){if(t.preventDefault){var n=t;o=new C(n.clientX,n.clientX,n.clientY,n.clientY)}else if(t.getBoundingClientRect)o=Z(t);else{var r=t;o=new C(r.x,r.x,r.y,r.y)}if(!E(o,e))for(var i=0,s=I(o,e);i<s.length;i++){var a=s[i];o[g.a[a]]=e[g.a[a]]}}else o=new C(0,0,0,0);return o}(o,e.target),a=function(e,t,o,n,r){return e.isAuto&&(e.alignmentEdge=K(e.targetEdge,t,o)),e.alignTargetEdge=r,e}(W(e.directionalHint,e.directionalHintForRTL,n),s,o,e.coverTarget,e.alignTargetEdge),l=U(Z(t),s,o,a,i,e.directionalHintFixed,e.coverTarget);return r.a({},l,{targetRectangle:s})}function Q(e,t,o,n){return{elementPosition:function(e,t,o,n,r,i){var s={},a=Z(t),l=i?o:-1*o,c=g.a[l],u=L(e,r||z(o).positiveEdge,n);return s[c]=T(e,a,l),s[g.a[u]]=T(e,a,u),s}(e.elementRectangle,t,e.targetEdge,o,e.alignmentEdge,n),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}function $(e,t,o,n){return function(e,t,o,n){var i=e.isBeakVisible&&e.beakWidth||0,s=H(i)/2+(e.gapSpace?e.gapSpace:0),a=e;a.gapSpace=s;var l=e.bounds?G(e.bounds):new C(0,window.innerWidth-Object(y.d)(),0,window.innerHeight),c=X(a,o,l,n),u=V(c,q(i,c),l);return r.a({},Q(c,t,l,e.coverTarget),{beakPosition:u})}(e,t,o,n)}var J,ee=o(129),te=o(125),oe=o(1),ne=((J={})[g.a.top]=oe.a.slideUpIn10,J[g.a.bottom]=oe.a.slideDownIn10,J[g.a.left]=oe.a.slideLeftIn10,J[g.a.right]=oe.a.slideRightIn10,J),re=Object(te.a)({disableCaching:!0}),ie=0,se=0,ae={opacity:0,filter:"opacity(0)"},le=["role","aria-roledescription"],ce=function(e){function t(t){var o=e.call(this,t)||this;return o._hostElement=i.createRef(),o._calloutElement=i.createRef(),o._hasListeners=!1,o._disposables=[],o.dismiss=function(e){var t=o.props.onDismiss;t&&t(e)},o._dismissOnScroll=function(e){var t=o.props.preventDismissOnScroll;o.state.positions&&!t&&o._dismissOnClickOrScroll(e)},o._dismissOnResize=function(e){o.props.preventDismissOnResize||o.dismiss(e)},o._dismissOnLostFocus=function(e){o.props.preventDismissOnLostFocus||o._dismissOnClickOrScroll(e)},o._setInitialFocus=function(){o.props.setInitialFocus&&!o._didSetInitialFocus&&o.state.positions&&o._calloutElement.current&&(o._didSetInitialFocus=!0,o._async.requestAnimationFrame(function(){return Object(l.c)(o._calloutElement.current)}))},o._onComponentDidMount=function(){o._addListeners(),o.props.onLayerMounted&&o.props.onLayerMounted(),o._updateAsyncPosition(),o._setHeightOffsetEveryFrame()},o._mouseDownOnPopup=function(){o._isMouseDownOnPopup=!0},o._mouseUpOnPopup=function(){o._isMouseDownOnPopup=!1},o._async=new c.a(o),o._didSetInitialFocus=!1,o.state={positions:void 0,slideDirectionalClassName:void 0,calloutElementRect:void 0,heightOffset:0},o._positionAttempts=0,o}return r.c(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)&&(!Object(u.d)(this.props,e)||!Object(u.d)(this.state,t))},t.prototype.UNSAFE_componentWillMount=function(){this._setTargetWindowAndElement(this._getTarget())},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._disposables.forEach(function(e){return e()})},t.prototype.UNSAFE_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(),this._didPositionPropsChange(e,this.props)&&(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,o=t.styles,n=t.style,s=t.ariaLabel,a=t.ariaDescribedBy,l=t.ariaLabelledBy,c=t.className,u=t.isBeakVisible,h=t.children,m=t.beakWidth,f=t.calloutWidth,b=t.calloutMaxWidth,g=t.finalHeight,v=t.hideOverflow,_=void 0===v?!!g:v,y=t.backgroundColor,C=t.calloutMaxHeight,x=t.onScroll,k=t.shouldRestoreFocus,E=void 0===k||k;e=this._getTarget();var I=this.state.positions,w=this._getMaxHeight()?this._getMaxHeight()+this.state.heightOffset:void 0,S=C&&w&&C<w?C:w,O=_,M=u&&!!e;this._classNames=re(o,{theme:this.props.theme,className:c,overflowYHidden:O,calloutWidth:f,positions:I,beakWidth:m,backgroundColor:y,calloutMaxWidth:b});var D=r.a({},n,{maxHeight:S},O&&{overflowY:"hidden"}),T=this.props.hidden?{visibility:"hidden"}:void 0;return i.createElement("div",{ref:this._hostElement,className:this._classNames.container,style:T},i.createElement("div",r.a({},Object(d.d)(this.props,d.c,le),{className:Object(p.a)(this._classNames.root,I&&I.targetEdge&&ne[I.targetEdge]),style:I?I.elementPosition:ae,tabIndex:-1,ref:this._calloutElement}),M&&i.createElement("div",{className:this._classNames.beak,style:this._getBeakPosition()}),M&&i.createElement("div",{className:this._classNames.beakCurtain}),i.createElement(ee.a,r.a({},Object(d.d)(this.props,le),{ariaLabel:s,ariaDescribedBy:a,ariaLabelledBy:l,className:this._classNames.calloutMain,onDismiss:this.dismiss,onScroll:x,shouldRestoreFocus:E,style:D,onMouseDown:this._mouseDownOnPopup,onMouseUp:this._mouseUpOnPopup}),h)))},t.prototype._dismissOnClickOrScroll=function(e){var t=e.target,o=this._hostElement.current&&!Object(h.a)(this._hostElement.current,t);o&&this._isMouseDownOnPopup?this._isMouseDownOnPopup=!1:(!this._target&&o||e.target!==this._targetWindow&&o&&(this._target.stopPropagation||!this._target||t!==this._target&&!Object(h.a)(this._target,t)))&&this.dismiss(e)},t.prototype._addListeners=function(){var e=this;this._async.setTimeout(function(){e._disposables.push(Object(m.a)(e._targetWindow,"scroll",e._dismissOnScroll,!0),Object(m.a)(e._targetWindow,"resize",e._dismissOnResize,!0),Object(m.a)(e._targetWindow.document.documentElement,"focus",e._dismissOnLostFocus,!0),Object(m.a)(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=r.a({},e&&e.beakPosition?e.beakPosition.elementPosition:null);return t.top||t.bottom||t.left||t.right||(t.left=se,t.top=ie),t},t.prototype._updatePosition=function(){this._setTargetWindowAndElement(this._getTarget());var e=this.state.positions,t=this._hostElement.current,o=this._calloutElement.current,n=!!this.props.target;if(t&&o&&(!n||this._target)){var r=void 0;(r=Object(u.a)(r,this.props)).bounds=this._getBounds(),r.target=this._target;var i=$(r,t,o,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,o=(this.props.gapSpace?this.props.gapSpace:0)+t;this._async.requestAnimationFrame(function(){e._target&&(e._maxHeight=function(e,t,o,n,r){void 0===o&&(o=0);var i=e,s=e,a=e,l=n?G(n):new C(0,window.innerWidth-Object(y.d)(),0,window.innerHeight);return Y(i.stopPropagation?new C(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==a.x&&void 0!==a.y?new C(a.x,a.x,a.y,a.y):Z(s),t,o,l,r)}(e._target,e.props.directionalHint,o,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 o in t)if(t.hasOwnProperty(o)){var n=e[o],r=t[o];if(void 0===n||void 0===r)return!1;if(n.toFixed(2)!==r.toFixed(2))return!1}return!0},t.prototype._setTargetWindowAndElement=function(e){if(e)if("string"===typeof e){var t=Object(f.a)();this._target=t?t.querySelector(e):null,this._targetWindow=Object(b.a)()}else if(e.stopPropagation)this._targetWindow=Object(b.a)(e.toElement),this._target=e;else if(e.getBoundingClientRect){var o=e;this._targetWindow=Object(b.a)(o),this._target=e}else void 0!==e.current?(this._target=e.current,this._targetWindow=Object(b.a)(this._target)):(this._targetWindow=Object(b.a)(),this._target=e);else this._targetWindow=Object(b.a)()},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 o=t.scrollHeight-t.offsetHeight;e.setState({heightOffset:e.state.heightOffset+o}),t.offsetHeight<e.props.finalHeight?e._setHeightOffsetEveryFrame():e._async.cancelAnimationFrame(e._setHeightOffsetTimer)}}))},t.prototype._didPositionPropsChange=function(e,t){return!e.hidden&&e.hidden!==t.hidden||e.directionalHint!==t.directionalHint},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:a.a.bottomAutoEdge},t}(i.Component);function ue(e){return{height:e,width:e}}var de={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},pe=Object(s.a)(ce,function(e){var t,o=e.theme,n=e.className,r=e.overflowYHidden,i=e.calloutWidth,s=e.beakWidth,a=e.backgroundColor,l=e.calloutMaxWidth,c=Object(oe.u)(de,o),u=o.palette,d=o.effects;return{container:[c.container,{position:"relative"}],root:[c.root,o.fonts.medium,{position:"absolute",boxSizing:"border-box",borderRadius:d.roundedCorner2,boxShadow:d.elevation16,selectors:(t={},t[oe.d]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},Object(oe.s)(),n,!!i&&{width:i},!!l&&{maxWidth:l}],beak:[c.beak,{position:"absolute",backgroundColor:u.white,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},ue(s),a&&{backgroundColor:a}],beakCurtain:[c.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:u.white,borderRadius:d.roundedCorner2}],calloutMain:[c.calloutMain,{backgroundColor:u.white,overflowX:"hidden",overflowY:"auto",position:"relative",borderRadius:d.roundedCorner2},r&&{overflowY:"hidden"},a&&{backgroundColor:a}]}},void 0,{scope:"CalloutContent"}),he=o(139);o.d(t,"a",function(){return me});var me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.c(t,e),t.prototype.render=function(){var e=this.props,t=e.layerProps,o=r.d(e,["layerProps"]),n=i.createElement(pe,r.a({},o));return this.props.doNotLayer?n:i.createElement(he.a,r.a({},t),n)},t}(i.Component)},function(e,t,o){"use strict";var n=o(124),r=o(2),i=o(0),s=o(147),a=o(150),l=o(125),c=o(126),u=o(90),d=o(73),p=function(e){function t(t){var o=e.call(this,t)||this;return o.state={isRendered:!1},o}return r.c(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?i.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(i.Component);var h=o(53);var m=o(122),f=Object(l.a)(),b="",g="TextField",v=function(e){function t(t){var o=e.call(this,t)||this;o._textElement=i.createRef(),o._onFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({isFocused:!0},function(){o.props.validateOnFocusIn&&o._validate(o.value)})},o._onBlur=function(e){o.props.onBlur&&o.props.onBlur(e),o.setState({isFocused:!1},function(){o.props.validateOnFocusOut&&o._validate(o.value)})},o._onRenderLabel=function(e){var t=e.label,n=e.required,r=o._classNames.subComponentStyles?o._classNames.subComponentStyles.label:void 0;return t?i.createElement(s.a,{required:n,htmlFor:o._id,styles:r,disabled:e.disabled,id:o._labelId},e.label):null},o._onRenderDescription=function(e){return e.description?i.createElement("span",{className:o._classNames.description},e.description):null},o._onInputChange=function(e){var t,n=e.target.value;void 0!==n&&n!==o._lastChangeValue&&(o._lastChangeValue=n,e.persist(),o.setState(function(e,r){var i=_(r,e)||"";return(t=n===i)?null:o._isControlled?null:{uncontrolledValue:n}},function(){var r=o.props.onChange;!t&&r&&r(e,n)}))},Object(c.a)(o),o._async=new u.a(o),o._fallbackId=Object(d.c)(g),o._descriptionId=Object(d.c)(g+"Description"),o._labelId=Object(d.c)(g+"Label"),o._warnControlledUsage();var n=t.defaultValue,r=void 0===n?b:n;return"number"===typeof r&&(r=String(r)),o.state={uncontrolledValue:o._isControlled?void 0:r,isFocused:!1,errorMessage:""},o._delayedValidate=o._async.debounce(o._validate,o.props.deferredValidationTime),o._lastValidation=0,o}return r.c(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return _(this.props,this.state)},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,o){var n=this.props,r=(o||{}).selection,i=void 0===r?[null,null]:r,s=i[0],a=i[1];!!e.multiline!==!!n.multiline&&t.isFocused&&(this.focus(),null!==s&&null!==a&&s>=0&&a>=0&&this.setSelectionRange(s,a));var l=_(e,t),c=this.value;l!==c&&(this._warnControlledUsage(e),this.state.errorMessage&&!n.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),this._lastChangeValue=void 0,y(n)&&this._delayedValidate(c))},t.prototype.render=function(){var e=this.props,t=e.borderless,o=e.className,n=e.disabled,s=e.iconProps,l=e.inputClassName,c=e.label,u=e.multiline,d=e.required,h=e.underlined,m=e.prefix,b=e.resizable,g=e.suffix,v=e.theme,_=e.styles,y=e.autoAdjustHeight,C=e.onRenderPrefix,x=void 0===C?this._onRenderPrefix:C,k=e.onRenderSuffix,E=void 0===k?this._onRenderSuffix:k,I=e.onRenderLabel,w=void 0===I?this._onRenderLabel:I,S=e.onRenderDescription,O=void 0===S?this._onRenderDescription:S,M=this.state.isFocused,D=this._errorMessage;return this._classNames=f(_,{theme:v,className:o,disabled:n,focused:M,required:d,multiline:u,hasLabel:!!c,hasErrorMessage:!!D,borderless:t,resizable:b,hasIcon:!!s,underlined:h,inputClassName:l,autoAdjustHeight:y}),i.createElement("div",{className:this._classNames.root},i.createElement("div",{className:this._classNames.wrapper},w(this.props,this._onRenderLabel),i.createElement("div",{className:this._classNames.fieldGroup},(void 0!==m||this.props.onRenderPrefix)&&i.createElement("div",{className:this._classNames.prefix},x(this.props,this._onRenderPrefix)),u?this._renderTextArea():this._renderInput(),s&&i.createElement(a.a,r.a({className:this._classNames.icon},s)),(void 0!==g||this.props.onRenderSuffix)&&i.createElement("div",{className:this._classNames.suffix},E(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&i.createElement("span",{id:this._descriptionId},O(this.props,this._onRenderDescription),D&&i.createElement("div",{role:"alert"},i.createElement(p,null,i.createElement("p",{className:this._classNames.errorMessage},i.createElement("span",{"data-automation-id":"error-message"},D))))))},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,Object(h.a)("Warning: 'value' prop on '"+g+"' 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 i.createElement("span",{style:{paddingBottom:"1px"}},t)},t.prototype._onRenderSuffix=function(e){var t=e.suffix;return i.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=Object(m.d)(this.props,m.h,["defaultValue"]);return i.createElement("textarea",r.a({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=Object(m.d)(this.props,m.g,["defaultValue"]),t=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return i.createElement("input",r.a({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||!y(this.props)){this._latestValidateValue=e;var o=this.props.onGetErrorMessage,n=o&&o(e||"");if(void 0!==n)if("string"!==typeof n&&"then"in n){var r=++this._lastValidation;n.then(function(o){r===t._lastValidation&&t.setState({errorMessage:o}),t._notifyAfterValidate(e,o)})}else this.setState({errorMessage:n}),this._notifyAfterValidate(e,n);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}(i.Component);function _(e,t){var o=e.value,n=void 0===o?t.uncontrolledValue:o;return"number"===typeof n?String(n):n}function y(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}var C=o(1),x={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 k(e){var t=e.underlined,o=e.disabled,n=e.focused,r=e.theme,i=r.palette,s=r.fonts;return function(){var e;return{root:[t&&o&&{color:i.neutralTertiary},t&&{fontSize:s.medium.fontSize,marginRight:8,paddingLeft:12,paddingRight:0,lineHeight:"22px",height:32},t&&n&&{selectors:(e={},e[C.d]={height:31},e)}]}}}o.d(t,"a",function(){return E});var E=Object(n.a)(v,function(e){var t,o,n,r,i,s,a,l,c,u=e.theme,d=e.className,p=e.disabled,h=e.focused,m=e.required,f=e.multiline,b=e.hasLabel,g=e.borderless,v=e.underlined,_=e.hasIcon,y=e.resizable,E=e.hasErrorMessage,I=e.inputClassName,w=e.autoAdjustHeight,S=u.semanticColors,O=u.effects,M=u.fonts,D=Object(C.u)(x,u),T={background:S.disabledBackground,color:p?S.disabledText:S.inputPlaceholderText,display:"flex",alignItems:"center",padding:"0 10px",lineHeight:1,whiteSpace:"nowrap",flexShrink:0},P=[M.medium,{color:S.inputPlaceholderText,opacity:1}],B={color:S.disabledText};return{root:[D.root,M.medium,m&&D.required,p&&D.disabled,h&&D.active,f&&D.multiline,g&&D.borderless,v&&D.underlined,C.E,{position:"relative"},d],wrapper:[D.wrapper,v&&{display:"flex",borderBottomWidth:1,borderBottomStyle:"solid",borderBottomColor:S.inputBorder,width:"100%"},E&&v&&!p&&{borderBottomColor:S.errorText,selectors:{":hover":{borderBottomColor:S.errorText,selectors:(t={},t[C.d]={borderBottomColor:"Highlight"},t)}}},v&&p&&{borderBottomColor:S.disabledBackground},v&&!p&&!h&&!E&&{selectors:{":hover":{borderBottomColor:S.inputBorderHovered,selectors:(o={},o[C.d]={borderBottomColor:"Highlight"},o)}}},v&&h&&{borderBottomColor:E?S.errorText:S.inputFocusBorderAlt,selectors:(n={},n[C.d]={borderBottomWidth:2,borderBottomColor:"Highlight"},n)}],fieldGroup:[D.fieldGroup,C.E,{border:"1px solid "+S.inputBorder,borderRadius:O.roundedCorner2,background:S.inputBackground,cursor:"text",height:32,display:"flex",flexDirection:"row",alignItems:"stretch",position:"relative",selectors:{":hover":{selectors:(r={},r[C.d]={borderColor:"Highlight"},r)}}},f&&{minHeight:"60px",height:"auto",display:"flex"},g&&{border:"none"},!h&&!p&&{selectors:{":hover":{borderColor:S.inputBorderHovered}}},h&&{borderColor:S.inputFocusBorderAlt,selectors:(i={},i[C.d]={borderWidth:2,borderColor:"Highlight"},i)},p&&{backgroundColor:S.disabledBackground,borderColor:S.disabledBackground,cursor:"default"},v&&{flex:"1 1 0px",border:"none",textAlign:"left"},v&&h&&{selectors:(s={},s[C.d]={height:31},s)},v&&p&&{backgroundColor:"transparent"},E&&{borderColor:S.errorText,selectors:{"&:focus, &:hover":{borderColor:S.errorText}}},E&&h&&{borderColor:S.errorText},!b&&m&&{selectors:(a={":after":{content:"'*'",color:S.errorText,position:"absolute",top:-5,right:-10}},a[C.d]={selectors:{":after":{right:-14}}},a)}],field:[M.medium,D.field,C.E,{borderRadius:0,border:"none",background:"none",backgroundColor:"transparent",color:S.inputText,padding:"0 8px",width:"100%",minWidth:0,textOverflow:"ellipsis",outline:0,selectors:{"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"}}},Object(C.w)(P),f&&!y&&[D.unresizable,{resize:"none"}],f&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,paddingBottom:6,overflow:"auto",width:"100%"},f&&w&&{overflow:"hidden"},_&&{paddingRight:24},f&&_&&{paddingRight:40},p&&[{backgroundColor:"transparent",borderColor:"transparent",color:S.disabledText},Object(C.w)(B)],v&&{textAlign:"left"},h&&!g&&{selectors:(l={},l[C.d]={paddingLeft:11,paddingRight:11},l)},h&&f&&!g&&{selectors:(c={},c[C.d]={paddingTop:4},c)},I],icon:[f&&{paddingRight:24,paddingBottom:8,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:5,right:8,top:"auto",fontSize:C.g.medium,lineHeight:18},p&&{color:S.disabledText}],description:[D.description,{color:S.bodySubtext,fontSize:M.xSmall.fontSize}],errorMessage:[D.errorMessage,C.a.slideDownIn20,M.small,{color:S.errorText,margin:0,paddingTop:5,display:"flex",alignItems:"center"}],prefix:[D.prefix,T],suffix:[D.suffix,T],subComponentStyles:{label:k(e)}}},void 0,{scope:"TextField"})},,function(e,t,o){"use strict";var n=o(2),r=o(0),i=o(90),s=o(93);o(53);var a=o(55),l=o(13);o.d(t,"a",function(){return c}),o.d(t,"b",function(){return d});var c=function(e){function t(o,n){var r=e.call(this,o,n)||this;return Object(a.b)(),function(e){var t=e||Object(l.a)();if(t&&!t.__hasInitializedDir__){t.__hasInitializedDir__=!0;var o=t.document.documentElement;o.hasAttribute("dir")||o.setAttribute("dir","ltr")}}(),function(e,t,o){for(var n=0,r=o.length;n<r;n++)u(e,t,o[n])}(r,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),r}return n.c(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 o=this.__disposables[e];o.dispose&&o.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 i.a(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 s.a(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(o){return t[e]=o}),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,o){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}(r.Component);function u(e,t,o){var n=e[o],r=t[o];(n||r)&&(e[o]=function(){var e;return r&&(e=r.apply(this,arguments)),n!==r&&(e=n.apply(this,arguments)),e})}function d(){return null}},function(e,t,o){"use strict";var n,r=o(2),i=o(0),s=o(135),a=o(93),l=o(134),c=o(73),u="ktp",d="-",p="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"}(n||(n={}));var h=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 o=e;t||(o=this.addParentOverflow(e));var r=this._getUniqueKtp(o);t?this.persistedKeytips.push(r):this.keytips.push(r);var i=t?n.PERSISTED_KEYTIP_ADDED:n.KEYTIP_ADDED;return a.a.raise(this,i,{keytip:o,uniqueID:r.uniqueID}),r.uniqueID},e.prototype.update=function(e,t){var o=this.addParentOverflow(e),r=this._getUniqueKtp(o,t),i=Object(l.d)(this.keytips,function(e){return e.uniqueID===t});i>=0&&(r.keytip.visible=this.keytips[i].keytip.visible,this.keytips=Object(l.e)(this.keytips,r,i),a.a.raise(this,n.KEYTIP_UPDATED,{keytip:r.keytip,uniqueID:r.uniqueID}))},e.prototype.unregister=function(e,t,o){void 0===o&&(o=!1),o?this.persistedKeytips=this.persistedKeytips.filter(function(e){return e.uniqueID!==t}):this.keytips=this.keytips.filter(function(e){return e.uniqueID!==t});var r=o?n.PERSISTED_KEYTIP_REMOVED:n.KEYTIP_REMOVED;a.a.raise(this,r,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){a.a.raise(this,n.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){a.a.raise(this,n.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 o=Object(l.c)(this.getKeytips(),function(e){return Object(l.b)(t,e.keySequences)});if(o&&o.overflowSetSequence)return r.a({},e,{overflowSetSequence:o.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){a.a.raise(this,n.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=Object(c.c)()),{keytip:r.a({},e),uniqueID:t}},e._instance=new e,e}();function m(e){return e.reduce(function(e,t){return e+d+t.split("").join(d)},u)}o.d(t,"a",function(){return f});var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._keytipManager=h.getInstance(),t}return r.c(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,o=e.keytipProps,n=e.ariaDescribedBy,r={};return o&&(r=this._getKtpAttrs(o,n)),t(r)},t.prototype._getKtpProps=function(){return r.a({disabled:this.props.disabled},this.props.keytipProps)},t.prototype._getKtpAttrs=function(e,t){if(e){var o=this._keytipManager.addParentOverflow(e),n=function(e){var t=" "+p;return e.length?t+" "+m(e):t}(o.keySequences),r=o.keySequences.slice();o.overflowSetSequence&&(r=function(e,t){var o=t.length,n=t.slice().pop(),r=e.slice();return Object(l.a)(r,o-1,n)}(r,o.overflowSetSequence));var i=m(r);return{"aria-describedby":Object(s.a)(t,n),"data-ktp-target":i,"data-ktp-execute-target":i}}},t}(i.Component)},,function(e,t,o){"use strict";var n=o(2),r=o(0),i=o(143),s=o(132),a=o(66),l=o(1),c=o(58),u=o(65),d=o(69),p=o(55);var h=Object(c.a)(function(e,t,o){var n=Object(u.a)(e),r=Object(d.a)(e),i={root:{minWidth:"80px",height:"32px"},label:{fontWeight:l.c.semibold}};return Object(l.q)(n,i,o?function(e){var t,o,n,r,i,s,a,c,u=e.palette,d=e.semanticColors;return{root:{backgroundColor:d.primaryButtonBackground,color:d.primaryButtonText,border:"none",selectors:(t={},t[l.d]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},t["."+p.a+" &:focus"]={selectors:{":after":{outline:"none",borderColor:u.white}}},t)},rootHovered:{backgroundColor:d.primaryButtonBackgroundHovered,color:d.primaryButtonTextHovered,selectors:(o={},o[l.d]={color:"Window",backgroundColor:"Highlight"},o)},rootPressed:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed,selectors:(n={},n[l.d]={color:"Window",backgroundColor:"WindowText",MsHighContrastAdjust:"none"},n)},rootExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootChecked:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootDisabled:{selectors:(r={},r[l.d]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},r)},splitButtonContainer:{selectors:(i={},i[l.d]={border:"none"},i)},splitButtonDivider:{backgroundColor:u.neutralTertiaryAlt},splitButtonMenuButton:{backgroundColor:d.primaryButtonBackground,color:d.primaryButtonText,selectors:{":hover":{backgroundColor:d.primaryButtonBackgroundHovered,selectors:(s={},s[l.d]={color:"Highlight"},s)}}},splitButtonMenuButtonDisabled:{backgroundColor:d.primaryButtonBackgroundDisabled,selectors:{":hover":{backgroundColor:d.primaryButtonBackgroundDisabled}}},splitButtonMenuButtonChecked:{backgroundColor:d.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:d.primaryButtonBackgroundPressed}}},splitButtonMenuButtonExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,selectors:{":hover":{backgroundColor:d.primaryButtonBackgroundPressed}}},splitButtonMenuIcon:{color:d.primaryButtonText,selectors:(a={},a[l.d]={color:"Window"},a)},splitButtonMenuIconDisabled:{color:u.neutralTertiary,selectors:(c={},c[l.d]={color:"GrayText"},c)}}}(e):function(e){var t,o,n,r,i=e.semanticColors,s=e.palette,a=i.buttonBackground,c=i.buttonBackgroundPressed,u=i.buttonBackgroundHovered,d=i.buttonText,p=i.buttonTextHovered,h=i.buttonTextChecked,m=i.buttonTextCheckedHovered;return{root:{backgroundColor:a,color:d},rootHovered:{backgroundColor:u,color:p,selectors:(t={},t[l.d]={borderColor:"Highlight",color:"Highlight"},t)},rootPressed:{backgroundColor:c,color:h},rootExpanded:{backgroundColor:c,color:h},rootChecked:{backgroundColor:c,color:h},rootCheckedHovered:{backgroundColor:c,color:m},rootDisabled:{selectors:(o={},o[l.d]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},o)},splitButtonContainer:{selectors:(n={},n[l.d]={border:"none"},n)},splitButtonMenuButton:{color:s.white,backgroundColor:"transparent",selectors:{":hover":{backgroundColor:s.neutralLight,selectors:(r={},r[l.d]={color:"Highlight"},r)}}},splitButtonMenuButtonDisabled:{backgroundColor:i.buttonBackgroundDisabled,selectors:{":hover":{backgroundColor:i.buttonBackgroundDisabled}}},splitButtonDivider:{backgroundColor:s.neutralTertiaryAlt},splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:s.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:s.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:s.neutralQuaternaryAlt,selectors:{":hover":{backgroundColor:s.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:i.buttonText},splitButtonMenuIconDisabled:{color:i.buttonTextDisabled}}}(e),r,t)}),m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipComponentRefResolution=!0,t}return n.c(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,o=void 0!==t&&t,s=e.styles,l=e.theme;return r.createElement(a.a,n.a({},this.props,{variantClassName:o?"ms-Button--primary":"ms-Button--default",styles:h(l,s,o),onRenderDescription:i.b}))},t=n.b([Object(s.a)("DefaultButton",["theme","styles"],!0)],t)}(i.a);o.d(t,"a",function(){return f});var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipComponentRefResolution=!0,t}return n.c(t,e),t.prototype.render=function(){return r.createElement(m,n.a({},this.props,{primary:!0,onRenderDescription:i.b}))},t=n.b([Object(s.a)("PrimaryButton",["theme","styles"],!0)],t)}(i.a)},function(e,t,o){"use strict";var n=o(124),r=o(2),i=o(0),s=o(122),a=o(125),l=Object(a.a)({disableCaching:!0}),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.c(t,e),t.prototype.render=function(){var e=this.props,t=e.as,o=void 0===t?"label":t,n=e.children,a=e.className,c=e.disabled,u=e.styles,d=e.required,p=e.theme,h=l(u,{className:a,disabled:c,required:d,theme:p});return i.createElement(o,r.a({},Object(s.d)(this.props,s.c),{className:h.root}),n)},t}(i.Component),u=o(1);o.d(t,"a",function(){return d});var d=Object(n.a)(c,function(e){var t,o=e.theme,n=e.className,r=e.disabled,i=e.required,s=o.semanticColors,a=u.c.semibold,l=s.bodyText,c=s.disabledBodyText,d=s.errorText;return{root:["ms-Label",o.fonts.medium,{fontWeight:a,color:l,boxSizing:"border-box",boxShadow:"none",margin:0,display:"block",padding:"5px 0",wordWrap:"break-word",overflowWrap:"break-word"},r&&{color:c,selectors:(t={},t[u.d]={color:"GrayText"},t)},i&&{selectors:{"::after":{content:"' *'",color:d,paddingRight:12}}},n]}},void 0,{scope:"Label"})},function(e,t,o){"use strict";var n=o(124),r=o(2),i=o(0),s=o(125),a=o(143),l=o(144),c=Object(s.a)(),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._link=i.createRef(),t._onClick=function(e){var o=t.props,n=o.onClick;o.disabled?e.preventDefault():n&&n(e)},t}return r.c(t,e),t.prototype.render=function(){var e=this,t=this.props,o=t.disabled,n=t.children,s=t.className,a=t.href,u=t.theme,d=t.styles,p=t.keytipProps,h=c(d,{className:s,isButton:!a,isDisabled:o,theme:u}),m=this._getRootType(this.props);return i.createElement(l.a,{keytipProps:p,ariaDescribedBy:this.props["aria-describedby"],disabled:o},function(t){return i.createElement(m,r.a({},t,e._adjustPropsForRootType(m,e.props),{className:h.root,onClick:e._onClick,ref:e._link,"aria-disabled":o}),n)})},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 o=t.disabled,n=t.target,i=t.href,s=(t.theme,t.getStyles,t.styles,t.componentRef,r.d(t,["children","as","disabled","target","href","theme","getStyles","styles","componentRef"]));return"string"===typeof e?"a"===e?r.a({target:n,href:o?void 0:i},s):"button"===e?r.a({type:"button",disabled:o},s):r.a({},s,{disabled:o}):r.a({target:n,href:i,disabled:o},s)},t.prototype._getRootType=function(e){return e.as?e.as:e.href?"a":"button"},t}(a.a),d=o(1),p={root:"ms-Link"};o.d(t,"a",function(){return h});var h=Object(n.a)(u,function(e){var t,o,n,r=e.className,i=e.isButton,s=e.isDisabled,a=e.theme,l=a.semanticColors,c=l.link,u=l.linkHovered,h=l.disabledText,m=l.focusBorder,f=Object(d.u)(p,a);return{root:[f.root,a.fonts.medium,{color:c,outline:"none",fontSize:"inherit",fontWeight:"inherit",selectors:(t={".ms-Fabric--isFocusVisible &:focus":{boxShadow:"0 0 0 1px "+m+" inset",selectors:(o={},o[d.d]={outline:"1px solid WindowText"},o)}},t[d.d]={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:(n={},n[d.e]={color:"#FFFF00"},n[d.f]={color:"#00009F"},n)},!i&&{textDecoration:"none"},s&&["is-disabled",{color:h,cursor:"default"},{selectors:{"&:link, &:visited":{pointerEvents:"none"}}}],!s&&{selectors:{"&:active, &:hover, &:active:hover":{color:u,textDecoration:"underline"},"&:focus":{color:c}}},f.root,r]}},void 0,{scope:"Link"})},function(e,t,o){"use strict";var n=o(124),r=o(2),i=o(0),s=o(125),a=o(73),l=o(122),c=o(143),u=o(147),d=o(144),p=Object(s.a)(),h=function(e){function t(t){var o=e.call(this,t)||this;return o._toggleButton=i.createRef(),o._onClick=function(e){var t=o.props,n=t.disabled,r=t.checked,i=t.onChange,s=t.onChanged,a=t.onClick,l=o.state.checked;n||(void 0===r&&o.setState({checked:!l}),i&&i(e,!l),s&&s(!l),a&&a(e))},o._warnMutuallyExclusive({checked:"defaultChecked"}),o._warnDeprecations({onAriaLabel:"ariaLabel",offAriaLabel:void 0,onChanged:"onChange"}),o.state={checked:!(!t.checked&&!t.defaultChecked)},o._id=t.id||Object(a.c)("Toggle"),o}return r.c(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.checked?t:r.a({},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,o=t.as,n=void 0===o?"div":o,s=t.className,a=t.theme,c=t.disabled,h=t.keytipProps,m=t.label,f=t.ariaLabel,b=t.onAriaLabel,g=t.offAriaLabel,v=t.offText,_=t.onText,y=t.styles,C=t.inlineLabel,x=this.state.checked,k=x?_:v,E=x?b:g,I=Object(l.d)(this.props,l.g,["defaultChecked"]),w=p(y,{theme:a,className:s,disabled:c,checked:x,inlineLabel:C,onOffMissing:!_&&!v}),S=this._id+"-label",O=this._id+"-stateText",M=void 0;return f||E||(m?M=S:k&&(M=O)),i.createElement(n,{className:w.root,hidden:I.hidden},m&&i.createElement(u.a,{htmlFor:this._id,className:w.label,id:S},m),i.createElement("div",{className:w.container},i.createElement(d.a,{keytipProps:h,ariaDescribedBy:I["aria-describedby"],disabled:c},function(t){return i.createElement("button",r.a({},I,t,{className:w.pill,disabled:c,id:e._id,type:"button",role:"switch",ref:e._toggleButton,"aria-disabled":c,"aria-checked":x,"aria-label":f||E,"data-is-focusable":!0,onChange:e._noop,onClick:e._onClick,"aria-labelledby":M}),i.createElement("div",{className:w.thumb}))}),k&&i.createElement(u.a,{htmlFor:this._id,className:w.text,id:O},k)))},t.prototype.focus=function(){this._toggleButton.current&&this._toggleButton.current.focus()},t.prototype._noop=function(){},t}(c.a),m=o(1);o.d(t,"a",function(){return f});var f=Object(n.a)(h,function(e){var t,o,n,r,i,s,a,l=e.theme,c=e.className,u=e.disabled,d=e.checked,p=e.inlineLabel,h=e.onOffMissing,f=l.semanticColors,b=l.palette,g=f.bodyBackground,v=f.inputBackgroundChecked,_=b.themeDark,y=b.neutralDark,C=f.disabledBodySubtext,x=f.smallInputBorder,k=f.inputForegroundChecked,E=f.disabledBodySubtext,I=f.disabledBackground,w=f.smallInputBorder,S=f.inputBorderHovered,O=f.disabledBodySubtext,M=f.disabledText;return{root:["ms-Toggle",d&&"is-checked",!u&&"is-enabled",u&&"is-disabled",l.fonts.medium,{marginBottom:"8px"},p&&{display:"flex",alignItems:"center"},c],label:["ms-Toggle-label",u&&{color:M,selectors:(t={},t[m.d]={color:"GrayText"},t)},p&&!h&&{marginRight:16},h&&p&&{order:1,marginLeft:16}],container:["ms-Toggle-innerContainer",{display:"inline-flex",position:"relative"}],pill:["ms-Toggle-background",Object(m.t)(l,{inset:-3}),{fontSize:"20px",boxSizing:"border-box",width:40,height:20,borderRadius:10,transition:"all 0.1s ease",border:"1px solid "+w,background:g,cursor:"pointer",display:"flex",alignItems:"center",padding:"0 3px"},!u&&[!d&&{selectors:{":hover":[{borderColor:S}],":hover .ms-Toggle-thumb":[{backgroundColor:y,selectors:(o={},o[m.d]={borderColor:"Highlight"},o)}]}},d&&[{background:v,borderColor:"transparent",justifyContent:"flex-end"},{selectors:(n={":hover":[{backgroundColor:_,borderColor:"transparent",selectors:(r={},r[m.d]={backgroundColor:"Highlight"},r)}]},n[m.d]={backgroundColor:"WindowText"},n)}]],u&&[{cursor:"default"},!d&&[{borderColor:O}],d&&[{backgroundColor:C,borderColor:"transparent",justifyContent:"flex-end"}]],!u&&{selectors:{"&:hover":{selectors:(i={},i[m.d]={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"},!u&&d&&[{backgroundColor:k,selectors:(s={},s[m.d]={backgroundColor:"Window",borderColor:"Window"},s)}],u&&[!d&&[{backgroundColor:E}],d&&[{backgroundColor:I}]]],text:["ms-Toggle-stateText",{selectors:{"&&":{padding:"0",margin:"0 8px",userSelect:"none",fontWeight:m.c.regular}}},u&&{selectors:{"&&":{color:M,selectors:(a={},a[m.d]={color:"GrayText"},a)}}}]}},void 0,{scope:"Toggle"})},function(e,t,o){"use strict";var n,r=o(124),i=o(2),s=o(0);!function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(n||(n={}));var a=o(79),l=o(75),c=o(125),u=o(122),d=o(89),p=Object(c.a)({disableCaching:!0}),h=function(e){function t(t){var o=e.call(this,t)||this;return o.onImageLoadingStateChange=function(e){o.props.imageProps&&o.props.imageProps.onLoadingStateChange&&o.props.imageProps.onLoadingStateChange(e),e===l.c.error&&o.setState({imageLoadError:!0})},o.state={imageLoadError:!1},o}return i.c(t,e),t.prototype.render=function(){var e=this.props,t=e.className,o=e.styles,r=e.iconName,l=e.imageErrorAs,c=e.theme,h="string"===typeof r&&0===r.length,m=this.props.iconType===n.image||this.props.iconType===n.Image||!!this.props.imageProps,f=Object(d.b)(r),b=f.iconClassName,g=f.children,v=p(o,{theme:c,className:t,iconClassName:b,isImage:m,isPlaceholder:h}),_=m?"div":"i",y=Object(u.d)(this.props,u.e,["aria-label"]),C=this.state.imageLoadError,x=i.a({},this.props.imageProps,{onLoadingStateChange:this.onImageLoadingStateChange}),k=C&&l||a.a,E=this.props.ariaLabel||this.props["aria-label"],I=E?{"aria-label":E}:{role:"presentation","aria-hidden":!x.alt&&!x["aria-labelledby"]};return s.createElement(_,i.a({"data-icon-name":r},I,y,{className:v.root}),m?s.createElement(k,i.a({},x)):g)},t}(s.Component),m=o(68);o.d(t,"a",function(){return f});var f=Object(r.a)(h,m.c,void 0,{scope:"Icon"},!0)},function(e,t,o){"use strict";var n=o(2),r=o(0),i=o(66),s=o(143),a=o(132),l=o(1),c=o(58),u=o(65),d=o(69),p=Object(c.a)(function(e,t){var o,n=Object(u.a)(e),r=Object(d.a)(e),i=e.palette,s={root:{padding:"0 4px",minWidth:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:{color:i.themeDarkAlt,backgroundColor:i.neutralLighter,selectors:(o={},o[l.d]={borderColor:"Highlight",color:"Highlight"},o)},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}};return Object(l.q)(n,s,r,t)});o.d(t,"a",function(){return h});var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipComponentRefResolution=!0,t}return n.c(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme;return r.createElement(i.a,n.a({},this.props,{variantClassName:"ms-Button--icon",styles:p(o,t),onRenderText:s.b,onRenderDescription:s.b}))},t=n.b([Object(a.a)("IconButton",["theme","styles"],!0)],t)}(s.a)},function(e,t,o){"use strict";o(12);var n=o(25);var r=o(33);o.d(t,"a",function(){return a});var i,s="isRTL";function a(){if(void 0===i){var e=function(e){var t=null;try{t=window.sessionStorage.getItem(e)}catch(o){}return t}(s);null!==e&&function(e,t){void 0===t&&(t=!1);var o=Object(n.a)();o&&o.documentElement.setAttribute("dir",e?"rtl":"ltr");t&&function(e,t){try{window.sessionStorage.setItem(e,t)}catch(o){}}(s,e?"1":"0");i=e,Object(r.b)(i)}(i="1"===e);var t=Object(n.a)();void 0===i&&t&&(i="rtl"===(t.body&&t.body.getAttribute("dir")||t.documentElement.getAttribute("dir")),Object(r.b)(i))}return!!i}},function(e,t,o){"use strict";var n=o(76);var r=o(92),i=o(70),s=o(13),a=o(25);o.d(t,"e",function(){return p}),o.d(t,"h",function(){return h}),o.d(t,"f",function(){return m}),o.d(t,"i",function(){return f}),o.d(t,"c",function(){return b}),o.d(t,"k",function(){return g}),o.d(t,"j",function(){return v}),o.d(t,"n",function(){return y}),o.d(t,"m",function(){return C}),o.d(t,"l",function(){return x}),o.d(t,"a",function(){return k}),o.d(t,"o",function(){return E}),o.d(t,"b",function(){return w}),o.d(t,"g",function(){return S}),o.d(t,"d",function(){return O});var l="data-is-focusable",c="data-is-visible",u="data-focuszone-id",d="data-is-sub-focuszone";function p(e,t,o){return v(e,t,!0,!1,!1,o)}function h(e,t,o){return g(e,t,!0,!1,!0,o)}function m(e,t,o,n){return void 0===n&&(n=!0),v(e,t,n,!1,!1,o,!1,!0)}function f(e,t,o,n){return void 0===n&&(n=!0),g(e,t,n,!1,!0,o,!1,!0)}function b(e){var t=v(e,e,!0,!1,!1,!0);return!!t&&(w(t),!0)}function g(e,t,o,n,r,i,s,a){if(!t||!s&&t===e)return null;var l=_(t);if(r&&l&&(i||!C(t)&&!x(t))){var c=g(e,t.lastElementChild,!0,!0,!0,i,s,a);if(c){if(a&&y(c,!0)||!a)return c;var u=g(e,c.previousElementSibling,!0,!0,!0,i,s,a);if(u)return u;for(var d=c.parentElement;d&&d!==t;){var p=g(e,d.previousElementSibling,!0,!0,!0,i,s,a);if(p)return p;d=d.parentElement}}}if(o&&l&&y(t,a))return t;var h=g(e,t.previousElementSibling,!0,!0,!0,i,s,a);return h||(n?null:g(e,t.parentElement,!0,!1,!1,i,s,a))}function v(e,t,o,n,r,i,s,a){if(!t||t===e&&r&&!s)return null;var l=_(t);if(o&&l&&y(t,a))return t;if(!r&&l&&(i||!C(t)&&!x(t))){var c=v(e,t.firstElementChild,!0,!0,!1,i,s,a);if(c)return c}if(t===e)return null;var u=v(e,t.nextElementSibling,!0,!0,!1,i,s,a);return u||(n?null:v(e,t.parentElement,!1,!1,!0,i,s,a))}function _(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute(c);return null!==t&&void 0!==t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function y(e,t){if(!e||e.disabled)return!1;var o=0,n=null;e&&e.getAttribute&&(n=e.getAttribute("tabIndex"))&&(o=parseInt(n,10));var r=e.getAttribute?e.getAttribute(l):null,i=null!==n&&o>=0,s=!!e&&"false"!==r&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"true"===r||i);return t?-1!==o&&s:s}function C(e){return!!(e&&e.getAttribute&&e.getAttribute(u))}function x(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute(d))}function k(e){var t=Object(a.a)(e),o=t&&t.activeElement;return!(!o||!Object(r.a)(e,o))}function E(e,t){return"true"!==function(e,t){var o=Object(n.a)(e,function(e){return e.hasAttribute(t)});return o&&o.getAttribute(t)}(e,t)}var I=void 0;function w(e){if(e){if(I)return void(I=e);I=e;var t=Object(s.a)(e);t&&t.requestAnimationFrame(function(){I&&I.focus(),I=void 0})}}function S(e,t){for(var o=e,n=0,r=t;n<r.length;n++){var i=r[n],s=o.children[Math.min(i,o.children.length-1)];if(!s)break;o=s}return o=y(o)&&_(o)?o:v(e,o,!0)||g(e,o)}function O(e,t){for(var o=[];t&&e&&t!==e;){var n=Object(i.a)(t,!0);if(null===n)return[];o.unshift(Array.prototype.indexOf.call(n.children,t)),t=n}return o}},function(e,t,o){"use strict";var n=o(2),r=o(0),i=o(66),s=o(143),a=o(132),l=o(1),c=o(58),u=o(65),d=o(69),p=o(77),h=Object(c.a)(function(e,t,o,n){var r,i,s,a,c,h,m,f,b,g,v=Object(u.a)(e),_=Object(d.a)(e),y=e.palette,C=e.semanticColors,x={root:[Object(l.t)(e,{inset:2,highContrastStyle:{left:4,top:4,bottom:4,right:4,border:"none"},borderColor:"transparent"}),e.fonts.medium,{minWidth:"40px",backgroundColor:y.white,color:y.neutralPrimary,padding:"0 4px",border:"none",borderRadius:0,selectors:(r={},r[l.d]={border:"none"},r)}],rootHovered:{backgroundColor:y.neutralLighter,color:y.neutralDark,selectors:(i={},i[l.d]={color:"Highlight"},i["."+p.a.msButtonIcon]={color:y.themeDarkAlt},i["."+p.a.msButtonMenuIcon]={color:y.neutralPrimary},i)},rootPressed:{backgroundColor:y.neutralLight,color:y.neutralDark,selectors:(s={},s["."+p.a.msButtonIcon]={color:y.themeDark},s["."+p.a.msButtonMenuIcon]={color:y.neutralPrimary},s)},rootChecked:{backgroundColor:y.neutralLight,color:y.neutralDark,selectors:(a={},a["."+p.a.msButtonIcon]={color:y.themeDark},a["."+p.a.msButtonMenuIcon]={color:y.neutralPrimary},a)},rootCheckedHovered:{backgroundColor:y.neutralQuaternaryAlt,selectors:(c={},c["."+p.a.msButtonIcon]={color:y.themeDark},c["."+p.a.msButtonMenuIcon]={color:y.neutralPrimary},c)},rootExpanded:{backgroundColor:y.neutralLight,color:y.neutralDark,selectors:(h={},h["."+p.a.msButtonIcon]={color:y.themeDark},h["."+p.a.msButtonMenuIcon]={color:y.neutralPrimary},h)},rootExpandedHovered:{backgroundColor:y.neutralQuaternaryAlt},rootDisabled:{backgroundColor:y.white,selectors:(m={},m["."+p.a.msButtonIcon]={color:C.disabledBodySubtext},m)},splitButtonContainer:{selectors:(f={},f[l.d]={border:"none"},f)},splitButtonDivider:{backgroundColor:y.neutralTertiaryAlt,marginTop:4,marginBottom:4},splitButtonMenuButton:{backgroundColor:y.white,border:"none",borderTopRightRadius:"0",borderBottomRightRadius:"0",color:y.neutralSecondary,selectors:{":hover":{backgroundColor:y.neutralLighter,color:y.neutralDark,selectors:(b={},b[l.d]={color:"Highlight"},b["."+p.a.msButtonIcon]={color:y.neutralPrimary},b)},":active":{backgroundColor:y.neutralLight,selectors:(g={},g["."+p.a.msButtonIcon]={color:y.neutralPrimary},g)}}},splitButtonMenuButtonDisabled:{backgroundColor:y.white},splitButtonMenuButtonChecked:{backgroundColor:y.neutralLight,color:y.neutralDark,selectors:{":hover":{backgroundColor:y.neutralQuaternaryAlt}}},splitButtonMenuButtonExpanded:{backgroundColor:y.neutralLight,color:y.black,selectors:{":hover":{backgroundColor:y.neutralQuaternaryAlt}}},splitButtonMenuIcon:{color:y.neutralPrimary},splitButtonMenuIconDisabled:{color:y.neutralTertiary},label:{fontWeight:"normal"},icon:{color:y.themePrimary},menuIcon:{color:y.neutralSecondary}};return Object(l.q)(v,_,x,t)});o.d(t,"a",function(){return m});var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipComponentRefResolution=!0,t}return n.c(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,o=e.theme;return r.createElement(i.a,n.a({},this.props,{variantClassName:"ms-Button--commandBar",styles:h(o,t),onRenderDescription:s.b}))},t=n.b([Object(a.a)("CommandBarButton",["theme","styles"],!0)],t)}(s.a)},function(e,t,o){"use strict";var n=o(2),r=o(0),i=o(91),s=o(153),a=o(70),l=o(12),c=o(152),u=o(126),d=o(73),p=o(130),h=o(122),m=o(123),f=o(92);function b(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 g=o(133),v=o(25),_=o(57);o.d(t,"a",function(){return S});var y,C="data-no-horizontal-wrap",x="ms-FocusZone";var k={},E=new Set,I=["text","number","password","email","tel","url","search"],w=!1,S=function(e){function t(t){var o=e.call(this,t)||this;return o._disposables=[],o._root=r.createRef(),o._onFocus=function(e){if(!o._portalContainsElement(e.target)){var t,n=o.props,r=n.onActiveElementChanged,i=n.doNotAllowFocusEventToPropagate,l=n.onFocusNotification,c=o._isImmediateDescendantOfZone(e.target);if(l&&l(),c)t=e.target;else for(var u=e.target;u&&u!==o._root.current;){if(Object(s.n)(u)&&o._isImmediateDescendantOfZone(u)){t=u;break}u=Object(a.a)(u,w)}var d=!o._activeElement;t&&t!==o._activeElement&&((c||d)&&o._setFocusAlignment(t,d),o._activeElement=t,d&&o._updateTabIndexes()),r&&r(o._activeElement,e),i&&e.stopPropagation()}},o._onBlur=function(){o._setParkedFocus(!1)},o._onKeyDownCapture=function(e){e.which===l.a.tab&&E.forEach(function(e){return e._updateTabIndexes()})},o._onMouseDown=function(e){if(!o._portalContainsElement(e.target)&&!o.props.disabled){for(var t=e.target,n=[];t&&t!==o._root.current;)n.push(t),t=Object(a.a)(t,w);for(;n.length&&((t=n.pop())&&Object(s.n)(t)&&o._setActiveElement(t,!0),!Object(s.m)(t)););}},o._onKeyDown=function(e){if(!o._portalContainsElement(e.target)){var t=o.props,n=t.direction,r=t.disabled,a=t.isInnerZoneKeystroke;if(!r&&(o.props.onKeyDown&&o.props.onKeyDown(e),!e.isDefaultPrevented()&&(o._getDocument().activeElement!==o._root.current||!o._isInnerZone))){if(a&&a(e)&&o._isImmediateDescendantOfZone(e.target)){var u=o._getFirstInnerZone();if(u){if(!u.focus(!0))return}else{if(!Object(s.l)(e.target))return;if(!o.focusElement(Object(s.j)(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case l.a.space:if(o._tryInvokeClickForFocusable(e.target))break;return;case l.a.left:if(n!==i.a.vertical&&o._moveFocusLeft())break;return;case l.a.right:if(n!==i.a.vertical&&o._moveFocusRight())break;return;case l.a.up:if(n!==i.a.horizontal&&o._moveFocusUp())break;return;case l.a.down:if(n!==i.a.horizontal&&o._moveFocusDown())break;return;case l.a.tab:if(o.props.allowTabKey||o.props.handleTabKey===i.b.all||o.props.handleTabKey===i.b.inputOnly&&o._isElementInput(e.target)){var d=!1;if(o._processingTabKey=!0,n!==i.a.vertical&&o._shouldWrapFocus(o._activeElement,C)){if(n===i.a.horizontal||n===i.a.bidirectional){d=(Object(c.a)()?!e.shiftKey:e.shiftKey)?o._moveFocusLeft():o._moveFocusRight()}}else d=e.shiftKey?o._moveFocusUp():o._moveFocusDown();if(o._processingTabKey=!1,d)break}return;case l.a.home:if(o._isElementInput(e.target)&&!o._shouldInputLoseFocus(e.target,!1))return!1;var p=o._root.current&&o._root.current.firstChild;if(o._root.current&&p&&o.focusElement(Object(s.j)(o._root.current,p,!0)))break;return;case l.a.end:if(o._isElementInput(e.target)&&!o._shouldInputLoseFocus(e.target,!0))return!1;var h=o._root.current&&o._root.current.lastChild;if(o._root.current&&o.focusElement(Object(s.k)(o._root.current,h,!0,!0,!0)))break;return;case l.a.enter:if(o._tryInvokeClickForFocusable(e.target))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},Object(u.a)(o),o._id=Object(d.c)("FocusZone"),o._focusAlignment={x:0,y:0},o._processingTabKey=!1,o}return n.c(t,e),t.getOuterZones=function(){return E.size},t.prototype.componentDidMount=function(){var e=this._root.current;if(k[this._id]=this,e){for(var t=e.ownerDocument.defaultView,o=Object(a.a)(e,w);o&&o!==this._getDocument().body&&1===o.nodeType;){if(Object(s.m)(o)){this._isInnerZone=!0;break}o=Object(a.a)(o,w)}this._isInnerZone||E.add(this),t&&1===E.size&&this._disposables.push(Object(p.a)(t,"keydown",this._onKeyDownCapture,!0)),this._disposables.push(Object(p.a)(e,"blur",this._onBlur,!0)),this._updateTabIndexes(),this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement),this.focus())}},t.prototype.componentDidUpdate=function(){var e=this._root.current,t=this._getDocument();if(t&&this._lastIndexPath&&(t.activeElement===t.body||t.activeElement===e)){var o=Object(s.g)(e,this._lastIndexPath);o?(this._setActiveElement(o,!0),o.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete k[this._id],this._isInnerZone||E.delete(this),this._disposables.forEach(function(e){return e()})},t.prototype.render=function(){var e=this.props,t=e.rootProps,o=e.ariaDescribedBy,i=e.ariaLabelledBy,s=e.className,a=Object(h.d)(this.props,h.e),l=this.props.as||this.props.elementType||"div";return this._evaluateFocusBeforeRender(),r.createElement(l,n.a({"aria-labelledby":i,"aria-describedby":o},a,t,{className:Object(m.a)((y||(y=Object(_.a)({selectors:{":focus":{outline:"none"}}},x)),y),s),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 o=k[t.getAttribute("data-focuszone-id")];return!!o&&o.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&Object(f.a)(this._root.current,this._activeElement)&&Object(s.n)(this._activeElement))return this._activeElement.focus(),!0;var n=this._root.current.firstChild;return this.focusElement(Object(s.j)(this._root.current,n,!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.setFocusAlignment=function(e){this._focusAlignment=e},t.prototype._evaluateFocusBeforeRender=function(){var e=this._root.current,t=this._getDocument();if(t){var o=t.activeElement;if(o!==e){var n=Object(f.a)(e,o,!1);this._lastIndexPath=n?Object(s.d)(e,o):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 o=this._activeElement;this._activeElement=e,o&&(Object(s.m)(o)&&this._updateTabIndexes(o),o.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 b(e),!0;e=Object(a.a)(e,w)}while(e!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(Object(s.m)(e))return k[e.getAttribute("data-focuszone-id")];for(var t=e.firstElementChild;t;){if(Object(s.m)(t))return k[t.getAttribute("data-focuszone-id")];var o=this._getFirstInnerZone(t);if(o)return o;t=t.nextElementSibling}return null},t.prototype._moveFocus=function(e,t,o,n){void 0===n&&(n=!0);var r=this._activeElement,a=-1,l=void 0,c=!1,u=this.props.direction===i.a.bidirectional;if(!r||!this._root.current)return!1;if(this._isElementInput(r)&&!this._shouldInputLoseFocus(r,e))return!1;var d=u?r.getBoundingClientRect():null;do{if(r=e?Object(s.j)(this._root.current,r):Object(s.k)(this._root.current,r),!u){l=r;break}if(r){var p=t(d,r.getBoundingClientRect());if(-1===p&&-1===a){l=r;break}if(p>-1&&(-1===a||p<a)&&(a=p,l=r),a>=0&&p<0)break}}while(r);if(l&&l!==this._activeElement)c=!0,this.focusElement(l);else if(this.props.isCircularNavigation&&n)return e?this.focusElement(Object(s.j)(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(Object(s.k)(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return c},t.prototype._moveFocusDown=function(){var e=this,t=-1,o=this._focusAlignment.x;return!!this._moveFocus(!0,function(n,r){var i=-1,s=Math.floor(r.top),a=Math.floor(n.bottom);return s<a?e._shouldWrapFocus(e._activeElement,"data-no-vertical-wrap")?999999999:-999999999:((-1===t&&s>=a||s===t)&&(t=s,i=o>=r.left&&o<=r.left+r.width?0:Math.abs(r.left+r.width/2-o)),i)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusUp=function(){var e=this,t=-1,o=this._focusAlignment.x;return!!this._moveFocus(!1,function(n,r){var i=-1,s=Math.floor(r.bottom),a=Math.floor(r.top),l=Math.floor(n.top);return s>l?e._shouldWrapFocus(e._activeElement,"data-no-vertical-wrap")?999999999:-999999999:((-1===t&&s<=l||a===t)&&(t=a,i=o>=r.left&&o<=r.left+r.width?0:Math.abs(r.left+r.width/2-o)),i)})&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusLeft=function(){var e=this,t=this._shouldWrapFocus(this._activeElement,C);return!!this._moveFocus(Object(c.a)(),function(o,n){var r=-1;return(Object(c.a)()?parseFloat(n.top.toFixed(3))<parseFloat(o.bottom.toFixed(3)):parseFloat(n.bottom.toFixed(3))>parseFloat(o.top.toFixed(3)))&&n.right<=o.right&&e.props.direction!==i.a.vertical?r=o.right-n.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,C);return!!this._moveFocus(!Object(c.a)(),function(o,n){var r=-1;return(Object(c.a)()?parseFloat(n.bottom.toFixed(3))>parseFloat(o.top.toFixed(3)):parseFloat(n.top.toFixed(3))<parseFloat(o.bottom.toFixed(3)))&&n.left>=o.left&&e.props.direction!==i.a.vertical?r=n.left-o.left:t||(r=-999999999),r},void 0,t)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._setFocusAlignment=function(e,t,o){if(this.props.direction===i.a.bidirectional&&(!this._focusAlignment||t||o)){var n=e.getBoundingClientRect(),r=n.left+n.width/2,s=n.top+n.height/2;this._focusAlignment||(this._focusAlignment={x:r,y:s}),t&&(this._focusAlignment.x=r),o&&(this._focusAlignment.y=s)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=Object(a.a)(e,w);t&&t!==this._root.current&&t!==this._getDocument().body;){if(Object(s.m)(t))return t;t=Object(a.a)(t,w)}return t},t.prototype._updateTabIndexes=function(e){!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!Object(f.a)(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!Object(s.n)(this._activeElement)&&(this._activeElement=null);for(var t=e&&e.children,o=0;t&&o<t.length;o++){var n=t[o];Object(s.m)(n)?"true"===n.getAttribute("data-is-focusable")&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==n?"-1"!==n.getAttribute("tabindex")&&n.setAttribute("tabindex","-1"):(this._defaultFocusElement=n,"0"!==n.getAttribute("tabindex")&&n.setAttribute("tabindex","0"))):(n.getAttribute&&"false"===n.getAttribute("data-is-focusable")&&n.setAttribute("tabindex","-1"),Object(s.n)(n)?this.props.disabled?n.setAttribute("tabindex","-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==n?"-1"!==n.getAttribute("tabindex")&&n.setAttribute("tabindex","-1"):(this._defaultFocusElement=n,"0"!==n.getAttribute("tabindex")&&n.setAttribute("tabindex","0")):"svg"===n.tagName&&"false"!==n.getAttribute("focusable")&&n.setAttribute("focusable","false")),this._updateTabIndexes(n)}},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&&I.indexOf(e.type.toLowerCase())>-1){var o=e.selectionStart,n=o!==e.selectionEnd,r=e.value;if(n||o>0&&!t||o!==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||Object(s.o)(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&Object(g.a)(e,this._root.current)},t.prototype._getDocument=function(){return Object(v.a)(this._root.current)},t.defaultProps={isCircularNavigation:!1,direction:i.a.bidirectional},t}(r.Component)}])]); //# sourceMappingURL=../2-2ad81d2e-chunk.js.map?action=raw&ctype=text/javascript