UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

15 lines (13 loc) • 790 kB
var Fabric=function(e){function t(i){if(o[i])return o[i].exports;var n=o[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var o={};return t.m=e,t.c=o,t.d=function(e,o,i){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=543)}([function(e,t,o){"use strict";function i(e,t){function o(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}function n(e,t){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&(o[i[n]]=e[i[n]]);return o}function r(e,t,o,i){var n,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(r<3?n(a):r>3?n(t,o,a):n(t,o))||a);return r>3&&a&&Object.defineProperty(t,o,a),a}function a(e,t){return function(o,i){t(o,i,e)}}function s(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,o,i){return new(o||(o=Promise))(function(n,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){e.done?n(e.value):new o(function(t){t(e.value)}).then(a,s)}l((i=i.apply(e,t||[])).next())})}function c(e,t){function o(e){return function(t){return i([e,t])}}function i(o){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,r&&(a=r[2&o[0]?"return":o[0]?"throw":"next"])&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[0,a.value]),o[0]){case 0:case 1:a=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,r=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(a=l.trys,!(a=a.length>0&&a[a.length-1])&&(6===o[0]||2===o[0])){l=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){l.label=o[1];break}if(6===o[0]&&l.label<a[1]){l.label=a[1],a=o;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(o);break}a[2]&&l.ops.pop(),l.trys.pop();continue}o=t.call(e,l)}catch(e){o=[6,e],r=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}var n,r,a,s,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s}function d(e,t){for(var o in e)t.hasOwnProperty(o)||(t[o]=e[o])}function u(e){var t="function"==typeof Symbol&&e[Symbol.iterator],o=0;return t?t.call(e):{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}}}function p(e,t){var o="function"==typeof Symbol&&e[Symbol.iterator];if(!o)return e;var i,n,r=o.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}return a}function h(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(p(arguments[t]));return e}function f(e){return this instanceof f?(this.v=e,this):new f(e)}function m(e,t,o){function i(e){d[e]&&(c[e]=function(t){return new Promise(function(o,i){u.push([e,t,o,i])>1||n(e,t)})})}function n(e,t){try{r(d[e](t))}catch(e){l(u[0][3],e)}}function r(e){e.value instanceof f?Promise.resolve(e.value.v).then(a,s):l(u[0][2],e)}function a(e){n("next",e)}function s(e){n("throw",e)}function l(e,t){e(t),u.shift(),u.length&&n(u[0][0],u[0][1])}if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var c,d=o.apply(e,t||[]),u=[];return c={},i("next"),i("throw"),i("return"),c[Symbol.asyncIterator]=function(){return this},c}function _(e){function t(t,n){e[t]&&(o[t]=function(o){return(i=!i)?{value:f(e[t](o)),done:"return"===t}:n?n(o):o})}var o,i;return o={},t("next"),t("throw",function(e){throw e}),t("return"),o[Symbol.iterator]=function(){return this},o}function g(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator];return t?t.call(e):"function"==typeof u?u(e):e[Symbol.iterator]()}function b(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}Object.defineProperty(t,"__esModule",{value:!0}),t.__extends=i,o.d(t,"__assign",function(){return y}),t.__rest=n,t.__decorate=r,t.__param=a,t.__metadata=s,t.__awaiter=l,t.__generator=c,t.__exportStar=d,t.__values=u,t.__read=p,t.__spread=h,t.__await=f,t.__asyncGenerator=m,t.__asyncDelegator=_,t.__asyncValues=g,t.__makeTemplateObject=b;/*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ var v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},y=Object.assign||function(e){for(var t,o=1,i=arguments.length;o<i;o++){t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}},function(e,t){e.exports=React},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(188),t)},function(e,t,o){"use strict";(function(e){function o(e){var t=w();e();var o=w();S.perf.duration+=o-t}function i(e,t){void 0===t&&(t=!1),o(function(){var o=Array.isArray(e)?e:m(e);void 0===y&&(y=b());var i=S.runState,n=i.mode,r=i.buffer,a=i.flushTimer;t||1===n?(r.push(o),a||(S.runState.flushTimer=s())):l(o)})}function n(e){S.loadStyles=e}function r(e){S.runState.mode=e}function a(){o(function(){var e=S.runState.buffer.slice();S.runState.buffer=[];var t=[].concat.apply([],e);t.length>0&&l(t)})}function s(){return setTimeout(function(){S.runState.flushTimer=0,a()},0)}function l(e,t){S.loadStyles?S.loadStyles(f(e).styleString,e):y?g(e,t):_(e)}function c(e){S.theme=e,p()}function d(e){void 0===e&&(e=3),3!==e&&2!==e||(u(S.registeredStyles),S.registeredStyles=[]),3!==e&&1!==e||(u(S.registeredThemableStyles),S.registeredThemableStyles=[])}function u(e){e.forEach(function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)})}function p(){if(S.theme){for(var e=[],t=0,o=S.registeredThemableStyles;t<o.length;t++){var i=o[t];e.push(i.themableStyle)}e.length>0&&(d(1),l([].concat.apply([],e)))}}function h(e){return e&&(e=f(m(e)).styleString),e}function f(e){var t=S.theme,o=!1;return{styleString:(e||[]).map(function(e){var i=e.theme;if(i){o=!0;var n=t?t[i]:void 0,r=e.defaultValue||"inherit";return!t||n||!console||i in t||"undefined"==typeof DEBUG||!DEBUG||console.warn('Theming value not provided for "'+i+'". Falling back to "'+r+'".'),n||r}return e.rawString}).join(""),themable:o}}function m(e){var t=[];if(e){for(var o=0,i=void 0;i=I.exec(e);){var n=i.index;n>o&&t.push({rawString:e.substring(o,n)}),t.push({theme:i[1],defaultValue:i[2]}),o=I.lastIndex}t.push({rawString:e.substring(o)})}return t}function _(e){var t=document.getElementsByTagName("head")[0],o=document.createElement("style"),i=f(e),n=i.styleString,r=i.themable;o.type="text/css",o.appendChild(document.createTextNode(n)),S.perf.count++,t.appendChild(o);var a={styleElement:o,themableStyle:e};r?S.registeredThemableStyles.push(a):S.registeredStyles.push(a)}function g(e,t){var o=document.getElementsByTagName("head")[0],i=S.registeredStyles,n=S.lastStyleElement,r=n?n.styleSheet:void 0,a=r?r.cssText:"",s=i[i.length-1],l=f(e).styleString;(!n||a.length+l.length>k)&&(n=document.createElement("style"),n.type="text/css",t?(o.replaceChild(n,t.styleElement),t.styleElement=n):o.appendChild(n),t||(s={styleElement:n,themableStyle:e},i.push(s))),n.styleSheet.cssText+=h(l),Array.prototype.push.apply(s.themableStyle,e),S.lastStyleElement=n}function b(){var e=!1;if("undefined"!=typeof document){var t=document.createElement("style");t.type="text/css",e=!!t.styleSheet}return e}var v=this&&this.__assign||Object.assign||function(e){for(var t,o=1,i=arguments.length;o<i;o++){t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e};Object.defineProperty(t,"__esModule",{value:!0});var y,x="undefined"==typeof window?e:window,S=function(){var e=x.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};return e.runState||(e=v({},e,{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),e.registeredThemableStyles||(e=v({},e,{registeredThemableStyles:[]})),x.__themeState__=e,e}(),I=/[\'\"]\[theme:\s*(\w+)\s*(?:\,\s*default:\s*([\\"\']?[\.\,\(\)\#\-\s\w]*[\.\,\(\)\#\-\w][\"\']?))?\s*\][\'\"]/g,k=1e4,w=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()};t.loadStyles=i,t.configureLoadStyles=n,t.configureRunMode=r,t.flush=a,t.loadTheme=c,t.clearStyles=d,t.detokenize=h,t.splitStyles=m}).call(t,o(168))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(12),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(275),t)},,function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(170),t)},,,function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(270),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(308),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(0);i.__exportStar(o(229),t),i.__exportStar(o(51),t),i.__exportStar(o(73),t),i.__exportStar(o(111),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(272),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(314),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(245),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(262),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(242),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(332),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(370),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(204);t.mergeStyles=i.mergeStyles;var n=o(210);t.mergeStyleSets=n.mergeStyleSets;var r=o(108);t.concatStyleSets=r.concatStyleSets;var a=o(211);t.fontFace=a.fontFace;var s=o(212);t.keyframes=s.keyframes;var l=o(44);t.InjectionMode=l.InjectionMode,t.Stylesheet=l.Stylesheet},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(303),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(0);i.__exportStar(o(36),t),i.__exportStar(o(333),t),i.__exportStar(o(138),t),i.__exportStar(o(334),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(253),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!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.size28=7]="size28",e[e.size16=8]="size16",e[e.size10=9]="size10",e[e.size24=10]="size24",e[e.size32=11]="size32",e[e.size40=12]="size40",e[e.size48=13]="size48",e[e.size72=14]="size72",e[e.size100=15]="size100"}(t.PersonaSize||(t.PersonaSize={}));!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"}(t.PersonaPresence||(t.PersonaPresence={}));!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"}(t.PersonaInitialsColor||(t.PersonaInitialsColor={}))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(2),n=o(4),r={outline:0},a={fontSize:n.FontSizes.icon,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",verticalAlign:"middle",flexShrink:0};t.getStyles=i.memoizeFunction(function(e){var t=e.semanticColors,o=t.buttonBorder,i=t.disabledBackground,s=t.disabledText;return{root:[n.getFocusStyle(e,-1),e.fonts.medium,{boxSizing:"border-box",border:"1px solid "+o,userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",padding:"0 16px",borderRadius:0}],rootDisabled:{backgroundColor:i,color:s,cursor:"default",pointerEvents:"none",selectors:{":hover":r,":focus":r}},iconDisabled:{color:s},menuIconDisabled:{color:s},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},textContainer:{flexGrow:1},icon:a,menuIcon:[a,{fontSize:n.FontSizes.small}],label:{margin:"0 4px",lineHeight:"100%"},screenReaderText:n.hiddenContentStyle}})},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(368),t)},,function(e,t){e.exports=ReactDOM},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(276),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(324),t)},,function(e,t,o){"use strict";function i(e,t){var o=e,i=t;o._virtual||(o._virtual={children:[]});var n=o._virtual.parent;if(n&&n!==t){var r=n._virtual.children.indexOf(o);r>-1&&n._virtual.children.splice(r,1)}o._virtual.parent=i||void 0,i&&(i._virtual||(i._virtual={children:[]}),i._virtual.children.push(o))}function n(e){var t;return e&&p(e)&&(t=e._virtual.parent),t}function r(e,t){return void 0===t&&(t=!0),e&&(t&&n(e)||e.parentNode&&e.parentNode)}function a(e,t){void 0===t&&(t=!0);var o=[];if(e){for(var i=0;i<e.children.length;i++)o.push(e.children.item(i));t&&p(e)&&o.push.apply(o,e._virtual.children)}return o}function s(e,t,o){void 0===o&&(o=!0);var i=!1;if(e&&t)if(o)for(i=!1;t;){var n=r(t);if(n===e){i=!0;break}t=n}else e.contains&&(i=e.contains(t));return i}function l(e){h=e}function c(e){return h||"undefined"==typeof window?void 0:e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function d(e){return h||"undefined"==typeof document?void 0:e&&e.ownerDocument?e.ownerDocument:document}function u(e){var t;return e&&(e===window?t={left:0,top:0,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth,bottom:window.innerHeight}:e.getBoundingClientRect&&(t=e.getBoundingClientRect())),t}function p(e){return e&&!!e._virtual}Object.defineProperty(t,"__esModule",{value:!0}),t.setVirtualParent=i,t.getVirtualParent=n,t.getParent=r,t.getChildren=a,t.elementContains=s;var h=!1;t.setSSR=l,t.getWindow=c,t.getDocument=d,t.getRect=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(244),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(0),n=o(1),r=o(2),a=o(7),s=o(29),l=o(281),c=o(282),d=function(e){function t(t,o){var i=e.call(this,t)||this;return i._warnConditionallyRequiredProps(["menuProps","onClick"],"split",i.props.split),i._warnDeprecations({rootProps:void 0}),i._labelId=r.getId(),i._descriptionId=r.getId(),i._ariaDescriptionId=r.getId(),i.state={menuProps:null},i}return i.__extends(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(){return!!this.state.menuProps},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this.props,t=e.ariaDescription,o=e.ariaLabel,i=e.ariaHidden,n=e.className,a=e.description,s=e.disabled,c=e.primaryDisabled,d=e.href,u=e.iconProps,p=e.menuIconProps,h=e.styles,f=e.text,m=e.checked,_=e.variantClassName,g=e.theme,b=e.getClassNames,v=(this.state.menuProps,s||c);this._classNames=b?b(g,n,_,u&&u.className,p&&p.className,v,m,!!this.state.menuProps,this.props.split):l.getBaseButtonClassNames(h,n,_,u&&u.className,p&&p.className,v,m,!!this.state.menuProps,this.props.split);var y,x=this,S=x._ariaDescriptionId,I=x._labelId,k=x._descriptionId,w=!v&&!!d,C=w?"a":"button",P=r.getNativeProps(r.assign(w?{}:{type:"button"},this.props.rootProps,this.props),w?r.anchorProperties:r.buttonProperties,["disabled"]);y=t?S:a?k:P["aria-describedby"]?P["aria-describedby"]:null;var D=null;o||(P["aria-labelledby"]?D=P["aria-labelledby"]:y&&(D=f?I:null));var M=r.assign(P,{className:this._classNames.root,ref:this._resolveRef("_buttonElement"),disabled:v,"aria-label":o,"aria-labelledby":D,"aria-describedby":y,"data-is-focusable":!1!==this.props["data-is-focusable"]&&!s,"aria-pressed":m});return i&&(M["aria-hidden"]=!0),this._isSplitButton?this._onRenderSplitButtonContent(C,M):(this.props.menuProps&&r.assign(M,{onKeyDown:this._onMenuKeyDown,onClick:this._onMenuClick,"aria-expanded":this._isExpanded,"aria-owns":this.state.menuProps?this._labelId+"-menu":null,"aria-haspopup":!0}),this._onRenderContent(C,M))},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&t.menuProps&&!this.state.menuProps&&this.props.onAfterMenuDismiss()},t.prototype.focus=function(){this._buttonElement&&this._buttonElement.focus()},t.prototype.dismissMenu=function(){this.setState({menuProps:null})},t.prototype._onRenderContent=function(e,t){var o=this.props,r=e,a=o.menuIconProps,s=o.menuProps,l=o.onRenderIcon,c=void 0===l?this._onRenderIcon:l,d=o.onRenderAriaDescription,u=void 0===d?this._onRenderAriaDescription:d,p=o.onRenderChildren,h=void 0===p?this._onRenderChildren:p,f=o.onRenderMenu,m=void 0===f?this._onRenderMenu:f,_=o.onRenderMenuIcon,g=void 0===_?this._onRenderMenuIcon:_,b=n.createElement(r,i.__assign({},t),n.createElement("div",{className:this._classNames.flexContainer},c(o,this._onRenderIcon),this._onRenderTextContents(),u(o,this._onRenderAriaDescription),h(o,this._onRenderChildren),!this._isSplitButton&&(s||a||this.props.onRenderMenuIcon)&&g(this.props,this._onRenderMenuIcon),this.state.menuProps&&!this.state.menuProps.doNotLayer&&m(s,this._onRenderMenu)));return s&&s.doNotLayer?n.createElement("div",{style:{display:"inline-block"}},b,this.state.menuProps&&m(s,this._onRenderMenu)):b},t.prototype._onRenderIcon=function(e,t){var o=this.props.iconProps;return o?a.Icon(i.__assign({},o,{className:this._classNames.icon})):null},t.prototype._onRenderTextContents=function(){var e=this.props,t=e.text,o=e.children,i=e.description,r=e.onRenderText,a=void 0===r?this._onRenderText:r,s=e.onRenderDescription,l=void 0===s?this._onRenderDescription:s;return t||"string"==typeof o||i?n.createElement("div",{className:this._classNames.textContainer},a(this.props,this._onRenderText),l(this.props,this._onRenderDescription)):[a(this.props,this._onRenderText),l(this.props,this._onRenderDescription)]},t.prototype._onRenderText=function(){var e=this.props,t=e.children,o=e.text;return void 0===o&&"string"==typeof t&&(o=t),o?n.createElement("div",{key:this._labelId,className:this._classNames.label,id:this._labelId},o):null},t.prototype._onRenderChildren=function(){var e=this.props.children;return"string"==typeof e?null:e},t.prototype._onRenderDescription=function(e){var t=this.props.description;return t?n.createElement("div",{key:this._descriptionId,className:this._classNames.description,id:this._descriptionId},t):null},t.prototype._onRenderAriaDescription=function(){var e=this.props.ariaDescription;return e?n.createElement("span",{className:this._classNames.screenReaderText,id:this._ariaDescriptionId},e):null},t.prototype._onRenderMenuIcon=function(e){var t=this.props.menuIconProps;return n.createElement(a.Icon,i.__assign({iconName:"ChevronDown"},t,{className:this._classNames.menuIcon}))},t.prototype._onRenderMenu=function(e){var t=e.onDismiss,o=void 0===t?this._dismissMenu:t;return n.createElement(s.ContextualMenu,i.__assign({id:this._labelId+"-menu",directionalHint:4},e,{className:"ms-BaseButton-menuhost "+e.className,target:this._isSplitButton?this._splitButtonContainer:this._buttonElement,labelElementId:this._labelId,onDismiss:o}))},t.prototype._dismissMenu=function(){this.setState({menuProps:null})},t.prototype._onToggleMenu=function(){var e=this.props.menuProps,t=this.state.menuProps;this.setState({menuProps:t?null:e})},t.prototype._onRenderSplitButtonContent=function(e,t){var o=this.props,i=o.styles,r=void 0===i?{}:i,a=o.disabled,s=o.checked,l=o.getSplitButtonClassNames,d=l?l(!!a,!!this.state.menuProps,!!s):r&&c.getClassNames(r,!!a,!!this.state.menuProps,!!s);return n.createElement("div",{role:"button","aria-labelledby":t.ariaLabel,"aria-disabled":a,"aria-haspopup":!0,"aria-expanded":this._isExpanded,"aria-pressed":this.props.checked,"aria-describedby":t.ariaDescription,className:d&&d.splitButtonContainer,onKeyDown:this._onMenuKeyDown,ref:this._resolveRef("_splitButtonContainer")},n.createElement("span",{style:{display:"flex"}},this._onRenderContent(e,t),this._onRenderSplitButtonMenuButton(d),this._onRenderSplitButtonDivider(d)))},t.prototype._onRenderSplitButtonDivider=function(e){return e&&e.divider?n.createElement("span",{className:e.divider}):null},t.prototype._onRenderSplitButtonMenuButton=function(e){var o=this.props,r=o.menuIconProps,a=o.splitButtonAriaLabel;void 0===r&&(r={iconName:"ChevronDown"});var s={styles:e,checked:this.props.checked,disabled:this.props.disabled,onClick:this._onMenuClick,menuProps:void 0,iconProps:r,ariaLabel:a,"aria-haspopup":!0,"aria-expanded":this._isExpanded};return n.createElement(t,i.__assign({},s,{onMouseDown:this._onMouseDown}))},t.prototype._onMouseDown=function(e){this.props.onMouseDown&&this.props.onMouseDown(e),e.preventDefault()},t.prototype._onMenuKeyDown=function(e){if(40===e.which){var t=this.props.onMenuClick;t&&t(e,this),!e.defaultPrevented&&this._onToggleMenu(),e.preventDefault(),e.stopPropagation()}},t.prototype._onMenuClick=function(e){var t=this.props.onMenuClick;t&&t(e,this),!e.defaultPrevented&&this._onToggleMenu(),e.preventDefault(),e.stopPropagation()},t.defaultProps={baseClassName:"ms-Button",classNames:{},styles:{},split:!1},i.__decorate([r.autobind],t.prototype,"_onRenderIcon",null),i.__decorate([r.autobind],t.prototype,"_onRenderTextContents",null),i.__decorate([r.autobind],t.prototype,"_onRenderText",null),i.__decorate([r.autobind],t.prototype,"_onRenderChildren",null),i.__decorate([r.autobind],t.prototype,"_onRenderDescription",null),i.__decorate([r.autobind],t.prototype,"_onRenderAriaDescription",null),i.__decorate([r.autobind],t.prototype,"_onRenderMenuIcon",null),i.__decorate([r.autobind],t.prototype,"_onRenderMenu",null),i.__decorate([r.autobind],t.prototype,"_dismissMenu",null),i.__decorate([r.autobind],t.prototype,"_onToggleMenu",null),i.__decorate([r.autobind],t.prototype,"_onMouseDown",null),i.__decorate([r.autobind],t.prototype,"_onMenuKeyDown",null),i.__decorate([r.autobind],t.prototype,"_onMenuClick",null),t}(r.BaseComponent);t.BaseButton=d},function(e,t,o){"use strict";function i(e){d=e}function n(e){return 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 a.__extends(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 s.createElement(e,a.__assign({ref:this._updateComposedComponentRef,responsiveMode:t},this.props))},o.prototype._getResponsiveMode=function(){var e=r.small,t=c.getWindow();if(void 0!==t)try{for(;t.innerWidth>u[e];)e++}catch(t){e=r.large}else{if(void 0===d)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=d}return e},o}(l.BaseDecorator)}Object.defineProperty(t,"__esModule",{value:!0});var r,a=o(0),s=o(1),l=o(125),c=o(2);!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"}(r=t.ResponsiveMode||(t.ResponsiveMode={}));var d,u=[479,639,1023,1365,1919,99999999];t.setResponsiveMode=i,t.withResponsiveMode=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SELECTION_CHANGE="change";!function(e){e[e.none=0]="none",e[e.single=1]="single",e[e.multiple=2]="multiple"}(t.SelectionMode||(t.SelectionMode={}));!function(e){e[e.horizontal=0]="horizontal",e[e.vertical=1]="vertical"}(t.SelectionDirection||(t.SelectionDirection={}))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(3).loadStyles([{rawString:".root_230ba5c2{-webkit-font-smoothing:antialiased;background-color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:";border:1px solid "},{theme:"neutralLight",defaultValue:"#eaeaea"},{rawString:";-webkit-box-sizing:border-box;box-sizing:border-box;max-width:320px;min-width:206px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative}.rootIsActionable_230ba5c2:hover{cursor:pointer;border-color:"},{theme:"neutralTertiaryAlt",defaultValue:"#c8c8c8"},{rawString:"}.rootIsActionable_230ba5c2:hover:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid "},{theme:"neutralTertiaryAlt",defaultValue:"#c8c8c8"},{rawString:";pointer-events:none}.location_230ba5c2+.title_230ba5c2{padding-top:4px}.rootIsCompact_230ba5c2{display:-webkit-box;display:-ms-flexbox;display:flex;max-width:480px;height:109px}.rootIsCompact_230ba5c2 .ms-DocumentCard-details{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.rootIsCompact_230ba5c2 .preview_230ba5c2{border-bottom:none;max-height:106px;max-width:144px}.rootIsCompact_230ba5c2 .preview_230ba5c2 .icon_230ba5c2 .ms-Image-image{max-height:32px;max-width:32px}html[dir='ltr'] .rootIsCompact_230ba5c2 .preview_230ba5c2{border-right:1px solid "},{theme:"neutralLight",defaultValue:"#eaeaea"},{rawString:"}html[dir='rtl'] .rootIsCompact_230ba5c2 .preview_230ba5c2{border-left:1px solid "},{theme:"neutralLight",defaultValue:"#eaeaea"},{rawString:"}.rootIsCompact_230ba5c2 .previewIconContainer_230ba5c2{height:100%}.rootIsCompact_230ba5c2 .title_230ba5c2{padding:12px 16px 8px 16px;font-size:15px;font-weight:400;line-height:16px}.rootIsCompact_230ba5c2 .activity_230ba5c2{padding-bottom:12px}.actions_230ba5c2{height:34px;padding:4px 12px;position:relative}.action_230ba5c2{color:"},{theme:"neutralSecondary",defaultValue:"#666666"},{rawString:";cursor:pointer}html[dir='ltr'] .action_230ba5c2{float:left}html[dir='rtl'] .action_230ba5c2{float:right}[dir='ltr'] .action_230ba5c2{margin-right:4px}[dir='rtl'] .action_230ba5c2{margin-left:4px}.action_230ba5c2 .ms-Button{font-size:16px;height:34px;width:34px}.action_230ba5c2 .ms-Button:hover .ms-Button-icon{color:#1174c3;cursor:pointer}.views_230ba5c2{line-height:34px}html[dir='ltr'] .views_230ba5c2{text-align:right}html[dir='rtl'] .views_230ba5c2{text-align:left}.views_230ba5c2 .ms-Icon{font-size:16px;vertical-align:top}[dir='ltr'] .views_230ba5c2 .ms-Icon{margin-right:4px}[dir='rtl'] .views_230ba5c2 .ms-Icon{margin-left:4px}.activity_230ba5c2{padding:8px 16px;position:relative}html[dir='ltr'] .activityIsMultiplePeople_230ba5c2 .avatar_230ba5c2:nth-of-type(2){margin-left:-16px}html[dir='rtl'] .activityIsMultiplePeople_230ba5c2 .avatar_230ba5c2:nth-of-type(2){margin-right:-16px}[dir='ltr'] .activityIsMultiplePeople_230ba5c2 .activityDetails_230ba5c2{left:72px}[dir='rtl'] .activityIsMultiplePeople_230ba5c2 .activityDetails_230ba5c2{right:72px}.avatars_230ba5c2{height:32px}html[dir='ltr'] .avatars_230ba5c2{margin-left:-2px}html[dir='rtl'] .avatars_230ba5c2{margin-right:-2px}.avatar_230ba5c2{display:inline-block;vertical-align:top;position:relative;text-align:center;width:32px;height:32px}.avatar_230ba5c2:after{content:'';position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border:2px solid #fafafa;border-radius:50%}.activityDetails_230ba5c2{height:32px;position:absolute;top:8px;width:calc(100% - 72px)}[dir='ltr'] .activityDetails_230ba5c2{left:56px}[dir='rtl'] .activityDetails_230ba5c2{right:56px}.name_230ba5c2,.activityActivity_230ba5c2{display:block;font-size:12px;font-weight:400;color:"},{theme:"neutralSecondaryAlt",defaultValue:"#767676"},{rawString:";line-height:15px;height:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.name_230ba5c2{color:"},{theme:"neutralPrimary",defaultValue:"#333333"},{rawString:";font-weight:600}.location_230ba5c2{font-size:12px;font-weight:400;color:"},{theme:"neutralPrimary",defaultValue:"#333333"},{rawString:";display:block;padding:8px 16px;position:relative;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.location_230ba5c2:hover{color:"},{theme:"themePrimary",defaultValue:"#0078d7"},{rawString:";cursor:pointer}.preview_230ba5c2{border-bottom:1px solid "},{theme:"neutralLight",defaultValue:"#eaeaea"},{rawString:";position:relative;background-color:"},{theme:"neutralLighterAlt",defaultValue:"#f8f8f8"},{rawString:";overflow:hidden}.preview_230ba5c2.previewIsFileList_230ba5c2{background-color:"},{theme:"white",defaultValue:"#ffffff"},{rawString:"}.previewIconContainer_230ba5c2{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.icon_230ba5c2{bottom:10px;position:absolute}[dir='ltr'] .icon_230ba5c2{left:10px}[dir='rtl'] .icon_230ba5c2{right:10px}.fileList_230ba5c2{padding:16px 16px 0 16px;list-style-type:none;margin:0}html[dir='rtl'] .fileList_230ba5c2{padding:16px 16px 0 16px}.fileList_230ba5c2 li{height:16px;line-height:16px;margin-bottom:8px;overflow:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap}[dir='ltr'] .fileList_230ba5c2 li{padding-left:24px}[dir='rtl'] .fileList_230ba5c2 li{padding-right:24px}.fileList_230ba5c2 a{font-size:12px;text-decoration:none;color:"},{theme:"neutralDark",defaultValue:"#212121"},{rawString:"}.fileList_230ba5c2 a:hover{color:"},{theme:"themePrimary",defaultValue:"#0078d7"},{rawString:"}.fileListIcon_230ba5c2{position:absolute;top:0}[dir='ltr'] .fileListIcon_230ba5c2{left:0}[dir='rtl'] .fileListIcon_230ba5c2{right:0}.fileListMore_230ba5c2{padding:0px 16px 8px 16px;display:block;font-size:12px}html[dir='rtl'] .fileListMore_230ba5c2{padding:0px 16px 8px 16px}.title_230ba5c2{padding:8px 16px;display:block;font-size:17px;font-weight:300;color:"},{theme:"neutralPrimary",defaultValue:"#333333"},{rawString:";height:38px;line-height:21px;overflow:hidden;word-wrap:break-word}\n"}]),t.root="root_230ba5c2",t.rootIsActionable="rootIsActionable_230ba5c2",t.location="location_230ba5c2",t.title="title_230ba5c2",t.rootIsCompact="rootIsCompact_230ba5c2",t.preview="preview_230ba5c2",t.icon="icon_230ba5c2",t.previewIconContainer="previewIconContainer_230ba5c2",t.activity="activity_230ba5c2",t.actions="actions_230ba5c2",t.action="action_230ba5c2",t.views="views_230ba5c2",t.activityIsMultiplePeople="activityIsMultiplePeople_230ba5c2",t.avatar="avatar_230ba5c2",t.activityDetails="activityDetails_230ba5c2",t.avatars="avatars_230ba5c2",t.name="name_230ba5c2",t.activityActivity="activityActivity_230ba5c2",t.previewIsFileList="previewIsFileList_230ba5c2",t.fileList="fileList_230ba5c2",t.fileListIcon="fileListIcon_230ba5c2",t.fileListMore="fileListMore_230ba5c2"},function(e,t,o){e.exports=o(192)()},function(e,t,o){"use strict";function i(e,t){var o=new Date(e.getTime());return o.setDate(o.getDate()+t),o}function n(e,t){return i(e,t*P.default.DaysInOneWeek)}function r(e,t){var o=new Date(e.getTime()),n=o.getMonth()+t;return o.setMonth(n),o.getMonth()!==(n%P.default.MonthInOneYear+P.default.MonthInOneYear)%P.default.MonthInOneYear&&(o=i(o,-o.getDate())),o}function a(e,t){var o=new Date(e.getTime());return o.setFullYear(e.getFullYear()+t),o.getMonth()!==(e.getMonth()%P.default.MonthInOneYear+P.default.MonthInOneYear)%P.default.MonthInOneYear&&(o=i(o,-o.getDate())),o}function s(e){return new Date(e.getFullYear(),e.getMonth(),1,0,0,0,0)}function l(e){return new Date(e.getFullYear(),e.getMonth()+1,0,0,0,0,0)}function c(e){return new Date(e.getFullYear(),0,1,0,0,0,0)}function d(e){return new Date(e.getFullYear()+1,0,0,0,0,0,0)}function u(e,t){return r(e,t-e.getMonth())}function p(e,t){return!e&&!t||!(!e||!t)&&(e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate())}function h(e,t){return y(e)-y(t)}function f(e,t,o,n){var a,s=new Array,l=null;switch(n||(n=[C.DayOfWeek.Monday,C.DayOfWeek.Tuesday,C.DayOfWeek.Wednesday,C.DayOfWeek.Thursday,C.DayOfWeek.Friday]),t){case C.DateRangeType.Day:a=b(e),l=i(a,1);break;case C.DateRangeType.Week:case C.DateRangeType.WorkWeek:a=v(b(e),o),l=i(a,P.default.DaysInOneWeek);break;case C.DateRangeType.Month:a=new Date(e.getFullYear(),e.getMonth(),1),l=r(a,1);break;default:return D.assertNever(t)}var c=a;do{t!==C.DateRangeType.WorkWeek?s.push(c):n.includes(c.getDay())&&s.push(c),c=i(c,1)}while(!p(c,l));return s}function m(e,t){for(var o=0,i=t;o<i.length;o++){if(p(e,i[o]))return!0}return!1}function _(e,t,o,i){var n=i.getFullYear(),r=i.getMonth(),a=1,s=new Date(n,r,a),l=a+(t+P.default.DaysInOneWeek-1)-I(t,s.getDay()),c=new Date(n,r,l);a=c.getDate();for(var d=[],u=0;u<e;u++)d.push(g(c,t,o)),a+=P.default.DaysInOneWeek,c=new Date(n,r,a);return d}function g(e,t,o){switch(o){case C.FirstWeekOfYear.FirstFullWeek:return x(e,t,P.default.DaysInOneWeek);case C.FirstWeekOfYear.FirstFourDayWeek:return x(e,t,4);default:return S(e,t)}}function b(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())}function v(e,t){var o=t-e.getDay();return o>0&&(o-=P.default.DaysInOneWeek),i(e,o)}function y(e){return e.getDate()+(e.getMonth()<<5)+(e.getFullYear()<<9)}function x(e,t,o){var i=k(e)-1,n=e.getDay(),r=e.getDay()-i%P.default.DaysInOneWeek,a=new Date(e.getFullYear()-1,C.MonthOfYear.December,31),s=k(a)-1,l=(I(t,n),(t-r+2*P.default.DaysInOneWeek)%P.default.DaysInOneWeek);0!==l&&l>=o&&(l-=P.default.DaysInOneWeek);var c=i-l;return c<0&&(r-=s%P.default.DaysInOneWeek,l=(t-r+2*P.default.DaysInOneWeek)%P.default.DaysInOneWeek,0!==l&&l+1>=o&&(l-=P.default.DaysInOneWeek),c=s-l),Math.floor(c/P.default.DaysInOneWeek+1)}function S(e,t){var o=k(e)-1,i=e.getDay()-o%P.default.DaysInOneWeek,n=(i-t+2*P.default.DaysInOneWeek)%P.default.DaysInOneWeek;return Math.floor((o+n)/P.default.DaysInOneWeek+1)}function I(e,t){return e!==C.DayOfWeek.Sunday&&t<e?t+P.default.DaysInOneWeek:t}function k(e){for(var t=e.getMonth(),o=e.getFullYear(),i=0,n=0;n<t;n++)i+=w(n+1,o);return i+=e.getDate()}function w(e,t){return new Date(t,e,0).getDate()}Object.defineProperty(t,"__esModule",{value:!0});var C=o(45),P=o(299),D=o(2);t.addDays=i,t.addWeeks=n,t.addMonths=r,t.addYears=a,t.getMonthStart=s,t.getMonthEnd=l,t.getYearStart=c,t.getYearEnd=d,t.setMonth=u,t.compareDates=p,t.compareDatePart=h,t.getDateRangeArray=f,t.isInDateRangeArray=m,t.getWeekNumbersInMonth=_,t.getWeekNumber=g},function(e,t,o){"use strict";function i(e){return b(e)||S(e)||x(e)||v(e)||y(e)||I(e)||k(e)}function n(e,t,o){return[g(e),g(t),g(o)].join("")}function r(e,t,o){var i=d(e,t,o);return n(i.r,i.g,i.b)}function a(e,t,o){var i,n,r=NaN,a=Math.max(e,t,o),s=Math.min(e,t,o),l=a-s;return 0===l?r=0:e===a?r=(t-o)/l%6:t===a?r=(o-e)/l+2:o===a&&(r=(e-t)/l+4),r=Math.round(60*r),r<0&&(r+=360),i=Math.round(100*(0===a?0:l/a)),n=Math.round(a/255*100),{h:r,s:i,v:n}}function s(e,t,o){return t*=(o<50?o:100-o)/100,{h:e,s:2*t/(o+t)*100,v:o+t}}function l(e,o,i){o/=t.MAX_COLOR_SATURATION,i/=t.MAX_COLOR_VALUE;var n=(2-o)*i,r=o*i;return r/=n<=1?n:2-n,r=r||0,n/=2,{h:e,s:100*r,l:100*n}}function c(e,t,o){var i=s(e,t,o);return d(i.h,i.s,i.v)}function d(e,o,i){o/=100,i/=100;var n=[],r=i*o,a=e/60,s=r*(1-Math.abs(a%2-1)),l=i-r;switch(Math.floor(a)){case 0:n=[r,s,0];break;case 1:n=[s,r,0];break;case 2:n=[0,r,s];break;case 3:n=[0,s,r];break;case 4:n=[s,0,r];break;case 5:n=[r,0,s]}return{r:Math.round(t.MAX_COLOR_RGBA*(n[0]+l)),g:Math.round(t.MAX_COLOR_RGBA*(n[1]+l)),b:Math.round(t.MAX_COLOR_RGBA*(n[2]+l))}}function u(e){var t=i(e);if(t){var o=t.a,r=t.b,s=t.g,l=t.r,c=a(l,s,r),d=c.h,u=c.s,p=c.v;return{a:o,b:r,g:s,h:d,hex:n(l,s,r),r:l,s:u,str:e,v:p}}}function p(e){var t=e.a,o=e.b,i=e.g,r=e.r,s=a(r,i,o),l=s.h,c=s.s,d=s.v,u=n(r,i,o);return{a:t,b:o,g:i,h:l,hex:u,r:r,s:c,str:100===t?"#"+u:"rgba("+r+", "+i+", "+o+", "+t/100+")",v:d}}function h(e){return"#"+r(e.h,t.MAX_COLOR_SATURATION,t.MAX_COLOR_VALUE)}function f(e,t,o){var i=d(e.h,t,o),r=i.r,a=i.g,s=i.b,l=n(r,a,s);return{a:e.a,b:s,g:a,h:e.h,hex:l,r:r,s:t,str:100===e.a?"#"+l:"rgba("+r+", "+a+", "+s+", "+e.a/100+")",v:o}}function m(e,t){var o=d(t,e.s,e.v),i=o.r,r=o.g,a=o.b,s=n(i,r,a);return{a:e.a,b:a,g:r,h:t,hex:s,r:i,s:e.s,str:100===e.a?"#"+s:"rgba("+i+", "+r+", "+a+", "+e.a/100+")",v:e.v}}function _(e,t){return w.assign({},e,{a:t,str:100===t?"#"+e.hex:"rgba("+e.r+", "+e.g+", "+e.b+", "+t/100+")"})}function g(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function b(e){var t=C.COLOR_VALUES[e.toLowerCase()];if(t)return{r:t[0],g:t[1],b:t[2],a:100}}function v(e){if(0===e.indexOf("rgb(")){e=e.match(/rgb\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2],a:100}}}function y(e){if(0===e.indexOf("rgba(")){e=e.match(/rgba\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number);return{r:t[0],g:t[1],b:t[2],a:100*t[3]}}}function x(e){if("#"===e[0]&&7===e.length)return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:100}}function S(e){if("#"===e[0]&&4===e.length)return{r:parseInt(e[1]+e[1],16),g:parseInt(e[2]+e[2],16),b:parseInt(e[3]+e[3],16),a:100}}function I(e){if(0===e.indexOf("hsl(")){e=e.match(/hsl\(([^)]+)\)/)[1];var t=e.split(/ *, */),o=parseInt(t[0],10),i=parseInt(t[1],10),n=parseInt(t[2],10),r=c(o,i,n);return r.a=100,r}}function k(e){if(0===e.indexOf("hsla(")){e=e.match(/hsla\(([^)]+)\)/)[1];var t=e.split(/ *, */),o=parseInt(t[0],10),i=parseInt(t[1],10),n=parseInt(t[2],10),r=100*parseInt(t[3],10),a=c(o,i,n);return a.a=r,a}}Object.defineProperty(t,"__esModule",{value:!0});var w=o(2),C=o(318);t.MAX_COLOR_SATURATION=100,t.MAX_COLOR_HUE=359,t.MAX_COLOR_VALUE=100,t.MAX_COLOR_RGBA=255,t.cssColor=i,t.rgb2hex=n,t.hsv2hex=r,t.rgb2hsv=a,t.hsl2hsv=s,t.hsv2hsl=l,t.hsl2rgb=c,t.hsv2rgb=d,t.getColorFromString=u,t.getColorFromRGBA=p,t.getFullColorString=h,t.updateSV=f,t.updateH=m,t.updateA=_},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(400),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(438),t)},,function(e,t,o){"use strict";function i(e){var t=document.createElement("style");return t.setAttribute("data-merge-styles","true"),t.type="text/css",e&&t.appendChild(document.createTextNode(e)),document.head.appendChild(t),t}Object.defineProperty(t,"__esModule",{value:!0});var n=o(0);!function(e){e[e.none=0]="none",e[e.insertNode=1]="insertNode",e[e.appendChild=2]="appendChild"}(t.InjectionMode||(t.InjectionMode={}));var r,a=function(){function e(e){this._config=n.__assign({injectionMode:1,defaultPrefix:"css"},e),this.reset()}return e.getInstance=function(){var t="undefined"!=typeof window?window:{};if(!(r=t.__stylesheet__)){var o=t&&t.FabricConfig||{};r=t.__stylesheet__=new e(o.mergeStyles)}return r},e.prototype.setConfig=function(e){this._config=n.__assign({},this._config,e)},e.prototype.getClassName=function(e){return(e||this._config.defaultPrefix)+"-"+this._counter++},e.prototype.cacheClassName=function(e,t,o,i){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:o,rules:i}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e){var t=this._getElement();switch(t?this._config.injectionMode:0){case 1:var o=t.sheet;try{o.insertRule(e,o.cssRules.length)}catch(e){}break;case 2:i(e);break;default:this._rules.push(e)}this._config.onInsertRule&&this._config.onInsertRule(e)},e.prototype.getRules=function(){return(this._rules.join("")||"")+(this._rulesToInsert.join("")||"")},e.prototype.reset=function(){this._rules=[],this._rulesToInsert=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._timerId&&(clearTimeout(this._timerId),this._timerId=0)},e.prototype._getElement=function(){return this._styleElement||"undefined"==typeof document||(this._styleElement=i()),this._styleElement},e}();t.Stylesheet=a},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(t.DayOfWeek||(t.DayOfWeek={}));!function(e){e[e.January=0]="January",e[e.February=1]="February",e[e.March=2]="March",e[e.April=3]="April",e[e.May=4]="May",e[e.June=5]="June",e[e.July=6]="July",e[e.August=7]="August",e[e.September=8]="September",e[e.October=9]="October",e[e.November=10]="November",e[e.December=11]="December"}(t.MonthOfYear||(t.MonthOfYear={}));!function(e){e[e.FirstDay=0]="FirstDay",e[e.FirstFullWeek=1]="FirstFullWeek",e[e.FirstFourDayWeek=2]="FirstFourDayWeek"}(t.FirstWeekOfYear||(t.FirstWeekOfYear={}));!function(e){e[e.Day=0]="Day",e[e.Week=1]="Week",e[e.Month=2]="Month",e[e.WorkWeek=3]="WorkWeek"}(t.DateRangeType||(t.DateRangeType={}))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),n=o(2),r=o(338),a=r;t.GroupSpacer=function(e){return e.count>0&&i.createElement("span",{className:n.css("ms-GroupSpacer",a.root),style:{width:36*e.count}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(0).__exportStar(o(249),t)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header"}(t.SelectableOptionMenuItemType||(t.SelectableOptionMenuItemType={}))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,o,i,n){var r;if(e._isElement(t)){if(document.createEvent){var a=document.createEvent("HTMLEvents");a.initEvent(o,n||!1,!0),a.args=i,r=t.dispatchEvent(a)}else if(document.createEventObject){var s=document.createEventObject(i);t.fireEvent("on"+o,s)}}else for(;t&&!1!==r;){var l=t.__events__,c=l?l[o]:null;if(c)for(var d in c)if(c.hasOwnProperty(d))for(var u=c[d],p=0;!1!==r&&p<u.length;p++){var h=u[p];h.objectCallback&&(r=h.objectCallback.call(h.parent,i))}t=n?t.parent:null}return r},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 i in t)t.hasOwnProperty(i)&&this.on(e,i,t[i],o)},e.prototype.on=function(t,o,i,n){var r=this;if(o.indexOf(",")>-1)for(var a=o.split(/[ ,]+/),s=0;s<a.length;s++)this.on(t,a[s],i,n);else{var l=this._parent,c={target:t,eventName:o,parent:l,callback:i,useCapture:n||!1},a=t.__events__=t.__events__||{};if(a[o]=a[o]||{count:0},a[o][this._id]=a[o][this._id]||[],a[o][this._id].push(c),a[o].count++,e._isElement(t)){var d=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!r._isDisposed){var o;try{if(!1===(o=i.apply(l,e))&&e[0]){var n=e[0];n.preventDefault&&n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.cancelBubble=!0}}catch(n){}return o}};c.elementCallback=d,t.addEventListener?t.addEventListener(o,d,n):t.attachEvent&&t.attachEvent("on"+o,d)}else{var u=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!r._isDisposed)return i.apply(l,e)};c.objectCallback=u}this._eventRecords.push(c)}},e.prototype.off=function(e,t,o,i){for(var n=0;n<this._eventRecords.length;n++){var r=this._eventRecords[n];if(!(e&&e!==r.target||t&&t!==r.eventName||o&&o!==r.callback||"boolean"==typeof i&&i!==r.useCapture)){var a=r.target.__events__,s=a[r.eventName],l=s?s[this._id]:null;l&&(1!==l.length&&o?(s.count--,l.splice(l.indexOf(r),1)):(s.count-=l.length,delete a[r.eventName][this._id]),s.count||delete a[r.eventName]),r.elementCallback&&(r.target.removeEventListener?r.target.removeEventListener(r.eventName,r.elementCallback,r.useCapture):r.target.detachEvent&&r.target.detachEvent("on"+r.eventName,r.elementCallback)),this._eventRecords.splice(n--,1)}}},e.prototype.raise=function(t,o,i){return e.raise(this._parent,t,o,i)},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}();t.EventGroup=i},function(e,t,o){"use strict";function i(e){var t=e&&e["&"];return t?t.displayName:void 0}function n(e,t,o){void 0===t&&(t={__order:[]}),void 0===o&&(o="&");var i=u.Stylesheet.getInstance(),a=t[o];a||(a={},t[o]=a,t.__order.push(o));for(var s=0,l=e;s<l.length;s++){var c=l[s];if("string"==typeof c){var d=i.argsFromClassName(c);d&&n(d,t,o)}else if(Array.isArray(c))n(c,t,o);else for(var p in c)if("selectors"===p){var h=c.selectors;for(var f in h)if(h.hasOwnProperty(f)){var m=h[f];0===f.indexOf("@media")?f=f+"{"+o:0===f.indexOf(":")?f=o+f:f.indexOf("&")<0&&(f=o+" "+f),n([m],t,f)}}else"margin"===p||"padding"===p?r(a,p,c[p]):a[p]=c[p]}return t}function r(e,t,o){var i="string"==typeof o?o.split(" "):[o];e[t+"Top"]=i[0],e[t+"Right"]=i[1]||i[0],e[t+"Bottom"]=i[2]||i[0],e[t+"Left"]=i[3]||i[1]||i[0]}function a(e){for(var t=[],o=!1,i=0,n=e.__order;i<n.length;i++){var r=n[i];t.push(r);var a=e[r];for(var s in a)a.hasOwnProperty(s)&&void 0!==a[s]&&(o=!0,t.push(s,a[s]))}return o?t.join(""):void 0}function s(e){if(!e)return"";var t=[];for(var o in e)e.hasOwnProperty(o)&&o!==_&&void 0!==e[o]&&t.push(o,e[o]);for(var i=0;i<t.length;i+=2)p.kebabRules(t,i),f.provideUnits(t,i),m.rtlifyRules(t,i),h.prefixRules(t,i);for(var i=1;i<t.length;i+=4)t.splice(i,1,":",t[i],";");return t.join("")}function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=n(e),r=a(o);if(r){var l=u.Stylesheet.getInstance(),c={className:l.classNameFromKey(r),key:r,args:e};if(!c.className){c.className=l.getClassName(i(o));for(var d=[],p=0,h=o.__order;p<h.length;p++){var f=h[p];d.push(f,s(o[f]))}c.rulesToInsert=d}return c}}function c(e,t){var o=u.Stylesheet.getInstance(),i=e.className,n=e.key,r=e.args,a=e.rulesToInsert;if(a){for(var s=0;s<a.length;s+=2){var l=a[s+1];if(l){var c=a[s];c=c.replace(/(&)|\$([\w-]+)\b/g,function(o,i,n){return i?"."+e.className:n?"."+(t&&t[n]||n):""});var d=c+"{"+l+"}"+(0===c.indexOf("@media")?"}":"");o.insertRule(d)}}o.cacheClassName(i,n,r,a)}}function d(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=l.apply(void 0,e);return o?(c(o),o.className):""}Object.defineProperty(t,"__esModule",{value:!0});var u=o(44),p=o(205),h=o(206),f=o(208),m=o(209),_="displayName";t.serializeRuleEntries=s,t.styleToRegistration=l,t.applyRegistration=c,t.styleToClassName=d},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(0),n=o(233);t.AnimationStyles=n.AnimationStyles,t.AnimationVariables=n.AnimationVariables;var r=o(74);t.DefaultPalette=r.DefaultPalette;var a=o(113);t.DefaultFontStyles=a.DefaultFontStyles,t.registerDefaultFontFaces=a.registerDefaultFontFaces;var s=o(114);t.FontSizes=s.FontSizes,t.FontWeights=s.FontWeights,t.IconFontSizes=s.IconFontSizes,t.createFontStyles=s.createFontStyles;var l=o(234);t.getFocusStyle=l.getFocusStyle,t.focusClear=l.focusClear;var c=o(235);t.hiddenContentStyle=c.hiddenContentStyle;var d=o(236);t.ThemeSettingName=d.ThemeSettingName,t.getTheme=d.getTheme,t.loadTheme=d.loadTheme,t.createTheme=d.createTheme,t.registerOnThemeChangeCallback=d.registerOnThemeChangeCallback,t.removeOnThemeChangeCallback=d.removeOnThemeChangeCallback,i.__exportStar(o(237),t);var u=o