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 Kt},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.9.18");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 w(e){return!!(e&&e.getAttribute&&e.getAttribute(_))}function S(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute(b))}function F(e){var t=null;try{var n=p();t=n?n.sessionStorage.getItem(e):null}catch(e){}return t}var A,T="__global__",I="__shadow_dom_stylesheet__",D={stylesheetKey:T,inShadow:!1,window:void 0,__isShadowConfig__:!0},B=function(e){return!(!e||!function(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}(e))&&!0===e.__isShadowConfig__};function O(e){A!==e&&(A=e)}function P(){return void 0===A&&(A="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),A}function R(){return{rtl:P(),shadowConfig:D}}A=P();var N,L="isRTL";function M(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===N){var t=F(L);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){}}(L,e?"1":"0"),O(N=e)}(N="1"===t);var n=v();void 0===N&&n&&O(N="rtl"===(n.body&&n.body.getAttribute("dir")||n.documentElement.getAttribute("dir")))}return!!N}function K(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 se}(),r=e[t];if(ue[r]){var o=e[t+1];ue[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 de,fe=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function he(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var o=fe.indexOf(n)>-1,i=n.indexOf("--")>-1,a=o||i?"":"px";e[t+1]="".concat(r).concat(a)}}var pe="left",ve="right",ge="@noflip",me=((de={})[pe]=ve,de[ve]=pe,de),_e={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function be(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var o=t[n+1];if("string"==typeof o&&o.indexOf(ge)>=0)t[n+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(pe)>=0)t[n]=r.replace(pe,ve);else if(r.indexOf(ve)>=0)t[n]=r.replace(ve,pe);else if(String(o).indexOf(pe)>=0)t[n+1]=o.replace(pe,ve);else if(String(o).indexOf(ve)>=0)t[n+1]=o.replace(ve,pe);else if(me[r])t[n]=me[r];else if(_e[o])t[n+1]=_e[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,t){var n=e.split(" "),r=parseInt(n[0],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(o)}}}var ye="displayName",Ee=/\:global\((.+?)\)/g;function xe(e,t){return e.indexOf(":global(")>=0?e.replace(Ee,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function Ce(e,t,n,r,o){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?ke([r],t,n=n+"{"+e,o):n.indexOf(",")>-1?function(e){if(!Ee.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 ke([r],t,xe(n,e),o)})):ke([r],t,xe(n,e),o)}function ke(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&&Ce(n,t,c,d,r):void 0!==d&&("margin"===c||"padding"===c?we(i,c,d):i[c]=d)}}return t}function we(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(Te(r,a)),i.join(" ")}(e,R())}Ie({overflow:"hidden !important"});var De="data-is-scrollable";var Be="data-portal-element",Oe=l.createContext(void 0),Pe="__globalSettings__",Re="__callbacks__",Ne=0,Le=function(){function e(){}return e.getValue=function(e,t){var n=Me();return void 0===n[e]&&(n[e]="function"==typeof t?t():t),n[e]},e.setValue=function(e,t){var n=Me(),r=n[Re],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=Ke();t||(t=e.__id__=String(Ne++)),n[t]=e},e.removeChangeListener=function(e){delete Ke()[e.__id__]},e}();function Me(){var e,t=p()||{};return t[Pe]||(t[Pe]=((e={})[Re]={},e)),t[Pe]}function Ke(){return Me()[Re]}var He,Ue={settings:{},scopedSettings:{},inCustomizerContext:!1},We=Le.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),ze=[],je=function(){function e(){}return e.reset=function(){We.settings={},We.scopedSettings={}},e.applySettings=function(t){We.settings=a(a({},We.settings),t),e._raiseChange()},e.applyScopedSettings=function(t,n){We.scopedSettings[t]=a(a({},We.scopedSettings[t]),n),e._raiseChange()},e.getSettings=function(e,t,n){void 0===n&&(n=Ue);for(var r={},o=t&&n.scopedSettings[t]||{},i=t&&We.scopedSettings[t]||{},a=0,s=e;a0&&(void 0===(i=1)&&(i=3),3!==i&&2!==i||(Qe(qe.registeredStyles),qe.registeredStyles=[]),3!==i&&1!==i||(Qe(qe.registeredThemableStyles),qe.registeredThemableStyles=[]),o=[].concat.apply([],e),qe.loadStyles?qe.loadStyles(Ye(o).styleString,o):function(e){if("undefined"!=typeof document){var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),r=Ye(e),o=r.styleString,i=r.themable;n.setAttribute("data-load-themed-styles","true"),n.type="text/css",Ve&&n.setAttribute("nonce",Ve),n.appendChild(document.createTextNode(o)),qe.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?qe.registeredThemableStyles.push(s):qe.registeredStyles.push(s)}}(o))}var o,i}()}function Qe(e){e.forEach((function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)}))}function Ye(e){var t=qe.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 Xe,$e={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)"}(Xe||(Xe={}));var et,tt,nt,rt,ot,it={elevation4:Xe.depth4,elevation8:Xe.depth8,elevation16:Xe.depth16,elevation64:Xe.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)"}(et||(et={})),function(e){e.Arabic="'".concat(et.Arabic,"'"),e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'".concat(et.Cyrillic,"'"),e.EastEuropean="'".concat(et.EastEuropean,"'"),e.Greek="'".concat(et.Greek,"'"),e.Hebrew="'".concat(et.Hebrew,"'"),e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'".concat(et.Selawik,"'"),e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'".concat(et.Vietnamese,"'"),e.WestEuropean="'".concat(et.WestEuropean,"'"),e.Armenian="'".concat(et.Armenian,"'"),e.Georgian="'".concat(et.Georgian,"'")}(tt||(tt={})),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"}(nt||(nt={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(rt||(rt={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(ot||(ot={}));var at,st="'Segoe UI', '".concat(et.WestEuropean,"'"),lt={ar:tt.Arabic,bg:tt.Cyrillic,cs:tt.EastEuropean,el:tt.Greek,et:tt.EastEuropean,he:tt.Hebrew,hi:tt.Hindi,hr:tt.EastEuropean,hu:tt.EastEuropean,ja:tt.Japanese,kk:tt.EastEuropean,ko:tt.Korean,lt:tt.EastEuropean,lv:tt.EastEuropean,pl:tt.EastEuropean,ru:tt.Cyrillic,sk:tt.EastEuropean,"sr-latn":tt.EastEuropean,th:tt.Thai,tr:tt.EastEuropean,uk:tt.Cyrillic,vi:tt.Vietnamese,"zh-hans":tt.ChineseSimplified,"zh-hant":tt.ChineseTraditional,hy:tt.Armenian,ka:tt.Georgian};function ut(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}var ct,dt,ft="language",ht=(ct=function(e){for(var t in lt)if(lt.hasOwnProperty(t)&&e&&0===t.indexOf(e))return lt[t];return st}(function(e){if(void 0===e&&(e="sessionStorage"),void 0===at){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}(ft):"sessionStorage"===e?F(ft):void 0;n&&(at=n),void 0===at&&t&&(at=t.documentElement.getAttribute("lang")),void 0===at&&(at="en")}return at}()),dt="".concat(ct,", ").concat("'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif"),{tiny:ut(nt.mini,rt.regular,dt),xSmall:ut(nt.xSmall,rt.regular,dt),small:ut(nt.small,rt.regular,dt),smallPlus:ut(nt.smallPlus,rt.regular,dt),medium:ut(nt.medium,rt.regular,dt),mediumPlus:ut(nt.mediumPlus,rt.regular,dt),large:ut(nt.large,rt.regular,dt),xLarge:ut(nt.xLarge,rt.semibold,dt),xLargePlus:ut(nt.xLargePlus,rt.semibold,dt),xxLarge:ut(nt.xxLarge,rt.semibold,dt),xxLargePlus:ut(nt.xxLargePlus,rt.semibold,dt),superLarge:ut(nt.superLarge,rt.semibold,dt),mega:ut(nt.mega,rt.semibold,dt)});function pt(e,t,n,r){!function(e){var t=q.getInstance(),n=Fe(R(),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 vt(e,t,n,r,o){void 0===r&&(r="segoeui");var i="".concat(e,"/").concat(n,"/").concat(r);pt(t,i+"-light",rt.light,o&&o+" Light"),pt(t,i+"-semilight",rt.semilight,o&&o+" SemiLight"),pt(t,i+"-regular",rt.regular,o),pt(t,i+"-semibold",rt.semibold,o&&o+" SemiBold"),pt(t,i+"-bold",rt.bold,o&&o+" Bold")}function gt(e){for(var t=[],n=1;n-1;e[r]=i?o:mt(e[r]||{},o,n)}}return n.pop(),e}function _t(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}(bt(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 bt(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,x=s.neutralSecondaryAlt,C=s.neutralTertiary,k=s.neutralTertiaryAlt,w=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),C&&(i.disabledBodyText=C,i.variantBorderHovered=(null==n?void 0:n.variantBorderHovered)||C,i.buttonTextDisabled=C,i.inputIconDisabled=C,i.disabledText=C),y&&(i.bodyText=y,i.actionLink=y,i.buttonText=y,i.inputBorderHovered=y,i.inputText=y,i.listText=y,i.menuItemText=y),w&&(i.bodyStandoutBackground=w,i.defaultStateBackground=w),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),x&&(i.buttonBorder=x),k&&(i.disabledBodySubtext=k,i.disabledBorder=k,i.buttonBackgroundChecked=k,i.menuDivider=k),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");vt(t,et.Thai,"leelawadeeui-thai","leelawadeeui"),vt(t,et.Arabic,"segoeui-arabic"),vt(t,et.Cyrillic,"segoeui-cyrillic"),vt(t,et.EastEuropean,"segoeui-easteuropean"),vt(t,et.Greek,"segoeui-greek"),vt(t,et.Hebrew,"segoeui-hebrew"),vt(t,et.Vietnamese,"segoeui-vietnamese"),vt(t,et.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),vt(t,tt.Selawik,"selawik","selawik"),vt(t,et.Armenian,"segoeui-armenian"),vt(t,et.Georgian,"segoeui-georgian"),pt("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-semilight"),rt.light),pt("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-bold"),rt.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 yt={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"};function Et(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=gt({},e,t,{semanticColors:bt(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,It)?Bt:Ot},function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=K(e,e[n],t[n]))}(f,{componentDidMount:H,componentDidUpdate:U,componentWillUnmount:W}),f._id=function(e){if(!Y){var t=q.getInstance();t&&t.onReset&&t.onReset(X),Y=!0}return e+Q[J]++}("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 Nt.size},t._onKeyDownCapture=function(e){9===e.which&&Nt.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),Rt[this._id]=this,n){for(var r=c(n,Mt);r&&r!==this._getDocument().body&&1===r.nodeType;){if(w(r)){this._isInnerZone=!0;break}r=c(r,Mt)}this._isInnerZone||(Nt.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&&!$(this._root.current,this._activeElement,Mt)||this._defaultFocusElement&&!$(this._root.current,this._defaultFocusElement,Mt))&&(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===s.indexOf("data-")||0===s.indexOf("aria-"))||(o[s]=e[s])}return o}(this.props,re),d=n||r||"div";this._evaluateFocusBeforeRender();var f,h=(void 0===f&&(f=!1),!0===f&&(xt=Et({},f)),xt);return l.createElement(d,a({"aria-labelledby":s,"aria-describedby":i},c,o,{className:ae((St||(St=Ie({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),St),u),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(e){return t._onKeyDown(e,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(Ft)&&this._isInnerZone){var n=this._getOwnerZone(this._root.current);if(n!==this._root.current){var r=Rt[n.getAttribute(At)];return!!r&&r.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&$(this._root.current,this._activeElement)&&k(this._activeElement,void 0,this._inShadowRoot)&&(!t||C(this._activeElement)))return this._activeElement.focus(),!0;var o=this._root.current.firstChild;return this.focusElement(E(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(y(this._root.current,e,!0,!0,!0))}return!1},t.prototype.focusElement=function(e,t){var n,r=(n=this.props).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=$(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&&(w(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(Ft)&&"true"!==n.getAttribute("data-disable-click-on-enter"))return Pt(n,t),!0;n=c(n,Mt)}while(n!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(w(e))return Rt[e.getAttribute(At)];for(var t=e.firstElementChild;t;){if(w(t))return Rt[t.getAttribute(At)];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?E(this._root.current,o):y(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(E(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(y(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,It)?Bt:Ot:((-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,Dt);return!!this._moveFocus(M(e),(function(r,o){var i=-1;return(M(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=Ot),i}),void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,Dt);return!!this._moveFocus(!M(e),(function(r,o){var i=-1;return(M(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=Ot),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(De))return t;t=t.parentElement}for(t=e;t&&t!==n.body;){if("false"!==t.getAttribute(De)){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?E(this._root.current,n):y(this._root.current,n)){var c=n.getBoundingClientRect(),d=Math.floor(c.top),f=Math.floor(u.bottom),h=Math.floor(c.bottom),g=Math.floor(u.top),m=this._getHorizontalDistanceFromCenter(e,u,c);if(e&&d>f+l||!e&&h-1&&(e&&d>a?(a=d,o=m,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,n){var r,o=d(e,(function(e){var n;return t===e||!!(null===(n=e.hasAttribute)||void 0===n?void 0:n.call(e,Be))}),void 0);return null!==o&&!!(null===(r=o.hasAttribute)||void 0===r?void 0:r.call(o,Be))}(e,this._root.current)},t.prototype._getDocument=function(){return v(this._root.current)},t.contextType=Oe,t.defaultProps={isCircularNavigation:!1,direction:s.bidirectional,shouldRaiseClicks:!0,"data-tabster":'{"uncontrolled": {}}'},t}(l.Component);FluentUIReactFocus=t}();