var FluentUIReactFocus;!function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})}};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};e.r(t),e.d(t,{FocusZone:function(){return Ot},FocusZoneDirection:function(){return s},FocusZoneTabbableElements:function(){return u}});var n={},r=void 0;try{r=window}catch(e){}function o(e,t){if(void 0!==r){var o=r.__packages__=r.__packages__||{};o[e]&&n[e]||(n[e]=t,(o[e]=o[e]||[]).push(t))}}o("@fluentui/set-version","6.0.0"),o("@fluentui/react-focus","8.10.5");var i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)};var a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0,s=!(!n||!e.shadowRoot||!e.shadowRoot.delegatesFocus),l=!!e&&"false"!==i&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===i||a||s);return t?-1!==r&&l:l}function E(e){return!!(e&&e.getAttribute&&e.getAttribute("data-focuszone-id"))}function w(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute("data-is-sub-focuszone"))}function x(e){var t=null;try{var n=p();t=n?n.sessionStorage.getItem(e):null}catch(e){}return t}var C,k="__global__",S="__shadow_dom_stylesheet__",F={stylesheetKey:k,inShadow:!1,window:void 0,__isShadowConfig__:!0},A=function(e){return!(!e||!function(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}(e))&&!0===e.__isShadowConfig__};function T(e){C!==e&&(C=e)}function I(){return void 0===C&&(C="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),C}function D(){return{rtl:I(),shadowConfig:F}}C=I();var B,O="isRTL";function P(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===B){var t=x(O);null!==t&&function(e,t){void 0===t&&(t=!1);var n=v();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr"),t&&function(e,t){var n;try{null===(n=p())||void 0===n||n.sessionStorage.setItem(e,t)}catch(e){}}(O,e?"1":"0"),T(B=e)}(B="1"===t);var n=v();void 0===B&&n&&T(B="rtl"===(n.body&&n.body.getAttribute("dir")||n.documentElement.getAttribute("dir")))}return!!B}function R(e){for(var t=[],n=1;n-1),isOpera:!!(r&&r.indexOf("opera")>-1),isMs:!(!n||!/rv:11.0/i.test(n.userAgent)&&!/Edge\/\d./i.test(navigator.userAgent))}:{isWebkit:!0,isMoz:!0,isOpera:!0,isMs:!0}}return re}(),r=e[t];if(ie[r]){var o=e[t+1];ie[r]&&(n.isWebkit&&e.push("-webkit-"+r,o),n.isMoz&&e.push("-moz-"+r,o),n.isMs&&e.push("-ms-"+r,o),n.isOpera&&e.push("-o-"+r,o))}}var se,le=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function ue(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var o=le.indexOf(n)>-1,i=n.indexOf("--")>-1,a=o||i?"":"px";e[t+1]="".concat(r).concat(a)}}var ce="left",de="right",fe=((se={})[ce]=de,se[de]=ce,se),he={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function pe(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var o=t[n+1];if("string"==typeof o&&o.indexOf("@noflip")>=0)t[n+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(ce)>=0)t[n]=r.replace(ce,de);else if(r.indexOf(de)>=0)t[n]=r.replace(de,ce);else if(String(o).indexOf(ce)>=0)t[n+1]=o.replace(ce,de);else if(String(o).indexOf(de)>=0)t[n+1]=o.replace(de,ce);else if(fe[r])t[n]=fe[r];else if(he[o])t[n+1]=he[o];else switch(r){case"margin":case"padding":t[n+1]=function(e){if("string"==typeof e){var t=e.split(" ");if(4===t.length)return"".concat(t[0]," ").concat(t[3]," ").concat(t[2]," ").concat(t[1])}return e}(o);break;case"box-shadow":t[n+1]=function(e){var t=e.split(" "),n=parseInt(t[0],10);return t[0]=t[0].replace(String(n),String(-1*n)),t.join(" ")}(o)}}}var ve=/\:global\((.+?)\)/g;function ge(e,t){return e.indexOf(":global(")>=0?e.replace(ve,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function me(e,t,n,r,o){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?_e([r],t,n=n+"{"+e,o):n.indexOf(",")>-1?function(e){if(!ve.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(".concat(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)}(n).split(",").map((function(e){return e.trim()})).forEach((function(n){return _e([r],t,ge(n,e),o)})):_e([r],t,ge(n,e),o)}function _e(e,t,n,r){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var o,i=t[n];i||(i={},t[n]=i,t.__order.push(n));for(var a=0,s=e;a=0||0===o.indexOf(":")?null!=d&&me(n,t,c,d,r):void 0!==d&&("margin"===c||"padding"===c?be(i,c,d):i[c]=d)}}return t}function be(e,t,n){var r="string"==typeof n?function(e){for(var t=[],n=0,r=0,o=0;on&&t.push(e.substring(n,o)),n=o+1)}return n=0)e(s.split(" "));else{var l=i.argsFromClassName(s);l?e(l):-1===r.indexOf(s)&&r.push(s)}else Array.isArray(s)?e(s):"object"==typeof s&&o.push(s)}}(t),{classes:r,objects:o}}(r.stylesheet,n),i=o.classes,a=o.objects;return a.length&&i.push(xe(r,a)),i.join(" ")}(e,D())}Ce({overflow:"hidden !important"});var ke="data-is-scrollable";var Se="data-portal-element",Fe=l.createContext(void 0),Ae="__globalSettings__",Te="__callbacks__",Ie=0,De=function(){function e(){}return e.getValue=function(e,t){var n=Be();return void 0===n[e]&&(n[e]="function"==typeof t?t():t),n[e]},e.setValue=function(e,t){var n=Be(),r=n[Te],o=n[e];if(t!==o){n[e]=t;var i={oldValue:o,value:t,key:e};for(var a in r)r.hasOwnProperty(a)&&r[a](i)}return t},e.addChangeListener=function(e){var t=e.__id__,n=Oe();t||(t=e.__id__=String(Ie++)),n[t]=e},e.removeChangeListener=function(e){delete Oe()[e.__id__]},e}();function Be(){var e,t=p()||{};return t[Ae]||(t[Ae]=((e={})[Te]={},e)),t[Ae]}function Oe(){return Be()[Te]}var Pe,Re={settings:{},scopedSettings:{},inCustomizerContext:!1},Le=De.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),Ne=[],Me=function(){function e(){}return e.reset=function(){Le.settings={},Le.scopedSettings={}},e.applySettings=function(t){Le.settings=a(a({},Le.settings),t),e._raiseChange()},e.applyScopedSettings=function(t,n){Le.scopedSettings[t]=a(a({},Le.scopedSettings[t]),n),e._raiseChange()},e.getSettings=function(e,t,n){void 0===n&&(n=Re);for(var r={},o=t&&n.scopedSettings[t]||{},i=t&&Le.scopedSettings[t]||{},a=0,s=e;a0&&(void 0===(i=1)&&(i=3),3!==i&&2!==i||(je(We.registeredStyles),We.registeredStyles=[]),3!==i&&1!==i||(je(We.registeredThemableStyles),We.registeredThemableStyles=[]),o=[].concat.apply([],e),We.loadStyles?We.loadStyles(Ze(o).styleString,o):function(e){if("undefined"!=typeof document){var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),r=Ze(e),o=r.styleString,i=r.themable;n.setAttribute("data-load-themed-styles","true"),n.type="text/css",He&&n.setAttribute("nonce",He),n.appendChild(document.createTextNode(o)),We.perf.count++,t.appendChild(n);var a=document.createEvent("HTMLEvents");a.initEvent("styleinsert",!0,!1),a.args={newStyle:n},document.dispatchEvent(a);var s={styleElement:n,themableStyle:e};i?We.registeredThemableStyles.push(s):We.registeredStyles.push(s)}}(o))}var o,i}()}function je(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function Ze(e){var t=We.theme,n=!1;return{styleString:(e||[]).map((function(e){var r=e.theme;if(r){n=!0;var o=t?t[r]:void 0,i=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 "'+i+'".'),o||i}return e.rawString})).join(""),themable:n}}var Ge,Ve={themeDarker:"#004578",themeDark:"#005a9e",themeDarkAlt:"#106ebe",themePrimary:"#0078d4",themeSecondary:"#2b88d8",themeTertiary:"#71afe5",themeLight:"#c7e0f4",themeLighter:"#deecf9",themeLighterAlt:"#eff6fc",black:"#000000",blackTranslucent40:"rgba(0,0,0,.4)",neutralDark:"#201f1e",neutralPrimary:"#323130",neutralPrimaryAlt:"#3b3a39",neutralSecondary:"#605e5c",neutralSecondaryAlt:"#8a8886",neutralTertiary:"#a19f9d",neutralTertiaryAlt:"#c8c6c4",neutralQuaternary:"#d2d0ce",neutralQuaternaryAlt:"#e1dfdd",neutralLight:"#edebe9",neutralLighter:"#f3f2f1",neutralLighterAlt:"#faf9f8",accent:"#0078d4",white:"#ffffff",whiteTranslucent40:"rgba(255,255,255,.4)",yellowDark:"#d29200",yellow:"#ffb900",yellowLight:"#fff100",orange:"#d83b01",orangeLight:"#ea4300",orangeLighter:"#ff8c00",redDark:"#a4262c",red:"#e81123",magentaDark:"#5c005c",magenta:"#b4009e",magentaLight:"#e3008c",purpleDark:"#32145a",purple:"#5c2d91",purpleLight:"#b4a0ff",blueDark:"#002050",blueMid:"#00188f",blue:"#0078d4",blueLight:"#00bcf2",tealDark:"#004b50",teal:"#008272",tealLight:"#00b294",greenDark:"#004b1c",green:"#107c10",greenLight:"#bad80a"};!function(e){e.depth0="0 0 0 0 transparent",e.depth4="0 1.6px 3.6px 0 rgba(0, 0, 0, 0.132), 0 0.3px 0.9px 0 rgba(0, 0, 0, 0.108)",e.depth8="0 3.2px 7.2px 0 rgba(0, 0, 0, 0.132), 0 0.6px 1.8px 0 rgba(0, 0, 0, 0.108)",e.depth16="0 6.4px 14.4px 0 rgba(0, 0, 0, 0.132), 0 1.2px 3.6px 0 rgba(0, 0, 0, 0.108)",e.depth64="0 25.6px 57.6px 0 rgba(0, 0, 0, 0.22), 0 4.8px 14.4px 0 rgba(0, 0, 0, 0.18)"}(Ge||(Ge={}));var qe,Je,Qe,Ye,Xe,$e={elevation4:Ge.depth4,elevation8:Ge.depth8,elevation16:Ge.depth16,elevation64:Ge.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"};!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",e.Armenian="Segoe UI Web (Armenian)",e.Georgian="Segoe UI Web (Georgian)"}(qe||(qe={})),function(e){e.Arabic="'".concat(qe.Arabic,"'"),e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'".concat(qe.Cyrillic,"'"),e.EastEuropean="'".concat(qe.EastEuropean,"'"),e.Greek="'".concat(qe.Greek,"'"),e.Hebrew="'".concat(qe.Hebrew,"'"),e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'".concat(qe.Selawik,"'"),e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'".concat(qe.Vietnamese,"'"),e.WestEuropean="'".concat(qe.WestEuropean,"'"),e.Armenian="'".concat(qe.Armenian,"'"),e.Georgian="'".concat(qe.Georgian,"'")}(Je||(Je={})),function(e){e.size10="10px",e.size12="12px",e.size14="14px",e.size16="16px",e.size18="18px",e.size20="20px",e.size24="24px",e.size28="28px",e.size32="32px",e.size42="42px",e.size68="68px",e.mini="10px",e.xSmall="10px",e.small="12px",e.smallPlus="12px",e.medium="14px",e.mediumPlus="16px",e.icon="16px",e.large="18px",e.xLarge="20px",e.xLargePlus="24px",e.xxLarge="28px",e.xxLargePlus="32px",e.superLarge="42px",e.mega="68px"}(Qe||(Qe={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(Ye||(Ye={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(Xe||(Xe={}));var et,tt="'Segoe UI', '".concat(qe.WestEuropean,"'"),nt={ar:Je.Arabic,bg:Je.Cyrillic,cs:Je.EastEuropean,el:Je.Greek,et:Je.EastEuropean,he:Je.Hebrew,hi:Je.Hindi,hr:Je.EastEuropean,hu:Je.EastEuropean,ja:Je.Japanese,kk:Je.EastEuropean,ko:Je.Korean,lt:Je.EastEuropean,lv:Je.EastEuropean,pl:Je.EastEuropean,ru:Je.Cyrillic,sk:Je.EastEuropean,"sr-latn":Je.EastEuropean,th:Je.Thai,tr:Je.EastEuropean,uk:Je.Cyrillic,vi:Je.Vietnamese,"zh-hans":Je.ChineseSimplified,"zh-hant":Je.ChineseTraditional,hy:Je.Armenian,ka:Je.Georgian};function rt(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}var ot,it,at="language",st=(ot=function(e){for(var t in nt)if(nt.hasOwnProperty(t)&&e&&0===t.indexOf(e))return nt[t];return tt}(function(e){if(void 0===e&&(e="sessionStorage"),void 0===et){var t=v(),n="localStorage"===e?function(e){var t=null;try{var n=p();t=n?n.localStorage.getItem(e):null}catch(e){}return t}(at):"sessionStorage"===e?x(at):void 0;n&&(et=n),void 0===et&&t&&(et=t.documentElement.getAttribute("lang")),void 0===et&&(et="en")}return et}()),it="".concat(ot,", ").concat("'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif"),{tiny:rt(Qe.mini,Ye.regular,it),xSmall:rt(Qe.xSmall,Ye.regular,it),small:rt(Qe.small,Ye.regular,it),smallPlus:rt(Qe.smallPlus,Ye.regular,it),medium:rt(Qe.medium,Ye.regular,it),mediumPlus:rt(Qe.mediumPlus,Ye.regular,it),large:rt(Qe.large,Ye.regular,it),xLarge:rt(Qe.xLarge,Ye.semibold,it),xLargePlus:rt(Qe.xLargePlus,Ye.semibold,it),xxLarge:rt(Qe.xxLarge,Ye.semibold,it),xxLargePlus:rt(Qe.xxLargePlus,Ye.semibold,it),superLarge:rt(Qe.superLarge,Ye.semibold,it),mega:rt(Qe.mega,Ye.semibold,it)});function lt(e,t,n,r){!function(e){var t=j.getInstance(),n=Ee(D(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{".concat(n,"}"),!0),t.cacheClassName(r,n,[],["font-face",n])}}({fontFamily:e="'".concat(e,"'"),src:(void 0!==r?"local('".concat(r,"'),"):"")+"url('".concat(t,".woff2') format('woff2'),")+"url('".concat(t,".woff') format('woff')"),fontWeight:n,fontStyle:"normal",fontDisplay:"swap"})}function ut(e,t,n,r,o){void 0===r&&(r="segoeui");var i="".concat(e,"/").concat(n,"/").concat(r);lt(t,i+"-light",Ye.light,o&&o+" Light"),lt(t,i+"-semilight",Ye.semilight,o&&o+" SemiLight"),lt(t,i+"-regular",Ye.regular,o),lt(t,i+"-semibold",Ye.semibold,o&&o+" SemiBold"),lt(t,i+"-bold",Ye.bold,o&&o+" Bold")}function ct(e){for(var t=[],n=1;n-1;e[r]=i?o:dt(e[r]||{},o,n)}}return n.pop(),e}function ft(e,t,n,r,o){return void 0===o&&(o=!1),function(e,t){var n="";return!0===t&&(n=" /* @deprecated */"),e.listTextColor=e.listText+n,e.menuItemBackgroundChecked+=n,e.warningHighlight+=n,e.warningText=e.messageText+n,e.successText+=n,e}(ht(e,t,a({primaryButtonBorder:"transparent",errorText:r?"#F1707B":"#a4262c",messageText:r?"#F3F2F1":"#323130",messageLink:r?"#6CB8F6":"#005A9E",messageLinkHovered:r?"#82C7FF":"#004578",infoIcon:r?"#C8C6C4":"#605e5c",errorIcon:r?"#F1707B":"#A80000",blockingIcon:r?"#442726":"#FDE7E9",warningIcon:r?"#C8C6C4":"#797775",severeWarningIcon:r?"#FCE100":"#D83B01",successIcon:r?"#92C353":"#107C10",infoBackground:r?"#323130":"#f3f2f1",errorBackground:r?"#442726":"#FDE7E9",blockingBackground:r?"#442726":"#FDE7E9",warningBackground:r?"#433519":"#FFF4CE",severeWarningBackground:r?"#4F2A0F":"#FED9CC",successBackground:r?"#393D1B":"#DFF6DD",warningHighlight:r?"#fff100":"#ffb900",successText:r?"#92c353":"#107C10"},n),r),o)}function ht(e,t,n,r,o){void 0===o&&(o=!1);var i={},s=e||{},l=s.white,u=s.black,c=s.themePrimary,d=s.themeDark,f=s.themeDarker,h=s.themeDarkAlt,p=s.themeLighter,v=s.neutralLight,g=s.neutralLighter,m=s.neutralDark,_=s.neutralQuaternary,b=s.neutralQuaternaryAlt,y=s.neutralPrimary,E=s.neutralSecondary,w=s.neutralSecondaryAlt,x=s.neutralTertiary,C=s.neutralTertiaryAlt,k=s.neutralLighterAlt,S=s.accent;return l&&(i.bodyBackground=l,i.bodyFrameBackground=l,i.accentButtonText=l,i.buttonBackground=l,i.primaryButtonText=l,i.primaryButtonTextHovered=l,i.primaryButtonTextPressed=l,i.inputBackground=l,i.inputForegroundChecked=l,i.listBackground=l,i.menuBackground=l,i.cardStandoutBackground=l),u&&(i.bodyTextChecked=u,i.buttonTextCheckedHovered=u),c&&(i.link=c,i.primaryButtonBackground=c,i.inputBackgroundChecked=c,i.inputIcon=c,i.inputFocusBorderAlt=c,i.menuIcon=c,i.menuHeader=c,i.accentButtonBackground=c),d&&(i.primaryButtonBackgroundPressed=d,i.inputBackgroundCheckedHovered=d,i.inputIconHovered=d),f&&(i.linkHovered=f),h&&(i.primaryButtonBackgroundHovered=h),p&&(i.inputPlaceholderBackgroundChecked=p),v&&(i.bodyBackgroundChecked=v,i.bodyFrameDivider=v,i.bodyDivider=v,i.variantBorder=v,i.buttonBackgroundCheckedHovered=v,i.buttonBackgroundPressed=v,i.listItemBackgroundChecked=v,i.listHeaderBackgroundPressed=v,i.menuItemBackgroundPressed=v,i.menuItemBackgroundChecked=v),g&&(i.bodyBackgroundHovered=g,i.buttonBackgroundHovered=g,i.buttonBackgroundDisabled=g,i.buttonBorderDisabled=g,i.primaryButtonBackgroundDisabled=g,i.disabledBackground=g,i.listItemBackgroundHovered=g,i.listHeaderBackgroundHovered=g,i.menuItemBackgroundHovered=g),_&&(i.primaryButtonTextDisabled=_,i.disabledSubtext=_),b&&(i.listItemBackgroundCheckedHovered=b),x&&(i.disabledBodyText=x,i.variantBorderHovered=(null==n?void 0:n.variantBorderHovered)||x,i.buttonTextDisabled=x,i.inputIconDisabled=x,i.disabledText=x),y&&(i.bodyText=y,i.actionLink=y,i.buttonText=y,i.inputBorderHovered=y,i.inputText=y,i.listText=y,i.menuItemText=y),k&&(i.bodyStandoutBackground=k,i.defaultStateBackground=k),m&&(i.actionLinkHovered=m,i.buttonTextHovered=m,i.buttonTextChecked=m,i.buttonTextPressed=m,i.inputTextHovered=m,i.menuItemTextHovered=m),E&&(i.bodySubtext=E,i.focusBorder=E,i.inputBorder=E,i.smallInputBorder=E,i.inputPlaceholderText=E),w&&(i.buttonBorder=w),C&&(i.disabledBodySubtext=C,i.disabledBorder=C,i.buttonBackgroundChecked=C,i.menuDivider=C),S&&(i.accentButtonBackground=S),(null==t?void 0:t.elevation4)&&(i.cardShadow=t.elevation4),!r&&(null==t?void 0:t.elevation8)?i.cardShadowHovered=t.elevation8:i.variantBorderHovered&&(i.cardShadowHovered="0 0 1px "+i.variantBorderHovered),a(a({},i),n)}!function(e){if(e){var t="".concat(e,"/fonts");ut(t,qe.Thai,"leelawadeeui-thai","leelawadeeui"),ut(t,qe.Arabic,"segoeui-arabic"),ut(t,qe.Cyrillic,"segoeui-cyrillic"),ut(t,qe.EastEuropean,"segoeui-easteuropean"),ut(t,qe.Greek,"segoeui-greek"),ut(t,qe.Hebrew,"segoeui-hebrew"),ut(t,qe.Vietnamese,"segoeui-vietnamese"),ut(t,qe.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),ut(t,Je.Selawik,"selawik","selawik"),ut(t,qe.Armenian,"segoeui-armenian"),ut(t,qe.Georgian,"segoeui-georgian"),lt("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-semilight"),Ye.light),lt("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-bold"),Ye.semibold)}}(function(){var e,t,n=null===(e=p())||void 0===e?void 0:e.FabricConfig;return null!==(t=null==n?void 0:n.fontBaseUrl)&&void 0!==t?t:"https://res-1.cdn.office.net/files/fabric-cdn-prod_20230815.002/assets"}());var pt={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"};function vt(e,t){void 0===e&&(e={}),void 0===t&&(t=!1);var n=!!e.isInverted;return function(e,t){var n,r,o;void 0===t&&(t={});var i=ct({},e,t,{semanticColors:ht(t.palette,t.effects,t.semanticColors,void 0===t.isInverted?e.isInverted:t.isInverted)});if((null===(n=t.palette)||void 0===n?void 0:n.themePrimary)&&!(null===(r=t.palette)||void 0===r?void 0:r.accent)&&(i.palette.accent=t.palette.themePrimary),t.defaultFontStyle)for(var a=0,s=Object.keys(i.fonts);ai||!e&&a=n.left&&r<=n.left+n.width?0:Math.abs(n.left+n.width/2-r):f._shouldWrapFocus(f._activeElement,Ct)?St:Ft},function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=R(e,e[n],t[n]))}(f,{componentDidMount:L,componentDidUpdate:N,componentWillUnmount:M}),function(e,t,n){for(var r in n)if(t&&r in t){var o="".concat("FocusZone"," property '").concat(r,"' was used but has been deprecated."),i=n[r];i&&(o+=" Use '".concat(i,"' instead.")),a=o,console&&console.warn&&console.warn(a)}var a}(0,n,{rootProps:void 0,allowTabKey:"handleTabKey",elementType:"as",ariaDescribedBy:"aria-describedby",ariaLabelledBy:"aria-labelledby"}),f._id=function(e){if(!V){var t=j.getInstance();t&&t.onReset&&t.onReset(q),V=!0}return e+G[Z]++}("FocusZone"),f._focusAlignment={left:0,top:0},f._processingTabKey=!1;var h=null===(o=null!==(r=n.shouldRaiseClicks)&&void 0!==r?r:t.defaultProps.shouldRaiseClicks)||void 0===o||o;return f._shouldRaiseClicksOnEnter=null!==(i=n.shouldRaiseClicksOnEnter)&&void 0!==i?i:h,f._shouldRaiseClicksOnSpace=null!==(a=n.shouldRaiseClicksOnSpace)&&void 0!==a?a:h,f}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.getOuterZones=function(){return It.size},t._onKeyDownCapture=function(e){9===e.which&&It.forEach((function(e){return e._updateTabIndexes()}))},t.prototype.componentDidMount=function(){var e,n=this._root.current;if(this._inShadowRoot=!!(null===(e=this.context)||void 0===e?void 0:e.shadowRoot),Tt[this._id]=this,n){for(var r=c(n,Bt);r&&r!==this._getDocument().body&&1===r.nodeType;){if(E(r)){this._isInnerZone=!0;break}r=c(r,Bt)}this._isInnerZone||(It.add(this),this._root.current&&this._root.current.addEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.addEventListener("blur",this._onBlur,!0),this._updateTabIndexes(),this.props.defaultTabbableElement&&"string"==typeof this.props.defaultTabbableElement?this._activeElement=this._getDocument().querySelector(this.props.defaultTabbableElement):this.props.defaultActiveElement&&(this._activeElement=this._getDocument().querySelector(this.props.defaultActiveElement)),this.props.shouldFocusOnMount&&this.focus()}},t.prototype.componentDidUpdate=function(){var e,t=this._root.current,n=this._getDocument();if(this._inShadowRoot=!!(null===(e=this.context)||void 0===e?void 0:e.shadowRoot),(this._activeElement&&!J(this._root.current,this._activeElement,Bt)||this._defaultFocusElement&&!J(this._root.current,this._defaultFocusElement,Bt))&&(this._activeElement=null,this._defaultFocusElement=null,this._updateTabIndexes()),!this.props.preventFocusRestoration&&n&&this._lastIndexPath&&(n.activeElement===n.body||null===n.activeElement||n.activeElement===t)){var r=function(e,t){for(var n=e,r=0,o=t;r=0||0===a.indexOf("data-")||0===a.indexOf("aria-"))||(r[a]=e[a])}return r}(this.props,$),d=n||r||"div";this._evaluateFocusBeforeRender();var f,h=(void 0===f&&(f=!1),!0===f&&(gt=vt({},f)),gt);return l.createElement(d,a({"aria-labelledby":s,"aria-describedby":i},c,o,{className:ne((yt||(yt=Ce({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),yt),u),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(t){return e._onKeyDown(t,h)},onFocus:this._onFocus,onMouseDownCapture:this._onMouseDown}),this.props.children)},t.prototype.focus=function(e,t){if(void 0===e&&(e=!1),void 0===t&&(t=!1),this._root.current){if(!e&&"true"===this._root.current.getAttribute(Et)&&this._isInnerZone){var n=this._getOwnerZone(this._root.current);if(n!==this._root.current){var r=Tt[n.getAttribute(wt)];return!!r&&r.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&J(this._root.current,this._activeElement)&&y(this._activeElement,void 0,this._inShadowRoot)&&(!t||b(this._activeElement)))return this._activeElement.focus(),!0;var o=this._root.current.firstChild;return this.focusElement(m(this._root.current,o,!0,void 0,void 0,void 0,void 0,void 0,t))}return!1},t.prototype.focusLast=function(){if(this._root.current){var e=this._root.current&&this._root.current.lastChild;return this.focusElement(g(this._root.current,e,!0,!0,!0))}return!1},t.prototype.focusElement=function(e,t){var n=this.props,r=n.onBeforeFocus,o=n.shouldReceiveFocus;return!(o&&!o(e)||r&&!r(e)||!e||(this._setActiveElement(e,t),this._activeElement&&this._activeElement.focus(),0))},t.prototype.setFocusAlignment=function(e){this._focusAlignment=e},Object.defineProperty(t.prototype,"defaultFocusElement",{get:function(){return this._defaultFocusElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeElement",{get:function(){return this._activeElement},enumerable:!1,configurable:!0}),t.prototype._evaluateFocusBeforeRender=function(){var e=this._root.current,t=this._getDocument();if(t){var n=t.activeElement;if(n!==e){var r=J(e,n,!1);this._lastIndexPath=r?function(e,t){for(var n=[];t&&e&&t!==e;){var r=c(t,!0);if(null===r)return[];n.unshift(Array.prototype.indexOf.call(r.children,t)),t=r}return n}(e,n):void 0}}},t.prototype._setParkedFocus=function(e){var t=this._root.current;t&&this._isParked!==e&&(this._isParked=e,e?(this.props.allowFocusRoot||(this._parkedTabIndex=t.getAttribute("tabindex"),t.setAttribute("tabindex","-1")),t.focus()):this.props.allowFocusRoot||(this._parkedTabIndex?(t.setAttribute("tabindex",this._parkedTabIndex),this._parkedTabIndex=void 0):t.removeAttribute("tabindex")))},t.prototype._setActiveElement=function(e,t){var n=this._activeElement;this._activeElement=e,n&&(E(n)&&this._updateTabIndexes(n),n.tabIndex=-1),this._activeElement&&(this._focusAlignment&&!t||this._setFocusAlignment(e,!0,!0),this._activeElement.tabIndex=0)},t.prototype._preventDefaultWhenHandled=function(e){this.props.preventDefaultWhenHandled&&e.preventDefault()},t.prototype._tryInvokeClickForFocusable=function(e,t){var n=e;if(n===this._root.current)return!1;do{if("BUTTON"===n.tagName||"A"===n.tagName||"INPUT"===n.tagName||"TEXTAREA"===n.tagName||"SUMMARY"===n.tagName)return!1;if(this._isImmediateDescendantOfZone(n)&&"true"===n.getAttribute(Et)&&"true"!==n.getAttribute("data-disable-click-on-enter"))return At(n,t),!0;n=c(n,Bt)}while(n!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(E(e))return Tt[e.getAttribute(wt)];for(var t=e.firstElementChild;t;){if(E(t))return Tt[t.getAttribute(wt)];var n=this._getFirstInnerZone(t);if(n)return n;t=t.nextElementSibling}return null},t.prototype._moveFocus=function(e,t,n,r){void 0===r&&(r=!0);var o=this._activeElement,i=-1,a=void 0,l=!1,u=this.props.direction===s.bidirectional;if(!o||!this._root.current)return!1;if(this._isElementInput(o)&&!this._shouldInputLoseFocus(o,e))return!1;var c=u?o.getBoundingClientRect():null;do{if(o=e?m(this._root.current,o):g(this._root.current,o),!u){a=o;break}if(o){var d=t(c,o.getBoundingClientRect());if(-1===d&&-1===i){a=o;break}if(d>-1&&(-1===i||d=0&&d<0)break}}while(o);if(a&&a!==this._activeElement)l=!0,this.focusElement(a);else if(this.props.isCircularNavigation&&r)return e?this.focusElement(m(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(g(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return l},t.prototype._moveFocusDown=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!0,(function(r,o){var i=-1,a=Math.floor(o.top),s=Math.floor(r.bottom);return a=s||a===t)&&(t=a,i=n>=o.left&&n<=o.left+o.width?0:Math.abs(o.left+o.width/2-n)),i)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusUp=function(){var e=this,t=-1,n=this._focusAlignment.left||this._focusAlignment.x||0;return!!this._moveFocus(!1,(function(r,o){var i=-1,a=Math.floor(o.bottom),s=Math.floor(o.top),l=Math.floor(r.top);return a>l?e._shouldWrapFocus(e._activeElement,Ct)?St:Ft:((-1===t&&a<=l||s===t)&&(t=s,i=n>=o.left&&n<=o.left+o.width?0:Math.abs(o.left+o.width/2-n)),i)}))&&(this._setFocusAlignment(this._activeElement,!1,!0),!0)},t.prototype._moveFocusLeft=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,kt);return!!this._moveFocus(P(e),(function(r,o){var i=-1;return(P(e)?parseFloat(o.top.toFixed(3))parseFloat(r.top.toFixed(3)))&&o.right<=r.right&&t.props.direction!==s.vertical?i=r.right-o.right:n||(i=Ft),i}),void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,kt);return!!this._moveFocus(!P(e),(function(r,o){var i=-1;return(P(e)?parseFloat(o.bottom.toFixed(3))>parseFloat(r.top.toFixed(3)):parseFloat(o.top.toFixed(3))=r.left&&t.props.direction!==s.vertical?i=o.left-r.left:n||(i=Ft),i}),void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusPaging=function(e,t){void 0===t&&(t=!0);var n=this._activeElement;if(!n||!this._root.current)return!1;if(this._isElementInput(n)&&!this._shouldInputLoseFocus(n,e))return!1;var r=function(e){for(var t=e,n=v(e);t&&t!==n.body;){if("true"===t.getAttribute(ke))return t;t=t.parentElement}for(t=e;t&&t!==n.body;){if("false"!==t.getAttribute(ke)){var r=getComputedStyle(t),o=r?r.getPropertyValue("overflow-y"):"";if(o&&("scroll"===o||"auto"===o))return t}t=t.parentElement}return t&&t!==n.body||(t=p(e)),t}(n);if(!r)return!1;var o=-1,i=void 0,a=-1,s=-1,l=r.clientHeight,u=n.getBoundingClientRect();do{if(n=e?m(this._root.current,n):g(this._root.current,n)){var c=n.getBoundingClientRect(),d=Math.floor(c.top),f=Math.floor(u.bottom),h=Math.floor(c.bottom),_=Math.floor(u.top),b=this._getHorizontalDistanceFromCenter(e,u,c);if(e&&d>f+l||!e&&h<_-l)break;b>-1&&(e&&d>a?(a=d,o=b,i=n):!e&&h-1){var n=e.selectionStart,r=n!==e.selectionEnd,o=e.value,i=e.readOnly;if(r||n>0&&!t&&!i||n!==o.length&&t&&!i||this.props.handleTabKey&&(!this.props.shouldInputLoseFocusOnArrowKey||!this.props.shouldInputLoseFocusOnArrowKey(e)))return!1}return!0},t.prototype._shouldWrapFocus=function(e,t){return!this.props.checkForNoWrap||function(e,t,n){return"true"!==function(e,t,n){var r=d(e,(function(e){return e.hasAttribute(t)}),n);return r&&r.getAttribute(t)}(e,t,null!=n?n:v())}(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&function(e,t){var n,r=d(e,(function(e){var n;return t===e||!!(null===(n=e.hasAttribute)||void 0===n?void 0:n.call(e,Se))}),void 0);return null!==r&&!!(null===(n=r.hasAttribute)||void 0===n?void 0:n.call(r,Se))}(e,this._root.current)},t.prototype._getDocument=function(){return v(this._root.current)},t.defaultProps={isCircularNavigation:!1,direction:s.bidirectional,shouldRaiseClicks:!0,"data-tabster":'{"uncontrolled": {}}'},t.contextType=Fe,t}(l.Component);FluentUIReactFocus=t}();