sp-dev-fx-webparts/samples/react-groups-teams/release/assets/microsoft-groups-web-part_d...

1 line
72 KiB
JavaScript

define("5ced32db-af85-469a-a3cb-39f3986e1f1a_1.0.1",["@microsoft/sp-core-library","@microsoft/sp-webpart-base","react","react-dom","MicrosoftGroupsWebPartStrings"],function(e,t,n,r,o){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="wV+y")}({"4Qvb":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r={};function o(e,t){if("undefined"!=typeof window){var n=window.__packages__=window.__packages__||{};n[e]&&r[e]||(r[e]=t,(n[e]=n[e]||[]).push(t))}}},"5AgF":function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return l});var r,o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a="undefined"==typeof window?e:window,i=a&&a.CSPSettings&&a.CSPSettings.nonce,s=((r=a.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]}).runState||(r=o(o({},r),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),r.registeredThemableStyles||(r=o(o({},r),{registeredThemableStyles:[]})),a.__themeState__=r,r);function l(e){s.theme=e,function(){if(s.theme){for(var e=[],t=0,n=s.registeredThemableStyles;t<n.length;t++){var r=n[t];e.push(r.themableStyle)}e.length>0&&(void 0===(a=1)&&(a=3),3!==a&&2!==a||(c(s.registeredStyles),s.registeredStyles=[]),3!==a&&1!==a||(c(s.registeredThemableStyles),s.registeredThemableStyles=[]),o=[].concat.apply([],e),s.loadStyles?s.loadStyles(u(o).styleString,o):function(e){if("undefined"!=typeof document){var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),r=u(e),o=r.styleString,a=r.themable;n.setAttribute("data-load-themed-styles","true"),i&&n.setAttribute("nonce",i),n.appendChild(document.createTextNode(o)),s.perf.count++,t.appendChild(n);var l=document.createEvent("HTMLEvents");l.initEvent("styleinsert",!0,!1),l.args={newStyle:n},document.dispatchEvent(l);var c={styleElement:n,themableStyle:e};a?s.registeredThemableStyles.push(c):s.registeredStyles.push(c)}}(o))}var o,a}()}function c(e){e.forEach(function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)})}function u(e){var t=s.theme,n=!1;return{styleString:(e||[]).map(function(e){var r=e.theme;if(r){n=!0;var o=t?t[r]:void 0,a=e.defaultValue||"inherit";return t&&!o&&console,o||a}return e.rawString}).join(""),themable:n}}}).call(this,n("yLpj"))},JPst:function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n,r,o,a=e[1]||"",i=e[3];if(!i)return a;if(t&&"function"==typeof btoa){var s=(n=i,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(o," */")),l=i.sources.map(function(e){return"/*# sourceURL=".concat(i.sourceRoot).concat(e," */")});return[a].concat(l).concat([s]).join("\n")}return[a].join("\n")}(t,e);return t[2]?"@media ".concat(t[2],"{").concat(n,"}"):n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var a=this[o][0];null!=a&&(r[a]=!0)}for(var i=0;i<e.length;i++){var s=e[i];null!=s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="(".concat(s[2],") and (").concat(n,")")),t.push(s))}},t}},UWqr:function(t,n){t.exports=e},br4S:function(e,n){e.exports=t},cDcd:function(e,t){e.exports=n},faye:function(e,t){e.exports=r},rCeK:function(e,t,n){var r=n("xP+B"),o=n("ruv1");"string"==typeof r&&(r=[[e.i,r]]);for(var a=0;a<r.length;a++)o.loadStyles(r[a][1],!0);r.locals&&(e.exports=r.locals)},ruv1:function(e,t,n){"use strict";(function(e){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.splitStyles=t.detokenize=t.clearStyles=t.loadTheme=t.flush=t.configureRunMode=t.configureLoadStyles=t.loadStyles=void 0;var r,o="undefined"==typeof window?e:window,a=o&&o.CSPSettings&&o.CSPSettings.nonce,i=((r=o.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]}).runState||(r=n(n({},r),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),r.registeredThemableStyles||(r=n(n({},r),{registeredThemableStyles:[]})),o.__themeState__=r,r),s=/[\'\"]\[theme:\s*(\w+)\s*(?:\,\s*default:\s*([\\"\']?[\.\,\(\)\#\-\s\w]*[\.\,\(\)\#\-\w][\"\']?))?\s*\][\'\"]/g,l=function(){return"undefined"!=typeof performance&&performance.now?performance.now():Date.now()};function c(e){var t=l();e();var n=l();i.perf.duration+=n-t}function u(){c(function(){var e=i.runState.buffer.slice();i.runState.buffer=[];var t=[].concat.apply([],e);t.length>0&&d(t)})}function d(e,t){i.loadStyles?i.loadStyles(f(e).styleString,e):function(e){if("undefined"!=typeof document){var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),r=f(e),o=r.styleString,s=r.themable;n.setAttribute("data-load-themed-styles","true"),a&&n.setAttribute("nonce",a),n.appendChild(document.createTextNode(o)),i.perf.count++,t.appendChild(n);var l=document.createEvent("HTMLEvents");l.initEvent("styleinsert",!0,!1),l.args={newStyle:n},document.dispatchEvent(l);var c={styleElement:n,themableStyle:e};s?i.registeredThemableStyles.push(c):i.registeredStyles.push(c)}}(e)}function p(e){void 0===e&&(e=3),3!==e&&2!==e||(m(i.registeredStyles),i.registeredStyles=[]),3!==e&&1!==e||(m(i.registeredThemableStyles),i.registeredThemableStyles=[])}function m(e){e.forEach(function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)})}function f(e){var t=i.theme,n=!1;return{styleString:(e||[]).map(function(e){var r=e.theme;if(r){n=!0;var o=t?t[r]:void 0,a=e.defaultValue||"inherit";return t&&!o&&console,o||a}return e.rawString}).join(""),themable:n}}function h(e){var t=[];if(e){for(var n=0,r=void 0;r=s.exec(e);){var o=r.index;o>n&&t.push({rawString:e.substring(n,o)}),t.push({theme:r[1],defaultValue:r[2]}),n=s.lastIndex}t.push({rawString:e.substring(n)})}return t}t.loadStyles=function(e,t){void 0===t&&(t=!1),c(function(){var n=Array.isArray(e)?e:h(e),r=i.runState,o=r.mode,a=r.buffer,s=r.flushTimer;t||1===o?(a.push(n),s||(i.runState.flushTimer=setTimeout(function(){i.runState.flushTimer=0,u()},0))):d(n)})},t.configureLoadStyles=function(e){i.loadStyles=e},t.configureRunMode=function(e){i.runState.mode=e},t.flush=u,t.loadTheme=function(e){i.theme=e,function(){if(i.theme){for(var e=[],t=0,n=i.registeredThemableStyles;t<n.length;t++){var r=n[t];e.push(r.themableStyle)}e.length>0&&(p(1),d([].concat.apply([],e)))}}()},t.clearStyles=p,t.detokenize=function(e){return e&&(e=f(h(e)).styleString),e},t.splitStyles=h}).call(this,n("yLpj"))},"wV+y":function(e,t,n){"use strict";n.r(t);var r=n("cDcd"),o=n("faye"),a=n("UWqr"),i=n("br4S"),s=n("zSn3");n("rCeK");var l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function c(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function d(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function p(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles)return e[0];for(var n={},r={},o=0,a=e;o<a.length;o++){var i=a[o];if(i)for(var s in i)if(i.hasOwnProperty(s)){if("subComponentStyles"===s&&void 0!==i.subComponentStyles){var l=i.subComponentStyles;for(var c in l)l.hasOwnProperty(c)&&(r.hasOwnProperty(c)?r[c].push(l[c]):r[c]=[l[c]]);continue}var u=n[s],d=i[s];n[s]=void 0===u?d:(Array.isArray(u)?u:[u]).concat(Array.isArray(d)?d:[d])}}if(Object.keys(r).length>0){n.subComponentStyles={};var m=n.subComponentStyles,f=function(e){if(r.hasOwnProperty(e)){var t=r[e];m[e]=function(e){return p.apply(void 0,t.map(function(t){return"function"==typeof t?t(e):t}))}}};for(var c in r)f(c)}return n}var m=void 0;try{m=window}catch(e){}function f(e){if(void 0!==m){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:m}}var h=0,g=function(){function e(){}return e.getValue=function(e,t){var n=y();return void 0===n[e]&&(n[e]="function"==typeof t?t():t),n[e]},e.setValue=function(e,t){var n=y(),r=n.__callbacks__,o=n[e];if(t!==o){n[e]=t;var a={oldValue:o,value:t,key:e};for(var i in r)r.hasOwnProperty(i)&&r[i](a)}return t},e.addChangeListener=function(e){var t=e.__id__,n=v();t||(t=e.__id__=String(h++)),n[t]=e},e.removeChangeListener=function(e){delete v()[e.__id__]},e}();function y(){var e,t=f()||{};return t.__globalSettings__||(t.__globalSettings__=((e={}).__callbacks__={},e)),t.__globalSettings__}function v(){return y().__callbacks__}var b,_={settings:{},scopedSettings:{},inCustomizerContext:!1},S=g.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),w=[],x=function(){function e(){}return e.reset=function(){S.settings={},S.scopedSettings={}},e.applySettings=function(t){S.settings=u({},S.settings,t),e._raiseChange()},e.applyScopedSettings=function(t,n){S.scopedSettings[t]=u({},S.scopedSettings[t],n),e._raiseChange()},e.getSettings=function(e,t,n){void 0===n&&(n=_);for(var r={},o=t&&n.scopedSettings[t]||{},a=t&&S.scopedSettings[t]||{},i=0,s=e;i<s.length;i++){var l=s[i];r[l]=o[l]||n.settings[l]||a[l]||S.settings[l]}return r},e.applyBatchedUpdates=function(t,n){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1,n||e._raiseChange()},e.observe=function(e){w.push(e)},e.unobserve=function(e){w=w.filter(function(t){return t!==e})},e._raiseChange=function(){e._suppressUpdates||w.forEach(function(e){return e()})},e}(),C=r.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}}),E=["theme","styles"];function k(e,t,n,o,a){var i=(o=o||{scope:"",fields:void 0}).scope,s=o.fields,l=void 0===s?E:s;return function(o){function a(){var t=null!==o&&o.apply(this,arguments)||this;return t._inCustomizerContext=!1,t._renderContent=function(o){t._inCustomizerContext=!!o.customizations.inCustomizerContext;var a=x.getSettings(l,i,o.customizations),s=a.styles,c=(a.dir,d(a,["styles","dir"])),p=n?n(t.props):void 0;return t._updateStyles(s),r.createElement(e,u({},c,p,t.props,{styles:t._styles}))},t._onSettingsChanged=function(){return t.forceUpdate()},t}return c(a,o),a.prototype.render=function(){return r.createElement(C.Consumer,null,this._renderContent)},a.prototype.componentDidMount=function(){this._inCustomizerContext||x.observe(this._onSettingsChanged)},a.prototype.componentWillUnmount=function(){this._inCustomizerContext||x.unobserve(this._onSettingsChanged)},a.prototype._updateStyles=function(e){var n=this;this._styles&&e===this._styles.__cachedInputs__[1]&&!this.props.styles||(this._styles=function(r){return function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],o=0,a=t;o<a.length;o++){var i=a[o];i&&r.push("function"==typeof i?i(e):i)}return 1===r.length?r[0]:r.length?p.apply(void 0,r):{}}(r,t,e,n.props.styles)},this._styles.__cachedInputs__=[t,e,this.props.styles])},a.displayName="Styled"+(e.displayName||e.name),a}(a?r.PureComponent:r.Component)}!function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(b||(b={}));var N,P={};try{P=window}catch(e){}var T=function(){function e(e){this._rules=[],this._preservedRules=[],this._rulesToInsert=[],this._counter=0,this._keyToClassName={},this._onResetCallbacks=[],this._classNameToArgs={},this._config=u({injectionMode:1,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e)}return e.getInstance=function(){if(!(N=P.__stylesheet__)||N._lastStyleElement&&N._lastStyleElement.ownerDocument!==document){var t=P&&P.FabricConfig||{};N=P.__stylesheet__=new e(t.mergeStyles)}return N},e.prototype.setConfig=function(e){this._config=u({},this._config,e)},e.prototype.onReset=function(e){this._onResetCallbacks.push(e)},e.prototype.getClassName=function(e){var t=this._config.namespace;return(t?t+"-":"")+(e||this._config.defaultPrefix)+"-"+this._counter++},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[t]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[e]},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t){var n=0!==this._config.injectionMode?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),n)switch(this._config.injectionMode){case 1:var r=n.sheet;try{r.insertRule(e,r.cssRules.length)}catch(e){}break;case 2:n.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e)},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")+this._rulesToInsert.join("")},e.prototype.reset=function(){this._rules=[],this._rulesToInsert=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach(function(e){return e()})},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||"undefined"==typeof document||(this._styleElement=this._createStyleElement(),window.requestAnimationFrame(function(){e._styleElement=void 0})),this._styleElement},e.prototype._createStyleElement=function(){var e=document.createElement("style");e.setAttribute("data-merge-styles","true"),e.type="text/css";var t=this._config.cspSettings;return t&&t.nonce&&e.setAttribute("nonce",t.nonce),this._lastStyleElement&&this._lastStyleElement.nextElementSibling?document.head.insertBefore(e,this._lastStyleElement.nextElementSibling):document.head.appendChild(e),this._lastStyleElement=e,e},e}();function L(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=[],r=[],o=T.getInstance();function a(e){for(var t=0,i=e;t<i.length;t++){var s=i[t];if(s)if("string"==typeof s)if(s.indexOf(" ")>=0)a(s.split(" "));else{var l=o.argsFromClassName(s);l?a(l):-1===n.indexOf(s)&&n.push(s)}else Array.isArray(s)?a(s):"object"==typeof s&&r.push(s)}}return a(e),{classes:n,objects:r}}var I,O={MozOsxFontSmoothing:"-moz-osx-font-smoothing",MsHighContrastAdjust:"-ms-high-contrast-adjust",WebkitFontSmoothing:"-webkit-font-smoothing",WebkitOverflowScrolling:"-webkit-overflow-scrolling",WebkitTapHighlightColor:"-webkit-tap-highlight-color",alignContent:"align-content",alignItems:"align-items",alignSelf:"align-self",animation:"animation",animationDelay:"animation-delay",animationDirection:"animation-direction",animationDuration:"animation-duration",animationFillMode:"animation-fill-mode",animationIterationCount:"animation-iteration-count",animationName:"animation-name",animationTimingFunction:"animation-timing-function",background:"background",backgroundClip:"background-clip",backgroundColor:"background-color",backgroundImage:"background-image",backgroundPosition:"background-position",border:"border",borderBottom:"border-bottom",borderBottomColor:"border-bottom-color",borderBottomStyle:"border-bottom-style",borderBottomWidth:"border-bottom-width",borderCollapse:"border-collapse",borderColor:"border-color",borderLeft:"border-left",borderRadius:"border-radius",borderRight:"border-right",borderStyle:"border-style",borderTop:"border-top",borderTopColor:"border-top-color",borderTopLeftRadius:"border-top-left-radius",borderTopRightRadius:"border-top-right-radius",borderTopStyle:"border-top-style",borderTopWidth:"border-top-width",borderWidth:"border-width",bordercolor:"bordercolor",bottom:"bottom",boxShadow:"box-shadow",boxSizing:"box-sizing",clear:"clear",color:"color",content:"content",cursor:"cursor",display:"display",fill:"fill",flex:"flex",flexBasis:"flex-basis",flexDirection:"flex-direction",flexGrow:"flex-grow",flexShrink:"flex-shrink",flexWrap:"flex-wrap",float:"float",font:"font",fontFamily:"font-family",fontSize:"font-size",fontStyle:"font-style",fontWeight:"font-weight",height:"height",justifyContent:"justify-content",left:"left",lineHeight:"line-height",listStyle:"list-style",listStyleType:"list-style-type",marginBottom:"margin-bottom",marginLeft:"margin-left",marginRight:"margin-right",marginTop:"margin-top",maxHeight:"max-height",maxWidth:"max-width",minHeight:"min-height",minWidth:"min-width",mozOsxFontSmoothing:"moz-osx-font-smoothing",objectFit:"object-fit",opacity:"opacity",order:"order",outline:"outline",outlineColor:"outline-color",outlineOffset:"outline-offset",overflow:"overflow",overflowWrap:"overflow-wrap",overflowX:"overflow-x",overflowY:"overflow-y",paddingBottom:"padding-bottom",paddingLeft:"padding-left",paddingRight:"padding-right",paddingTop:"padding-top",perspective:"perspective",pointerEvents:"pointer-events",position:"position",resize:"resize",right:"right",speak:"speak",src:"src",tableLayout:"table-layout",textAlign:"text-align",textDecoration:"text-decoration",textOverflow:"text-overflow",textTransform:"text-transform",top:"top",transform:"transform",transformOrigin:"transform-origin",transition:"transition",transitionDelay:"transition-delay",transitionDuration:"transition-duration",transitionProperty:"transition-property",transitionTimingFunction:"transition-timing-function",userSelect:"user-select",verticalAlign:"vertical-align",visibility:"visibility",webkitFontSmoothing:"webkit-font-smoothing",whiteSpace:"white-space",width:"width",wordBreak:"word-break",wordWrap:"word-wrap",zIndex:"z-index"},M={"user-select":1};function G(e,t){var n=function(){if(!I){var e="undefined"!=typeof document?document:void 0,t="undefined"!=typeof navigator?navigator:void 0,n=t?t.userAgent.toLowerCase():void 0;I=e?{isWebkit:!(!e||!("WebkitAppearance"in e.documentElement.style)),isMoz:!!(n&&n.indexOf("firefox")>-1),isOpera:!!(n&&n.indexOf("opera")>-1),isMs:!(!t||!/rv:11.0/i.test(t.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return I}(),r=e[t];if(M[r]){var o=e[t+1];M[r]&&(n.isWebkit&&e.push("-webkit-"+r,o),n.isMoz&&e.push("-moz-"+r,o),n.isMs&&e.push("-ms-"+r,o),n.isOpera&&e.push("-o-"+r,o))}}var F=["column-count","font-weight","flex-basis","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function A(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var o=-1===F.indexOf(n)?"px":"";e[t+1]=""+r+o}}var D,R="left",B="right",j=((D={})[R]=B,D[B]=R,D),z={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"},U=W();function W(){return void 0===U&&(U="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),U}function V(e,t){if(W()){var n=e[t];if(!n)return;var r=e[t+1];if("string"==typeof r&&r.indexOf("@noflip")>=0)e[t+1]=r.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(n.indexOf(R)>=0)e[t]=n.replace(R,B);else if(n.indexOf(B)>=0)e[t]=n.replace(B,R);else if(String(r).indexOf(R)>=0)e[t+1]=r.replace(R,B);else if(String(r).indexOf(B)>=0)e[t+1]=r.replace(B,R);else if(j[n])e[t]=j[n];else if(z[r])e[t+1]=z[r];else switch(n){case"margin":case"padding":e[t+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return t[0]+" "+t[3]+" "+t[2]+" "+t[1]}return e}(r);break;case"box-shadow":e[t+1]=function(e,t){var n=e.split(" "),r=parseInt(n[0],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(r)}}}function H(e){var t=e&&e["&"];return t?t.displayName:void 0}var K=/\:global\((.+?)\)/g;function q(e){if(!K.test(e))return e;for(var t=[],n=/\:global\((.+?)\)/g,r=null;r=n.exec(e);)r[1].indexOf(",")>-1&&t.push([r.index,r.index+r[0].length,r[1].split(",").map(function(e){return":global("+e.trim()+")"}).join(", ")]);return t.reverse().reduce(function(e,t){var n=t[0],r=t[1],o=t[2];return e.slice(0,n)+o+e.slice(r)},e)}function Q(e,t){return e.indexOf(":global(")>=0?e.replace(K,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function $(e,t,n){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var r=T.getInstance(),o=t[n];o||(o={},t[n]=o,t.__order.push(n));for(var a=0,i=e;a<i.length;a++){var s=i[a];if("string"==typeof s){var l=r.argsFromClassName(s);l&&$(l,t,n)}else if(Array.isArray(s))$(s,t,n);else for(var c in s)if("selectors"===c){var u=s.selectors;for(var d in u)if(u.hasOwnProperty(d)){var p=u[d];0===d.indexOf("@")?$([p],t,d=d+"{"+n):d.indexOf(",")>-1?$([p],t,q(d).split(/,/g).map(function(e){return e.trim()}).map(function(e){return Q(e,n)}).join(", ")):$([p],t,Q(d,n))}}else void 0!==s[c]&&("margin"===c||"padding"===c?J(o,c,s[c]):o[c]=s[c])}return t}function J(e,t,n){var r="string"==typeof n?n.split(" "):[n];e[t+"Top"]=r[0],e[t+"Right"]=r[1]||r[0],e[t+"Bottom"]=r[2]||r[0],e[t+"Left"]=r[3]||r[1]||r[0]}function Z(e){for(var t=[],n=!1,r=0,o=e.__order;r<o.length;r++){var a=o[r];t.push(a);var i=e[a];for(var s in i)i.hasOwnProperty(s)&&void 0!==i[s]&&(n=!0,t.push(s,i[s]))}return n?t.join(""):void 0}function Y(e){if(!e)return"";var t,n,r,o=[];for(var a in e)e.hasOwnProperty(a)&&"displayName"!==a&&void 0!==e[a]&&o.push(a,e[a]);for(var i=0;i<o.length;i+=2)r=void 0,r=(t=o)[n=i],t[n]=O[r]=O[r]||r.replace(/([A-Z])/g,"-$1").toLowerCase(),A(o,i),V(o,i),G(o,i);for(i=1;i<o.length;i+=4)o.splice(i,1,":",o[i],";");return o.join("")}function X(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=$(e),r=Z(n);if(r){var o=T.getInstance(),a={className:o.classNameFromKey(r),key:r,args:e};if(!a.className){a.className=o.getClassName(H(n));for(var i=[],s=0,l=n.__order;s<l.length;s++){var c=l[s];i.push(c,Y(n[c]))}a.rulesToInsert=i}return a}}function ee(e,t){var n=T.getInstance(),r=e.className,o=e.key,a=e.args,i=e.rulesToInsert;if(i){for(var s=0;s<i.length;s+=2){var l=i[s+1];if(l){var c=i[s],u=(c=c.replace(/(&)|\$([\w-]+)\b/g,function(n,r,o){return r?"."+e.className:o?"."+(t&&t[o]||o):""}))+"{"+l+"}"+(0===c.indexOf("@")?"}":"");n.insertRule(u)}}n.cacheClassName(r,o,a,i)}}function te(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=X.apply(void 0,e);return n?(ee(n),n.className):""}var ne=0,re=T.getInstance();function oe(e){void 0===e&&(e={});var t=new Map,n=0,r=ne;return function(o,a){void 0===a&&(a={});var i=t,s=e.disableCaching;return r!==ne&&(r=ne,t=new Map,n=0),e.disableCaching||(i=ie(t,o),i=ie(i,a)),!s&&i.__retval__||(i.__retval__=void 0===o?{}:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n={subComponentStyles:{}},r={},o=e[0];if(!o&&e.length<=1)return{subComponentStyles:{}};var a=o;a=p.apply(void 0,e);var i=[];for(var s in a)if(a.hasOwnProperty(s)){if("subComponentStyles"===s){n.subComponentStyles=a.subComponentStyles||{};continue}var l=a[s],c=L(l),u=c.classes,d=c.objects,m=X({displayName:s},d);i.push(m),m&&(r[s]=m.className,n[s]=u.concat([m.className]).join(" "))}for(var f=0,h=i;f<h.length;f++)(m=h[f])&&ee(m,r);return n}("function"==typeof o?o(a):o),s||n++),n>50&&(t.clear(),n=0,e.disableCaching=!0),i.__retval__}}function ae(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 ie(e,t){if("function"==typeof t&&t.__cachedInputs__)for(var n=0,r=t.__cachedInputs__;n<r.length;n++)e=ae(e,r[n]);else if("object"==typeof t)for(var o in t)t.hasOwnProperty(o)&&(e=ae(e,t[o]));return e}re&&re.onReset&&re.onReset(function(){return ne++});var se=f()||{};void 0===se.__currentId__&&(se.__currentId__=0);var le=T.getInstance();le&&le.onReset&&le.onReset(function(e){void 0===e&&(e=0),se.__currentId__=e});var ce,ue,de,pe=["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"]),me=(pe.concat(["form"]),pe.concat(["height","loop","muted","preload","src","width"]).concat(["poster"]),pe.concat(["start"]),pe.concat(["value"]),pe.concat(["download","href","hrefLang","media","rel","target","type"]),pe.concat(["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"])),fe=(me.concat(["accept","alt","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),me.concat(["cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),me.concat(["form","multiple","required"]),pe.concat(["selected","value"]),pe.concat(["cellPadding","cellSpacing"]),pe.concat(["rowSpan","scope"]),pe.concat(["colSpan","headers","rowSpan","scope"]),pe.concat(["span"]),pe.concat(["span"]),pe.concat(["acceptCharset","action","encType","encType","method","noValidate","target"]),pe.concat(["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),pe.concat(["alt","crossOrigin","height","src","srcSet","useMap","width"]));function he(e,t,n){return function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t=t||{};for(var o=0,a=n;o<a.length;o++){var i=a[o];if(i)for(var s in i)!i.hasOwnProperty(s)||e&&!e(s)||(t[s]=i[s])}return t}(function(e){return(!n||n.indexOf(e)<0)&&(0===e.indexOf("data-")||0===e.indexOf("aria-")||t.indexOf(e)>=0)},{},e)}!function(e){e[e.center=0]="center",e[e.contain=1]="contain",e[e.cover=2]="cover",e[e.none=3]="none",e[e.centerCover=4]="centerCover",e[e.centerContain=5]="centerContain"}(ce||(ce={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(ue||(ue={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}(de||(de={}));var ge=oe(),ye=function(e){function t(t){var n=e.call(this,t)||this;return n._coverStyle=ue.portrait,n._imageElement=r.createRef(),n._frameElement=r.createRef(),n._onImageLoaded=function(e){var t=n.props,r=t.src,o=t.onLoad;o&&o(e),n._computeCoverStyle(n.props),r&&n.setState({loadState:de.loaded})},n._onImageError=function(e){n.props.onError&&n.props.onError(e),n.setState({loadState:de.error})},n.state={loadState:de.notLoaded},n}return c(t,e),t.prototype.componentWillReceiveProps=function(e){e.src!==this.props.src?this.setState({loadState:de.notLoaded}):this.state.loadState===de.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=he(this.props,fe,["width","height"]),t=this.props,n=t.src,o=t.alt,a=t.width,i=t.height,s=t.shouldFadeIn,l=t.shouldStartVisible,c=t.className,d=t.imageFit,p=t.role,m=t.maximizeFrame,f=t.styles,h=t.theme,g=this.state.loadState,y=void 0!==this.props.coverStyle?this.props.coverStyle:this._coverStyle,v=ge(f,{theme:h,className:c,width:a,height:i,maximizeFrame:m,shouldFadeIn:s,shouldStartVisible:l,isLoaded:g===de.loaded||g===de.notLoaded&&this.props.shouldStartVisible,isLandscape:y===ue.landscape,isCenter:d===ce.center,isCenterContain:d===ce.centerContain,isCenterCover:d===ce.centerCover,isContain:d===ce.contain,isCover:d===ce.cover,isNone:d===ce.none,isError:g===de.error,isNotImageFit:void 0===d});return r.createElement("div",{className:v.root,style:{width:a,height:i},ref:this._frameElement},r.createElement("img",u({},e,{onLoad:this._onImageLoaded,onError:this._onImageError,key:"fabricImage"+this.props.src||"",className:v.image,ref:this._imageElement,src:n,alt:o,role:p})))},t.prototype._checkImageLoaded=function(){var e=this.props.src;this.state.loadState===de.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:de.loaded}))},t.prototype._computeCoverStyle=function(e){var t=e.imageFit,n=e.width,r=e.height;if((t===ce.cover||t===ce.contain||t===ce.centerContain||t===ce.centerCover)&&void 0===this.props.coverStyle&&this._imageElement.current&&this._frameElement.current){var o;o=n&&r&&t!==ce.centerContain&&t!==ce.centerCover?n/r:this._frameElement.current.clientWidth/this._frameElement.current.clientHeight;var a=this._imageElement.current.naturalWidth/this._imageElement.current.naturalHeight;this._coverStyle=a>o?ue.landscape:ue.portrait}},t.defaultProps={shouldFadeIn:!0},t._svgRegex=/\.svg$/i,t}(r.Component);function ve(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=L(e),r=n.classes,o=n.objects;return o.length&&r.push(te(o)),r.join(" ")}function be(e){var t={},n=function(n){var r;e.hasOwnProperty(n)&&Object.defineProperty(t,n,{get:function(){return void 0===r&&(r=ve(e[n]).toString()),r},enumerable:!0,configurable:!0})};for(var r in e)n(r);return t}function _e(e){T.getInstance().insertRule("@font-face{"+Y(e)+"}",!0)}var Se=g.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),we=T.getInstance();function xe(e){var t=T.getInstance(),n=t.getClassName(),r=[];for(var o in e)e.hasOwnProperty(o)&&r.push(o,"{",Y(e[o]),"}");var a=r.join("");return t.insertRule("@keyframes "+n+"{"+a+"}",!0),t.cacheClassName(n,a,[],["keyframes",a]),n}we&&we.onReset&&we.onReset(function(){for(var e in Se)Se.hasOwnProperty(e)&&Se[e].subset&&(Se[e].subset.className=void 0)});var Ce="cubic-bezier(.1,.9,.2,1)",Ee="cubic-bezier(.1,.25,.75,.9)",ke=xe({from:{opacity:0},to:{opacity:1}}),Ne=xe({from:{opacity:1},to:{opacity:0}}),Pe=it(-10),Te=it(-20),Le=it(-40),Ie=it(-400),Oe=it(10),Me=it(20),Ge=it(40),Fe=it(400),Ae=st(10),De=st(20),Re=st(-10),Be=st(-20),je=lt(10),ze=lt(20),Ue=lt(40),We=lt(400),Ve=lt(-10),He=lt(-20),Ke=lt(-40),qe=lt(-400),Qe=ct(-10),$e=ct(-20),Je=ct(10),Ze=ct(20),Ye=xe({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),Xe=xe({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),et=xe({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),tt=xe({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),nt=xe({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),rt=xe({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),ot={slideRightIn10:at(ke+","+Pe,"0.367s",Ce),slideRightIn20:at(ke+","+Te,"0.367s",Ce),slideRightIn40:at(ke+","+Le,"0.367s",Ce),slideRightIn400:at(ke+","+Ie,"0.367s",Ce),slideLeftIn10:at(ke+","+Oe,"0.367s",Ce),slideLeftIn20:at(ke+","+Me,"0.367s",Ce),slideLeftIn40:at(ke+","+Ge,"0.367s",Ce),slideLeftIn400:at(ke+","+Fe,"0.367s",Ce),slideUpIn10:at(ke+","+Ae,"0.367s",Ce),slideUpIn20:at(ke+","+De,"0.367s",Ce),slideDownIn10:at(ke+","+Re,"0.367s",Ce),slideDownIn20:at(ke+","+Be,"0.367s",Ce),slideRightOut10:at(Ne+","+je,"0.367s",Ce),slideRightOut20:at(Ne+","+ze,"0.367s",Ce),slideRightOut40:at(Ne+","+Ue,"0.367s",Ce),slideRightOut400:at(Ne+","+We,"0.367s",Ce),slideLeftOut10:at(Ne+","+Ve,"0.367s",Ce),slideLeftOut20:at(Ne+","+He,"0.367s",Ce),slideLeftOut40:at(Ne+","+Ke,"0.367s",Ce),slideLeftOut400:at(Ne+","+qe,"0.367s",Ce),slideUpOut10:at(Ne+","+Qe,"0.367s",Ce),slideUpOut20:at(Ne+","+$e,"0.367s",Ce),slideDownOut10:at(Ne+","+Je,"0.367s",Ce),slideDownOut20:at(Ne+","+Ze,"0.367s",Ce),scaleUpIn100:at(ke+","+Ye,"0.367s",Ce),scaleDownIn100:at(ke+","+et,"0.367s",Ce),scaleUpOut103:at(Ne+","+tt,"0.167s",Ee),scaleDownOut98:at(Ne+","+Xe,"0.167s",Ee),fadeIn100:at(ke,"0.167s",Ee),fadeIn200:at(ke,"0.267s",Ee),fadeIn400:at(ke,"0.367s",Ee),fadeIn500:at(ke,"0.467s",Ee),fadeOut100:at(Ne,"0.167s",Ee),fadeOut200:at(Ne,"0.267s",Ee),fadeOut400:at(Ne,"0.367s",Ee),fadeOut500:at(Ne,"0.467s",Ee),rotate90deg:at(nt,"0.1s",Ee),rotateN90deg:at(rt,"0.1s",Ee)};function at(e,t,n){return{animationName:e,animationDuration:t,animationTimingFunction:n,animationFillMode:"both"}}function it(e){return xe({from:{transform:"translate3d("+e+"px,0,0)"},to:{transform:"translate3d(0,0,0)"}})}function st(e){return xe({from:{transform:"translate3d(0,"+e+"px,0)"},to:{transform:"translate3d(0,0,0)"}})}function lt(e){return xe({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d("+e+"px,0,0)"}})}function ct(e){return xe({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,"+e+"px,0)"}})}var ut,dt,pt={themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#0078d4",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",neutralDark:"#212121",neutralPrimary:"#333333",neutralPrimaryAlt:"#3c3c3c",neutralSecondary:"#666666",neutralSecondaryAlt:"#767676",neutralTertiary:"#a6a6a6",neutralTertiaryAlt:"#c8c8c8",neutralQuaternary:"#d0d0d0",neutralQuaternaryAlt:"#dadada",neutralLight:"#eaeaea",neutralLighter:"#f4f4f4",neutralLighterAlt:"#f8f8f8",accent:"#0078d4",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellowDark:"#d29200",yellow:"#ffb900",yellowLight:"#fff100",orange:"#d83b01",orangeLight:"#ea4300",orangeLighter:"#ff8c00",redDark:"#a80000",red:"#e81123",magentaDark:"#5c005c",magenta:"#b4009e",magentaLight:"#e3008c",purpleDark:"#32145a",purple:"#5c2d91",purpleLight:"#b4a0ff",blueDark:"#002050",blueMid:"#00188f",blue:"#0078d4",blueLight:"#00bcf2",tealDark:"#004b50",teal:"#008272",tealLight:"#00b294",greenDark:"#004b1c",green:"#107c10",greenLight:"#bad80a"};!function(e){e.Arabic="Segoe UI Web (Arabic)",e.Cyrillic="Segoe UI Web (Cyrillic)",e.EastEuropean="Segoe UI Web (East European)",e.Greek="Segoe UI Web (Greek)",e.Hebrew="Segoe UI Web (Hebrew)",e.Thai="Leelawadee UI Web",e.Vietnamese="Segoe UI Web (Vietnamese)",e.WestEuropean="Segoe UI Web (West European)",e.Selawik="Selawik Web"}(ut||(ut={})),function(e){e.Arabic="'"+ut.Arabic+"'",e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'"+ut.Cyrillic+"'",e.EastEuropean="'"+ut.EastEuropean+"'",e.Greek="'"+ut.Greek+"'",e.Hebrew="'"+ut.Hebrew+"'",e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'"+ut.Selawik+"'",e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'"+ut.Vietnamese+"'",e.WestEuropean="'"+ut.WestEuropean+"'"}(dt||(dt={}));var mt,ft,ht,gt,yt="'Segoe UI', '"+ut.WestEuropean+"'",vt={ar:dt.Arabic,bg:dt.Cyrillic,cs:dt.EastEuropean,el:dt.Greek,et:dt.EastEuropean,he:dt.Hebrew,hi:dt.Hindi,hr:dt.EastEuropean,hu:dt.EastEuropean,ja:dt.Japanese,kk:dt.EastEuropean,ko:dt.Korean,lt:dt.EastEuropean,lv:dt.EastEuropean,pl:dt.EastEuropean,ru:dt.Cyrillic,sk:dt.EastEuropean,"sr-latn":dt.EastEuropean,th:dt.Thai,tr:dt.EastEuropean,uk:dt.Cyrillic,vi:dt.Vietnamese,"zh-hans":dt.ChineseSimplified,"zh-hant":dt.ChineseTraditional};function bt(e){return e+", 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif"}function _t(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}!function(e){e.mini="10px",e.xSmall="11px",e.small="12px",e.smallPlus="13px",e.medium="14px",e.mediumPlus="15px",e.icon="16px",e.large="17px",e.xLarge="21px",e.xLargePlus="21px",e.xxLarge="28px",e.xxLargePlus="28px",e.superLarge="42px",e.mega="72px"}(mt||(mt={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(ft||(ft={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(ht||(ht={}));var St,wt,xt,Ct,Et,kt,Nt,Pt=(xt=wt=bt(St=function(e){for(var t in vt)if(vt.hasOwnProperty(t)&&e&&0===t.indexOf(e))return vt[t];return yt}(function(){if(void 0===gt){var e=function(e){if("undefined"!=typeof document){return document}}(),t=function(e){var t=null;try{var n=f();t=n?n.localStorage.getItem("language"):null}catch(e){}return t}();null!==t&&(gt=t),void 0===gt&&e&&(gt=e.documentElement.getAttribute("lang")),void 0===gt&&(gt="en")}return gt}())),St===yt&&(xt=bt(dt.WestEuropean)),{tiny:_t(mt.mini,ft.semibold,wt),xSmall:_t(mt.xSmall,ft.regular,wt),small:_t(mt.small,ft.regular,wt),smallPlus:_t(mt.smallPlus,ft.regular,wt),medium:_t(mt.medium,ft.regular,wt),mediumPlus:_t(mt.mediumPlus,ft.regular,wt),large:_t(mt.large,ft.semilight,xt),xLarge:_t(mt.xLarge,ft.light,wt),xLargePlus:_t(mt.xLargePlus,ft.light,wt),xxLarge:_t(mt.xxLarge,ft.light,wt),xxLargePlus:_t(mt.xxLargePlus,ft.light,wt),superLarge:_t(mt.superLarge,ft.light,wt),mega:_t(mt.mega,ft.light,wt)});function Tt(e,t,n,r){_e({fontFamily:e="'"+e+"'",src:(void 0!==r?"local('"+r+"'),":"")+"url('"+t+".woff2') format('woff2'),url('"+t+".woff') format('woff')",fontWeight:n,fontStyle:"normal"})}function Lt(e,t,n,r,o){void 0===r&&(r="segoeui");var a=e+"/"+n+"/"+r;Tt(t,a+"-light",ft.light,o&&o+" Light"),Tt(t,a+"-semilight",ft.semilight,o&&o+" SemiLight"),Tt(t,a+"-regular",ft.regular,o),Tt(t,a+"-semibold",ft.semibold,o&&o+" SemiBold")}!function(e){if(e){var t=e+"/fonts";Lt(t,ut.Thai,"leelawadeeui-thai","leelawadeeui"),Lt(t,ut.Arabic,"segoeui-arabic"),Lt(t,ut.Cyrillic,"segoeui-cyrillic"),Lt(t,ut.EastEuropean,"segoeui-easteuropean"),Lt(t,ut.Greek,"segoeui-greek"),Lt(t,ut.Hebrew,"segoeui-hebrew"),Lt(t,ut.Vietnamese,"segoeui-vietnamese"),Lt(t,ut.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),Lt(t,dt.Selawik,"selawik","selawik"),Tt("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-semilight",ft.light),Tt("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-bold",ft.semibold)}}((Ct=f(),Et=Ct?Ct.FabricConfig:void 0,Et&&void 0!==Et.fontBaseUrl?Et.fontBaseUrl:"https://static2.sharepointonline.com/files/fabric/assets")),(kt={})[38]=1,kt[40]=1,kt[37]=1,kt[39]=1,kt[36]=1,kt[35]=1,kt[9]=1,kt[33]=1,kt[34]=1,function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(Nt||(Nt={}));var It=T.getInstance();It&&It.onReset&&T.getInstance().onReset(function(){Ot++});var Ot=0,Mt={empty:!0},Gt={},Ft="undefined"==typeof WeakMap?null:WeakMap;function At(e){return e?"object"==typeof e||"function"==typeof e?e:(Gt[e]||(Gt[e]={val:e}),Gt[e]):Mt}function Dt(){return{map:Ft?new Ft:null}}var Rt=function(e,t){if(void 0===t&&(t=100),!Ft)return e;var n,r=0,o=Ot;return function(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];var s=n;(void 0===n||o!==Ot||t>0&&r>t)&&(n=Dt(),r=0,o=Ot),s=n;for(var l=0;l<a.length;l++){var c=At(a[l]);s.map.has(c)||s.map.set(c,Dt()),s=s.map.get(c)}return s.hasOwnProperty("value")||(s.value=e.apply(void 0,a),r++),s.value}}(function(e,t){var n=T.getInstance();return t?Object.keys(e).reduce(function(t,r){return t[r]=n.getClassName(e[r]),t},{}):e});function Bt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++){var a=o[r];jt(e||{},a)}return e}function jt(e,t,n){for(var r in void 0===n&&(n=[]),n.push(t),t)if(t.hasOwnProperty(r)){var o=t[r];if("object"==typeof o){var a=n.indexOf(o)>-1;e[r]=a?o:jt(e[r]||{},o,n)}else e[r]=o}return n.pop(),e}var zt,Ut={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"},Wt=(n("5AgF"),{elevation4:"0 0 5px 0 rgba(0,0,0,.4)",elevation8:"0 0 5px 0 rgba(0,0,0,.4)",elevation16:"0 0 5px 0 rgba(0,0,0,.4)",elevation64:"0 0 5px 0 rgba(0,0,0,.4)",roundedCorner2:"0px"}),Vt=Kt({palette:pt,semanticColors:qt(pt,!1,!1),fonts:Pt,isInverted:!1,disableGlobalClassNames:!1});if(!x.getSettings(["theme"]).theme){var Ht=f();Ht&&Ht.FabricConfig&&Ht.FabricConfig.theme&&(Vt=Kt(Ht.FabricConfig.theme)),x.applySettings(((zt={}).theme=Vt,zt))}function Kt(e,t){void 0===t&&(t=!1);var n=u({},pt,e.palette);e.palette&&e.palette.accent||(n.accent=n.themePrimary);var r=u({},qt(n,!!e.isInverted,t),e.semanticColors),o=u({},Pt);if(e.defaultFontStyle)for(var a=0,i=Object.keys(o);a<i.length;a++)o[c=i[a]]=Bt({},o[c],e.defaultFontStyle);if(e.fonts)for(var s=0,l=Object.keys(e.fonts);s<l.length;s++){var c;o[c=l[s]]=Bt({},o[c],e.fonts[c])}return{palette:n,fonts:u({},o),semanticColors:r,isInverted:!!e.isInverted,disableGlobalClassNames:!!e.disableGlobalClassNames,spacing:u({},Ut,e.spacing),effects:u({},Wt,e.effects)}}function qt(e,t,n){return function(e,t){var n="";return!0===t&&(n=" /* @deprecated */"),e.listTextColor=e.listText+n,e.menuItemBackgroundChecked+=n,e}({bodyBackground:e.white,bodyStandoutBackground:e.neutralLighterAlt,bodyFrameBackground:e.white,bodyFrameDivider:e.neutralLight,bodyText:e.neutralPrimary,bodyTextChecked:e.black,bodySubtext:e.neutralSecondary,bodyDivider:e.neutralLight,disabledBackground:e.neutralLighter,disabledText:e.neutralTertiary,disabledBodyText:e.neutralTertiary,disabledSubtext:e.neutralQuaternary,disabledBodySubtext:e.neutralTertiaryAlt,focusBorder:e.neutralSecondary,variantBorder:e.neutralLight,variantBorderHovered:e.neutralTertiary,defaultStateBackground:e.neutralLighterAlt,errorText:t?"#ff5f5f":e.redDark,warningText:t?"#ffffff":"#333333",successText:t?"#92c353":"#107C10",errorBackground:t?"rgba(232, 17, 35, .5)":"rgba(232, 17, 35, .2)",blockingBackground:t?"rgba(234, 67, 0, .5)":"rgba(234, 67, 0, .2)",warningBackground:t?"rgba(255, 251, 0, .6)":"rgba(255, 185, 0, .2)",warningHighlight:t?"#fff100":"#ffb900",successBackground:t?"rgba(186, 216, 10, .4)":"rgba(186, 216, 10, .2)",inputBorder:e.neutralTertiary,inputBorderHovered:e.neutralPrimary,inputBackground:e.white,inputBackgroundChecked:e.themePrimary,inputBackgroundCheckedHovered:e.themeDarkAlt,inputForegroundChecked:e.white,inputFocusBorderAlt:e.themePrimary,smallInputBorder:e.neutralSecondary,inputText:e.neutralPrimary,inputTextHovered:e.neutralDark,inputPlaceholderText:e.neutralSecondary,buttonBackground:e.neutralLighter,buttonBackgroundChecked:e.neutralTertiaryAlt,buttonBackgroundHovered:e.neutralLight,buttonBackgroundCheckedHovered:e.neutralLight,buttonBackgroundPressed:e.neutralLight,buttonBackgroundDisabled:e.neutralLighter,buttonBorder:"transparent",buttonText:e.neutralPrimary,buttonTextHovered:e.neutralDark,buttonTextChecked:e.neutralDark,buttonTextCheckedHovered:e.black,buttonTextPressed:e.neutralDark,buttonTextDisabled:e.neutralTertiary,buttonBorderDisabled:"transparent",primaryButtonBackground:e.themePrimary,primaryButtonBackgroundHovered:e.themeDarkAlt,primaryButtonBackgroundPressed:e.themeDark,primaryButtonBackgroundDisabled:e.neutralLighter,primaryButtonBorder:"transparent",primaryButtonText:e.white,primaryButtonTextHovered:e.white,primaryButtonTextPressed:e.white,primaryButtonTextDisabled:e.neutralQuaternary,accentButtonBackground:e.accent,accentButtonText:e.white,menuBackground:e.white,menuDivider:e.neutralTertiaryAlt,menuIcon:e.themePrimary,menuHeader:e.themePrimary,menuItemBackgroundHovered:e.neutralLighter,menuItemBackgroundPressed:e.neutralLight,menuItemText:e.neutralPrimary,menuItemTextHovered:e.neutralDark,listBackground:e.white,listText:e.neutralPrimary,listItemBackgroundHovered:e.neutralLighter,listItemBackgroundChecked:e.neutralLight,listItemBackgroundCheckedHovered:e.neutralQuaternaryAlt,listHeaderBackgroundHovered:e.neutralLighter,listHeaderBackgroundPressed:e.neutralLight,actionLink:e.neutralPrimary,actionLinkHovered:e.neutralDark,link:e.themePrimary,linkHovered:e.themeDarker,listTextColor:"",menuItemBackgroundChecked:e.neutralLight},n)}var Qt=be(ot),$t=(be(Pt),{});for(var Jt in pt)pt.hasOwnProperty(Jt)&&(Zt($t,Jt,"",!1,"color"),Zt($t,Jt,"Hover",!0,"color"),Zt($t,Jt,"Background",!1,"background"),Zt($t,Jt,"BackgroundHover",!0,"background"),Zt($t,Jt,"Border",!1,"borderColor"),Zt($t,Jt,"BorderHover",!0,"borderColor"));function Zt(e,t,n,r,o){Object.defineProperty(e,t+n,{get:function(){var e,n,a=((n={})[o]=(void 0===e&&(e=!1),!0===e&&(Vt=Kt({},e)),Vt).palette[t],n);return ve(r?{selectors:{":hover":a}}:a).toString()},enumerable:!0,configurable:!0})}var Yt=n("4Qvb");Object(Yt.a)("@uifabric/styling","6.50.6");var Xt={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"},en=k(ye,function(e){var t=e.className,n=e.width,r=e.height,o=e.maximizeFrame,a=e.isLoaded,i=e.shouldFadeIn,s=e.shouldStartVisible,l=e.isLandscape,c=e.isCenter,u=e.isContain,d=e.isCover,p=e.isCenterContain,m=e.isCenterCover,h=e.isNone,g=e.isError,y=e.isNotImageFit,v=e.theme,b=function(e,t,n){return Rt(e,t.disableGlobalClassNames)}(Xt,v),_={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},S=f(),w=void 0!==S&&void 0===S.navigator.msMaxTouchPoints,x=u&&l||d&&!l?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[b.root,v.fonts.medium,{overflow:"hidden"},o&&[b.rootMaximizeFrame,{height:"100%",width:"100%"}],a&&i&&!s&&Qt.fadeIn400,(c||u||d||p||m)&&{position:"relative"},t],image:[b.image,{display:"block",opacity:0},a&&["is-loaded",{opacity:1}],c&&[b.imageCenter,_],u&&[b.imageContain,w&&{width:"100%",height:"100%",objectFit:"contain"},!w&&x,_],d&&[b.imageCover,w&&{width:"100%",height:"100%",objectFit:"cover"},!w&&x,_],p&&[b.imageCenterContain,l&&{maxWidth:"100%"},!l&&{maxHeight:"100%"},_],m&&[b.imageCenterCover,l&&{maxHeight:"100%"},!l&&{maxWidth:"100%"},_],h&&[b.imageNone,{width:"auto",height:"auto"}],y&&[!!n&&!r&&{height:"auto",width:"100%"},!n&&!!r&&{height:"100%",width:"auto"},!!n&&!!r&&{height:"100%",width:"100%"}],l&&b.imageLandscape,!l&&b.imagePortrait,!a&&"is-notLoaded",i&&"is-fadeIn",g&&"is-error"]}},void 0,{scope:"Image"},!0),tn=oe(),nn=k(function(e){function t(t){var n=e.call(this,t)||this;return n.onImageLoadingStateChange=function(e){n.props.imageProps&&n.props.imageProps.onLoadingStateChange&&n.props.imageProps.onLoadingStateChange(e),e===de.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return c(t,e),t.prototype.render=function(){var e=this.props,t=e.ariaLabel,n=e.className,o=e.styles,a=e.iconName,i=e.imageErrorAs,s=e.theme,l="string"==typeof a&&0===a.length,c=this.props.iconType===b.image||this.props.iconType===b.Image,d=this._getIconContent(a),p=d.iconClassName,m=d.children,f=tn(o,{theme:s,className:n,iconClassName:p,isImage:c,isPlaceholder:l}),h=t?{"aria-label":t}:{role:"presentation"},g=c?"div":"i",y=he(this.props,pe),v=this.state.imageLoadError,_=u({},this.props.imageProps,{onLoadingStateChange:this.onImageLoadingStateChange}),S=v&&i||en;return r.createElement(g,u({"data-icon-name":a},y,h,{className:f.root}),c?r.createElement(S,u({},_)):m)},t.prototype._getIconContent=function(e){var t=function(e){var t,n=void 0,r=Se.__options;if(e=e?function(e){return e.toLowerCase()}(e):"",e=Se.__remapped[e]||e)if(n=Se[e]){var o=n.subset;o&&o.fontFace&&(o.isRegistered||(_e(o.fontFace),o.isRegistered=!0),o.className||(o.className=ve(o.style,{fontFamily:o.fontFace.fontFamily,fontWeight:o.fontFace.fontWeight||"normal",fontStyle:o.fontFace.fontStyle||"normal"})))}else!r.disableWarnings&&r.warnOnMissingIcons&&(t='The icon "'+e+'" was used but not registered. See http://aka.ms/fabric-icon-usage for more information.',console&&console.warn&&console.warn(t));return n}(e)||{subset:{className:void 0},code:void 0};return{children:t.code,iconClassName:t.subset.className}},t}(r.Component),function(e){var t=e.className,n=e.iconClassName,r=e.isPlaceholder,o=e.isImage,a=e.styles;return{root:[o&&"ms-Icon-imageContainer",r&&"ms-Icon-placeHolder",{display:"inline-block"},r&&{width:"1em"},o&&{overflow:"hidden"},n,t,a&&a.root,a&&a.imageContainer]}},void 0,{scope:"Icon"},!0),rn=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),on=function(e,t,n,r){return new(n||(n=Promise))(function(o,a){function i(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(i,s)}l((r=r.apply(e,t||[])).next())})},an=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},sn=ve({fontSize:32,height:32,width:32}),ln=function(e){function t(t){var n=e.call(this,t)||this;return n.webAbsoluteURL=n.props.context.pageContext.web.absoluteUrl,n.TenantPathname=n.webAbsoluteURL.split("//")[1].split("/")[0],n.TenantEmail=n.props.context.pageContext.user.loginName.split("@")[1],n.graphClient=null,n.state={MyGroupResults:[],MyGroupsresultsFiltered:[],plannerId:"",Allgroupsdisplay:0,mygroupsdisplay:0,mode:"All",title:"Teams in Microsoft Teams In My Organization",TenantURL:""},n}return rn(t,e),t.prototype.SwitchGroupList=function(e){if("All"===e)this.setState({MyGroupsresultsFiltered:this.state.MyGroupResults});else{var t=this.state.MyGroupResults.filter(function(t){return t.Visibility===e});this.setState({MyGroupsresultsFiltered:t})}this.setState({mode:e})},t.prototype.GetPlanner=function(){return on(this,void 0,void 0,function(){var e=this;return an(this,function(t){return this.state.MyGroupResults.map(function(t){return on(e,void 0,void 0,function(){var e,n,r,o,a,i;return an(this,function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),e=this,[4,this.props.context.msGraphClientFactory.getClient()];case 1:return e.graphClient=s.sent(),[4,this.graphClient.api("/groups/"+t.Id+"/planner/plans").version("v1.0").get()];case 2:return(n=s.sent()).value.length>0&&(n.value.map(function(e){r=e.id}),o="https://tasks.office.com/"+this.TenantEmail+"/EN-US/Home/Planner#/plantaskboard?groupId="+t.Id+"&planId="+r,a={Planner:o},i=Object.assign(t,a),t=i),[2,n.value];case 3:return s.sent(),[3,4];case 4:return[2]}})})}),[2]})})},t.prototype.GetTeamsURL=function(){var e=this;this.state.MyGroupResults.map(function(t){e.props.context.msGraphClientFactory.getClient().then(function(n){n.api("/teams/"+t.Id+"/?$select=webUrl").version("v1.0").get(function(n,r){if(!n&&r){var o=Object.assign(t,{WebUrl:r.webUrl});t=o,e.setState({MyGroupsresultsFiltered:e.state.MyGroupResults})}})})})},t.prototype.GetMail=function(){return on(this,void 0,void 0,function(){var e=this;return an(this,function(t){return this.state.MyGroupResults.map(function(t){e.props.context.msGraphClientFactory.getClient().then(function(e){e.api("groups/"+t.Id+"/").version("v1.0").get(function(e,n){if(!e&&n){var r=Object.assign(t,{Mail:n.mail});t=r}})})}),[2]})})},t.prototype.componentDidMount=function(){var e=this;this.setState({TenantURL:this.props.context.pageContext.web.absoluteUrl});var t=[];this.props.context.msGraphClientFactory.getClient().then(function(n){n.api("me/joinedTeams").version("v1.0").get(function(n,r){n||r&&(r.value.map(function(e){t.push({Name:e.displayName,Id:e.id,Description:e.description,Visibility:e.visibility})}),e.setState({MyGroupResults:t}),e.GetMail(),e.GetPlanner(),e.GetTeamsURL())})})},t.prototype.render=function(){var e=this,t=/\s+/g;return this.props.hidden?r.createElement("div",null):r.createElement("div",{className:"test_27124006"},r.createElement("div",{className:"tableCaptionStyle_27124006",style:{borderRight:"none"}},"My Teams Teams",r.createElement("div",null,"Public"===this.state.mode?r.createElement("button",{className:"SelectedFilter_27124006",onClick:function(){return e.SwitchGroupList("Public")}},"Public"):r.createElement("button",{className:"Filters_27124006",onClick:function(){return e.SwitchGroupList("Public")}},"Public"),"All"===this.state.mode?r.createElement("button",{className:"SelectedFilter_27124006",onClick:function(){return e.SwitchGroupList("All")}},"All"):r.createElement("button",{className:"Filters_27124006",onClick:function(){return e.SwitchGroupList("All")}},"All"),"Private"===this.state.mode?r.createElement("button",{className:"SelectedFilter_27124006",onClick:function(){return e.SwitchGroupList("Private")}},"Private"):r.createElement("button",{className:"Filters_27124006",onClick:function(){return e.SwitchGroupList("Private")}},"Private"))),r.createElement("div",{className:"tableStyle_27124006"},r.createElement("div",{className:"headerStyle_27124006"},r.createElement("div",{className:"Center_27124006"},"Team"),r.createElement("div",{className:"Center_27124006"},"Mail"),r.createElement("div",{className:"Center_27124006"},"Site"),r.createElement("div",{className:"Center_27124006"},"Calendar"),r.createElement("div",{className:"Center_27124006"},"Planner"),r.createElement("div",{className:"Center_27124006"},"WebUrl"),r.createElement("div",{className:"Center_27124006",style:{borderRight:"none"}},"Visibility")),this.state.MyGroupsresultsFiltered.map(function(n){n.Visibility=n.Visibility.substr(0,1).toUpperCase()+n.Visibility.substr(1);var o=n.Mail.split("@")[0];return r.createElement("div",{className:"rowStyle_27124006"},r.createElement("div",{className:"ToolTipName_27124006"},n.Name,r.createElement("span",{className:"ToolTip_27124006"},n.Description)),r.createElement("a",{className:"Center_27124006",href:"https://outlook.office.com/mail/group/"+e.TenantEmail+"/"+o.toLowerCase()+"/email"},r.createElement(nn,{className:sn,style:{color:"#087CD7"},iconName:"OutlookLogo"})),r.createElement("a",{className:"Center_27124006",href:"https://"+e.TenantPathname+"/sites/"+o},r.createElement(nn,{className:sn,style:{color:"#068B90"},iconName:"SharePointLogo"})),r.createElement("a",{className:"Center_27124006",href:"https://outlook.office.com/calendar/group/"+e.TenantEmail+"/"+n.Name.replace(t,"")+"/view/week"},r.createElement(nn,{className:sn,style:{color:"#119AE2"},iconName:"Calendar"})),r.createElement("div",{className:"Center_27124006"},void 0===n.Planner?r.createElement("div",null):r.createElement("a",{href:n.Planner},r.createElement(nn,{className:sn,style:{color:"#077D3F"},iconName:"ViewListTree"}))),r.createElement("a",{className:"Center_27124006",href:""+n.WebUrl},r.createElement(nn,{className:sn,style:{color:"#424AB5"},iconName:"TeamsLogo"})),r.createElement("div",{className:"Center_27124006",style:{borderRight:"none"}},n.Visibility))})))},t}(r.Component),cn=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),un=function(e,t,n,r){return new(n||(n=Promise))(function(o,a){function i(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(i,s)}l((r=r.apply(e,t||[])).next())})},dn=function(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},pn=function(e){function t(t){var n=e.call(this,t)||this;return n._plannerIDs=[],n._arr=[],n.graphClient=null,n.webAbsoluteURL=n.props.context.pageContext.web.absoluteUrl,n.TenantPathname=n.webAbsoluteURL.split("//")[1].split("/")[0],n.TenantEmail=n.props.context.pageContext.user.loginName.split("@")[1],n.GetPlanner=n.GetPlanner.bind(n),n.GetGroups=n.GetGroups.bind(n),n.state={AllGroupsresults:[],MyGroupResults:[],plannerId:"",either:"",Allgroupsdisplay:0,mygroupsdisplay:0,mode:"All",title:"Groups In My Organization",isOpen:!1,MoreDetails:[],Name:"",Description:"",TenantUrl:"",MyGroupResultsFiltered:[],AllGroupsresultsFiltered:[]},n}return cn(t,e),t.prototype.SwitchGroupList=function(){"Groups In My Organization"===this.state.title?this.setState({title:"My Groups"}):this.setState({title:"Groups In My Organization"})},t.prototype.SwitchGroupList2=function(e){if("All"===e)this.setState({AllGroupsresultsFiltered:this.state.AllGroupsresults}),this.setState({MyGroupResultsFiltered:this.state.MyGroupResults});else{var t=this.state.AllGroupsresults.filter(function(t){return t.Visibility===e});this.setState({AllGroupsresultsFiltered:t});var n=this.state.MyGroupResults.filter(function(t){return t.Visibility===e});this.setState({MyGroupResultsFiltered:n})}this.setState({mode:e})},t.prototype.OpenModal=function(e){var t=[];t.push(e),this.setState({isOpen:!0,MoreDetails:t,Name:e.Name,Description:e.Description})},t.prototype.GetPlanner=function(){return un(this,void 0,void 0,function(){var e=this;return dn(this,function(t){return this.state.MyGroupResults.map(function(t){return un(e,void 0,void 0,function(){var e,n,r,o,a,i;return dn(this,function(s){switch(s.label){case 0:return s.trys.push([0,3,,4]),e=this,[4,this.props.context.msGraphClientFactory.getClient()];case 1:return e.graphClient=s.sent(),[4,this.graphClient.api("/groups/"+t.Id+"/planner/plans").version("v1.0").get()];case 2:return(n=s.sent()).value.length>0&&(n.value.map(function(e){r=e.id}),o="https://tasks.office.com/"+this.TenantEmail+"/EN-US/Home/Planner#/plantaskboard?groupId="+t.Id+"&planId="+r,a={Planner:o},i=Object.assign(t,a),t=i,this.state.AllGroupsresults.map(function(e){e.Name===t.Name&&(e=Object.assign(e,a))})),[2,this.setState({MyGroupResultsFiltered:this.state.MyGroupResults})];case 3:return s.sent(),[3,4];case 4:return[2]}})})}),[2]})})},t.prototype.GetGroups=function(){var e=this,t=[],n=[],r=[];this.props.context.msGraphClientFactory.getClient().then(function(t){t.api("me/transitiveMemberOf/microsoft.graph.group?$filter=groupTypes/any(a:a eq 'unified')").version("v1.0").get(function(t,o){o&&(o.value.map(function(e){r.push({Name:e.displayName,Id:e.id,Description:e.description,Mail:e.mail,Visibility:e.visibility}),n.push({Id:e.id})}),e.setState({MyGroupResultsFiltered:r,MyGroupResults:r}),e.GetPlanner())})}),this.props.context.msGraphClientFactory.getClient().then(function(n){n.api("groups?$filter=groupTypes/any(a:a eq 'unified')").version("v1.0").get(function(n,r){r&&(r.value.map(function(n){e._arr.push({Name:n.displayName,Id:n.id,Description:n.description,Mail:n.mail,Visibility:n.visibility}),t.push([n.id])}),e.setState({AllGroupsresults:e._arr,AllGroupsresultsFiltered:e._arr}),e.GetPlanner())})})},t.prototype.componentDidMount=function(){this.GetGroups()},t.prototype.render=function(){var e=this,t=/\s+/g;return r.createElement("div",{className:"test_27124006"},r.createElement("div",{className:"tableCaptionStyle_27124006"},this.state.title,r.createElement("div",null,"Public"===this.state.mode?r.createElement("button",{className:"SelectedFilter_27124006",onClick:function(){return e.SwitchGroupList2("Public")}},"Public"):r.createElement("button",{className:"Filters_27124006",onClick:function(){return e.SwitchGroupList2("Public")}},"Public"),"All"===this.state.mode?r.createElement("button",{className:"SelectedFilter_27124006",onClick:function(){return e.SwitchGroupList2("All")}},"All"):r.createElement("button",{className:"Filters_27124006",onClick:function(){return e.SwitchGroupList2("All")}},"All"),"Private"===this.state.mode?r.createElement("button",{className:"SelectedFilter_27124006",onClick:function(){return e.SwitchGroupList2("Private")}},"Private"):r.createElement("button",{className:"Filters_27124006",onClick:function(){return e.SwitchGroupList2("Private")}},"Private")),r.createElement("button",{className:"SwitchGroups_27124006",onClick:function(){return e.SwitchGroupList()}}," View ","My Groups"===this.state.title?"Groups in my Organization":"My Groups")),r.createElement("div",{className:"tableStyle_27124006"},r.createElement("div",{className:"headerStyle_27124006"},r.createElement("div",{className:"Center_27124006"},"Group"),r.createElement("div",{className:"Center_27124006"},"Mail"),r.createElement("div",{className:"Center_27124006"},"Site"),r.createElement("div",{className:"Center_27124006"},"Calendar"),r.createElement("div",{className:"Center_27124006"},"Planner"),r.createElement("div",{className:"Center_27124006",style:{borderRight:"none"}},"Visibility")),"My Groups"===this.state.title?this.state.MyGroupResultsFiltered.map(function(n){var o=n.Mail.split("@");return n.Mail=o[0],r.createElement("div",{className:"rowStyle_27124006"},r.createElement("div",{className:"ToolTipName_27124006"},n.Name,r.createElement("span",{className:"ToolTip_27124006"},n.Description)),r.createElement("a",{className:"Center_27124006",href:"https://outlook.office.com/mail/group/"+e.TenantEmail+"/"+n.Mail.toLowerCase()+"/email"},r.createElement(nn,{className:sn,style:{color:"#087CD7"},iconName:"OutlookLogo"})),r.createElement("a",{className:"Center_27124006",href:"https://"+e.TenantPathname+"/sites/"+n.Mail},r.createElement(nn,{className:sn,style:{color:"#068B90"},iconName:"SharePointLogo"})),r.createElement("a",{className:"Center_27124006",href:"https://outlook.office.com/calendar/group/"+e.TenantEmail+"/"+n.Name.replace(t,"")+"/view/week"},r.createElement(nn,{className:sn,style:{color:"#119AE2"},iconName:"Calendar"})),r.createElement("div",{className:"Center_27124006"},void 0===n.Planner?r.createElement("div",null):r.createElement("a",{href:n.Planner},r.createElement(nn,{className:sn,style:{color:"#077D3F"},iconName:"ViewListTree"}))),r.createElement("div",{className:"Center_27124006",style:{borderRight:"none"}},n.Visibility))}):this.state.AllGroupsresultsFiltered.map(function(n){var o=n.Mail.split("@");return n.Mail=o[0],r.createElement("div",{className:"rowStyle_27124006"},r.createElement("div",{className:"ToolTipName_27124006"},n.Name,r.createElement("span",{className:"ToolTip_27124006"},n.Description)),r.createElement("a",{className:"Center_27124006",href:"https://outlook.office.com/mail/group/"+e.TenantEmail+"/"+n.Mail.toLowerCase()+"/email"},r.createElement(nn,{className:sn,style:{color:"#087CD7"},iconName:"OutlookLogo"})),r.createElement("a",{className:"Center_27124006",href:"https://"+e.TenantPathname+"/sites/"+n.Mail},r.createElement(nn,{className:sn,style:{color:"#068B90"},iconName:"SharePointLogo"})),r.createElement("a",{className:"Center_27124006",href:"https://outlook.office.com/calendar/group/"+e.TenantEmail+"/"+n.Name.replace(t,"")+"/view/week"},r.createElement(nn,{className:sn,style:{color:"#119AE2"},iconName:"Calendar"})),r.createElement("div",{className:"Center_27124006"},void 0===n.Planner?r.createElement("div",null):r.createElement("a",{href:n.Planner},r.createElement(nn,{className:sn,style:{color:"#077D3F"},iconName:"ViewListTree"}))),r.createElement("div",{className:"Center_27124006",style:{borderRight:"none"}},n.Visibility))})),";")},t}(r.Component),mn=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),fn=function(e){function t(t){var n=e.call(this,t)||this;return n.state={title:""},n}return mn(t,e),t.prototype.SwitchGroupList=function(e){this.setState({title:e})},t.prototype.render=function(){var e=this;return r.createElement("div",null,r.createElement("div",{className:"tableStyle_27124006"},r.createElement("div",{className:"headerStyle_27124006"},r.createElement("button",{className:"MainViewCenter_27124006",id:"Microsoft 365 Groups",onClick:function(){return e.SwitchGroupList("Microsoft 365 Groups")}},"Microsoft 365 Groups"),r.createElement("button",{className:"MainViewCenter_27124006",id:"My Teams",onClick:function(){return e.SwitchGroupList("My Teams")}},"My Teams"))),"Microsoft 365 Groups"===this.state.title?r.createElement(pn,{context:this.props.context}):r.createElement("div",null),"My Teams"===this.state.title?r.createElement(ln,{context:this.props.context,hidden:!1}):r.createElement(ln,{context:this.props.context,hidden:!0}))},t}(r.Component),hn=function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),gn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return hn(t,e),t.prototype.render=function(){var e=r.createElement(fn,{context:this.context});o.render(e,this.domElement)},t.prototype.onDispose=function(){o.unmountComponentAtNode(this.domElement)},Object.defineProperty(t.prototype,"dataVersion",{get:function(){return a.Version.parse("1.0")},enumerable:!0,configurable:!0}),t.prototype.getPropertyPaneConfiguration=function(){return{pages:[{header:{description:s.PropertyPaneDescription},groups:[{groupName:s.BasicGroupName,groupFields:[Object(i.PropertyPaneTextField)("description",{label:s.DescriptionFieldLabel})]}]}]}},t}(i.BaseClientSideWebPart);t.default=gn},"xP+B":function(e,t,n){(e.exports=n("JPst")(!1)).push([e.i,'.Center_27124006{padding:10px 13px}.headerStyle_27124006{background-color:"[theme: themePrimary, default: #0078d7]"}.test_27124006{text-align:center;vertical-align:middle}.none_27124006{display:none}.Center_27124006,.CenterRight_27124006{padding:5px 10px 3px;margin-left:26px;display:table-cell;vertical-align:middle;text-align:center;border-right:2px solid #fff;max-width:113px;word-break:break-word}.Center_27124006,.ToolTipName_27124006{border-bottom:2px solid #fff}.ToolTipName_27124006{position:relative;display:table-cell;vertical-align:middle;text-align:center;border-right:2px solid #fff;padding:8px 13px;max-width:132px;word-break:break-word}.ToolTip_27124006{visibility:hidden;background-color:#005a9e;color:#fff;text-align:center;border-radius:6px;position:absolute;z-index:1;bottom:86%;right:0;left:0;padding:7px}.ToolTipName_27124006:hover .ToolTip_27124006{visibility:visible;padding:5px 0;background-color:"[theme: themeLight, default: #0078d7]"}.MainViewCenter_27124006{width:50%;display:table-cell;vertical-align:middle;text-align:center;padding:10px 13px;cursor:pointer;background-color:"[theme: themeDark, default: #0078d7]";color:#fff;border:none;border-right:2px solid #fff}.MainViewCenter_27124006 :hover{text-decoration:underline}.Filters_27124006{cursor:pointer;background-color:"[theme: themePrimary, default: #0078d7]";color:#fff;border:2px solid "[theme: themedark, default: #0078d7]";margin-right:4px;margin-top:9px}.Filters_27124006:focus{outline:0}.SelectedFilter_27124006{cursor:pointer;background-color:"[theme: themeDark, default: #0078d7]";color:#fff;border:2px solid "[theme: themedark, default: #0078d7]";margin-right:4px;margin-top:9px}.SelectedFilter_27124006:focus{outline:0}.OneNoteIcon_27124006{height:32px;width:32px;cursor:pointer}.SwitchGroups_27124006{position:absolute;bottom:2px;right:10px;font-size:16px;background-color:transparent;border:none;cursor:pointer;color:#fff}.SwitchGroups_27124006:hover{text-decoration:underline}.headerStyle_27124006{background-color:"[theme: themeSecondary, default: #0078d7]";display:table-row;border:solid;text-align:center;width:100px;height:30px;padding-top:10px;color:#fff}.tableStyle_27124006{display:table;min-width:100%;margin-right:auto;margin-left:auto}.panelStyle_27124006{background:#add8e6}.tableCaptionStyle_27124006{background-color:"[theme: themePrimary, default: #0078d7]";font-size:20px;font-weight:700;border:solid;height:79px;padding-top:3px;color:#fff;border-radius:25px;margin-left:auto;margin-top:auto;min-width:100%;text-align:center;vertical-align:middle;position:relative;font-weight:400}.rowStyle_27124006{display:table-row;background:#eee;padding:20px;margin:20px;font-weight:700}.row_27124006{margin:0 -8px;box-sizing:border-box;color:#fff;background-color:#005a9e;padding:20px}.row_27124006:after,.row_27124006:before{display:table;content:"";line-height:0}.row_27124006:after{clear:both}.CellStyle_27124006{border:solid;border-color:#fff;min-width:75px;width:-moz-fit-content;width:fit-content}.buttons_27124006,.CellStyle_27124006{display:table-cell;text-align:center;height:30px;padding-top:10px}.buttons_27124006{width:160px}.column_27124006{position:relative;min-height:1px;padding-left:8px;padding-right:8px;box-sizing:border-box}[dir=ltr] .column_27124006{float:left}[dir=rtl] .column_27124006{float:right}.column_27124006 .ms-Grid_27124006{padding:0}@media (min-width:640px){.column_27124006{width:83.33333333333334%}}@media (min-width:1024px){.column_27124006{width:66.66666666666666%}}@media (min-width:1024px){[dir=ltr] .column_27124006{left:16.66667%}[dir=rtl] .column_27124006{right:16.66667%}}@media (min-width:640px){[dir=ltr] .column_27124006{left:8.33333%}[dir=rtl] .column_27124006{right:8.33333%}}.title_27124006{font-size:21px;font-weight:100;color:#fff}.description_27124006,.subTitle_27124006{font-size:17px;font-weight:300;color:#fff}.button_27124006{text-decoration:none;height:32px;min-width:80px;background-color:#0078d4;border-color:#0078d4;color:#fff;outline:transparent;position:relative;font-family:Segoe UI WestEuropean,Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;font-size:14px;font-weight:400;border-width:0;text-align:center;cursor:pointer;display:inline-block;padding:0 16px}.button_27124006 .label_27124006{font-weight:600;font-size:14px;height:32px;line-height:32px;margin:0 4px;vertical-align:top;display:inline-block}',""])},yLpj:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},zSn3:function(e,t){e.exports=o}})});