diff --git a/README.md b/README.md index d6a5342..9c24717 100644 --- a/README.md +++ b/README.md @@ -19,8 +19,9 @@ It can also be sideloaded from the [releases](https://github.com/UWPCommunity/UW | | | | | | | | | - | - | - | - | - | - | - | -| ![Legere logo](assets/icons/clients/Legere.png) | ![Reddplannet logo](assets/icons/platforms/Reddit.png) | ![myTube logo](assets/icons/clients/myTube.png) | ![Mixplay for Mixer logo](assets/icons/platforms/Mixer.png) | ![Quarrel logo](assets/icons/clients/Quarrel.png) | ![Strix Music logo](assets/icons/clients/Strix Music.png) | ![Xpo Music logo](assets/icons/clients/Xpo%20Music.png) | -| [Legere](https://www.microsoft.com/en-us/p/legere-for-reddit/9phjrvcskvjz) | [Reddplanet](https://www.microsoft.com/en-us/p/reddplanet/9nblggh4s44m) | [myTube](https://www.microsoft.com/en-us/p/mytube/9wzdncrcwf3l) | [Mixplay](https://www.microsoft.com/en-us/p/mixplay-for-mixer/9pn94d9bdfzm) | [Quarrel](https://www.microsoft.com/en-us/p/quarrel/9nbrwj777c8r) | [Spotimo](https://www.microsoft.com/en-us/p/spotimo-beta/9p75w183m6qr) | [Xpo Music](https://www.microsoft.com/en-us/p/xpotify-a-modern-spotify-experience-for-windows-10/9n1n68mc7fxr) | +| ![Legere logo](assets/icons/clients/Legere.png) | ![Reddplannet logo](assets/icons/platforms/Reddit.png) | ![myTube logo](assets/icons/clients/myTube.png) | ![Mixplay for Mixer logo](assets/icons/platforms/Mixer.png) | ![Quarrel logo](assets/icons/clients/Quarrel.png) | ![Strix Music logo](assets/icons/clients/Strix Music.png) | ![Xpo Music logo](assets/icons/clients/Xpo%20Music.png) | ![MS Store logo](assets/icons/clients/MicrosoftStore.png) | +| [Legere](https://www.microsoft.com/en-us/p/legere-for-reddit/9phjrvcskvjz) | [Reddplanet](https://www.microsoft.com/en-us/p/reddplanet/9nblggh4s44m) | [myTube](https://www.microsoft.com/en-us/p/mytube/9wzdncrcwf3l) | [Mixplay](https://www.microsoft.com/en-us/p/mixplay-for-mixer/9pn94d9bdfzm) | [Quarrel](https://www.microsoft.com/en-us/p/quarrel/9nbrwj777c8r) | [Spotimo](https://www.microsoft.com/en-us/p/spotimo-beta/9p75w183m6qr) | [Xpo Music](https://www.microsoft.com/en-us/p/xpotify-a-modern-spotify-experience-for-windows-10/9n1n68mc7fxr) | [Microsoft Store](https://www.microsoft.com/en-us/store/apps/windows) | + --- diff --git a/assets/icons/clients/Windows Store.png b/assets/icons/clients/Windows Store.png new file mode 100644 index 0000000..590c7c1 Binary files /dev/null and b/assets/icons/clients/Windows Store.png differ diff --git a/assets/icons/platforms/Microsoft Store.png b/assets/icons/platforms/Microsoft Store.png new file mode 100644 index 0000000..eff7c22 Binary files /dev/null and b/assets/icons/platforms/Microsoft Store.png differ diff --git a/assets/logos/clients/Windows Store.png b/assets/logos/clients/Windows Store.png new file mode 100644 index 0000000..4069b16 Binary files /dev/null and b/assets/logos/clients/Windows Store.png differ diff --git a/assets/logos/platforms/MicrosoftStore.png b/assets/logos/platforms/MicrosoftStore.png new file mode 100644 index 0000000..ff1f0fc Binary files /dev/null and b/assets/logos/platforms/MicrosoftStore.png differ diff --git a/core/helpers/settings.js b/core/helpers/settings.js index 87d354b..c31dbb8 100644 --- a/core/helpers/settings.js +++ b/core/helpers/settings.js @@ -34,6 +34,11 @@ const defaultSettings = { prefferedApp: "Strix Music", isEnabled: true, closeOnSwitch: false + }, + "Microsoft Store": { + prefferedApp: "Windows Store", + isEnabled: true, + closeOnSwitch: true } } }; @@ -45,17 +50,20 @@ export function getSettings(cb) { chrome.storage.local.get(["settings"], result => { if (result.settings !== undefined) { // Check for new platforms that aren't present in stored settings - for (let name of Object.keys(defaultSettings.platforms)) { - if (result.settings.platforms[name] === undefined) { - result.settings.platforms[name] == defaultSettings.platforms[name]; + for (let key of Object.keys(defaultSettings.platforms)) { + if (result.settings.platforms[key] === undefined) { + + result.settings.platforms = + { ...result.settings.platforms, [key]: defaultSettings.platforms[key] } + } } // Check for client names that have changed but old values are still stored in settings - for (let name of Object.keys(result.settings.platforms)) { - if (libs.platforms[name].clients[result.settings.platforms[name].prefferedApp] == undefined) { + for (let key of Object.keys(result.settings.platforms)) { + if (libs.platforms[key].clients[result.settings.platforms[key].prefferedApp] == undefined) { // Restore to default app when the name of the preffered app changes - result.settings.platforms[name].prefferedApp = defaultSettings.platforms[name].prefferedApp; + result.settings.platforms[key].prefferedApp = defaultSettings.platforms[key].prefferedApp; } } diff --git a/core/lib/mircosoftstore/master.js b/core/lib/mircosoftstore/master.js new file mode 100644 index 0000000..69dae29 --- /dev/null +++ b/core/lib/mircosoftstore/master.js @@ -0,0 +1,11 @@ +import MSSParser from './parsing.js'; + +import MSStore from './store.js' + +export default { + name: "Microsoft Store", + baseUrlMatch: MSSParser.isStore, + clients: { + MSStore + } +}; diff --git a/core/lib/mircosoftstore/parsing.js b/core/lib/mircosoftstore/parsing.js new file mode 100644 index 0000000..c6bd6f9 --- /dev/null +++ b/core/lib/mircosoftstore/parsing.js @@ -0,0 +1,47 @@ +function isStore(url) { + if (typeof url == 'string') { + let match = url.match(/^https?:\/\/(?:www.)?(microsoft\.[a-z]{0,4})?((\/[a-z,\-]*\/p\/)|(\/store\/[a-z,\-]*\/))/); + return match != null; + } else console.error('Incorrect data recieved while checking domain'); +} +function isHomepage(url) { + if (typeof url == 'string') { + let match = url.match(/^(?:^http.*microsoft\.[a-z]{0,4})\/(.+)\/(.+)/); + // If it matches anything after "microsoft.com/{lang}/", it isn't the homepage + return (!match || match[1]) ? false : true; + } else console.error('Incorrect data recieved while checking homepage'); +} +function isApps(url) { + if (typeof url == 'string') { + let match = url.match(/^.*(?:apps)/); + return match != null; + } else console.error('Incorrect data recieved while checking Apps'); +} +function isMoviesAndTv(url) { + if (typeof url == 'string') { + let match = url.match(/^.*(?:movies-and-tv)/); + return match != null; + } else console.error('Incorrect data recieved while checking Movies & TV'); +} + +function hasApp(url) { + if (typeof url == 'string') { + let match = url.match(/^.*(?:\/store\/apps\/)([a-zA-Z0-9-_]{12})/); + return (match && match[1]) ? match[1] : null; + } else console.error('Incorrect data recieved while checking for app'); +} +function hasMovie(url) { + if (typeof url == 'string') { + let match = url.match(/^.*(?:p\/)(.+\/)([a-zA-Z0-9-_]{12})/); + return (match && match[1]) ? match[1] : null; + } else console.error('Incorrect data recieved while checking for movie'); +} + +export default { + isStore: isStore, + isHomepage: isHomepage, + isApps: isApps, + isMoviesAndTv: isMoviesAndTv, + hasApp: hasApp, + hasMovie: hasMovie, +}; \ No newline at end of file diff --git a/core/lib/mircosoftstore/store.js b/core/lib/mircosoftstore/store.js new file mode 100644 index 0000000..1a56afe --- /dev/null +++ b/core/lib/mircosoftstore/store.js @@ -0,0 +1,22 @@ +import MSSParser from './parsing.js'; + +export default { + config: { + color: "#0078D4", + appProtocol: "ms-windows-store" + }, + name: "Windows Store", + parseUrl: function(url) { + if (MSSParser.isApps(url)) { + return "ms-windows-store://navigatetopage/?Id=Apps"; + } + else if (MSSParser.hasApp(url) !== null) { + console.info('App detected.'); + return `ms-windows-store://pdp/?ProductId=${MSSParser.hasApp(url)}`; + } + + if (MSSParser.isHomepage(url)) { + return "ms-windows-store:"; + } + } +} \ No newline at end of file diff --git a/core/libs.js b/core/libs.js index 9971c75..e461ac5 100644 --- a/core/libs.js +++ b/core/libs.js @@ -4,13 +4,15 @@ import Reddit from './lib/reddit/master.js'; import Spotify from './lib/spotify/master.js'; import Discord from './lib/discord/master.js'; import Mixer from './lib/mixer/master.js'; +import MicrosoftStore from './lib/mircosoftstore/master.js'; const platforms = { YouTube, Reddit, Spotify, Discord, - Mixer + Mixer, + "Microsoft Store": MicrosoftStore }; for (const [platform, platformData] of Object.entries(platforms)) { diff --git a/user-interface/dist/bundle.js b/user-interface/dist/bundle.js index 4a6590b..037aaf8 100644 --- a/user-interface/dist/bundle.js +++ b/user-interface/dist/bundle.js @@ -1,4 +1,4 @@ -!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}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=91)}([function(e,t,n){"use strict";n.d(t,"c",function(){return o}),n.d(t,"a",function(){return A}),n.d(t,"e",function(){return i}),n.d(t,"b",function(){return a}),n.d(t,"g",function(){return l}),n.d(t,"d",function(){return s}),n.d(t,"f",function(){return u}); +!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}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=91)}([function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return A})),n.d(t,"e",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"g",(function(){return l})),n.d(t,"d",(function(){return s})),n.d(t,"f",(function(){return u})); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use @@ -13,12 +13,12 @@ MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ -var r=function(e,t){return(r=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 o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var A=function(){return(A=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;a--)(o=e[a])&&(i=(A<3?o(i):A>3?o(t,n,i):o(t,n))||i);return A>3&&i&&Object.defineProperty(t,n,i),i}function l(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function s(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,A=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=A.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=A.return)&&n.call(A)}finally{if(o)throw o.error}}return i}function u(){for(var e=[],t=0;t10?" (+ "+(E.length-10)+" more)":"")),I=void 0,E=[]},2e3)))}var m=n(61),v="cubic-bezier(.1,.9,.2,1)",Q="cubic-bezier(.1,.25,.75,.9)",B=Object(m.a)({from:{opacity:0},to:{opacity:1}}),b=Object(m.a)({from:{opacity:1},to:{opacity:0}}),y=oe(-10),P=oe(-20),k=oe(-40),S=oe(-400),x=oe(10),T=oe(20),z=oe(40),L=oe(400),R=Ae(10),O=Ae(20),w=Ae(-10),X=Ae(-20),H=ie(10),D=ie(20),j=ie(40),N=ie(400),F=ie(-10),M=ie(-20),W=ie(-40),V=ie(-400),J=ae(-10),K=ae(-20),Z=ae(10),U=ae(20),q=Object(m.a)({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),Y=Object(m.a)({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),G=Object(m.a)({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),_=Object(m.a)({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),$=Object(m.a)({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),ee=Object(m.a)({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),te={easeFunction1:v,easeFunction2:Q,durationValue1:"0.167s",durationValue2:"0.267s",durationValue3:"0.367s",durationValue4:"0.467s"},ne={slideRightIn10:re(B+","+y,"0.367s",v),slideRightIn20:re(B+","+P,"0.367s",v),slideRightIn40:re(B+","+k,"0.367s",v),slideRightIn400:re(B+","+S,"0.367s",v),slideLeftIn10:re(B+","+x,"0.367s",v),slideLeftIn20:re(B+","+T,"0.367s",v),slideLeftIn40:re(B+","+z,"0.367s",v),slideLeftIn400:re(B+","+L,"0.367s",v),slideUpIn10:re(B+","+R,"0.367s",v),slideUpIn20:re(B+","+O,"0.367s",v),slideDownIn10:re(B+","+w,"0.367s",v),slideDownIn20:re(B+","+X,"0.367s",v),slideRightOut10:re(b+","+H,"0.367s",v),slideRightOut20:re(b+","+D,"0.367s",v),slideRightOut40:re(b+","+j,"0.367s",v),slideRightOut400:re(b+","+N,"0.367s",v),slideLeftOut10:re(b+","+F,"0.367s",v),slideLeftOut20:re(b+","+M,"0.367s",v),slideLeftOut40:re(b+","+W,"0.367s",v),slideLeftOut400:re(b+","+V,"0.367s",v),slideUpOut10:re(b+","+J,"0.367s",v),slideUpOut20:re(b+","+K,"0.367s",v),slideDownOut10:re(b+","+Z,"0.367s",v),slideDownOut20:re(b+","+U,"0.367s",v),scaleUpIn100:re(B+","+q,"0.367s",v),scaleDownIn100:re(B+","+G,"0.367s",v),scaleUpOut103:re(b+","+_,"0.167s",Q),scaleDownOut98:re(b+","+Y,"0.167s",Q),fadeIn100:re(B,"0.167s",Q),fadeIn200:re(B,"0.267s",Q),fadeIn400:re(B,"0.367s",Q),fadeIn500:re(B,"0.467s",Q),fadeOut100:re(b,"0.167s",Q),fadeOut200:re(b,"0.267s",Q),fadeOut400:re(b,"0.367s",Q),fadeOut500:re(b,"0.467s",Q),rotate90deg:re($,"0.1s",Q),rotateN90deg:re(ee,"0.1s",Q)};function re(e,t,n){return{animationName:e,animationDuration:t,animationTimingFunction:n,animationFillMode:"both"}}function oe(e){return Object(m.a)({from:{transform:"translate3d("+e+"px,0,0)"},to:{transform:"translate3d(0,0,0)"}})}function Ae(e){return Object(m.a)({from:{transform:"translate3d(0,"+e+"px,0)"},to:{transform:"translate3d(0,0,0)"}})}function ie(e){return Object(m.a)({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d("+e+"px,0,0)"}})}function ae(e){return Object(m.a)({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,"+e+"px,0)"}})}var le,se,ue={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"},ce="'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif";!function(e){e.Arabic="Segoe UI Web (Arabic)",e.Cyrillic="Segoe UI Web (Cyrillic)",e.EastEuropean="Segoe UI Web (East European)",e.Greek="Segoe UI Web (Greek)",e.Hebrew="Segoe UI Web (Hebrew)",e.Thai="Leelawadee UI Web",e.Vietnamese="Segoe UI Web (Vietnamese)",e.WestEuropean="Segoe UI Web (West European)",e.Selawik="Selawik Web"}(le||(le={})),function(e){e.Arabic="'"+le.Arabic+"'",e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'"+le.Cyrillic+"'",e.EastEuropean="'"+le.EastEuropean+"'",e.Greek="'"+le.Greek+"'",e.Hebrew="'"+le.Hebrew+"'",e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'"+le.Selawik+"'",e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'"+le.Vietnamese+"'",e.WestEuropean="'"+le.WestEuropean+"'"}(se||(se={}));var de,ge,fe,pe="'Segoe UI', '"+le.WestEuropean+"'",Ce={ar:se.Arabic,bg:se.Cyrillic,cs:se.EastEuropean,el:se.Greek,et:se.EastEuropean,he:se.Hebrew,hi:se.Hindi,hr:se.EastEuropean,hu:se.EastEuropean,ja:se.Japanese,kk:se.EastEuropean,ko:se.Korean,lt:se.EastEuropean,lv:se.EastEuropean,pl:se.EastEuropean,ru:se.Cyrillic,sk:se.EastEuropean,"sr-latn":se.EastEuropean,th:se.Thai,tr:se.EastEuropean,uk:se.Cyrillic,vi:se.Vietnamese,"zh-hans":se.ChineseSimplified,"zh-hant":se.ChineseTraditional};function Ee(e){return e+", "+ce}function Ie(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.xxLarge="28px",e.superLarge="42px",e.mega="72px"}(de||(de={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(ge||(ge={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(fe||(fe={}));var he,me=n(12);var ve,Qe,Be,be,ye="https://static2.sharepointonline.com/files/fabric/assets",Pe=(ve=function(){if(void 0===he){var e=Object(me.a)(),t=function(e){var t=null;try{t=window.localStorage.getItem(e)}catch(e){}return t}("language");null!==t&&(he=t),void 0===he&&e&&(he=e.documentElement.getAttribute("lang")),void 0===he&&(he="en")}return he}(),Qe=function(e){for(var t in Ce)if(Ce.hasOwnProperty(t)&&e&&0===t.indexOf(e))return Ce[t];return pe}(ve),Be=Ee(Qe),be=Be,Qe===pe&&(be=Ee(se.WestEuropean)),{tiny:Ie(de.mini,ge.semibold,Be),xSmall:Ie(de.xSmall,ge.regular,Be),small:Ie(de.small,ge.regular,Be),smallPlus:Ie(de.smallPlus,ge.regular,Be),medium:Ie(de.medium,ge.regular,Be),mediumPlus:Ie(de.mediumPlus,ge.regular,Be),large:Ie(de.large,ge.semilight,be),xLarge:Ie(de.xLarge,ge.light,Be),xxLarge:Ie(de.xxLarge,ge.light,Be),superLarge:Ie(de.superLarge,ge.light,Be),mega:Ie(de.mega,ge.light,Be)});function ke(e,t,n,r){e="'"+e+"'";var o=void 0!==r?"local('"+r+"'),":"";Object(s.a)({fontFamily:e,src:o+"url('"+t+".woff2') format('woff2'),url('"+t+".woff') format('woff')",fontWeight:n,fontStyle:"normal"})}function Se(e,t,n,r,o){void 0===r&&(r="segoeui");var A=e+"/"+n+"/"+r;ke(t,A+"-light",ge.light,o&&o+" Light"),ke(t,A+"-semilight",ge.semilight,o&&o+" SemiLight"),ke(t,A+"-regular",ge.regular,o),ke(t,A+"-semibold",ge.semibold,o&&o+" SemiBold")}!function(e){if(e){var t=e+"/fonts";Se(t,le.Thai,"leelawadeeui-thai","leelawadeeui"),Se(t,le.Arabic,"segoeui-arabic"),Se(t,le.Cyrillic,"segoeui-cyrillic"),Se(t,le.EastEuropean,"segoeui-easteuropean"),Se(t,le.Greek,"segoeui-greek"),Se(t,le.Hebrew,"segoeui-hebrew"),Se(t,le.Vietnamese,"segoeui-vietnamese"),Se(t,le.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),Se(t,se.Selawik,"selawik","selawik"),ke("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-semilight",ge.light),ke("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-bold",ge.semibold)}}(function(){var e="undefined"!=typeof window?window:void 0,t=e?e.FabricConfig:void 0;return t&&void 0!==t.fontBaseUrl?t.fontBaseUrl:ye}());var xe="@media screen and (-ms-high-contrast: active)";function Te(e,t){return"@media only screen and (min-width: "+e+"px) and (max-width: "+t+"px)"}var ze,Le=n(63);function Re(e,t,n,r,o,A,i){return Oe(e,"number"!=typeof t&&t?t:{inset:t,position:n,highContrastStyle:r,borderColor:o,outlineColor:A,isFocusedOnly:i})}function Oe(e,t){void 0===t&&(t={});var n,r,o=t.inset,A=void 0===o?0:o,i=t.width,a=void 0===i?1:i,l=t.position,s=void 0===l?"relative":l,u=t.highContrastStyle,c=t.borderColor,d=void 0===c?e.palette.white:c,g=t.outlineColor,f=void 0===g?e.palette.neutralSecondary:g,p=t.isFocusedOnly,C=void 0===p||p;return{outline:"transparent",position:s,selectors:(n={"::-moz-focus-inner":{border:"0"}},n["."+Le.a+" &"+(C?":focus":"")+":after"]={content:'""',position:"absolute",left:A+1,top:A+1,bottom:A+1,right:A+1,border:a+"px solid "+d,outline:a+"px solid "+f,zIndex:ze.FocusStyle,selectors:(r={},r[xe]=u,r)},n)}}function we(){return{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(ze||(ze={}));var Xe={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden"};var He=n(75),De=Object(He.a)(function(e,t){var n=l.a.getInstance();return t?Object.keys(e).reduce(function(t,r){return t[r]=n.getClassName(e[r]),t},{}):e});function je(e,t,n){return De(e,void 0!==n?n:t.disableGlobalClassNames)}var Ne=n(16);n(51);function Fe(e){for(var t=[],n=1;n-1;e[r]=A?o:Me(e[r]||{},o,n)}else e[r]=o}return n.pop(),e}var We,Ve={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"},Je=(n(65),{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"}),Ke=Ye({palette:ue,semanticColors:Ge(ue,!1,!1),fonts:Pe,isInverted:!1,disableGlobalClassNames:!1}),Ze="theme";if(!Ne.a.getSettings([Ze]).theme){var Ue="undefined"!=typeof window?window:void 0;Ue&&Ue.FabricConfig&&Ue.FabricConfig.theme&&(Ke=Ye(Ue.FabricConfig.theme)),Ne.a.applySettings(((We={})[Ze]=Ke,We))}function qe(e){return void 0===e&&(e=!1),!0===e&&(Ke=Ye({},e)),Ke}function Ye(e,t){void 0===t&&(t=!1);var n=A.a({},ue,e.palette);e.palette&&e.palette.accent||(n.accent=n.themePrimary);var r=A.a({},Ge(n,!!e.isInverted,t),e.semanticColors),o=A.a({},Pe);if(e.defaultFontStyle)for(var i=0,a=Object.keys(o);i=0,i=!!e&&"false"!==o&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"true"===o||A);return t?-1!==n&&i:i}function v(e){return!!(e&&e.getAttribute&&e.getAttribute(u))}function Q(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute(c))}function B(e){var t=Object(a.a)(e),n=t&&t.activeElement;return!(!n||!Object(o.a)(e,n))}function b(e,t){return"true"!==function(e,t){var n=Object(r.a)(e,function(e){return e.hasAttribute(t)});return n&&n.getAttribute(t)}(e,t)}var y=void 0;function P(e){if(e){if(y)return void(y=e);y=e;var t=Object(i.a)(e);t&&t.requestAnimationFrame(function(){y&&y.focus(),y=void 0})}}function k(e,t){for(var n=e,r=0,o=t;r1)for(var n=1;n-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 r}(),o=e[t];if(A[o]){var i=e[t+1];A[o]&&(n.isWebkit&&e.push("-webkit-"+o,i),n.isMoz&&e.push("-moz-"+o,i),n.isMs&&e.push("-ms-"+o,i),n.isOpera&&e.push("-o-"+o,i))}}var a=["column-count","font-weight","flex-basis","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function l(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var o=-1===a.indexOf(n)?"px":"";e[t+1]=""+r+o}}var s=n(38);n.d(t,"b",function(){return p}),n.d(t,"d",function(){return C}),n.d(t,"a",function(){return E}),n.d(t,"c",function(){return I});var u="displayName";var c=/\:global\((.+?)\)/g;function d(e){if(!c.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 g(e,t){return e.indexOf(":global(")>=0?e.replace(c,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function f(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 p(e){if(!e)return"";var t,n,r=[];for(var o in e)e.hasOwnProperty(o)&&o!==u&&void 0!==e[o]&&r.push(o,e[o]);for(var A=0;A-1?e([E],n,d(C).split(/,/g).map(function(e){return e.trim()}).map(function(e){return g(e,r)}).join(", ")):e([E],n,g(C,r))}}else void 0!==s[c]&&("margin"===c||"padding"===c?f(i,c,s[c]):i[c]=s[c])}return n}(e),r=function(e){for(var t=[],n=!1,r=0,o=e.__order;r *":{position:"relative",left:0,top:0}}}],rootDisabled:[Object(o.u)(e,{inset:-1,highContrastStyle:s}),{backgroundColor:a,color:l,cursor:"default",pointerEvents:"none",selectors:(t={":hover":A,":focus":A},t[o.f]={color:"grayText",bordercolor:"grayText"},t)}],iconDisabled:{color:l},menuIconDisabled:{color:l},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},textContainer:{flexGrow:1},icon:i,menuIcon:[i,{fontSize:o.d.small}],label:{margin:"0 4px",lineHeight:"100%"},screenReaderText:o.z}})},function(e,t,n){"use strict";var r,o=n(0),A=n(1),i=n(93),a=n(101),l=n(5),s=n(26),u=n(32),c=n(76),d=n(128),g=n(78),f=n(8),p=n(125);!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(r||(r={}));var C=n(14),E=n(99),I=n(53),h=n(94),m=n(95),v=n(35),Q=n(9),B=n(12),b=n(21);function y(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function P(e){return!(!e.subMenuProps&&!e.items)}function k(e){return!(!e.isDisabled&&!e.disabled)}var S=n(22),x=n(105),T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.openSubMenu=function(){var e=t.props,n=e.item,r=e.openSubMenu,o=e.getSubmenuTarget;if(o){var A=o();P(n)&&r&&A&&r(n,A)}},t.dismissSubMenu=function(){var e=t.props,n=e.item,r=e.dismissSubMenu;P(n)&&r&&r()},t.dismissMenu=function(e){var n=t.props.dismissMenu;n&&n(void 0,e)},t}return o.c(t,e),t.prototype.render=function(){var e=this.props,t=e.item,n=e.classNames;return A.createElement("div",{className:t.split?n.linkContentMenu:n.linkContent},function(e){var t=e.onCheckmarkClick,n=e.item,r=e.classNames,o=y(n);if(t)return A.createElement(g.a,{iconName:o?"CheckMark":"",className:r.checkmarkIcon,onClick:function(e){return t(n,e)}});return null}(this.props),function(e){var t=e.item,n=e.hasIcons,r=e.classNames,i=t.iconProps;return n?t.onRenderIcon?t.onRenderIcon(e):A.createElement(g.a,o.a({},i,{className:r.icon})):null}(this.props),function(e){var t=e.item,n=e.classNames;return t.text||t.name?A.createElement("span",{className:n.label},t.text||t.name):null}(this.props),function(e){var t=e.item,n=e.classNames;return t.secondaryText?A.createElement("span",{className:n.secondaryText},t.secondaryText):null}(this.props),function(e){var t=e.item,n=e.classNames;return P(t)?A.createElement(g.a,o.a({iconName:Object(v.a)()?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:n.subMenuIcon})):null}(this.props))},t}(d.a),z=n(75),L=n(2),R=Object(z.a)(function(e){return Object(L.A)({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})}),O=Object(L.x)(0,L.j),w=Object(z.a)(function(){return{selectors:(e={},e[L.f]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"},e)};var e}),X=Object(z.a)(function(e){var t,n,r,A,i,a,l=e.semanticColors,s=e.fonts,u=l.menuItemBackgroundHovered,c=l.menuItemBackgroundChecked,d=l.bodyDivider,g={item:[s.medium,{color:l.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:d,position:"relative"},root:[Object(L.u)(e),s.medium,{color:l.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:"32px",lineHeight:"32px",display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:l.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[L.f]={color:"GrayText",opacity:1},t)},rootHovered:o.a({backgroundColor:u},w()),rootFocused:o.a({backgroundColor:u},w()),rootChecked:o.a({},w()),rootPressed:o.a({backgroundColor:c},w()),rootExpanded:o.a({backgroundColor:c,color:l.bodyTextChecked},w()),linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:"32px",width:"14px",margin:"0 4px",verticalAlign:"middle",flexShrink:"0"},iconColor:{color:l.menuIcon,selectors:(n={},n[L.f]={color:"inherit"},n["$root:hover &"]={selectors:(r={},r[L.f]={color:"HighlightText"},r)},n["$root:focus &"]={selectors:(A={},A[L.f]={color:"HighlightText"},A)},n)},iconDisabled:{color:l.disabledBodyText},checkmarkIcon:{color:l.bodySubtext,selectors:(i={},i[L.f]={color:"HighlightText"},i)},subMenuIcon:{height:"32px",lineHeight:"32px",textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:L.d.small,selectors:(a={},a[O]={fontSize:L.d.icon},a)},splitButtonFlexContainer:[Object(L.u)(e),{display:"flex",height:"32px",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"}]};return Object(L.r)(g)}),H=n(63),D=Object(L.x)(0,L.j),j=Object(z.a)(function(e){return Object(L.A)(R(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[D]={right:32},t)},divider:{height:16,width:1}});var t}),N={item:"ms-ContextualMenu-item",divider:"ms-ContextualMenu-divider",root:"ms-ContextualMenu-link",isChecked:"is-checked",isExpanded:"is-expanded",isDisabled:"is-disabled",linkContent:"ms-ContextualMenu-linkContent",linkContentMenu:"ms-ContextualMenu-linkContent",icon:"ms-ContextualMenu-icon",iconColor:"ms-ContextualMenu-iconColor",checkmarkIcon:"ms-ContextualMenu-checkmarkIcon",subMenuIcon:"ms-ContextualMenu-submenuIcon",label:"ms-ContextualMenu-itemText",secondaryText:"ms-ContextualMenu-secondaryText"},F=Object(z.a)(function(e,t,n,r,o,A,i,a,l,s,u,c){var d,g,f,p,C=X(e),E=Object(L.v)(N,e);return Object(L.A)({item:[E.item,C.item,i],divider:[E.divider,C.divider,a],root:[E.root,C.root,r&&[E.isChecked,C.rootChecked],o&&C.anchorLink,n&&[E.isExpanded,C.rootExpanded],t&&[E.isDisabled,C.rootDisabled],!t&&!n&&[{selectors:(d={":hover":C.rootHovered,":active":C.rootPressed},d["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=C.rootFocused,d["."+H.a+" &:hover"]={background:"inherit;"},d)}],c],splitPrimary:[C.root,r&&["is-checked",C.rootChecked],(t||u)&&["is-disabled",C.rootDisabled],!(t||u)&&!r&&[{selectors:(g={":hover":C.rootHovered,":hover ~ $splitMenu":C.rootHovered,":active":C.rootPressed},g["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=C.rootFocused,g["."+H.a+" &:hover"]={background:"inherit;"},g)}]],splitMenu:[C.root,{flexBasis:"0",padding:"0 8px",minWidth:28},n&&["is-expanded",C.rootExpanded],t&&["is-disabled",C.rootDisabled],!t&&!n&&[{selectors:(f={":hover":C.rootHovered,":active":C.rootPressed},f["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=C.rootFocused,f["."+H.a+" &:hover"]={background:"inherit;"},f)}]],anchorLink:C.anchorLink,linkContent:[E.linkContent,C.linkContent],linkContentMenu:[E.linkContentMenu,C.linkContent,{justifyContent:"center"}],icon:[E.icon,A&&C.iconColor,C.icon,l,t&&[E.isDisabled,C.iconDisabled]],iconColor:C.iconColor,checkmarkIcon:[E.checkmarkIcon,A&&C.checkmarkIcon,C.icon,l],subMenuIcon:[E.subMenuIcon,C.subMenuIcon,s],label:[E.label,C.label],secondaryText:[E.secondaryText,C.secondaryText],splitContainer:[C.splitButtonFlexContainer,{alignItems:"flex-start"},!t&&!r&&[{selectors:(p={},p["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=C.rootFocused,p)}]]})}),M=function(e){var t=e.theme,n=e.disabled,r=e.expanded,o=e.checked,A=e.isAnchorLink,i=e.knownIcon,a=e.itemClassName,l=e.dividerClassName,s=e.iconClassName,u=e.subMenuClassName,c=e.primaryDisabled,d=e.className;return F(t,n,r,o,A,i,a,l,s,u,c,d)},W=Object(p.a)(T,M,void 0,{scope:"ContextualMenuItem"}),V=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onItemMouseEnter=function(e){var n=t.props,r=n.item,o=n.onItemMouseEnter;o&&o(r,e,e.currentTarget)},t._onItemClick=function(e){var n=t.props,r=n.item,o=n.onItemClickBase;o&&o(r,e,e.currentTarget)},t._onItemMouseLeave=function(e){var n=t.props,r=n.item,o=n.onItemMouseLeave;o&&o(r,e)},t._onItemKeyDown=function(e){var n=t.props,r=n.item,o=n.onItemKeyDown;o&&o(r,e)},t._onItemMouseMove=function(e){var n=t.props,r=n.item,o=n.onItemMouseMove;o&&o(r,e,e.currentTarget)},t._getSubMenuId=function(e){var n=t.props.getSubMenuId;if(n)return n(e)},t._getSubmenuTarget=function(){},t}return o.c(t,e),t.prototype.shouldComponentUpdate=function(e){return!Object(s.d)(e,this.props)},t}(d.a),J=n(77),K=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=A.createRef(),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var n=t.props,r=n.item,o=n.onItemClick;o&&o(r,e)},t}return o.c(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,i=t.index,a=t.focusableElementIndex,l=t.totalItemCount,s=t.hasCheckmarks,c=t.hasIcons,d=t.contextualMenuItemAs,g=void 0===d?W:d,f=t.expandedMenuItemKey,p=t.onItemClick,C=t.openSubMenu,E=t.dismissSubMenu,I=t.dismissMenu,h=n.rel;n.target&&"_blank"===n.target.toLowerCase()&&(h=h||"nofollow noopener noreferrer");var m=this._getSubMenuId(n),v=P(n),Q=Object(u.d)(n,u.a),B=k(n),b=n.itemProps,y=n.keytipProps;return y&&v&&(y=o.a({},y,{hasMenu:!0})),A.createElement("div",null,A.createElement(J.a,{keytipProps:n.keytipProps,ariaDescribedBy:Q["aria-describedby"],disabled:B},function(t){return A.createElement("a",o.a({},Q,t,{ref:e._anchor,href:n.href,target:n.target,rel:h,className:r.root,role:"menuitem","aria-owns":n.key===f?m:void 0,"aria-haspopup":v||void 0,"aria-expanded":v?n.key===f:void 0,"aria-posinset":a+1,"aria-setsize":l,"aria-disabled":k(n),style:n.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:v?e._onItemKeyDown:void 0}),A.createElement(g,o.a({componentRef:n.componentRef,item:n,classNames:r,index:i,onCheckmarkClick:s&&p?p:void 0,hasIcons:c,openSubMenu:C,dismissSubMenu:E,dismissMenu:I,getSubmenuTarget:e._getSubmenuTarget},b)))}))},t}(V),Z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=A.createRef(),t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return o.c(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,i=t.index,a=t.focusableElementIndex,l=t.totalItemCount,s=t.hasCheckmarks,c=t.hasIcons,d=t.contextualMenuItemAs,g=void 0===d?W:d,f=t.expandedMenuItemKey,p=t.onItemMouseDown,C=t.onItemClick,E=t.openSubMenu,I=t.dismissSubMenu,h=t.dismissMenu,m=this._getSubMenuId(n),v=y(n),Q=null!==v,B=Q?"menuitemcheckbox":"menuitem",b=P(n),S=n.itemProps,x=n.ariaLabel,T=Object(u.d)(n,u.b);delete T.disabled;var z={className:r.root,onClick:this._onItemClick,onKeyDown:b?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return p?p(n,e):void 0},onMouseMove:this._onItemMouseMove,href:n.href,title:n.title,"aria-label":x,"aria-haspopup":b||void 0,"aria-owns":n.key===f?m:void 0,"aria-expanded":b?n.key===f:void 0,"aria-checked":Q?!!v:void 0,"aria-posinset":a+1,"aria-setsize":l,"aria-disabled":k(n),role:n.role||B,style:n.style},L=n.keytipProps;return L&&b&&(L=o.a({},L,{hasMenu:!0})),A.createElement(J.a,{keytipProps:L,ariaDescribedBy:T["aria-describedby"],disabled:k(n)},function(t){return A.createElement("button",o.a({ref:e._btn},T,z,t),A.createElement(g,o.a({componentRef:n.componentRef,item:n,classNames:r,index:i,onCheckmarkClick:s&&C?C:void 0,hasIcons:c,openSubMenu:E,dismissSubMenu:I,dismissMenu:h,getSubmenuTarget:e._getSubmenuTarget},S)))})},t}(V),U=Object(I.a)(),q=Object(p.a)(function(e){var t=e.styles,n=e.theme,r=e.getClassNames,o=e.className,i=U(t,{theme:n,getClassNames:r,className:o});return A.createElement("span",{className:i.wrapper},A.createElement("span",{className:i.divider}))},function(e){var t=e.theme,n=e.getClassNames,r=e.className;if(!t)throw new Error("Theme is undefined or null.");if(n){var o=n(t);return{wrapper:[o.wrapper],divider:[o.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},r],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}},void 0,{scope:"VerticalDivider"}),Y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onItemKeyDown=function(e){var n=t.props,r=n.item,o=n.onItemKeyDown;e.which===l.a.enter?(t._executeItemClick(e),e.preventDefault(),e.stopPropagation()):o&&o(r,e)},t._getSubmenuTarget=function(){return t._splitButton},t._onItemMouseEnterPrimary=function(e){var n=t.props,r=n.item,A=n.onItemMouseEnter;A&&A(o.a({},r,{subMenuProps:void 0,items:void 0}),e,t._splitButton)},t._onItemMouseEnterIcon=function(e){var n=t.props,r=n.item,o=n.onItemMouseEnter;o&&o(r,e,t._splitButton)},t._onItemMouseMovePrimary=function(e){var n=t.props,r=n.item,A=n.onItemMouseMove;A&&A(o.a({},r,{subMenuProps:void 0,items:void 0}),e,t._splitButton)},t._onItemMouseMoveIcon=function(e){var n=t.props,r=n.item,o=n.onItemMouseMove;o&&o(r,e,t._splitButton)},t._onIconItemClick=function(e){var n=t.props,r=n.item,o=n.onItemClickBase;o&&o(r,e,t._splitButton?t._splitButton:e.currentTarget)},t._executeItemClick=function(e){var n=t.props,r=n.item,o=n.executeItemClick,A=n.onItemClick;if(!r.disabled&&!r.isDisabled)return t._processingTouch&&A?A(r,e):void(o&&o(r,e))},t._onTouchStart=function(e){!t._splitButton||"onpointerdown"in t._splitButton||t._handleTouchAndPointerEvent(e)},t._onPointerDown=function(e){"touch"===e.pointerType&&(t._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},t}return o.c(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,i=t.index,a=t.focusableElementIndex,l=t.totalItemCount,s=t.hasCheckmarks,u=t.hasIcons,d=t.onItemMouseLeave,g=t.expandedMenuItemKey,f=P(n),p=n.keytipProps;return p&&(p=o.a({},p,{hasMenu:!0})),A.createElement(J.a,{keytipProps:p,disabled:k(n)},function(t){return A.createElement("div",{"data-ktp-target":t["data-ktp-target"],ref:function(t){return e._splitButton=t},role:"menuitem","aria-label":n.ariaLabel,className:r.splitContainer,"aria-disabled":k(n),"aria-expanded":f?n.key===g:void 0,"aria-haspopup":!0,"aria-describedby":Object(c.a)(n.ariaDescription,t["aria-describedby"]),"aria-checked":n.isChecked||n.checked,"aria-posinset":a+1,"aria-setsize":l,onMouseEnter:e._onItemMouseEnterPrimary,onMouseLeave:d?d.bind(e,o.a({},n,{subMenuProps:null,items:null})):void 0,onMouseMove:e._onItemMouseMovePrimary,onKeyDown:e._onItemKeyDown,onClick:e._executeItemClick,onTouchStart:e._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":n["aria-roledescription"]},e._renderSplitPrimaryButton(n,r,i,s,u),e._renderSplitDivider(n),e._renderSplitIconButton(n,r,i,t))})},t.prototype._renderSplitPrimaryButton=function(e,t,n,r,i){var a=this.props,l=a.contextualMenuItemAs,s=void 0===l?W:l,c=a.onItemClick,d={key:e.key,disabled:k(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,"data-is-focusable":!1,"aria-hidden":!0},g=e.itemProps;return A.createElement("button",o.a({},Object(u.d)(d,u.b)),A.createElement(s,o.a({"data-is-focusable":!1,item:d,classNames:t,index:n,onCheckmarkClick:r&&c?c:void 0,hasIcons:i},g)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||j;return A.createElement(q,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,n,r){var i=this.props,a=i.contextualMenuItemAs,l=void 0===a?W:a,s=i.onItemMouseLeave,c=i.onItemMouseDown,d=i.openSubMenu,g=i.dismissSubMenu,f=i.dismissMenu,p={onClick:this._onIconItemClick,disabled:k(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key},C=o.a({},Object(u.d)(p,u.b),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:s?s.bind(this,e):void 0,onMouseDown:function(t){return c?c(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":r["data-ktp-execute-target"],"aria-hidden":!0}),E=e.itemProps;return A.createElement("button",o.a({},C),A.createElement(l,o.a({componentRef:e.componentRef,item:p,classNames:t,index:n,hasIcons:!1,openSubMenu:d,dismissSubMenu:g,dismissMenu:f,getSubmenuTarget:this._getSubmenuTarget},E)))},t.prototype._handleTouchAndPointerEvent=function(e){var t=this,n=this.props.onTap;n&&n(e),this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){t._processingTouch=!1,t._lastTouchTimeoutId=void 0},500)},t}(V),G=Object(I.a)(),_=Object(I.a)();function $(e){return e.subMenuProps?e.subMenuProps.items:e.items}var ee=250,te=function(e){function t(t){var n=e.call(this,t)||this;return n._mounted=!1,n.dismiss=function(e,t){var r=n.props.onDismiss;r&&r(e,t)},n._onRenderMenuList=function(e,t){var o=0;return A.createElement("ul",{className:n._classNames.list,onKeyDown:n._onKeyDown,onKeyUp:n._onKeyUp,role:"menu"},e.items.map(function(t,A){var i=n._renderMenuItem(t,A,o,e.totalItemCount,e.hasCheckmarks,e.hasIcons);if(t.itemType!==r.Divider&&t.itemType!==r.Header){var a=t.customOnRenderListLength?t.customOnRenderListLength:1;o+=a}return i}))},n._onKeyDown=function(e){n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e);var t=e.which===l.a.escape&&(Object(h.a)()||Object(m.a)());return n._keyHandler(e,n._shouldHandleKeyDown,t)},n._shouldHandleKeyDown=function(e){return e.which===l.a.escape||n._shouldCloseSubMenu(e)||e.which===l.a.up&&(e.altKey||e.metaKey)},n._onMenuFocusCapture=function(e){n.props.delayUpdateFocusOnHover&&(n._shouldUpdateFocusOnMouseEvent=!0)},n._onKeyUp=function(e){return n._keyHandler(e,n._shouldHandleKeyUp,!0)},n._shouldHandleKeyUp=function(e){var t=n._lastKeyDownWasAltOrMeta&&n._isAltOrMeta(e);return n._lastKeyDownWasAltOrMeta=!1,!!t&&!(Object(m.a)()||Object(h.a)())},n._keyHandler=function(e,t,r){var o=!1;return t(e)&&(n._isFocusingPreviousElement=!0,e.preventDefault(),e.stopPropagation(),n.dismiss(e,r),o=!0),o},n._shouldCloseSubMenu=function(e){var t=Object(v.a)()?l.a.right:l.a.left;return!(e.which!==t||!n.props.isSubMenu)&&(n._adjustedFocusZoneProps.direction===C.a.vertical||!!n._adjustedFocusZoneProps.checkForNoWrap&&!Object(Q.o)(e.target,"data-no-horizontal-wrap"))},n._onMenuKeyDown=function(e){if(!n._onKeyDown(e)&&n._host){var t=!(!e.altKey&&!e.metaKey),r=e.which===l.a.up,o=e.which===l.a.down;if(!t&&(r||o)){var A=r?Object(Q.h)(n._host,n._host.lastChild,!0):Object(Q.e)(n._host,n._host.firstChild,!0);A&&(A.focus(),e.preventDefault(),e.stopPropagation())}}},n._onScroll=function(){n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(n._async.clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),n._scrollIdleTimeoutId=n._async.setTimeout(function(){n._isScrollIdle=!0},ee)},n._onItemMouseEnterBase=function(e,t,r){n._shouldIgnoreMouseEvent()||n._updateFocusOnMouseEvent(e,t,r)},n._onItemMouseMoveBase=function(e,t,r){var o=t.currentTarget;n._shouldUpdateFocusOnMouseEvent&&(n._gotMouseMove=!0,n._isScrollIdle&&void 0===n._enterTimerId&&o!==n._targetWindow.document.activeElement&&n._updateFocusOnMouseEvent(e,t,r))},n._onMouseItemLeave=function(e,t){if(!n._shouldIgnoreMouseEvent()&&(void 0!==n._enterTimerId&&(n._async.clearTimeout(n._enterTimerId),n._enterTimerId=void 0),void 0===n.state.expandedMenuItemKey))if(n._host.setActive)try{n._host.setActive()}catch(e){}else n._host.focus()},n._onItemMouseDown=function(e,t){e.onMouseDown&&e.onMouseDown(e,t)},n._onItemClick=function(e,t){n._onItemClickBase(e,t,t.currentTarget)},n._onItemClickBase=function(e,t,r){var o=$(e);n._cancelSubMenuTimer(),P(e)||o&&o.length?e.key!==n.state.expandedMenuItemKey&&(n.setState({expandedByMouseClick:0!==t.nativeEvent.detail||"mouse"===t.nativeEvent.pointerType}),n._onItemSubMenuExpand(e,r)):n._executeItemClick(e,t),t.stopPropagation(),t.preventDefault()},n._onAnchorClick=function(e,t){n._executeItemClick(e,t),t.stopPropagation()},n._executeItemClick=function(e,t){if(!e.disabled&&!e.isDisabled){var r=!1;e.onClick?r=!!e.onClick(t,e):n.props.onItemClick&&(r=!!n.props.onItemClick(t,e)),(r||!t.defaultPrevented)&&n.dismiss(t,!0)}},n._onItemKeyDown=function(e,t){var r=Object(v.a)()?l.a.left:l.a.right;e.disabled||t.which!==r&&t.which!==l.a.enter&&(t.which!==l.a.down||!t.altKey&&!t.metaKey)||(n.setState({expandedByMouseClick:!1}),n._onItemSubMenuExpand(e,t.currentTarget),t.preventDefault())},n._cancelSubMenuTimer=function(){void 0!==n._enterTimerId&&(n._async.clearTimeout(n._enterTimerId),n._enterTimerId=void 0)},n._onItemSubMenuExpand=function(e,t){n.state.expandedMenuItemKey!==e.key&&(n.state.expandedMenuItemKey&&n._onSubMenuDismiss(),t.focus(),n.setState({expandedMenuItemKey:e.key,submenuTarget:t}))},n._onSubMenuDismiss=function(e,t){t?n.dismiss(e,t):n._mounted&&n.setState({dismissedMenuItemKey:n.state.expandedMenuItemKey,expandedMenuItemKey:void 0,submenuTarget:void 0})},n._getSubMenuId=function(e){var t=n.state.subMenuId;return e.subMenuProps&&e.subMenuProps.id&&(t=e.subMenuProps.id),t},n._onPointerAndTouchEvent=function(e){n._cancelSubMenuTimer()},n.state={contextualMenuItems:void 0,subMenuId:Object(s.c)("ContextualMenu")},n._warnDeprecations({getMenuClassNames:"styles"}),n._isFocusingPreviousElement=!1,n._isScrollIdle=!0,n._shouldUpdateFocusOnMouseEvent=!n.props.delayUpdateFocusOnHover,n._gotMouseMove=!1,n}return o.c(t,e),t.prototype.componentWillUpdate=function(e){if(e.target!==this.props.target){var t=e.target;this._setTargetWindowAndElement(t)}e.hidden!==this.props.hidden&&(e.hidden?this._onMenuClosed():(this._onMenuOpened(),this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:null)),e.delayUpdateFocusOnHover!==this.props.delayUpdateFocusOnHover&&(this._shouldUpdateFocusOnMouseEvent=!e.delayUpdateFocusOnHover,this._gotMouseMove=this._shouldUpdateFocusOnMouseEvent&&this._gotMouseMove)},t.prototype.componentWillMount=function(){var e=this.props.target;this._setTargetWindowAndElement(e),this.props.hidden||(this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:null)},t.prototype.componentDidMount=function(){this.props.hidden||this._onMenuOpened(),this._mounted=!0},t.prototype.componentWillUnmount=function(){var e=this;this._isFocusingPreviousElement&&this._previousActiveElement&&setTimeout(function(){e._previousActiveElement&&e._previousActiveElement.focus()},0),this.props.onMenuDismissed&&this.props.onMenuDismissed(this.props),this._events.dispose(),this._async.dispose(),this._mounted=!1},t.prototype.render=function(){var e=this,t=this.props.isBeakVisible,n=this.props,a=n.items,l=n.labelElementId,s=n.id,u=n.className,c=n.beakWidth,d=n.directionalHint,g=n.directionalHintForRTL,f=n.alignTargetEdge,p=n.gapSpace,I=n.coverTarget,h=n.ariaLabel,m=n.doNotLayer,v=n.target,Q=n.bounds,B=n.useTargetWidth,b=n.useTargetAsMinWidth,y=n.directionalHintFixed,P=n.shouldFocusOnMount,k=n.shouldFocusOnContainer,T=n.title,z=n.styles,L=n.theme,R=n.calloutProps,O=n.onRenderSubMenu,w=void 0===O?this._onRenderSubMenu:O,X=n.onRenderMenuList,H=void 0===X?this._onRenderMenuList:X,D=n.focusZoneProps,j=n.getMenuClassNames;this._classNames=j?j(L,u):G(z,{theme:L,className:u});var N=function e(t){for(var n=0,o=t;n0){for(var K=0,Z=0,U=a;Z0?A.createElement("li",{role:"presentation",key:l.key||e.key||"section-"+n},A.createElement("div",{role:"group"},A.createElement("ul",{className:this._classNames.list},l.topDivider&&this._renderSeparator(n,t,!0,!0),s&&this._renderListItem(s,e.key||n,t,e.title),l.items.map(function(e,t){return a._renderMenuItem(e,t,t,l.items.length,o,i)}),l.bottomDivider&&this._renderSeparator(n,t,!1,!0)))):void 0}},t.prototype._renderListItem=function(e,t,n,r){return A.createElement("li",{role:"presentation",title:r,key:t,className:n.item},e)},t.prototype._renderSeparator=function(e,t,n,r){return r||e>0?A.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},t.prototype._renderNormalItem=function(e,t,n,r,A,i,a){return e.onRender?e.onRender(o.a({"aria-posinset":r+1,"aria-setsize":A},e),this.dismiss):e.href?this._renderAnchorMenuItem(e,t,n,r,A,i,a):e.split&&P(e)?this._renderSplitButton(e,t,n,r,A,i,a):this._renderButtonItem(e,t,n,r,A,i,a)},t.prototype._renderHeaderMenuItem=function(e,t,n,r,i){var a=this.props.contextualMenuItemAs,l=void 0===a?W:a,s=e.itemProps,c=s&&Object(u.d)(s,u.c);return A.createElement("div",o.a({className:this._classNames.header},c,{style:e.style}),A.createElement(l,o.a({item:e,classNames:t,index:n,onCheckmarkClick:r?this._onItemClick:void 0,hasIcons:i},s)))},t.prototype._renderAnchorMenuItem=function(e,t,n,r,o,i,a){var l=this.props.contextualMenuItemAs,s=this.state.expandedMenuItemKey;return A.createElement(K,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:o,hasCheckmarks:i,hasIcons:a,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onAnchorClick,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:s,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderButtonItem=function(e,t,n,r,o,i,a){var l=this.props.contextualMenuItemAs,s=this.state.expandedMenuItemKey;return A.createElement(Z,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:o,hasCheckmarks:i,hasIcons:a,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:s,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderSplitButton=function(e,t,n,r,o,i,a){var l=this.props.contextualMenuItemAs,s=this.state.expandedMenuItemKey;return A.createElement(Y,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:o,hasCheckmarks:i,hasIcons:a,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss,expandedMenuItemKey:s,onTap:this._onPointerAndTouchEvent})},t.prototype._isAltOrMeta=function(e){return e.which===l.a.alt||"Meta"===e.key},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._updateFocusOnMouseEvent=function(e,t,n){var r=this,o=n||t.currentTarget,A=this.props.subMenuHoverDelay,i=void 0===A?ee:A;e.key!==this.state.expandedMenuItemKey&&(void 0!==this._enterTimerId&&(this._async.clearTimeout(this._enterTimerId),this._enterTimerId=void 0),void 0===this.state.expandedMenuItemKey&&o.focus(),P(e)?(t.stopPropagation(),this._enterTimerId=this._async.setTimeout(function(){o.focus(),r.setState({expandedByMouseClick:!0}),r._onItemSubMenuExpand(e,o),r._enterTimerId=void 0},i)):this._enterTimerId=this._async.setTimeout(function(){r._onSubMenuDismiss(t),o.focus(),r._enterTimerId=void 0},i))},t.prototype._getSubmenuProps=function(){var e=this.state,t=e.submenuTarget,n=e.expandedMenuItemKey,r=this._findItemByKey(n),o=null;return r&&(o={items:$(r),target:t,onDismiss:this._onSubMenuDismiss,isSubMenu:!0,id:this.state.subMenuId,shouldFocusOnMount:!0,shouldFocusOnContainer:this.state.expandedByMouseClick,directionalHint:Object(v.a)()?f.a.leftTopEdge:f.a.rightTopEdge,className:this.props.className,gapSpace:0,isBeakVisible:!1},r.subMenuProps&&Object(s.a)(o,r.subMenuProps)),o},t.prototype._findItemByKey=function(e){var t=this.props.items;return this._findItemByKeyFromItems(e,t)},t.prototype._findItemByKeyFromItems=function(e,t){for(var n=0,o=t;nc[e];)e++}catch(t){e=i.large}else{if(void 0===u)throw new Error("Content was rendered in a server environment without providing a default responsive mode. Call setResponsiveMode to define what the responsive mode is.");e=u}return e},n}(a);return Object(s.a)(e,t)}},,,function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(1),o=r.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}})},function(e,t,n){"use strict";(function(e){n.d(t,"d",function(){return l}),n.d(t,"a",function(){return s}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return d});var r=n(11),o="__currentId__",A="id__",i="undefined"!=typeof window&&window||e;function a(e,t){for(var n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||t[n]!==e[n]))return!1;return!0}function l(e,t){return a(e,t)&&a(t,e)}function s(e){for(var t=[],n=1;n0){n.subComponentStyles={};var g=n.subComponentStyles,f=function(e){if(o.hasOwnProperty(e)){var t=o[e];g[e]=function(e){return r.apply(void 0,t.map(function(t){return"function"==typeof t?t(e):t}))}}};for(var u in o)f(u)}return n}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return r});function r(e){console&&console.warn&&console.warn(e)}}).call(this,n(17))},function(e,t,n){"use strict";n.d(t,"a",function(){return A});var r=n(2),o=n(75),A=Object(o.a)(function(e,t){var n={splitButtonContainer:[Object(r.u)(e,{highContrastStyle:{left:-2,top:-2,bottom:-2,right:-2,border:"none"}}),{display:"inline-flex"}],splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:{padding:6,height:"auto",boxSizing:"border-box",border:0,borderRadius:0,outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:32,marginLeft:-1},splitButtonDivider:{position:"absolute",width:1,right:31,top:8,bottom:8},splitButtonMenuButtonDisabled:{pointerEvents:"none",selectors:{":hover":{cursor:"default"}}},splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:{outline:"none",border:"none"}};return Object(r.r)(n,t)})},function(e,t,n){"use strict";n.d(t,"e",function(){return o}),n.d(t,"a",function(){return A}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return a}),n.d(t,"g",function(){return l}),n.d(t,"f",function(){return s}),n.d(t,"d",function(){return u});var r=n(26),o=["defaultChecked","defaultValue","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","charSet","challenge","checked","children","classID","className","cols","colSpan","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","download","draggable","encType","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","height","hidden","high","hrefLang","htmlFor","httpEquiv","icon","id","inputMode","integrity","is","keyParams","keyType","kind","lang","list","loop","low","manifest","marginHeight","marginWidth","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","placeholder","poster","preload","radioGroup","readOnly","rel","required","role","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","spellCheck","src","srcDoc","srcLang","srcSet","start","step","style","summary","tabIndex","title","type","useMap","value","width","wmode","wrap"].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"]),A=o.concat(["href","target"]),i=o.concat(["disabled"]),a=o.concat(["align","noWrap"]),l=i,s=a;function u(e,t,n){return Object(r.b)(function(e){return(!n||n.indexOf(e)<0)&&(0===e.indexOf("data-")||0===e.indexOf("aria-")||t.indexOf(e)>=0)},{},e)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return r});n(30);function r(e,t,n){}}).call(this,n(17))},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(15);function o(e,t,n){void 0===n&&(n=!0);var o=!1;if(e&&t)if(n)for(o=!1;t;){var A=Object(r.a)(t);if(A===e){o=!0;break}t=A}else e.contains&&(o=e.contains(t));return o}},function(e,t,n){"use strict";n(5);var r=n(12);var o=n(38);n.d(t,"a",function(){return a});var A,i="isRTL";function a(){if(void 0===A){var e=function(e){var t=null;try{t=window.sessionStorage.getItem(e)}catch(e){}return t}(i);null!==e&&function(e,t){void 0===t&&(t=!1);var n=Object(r.a)();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr");t&&function(e,t){try{window.sessionStorage.setItem(e,t)}catch(e){}}(i,e?"1":"0");A=e,Object(o.b)(A)}(A="1"===e);var t=Object(r.a)();void 0===A&&t&&(A="rtl"===(t.body&&t.body.getAttribute("dir")||t.documentElement.getAttribute("dir")),Object(o.b)(A))}return!!A}},,,function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"a",function(){return g});var r,o=n(11),A="left",i="right",a="@noflip",l=((r={})[A]=i,r[i]=A,r),s={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"},u=d();function c(e){u!==e&&(o.a.getInstance().resetKeys(),u=e)}function d(){return void 0===u&&(u="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),u}function g(e,t){if(d()){var n=e[t];if(!n)return;var r=e[t+1];if("string"==typeof r&&r.indexOf(a)>=0)e[t+1]=r.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(n.indexOf(A)>=0)e[t]=n.replace(A,i);else if(n.indexOf(i)>=0)e[t]=n.replace(i,A);else if(String(r).indexOf(A)>=0)e[t+1]=r.replace(A,i);else if(String(r).indexOf(i)>=0)e[t+1]=r.replace(i,A);else if(l[n])e[t]=l[n];else if(s[r])e[t+1]=s[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[t],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(r,0)}}}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(88)},function(e,t,n){"use strict";n.d(t,"a",function(){return A});var r=n(18),o=n(41);function A(){for(var e=[],t=0;t=0)e(a.split(" "));else{var l=A.argsFromClassName(a);l?e(l):-1===n.indexOf(a)&&n.push(a)}else Array.isArray(a)?e(a):"object"==typeof a&&o.push(a)}}(e),{classes:n,objects:o}}},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=!1},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(15);function o(e,t){return e&&e!==document.body?t(e)?e:o(Object(r.a)(e),t):null}},function(e,t,n){"use strict";function r(e){for(var t=[],n=1;n=0&&(o[e].splice(n,1),0===o[e].length&&delete o[e])}}function a(){return r}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o});var r="data-portal-element";function o(e){e.setAttribute(r,"true")}},function(e,t,n){"use strict";function r(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}n.d(t,"a",function(){return r})},,function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n(41),o=n(29),A=n(18);function i(){for(var e=[],t=0;t=i&&(!t||a)?(s=n,u&&(r.clearTimeout(u),u=null),o=e.apply(r._parent,A)):null===u&&l&&(u=r.setTimeout(c,g)),o};return function(){for(var e=[],t=0;t=a&&(n=!0),c=t);var o=t-c,i=a-o,f=t-d,E=!1;return null!==u&&(f>=u&&g?E=!0:i=Math.min(i,u-f)),o>=a||E||n?p(t):null!==g&&e||!s||(g=r.setTimeout(C,i)),A},E=function(){return!!g},I=function(){for(var e=[],t=0;t=0;a--)(o=e[a])&&(i=(A<3?o(i):A>3?o(t,n,i):o(t,n))||i);return A>3&&i&&Object.defineProperty(t,n,i),i}function l(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,A=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=A.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=A.return)&&n.call(A)}finally{if(o)throw o.error}}return i}function u(){for(var e=[],t=0;t10?" (+ "+(E.length-10)+" more)":"")),I=void 0,E=[]}),2e3)))}var m=n(61),v="cubic-bezier(.1,.9,.2,1)",Q="cubic-bezier(.1,.25,.75,.9)",B=Object(m.a)({from:{opacity:0},to:{opacity:1}}),b=Object(m.a)({from:{opacity:1},to:{opacity:0}}),y=oe(-10),P=oe(-20),k=oe(-40),S=oe(-400),x=oe(10),T=oe(20),z=oe(40),L=oe(400),R=Ae(10),O=Ae(20),w=Ae(-10),X=Ae(-20),H=ie(10),D=ie(20),j=ie(40),N=ie(400),F=ie(-10),M=ie(-20),W=ie(-40),V=ie(-400),J=ae(-10),K=ae(-20),Z=ae(10),U=ae(20),q=Object(m.a)({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),Y=Object(m.a)({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),G=Object(m.a)({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),_=Object(m.a)({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),$=Object(m.a)({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),ee=Object(m.a)({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),te={easeFunction1:v,easeFunction2:Q,durationValue1:"0.167s",durationValue2:"0.267s",durationValue3:"0.367s",durationValue4:"0.467s"},ne={slideRightIn10:re(B+","+y,"0.367s",v),slideRightIn20:re(B+","+P,"0.367s",v),slideRightIn40:re(B+","+k,"0.367s",v),slideRightIn400:re(B+","+S,"0.367s",v),slideLeftIn10:re(B+","+x,"0.367s",v),slideLeftIn20:re(B+","+T,"0.367s",v),slideLeftIn40:re(B+","+z,"0.367s",v),slideLeftIn400:re(B+","+L,"0.367s",v),slideUpIn10:re(B+","+R,"0.367s",v),slideUpIn20:re(B+","+O,"0.367s",v),slideDownIn10:re(B+","+w,"0.367s",v),slideDownIn20:re(B+","+X,"0.367s",v),slideRightOut10:re(b+","+H,"0.367s",v),slideRightOut20:re(b+","+D,"0.367s",v),slideRightOut40:re(b+","+j,"0.367s",v),slideRightOut400:re(b+","+N,"0.367s",v),slideLeftOut10:re(b+","+F,"0.367s",v),slideLeftOut20:re(b+","+M,"0.367s",v),slideLeftOut40:re(b+","+W,"0.367s",v),slideLeftOut400:re(b+","+V,"0.367s",v),slideUpOut10:re(b+","+J,"0.367s",v),slideUpOut20:re(b+","+K,"0.367s",v),slideDownOut10:re(b+","+Z,"0.367s",v),slideDownOut20:re(b+","+U,"0.367s",v),scaleUpIn100:re(B+","+q,"0.367s",v),scaleDownIn100:re(B+","+G,"0.367s",v),scaleUpOut103:re(b+","+_,"0.167s",Q),scaleDownOut98:re(b+","+Y,"0.167s",Q),fadeIn100:re(B,"0.167s",Q),fadeIn200:re(B,"0.267s",Q),fadeIn400:re(B,"0.367s",Q),fadeIn500:re(B,"0.467s",Q),fadeOut100:re(b,"0.167s",Q),fadeOut200:re(b,"0.267s",Q),fadeOut400:re(b,"0.367s",Q),fadeOut500:re(b,"0.467s",Q),rotate90deg:re($,"0.1s",Q),rotateN90deg:re(ee,"0.1s",Q)};function re(e,t,n){return{animationName:e,animationDuration:t,animationTimingFunction:n,animationFillMode:"both"}}function oe(e){return Object(m.a)({from:{transform:"translate3d("+e+"px,0,0)"},to:{transform:"translate3d(0,0,0)"}})}function Ae(e){return Object(m.a)({from:{transform:"translate3d(0,"+e+"px,0)"},to:{transform:"translate3d(0,0,0)"}})}function ie(e){return Object(m.a)({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d("+e+"px,0,0)"}})}function ae(e){return Object(m.a)({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,"+e+"px,0)"}})}var le,se,ue={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"}(le||(le={})),function(e){e.Arabic="'"+le.Arabic+"'",e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'"+le.Cyrillic+"'",e.EastEuropean="'"+le.EastEuropean+"'",e.Greek="'"+le.Greek+"'",e.Hebrew="'"+le.Hebrew+"'",e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'"+le.Selawik+"'",e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'"+le.Vietnamese+"'",e.WestEuropean="'"+le.WestEuropean+"'"}(se||(se={}));var ce,de,ge,fe="'Segoe UI', '"+le.WestEuropean+"'",pe={ar:se.Arabic,bg:se.Cyrillic,cs:se.EastEuropean,el:se.Greek,et:se.EastEuropean,he:se.Hebrew,hi:se.Hindi,hr:se.EastEuropean,hu:se.EastEuropean,ja:se.Japanese,kk:se.EastEuropean,ko:se.Korean,lt:se.EastEuropean,lv:se.EastEuropean,pl:se.EastEuropean,ru:se.Cyrillic,sk:se.EastEuropean,"sr-latn":se.EastEuropean,th:se.Thai,tr:se.EastEuropean,uk:se.Cyrillic,vi:se.Vietnamese,"zh-hans":se.ChineseSimplified,"zh-hant":se.ChineseTraditional};function Ce(e){return e+", 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif"}function Ee(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.xxLarge="28px",e.superLarge="42px",e.mega="72px"}(ce||(ce={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(de||(de={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(ge||(ge={}));var Ie,he=n(12);var me,ve,Qe,Be,be=(me=function(){if(void 0===Ie){var e=Object(he.a)(),t=function(e){var t=null;try{t=window.localStorage.getItem(e)}catch(e){}return t}("language");null!==t&&(Ie=t),void 0===Ie&&e&&(Ie=e.documentElement.getAttribute("lang")),void 0===Ie&&(Ie="en")}return Ie}(),ve=function(e){for(var t in pe)if(pe.hasOwnProperty(t)&&e&&0===t.indexOf(e))return pe[t];return fe}(me),Qe=Ce(ve),Be=Qe,ve===fe&&(Be=Ce(se.WestEuropean)),{tiny:Ee(ce.mini,de.semibold,Qe),xSmall:Ee(ce.xSmall,de.regular,Qe),small:Ee(ce.small,de.regular,Qe),smallPlus:Ee(ce.smallPlus,de.regular,Qe),medium:Ee(ce.medium,de.regular,Qe),mediumPlus:Ee(ce.mediumPlus,de.regular,Qe),large:Ee(ce.large,de.semilight,Be),xLarge:Ee(ce.xLarge,de.light,Qe),xxLarge:Ee(ce.xxLarge,de.light,Qe),superLarge:Ee(ce.superLarge,de.light,Qe),mega:Ee(ce.mega,de.light,Qe)});function ye(e,t,n,r){e="'"+e+"'";var o=void 0!==r?"local('"+r+"'),":"";Object(s.a)({fontFamily:e,src:o+"url('"+t+".woff2') format('woff2'),url('"+t+".woff') format('woff')",fontWeight:n,fontStyle:"normal"})}function Pe(e,t,n,r,o){void 0===r&&(r="segoeui");var A=e+"/"+n+"/"+r;ye(t,A+"-light",de.light,o&&o+" Light"),ye(t,A+"-semilight",de.semilight,o&&o+" SemiLight"),ye(t,A+"-regular",de.regular,o),ye(t,A+"-semibold",de.semibold,o&&o+" SemiBold")}!function(e){if(e){var t=e+"/fonts";Pe(t,le.Thai,"leelawadeeui-thai","leelawadeeui"),Pe(t,le.Arabic,"segoeui-arabic"),Pe(t,le.Cyrillic,"segoeui-cyrillic"),Pe(t,le.EastEuropean,"segoeui-easteuropean"),Pe(t,le.Greek,"segoeui-greek"),Pe(t,le.Hebrew,"segoeui-hebrew"),Pe(t,le.Vietnamese,"segoeui-vietnamese"),Pe(t,le.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),Pe(t,se.Selawik,"selawik","selawik"),ye("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-semilight",de.light),ye("Leelawadee UI Web",t+"/leelawadeeui-thai/leelawadeeui-bold",de.semibold)}}(function(){var e="undefined"!=typeof window?window:void 0,t=e?e.FabricConfig:void 0;return t&&void 0!==t.fontBaseUrl?t.fontBaseUrl:"https://static2.sharepointonline.com/files/fabric/assets"}());function ke(e,t){return"@media only screen and (min-width: "+e+"px) and (max-width: "+t+"px)"}var Se,xe=n(63);function Te(e,t,n,r,o,A,i){return ze(e,"number"!=typeof t&&t?t:{inset:t,position:n,highContrastStyle:r,borderColor:o,outlineColor:A,isFocusedOnly:i})}function ze(e,t){void 0===t&&(t={});var n,r,o=t.inset,A=void 0===o?0:o,i=t.width,a=void 0===i?1:i,l=t.position,s=void 0===l?"relative":l,u=t.highContrastStyle,c=t.borderColor,d=void 0===c?e.palette.white:c,g=t.outlineColor,f=void 0===g?e.palette.neutralSecondary:g,p=t.isFocusedOnly,C=void 0===p||p;return{outline:"transparent",position:s,selectors:(n={"::-moz-focus-inner":{border:"0"}},n["."+xe.a+" &"+(C?":focus":"")+":after"]={content:'""',position:"absolute",left:A+1,top:A+1,bottom:A+1,right:A+1,border:a+"px solid "+d,outline:a+"px solid "+f,zIndex:Se.FocusStyle,selectors:(r={},r["@media screen and (-ms-high-contrast: active)"]=u,r)},n)}}function Le(){return{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}}}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(Se||(Se={}));var Re={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden"};var Oe=n(75),we=Object(Oe.a)((function(e,t){var n=l.a.getInstance();return t?Object.keys(e).reduce((function(t,r){return t[r]=n.getClassName(e[r]),t}),{}):e}));function Xe(e,t,n){return we(e,void 0!==n?n:t.disableGlobalClassNames)}var He=n(16);n(51);function De(e){for(var t=[],n=1;n-1;e[r]=A?o:je(e[r]||{},o,n)}else e[r]=o}return n.pop(),e}var Ne,Fe={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"},Me=(n(65),{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"}),We=Ke({palette:ue,semanticColors:Ze(ue,!1,!1),fonts:be,isInverted:!1,disableGlobalClassNames:!1});if(!He.a.getSettings(["theme"]).theme){var Ve="undefined"!=typeof window?window:void 0;Ve&&Ve.FabricConfig&&Ve.FabricConfig.theme&&(We=Ke(Ve.FabricConfig.theme)),He.a.applySettings(((Ne={}).theme=We,Ne))}function Je(e){return void 0===e&&(e=!1),!0===e&&(We=Ke({},e)),We}function Ke(e,t){void 0===t&&(t=!1);var n=A.a({},ue,e.palette);e.palette&&e.palette.accent||(n.accent=n.themePrimary);var r=A.a({},Ze(n,!!e.isInverted,t),e.semanticColors),o=A.a({},be);if(e.defaultFontStyle)for(var i=0,a=Object.keys(o);i=0,i=!!e&&"false"!==o&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"true"===o||A);return t?-1!==n&&i:i}function E(e){return!!(e&&e.getAttribute&&e.getAttribute("data-focuszone-id"))}function I(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute("data-is-sub-focuszone"))}function h(e){var t=Object(a.a)(e),n=t&&t.activeElement;return!(!n||!Object(o.a)(e,n))}function m(e,t){return"true"!==function(e,t){var n=Object(r.a)(e,(function(e){return e.hasAttribute(t)}));return n&&n.getAttribute(t)}(e,t)}var v=void 0;function Q(e){if(e){if(v)return void(v=e);v=e;var t=Object(i.a)(e);t&&t.requestAnimationFrame((function(){v&&v.focus(),v=void 0}))}}function B(e,t){for(var n=e,r=0,o=t;r1)for(var n=1;n-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 r}(),o=e[t];if(A[o]){var i=e[t+1];A[o]&&(n.isWebkit&&e.push("-webkit-"+o,i),n.isMoz&&e.push("-moz-"+o,i),n.isMs&&e.push("-ms-"+o,i),n.isOpera&&e.push("-o-"+o,i))}}var a=["column-count","font-weight","flex-basis","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function l(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var o=-1===a.indexOf(n)?"px":"";e[t+1]=""+r+o}}var s=n(38);n.d(t,"b",(function(){return E})),n.d(t,"d",(function(){return I})),n.d(t,"a",(function(){return h})),n.d(t,"c",(function(){return m}));function u(e){var t=e&&e["&"];return t?t.displayName:void 0}var c=/\:global\((.+?)\)/g;function d(e){if(!c.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 g(e,t){return e.indexOf(":global(")>=0?e.replace(c,"$1"):0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function f(e,t,n){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var r=o.a.getInstance(),A=t[n];A||(A={},t[n]=A,t.__order.push(n));for(var i=0,a=e;i-1){f([E],t,d(C).split(/,/g).map((function(e){return e.trim()})).map((function(e){return g(e,n)})).join(", "))}else f([E],t,g(C,n))}}else void 0!==l[u]&&("margin"===u||"padding"===u?p(A,u,l[u]):A[u]=l[u])}return t}function p(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 C(e){for(var t=[],n=!1,r=0,o=e.__order;r *":{position:"relative",left:0,top:0}}}],rootDisabled:[Object(o.u)(e,{inset:-1,highContrastStyle:s}),{backgroundColor:a,color:l,cursor:"default",pointerEvents:"none",selectors:(t={":hover":A,":focus":A},t[o.f]={color:"grayText",bordercolor:"grayText"},t)}],iconDisabled:{color:l},menuIconDisabled:{color:l},flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},textContainer:{flexGrow:1},icon:i,menuIcon:[i,{fontSize:o.d.small}],label:{margin:"0 4px",lineHeight:"100%"},screenReaderText:o.z}}))},function(e,t,n){"use strict";var r,o=n(0),A=n(1),i=n(93),a=n(101),l=n(5),s=n(26),u=n(32),c=n(76),d=n(128),g=n(78),f=n(8),p=n(125);!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(r||(r={}));var C=n(14),E=n(99),I=n(53),h=n(94),m=n(95),v=n(35),Q=n(9),B=n(12),b=n(21);function y(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function P(e){return!(!e.subMenuProps&&!e.items)}function k(e){return!(!e.isDisabled&&!e.disabled)}var S=n(22),x=n(105),T=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.openSubMenu=function(){var e=t.props,n=e.item,r=e.openSubMenu,o=e.getSubmenuTarget;if(o){var A=o();P(n)&&r&&A&&r(n,A)}},t.dismissSubMenu=function(){var e=t.props,n=e.item,r=e.dismissSubMenu;P(n)&&r&&r()},t.dismissMenu=function(e){var n=t.props.dismissMenu;n&&n(void 0,e)},t}return o.c(t,e),t.prototype.render=function(){var e=this.props,t=e.item,n=e.classNames;return A.createElement("div",{className:t.split?n.linkContentMenu:n.linkContent},function(e){var t=e.onCheckmarkClick,n=e.item,r=e.classNames,o=y(n);if(t){return A.createElement(g.a,{iconName:o?"CheckMark":"",className:r.checkmarkIcon,onClick:function(e){return t(n,e)}})}return null}(this.props),function(e){var t=e.item,n=e.hasIcons,r=e.classNames,i=t.iconProps;return n?t.onRenderIcon?t.onRenderIcon(e):A.createElement(g.a,o.a({},i,{className:r.icon})):null}(this.props),function(e){var t=e.item,n=e.classNames;return t.text||t.name?A.createElement("span",{className:n.label},t.text||t.name):null}(this.props),function(e){var t=e.item,n=e.classNames;return t.secondaryText?A.createElement("span",{className:n.secondaryText},t.secondaryText):null}(this.props),function(e){var t=e.item,n=e.classNames;return P(t)?A.createElement(g.a,o.a({iconName:Object(v.a)()?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:n.subMenuIcon})):null}(this.props))},t}(d.a),z=n(75),L=n(2),R=Object(z.a)((function(e){return Object(L.A)({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})})),O=Object(L.x)(0,L.j),w=Object(z.a)((function(){return{selectors:(e={},e[L.f]={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",MsHighContrastAdjust:"none"},e)};var e})),X=Object(z.a)((function(e){var t,n,r,A,i,a,l=e.semanticColors,s=e.fonts,u=l.menuItemBackgroundHovered,c=l.menuItemBackgroundChecked,d=l.bodyDivider,g={item:[s.medium,{color:l.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:d,position:"relative"},root:[Object(L.u)(e),s.medium,{color:l.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:"32px",lineHeight:"32px",display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:l.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[L.f]={color:"GrayText",opacity:1},t)},rootHovered:o.a({backgroundColor:u},w()),rootFocused:o.a({backgroundColor:u},w()),rootChecked:o.a({},w()),rootPressed:o.a({backgroundColor:c},w()),rootExpanded:o.a({backgroundColor:c,color:l.bodyTextChecked},w()),linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:"32px",width:"14px",margin:"0 4px",verticalAlign:"middle",flexShrink:"0"},iconColor:{color:l.menuIcon,selectors:(n={},n[L.f]={color:"inherit"},n["$root:hover &"]={selectors:(r={},r[L.f]={color:"HighlightText"},r)},n["$root:focus &"]={selectors:(A={},A[L.f]={color:"HighlightText"},A)},n)},iconDisabled:{color:l.disabledBodyText},checkmarkIcon:{color:l.bodySubtext,selectors:(i={},i[L.f]={color:"HighlightText"},i)},subMenuIcon:{height:"32px",lineHeight:"32px",textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:L.d.small,selectors:(a={},a[O]={fontSize:L.d.icon},a)},splitButtonFlexContainer:[Object(L.u)(e),{display:"flex",height:"32px",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"}]};return Object(L.r)(g)})),H=n(63),D=Object(L.x)(0,L.j),j=Object(z.a)((function(e){return Object(L.A)(R(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[D]={right:32},t)},divider:{height:16,width:1}});var t})),N={item:"ms-ContextualMenu-item",divider:"ms-ContextualMenu-divider",root:"ms-ContextualMenu-link",isChecked:"is-checked",isExpanded:"is-expanded",isDisabled:"is-disabled",linkContent:"ms-ContextualMenu-linkContent",linkContentMenu:"ms-ContextualMenu-linkContent",icon:"ms-ContextualMenu-icon",iconColor:"ms-ContextualMenu-iconColor",checkmarkIcon:"ms-ContextualMenu-checkmarkIcon",subMenuIcon:"ms-ContextualMenu-submenuIcon",label:"ms-ContextualMenu-itemText",secondaryText:"ms-ContextualMenu-secondaryText"},F=Object(z.a)((function(e,t,n,r,o,A,i,a,l,s,u,c){var d,g,f,p,C=X(e),E=Object(L.v)(N,e);return Object(L.A)({item:[E.item,C.item,i],divider:[E.divider,C.divider,a],root:[E.root,C.root,r&&[E.isChecked,C.rootChecked],o&&C.anchorLink,n&&[E.isExpanded,C.rootExpanded],t&&[E.isDisabled,C.rootDisabled],!t&&!n&&[{selectors:(d={":hover":C.rootHovered,":active":C.rootPressed},d["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=C.rootFocused,d["."+H.a+" &:hover"]={background:"inherit;"},d)}],c],splitPrimary:[C.root,r&&["is-checked",C.rootChecked],(t||u)&&["is-disabled",C.rootDisabled],!(t||u)&&!r&&[{selectors:(g={":hover":C.rootHovered,":hover ~ $splitMenu":C.rootHovered,":active":C.rootPressed},g["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=C.rootFocused,g["."+H.a+" &:hover"]={background:"inherit;"},g)}]],splitMenu:[C.root,{flexBasis:"0",padding:"0 8px",minWidth:28},n&&["is-expanded",C.rootExpanded],t&&["is-disabled",C.rootDisabled],!t&&!n&&[{selectors:(f={":hover":C.rootHovered,":active":C.rootPressed},f["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=C.rootFocused,f["."+H.a+" &:hover"]={background:"inherit;"},f)}]],anchorLink:C.anchorLink,linkContent:[E.linkContent,C.linkContent],linkContentMenu:[E.linkContentMenu,C.linkContent,{justifyContent:"center"}],icon:[E.icon,A&&C.iconColor,C.icon,l,t&&[E.isDisabled,C.iconDisabled]],iconColor:C.iconColor,checkmarkIcon:[E.checkmarkIcon,A&&C.checkmarkIcon,C.icon,l],subMenuIcon:[E.subMenuIcon,C.subMenuIcon,s],label:[E.label,C.label],secondaryText:[E.secondaryText,C.secondaryText],splitContainer:[C.splitButtonFlexContainer,{alignItems:"flex-start"},!t&&!r&&[{selectors:(p={},p["."+H.a+" &:focus, ."+H.a+" &:focus:hover"]=C.rootFocused,p)}]]})})),M=function(e){var t=e.theme,n=e.disabled,r=e.expanded,o=e.checked,A=e.isAnchorLink,i=e.knownIcon,a=e.itemClassName,l=e.dividerClassName,s=e.iconClassName,u=e.subMenuClassName,c=e.primaryDisabled,d=e.className;return F(t,n,r,o,A,i,a,l,s,u,c,d)},W=Object(p.a)(T,M,void 0,{scope:"ContextualMenuItem"}),V=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onItemMouseEnter=function(e){var n=t.props,r=n.item,o=n.onItemMouseEnter;o&&o(r,e,e.currentTarget)},t._onItemClick=function(e){var n=t.props,r=n.item,o=n.onItemClickBase;o&&o(r,e,e.currentTarget)},t._onItemMouseLeave=function(e){var n=t.props,r=n.item,o=n.onItemMouseLeave;o&&o(r,e)},t._onItemKeyDown=function(e){var n=t.props,r=n.item,o=n.onItemKeyDown;o&&o(r,e)},t._onItemMouseMove=function(e){var n=t.props,r=n.item,o=n.onItemMouseMove;o&&o(r,e,e.currentTarget)},t._getSubMenuId=function(e){var n=t.props.getSubMenuId;if(n)return n(e)},t._getSubmenuTarget=function(){},t}return o.c(t,e),t.prototype.shouldComponentUpdate=function(e){return!Object(s.d)(e,this.props)},t}(d.a),J=n(77),K=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=A.createRef(),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var n=t.props,r=n.item,o=n.onItemClick;o&&o(r,e)},t}return o.c(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,i=t.index,a=t.focusableElementIndex,l=t.totalItemCount,s=t.hasCheckmarks,c=t.hasIcons,d=t.contextualMenuItemAs,g=void 0===d?W:d,f=t.expandedMenuItemKey,p=t.onItemClick,C=t.openSubMenu,E=t.dismissSubMenu,I=t.dismissMenu,h=n.rel;n.target&&"_blank"===n.target.toLowerCase()&&(h=h||"nofollow noopener noreferrer");var m=this._getSubMenuId(n),v=P(n),Q=Object(u.d)(n,u.a),B=k(n),b=n.itemProps,y=n.keytipProps;return y&&v&&(y=o.a({},y,{hasMenu:!0})),A.createElement("div",null,A.createElement(J.a,{keytipProps:n.keytipProps,ariaDescribedBy:Q["aria-describedby"],disabled:B},(function(t){return A.createElement("a",o.a({},Q,t,{ref:e._anchor,href:n.href,target:n.target,rel:h,className:r.root,role:"menuitem","aria-owns":n.key===f?m:void 0,"aria-haspopup":v||void 0,"aria-expanded":v?n.key===f:void 0,"aria-posinset":a+1,"aria-setsize":l,"aria-disabled":k(n),style:n.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:v?e._onItemKeyDown:void 0}),A.createElement(g,o.a({componentRef:n.componentRef,item:n,classNames:r,index:i,onCheckmarkClick:s&&p?p:void 0,hasIcons:c,openSubMenu:C,dismissSubMenu:E,dismissMenu:I,getSubmenuTarget:e._getSubmenuTarget},b)))})))},t}(V),Z=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=A.createRef(),t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return o.c(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,i=t.index,a=t.focusableElementIndex,l=t.totalItemCount,s=t.hasCheckmarks,c=t.hasIcons,d=t.contextualMenuItemAs,g=void 0===d?W:d,f=t.expandedMenuItemKey,p=t.onItemMouseDown,C=t.onItemClick,E=t.openSubMenu,I=t.dismissSubMenu,h=t.dismissMenu,m=this._getSubMenuId(n),v=y(n),Q=null!==v,B=Q?"menuitemcheckbox":"menuitem",b=P(n),S=n.itemProps,x=n.ariaLabel,T=Object(u.d)(n,u.b);delete T.disabled;var z={className:r.root,onClick:this._onItemClick,onKeyDown:b?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return p?p(n,e):void 0},onMouseMove:this._onItemMouseMove,href:n.href,title:n.title,"aria-label":x,"aria-haspopup":b||void 0,"aria-owns":n.key===f?m:void 0,"aria-expanded":b?n.key===f:void 0,"aria-checked":Q?!!v:void 0,"aria-posinset":a+1,"aria-setsize":l,"aria-disabled":k(n),role:n.role||B,style:n.style},L=n.keytipProps;return L&&b&&(L=o.a({},L,{hasMenu:!0})),A.createElement(J.a,{keytipProps:L,ariaDescribedBy:T["aria-describedby"],disabled:k(n)},(function(t){return A.createElement("button",o.a({ref:e._btn},T,z,t),A.createElement(g,o.a({componentRef:n.componentRef,item:n,classNames:r,index:i,onCheckmarkClick:s&&C?C:void 0,hasIcons:c,openSubMenu:E,dismissSubMenu:I,dismissMenu:h,getSubmenuTarget:e._getSubmenuTarget},S)))}))},t}(V),U=Object(I.a)(),q=Object(p.a)((function(e){var t=e.styles,n=e.theme,r=e.getClassNames,o=e.className,i=U(t,{theme:n,getClassNames:r,className:o});return A.createElement("span",{className:i.wrapper},A.createElement("span",{className:i.divider}))}),(function(e){var t=e.theme,n=e.getClassNames,r=e.className;if(!t)throw new Error("Theme is undefined or null.");if(n){var o=n(t);return{wrapper:[o.wrapper],divider:[o.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},r],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}}),void 0,{scope:"VerticalDivider"}),Y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onItemKeyDown=function(e){var n=t.props,r=n.item,o=n.onItemKeyDown;e.which===l.a.enter?(t._executeItemClick(e),e.preventDefault(),e.stopPropagation()):o&&o(r,e)},t._getSubmenuTarget=function(){return t._splitButton},t._onItemMouseEnterPrimary=function(e){var n=t.props,r=n.item,A=n.onItemMouseEnter;A&&A(o.a({},r,{subMenuProps:void 0,items:void 0}),e,t._splitButton)},t._onItemMouseEnterIcon=function(e){var n=t.props,r=n.item,o=n.onItemMouseEnter;o&&o(r,e,t._splitButton)},t._onItemMouseMovePrimary=function(e){var n=t.props,r=n.item,A=n.onItemMouseMove;A&&A(o.a({},r,{subMenuProps:void 0,items:void 0}),e,t._splitButton)},t._onItemMouseMoveIcon=function(e){var n=t.props,r=n.item,o=n.onItemMouseMove;o&&o(r,e,t._splitButton)},t._onIconItemClick=function(e){var n=t.props,r=n.item,o=n.onItemClickBase;o&&o(r,e,t._splitButton?t._splitButton:e.currentTarget)},t._executeItemClick=function(e){var n=t.props,r=n.item,o=n.executeItemClick,A=n.onItemClick;if(!r.disabled&&!r.isDisabled)return t._processingTouch&&A?A(r,e):void(o&&o(r,e))},t._onTouchStart=function(e){!t._splitButton||"onpointerdown"in t._splitButton||t._handleTouchAndPointerEvent(e)},t._onPointerDown=function(e){"touch"===e.pointerType&&(t._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},t}return o.c(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,i=t.index,a=t.focusableElementIndex,l=t.totalItemCount,s=t.hasCheckmarks,u=t.hasIcons,d=t.onItemMouseLeave,g=t.expandedMenuItemKey,f=P(n),p=n.keytipProps;return p&&(p=o.a({},p,{hasMenu:!0})),A.createElement(J.a,{keytipProps:p,disabled:k(n)},(function(t){return A.createElement("div",{"data-ktp-target":t["data-ktp-target"],ref:function(t){return e._splitButton=t},role:"menuitem","aria-label":n.ariaLabel,className:r.splitContainer,"aria-disabled":k(n),"aria-expanded":f?n.key===g:void 0,"aria-haspopup":!0,"aria-describedby":Object(c.a)(n.ariaDescription,t["aria-describedby"]),"aria-checked":n.isChecked||n.checked,"aria-posinset":a+1,"aria-setsize":l,onMouseEnter:e._onItemMouseEnterPrimary,onMouseLeave:d?d.bind(e,o.a({},n,{subMenuProps:null,items:null})):void 0,onMouseMove:e._onItemMouseMovePrimary,onKeyDown:e._onItemKeyDown,onClick:e._executeItemClick,onTouchStart:e._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":n["aria-roledescription"]},e._renderSplitPrimaryButton(n,r,i,s,u),e._renderSplitDivider(n),e._renderSplitIconButton(n,r,i,t))}))},t.prototype._renderSplitPrimaryButton=function(e,t,n,r,i){var a=this.props,l=a.contextualMenuItemAs,s=void 0===l?W:l,c=a.onItemClick,d={key:e.key,disabled:k(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,"data-is-focusable":!1,"aria-hidden":!0},g=e.itemProps;return A.createElement("button",o.a({},Object(u.d)(d,u.b)),A.createElement(s,o.a({"data-is-focusable":!1,item:d,classNames:t,index:n,onCheckmarkClick:r&&c?c:void 0,hasIcons:i},g)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||j;return A.createElement(q,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,n,r){var i=this.props,a=i.contextualMenuItemAs,l=void 0===a?W:a,s=i.onItemMouseLeave,c=i.onItemMouseDown,d=i.openSubMenu,g=i.dismissSubMenu,f=i.dismissMenu,p={onClick:this._onIconItemClick,disabled:k(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key},C=o.a({},Object(u.d)(p,u.b),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:s?s.bind(this,e):void 0,onMouseDown:function(t){return c?c(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":r["data-ktp-execute-target"],"aria-hidden":!0}),E=e.itemProps;return A.createElement("button",o.a({},C),A.createElement(l,o.a({componentRef:e.componentRef,item:p,classNames:t,index:n,hasIcons:!1,openSubMenu:d,dismissSubMenu:g,dismissMenu:f,getSubmenuTarget:this._getSubmenuTarget},E)))},t.prototype._handleTouchAndPointerEvent=function(e){var t=this,n=this.props.onTap;n&&n(e),this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout((function(){t._processingTouch=!1,t._lastTouchTimeoutId=void 0}),500)},t}(V),G=Object(I.a)(),_=Object(I.a)();function $(e){return e.subMenuProps?e.subMenuProps.items:e.items}var ee=function(e){function t(t){var n=e.call(this,t)||this;return n._mounted=!1,n.dismiss=function(e,t){var r=n.props.onDismiss;r&&r(e,t)},n._onRenderMenuList=function(e,t){var o=0;return A.createElement("ul",{className:n._classNames.list,onKeyDown:n._onKeyDown,onKeyUp:n._onKeyUp,role:"menu"},e.items.map((function(t,A){var i=n._renderMenuItem(t,A,o,e.totalItemCount,e.hasCheckmarks,e.hasIcons);if(t.itemType!==r.Divider&&t.itemType!==r.Header){var a=t.customOnRenderListLength?t.customOnRenderListLength:1;o+=a}return i})))},n._onKeyDown=function(e){n._lastKeyDownWasAltOrMeta=n._isAltOrMeta(e);var t=e.which===l.a.escape&&(Object(h.a)()||Object(m.a)());return n._keyHandler(e,n._shouldHandleKeyDown,t)},n._shouldHandleKeyDown=function(e){return e.which===l.a.escape||n._shouldCloseSubMenu(e)||e.which===l.a.up&&(e.altKey||e.metaKey)},n._onMenuFocusCapture=function(e){n.props.delayUpdateFocusOnHover&&(n._shouldUpdateFocusOnMouseEvent=!0)},n._onKeyUp=function(e){return n._keyHandler(e,n._shouldHandleKeyUp,!0)},n._shouldHandleKeyUp=function(e){var t=n._lastKeyDownWasAltOrMeta&&n._isAltOrMeta(e);return n._lastKeyDownWasAltOrMeta=!1,!!t&&!(Object(m.a)()||Object(h.a)())},n._keyHandler=function(e,t,r){var o=!1;return t(e)&&(n._isFocusingPreviousElement=!0,e.preventDefault(),e.stopPropagation(),n.dismiss(e,r),o=!0),o},n._shouldCloseSubMenu=function(e){var t=Object(v.a)()?l.a.right:l.a.left;return!(e.which!==t||!n.props.isSubMenu)&&(n._adjustedFocusZoneProps.direction===C.a.vertical||!!n._adjustedFocusZoneProps.checkForNoWrap&&!Object(Q.o)(e.target,"data-no-horizontal-wrap"))},n._onMenuKeyDown=function(e){if(!n._onKeyDown(e)&&n._host){var t=!(!e.altKey&&!e.metaKey),r=e.which===l.a.up,o=e.which===l.a.down;if(!t&&(r||o)){var A=r?Object(Q.h)(n._host,n._host.lastChild,!0):Object(Q.e)(n._host,n._host.firstChild,!0);A&&(A.focus(),e.preventDefault(),e.stopPropagation())}}},n._onScroll=function(){n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(n._async.clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),n._scrollIdleTimeoutId=n._async.setTimeout((function(){n._isScrollIdle=!0}),250)},n._onItemMouseEnterBase=function(e,t,r){n._shouldIgnoreMouseEvent()||n._updateFocusOnMouseEvent(e,t,r)},n._onItemMouseMoveBase=function(e,t,r){var o=t.currentTarget;n._shouldUpdateFocusOnMouseEvent&&(n._gotMouseMove=!0,n._isScrollIdle&&void 0===n._enterTimerId&&o!==n._targetWindow.document.activeElement&&n._updateFocusOnMouseEvent(e,t,r))},n._onMouseItemLeave=function(e,t){if(!n._shouldIgnoreMouseEvent()&&(void 0!==n._enterTimerId&&(n._async.clearTimeout(n._enterTimerId),n._enterTimerId=void 0),void 0===n.state.expandedMenuItemKey))if(n._host.setActive)try{n._host.setActive()}catch(e){}else n._host.focus()},n._onItemMouseDown=function(e,t){e.onMouseDown&&e.onMouseDown(e,t)},n._onItemClick=function(e,t){n._onItemClickBase(e,t,t.currentTarget)},n._onItemClickBase=function(e,t,r){var o=$(e);n._cancelSubMenuTimer(),P(e)||o&&o.length?e.key!==n.state.expandedMenuItemKey&&(n.setState({expandedByMouseClick:0!==t.nativeEvent.detail||"mouse"===t.nativeEvent.pointerType}),n._onItemSubMenuExpand(e,r)):n._executeItemClick(e,t),t.stopPropagation(),t.preventDefault()},n._onAnchorClick=function(e,t){n._executeItemClick(e,t),t.stopPropagation()},n._executeItemClick=function(e,t){if(!e.disabled&&!e.isDisabled){var r=!1;e.onClick?r=!!e.onClick(t,e):n.props.onItemClick&&(r=!!n.props.onItemClick(t,e)),(r||!t.defaultPrevented)&&n.dismiss(t,!0)}},n._onItemKeyDown=function(e,t){var r=Object(v.a)()?l.a.left:l.a.right;e.disabled||t.which!==r&&t.which!==l.a.enter&&(t.which!==l.a.down||!t.altKey&&!t.metaKey)||(n.setState({expandedByMouseClick:!1}),n._onItemSubMenuExpand(e,t.currentTarget),t.preventDefault())},n._cancelSubMenuTimer=function(){void 0!==n._enterTimerId&&(n._async.clearTimeout(n._enterTimerId),n._enterTimerId=void 0)},n._onItemSubMenuExpand=function(e,t){n.state.expandedMenuItemKey!==e.key&&(n.state.expandedMenuItemKey&&n._onSubMenuDismiss(),t.focus(),n.setState({expandedMenuItemKey:e.key,submenuTarget:t}))},n._onSubMenuDismiss=function(e,t){t?n.dismiss(e,t):n._mounted&&n.setState({dismissedMenuItemKey:n.state.expandedMenuItemKey,expandedMenuItemKey:void 0,submenuTarget:void 0})},n._getSubMenuId=function(e){var t=n.state.subMenuId;return e.subMenuProps&&e.subMenuProps.id&&(t=e.subMenuProps.id),t},n._onPointerAndTouchEvent=function(e){n._cancelSubMenuTimer()},n.state={contextualMenuItems:void 0,subMenuId:Object(s.c)("ContextualMenu")},n._warnDeprecations({getMenuClassNames:"styles"}),n._isFocusingPreviousElement=!1,n._isScrollIdle=!0,n._shouldUpdateFocusOnMouseEvent=!n.props.delayUpdateFocusOnHover,n._gotMouseMove=!1,n}return o.c(t,e),t.prototype.componentWillUpdate=function(e){if(e.target!==this.props.target){var t=e.target;this._setTargetWindowAndElement(t)}e.hidden!==this.props.hidden&&(e.hidden?this._onMenuClosed():(this._onMenuOpened(),this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:null)),e.delayUpdateFocusOnHover!==this.props.delayUpdateFocusOnHover&&(this._shouldUpdateFocusOnMouseEvent=!e.delayUpdateFocusOnHover,this._gotMouseMove=this._shouldUpdateFocusOnMouseEvent&&this._gotMouseMove)},t.prototype.componentWillMount=function(){var e=this.props.target;this._setTargetWindowAndElement(e),this.props.hidden||(this._previousActiveElement=this._targetWindow?this._targetWindow.document.activeElement:null)},t.prototype.componentDidMount=function(){this.props.hidden||this._onMenuOpened(),this._mounted=!0},t.prototype.componentWillUnmount=function(){var e=this;this._isFocusingPreviousElement&&this._previousActiveElement&&setTimeout((function(){e._previousActiveElement&&e._previousActiveElement.focus()}),0),this.props.onMenuDismissed&&this.props.onMenuDismissed(this.props),this._events.dispose(),this._async.dispose(),this._mounted=!1},t.prototype.render=function(){var e=this,t=this.props.isBeakVisible,n=this.props,a=n.items,l=n.labelElementId,s=n.id,u=n.className,c=n.beakWidth,d=n.directionalHint,g=n.directionalHintForRTL,f=n.alignTargetEdge,p=n.gapSpace,I=n.coverTarget,h=n.ariaLabel,m=n.doNotLayer,v=n.target,Q=n.bounds,B=n.useTargetWidth,b=n.useTargetAsMinWidth,y=n.directionalHintFixed,P=n.shouldFocusOnMount,k=n.shouldFocusOnContainer,T=n.title,z=n.styles,L=n.theme,R=n.calloutProps,O=n.onRenderSubMenu,w=void 0===O?this._onRenderSubMenu:O,X=n.onRenderMenuList,H=void 0===X?this._onRenderMenuList:X,D=n.focusZoneProps,j=n.getMenuClassNames;this._classNames=j?j(L,u):G(z,{theme:L,className:u});var N=function e(t){for(var n=0,o=t;n0){for(var K=0,Z=0,U=a;Z0?A.createElement("li",{role:"presentation",key:l.key||e.key||"section-"+n},A.createElement("div",{role:"group"},A.createElement("ul",{className:this._classNames.list},l.topDivider&&this._renderSeparator(n,t,!0,!0),s&&this._renderListItem(s,e.key||n,t,e.title),l.items.map((function(e,t){return a._renderMenuItem(e,t,t,l.items.length,o,i)})),l.bottomDivider&&this._renderSeparator(n,t,!1,!0)))):void 0}},t.prototype._renderListItem=function(e,t,n,r){return A.createElement("li",{role:"presentation",title:r,key:t,className:n.item},e)},t.prototype._renderSeparator=function(e,t,n,r){return r||e>0?A.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},t.prototype._renderNormalItem=function(e,t,n,r,A,i,a){return e.onRender?e.onRender(o.a({"aria-posinset":r+1,"aria-setsize":A},e),this.dismiss):e.href?this._renderAnchorMenuItem(e,t,n,r,A,i,a):e.split&&P(e)?this._renderSplitButton(e,t,n,r,A,i,a):this._renderButtonItem(e,t,n,r,A,i,a)},t.prototype._renderHeaderMenuItem=function(e,t,n,r,i){var a=this.props.contextualMenuItemAs,l=void 0===a?W:a,s=e.itemProps,c=s&&Object(u.d)(s,u.c);return A.createElement("div",o.a({className:this._classNames.header},c,{style:e.style}),A.createElement(l,o.a({item:e,classNames:t,index:n,onCheckmarkClick:r?this._onItemClick:void 0,hasIcons:i},s)))},t.prototype._renderAnchorMenuItem=function(e,t,n,r,o,i,a){var l=this.props.contextualMenuItemAs,s=this.state.expandedMenuItemKey;return A.createElement(K,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:o,hasCheckmarks:i,hasIcons:a,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onAnchorClick,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:s,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderButtonItem=function(e,t,n,r,o,i,a){var l=this.props.contextualMenuItemAs,s=this.state.expandedMenuItemKey;return A.createElement(Z,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:o,hasCheckmarks:i,hasIcons:a,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,getSubMenuId:this._getSubMenuId,expandedMenuItemKey:s,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss})},t.prototype._renderSplitButton=function(e,t,n,r,o,i,a){var l=this.props.contextualMenuItemAs,s=this.state.expandedMenuItemKey;return A.createElement(Y,{item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:o,hasCheckmarks:i,hasIcons:a,contextualMenuItemAs:l,onItemMouseEnter:this._onItemMouseEnterBase,onItemMouseLeave:this._onMouseItemLeave,onItemMouseMove:this._onItemMouseMoveBase,onItemMouseDown:this._onItemMouseDown,executeItemClick:this._executeItemClick,onItemClick:this._onItemClick,onItemClickBase:this._onItemClickBase,onItemKeyDown:this._onItemKeyDown,openSubMenu:this._onItemSubMenuExpand,dismissSubMenu:this._onSubMenuDismiss,dismissMenu:this.dismiss,expandedMenuItemKey:s,onTap:this._onPointerAndTouchEvent})},t.prototype._isAltOrMeta=function(e){return e.which===l.a.alt||"Meta"===e.key},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._updateFocusOnMouseEvent=function(e,t,n){var r=this,o=n||t.currentTarget,A=this.props.subMenuHoverDelay,i=void 0===A?250:A;e.key!==this.state.expandedMenuItemKey&&(void 0!==this._enterTimerId&&(this._async.clearTimeout(this._enterTimerId),this._enterTimerId=void 0),void 0===this.state.expandedMenuItemKey&&o.focus(),P(e)?(t.stopPropagation(),this._enterTimerId=this._async.setTimeout((function(){o.focus(),r.setState({expandedByMouseClick:!0}),r._onItemSubMenuExpand(e,o),r._enterTimerId=void 0}),i)):this._enterTimerId=this._async.setTimeout((function(){r._onSubMenuDismiss(t),o.focus(),r._enterTimerId=void 0}),i))},t.prototype._getSubmenuProps=function(){var e=this.state,t=e.submenuTarget,n=e.expandedMenuItemKey,r=this._findItemByKey(n),o=null;return r&&(o={items:$(r),target:t,onDismiss:this._onSubMenuDismiss,isSubMenu:!0,id:this.state.subMenuId,shouldFocusOnMount:!0,shouldFocusOnContainer:this.state.expandedByMouseClick,directionalHint:Object(v.a)()?f.a.leftTopEdge:f.a.rightTopEdge,className:this.props.className,gapSpace:0,isBeakVisible:!1},r.subMenuProps&&Object(s.a)(o,r.subMenuProps)),o},t.prototype._findItemByKey=function(e){var t=this.props.items;return this._findItemByKeyFromItems(e,t)},t.prototype._findItemByKeyFromItems=function(e,t){for(var n=0,o=t;nc[e];)e++}catch(t){e=i.large}else{if(void 0===u)throw new Error("Content was rendered in a server environment without providing a default responsive mode. Call setResponsiveMode to define what the responsive mode is.");e=u}return e},n}(a);return Object(s.a)(e,t)}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1),o=r.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}})},function(e,t,n){"use strict";(function(e){n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return u}));var r=n(11),o="undefined"!=typeof window&&window||e;function A(e,t){for(var n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||t[n]!==e[n]))return!1;return!0}function i(e,t){return A(e,t)&&A(t,e)}function a(e){for(var t=[],n=1;n0){n.subComponentStyles={};var g=n.subComponentStyles,f=function(e){if(o.hasOwnProperty(e)){var t=o[e];g[e]=function(e){return r.apply(void 0,t.map((function(t){return"function"==typeof t?t(e):t})))}}};for(var u in o)f(u)}return n}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r}));function r(e){console&&console.warn&&console.warn(e)}}).call(this,n(17))},function(e,t,n){"use strict";n.d(t,"a",(function(){return A}));var r=n(2),o=n(75),A=Object(o.a)((function(e,t){var n={splitButtonContainer:[Object(r.u)(e,{highContrastStyle:{left:-2,top:-2,bottom:-2,right:-2,border:"none"}}),{display:"inline-flex"}],splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:{padding:6,height:"auto",boxSizing:"border-box",border:0,borderRadius:0,outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:32,marginLeft:-1},splitButtonDivider:{position:"absolute",width:1,right:31,top:8,bottom:8},splitButtonMenuButtonDisabled:{pointerEvents:"none",selectors:{":hover":{cursor:"default"}}},splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:{outline:"none",border:"none"}};return Object(r.r)(n,t)}))},function(e,t,n){"use strict";n.d(t,"e",(function(){return o})),n.d(t,"a",(function(){return A})),n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"g",(function(){return l})),n.d(t,"f",(function(){return s})),n.d(t,"d",(function(){return u}));var r=n(26),o=["defaultChecked","defaultValue","accept","acceptCharset","accessKey","action","allowFullScreen","allowTransparency","alt","async","autoComplete","autoFocus","autoPlay","capture","cellPadding","cellSpacing","charSet","challenge","checked","children","classID","className","cols","colSpan","content","contentEditable","contextMenu","controls","coords","crossOrigin","data","dateTime","default","defer","dir","download","draggable","encType","form","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","headers","height","hidden","high","hrefLang","htmlFor","httpEquiv","icon","id","inputMode","integrity","is","keyParams","keyType","kind","lang","list","loop","low","manifest","marginHeight","marginWidth","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","name","noValidate","open","optimum","pattern","placeholder","poster","preload","radioGroup","readOnly","rel","required","role","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","size","sizes","span","spellCheck","src","srcDoc","srcLang","srcSet","start","step","style","summary","tabIndex","title","type","useMap","value","width","wmode","wrap"].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"]),A=o.concat(["href","target"]),i=o.concat(["disabled"]),a=o.concat(["align","noWrap"]),l=i,s=a;function u(e,t,n){return Object(r.b)((function(e){return(!n||n.indexOf(e)<0)&&(0===e.indexOf("data-")||0===e.indexOf("aria-")||t.indexOf(e)>=0)}),{},e)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return r}));n(30);function r(e,t,n){}}).call(this,n(17))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(15);function o(e,t,n){void 0===n&&(n=!0);var o=!1;if(e&&t)if(n)for(o=!1;t;){var A=Object(r.a)(t);if(A===e){o=!0;break}t=A}else e.contains&&(o=e.contains(t));return o}},function(e,t,n){"use strict";n(5);var r=n(12);var o=n(38);n.d(t,"a",(function(){return i}));var A;function i(){if(void 0===A){var e=function(e){var t=null;try{t=window.sessionStorage.getItem(e)}catch(e){}return t}("isRTL");null!==e&&function(e,t){void 0===t&&(t=!1);var n=Object(r.a)();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr");t&&function(e,t){try{window.sessionStorage.setItem(e,t)}catch(e){}}("isRTL",e?"1":"0");A=e,Object(o.b)(A)}(A="1"===e);var t=Object(r.a)();void 0===A&&t&&(A="rtl"===(t.body&&t.body.getAttribute("dir")||t.documentElement.getAttribute("dir")),Object(o.b)(A))}return!!A}},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return d}));var r,o=n(11),A="left",i="right",a=((r={}).left=i,r.right=A,r),l={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"},s=c();function u(e){s!==e&&(o.a.getInstance().resetKeys(),s=e)}function c(){return void 0===s&&(s="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),s}function d(e,t){if(c()){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(A)>=0)e[t]=n.replace(A,i);else if(n.indexOf(i)>=0)e[t]=n.replace(i,A);else if(String(r).indexOf(A)>=0)e[t+1]=r.replace(A,i);else if(String(r).indexOf(i)>=0)e[t+1]=r.replace(i,A);else if(a[n])e[t]=a[n];else if(l[r])e[t+1]=l[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[t],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(r,0)}}}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(88)},function(e,t,n){"use strict";n.d(t,"a",(function(){return A}));var r=n(18),o=n(41);function A(){for(var e=[],t=0;t=0)i(a.split(" "));else{var l=A.argsFromClassName(a);l?i(l):-1===n.indexOf(a)&&n.push(a)}else Array.isArray(a)?i(a):"object"==typeof a&&o.push(a)}}return i(e),{classes:n,objects:o}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=!1},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(15);function o(e,t){return e&&e!==document.body?t(e)?e:o(Object(r.a)(e),t):null}},function(e,t,n){"use strict";function r(e){for(var t=[],n=1;n=0&&(o[e].splice(n,1),0===o[e].length&&delete o[e])}}function a(){return r}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="data-portal-element";function o(e){e.setAttribute(r,"true")}},function(e,t,n){"use strict";function r(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(41),o=n(29),A=n(18);function i(){for(var e=[],t=0;t=i&&(!t||a)?(s=n,u&&(r.clearTimeout(u),u=null),o=e.apply(r._parent,A)):null===u&&l&&(u=r.setTimeout(c,g)),o};return function(){for(var e=[],t=0;t=a&&(n=!0),c=t);var o=t-c,i=a-o,f=t-d,E=!1;return null!==u&&(f>=u&&g?E=!0:i=Math.min(i,u-f)),o>=a||E||n?p(t):null!==g&&e||!s||(g=r.setTimeout(C,i)),A},E=function(){return!!g},I=function(){for(var e=[],t=0;t0&&c(t)})}function c(e,t){A.loadStyles?A.loadStyles(p(e).styleString,e):n?function(e,t){if("undefined"==typeof document)return;var n=document.getElementsByTagName("head")[0],r=A.registeredStyles,o=A.lastStyleElement,i=o?o.styleSheet:void 0,l=i?i.cssText:"",s=r[r.length-1],u=p(e).styleString;(!o||l.length+u.length>a)&&((o=document.createElement("style")).type="text/css",t?(n.replaceChild(o,t.styleElement),t.styleElement=o):n.appendChild(o),t||(s={styleElement:o,themableStyle:e},r.push(s)));o.styleSheet.cssText+=f(u),Array.prototype.push.apply(s.themableStyle,e),A.lastStyleElement=o}(e,t):function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),r=p(e),o=r.styleString,i=r.themable;n.type="text/css",n.appendChild(document.createTextNode(o)),A.perf.count++,t.appendChild(n);var a={styleElement:n,themableStyle:e};i?A.registeredThemableStyles.push(a):A.registeredStyles.push(a)}(e)}function d(e){void 0===e&&(e=3),3!==e&&2!==e||(g(A.registeredStyles),A.registeredStyles=[]),3!==e&&1!==e||(g(A.registeredThemableStyles),A.registeredThemableStyles=[])}function g(e){e.forEach(function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)})}function f(e){return e&&(e=p(C(e)).styleString),e}function p(e){var t=A.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||r in t||"undefined"==typeof DEBUG||!DEBUG||console.warn('Theming value not provided for "'+r+'". Falling back to "'+A+'".'),o||A}return e.rawString}).join(""),themable:n}}function C(e){var t=[];if(e){for(var n=0,r=void 0;r=i.exec(e);){var o=r.index;o>n&&t.push({rawString:e.substring(n,o)}),t.push({theme:r[1],defaultValue:r[2]}),n=i.lastIndex}t.push({rawString:e.substring(n)})}return t}t.loadStyles=function(e,t){void 0===t&&(t=!1),s(function(){var r=Array.isArray(e)?e:C(e);void 0===n&&(n=function(){var e=!1;if("undefined"!=typeof document){var t=document.createElement("style");t.type="text/css",e=!!t.styleSheet}return e}());var o=A.runState,i=o.mode,a=o.buffer,l=o.flushTimer;t||1===i?(a.push(r),l||(A.runState.flushTimer=setTimeout(function(){A.runState.flushTimer=0,u()},0))):c(r)})},t.configureLoadStyles=function(e){A.loadStyles=e},t.configureRunMode=function(e){A.runState.mode=e},t.flush=u,t.loadTheme=function(e){A.theme=e,function(){if(A.theme){for(var e=[],t=0,n=A.registeredThemableStyles;t0&&(d(1),c([].concat.apply([],e)))}}()},t.clearStyles=d,t.detokenize=f,t.splitStyles=C}).call(this,n(59))},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n(26),o=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,n,o,A){var i;if(e._isElement(t)){if(document.createEvent){var a=document.createEvent("HTMLEvents");a.initEvent(n,A||!1,!0),Object(r.a)(a,o),i=t.dispatchEvent(a)}else if(document.createEventObject){var l=document.createEventObject(o);t.fireEvent("on"+n,l)}}else for(;t&&!1!==i;){var s=t.__events__,u=s?s[n]:null;if(u)for(var c in u)if(u.hasOwnProperty(c))for(var d=u[c],g=0;!1!==i&&g-1)for(var i=n.split(/[ ,]+/),a=0;a-1,s=l&&!0===e.disabled?A._classNames.dropdownItemSelectedAndDisabled:l?A._classNames.dropdownItemSelected:!0===e.disabled?A._classNames.dropdownItemDisabled:A._classNames.dropdownItem;return A.props.multiSelect?o.createElement(I.a,{id:a+"-list"+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,onChange:A._onItemClick(e),inputProps:{onMouseEnter:A._onItemMouseEnter.bind(A,e),onMouseLeave:A._onMouseItemLeave.bind(A,e),onMouseMove:A._onItemMouseMove.bind(A,e)},label:e.text,title:e.title?e.title:e.text,onRenderLabel:A._onRenderLabel.bind(A,e),className:s,role:"option","aria-selected":l?"true":"false",checked:l}):o.createElement(h.a,{id:a+"-list"+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:s,onClick:A._onItemClick(e),onMouseEnter:A._onItemMouseEnter.bind(A,e),onMouseLeave:A._onMouseItemLeave.bind(A,e),onMouseMove:A._onItemMouseMove.bind(A,e),role:"option","aria-selected":l?"true":"false",ariaLabel:e.ariaLabel,title:e.title?e.title:e.text},n(e,A._onRenderOption))},A._onRenderOption=function(e){return o.createElement("span",{className:A._classNames.dropdownOptionText},e.text)},A._onRenderLabel=function(e){var t=A.props.onRenderOption;return(void 0===t?A._onRenderOption:t)(e,A._onRenderOption)},A._onPositioned=function(e){A._focusZone.current&&A._requestAnimationFrame(function(){var e=A.state.selectedIndices;if(e&&e[0]&&!A.props.options[e[0]].disabled){var t=Object(a.a)().querySelector("#"+A._id+"-list"+e[0]);A._focusZone.current.focusElement(t)}else A._focusZone.current.focus()}),A.state.calloutRenderEdge&&A.state.calloutRenderEdge===e.targetEdge||A.setState({calloutRenderEdge:e.targetEdge})},A._onItemClick=function(e){return function(t){e.disabled||(A.setSelectedIndex(t,e.index),A.props.multiSelect||A.setState({isOpen:!1}))}},A._onScroll=function(){A._isScrollIdle||void 0===A._scrollIdleTimeoutId?A._isScrollIdle=!1:(clearTimeout(A._scrollIdleTimeoutId),A._scrollIdleTimeoutId=void 0),A._scrollIdleTimeoutId=setTimeout(function(){A._isScrollIdle=!0},A._scrollIdleDelay)},A._onMouseItemLeave=function(e,t){if(!A._shouldIgnoreMouseEvent()&&A._host.current)if(A._host.current.setActive)try{A._host.current.setActive()}catch(e){}else A._host.current.focus()},A._onDismiss=function(){A.setState({isOpen:!1}),A._dropDown.current&&A._dropDown.current.focus()},A._onDropdownBlur=function(e){A._isDisabled()||(A.setState({hasFocus:!1}),A.state.isOpen||A.props.onBlur&&A.props.onBlur(e))},A._onDropdownKeyDown=function(e){if(!A._isDisabled()&&(A._lastKeyDownWasAltOrMeta=A._isAltOrMeta(e),!A.props.onKeyDown||(A.props.onKeyDown(e),!e.defaultPrevented))){var t,n=A.state.selectedIndices.length?A.state.selectedIndices[0]:-1,r=e.altKey||e.metaKey,o=A.state.isOpen;switch(e.which){case l.a.enter:A.setState({isOpen:!o});break;case l.a.escape:if(!o)return;A.setState({isOpen:!1});break;case l.a.up:if(r){if(o){A.setState({isOpen:!1});break}return}A.props.multiSelect?A.setState({isOpen:!0}):A._isDisabled()||(t=A._moveIndex(e,-1,n-1,n));break;case l.a.down:r&&(e.stopPropagation(),e.preventDefault()),r&&!o||A.props.multiSelect?A.setState({isOpen:!0}):A._isDisabled()||(t=A._moveIndex(e,1,n+1,n));break;case l.a.home:A.props.multiSelect||(t=A._moveIndex(e,1,0,n));break;case l.a.end:A.props.multiSelect||(t=A._moveIndex(e,-1,A.props.options.length-1,n));break;case l.a.space:break;default:return}t!==n&&(e.stopPropagation(),e.preventDefault())}},A._onDropdownKeyUp=function(e){if(!A._isDisabled()){var t=A._shouldHandleKeyUp(e),n=A.state.isOpen;if(!A.props.onKeyUp||(A.props.onKeyUp(e),!e.preventDefault)){switch(e.which){case l.a.space:A.setState({isOpen:!n});break;default:return void(t&&n&&A.setState({isOpen:!1}))}e.stopPropagation(),e.preventDefault()}}},A._onZoneKeyDown=function(e){var t;A._lastKeyDownWasAltOrMeta=A._isAltOrMeta(e);var n=e.altKey||e.metaKey;switch(e.which){case l.a.up:n?A.setState({isOpen:!1}):A._host.current&&(t=Object(s.h)(A._host.current,A._host.current.lastChild,!0));break;case l.a.home:case l.a.end:case l.a.pageUp:case l.a.pageDown:break;case l.a.down:!n&&A._host.current&&(t=Object(s.e)(A._host.current,A._host.current.firstChild,!0));break;case l.a.escape:A.setState({isOpen:!1});break;case l.a.tab:return void A.setState({isOpen:!1});default:return}t&&t.focus(),e.stopPropagation(),e.preventDefault()},A._onZoneKeyUp=function(e){A._shouldHandleKeyUp(e)&&A.state.isOpen&&(A.setState({isOpen:!1}),e.preventDefault())},A._onDropdownClick=function(e){if(!A.props.onClick||(A.props.onClick(e),!e.preventDefault)){var t=A.state.isOpen;A._isDisabled()||A.setState({isOpen:!t})}},A._onFocus=function(e){var t=A.state,n=t.isOpen,r=t.selectedIndices,o=A.props.multiSelect;A._isDisabled()||(n||0!==r.length||o||A._moveIndex(e,1,0,-1),A.props.onFocus&&A.props.onFocus(e),A.setState({hasFocus:!0}))},A._isDisabled=function(){var e=A.props.disabled,t=A.props.isDisabled;return void 0!==t&&(e=t),e},Object(u.a)(A),A._id=t.id||Object(c.c)("Dropdown"),A._isScrollIdle=!0,A.props.multiSelect){var d=void 0!==t.defaultSelectedKeys?t.defaultSelectedKeys:t.selectedKeys;n=A._getSelectedIndexes(t.options,d)}else{var g=void 0!==t.defaultSelectedKey?t.defaultSelectedKey:t.selectedKey;n=A._getSelectedIndexes(t.options,g),A._sizePosCache.updateOptions(t.options)}return A.state={isOpen:!1,selectedIndices:n,hasFocus:!1,calloutRenderEdge:void 0},A}return r.c(t,e),t.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},t.prototype.componentWillReceiveProps=function(e){var t,n=e.options!==this.props.options;void 0===e[t=e.multiSelect?n&&void 0!==e.defaultSelectedKeys?"defaultSelectedKeys":"selectedKeys":n&&void 0!==e.defaultSelectedKey?"defaultSelectedKey":"selectedKey"]||e[t]===this.props[t]&&!n||this.setState({selectedIndices:this._getSelectedIndexes(e.options,e[t])}),e.options===this.props.options||e.multiSelect||this._sizePosCache.updateOptions(e.options)},t.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this._dropDown.current&&this._dropDown.current.focus(),this.props.onDismiss&&this.props.onDismiss())},t.prototype.render=function(){var e=this,t=this._id,n=this.props,A=n.className,i=n.label,a=n.options,l=n.ariaLabel,s=n.required,u=n.errorMessage,c=n.multiSelect,f=n.keytipProps,p=n.styles,C=n.theme,E=n.panelProps,I=n.calloutProps,h=n.onRenderTitle,m=void 0===h?this._onRenderTitle:h,v=n.onRenderContainer,Q=void 0===v?this._onRenderContainer:v,B=n.onRenderCaretDown,b=void 0===B?this._onRenderCaretDown:B,y=this.state,S=y.isOpen,x=y.selectedIndices,z=y.hasFocus,L=y.calloutRenderEdge,R=n.onRenderPlaceholder||n.onRenderPlaceHolder||this._onRenderPlaceholder,O=this._getAllSelectedOptions(a,x),w=Object(d.d)(n,d.c),X=this._isDisabled(),H=t+"-option",D=c||X?{role:void 0,ariaActiveDescendant:void 0,childRole:void 0,ariaSetSize:void 0,ariaPosInSet:void 0,ariaSelected:void 0}:{role:"listbox",ariaActiveDescendant:S&&1===x.length&&x[0]>=0?this._id+"-list"+x[0]:H,childRole:"option",ariaSetSize:this._sizePosCache.optionSetSize,ariaPosInSet:this._sizePosCache.positionInSet(x[0]),ariaSelected:void 0!==x[0]||void 0};this._classNames=T(p,{theme:C,className:A,hasError:!!(u&&u.length>0),isOpen:S,required:s,disabled:X,isRenderingPlaceholder:!O.length,panelClassName:E?E.className:void 0,calloutClassName:I?I.className:void 0,calloutRenderEdge:L});var j=this._classNames.subComponentStyles?this._classNames.subComponentStyles.label:void 0;return o.createElement("div",{className:this._classNames.root},i&&o.createElement(P.a,{className:this._classNames.label,id:t+"-label",htmlFor:t,required:s,styles:j},i),o.createElement(k.a,{keytipProps:f,disabled:X},function(A){return o.createElement("div",r.a({},A,{"data-is-focusable":!X,ref:e._dropDown,id:t,tabIndex:X?-1:0,"aria-expanded":S?"true":"false",role:D.role,"aria-label":l,"aria-labelledby":i&&!l?t+"-label":void 0,"aria-describedby":Object(g.a)(H,A["aria-describedby"]),"aria-activedescendant":S?D.ariaActiveDescendant:void 0,"aria-required":s,"aria-disabled":X,"aria-owns":S?t+"-list":void 0},w,{className:e._classNames.dropdown,onBlur:e._onDropdownBlur,onKeyDown:e._onDropdownKeyDown,onKeyUp:e._onDropdownKeyUp,onClick:e._onDropdownClick,onFocus:e._onFocus}),o.createElement("span",{id:H,className:e._classNames.title,"aria-atomic":!0,role:D.childRole,"aria-live":!z||X||c||S?"off":"assertive","aria-label":O.length?O[0].text:e._placeholder,"aria-setsize":D.ariaSetSize,"aria-posinset":D.ariaPosInSet,"aria-selected":D.ariaSelected},O.length?m(O,e._onRenderTitle):R(n,e._onRenderPlaceholder)),o.createElement("span",{className:e._classNames.caretDownWrapper},b(n,e._onRenderCaretDown)))}),S&&Q(n,this._onRenderContainer),u&&u.length>0&&o.createElement("div",{className:this._classNames.errorMessage},u))},t.prototype.focus=function(e){this._dropDown.current&&-1!==this._dropDown.current.tabIndex&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},t.prototype.setSelectedIndex=function(e,t){var n=this.props,o=n.onChange,A=n.onChanged,i=n.options,a=n.selectedKey,l=n.selectedKeys,s=n.multiSelect,u=n.notifyOnReselect,c=this.state.selectedIndices,d=void 0===c?[]:c,g=!!d&&d.indexOf(t)>-1;if(t=Math.max(0,Math.min(i.length-1,t)),s||u||t!==d[0]){if(s||void 0!==a){if(s&&void 0===l){var f=d?this._copyArray(d):[];if(g){var p=f.indexOf(t);p>-1&&f.splice(p,1)}else f.push(t);this.setState({selectedIndices:f})}}else this.setState({selectedIndices:[t]});if(o){var C=s?r.a({},i[t],{selected:!g}):i[t];o(r.a({},e,{target:this._dropDown.current}),C,t)}if(A)A(C=s?r.a({},i[t],{selected:!g}):i[t],t)}},Object.defineProperty(t.prototype,"_placeholder",{get:function(){return this.props.placeholder||this.props.placeHolder},enumerable:!0,configurable:!0}),t.prototype._copyArray=function(e){for(var t=[],n=0,r=e;n=o.length&&(n=o.length-1);for(var A=0;o[n].itemType===v.a.Header||o[n].itemType===v.a.Divider||o[n].disabled;){if(A>=o.length)return r;n+t<0?n=o.length:n+t>=o.length&&(n=-1),n+=t,A++}return this.setSelectedIndex(e,n),n},t.prototype._renderFocusableList=function(e){var t=e.onRenderList,n=void 0===t?this._onRenderList:t,r=e.label,A=this._id;return o.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},o.createElement(B.a,{ref:this._focusZone,direction:b.a.vertical,id:A+"-list",className:this._classNames.dropdownItems,"aria-labelledby":r?A+"-label":void 0,role:"listbox"},n(e,this._onRenderList)))},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key;return t>0?o.createElement("div",{role:"separator",key:n,className:this._classNames.dropdownDivider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOption:t,r=e.key;return o.createElement("div",{key:r,className:this._classNames.dropdownItemHeader},n(e,this._onRenderOption))},t.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},t.prototype._onItemMouseMove=function(e,t){var n=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&document.activeElement!==n&&n.focus()},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._getSelectedIndexes=function(e,t){if(void 0===t)return this.props.multiSelect?this._getAllSelectedIndices(e):-1!==(A=this._getSelectedIndex(e,null))?[A]:[];if(!Array.isArray(t))return-1!==(A=this._getSelectedIndex(e,t))?[A]:[];for(var n=[],r=0,o=t;rthis._displayOnlyOptionsCache[t];)t++;if(this._displayOnlyOptionsCache[t]===e)throw new Error("Unexpected: Option at index "+e+" is not a selectable element.");return e-t+1}},e}()},function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return d});var r=n(0),o=n(1),A=n(53),i=n(54),a=(n(45),n(26)),l=n(76),s=n(78),u=n(77),c=Object(A.a)(),d=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._checkBox=o.createRef(),r._onFocus=function(e){var t=r.props.inputProps;t&&t.onFocus&&t.onFocus(e)},r._onBlur=function(e){var t=r.props.inputProps;t&&t.onBlur&&t.onBlur(e)},r._onChange=function(e){var t=r.props,n=t.disabled,o=t.onChange,A=r.state.isChecked;n||(o&&o(e,!A),void 0===r.props.checked&&r.setState({isChecked:!A}))},r._onRenderLabel=function(e){var t=e.label;return t?o.createElement("span",{className:r._classNames.text},t):null},Object(i.a)(r),r._id=r.props.id||Object(a.c)("checkbox-"),r.state={isChecked:!!(void 0!==t.checked?t.checked:t.defaultChecked)},r}return r.c(t,e),t.prototype.componentWillReceiveProps=function(e){void 0!==e.checked&&this.setState({isChecked:!!e.checked})},t.prototype.render=function(){var e=this,t=this.props,n=t.checked,A=t.className,i=t.defaultChecked,a=t.disabled,d=t.inputProps,g=t.name,f=t.boxSide,p=t.theme,C=t.ariaLabel,E=t.ariaLabelledBy,I=t.ariaDescribedBy,h=t.styles,m=t.onRenderLabel,v=void 0===m?this._onRenderLabel:m,Q=t.checkmarkIconProps,B=t.ariaPositionInSet,b=t.ariaSetSize,y=t.keytipProps,P=t.title,k=void 0===n?this.state.isChecked:n,S="start"!==f;return this._classNames=c(h,{theme:p,className:A,disabled:a,checked:k,reversed:S,isUsingCustomLabelRender:v!==this._onRenderLabel}),o.createElement(u.a,{keytipProps:y,disabled:a},function(t){return o.createElement("div",{className:e._classNames.root},o.createElement("input",r.a({type:"checkbox"},d,{"data-ktp-execute-target":t["data-ktp-execute-target"]},void 0!==n&&{checked:n},void 0!==i&&{defaultChecked:i},{disabled:a,className:e._classNames.input,ref:e._checkBox,name:g,id:e._id,title:P,onChange:e._onChange,onFocus:e._onFocus,onBlur:e._onBlur,"aria-disabled":a,"aria-label":C,"aria-labelledby":E,"aria-describedby":Object(l.a)(I,t["aria-describedby"]),"aria-posinset":B,"aria-setsize":b})),o.createElement("label",{className:e._classNames.label,htmlFor:e._id},o.createElement("div",{className:e._classNames.checkbox,"data-ktp-target":t["data-ktp-target"]},o.createElement(s.a,r.a({iconName:"CheckMark"},Q,{className:e._classNames.checkmark}))),v(e.props,e._onRenderLabel)))})},Object.defineProperty(t.prototype,"checked",{get:function(){return this.state.isChecked},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this._checkBox.current&&this._checkBox.current.focus()},t.defaultProps={boxSide:"start"},t}(o.Component)}).call(this,n(17))},function(e,t,n){"use strict";var r=n(125),o=n(0),A=n(1),i=n(53),a=n(32),l=n(7),s=Object(i.a)(),u=function(e){function t(t){var n=e.call(this,t)||this;return n._coverStyle=l.a.portrait,n._imageElement=A.createRef(),n._frameElement=A.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:l.c.loaded})},n._onImageError=function(e){n.props.onError&&n.props.onError(e),n.setState({loadState:l.c.error})},n.state={loadState:l.c.notLoaded},n}return o.c(t,e),t.prototype.componentWillReceiveProps=function(e){e.src!==this.props.src?this.setState({loadState:l.c.notLoaded}):this.state.loadState===l.c.loaded&&this._computeCoverStyle(e)},t.prototype.componentDidUpdate=function(e,t){this._checkImageLoaded(),this.props.onLoadingStateChange&&t.loadState!==this.state.loadState&&this.props.onLoadingStateChange(this.state.loadState)},t.prototype.render=function(){var e=Object(a.d)(this.props,a.f,["width","height"]),t=this.props,n=t.src,r=t.alt,i=t.width,u=t.height,c=t.shouldFadeIn,d=t.shouldStartVisible,g=t.className,f=t.imageFit,p=t.role,C=t.maximizeFrame,E=t.styles,I=t.theme,h=this.state.loadState,m=void 0!==this.props.coverStyle?this.props.coverStyle:this._coverStyle,v=s(E,{theme:I,className:g,width:i,height:u,maximizeFrame:C,shouldFadeIn:c,shouldStartVisible:d,isLoaded:h===l.c.loaded||h===l.c.notLoaded&&this.props.shouldStartVisible,isLandscape:m===l.a.landscape,isCenter:f===l.b.center,isCenterContain:f===l.b.centerContain,isCenterCover:f===l.b.centerCover,isContain:f===l.b.contain,isCover:f===l.b.cover,isNone:f===l.b.none,isError:h===l.c.error,isNotImageFit:void 0===f});return A.createElement("div",{className:v.root,style:{width:i,height:u},ref:this._frameElement},A.createElement("img",o.a({},e,{onLoad:this._onImageLoaded,onError:this._onImageError,key:"fabricImage"+this.props.src||"",className:v.image,ref:this._imageElement,src:n,alt:r,role:p})))},t.prototype._checkImageLoaded=function(){var e=this.props.src;this.state.loadState===l.c.notLoaded&&(!!this._imageElement.current&&(e&&this._imageElement.current.naturalWidth>0&&this._imageElement.current.naturalHeight>0||this._imageElement.current.complete&&t._svgRegex.test(e))&&(this._computeCoverStyle(this.props),this.setState({loadState:l.c.loaded})))},t.prototype._computeCoverStyle=function(e){var t=e.imageFit,n=e.width,r=e.height;if((t===l.b.cover||t===l.b.contain||t===l.b.centerContain||t===l.b.centerCover)&&void 0===this.props.coverStyle&&this._imageElement.current&&this._frameElement.current){var o=void 0;o=n&&r&&t!==l.b.centerContain&&t!==l.b.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?l.a.landscape:l.a.portrait}},t.defaultProps={shouldFadeIn:!0},t._svgRegex=/\.svg$/i,t}(A.Component),c=n(2),d=n(21),g={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"};n.d(t,"a",function(){return f});var f=Object(r.a)(u,function(e){var t=e.className,n=e.width,r=e.height,o=e.maximizeFrame,A=e.isLoaded,i=e.shouldFadeIn,a=e.shouldStartVisible,l=e.isLandscape,s=e.isCenter,u=e.isContain,f=e.isCover,p=e.isCenterContain,C=e.isCenterCover,E=e.isNone,I=e.isError,h=e.isNotImageFit,m=e.theme,v=Object(c.v)(g,m),Q={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},B=Object(d.a)(),b=void 0!==B&&void 0===B.navigator.msMaxTouchPoints,y=u&&l||f&&!l?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[v.root,m.fonts.medium,{overflow:"hidden"},o&&[v.rootMaximizeFrame,{height:"100%",width:"100%"}],A&&i&&!a&&c.a.fadeIn400,(s||u||f||p||C)&&{position:"relative"},t],image:[v.image,{display:"block",opacity:0},A&&["is-loaded",{opacity:1}],s&&[v.imageCenter,Q],u&&[v.imageContain,b&&{width:"100%",height:"100%",objectFit:"contain"},!b&&y,Q],f&&[v.imageCover,b&&{width:"100%",height:"100%",objectFit:"cover"},!b&&y,Q],p&&[v.imageCenterContain,l&&{maxWidth:"100%"},!l&&{maxHeight:"100%"},Q],C&&[v.imageCenterCover,l&&{maxHeight:"100%"},!l&&{maxWidth:"100%"},Q],E&&[v.imageNone,{width:"auto",height:"auto"}],h&&[!!n&&!r&&{height:"auto",width:"100%"},!n&&!!r&&{height:"100%",width:"auto"},!!n&&!!r&&{height:"100%",width:"100%"}],l&&v.imageLandscape,!l&&v.imagePortrait,!A&&"is-notLoaded",i&&"is-fadeIn",I&&"is-error"]}},void 0,{scope:"Image"},!0)},function(e,t,n){"use strict";var r=n(0),o=n(1),A=n(20),i=n(128),a=n(98),l=n(2),s=n(75),u=n(19),c=Object(s.a)(function(e,t){var n,r=Object(u.a)(e),o={root:{padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},rootHovered:{color:e.palette.themePrimary,selectors:(n={},n[l.f]={borderColor:"Highlight",color:"Highlight"},n)},iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:{color:e.palette.neutralTertiary,backgroundColor:"transparent"},rootChecked:{color:e.palette.black},iconChecked:{color:e.palette.themeDarker},flexContainer:{justifyContent:"flex-start"},icon:{color:e.palette.themeDarkAlt},iconDisabled:{color:"inherit"},menuIcon:{color:e.palette.neutralSecondary},textContainer:{flexGrow:0}};return Object(l.r)(r,o,t)});n.d(t,"a",function(){return d});var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipComponentRefResolution=!0,t}return r.c(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return o.createElement(A.a,r.a({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:c(n,t),onRenderDescription:i.b}))},t=r.b([Object(a.a)("ActionButton",["theme","styles"],!0)],t)}(i.a)},function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n(11),o=r.a.getInstance();o&&o.onReset&&r.a.getInstance().onReset(function(){A++});var A=0,i={empty:!0},a={},l="undefined"==typeof WeakMap?null:WeakMap;function s(e,t){if(void 0===t&&(t=100),!l)return e;var n,r=0,o=A;return function(){for(var i=[],a=0;a0&&r>t)&&(n=c(),r=0,o=A),l=n;for(var s=0;s=0&&(o.keytip.visible=this.keytips[A].keytip.visible,this.keytips=Object(l.e)(this.keytips,o,A),a.a.raise(this,r.KEYTIP_UPDATED,{keytip:o.keytip,uniqueID:o.uniqueID}))},e.prototype.unregister=function(e,t,n){void 0===n&&(n=!1),n?this.persistedKeytips=this.persistedKeytips.filter(function(e){return e.uniqueID!==t}):this.keytips=this.keytips.filter(function(e){return e.uniqueID!==t});var o=n?r.PERSISTED_KEYTIP_REMOVED:r.KEYTIP_REMOVED;a.a.raise(this,o,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){a.a.raise(this,r.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){a.a.raise(this,r.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){return this.keytips.map(function(e){return e.keytip})},e.prototype.addParentOverflow=function(e){var t=e.keySequences.slice();if(t.pop(),0!==t.length){var n=Object(l.c)(this.getKeytips(),function(e){return Object(l.b)(t,e.keySequences)});if(n&&n.overflowSetSequence)return o.a({},e,{overflowSetSequence:n.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){a.a.raise(this,r.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=Object(s.c)()),{keytip:o.a({},e),uniqueID:t}},e._instance=new e,e}();function f(e){return e.reduce(function(e,t){return e+c+t.split("").join(c)},u)}n.d(t,"a",function(){return p});var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._keytipManager=g.getInstance(),t}return o.c(t,e),t.prototype.componentDidMount=function(){this.props.keytipProps&&(this._uniqueId=this._keytipManager.register(this._getKtpProps()))},t.prototype.componentWillUnmount=function(){this.props.keytipProps&&this._keytipManager.unregister(this._getKtpProps(),this._uniqueId)},t.prototype.componentDidUpdate=function(){this.props.keytipProps&&this._keytipManager.update(this._getKtpProps(),this._uniqueId)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.keytipProps,r=e.ariaDescribedBy,o={};return n&&(o=this._getKtpAttrs(n,r)),t(o)},t.prototype._getKtpProps=function(){return o.a({disabled:this.props.disabled},this.props.keytipProps)},t.prototype._getKtpAttrs=function(e,t){if(e){var n=this._keytipManager.addParentOverflow(e),r=function(e){var t=" "+d;return e.length?t+" "+f(e):t}(n.keySequences),o=n.keySequences.slice();n.overflowSetSequence&&(o=function(e,t){var n=t.length,r=t.slice().pop(),o=e.slice();return Object(l.a)(o,n-1,r)}(o,n.overflowSetSequence));var A=f(o);return{"aria-describedby":Object(i.a)(t,r),"data-ktp-target":A,"data-ktp-execute-target":A}}},t}(A.Component)},function(e,t,n){"use strict";var r,o=n(125),A=n(0),i=n(1);!function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(r||(r={}));var a=n(73),l=n(7),s=n(53),u=n(32),c=n(2),d=Object(s.a)(),g=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===l.c.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return A.c(t,e),t.prototype.render=function(){var e=this.props,t=e.ariaLabel,n=e.className,o=e.styles,l=e.iconName,s=e.imageErrorAs,c=e.theme,g="string"==typeof l&&0===l.length,f=this.props.iconType===r.image||this.props.iconType===r.Image,p=this._getIconContent(l),C=p.iconClassName,E=p.children,I=d(o,{theme:c,className:n,iconClassName:C,isImage:f,isPlaceholder:g}),h=t?{"aria-label":t}:{role:"presentation"},m=f?"div":"i",v=Object(u.d)(this.props,u.e),Q=this.state.imageLoadError,B=A.a({},this.props.imageProps,{onLoadingStateChange:this.onImageLoadingStateChange}),b=Q&&s||a.a;return i.createElement(m,A.a({"data-icon-name":l},v,h,{className:I.root}),f?i.createElement(b,A.a({},B)):E)},t.prototype._getIconContent=function(e){var t=Object(c.w)(e)||{subset:{className:void 0},code:void 0};return{children:t.code,iconClassName:t.subset.className}},t}(i.Component);n.d(t,"a",function(){return f});var f=Object(o.a)(g,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)},function(e,t,n){"use strict";var r=n(125),o=n(0),A=n(1),i=n(53),a=n(64),l=n(32),s=n(21),u=n(48),c=n(2),d={fontFamily:"inherit"},g={root:"ms-Fabric"},f=function(e){var t=e.theme,n=e.className,r=e.isFocusVisible;return{root:[Object(c.v)(g,t).root,r&&"is-focusVisible",t.fonts.medium,{color:t.palette.neutralPrimary,selectors:{"& button":d,"& input":d,"& textarea":d,":global(button)":{overflow:"visible",margin:0}}},n]}},p=Object(i.a)(),C=function(e){function t(t){var n=e.call(this,t)||this;return n._rootElement=A.createRef(),n._disposables=[],n._onMouseDown=function(e){n.setState({isFocusVisible:!1})},n._onKeyDown=function(e){Object(a.a)(e.which)&&n.setState({isFocusVisible:!0})},n.state={isFocusVisible:!1},n}return o.c(t,e),t.prototype.render=function(){var e=p(f,o.a({},this.props,this.state)),t=Object(l.d)(this.props,l.c);return A.createElement("div",o.a({},t,{className:e.root,ref:this._rootElement}))},t.prototype.componentDidMount=function(){var e=Object(s.a)(this._rootElement.current);e&&this._disposables.push(Object(u.a)(e,"mousedown",this._onMouseDown,!0),Object(u.a)(e,"keydown",this._onKeyDown,!0))},t.prototype.componentWillUnmount=function(){this._disposables.forEach(function(e){return e()})},t}(A.Component);n.d(t,"a",function(){return E});var E=Object(r.a)(C,f,void 0,{scope:"Fabric"})},,,,,,,,function(e,t,n){"use strict"; +*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,a,l=i(e),s=1;s0&&u(t)}))}function u(e,t){A.loadStyles?A.loadStyles(f(e).styleString,e):n?function(e,t){if("undefined"==typeof document)return;var n=document.getElementsByTagName("head")[0],r=A.registeredStyles,o=A.lastStyleElement,i=o?o.styleSheet:void 0,a=i?i.cssText:"",l=r[r.length-1],s=f(e).styleString;(!o||a.length+s.length>1e4)&&((o=document.createElement("style")).type="text/css",t?(n.replaceChild(o,t.styleElement),t.styleElement=o):n.appendChild(o),t||(l={styleElement:o,themableStyle:e},r.push(l)));o.styleSheet.cssText+=g(s),Array.prototype.push.apply(l.themableStyle,e),A.lastStyleElement=o}(e,t):function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),r=f(e),o=r.styleString,i=r.themable;n.type="text/css",n.appendChild(document.createTextNode(o)),A.perf.count++,t.appendChild(n);var a={styleElement:n,themableStyle:e};i?A.registeredThemableStyles.push(a):A.registeredStyles.push(a)}(e)}function c(e){void 0===e&&(e=3),3!==e&&2!==e||(d(A.registeredStyles),A.registeredStyles=[]),3!==e&&1!==e||(d(A.registeredThemableStyles),A.registeredThemableStyles=[])}function d(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function g(e){return e&&(e=f(p(e)).styleString),e}function f(e){var t=A.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||r in t||"undefined"==typeof DEBUG||!DEBUG||console.warn('Theming value not provided for "'+r+'". Falling back to "'+A+'".'),o||A}return e.rawString})).join(""),themable:n}}function p(e){var t=[];if(e){for(var n=0,r=void 0;r=i.exec(e);){var o=r.index;o>n&&t.push({rawString:e.substring(n,o)}),t.push({theme:r[1],defaultValue:r[2]}),n=i.lastIndex}t.push({rawString:e.substring(n)})}return t}t.loadStyles=function(e,t){void 0===t&&(t=!1),l((function(){var r=Array.isArray(e)?e:p(e);void 0===n&&(n=function(){var e=!1;if("undefined"!=typeof document){var t=document.createElement("style");t.type="text/css",e=!!t.styleSheet}return e}());var o=A.runState,i=o.mode,a=o.buffer,l=o.flushTimer;t||1===i?(a.push(r),l||(A.runState.flushTimer=setTimeout((function(){A.runState.flushTimer=0,s()}),0))):u(r)}))},t.configureLoadStyles=function(e){A.loadStyles=e},t.configureRunMode=function(e){A.runState.mode=e},t.flush=s,t.loadTheme=function(e){A.theme=e,function(){if(A.theme){for(var e=[],t=0,n=A.registeredThemableStyles;t0&&(c(1),u([].concat.apply([],e)))}}()},t.clearStyles=c,t.detokenize=g,t.splitStyles=p}).call(this,n(59))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(26),o=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,n,o,A){var i;if(e._isElement(t)){if(document.createEvent){var a=document.createEvent("HTMLEvents");a.initEvent(n,A||!1,!0),Object(r.a)(a,o),i=t.dispatchEvent(a)}else if(document.createEventObject){var l=document.createEventObject(o);t.fireEvent("on"+n,l)}}else for(;t&&!1!==i;){var s=t.__events__,u=s?s[n]:null;if(u)for(var c in u)if(u.hasOwnProperty(c))for(var d=u[c],g=0;!1!==i&&g-1)for(var i=n.split(/[ ,]+/),a=0;a-1,s=l&&!0===e.disabled?A._classNames.dropdownItemSelectedAndDisabled:l?A._classNames.dropdownItemSelected:!0===e.disabled?A._classNames.dropdownItemDisabled:A._classNames.dropdownItem;return A.props.multiSelect?o.createElement(I.a,{id:a+"-list"+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,onChange:A._onItemClick(e),inputProps:{onMouseEnter:A._onItemMouseEnter.bind(A,e),onMouseLeave:A._onMouseItemLeave.bind(A,e),onMouseMove:A._onItemMouseMove.bind(A,e)},label:e.text,title:e.title?e.title:e.text,onRenderLabel:A._onRenderLabel.bind(A,e),className:s,role:"option","aria-selected":l?"true":"false",checked:l}):o.createElement(h.a,{id:a+"-list"+e.index,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:s,onClick:A._onItemClick(e),onMouseEnter:A._onItemMouseEnter.bind(A,e),onMouseLeave:A._onMouseItemLeave.bind(A,e),onMouseMove:A._onItemMouseMove.bind(A,e),role:"option","aria-selected":l?"true":"false",ariaLabel:e.ariaLabel,title:e.title?e.title:e.text},n(e,A._onRenderOption))},A._onRenderOption=function(e){return o.createElement("span",{className:A._classNames.dropdownOptionText},e.text)},A._onRenderLabel=function(e){var t=A.props.onRenderOption;return(void 0===t?A._onRenderOption:t)(e,A._onRenderOption)},A._onPositioned=function(e){A._focusZone.current&&A._requestAnimationFrame((function(){var e=A.state.selectedIndices;if(e&&e[0]&&!A.props.options[e[0]].disabled){var t=Object(a.a)().querySelector("#"+A._id+"-list"+e[0]);A._focusZone.current.focusElement(t)}else A._focusZone.current.focus()})),A.state.calloutRenderEdge&&A.state.calloutRenderEdge===e.targetEdge||A.setState({calloutRenderEdge:e.targetEdge})},A._onItemClick=function(e){return function(t){e.disabled||(A.setSelectedIndex(t,e.index),A.props.multiSelect||A.setState({isOpen:!1}))}},A._onScroll=function(){A._isScrollIdle||void 0===A._scrollIdleTimeoutId?A._isScrollIdle=!1:(clearTimeout(A._scrollIdleTimeoutId),A._scrollIdleTimeoutId=void 0),A._scrollIdleTimeoutId=setTimeout((function(){A._isScrollIdle=!0}),A._scrollIdleDelay)},A._onMouseItemLeave=function(e,t){if(!A._shouldIgnoreMouseEvent()&&A._host.current)if(A._host.current.setActive)try{A._host.current.setActive()}catch(e){}else A._host.current.focus()},A._onDismiss=function(){A.setState({isOpen:!1}),A._dropDown.current&&A._dropDown.current.focus()},A._onDropdownBlur=function(e){A._isDisabled()||(A.setState({hasFocus:!1}),A.state.isOpen||A.props.onBlur&&A.props.onBlur(e))},A._onDropdownKeyDown=function(e){if(!A._isDisabled()&&(A._lastKeyDownWasAltOrMeta=A._isAltOrMeta(e),!A.props.onKeyDown||(A.props.onKeyDown(e),!e.defaultPrevented))){var t,n=A.state.selectedIndices.length?A.state.selectedIndices[0]:-1,r=e.altKey||e.metaKey,o=A.state.isOpen;switch(e.which){case l.a.enter:A.setState({isOpen:!o});break;case l.a.escape:if(!o)return;A.setState({isOpen:!1});break;case l.a.up:if(r){if(o){A.setState({isOpen:!1});break}return}A.props.multiSelect?A.setState({isOpen:!0}):A._isDisabled()||(t=A._moveIndex(e,-1,n-1,n));break;case l.a.down:r&&(e.stopPropagation(),e.preventDefault()),r&&!o||A.props.multiSelect?A.setState({isOpen:!0}):A._isDisabled()||(t=A._moveIndex(e,1,n+1,n));break;case l.a.home:A.props.multiSelect||(t=A._moveIndex(e,1,0,n));break;case l.a.end:A.props.multiSelect||(t=A._moveIndex(e,-1,A.props.options.length-1,n));break;case l.a.space:break;default:return}t!==n&&(e.stopPropagation(),e.preventDefault())}},A._onDropdownKeyUp=function(e){if(!A._isDisabled()){var t=A._shouldHandleKeyUp(e),n=A.state.isOpen;if(!A.props.onKeyUp||(A.props.onKeyUp(e),!e.preventDefault)){switch(e.which){case l.a.space:A.setState({isOpen:!n});break;default:return void(t&&n&&A.setState({isOpen:!1}))}e.stopPropagation(),e.preventDefault()}}},A._onZoneKeyDown=function(e){var t;A._lastKeyDownWasAltOrMeta=A._isAltOrMeta(e);var n=e.altKey||e.metaKey;switch(e.which){case l.a.up:n?A.setState({isOpen:!1}):A._host.current&&(t=Object(s.h)(A._host.current,A._host.current.lastChild,!0));break;case l.a.home:case l.a.end:case l.a.pageUp:case l.a.pageDown:break;case l.a.down:!n&&A._host.current&&(t=Object(s.e)(A._host.current,A._host.current.firstChild,!0));break;case l.a.escape:A.setState({isOpen:!1});break;case l.a.tab:return void A.setState({isOpen:!1});default:return}t&&t.focus(),e.stopPropagation(),e.preventDefault()},A._onZoneKeyUp=function(e){A._shouldHandleKeyUp(e)&&A.state.isOpen&&(A.setState({isOpen:!1}),e.preventDefault())},A._onDropdownClick=function(e){if(!A.props.onClick||(A.props.onClick(e),!e.preventDefault)){var t=A.state.isOpen;A._isDisabled()||A.setState({isOpen:!t})}},A._onFocus=function(e){var t=A.state,n=t.isOpen,r=t.selectedIndices,o=A.props.multiSelect;A._isDisabled()||(n||0!==r.length||o||A._moveIndex(e,1,0,-1),A.props.onFocus&&A.props.onFocus(e),A.setState({hasFocus:!0}))},A._isDisabled=function(){var e=A.props.disabled,t=A.props.isDisabled;return void 0!==t&&(e=t),e},Object(u.a)(A),A._id=t.id||Object(c.c)("Dropdown"),A._isScrollIdle=!0,A.props.multiSelect){var d=void 0!==t.defaultSelectedKeys?t.defaultSelectedKeys:t.selectedKeys;n=A._getSelectedIndexes(t.options,d)}else{var g=void 0!==t.defaultSelectedKey?t.defaultSelectedKey:t.selectedKey;n=A._getSelectedIndexes(t.options,g),A._sizePosCache.updateOptions(t.options)}return A.state={isOpen:!1,selectedIndices:n,hasFocus:!1,calloutRenderEdge:void 0},A}return r.c(t,e),t.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},t.prototype.componentWillReceiveProps=function(e){var t,n=e.options!==this.props.options;void 0===e[t=e.multiSelect?n&&void 0!==e.defaultSelectedKeys?"defaultSelectedKeys":"selectedKeys":n&&void 0!==e.defaultSelectedKey?"defaultSelectedKey":"selectedKey"]||e[t]===this.props[t]&&!n||this.setState({selectedIndices:this._getSelectedIndexes(e.options,e[t])}),e.options===this.props.options||e.multiSelect||this._sizePosCache.updateOptions(e.options)},t.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this._dropDown.current&&this._dropDown.current.focus(),this.props.onDismiss&&this.props.onDismiss())},t.prototype.render=function(){var e=this,t=this._id,n=this.props,A=n.className,i=n.label,a=n.options,l=n.ariaLabel,s=n.required,u=n.errorMessage,c=n.multiSelect,f=n.keytipProps,p=n.styles,C=n.theme,E=n.panelProps,I=n.calloutProps,h=n.onRenderTitle,m=void 0===h?this._onRenderTitle:h,v=n.onRenderContainer,Q=void 0===v?this._onRenderContainer:v,B=n.onRenderCaretDown,b=void 0===B?this._onRenderCaretDown:B,y=this.state,S=y.isOpen,x=y.selectedIndices,z=y.hasFocus,L=y.calloutRenderEdge,R=n.onRenderPlaceholder||n.onRenderPlaceHolder||this._onRenderPlaceholder,O=this._getAllSelectedOptions(a,x),w=Object(d.d)(n,d.c),X=this._isDisabled(),H=t+"-option",D=c||X?{role:void 0,ariaActiveDescendant:void 0,childRole:void 0,ariaSetSize:void 0,ariaPosInSet:void 0,ariaSelected:void 0}:{role:"listbox",ariaActiveDescendant:S&&1===x.length&&x[0]>=0?this._id+"-list"+x[0]:H,childRole:"option",ariaSetSize:this._sizePosCache.optionSetSize,ariaPosInSet:this._sizePosCache.positionInSet(x[0]),ariaSelected:void 0!==x[0]||void 0};this._classNames=T(p,{theme:C,className:A,hasError:!!(u&&u.length>0),isOpen:S,required:s,disabled:X,isRenderingPlaceholder:!O.length,panelClassName:E?E.className:void 0,calloutClassName:I?I.className:void 0,calloutRenderEdge:L});var j=this._classNames.subComponentStyles?this._classNames.subComponentStyles.label:void 0;return o.createElement("div",{className:this._classNames.root},i&&o.createElement(P.a,{className:this._classNames.label,id:t+"-label",htmlFor:t,required:s,styles:j},i),o.createElement(k.a,{keytipProps:f,disabled:X},(function(A){return o.createElement("div",r.a({},A,{"data-is-focusable":!X,ref:e._dropDown,id:t,tabIndex:X?-1:0,"aria-expanded":S?"true":"false",role:D.role,"aria-label":l,"aria-labelledby":i&&!l?t+"-label":void 0,"aria-describedby":Object(g.a)(H,A["aria-describedby"]),"aria-activedescendant":S?D.ariaActiveDescendant:void 0,"aria-required":s,"aria-disabled":X,"aria-owns":S?t+"-list":void 0},w,{className:e._classNames.dropdown,onBlur:e._onDropdownBlur,onKeyDown:e._onDropdownKeyDown,onKeyUp:e._onDropdownKeyUp,onClick:e._onDropdownClick,onFocus:e._onFocus}),o.createElement("span",{id:H,className:e._classNames.title,"aria-atomic":!0,role:D.childRole,"aria-live":!z||X||c||S?"off":"assertive","aria-label":O.length?O[0].text:e._placeholder,"aria-setsize":D.ariaSetSize,"aria-posinset":D.ariaPosInSet,"aria-selected":D.ariaSelected},O.length?m(O,e._onRenderTitle):R(n,e._onRenderPlaceholder)),o.createElement("span",{className:e._classNames.caretDownWrapper},b(n,e._onRenderCaretDown)))})),S&&Q(n,this._onRenderContainer),u&&u.length>0&&o.createElement("div",{className:this._classNames.errorMessage},u))},t.prototype.focus=function(e){this._dropDown.current&&-1!==this._dropDown.current.tabIndex&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},t.prototype.setSelectedIndex=function(e,t){var n=this.props,o=n.onChange,A=n.onChanged,i=n.options,a=n.selectedKey,l=n.selectedKeys,s=n.multiSelect,u=n.notifyOnReselect,c=this.state.selectedIndices,d=void 0===c?[]:c,g=!!d&&d.indexOf(t)>-1;if(t=Math.max(0,Math.min(i.length-1,t)),s||u||t!==d[0]){if(s||void 0!==a){if(s&&void 0===l){var f=d?this._copyArray(d):[];if(g){var p=f.indexOf(t);p>-1&&f.splice(p,1)}else f.push(t);this.setState({selectedIndices:f})}}else this.setState({selectedIndices:[t]});if(o){var C=s?r.a({},i[t],{selected:!g}):i[t];o(r.a({},e,{target:this._dropDown.current}),C,t)}if(A)A(C=s?r.a({},i[t],{selected:!g}):i[t],t)}},Object.defineProperty(t.prototype,"_placeholder",{get:function(){return this.props.placeholder||this.props.placeHolder},enumerable:!0,configurable:!0}),t.prototype._copyArray=function(e){for(var t=[],n=0,r=e;n=o.length&&(n=o.length-1);for(var A=0;o[n].itemType===v.a.Header||o[n].itemType===v.a.Divider||o[n].disabled;){if(A>=o.length)return r;n+t<0?n=o.length:n+t>=o.length&&(n=-1),n+=t,A++}return this.setSelectedIndex(e,n),n},t.prototype._renderFocusableList=function(e){var t=e.onRenderList,n=void 0===t?this._onRenderList:t,r=e.label,A=this._id;return o.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},o.createElement(B.a,{ref:this._focusZone,direction:b.a.vertical,id:A+"-list",className:this._classNames.dropdownItems,"aria-labelledby":r?A+"-label":void 0,role:"listbox"},n(e,this._onRenderList)))},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key;return t>0?o.createElement("div",{role:"separator",key:n,className:this._classNames.dropdownDivider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOption:t,r=e.key;return o.createElement("div",{key:r,className:this._classNames.dropdownItemHeader},n(e,this._onRenderOption))},t.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},t.prototype._onItemMouseMove=function(e,t){var n=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&document.activeElement!==n&&n.focus()},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._getSelectedIndexes=function(e,t){if(void 0===t)return this.props.multiSelect?this._getAllSelectedIndices(e):-1!==(A=this._getSelectedIndex(e,null))?[A]:[];if(!Array.isArray(t))return-1!==(A=this._getSelectedIndex(e,t))?[A]:[];for(var n=[],r=0,o=t;rthis._displayOnlyOptionsCache[t];)t++;if(this._displayOnlyOptionsCache[t]===e)throw new Error("Unexpected: Option at index "+e+" is not a selectable element.");return e-t+1}},e}()},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return d}));var r=n(0),o=n(1),A=n(53),i=n(54),a=(n(45),n(26)),l=n(76),s=n(78),u=n(77),c=Object(A.a)(),d=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r._checkBox=o.createRef(),r._onFocus=function(e){var t=r.props.inputProps;t&&t.onFocus&&t.onFocus(e)},r._onBlur=function(e){var t=r.props.inputProps;t&&t.onBlur&&t.onBlur(e)},r._onChange=function(e){var t=r.props,n=t.disabled,o=t.onChange,A=r.state.isChecked;n||(o&&o(e,!A),void 0===r.props.checked&&r.setState({isChecked:!A}))},r._onRenderLabel=function(e){var t=e.label;return t?o.createElement("span",{className:r._classNames.text},t):null},Object(i.a)(r),r._id=r.props.id||Object(a.c)("checkbox-"),r.state={isChecked:!!(void 0!==t.checked?t.checked:t.defaultChecked)},r}return r.c(t,e),t.prototype.componentWillReceiveProps=function(e){void 0!==e.checked&&this.setState({isChecked:!!e.checked})},t.prototype.render=function(){var e=this,t=this.props,n=t.checked,A=t.className,i=t.defaultChecked,a=t.disabled,d=t.inputProps,g=t.name,f=t.boxSide,p=t.theme,C=t.ariaLabel,E=t.ariaLabelledBy,I=t.ariaDescribedBy,h=t.styles,m=t.onRenderLabel,v=void 0===m?this._onRenderLabel:m,Q=t.checkmarkIconProps,B=t.ariaPositionInSet,b=t.ariaSetSize,y=t.keytipProps,P=t.title,k=void 0===n?this.state.isChecked:n,S="start"!==f;return this._classNames=c(h,{theme:p,className:A,disabled:a,checked:k,reversed:S,isUsingCustomLabelRender:v!==this._onRenderLabel}),o.createElement(u.a,{keytipProps:y,disabled:a},(function(t){return o.createElement("div",{className:e._classNames.root},o.createElement("input",r.a({type:"checkbox"},d,{"data-ktp-execute-target":t["data-ktp-execute-target"]},void 0!==n&&{checked:n},void 0!==i&&{defaultChecked:i},{disabled:a,className:e._classNames.input,ref:e._checkBox,name:g,id:e._id,title:P,onChange:e._onChange,onFocus:e._onFocus,onBlur:e._onBlur,"aria-disabled":a,"aria-label":C,"aria-labelledby":E,"aria-describedby":Object(l.a)(I,t["aria-describedby"]),"aria-posinset":B,"aria-setsize":b})),o.createElement("label",{className:e._classNames.label,htmlFor:e._id},o.createElement("div",{className:e._classNames.checkbox,"data-ktp-target":t["data-ktp-target"]},o.createElement(s.a,r.a({iconName:"CheckMark"},Q,{className:e._classNames.checkmark}))),v(e.props,e._onRenderLabel)))}))},Object.defineProperty(t.prototype,"checked",{get:function(){return this.state.isChecked},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this._checkBox.current&&this._checkBox.current.focus()},t.defaultProps={boxSide:"start"},t}(o.Component)}).call(this,n(17))},function(e,t,n){"use strict";var r=n(125),o=n(0),A=n(1),i=n(53),a=n(32),l=n(7),s=Object(i.a)(),u=function(e){function t(t){var n=e.call(this,t)||this;return n._coverStyle=l.a.portrait,n._imageElement=A.createRef(),n._frameElement=A.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:l.c.loaded})},n._onImageError=function(e){n.props.onError&&n.props.onError(e),n.setState({loadState:l.c.error})},n.state={loadState:l.c.notLoaded},n}return o.c(t,e),t.prototype.componentWillReceiveProps=function(e){e.src!==this.props.src?this.setState({loadState:l.c.notLoaded}):this.state.loadState===l.c.loaded&&this._computeCoverStyle(e)},t.prototype.componentDidUpdate=function(e,t){this._checkImageLoaded(),this.props.onLoadingStateChange&&t.loadState!==this.state.loadState&&this.props.onLoadingStateChange(this.state.loadState)},t.prototype.render=function(){var e=Object(a.d)(this.props,a.f,["width","height"]),t=this.props,n=t.src,r=t.alt,i=t.width,u=t.height,c=t.shouldFadeIn,d=t.shouldStartVisible,g=t.className,f=t.imageFit,p=t.role,C=t.maximizeFrame,E=t.styles,I=t.theme,h=this.state.loadState,m=void 0!==this.props.coverStyle?this.props.coverStyle:this._coverStyle,v=s(E,{theme:I,className:g,width:i,height:u,maximizeFrame:C,shouldFadeIn:c,shouldStartVisible:d,isLoaded:h===l.c.loaded||h===l.c.notLoaded&&this.props.shouldStartVisible,isLandscape:m===l.a.landscape,isCenter:f===l.b.center,isCenterContain:f===l.b.centerContain,isCenterCover:f===l.b.centerCover,isContain:f===l.b.contain,isCover:f===l.b.cover,isNone:f===l.b.none,isError:h===l.c.error,isNotImageFit:void 0===f});return A.createElement("div",{className:v.root,style:{width:i,height:u},ref:this._frameElement},A.createElement("img",o.a({},e,{onLoad:this._onImageLoaded,onError:this._onImageError,key:"fabricImage"+this.props.src||"",className:v.image,ref:this._imageElement,src:n,alt:r,role:p})))},t.prototype._checkImageLoaded=function(){var e=this.props.src;this.state.loadState===l.c.notLoaded&&(!!this._imageElement.current&&(e&&this._imageElement.current.naturalWidth>0&&this._imageElement.current.naturalHeight>0||this._imageElement.current.complete&&t._svgRegex.test(e))&&(this._computeCoverStyle(this.props),this.setState({loadState:l.c.loaded})))},t.prototype._computeCoverStyle=function(e){var t=e.imageFit,n=e.width,r=e.height;if((t===l.b.cover||t===l.b.contain||t===l.b.centerContain||t===l.b.centerCover)&&void 0===this.props.coverStyle&&this._imageElement.current&&this._frameElement.current){var o=void 0;o=n&&r&&t!==l.b.centerContain&&t!==l.b.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?l.a.landscape:l.a.portrait}},t.defaultProps={shouldFadeIn:!0},t._svgRegex=/\.svg$/i,t}(A.Component),c=n(2),d=n(21),g={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"};n.d(t,"a",(function(){return f}));var f=Object(r.a)(u,(function(e){var t=e.className,n=e.width,r=e.height,o=e.maximizeFrame,A=e.isLoaded,i=e.shouldFadeIn,a=e.shouldStartVisible,l=e.isLandscape,s=e.isCenter,u=e.isContain,f=e.isCover,p=e.isCenterContain,C=e.isCenterCover,E=e.isNone,I=e.isError,h=e.isNotImageFit,m=e.theme,v=Object(c.v)(g,m),Q={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},B=Object(d.a)(),b=void 0!==B&&void 0===B.navigator.msMaxTouchPoints,y=u&&l||f&&!l?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[v.root,m.fonts.medium,{overflow:"hidden"},o&&[v.rootMaximizeFrame,{height:"100%",width:"100%"}],A&&i&&!a&&c.a.fadeIn400,(s||u||f||p||C)&&{position:"relative"},t],image:[v.image,{display:"block",opacity:0},A&&["is-loaded",{opacity:1}],s&&[v.imageCenter,Q],u&&[v.imageContain,b&&{width:"100%",height:"100%",objectFit:"contain"},!b&&y,Q],f&&[v.imageCover,b&&{width:"100%",height:"100%",objectFit:"cover"},!b&&y,Q],p&&[v.imageCenterContain,l&&{maxWidth:"100%"},!l&&{maxHeight:"100%"},Q],C&&[v.imageCenterCover,l&&{maxHeight:"100%"},!l&&{maxWidth:"100%"},Q],E&&[v.imageNone,{width:"auto",height:"auto"}],h&&[!!n&&!r&&{height:"auto",width:"100%"},!n&&!!r&&{height:"100%",width:"auto"},!!n&&!!r&&{height:"100%",width:"100%"}],l&&v.imageLandscape,!l&&v.imagePortrait,!A&&"is-notLoaded",i&&"is-fadeIn",I&&"is-error"]}}),void 0,{scope:"Image"},!0)},function(e,t,n){"use strict";var r=n(0),o=n(1),A=n(20),i=n(128),a=n(98),l=n(2),s=n(75),u=n(19),c=Object(s.a)((function(e,t){var n,r=Object(u.a)(e),o={root:{padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},rootHovered:{color:e.palette.themePrimary,selectors:(n={},n[l.f]={borderColor:"Highlight",color:"Highlight"},n)},iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:{color:e.palette.neutralTertiary,backgroundColor:"transparent"},rootChecked:{color:e.palette.black},iconChecked:{color:e.palette.themeDarker},flexContainer:{justifyContent:"flex-start"},icon:{color:e.palette.themeDarkAlt},iconDisabled:{color:"inherit"},menuIcon:{color:e.palette.neutralSecondary},textContainer:{flexGrow:0}};return Object(l.r)(r,o,t)}));n.d(t,"a",(function(){return d}));var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._skipComponentRefResolution=!0,t}return r.c(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return o.createElement(A.a,r.a({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:c(n,t),onRenderDescription:i.b}))},t=r.b([Object(a.a)("ActionButton",["theme","styles"],!0)],t)}(i.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(11),o=r.a.getInstance();o&&o.onReset&&r.a.getInstance().onReset((function(){A++}));var A=0,i={empty:!0},a={},l="undefined"==typeof WeakMap?null:WeakMap;function s(e,t){if(void 0===t&&(t=100),!l)return e;var n,r=0,o=A;return function(){for(var i=[],a=0;a0&&r>t)&&(n=c(),r=0,o=A),l=n;for(var s=0;s=0&&(o.keytip.visible=this.keytips[A].keytip.visible,this.keytips=Object(l.e)(this.keytips,o,A),a.a.raise(this,r.KEYTIP_UPDATED,{keytip:o.keytip,uniqueID:o.uniqueID}))},e.prototype.unregister=function(e,t,n){void 0===n&&(n=!1),n?this.persistedKeytips=this.persistedKeytips.filter((function(e){return e.uniqueID!==t})):this.keytips=this.keytips.filter((function(e){return e.uniqueID!==t}));var o=n?r.PERSISTED_KEYTIP_REMOVED:r.KEYTIP_REMOVED;a.a.raise(this,o,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){a.a.raise(this,r.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){a.a.raise(this,r.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){return this.keytips.map((function(e){return e.keytip}))},e.prototype.addParentOverflow=function(e){var t=e.keySequences.slice();if(t.pop(),0!==t.length){var n=Object(l.c)(this.getKeytips(),(function(e){return Object(l.b)(t,e.keySequences)}));if(n&&n.overflowSetSequence)return o.a({},e,{overflowSetSequence:n.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){a.a.raise(this,r.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=Object(s.c)()),{keytip:o.a({},e),uniqueID:t}},e._instance=new e,e}();function c(e){return e.reduce((function(e,t){return e+"-"+t.split("").join("-")}),"ktp")}n.d(t,"a",(function(){return d}));var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._keytipManager=u.getInstance(),t}return o.c(t,e),t.prototype.componentDidMount=function(){this.props.keytipProps&&(this._uniqueId=this._keytipManager.register(this._getKtpProps()))},t.prototype.componentWillUnmount=function(){this.props.keytipProps&&this._keytipManager.unregister(this._getKtpProps(),this._uniqueId)},t.prototype.componentDidUpdate=function(){this.props.keytipProps&&this._keytipManager.update(this._getKtpProps(),this._uniqueId)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.keytipProps,r=e.ariaDescribedBy,o={};return n&&(o=this._getKtpAttrs(n,r)),t(o)},t.prototype._getKtpProps=function(){return o.a({disabled:this.props.disabled},this.props.keytipProps)},t.prototype._getKtpAttrs=function(e,t){if(e){var n=this._keytipManager.addParentOverflow(e),r=function(e){return e.length?" ktp-layer-id "+c(e):" ktp-layer-id"}(n.keySequences),o=n.keySequences.slice();n.overflowSetSequence&&(o=function(e,t){var n=t.length,r=t.slice().pop(),o=e.slice();return Object(l.a)(o,n-1,r)}(o,n.overflowSetSequence));var A=c(o);return{"aria-describedby":Object(i.a)(t,r),"data-ktp-target":A,"data-ktp-execute-target":A}}},t}(A.Component)},function(e,t,n){"use strict";var r,o=n(125),A=n(0),i=n(1);!function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(r||(r={}));var a=n(73),l=n(7),s=n(53),u=n(32),c=n(2),d=Object(s.a)(),g=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===l.c.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return A.c(t,e),t.prototype.render=function(){var e=this.props,t=e.ariaLabel,n=e.className,o=e.styles,l=e.iconName,s=e.imageErrorAs,c=e.theme,g="string"==typeof l&&0===l.length,f=this.props.iconType===r.image||this.props.iconType===r.Image,p=this._getIconContent(l),C=p.iconClassName,E=p.children,I=d(o,{theme:c,className:n,iconClassName:C,isImage:f,isPlaceholder:g}),h=t?{"aria-label":t}:{role:"presentation"},m=f?"div":"i",v=Object(u.d)(this.props,u.e),Q=this.state.imageLoadError,B=A.a({},this.props.imageProps,{onLoadingStateChange:this.onImageLoadingStateChange}),b=Q&&s||a.a;return i.createElement(m,A.a({"data-icon-name":l},v,h,{className:I.root}),f?i.createElement(b,A.a({},B)):E)},t.prototype._getIconContent=function(e){var t=Object(c.w)(e)||{subset:{className:void 0},code:void 0};return{children:t.code,iconClassName:t.subset.className}},t}(i.Component);n.d(t,"a",(function(){return f}));var f=Object(o.a)(g,(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)},function(e,t,n){"use strict";var r=n(125),o=n(0),A=n(1),i=n(53),a=n(64),l=n(32),s=n(21),u=n(48),c=n(2),d={fontFamily:"inherit"},g={root:"ms-Fabric"},f=function(e){var t=e.theme,n=e.className,r=e.isFocusVisible;return{root:[Object(c.v)(g,t).root,r&&"is-focusVisible",t.fonts.medium,{color:t.palette.neutralPrimary,selectors:{"& button":d,"& input":d,"& textarea":d,":global(button)":{overflow:"visible",margin:0}}},n]}},p=Object(i.a)(),C=function(e){function t(t){var n=e.call(this,t)||this;return n._rootElement=A.createRef(),n._disposables=[],n._onMouseDown=function(e){n.setState({isFocusVisible:!1})},n._onKeyDown=function(e){Object(a.a)(e.which)&&n.setState({isFocusVisible:!0})},n.state={isFocusVisible:!1},n}return o.c(t,e),t.prototype.render=function(){var e=p(f,o.a({},this.props,this.state)),t=Object(l.d)(this.props,l.c);return A.createElement("div",o.a({},t,{className:e.root,ref:this._rootElement}))},t.prototype.componentDidMount=function(){var e=Object(s.a)(this._rootElement.current);e&&this._disposables.push(Object(u.a)(e,"mousedown",this._onMouseDown,!0),Object(u.a)(e,"keydown",this._onKeyDown,!0))},t.prototype.componentWillUnmount=function(){this._disposables.forEach((function(e){return e()}))},t}(A.Component);n.d(t,"a",(function(){return E}));var E=Object(r.a)(C,f,void 0,{scope:"Fabric"})},,,,,,,,function(e,t,n){"use strict"; /** @license React v16.8.6 * react.production.min.js * @@ -26,7 +26,7 @@ object-assign * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r=n(58),o="function"==typeof Symbol&&Symbol.for,A=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,a=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,c=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.concurrent_mode"):60111,g=o?Symbol.for("react.forward_ref"):60112,f=o?Symbol.for("react.suspense"):60113,p=o?Symbol.for("react.memo"):60115,C=o?Symbol.for("react.lazy"):60116,E="function"==typeof Symbol&&Symbol.iterator;function I(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rL.length&&L.push(e)}function w(e,t,n){return null==e?0:function e(t,n,r,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var l=!1;if(null===t)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case A:case i:l=!0}}if(l)return r(o,t,""===n?"."+X(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;sR.length&&R.push(e)}function X(e,t,n){return null==e?0:function e(t,n,r,o){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var l=!1;if(null===t)l=!0;else switch(a){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case A:case i:l=!0}}if(l)return r(o,t,""===n?"."+H(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;sthis.eventPool.length&&this.eventPool.push(e)}function ce(e){e.eventPool=[],e.getPooled=se,e.release=ue}o(le.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ie)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ie)},persist:function(){this.isPersistent=ie},isPersistent:ae,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ae,this._dispatchInstances=this._dispatchListeners=null}}),le.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},le.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var A=new t;return o(A,n.prototype),n.prototype=A,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,ce(n),n},ce(le);var de=le.extend({data:null}),ge=le.extend({data:null}),fe=[9,13,27,32],pe=J&&"CompositionEvent"in window,Ce=null;J&&"documentMode"in document&&(Ce=document.documentMode);var Ee=J&&"TextEvent"in window&&!Ce,Ie=J&&(!pe||Ce&&8=Ce),he=String.fromCharCode(32),me={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},ve=!1;function Qe(e,t){switch(e){case"keyup":return-1!==fe.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Be(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var be=!1;var ye={eventTypes:me,extractEvents:function(e,t,n,r){var o=void 0,A=void 0;if(pe)e:{switch(e){case"compositionstart":o=me.compositionStart;break e;case"compositionend":o=me.compositionEnd;break e;case"compositionupdate":o=me.compositionUpdate;break e}o=void 0}else be?Qe(e,n)&&(o=me.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=me.compositionStart);return o?(Ie&&"ko"!==n.locale&&(be||o!==me.compositionStart?o===me.compositionEnd&&be&&(A=Ae()):(re="value"in(ne=r)?ne.value:ne.textContent,be=!0)),o=de.getPooled(o,t,n,r),A?o.data=A:null!==(A=Be(n))&&(o.data=A),V(o),A=o):A=null,(e=Ee?function(e,t){switch(e){case"compositionend":return Be(t);case"keypress":return 32!==t.which?null:(ve=!0,he);case"textInput":return(e=t.data)===he&&ve?null:e;default:return null}}(e,n):function(e,t){if(be)return"compositionend"===e||!pe&&Qe(e,t)?(e=Ae(),oe=re=ne=null,be=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1