@fluentui/react-focus
Advanced tools
Comparing version 8.9.9 to 8.9.10
@@ -1,1 +0,1 @@ | ||
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.9");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)},a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};Object.create,Object.create;var s,l=React,u={none:0,all:1,inputOnly:2};function c(e,t){var n,r;if(void 0===t&&(t=!0),!e)return null;var o=t&&function(e){var t,n;return e&&(n=e)&&n._virtual&&(t=e._virtual.parent),t}(e);return o||("function"!=typeof e.assignedElements&&(null===(n=e.assignedSlot)||void 0===n?void 0:n.parentNode)?e.assignedSlot:11===(null===(r=e.parentNode)||void 0===r?void 0:r.nodeType)?e.parentNode.host:e.parentNode)}function d(e,t,n){return null!=n||(n=document),e&&e!==n.body?t(e)?e:d(c(e),t):null}function f(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(s||(s={}));var h=void 0;try{h=window}catch(e){}function p(e){if(f()&&void 0!==h){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:h}}function v(e){if(f()&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}var g="data-is-focusable",m="data-is-visible",_="data-focuszone-id",b="data-is-sub-focuszone";function y(e,t,n,r,o,i,a,s,l){var u;if(!t||!a&&t===e)return null;var c=w(t);if(o&&c&&(i||!k(t)&&!S(t))){var d=y(e,t.lastElementChild||l&&(null===(u=t.shadowRoot)||void 0===u?void 0:u.lastElementChild),!0,!0,!0,i,a,s,l);if(d){if(s&&C(d,!0,l)||!s)return d;var f=y(e,d.previousElementSibling,!0,!0,!0,i,a,s,l);if(f)return f;for(var h=d.parentElement;h&&h!==t;){var p=y(e,h.previousElementSibling,!0,!0,!0,i,a,s,l);if(p)return p;h=h.parentElement}}}return n&&c&&C(t,s,l)?t:y(e,t.previousElementSibling,!0,!0,!0,i,a,s,l)||(r?null:y(e,t.parentElement,!0,!1,!1,i,a,s,l))}function E(e,t,n,r,o,i,a,s,l,u){var c;if(!t||t===e&&o&&!a)return null;var d=(l?x:w)(t);if(n&&d&&C(t,s,u))return t;if(!o&&d&&(i||!k(t)&&!S(t))){var f=E(e,t.firstElementChild||u&&(null===(c=t.shadowRoot)||void 0===c?void 0:c.firstElementChild),!0,!0,!1,i,a,s,l,u);if(f)return f}return t===e?null:E(e,t.nextElementSibling,!0,!0,!1,i,a,s,l,u)||(r?null:E(e,t.parentElement,!1,!1,!0,i,a,s,l,u))}function w(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute(m);return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function x(e,t){var n=null!=t?t:p();return!!e&&w(e)&&!e.hidden&&"hidden"!==n.getComputedStyle(e).visibility}function C(e,t,n){if(void 0===n&&(n=!0),!e||e.disabled)return!1;var r=0,o=null;e&&e.getAttribute&&(o=e.getAttribute("tabIndex"))&&(r=parseInt(o,10));var i=e.getAttribute?e.getAttribute(g):null,a=null!==o&&r>=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 k(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 L,N="isRTL";function M(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===L){var t=F(N);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){}}(N,e?"1":"0"),O(L=e)}(L="1"===t);var n=v();void 0===L&&n&&O(L="rtl"===(n.body&&n.body.getAttribute("dir")||n.documentElement.getAttribute("dir")))}return!!L}function K(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.length<2?t[0]:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.forEach((function(t){return t&&t.apply(e,n)}))}}function U(){z(this.props.componentRef,this)}function H(e){e.componentRef!==this.props.componentRef&&(z(e.componentRef,null),z(this.props.componentRef,this))}function W(){z(this.props.componentRef,null)}function z(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}var j,Z="__stylesheet__",G="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),V={};try{V=window||{}}catch(de){}var q=function(){function e(e,t){var n,r,o,i,s,l;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=a({injectionMode:"undefined"==typeof document?0:1,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(n=null==t?void 0:t.classNameToArgs)&&void 0!==n?n:this._classNameToArgs,this._counter=null!==(r=null==t?void 0:t.counter)&&void 0!==r?r:this._counter,this._keyToClassName=null!==(i=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==t?void 0:t.keyToClassName)&&void 0!==i?i:this._keyToClassName,this._preservedRules=null!==(s=null==t?void 0:t.preservedRules)&&void 0!==s?s:this._preservedRules,this._rules=null!==(l=null==t?void 0:t.rules)&&void 0!==l?l:this._rules}return e.getInstance=function(t){if(j=V[Z],V[I])return V[I].getInstance(t);if(!j||j._lastStyleElement&&j._lastStyleElement.ownerDocument!==document){var n=(null==V?void 0:V.FabricConfig)||{},r=new e(n.mergeStyles,n.serializedStylesheet);j=r,V[Z]=r}return j},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=a(a({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace,n=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(n,"-").concat(this._counter++)},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(e)]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t,n){void 0===n&&(n=T);var r=this._config.injectionMode,o=0!==r?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),o)switch(r){case 1:this._insertRuleIntoSheet(o.sheet,e);break;case 2:o.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(t){return t({key:n,sheet:o?o.sheet:void 0,rule:e})}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,n=t.head,r=t.createElement("style"),o=null;r.setAttribute("data-merge-styles","true");var i=this._config.cspSettings;if(i&&i.nonce&&r.setAttribute("nonce",i.nonce),this._lastStyleElement)o=this._lastStyleElement.nextElementSibling;else{var a=this._findPlaceholderStyleTag();o=a?a.nextElementSibling:n.childNodes[0]}return n.insertBefore(r,n.contains(o)?o:null),this._lastStyleElement=r,r},e.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(e){}return!1},e.prototype._getCacheKey=function(e){return e},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||(this._styleElement=this._createStyleElement(),G||(this._config.window||window).requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}(),J="__currentId__",Q=p()||{};void 0===Q[J]&&(Q[J]=0);var Y=!1;function X(e){void 0===e&&(e=0),Q[J]=e}function $(e,t,n){void 0===n&&(n=!0);var r=!1;if(e&&t)if(n)if(e===t)r=!0;else for(r=!1;t;){var o=c(t);if(o===e){r=!0;break}t=o}else e.contains&&(r=e.contains(t));return r}var ee=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},r=0,o=e;r<o.length;r++)for(var i=o[r],a=0,s=Array.isArray(i)?i:Object.keys(i);a<s.length;a++)n[s[a]]=1;return n},te=ee(["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"]),ne=ee(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),re=ee(ne,te),oe=(ee(re,["form"]),ee(re,["height","loop","muted","preload","src","width"])),ie=(ee(oe,["poster"]),ee(re,["start"]),ee(re,["value"]),ee(re,["download","href","hrefLang","media","rel","target","type"]),ee(re,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]));function ae(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];if(i)if("string"==typeof i)n.push(i);else if(i.hasOwnProperty("toString")&&"function"==typeof i.toString)n.push(i.toString());else for(var a in i)i[a]&&n.push(a)}return n.join(" ")}ee(ie,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),ee(ie,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]),ee(ie,["form","multiple","required"]),ee(re,["selected","value"]),ee(re,["cellPadding","cellSpacing"]),ee(re,["rowSpan","scope"]),ee(re,["colSpan","headers","rowSpan","scope"]),ee(re,["span"]),ee(re,["span"]),ee(re,["acceptCharset","action","encType","encType","method","noValidate","target"]),ee(re,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),ee(re,["alt","crossOrigin","height","src","srcSet","useMap","width"]);var se,le={},ue={"user-select":1};function ce(e,t){var n=function(){var e;if(!se){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();se=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-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 we(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 xe(e,t,n,r,o){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?Ce([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 Ce([r],t,we(n,e),o)})):Ce([r],t,we(n,e),o)}function Ce(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<s.length;a++){var l=s[a];if("string"==typeof l){var u=r.argsFromClassName(l);u&&Ce(u,t,n,r)}else if(Array.isArray(l))Ce(l,t,n,r);else for(var c in l)if(l.hasOwnProperty(c)){var d=l[c];if("selectors"===c){var f=l.selectors;for(var h in f)f.hasOwnProperty(h)&&xe(n,t,h,f[h],r)}else"object"==typeof d||(o=c).indexOf(":global(")>=0||0===o.indexOf(":")?null!=d&&xe(n,t,c,d,r):void 0!==d&&("margin"===c||"padding"===c?ke(i,c,d):i[c]=d)}}return t}function ke(e,t,n){var r="string"==typeof n?function(e){for(var t=[],n=0,r=0,o=0;o<e.length;o++)switch(e[o]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(o>n&&t.push(e.substring(n,o)),n=o+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map((function(e){return e+" !important"}))),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 Se(e,t){return t<=0?"":1===t?e:e+Se(e,t-1)}function Fe(e,t){if(!t)return"";var n,r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&a!==ye&&void 0!==t[a]&&i.push(a,t[a]);for(var s=0;s<i.length;s+=2)o=void 0,"-"!==(o=(n=i)[r=s]).charAt(0)&&(n[r]=le[o]=le[o]||o.replace(/([A-Z])/g,"-$1").toLowerCase()),he(i,s),be(e,i,s),ce(i,s);for(s=1;s<i.length;s+=4)i.splice(s,1,":",i[s],";");return i.join("")}function Ae(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=null!==(t=e.stylesheet)&&void 0!==t?t:q.getInstance(e.shadowConfig),i=Ce(n,void 0,void 0,o),a=function(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,o=0,i=t.__order;o<i.length;o++){var a=i[o];n.push(a);var s=t[a];for(var l in s)s.hasOwnProperty(l)&&void 0!==s[l]&&(r=!0,n.push(l,s[l]))}return r?n.join(""):void 0}(e,i);if(a){var s={className:o.classNameFromKey(a),key:a,args:n};if(!s.className){s.className=o.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(i));for(var l=[],u=0,c=i.__order;u<c.length;u++){var d=c[u];l.push(d,Fe(e,i[d]))}s.rulesToInsert=l}return s}}function Te(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Ae.apply(void 0,function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e],t,!1));return r?(function(e,t,n,r){void 0===t&&(t=1);var o=null!=r?r:q.getInstance(n),i=e.className,a=e.key,s=e.args,l=e.rulesToInsert;if(l){for(var u=0;u<l.length;u+=2){var c=l[u+1];if(c){var d=l[u];d=d.replace(/&/g,Se(".".concat(e.className),t));var f="".concat(d,"{").concat(c,"}").concat(0===d.indexOf("@")?"}":"");o.insertRule(f)}}o.cacheClassName(i,a,s,l)}}(r,e.specificityMultiplier,e.shadowConfig,e.stylesheet),r.className):""}function Ie(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(e,t){var n=e instanceof Array?e:[e],r=t||{};B(n[0])&&(r.shadowConfig=n[0]),r.stylesheet=q.getInstance(r.shadowConfig);var o=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=[],o=[],i=e;return function e(t){for(var n=0,a=t;n<a.length;n++){var s=a[n];if(s&&!B(s))if("string"==typeof s)if(s.indexOf(" ")>=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__",Le=0,Ne=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(Le++)),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 Ue,He={settings:{},scopedSettings:{},inCustomizerContext:!1},We=Ne.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=He);for(var r={},o=t&&n.scopedSettings[t]||{},i=t&&We.scopedSettings[t]||{},a=0,s=e;a<s.length;a++){var l=s[a];r[l]=o[l]||n.settings[l]||i[l]||We.settings[l]}return r},e.applyBatchedUpdates=function(t,n){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1,n||e._raiseChange()},e.observe=function(e){ze.push(e)},e.unobserve=function(e){ze=ze.filter((function(t){return t!==e}))},e._raiseChange=function(){e._suppressUpdates||ze.forEach((function(e){return e()}))},e}(),Ze=function(){return Ze=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ze.apply(this,arguments)},Ge="undefined"==typeof window?e.g:window,Ve=Ge&&Ge.CSPSettings&&Ge.CSPSettings.nonce,qe=((Ue=Ge.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]}).runState||(Ue=Ze({},Ue,{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),Ue.registeredThemableStyles||(Ue=Ze({},Ue,{registeredThemableStyles:[]})),Ge.__themeState__=Ue,Ue);function Je(e){qe.theme=e,function(){if(qe.theme){for(var e=[],t=0,n=qe.registeredThemableStyles;t<n.length;t++){var r=n[t];e.push(r.themableStyle)}e.length>0&&(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<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)mt(e||{},o[r]);return e}function mt(e,t,n){for(var r in void 0===n&&(n=[]),n.push(t),t)if(t.hasOwnProperty(r)&&"__proto__"!==r&&"constructor"!==r&&"prototype"!==r){var o=t[r];if("object"!=typeof o||null===o||Array.isArray(o))e[r]=o;else{var i=n.indexOf(o)>-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,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");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);a<s.length;a++){var l=s[a];i.fonts[l]=gt(i.fonts[l],t.defaultFontStyle,null===(o=null==t?void 0:t.fonts)||void 0===o?void 0:o[l])}return i}({palette:$e,effects:it,fonts:ht,spacing:yt,isInverted:n,disableGlobalClassNames:!1,semanticColors:_t($e,it,void 0,n,t),rtl:void 0},e)}var wt=Et({}),xt=[],Ct="theme";function kt(){var e,t,n,r=p();(null===(t=null==r?void 0:r.FabricConfig)||void 0===t?void 0:t.legacyTheme)?function(e,t){var n;void 0===t&&(t=!1),wt=Et(e,t),Je(a(a(a(a({},wt.palette),wt.semanticColors),wt.effects),function(e){for(var t={},n=0,r=Object.keys(e.fonts);n<r.length;n++)for(var o=r[n],i=e.fonts[o],a=0,s=Object.keys(i);a<s.length;a++){var l=s[a],u=o+l.charAt(0).toUpperCase()+l.slice(1),c=i[l];"fontSize"===l&&"number"==typeof c&&(c+="px"),t[u]=c}return t}(wt))),je.applySettings(((n={})[Ct]=wt,n)),xt.forEach((function(e){try{e(wt)}catch(e){}}))}(r.FabricConfig.legacyTheme):je.getSettings([Ct]).theme||((null===(n=null==r?void 0:r.FabricConfig)||void 0===n?void 0:n.theme)&&(wt=Et(r.FabricConfig.theme)),je.applySettings(((e={})[Ct]=wt,e)))}kt(),o("@fluentui/style-utilities","8.10.17"),kt();var St,Ft="data-is-focusable",At="data-focuszone-id",Tt="tabindex",It="data-no-vertical-wrap",Dt="data-no-horizontal-wrap",Bt=999999999,Ot=-999999999;function Pt(e,t){var n;"function"==typeof MouseEvent?n=new MouseEvent("click",{ctrlKey:null==t?void 0:t.ctrlKey,metaKey:null==t?void 0:t.metaKey,shiftKey:null==t?void 0:t.shiftKey,altKey:null==t?void 0:t.altKey,bubbles:null==t?void 0:t.bubbles,cancelable:null==t?void 0:t.cancelable}):(n=document.createEvent("MouseEvents")).initMouseEvent("click",!!t&&t.bubbles,!!t&&t.cancelable,window,0,0,0,0,0,!!t&&t.ctrlKey,!!t&&t.altKey,!!t&&t.shiftKey,!!t&&t.metaKey,0,null),e.dispatchEvent(n)}var Rt={},Lt=new Set,Nt=["text","number","password","email","tel","url","search","textarea"],Mt=!1,Kt=function(e){function t(n){var r,o,i,a,d,f=this;(f=e.call(this,n)||this)._root=l.createRef(),f._mergedRef=(d={refs:[]},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return d.resolver&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(d.refs,e)||(d.resolver=function(e){return function(t){for(var n=0,r=e.refs;n<r.length;n++){var o=r[n];"function"==typeof o?o(t):o&&(o.current=t)}}}(d)),d.refs=e,d.resolver}),f._onFocus=function(e){if(!f._portalContainsElement(e.target)){var t,n=f.props,r=n.onActiveElementChanged,o=n.doNotAllowFocusEventToPropagate,i=n.stopFocusPropagation,a=n.onFocusNotification,s=n.onFocus,l=n.shouldFocusInnerElementWhenReceivedFocus,u=n.defaultTabbableElement,d=f._isImmediateDescendantOfZone(e.target);if(d)t=e.target;else for(var h=e.target;h&&h!==f._root.current;){if(C(h,void 0,f._inShadowRoot)&&f._isImmediateDescendantOfZone(h)){t=h;break}h=c(h,Mt)}if(l&&e.target===f._root.current){var p=u&&"function"==typeof u&&f._root.current&&u(f._root.current);p&&C(p,void 0,f._inShadowRoot)?(t=p,p.focus()):(f.focus(!0),f._activeElement&&(t=null))}var v=!f._activeElement;t&&t!==f._activeElement&&((d||v)&&f._setFocusAlignment(t,!0,!0),f._activeElement=t,v&&f._updateTabIndexes()),r&&r(f._activeElement,e),(i||o)&&e.stopPropagation(),s?s(e):a&&a()}},f._onBlur=function(){f._setParkedFocus(!1)},f._onMouseDown=function(e){if(!f._portalContainsElement(e.target)&&!f.props.disabled){for(var t=e.target,n=[];t&&t!==f._root.current;)n.push(t),t=c(t,Mt);for(;n.length&&((t=n.pop())&&C(t,void 0,f._inShadowRoot)&&f._setActiveElement(t,!0),!k(t)););}},f._onKeyDown=function(e,t){if(!f._portalContainsElement(e.target)){var n=f.props,r=n.direction,o=n.disabled,i=n.isInnerZoneKeystroke,a=n.pagingSupportDisabled,l=n.shouldEnterInnerZone;if(!(o||(f.props.onKeyDown&&f.props.onKeyDown(e),e.isDefaultPrevented()||f._getDocument().activeElement===f._root.current&&f._isInnerZone))){if((l&&l(e)||i&&i(e))&&f._isImmediateDescendantOfZone(e.target)){var c=f._getFirstInnerZone();if(c){if(!c.focus(!0))return}else{if(!S(e.target))return;if(!f.focusElement(E(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case 32:if(f._shouldRaiseClicksOnSpace&&f._tryInvokeClickForFocusable(e.target,e))break;return;case 37:if(r!==s.vertical&&(f._preventDefaultWhenHandled(e),f._moveFocusLeft(t)))break;return;case 39:if(r!==s.vertical&&(f._preventDefaultWhenHandled(e),f._moveFocusRight(t)))break;return;case 38:if(r!==s.horizontal&&(f._preventDefaultWhenHandled(e),f._moveFocusUp()))break;return;case 40:if(r!==s.horizontal&&(f._preventDefaultWhenHandled(e),f._moveFocusDown()))break;return;case 34:if(!a&&f._moveFocusPaging(!0))break;return;case 33:if(!a&&f._moveFocusPaging(!1))break;return;case 9:if(f.props.allowTabKey||f.props.handleTabKey===u.all||f.props.handleTabKey===u.inputOnly&&f._isElementInput(e.target)){var d=!1;if(f._processingTabKey=!0,d=r!==s.vertical&&f._shouldWrapFocus(f._activeElement,Dt)?(M(t)?!e.shiftKey:e.shiftKey)?f._moveFocusLeft(t):f._moveFocusRight(t):e.shiftKey?f._moveFocusUp():f._moveFocusDown(),f._processingTabKey=!1,d)break;f.props.shouldResetActiveElementWhenTabFromZone&&(f._activeElement=null)}return;case 36:if(f._isContentEditableElement(e.target)||f._isElementInput(e.target)&&!f._shouldInputLoseFocus(e.target,!1))return!1;var h=f._root.current&&f._root.current.firstChild;if(f._root.current&&h&&f.focusElement(E(f._root.current,h,!0)))break;return;case 35:if(f._isContentEditableElement(e.target)||f._isElementInput(e.target)&&!f._shouldInputLoseFocus(e.target,!0))return!1;var p=f._root.current&&f._root.current.lastChild;if(f._root.current&&f.focusElement(y(f._root.current,p,!0,!0,!0)))break;return;case 13:if(f._shouldRaiseClicksOnEnter&&f._tryInvokeClickForFocusable(e.target,e))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},f._getHorizontalDistanceFromCenter=function(e,t,n){var r=f._focusAlignment.left||f._focusAlignment.x||0,o=Math.floor(n.top),i=Math.floor(t.bottom),a=Math.floor(n.bottom),s=Math.floor(t.top);return e&&o>i||!e&&a<s?r>=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:U,componentDidUpdate:H,componentWillUnmount:W}),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(!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 Lt.size},t._onKeyDownCapture=function(e){9===e.which&&Lt.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(k(r)){this._isInnerZone=!0;break}r=c(r,Mt)}this._isInnerZone||(Lt.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<o.length;r++){var i=o[r],a=n.children[Math.min(i,n.children.length-1)];if(!a)break;n=a}return C(n)&&w(n)?n:E(e,n,!0)||y(e,n)}(t,this._lastIndexPath);r?(this._setActiveElement(r,!0),r.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete Rt[this._id],this._isInnerZone||(Lt.delete(this),this._root.current&&this._root.current.removeEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},t.prototype.render=function(){var e=this,t=this.props,n=t.as,r=t.elementType,o=t.rootProps,i=t.ariaDescribedBy,s=t.ariaLabelledBy,u=t.className,c=function(e,t,n){for(var r=Array.isArray(t),o={},i=0,a=Object.keys(e);i<a.length;i++){var s=a[i];!(!r&&t[s]||r&&t.indexOf(s)>=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&&(wt=Et({},f)),wt);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(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(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)&&C(this._activeElement,void 0,this._inShadowRoot)&&(!t||x(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=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=$(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&&(k(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(k(e))return Rt[e.getAttribute(At)];for(var t=e.firstElementChild;t;){if(k(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<i)&&(i=d,a=o),i>=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?e._shouldWrapFocus(e._activeElement,It)?Bt:Ot:((-1===t&&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.bottom.toFixed(3)):parseFloat(o.bottom.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))<parseFloat(r.bottom.toFixed(3)))&&o.left>=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<g-l)break;m>-1&&(e&&d>a?(a=d,o=m,i=n):!e&&h<s?(s=h,o=m,i=n):(-1===o||m<=o)&&(o=m,i=n))}}while(n);var _=!1;if(i&&i!==this._activeElement)_=!0,this.focusElement(i),this._setFocusAlignment(i,!1,!0);else if(this.props.isCircularNavigation&&t)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 _},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===s.bidirectional&&(!this._focusAlignment||t||n)){var r=e.getBoundingClientRect(),o=r.left+r.width/2,i=r.top+r.height/2;this._focusAlignment||(this._focusAlignment={left:o,top:i}),t&&(this._focusAlignment.left=o),n&&(this._focusAlignment.top=i)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=c(e,Mt);t&&t!==this._root.current&&t!==this._getDocument().body;){if(k(t))return t;t=c(t,Mt)}return t},t.prototype._updateTabIndexes=function(e){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!$(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!C(this._activeElement,void 0,this._inShadowRoot)&&(this._activeElement=null);for(var t=e&&e.children,n=0;t&&n<t.length;n++){var r=t[n];k(r)?"true"===r.getAttribute(Ft)&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"0"))):(r.getAttribute&&"false"===r.getAttribute(Ft)&&r.setAttribute(Tt,"-1"),C(r,void 0,this._inShadowRoot)?this.props.disabled?r.setAttribute(Tt,"-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"0")):"svg"===r.tagName&&"false"!==r.getAttribute("focusable")&&r.setAttribute("focusable","false")),this._updateTabIndexes(r)}},t.prototype._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")},t.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())},t.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&Nt.indexOf(e.type.toLowerCase())>-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&&(t=e,n=this._root.current,null!==(r=d(t,(function(e){return n===e||e.hasAttribute(Be)}),undefined))&&r.hasAttribute(Be));var t,n,r},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}(); | ||
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.10");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)},a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};Object.create,Object.create;var s,l=React,u={none:0,all:1,inputOnly:2};function c(e,t){var n,r;if(void 0===t&&(t=!0),!e)return null;var o=t&&function(e){var t,n;return e&&(n=e)&&n._virtual&&(t=e._virtual.parent),t}(e);return o||("function"!=typeof e.assignedElements&&(null===(n=e.assignedSlot)||void 0===n?void 0:n.parentNode)?e.assignedSlot:11===(null===(r=e.parentNode)||void 0===r?void 0:r.nodeType)?e.parentNode.host:e.parentNode)}function d(e,t,n){return null!=n||(n=document),e&&e!==n.body?t(e)?e:d(c(e),t):null}function f(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(s||(s={}));var h=void 0;try{h=window}catch(e){}function p(e){if(f()&&void 0!==h){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:h}}function v(e){if(f()&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}var g="data-is-focusable",m="data-is-visible",_="data-focuszone-id",b="data-is-sub-focuszone";function y(e,t,n,r,o,i,a,s,l){var u;if(!t||!a&&t===e)return null;var c=w(t);if(o&&c&&(i||!k(t)&&!S(t))){var d=y(e,t.lastElementChild||l&&(null===(u=t.shadowRoot)||void 0===u?void 0:u.lastElementChild),!0,!0,!0,i,a,s,l);if(d){if(s&&C(d,!0,l)||!s)return d;var f=y(e,d.previousElementSibling,!0,!0,!0,i,a,s,l);if(f)return f;for(var h=d.parentElement;h&&h!==t;){var p=y(e,h.previousElementSibling,!0,!0,!0,i,a,s,l);if(p)return p;h=h.parentElement}}}return n&&c&&C(t,s,l)?t:y(e,t.previousElementSibling,!0,!0,!0,i,a,s,l)||(r?null:y(e,t.parentElement,!0,!1,!1,i,a,s,l))}function E(e,t,n,r,o,i,a,s,l,u){var c;if(!t||t===e&&o&&!a)return null;var d=(l?x:w)(t);if(n&&d&&C(t,s,u))return t;if(!o&&d&&(i||!k(t)&&!S(t))){var f=E(e,t.firstElementChild||u&&(null===(c=t.shadowRoot)||void 0===c?void 0:c.firstElementChild),!0,!0,!1,i,a,s,l,u);if(f)return f}return t===e?null:E(e,t.nextElementSibling,!0,!0,!1,i,a,s,l,u)||(r?null:E(e,t.parentElement,!1,!1,!0,i,a,s,l,u))}function w(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute(m);return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function x(e,t){var n=null!=t?t:p();return!!e&&w(e)&&!e.hidden&&"hidden"!==n.getComputedStyle(e).visibility}function C(e,t,n){if(void 0===n&&(n=!0),!e||e.disabled)return!1;var r=0,o=null;e&&e.getAttribute&&(o=e.getAttribute("tabIndex"))&&(r=parseInt(o,10));var i=e.getAttribute?e.getAttribute(g):null,a=null!==o&&r>=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 k(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 L,N="isRTL";function M(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===L){var t=F(N);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){}}(N,e?"1":"0"),O(L=e)}(L="1"===t);var n=v();void 0===L&&n&&O(L="rtl"===(n.body&&n.body.getAttribute("dir")||n.documentElement.getAttribute("dir")))}return!!L}function K(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.length<2?t[0]:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.forEach((function(t){return t&&t.apply(e,n)}))}}function U(){z(this.props.componentRef,this)}function H(e){e.componentRef!==this.props.componentRef&&(z(e.componentRef,null),z(this.props.componentRef,this))}function W(){z(this.props.componentRef,null)}function z(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}var j,Z="__stylesheet__",G="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),V={};try{V=window||{}}catch(de){}var q=function(){function e(e,t){var n,r,o,i,s,l;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=a({injectionMode:"undefined"==typeof document?0:1,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(n=null==t?void 0:t.classNameToArgs)&&void 0!==n?n:this._classNameToArgs,this._counter=null!==(r=null==t?void 0:t.counter)&&void 0!==r?r:this._counter,this._keyToClassName=null!==(i=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==t?void 0:t.keyToClassName)&&void 0!==i?i:this._keyToClassName,this._preservedRules=null!==(s=null==t?void 0:t.preservedRules)&&void 0!==s?s:this._preservedRules,this._rules=null!==(l=null==t?void 0:t.rules)&&void 0!==l?l:this._rules}return e.getInstance=function(t){if(j=V[Z],V[I])return V[I].getInstance(t);if(!j||j._lastStyleElement&&j._lastStyleElement.ownerDocument!==document){var n=(null==V?void 0:V.FabricConfig)||{},r=new e(n.mergeStyles,n.serializedStylesheet);j=r,V[Z]=r}return j},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=a(a({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace,n=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(n,"-").concat(this._counter++)},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(e)]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t,n){void 0===n&&(n=T);var r=this._config.injectionMode,o=0!==r?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),o)switch(r){case 1:this._insertRuleIntoSheet(o.sheet,e);break;case 2:o.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(t){return t({key:n,sheet:o?o.sheet:void 0,rule:e})}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,n=t.head,r=t.createElement("style"),o=null;r.setAttribute("data-merge-styles","true");var i=this._config.cspSettings;if(i&&i.nonce&&r.setAttribute("nonce",i.nonce),this._lastStyleElement)o=this._lastStyleElement.nextElementSibling;else{var a=this._findPlaceholderStyleTag();o=a?a.nextElementSibling:n.childNodes[0]}return n.insertBefore(r,n.contains(o)?o:null),this._lastStyleElement=r,r},e.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(e){}return!1},e.prototype._getCacheKey=function(e){return e},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||(this._styleElement=this._createStyleElement(),G||(this._config.window||window).requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}(),J="__currentId__",Q=p()||{};void 0===Q[J]&&(Q[J]=0);var Y=!1;function X(e){void 0===e&&(e=0),Q[J]=e}function $(e,t,n){void 0===n&&(n=!0);var r=!1;if(e&&t)if(n)if(e===t)r=!0;else for(r=!1;t;){var o=c(t);if(o===e){r=!0;break}t=o}else e.contains&&(r=e.contains(t));return r}var ee=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},r=0,o=e;r<o.length;r++)for(var i=o[r],a=0,s=Array.isArray(i)?i:Object.keys(i);a<s.length;a++)n[s[a]]=1;return n},te=ee(["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"]),ne=ee(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),re=ee(ne,te),oe=(ee(re,["form"]),ee(re,["height","loop","muted","preload","src","width"])),ie=(ee(oe,["poster"]),ee(re,["start"]),ee(re,["value"]),ee(re,["download","href","hrefLang","media","rel","target","type"]),ee(re,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]));function ae(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];if(i)if("string"==typeof i)n.push(i);else if(i.hasOwnProperty("toString")&&"function"==typeof i.toString)n.push(i.toString());else for(var a in i)i[a]&&n.push(a)}return n.join(" ")}ee(ie,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),ee(ie,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]),ee(ie,["form","multiple","required"]),ee(re,["selected","value"]),ee(re,["cellPadding","cellSpacing"]),ee(re,["rowSpan","scope"]),ee(re,["colSpan","headers","rowSpan","scope"]),ee(re,["span"]),ee(re,["span"]),ee(re,["acceptCharset","action","encType","encType","method","noValidate","target"]),ee(re,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),ee(re,["alt","crossOrigin","height","src","srcSet","useMap","width"]);var se,le={},ue={"user-select":1};function ce(e,t){var n=function(){var e;if(!se){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();se=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-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 we(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 xe(e,t,n,r,o){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?Ce([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 Ce([r],t,we(n,e),o)})):Ce([r],t,we(n,e),o)}function Ce(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<s.length;a++){var l=s[a];if("string"==typeof l){var u=r.argsFromClassName(l);u&&Ce(u,t,n,r)}else if(Array.isArray(l))Ce(l,t,n,r);else for(var c in l)if(l.hasOwnProperty(c)){var d=l[c];if("selectors"===c){var f=l.selectors;for(var h in f)f.hasOwnProperty(h)&&xe(n,t,h,f[h],r)}else"object"==typeof d||(o=c).indexOf(":global(")>=0||0===o.indexOf(":")?null!=d&&xe(n,t,c,d,r):void 0!==d&&("margin"===c||"padding"===c?ke(i,c,d):i[c]=d)}}return t}function ke(e,t,n){var r="string"==typeof n?function(e){for(var t=[],n=0,r=0,o=0;o<e.length;o++)switch(e[o]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(o>n&&t.push(e.substring(n,o)),n=o+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map((function(e){return e+" !important"}))),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 Se(e,t){return t<=0?"":1===t?e:e+Se(e,t-1)}function Fe(e,t){if(!t)return"";var n,r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&a!==ye&&void 0!==t[a]&&i.push(a,t[a]);for(var s=0;s<i.length;s+=2)o=void 0,"-"!==(o=(n=i)[r=s]).charAt(0)&&(n[r]=le[o]=le[o]||o.replace(/([A-Z])/g,"-$1").toLowerCase()),he(i,s),be(e,i,s),ce(i,s);for(s=1;s<i.length;s+=4)i.splice(s,1,":",i[s],";");return i.join("")}function Ae(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=null!==(t=e.stylesheet)&&void 0!==t?t:q.getInstance(e.shadowConfig),i=Ce(n,void 0,void 0,o),a=function(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,o=0,i=t.__order;o<i.length;o++){var a=i[o];n.push(a);var s=t[a];for(var l in s)s.hasOwnProperty(l)&&void 0!==s[l]&&(r=!0,n.push(l,s[l]))}return r?n.join(""):void 0}(e,i);if(a){var s={className:o.classNameFromKey(a),key:a,args:n};if(!s.className){s.className=o.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(i));for(var l=[],u=0,c=i.__order;u<c.length;u++){var d=c[u];l.push(d,Fe(e,i[d]))}s.rulesToInsert=l}return s}}function Te(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Ae.apply(void 0,function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e],t,!1));return r?(function(e,t,n,r){void 0===t&&(t=1);var o=null!=r?r:q.getInstance(n),i=e.className,a=e.key,s=e.args,l=e.rulesToInsert;if(l){for(var u=0;u<l.length;u+=2){var c=l[u+1];if(c){var d=l[u];d=d.replace(/&/g,Se(".".concat(e.className),t));var f="".concat(d,"{").concat(c,"}").concat(0===d.indexOf("@")?"}":"");o.insertRule(f)}}o.cacheClassName(i,a,s,l)}}(r,e.specificityMultiplier,e.shadowConfig,e.stylesheet),r.className):""}function Ie(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(e,t){var n=e instanceof Array?e:[e],r=t||{};B(n[0])&&(r.shadowConfig=n[0]),r.stylesheet=q.getInstance(r.shadowConfig);var o=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=[],o=[],i=e;return function e(t){for(var n=0,a=t;n<a.length;n++){var s=a[n];if(s&&!B(s))if("string"==typeof s)if(s.indexOf(" ")>=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__",Le=0,Ne=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(Le++)),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 Ue,He={settings:{},scopedSettings:{},inCustomizerContext:!1},We=Ne.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=He);for(var r={},o=t&&n.scopedSettings[t]||{},i=t&&We.scopedSettings[t]||{},a=0,s=e;a<s.length;a++){var l=s[a];r[l]=o[l]||n.settings[l]||i[l]||We.settings[l]}return r},e.applyBatchedUpdates=function(t,n){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1,n||e._raiseChange()},e.observe=function(e){ze.push(e)},e.unobserve=function(e){ze=ze.filter((function(t){return t!==e}))},e._raiseChange=function(){e._suppressUpdates||ze.forEach((function(e){return e()}))},e}(),Ze=function(){return Ze=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ze.apply(this,arguments)},Ge="undefined"==typeof window?e.g:window,Ve=Ge&&Ge.CSPSettings&&Ge.CSPSettings.nonce,qe=((Ue=Ge.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]}).runState||(Ue=Ze({},Ue,{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),Ue.registeredThemableStyles||(Ue=Ze({},Ue,{registeredThemableStyles:[]})),Ge.__themeState__=Ue,Ue);function Je(e){qe.theme=e,function(){if(qe.theme){for(var e=[],t=0,n=qe.registeredThemableStyles;t<n.length;t++){var r=n[t];e.push(r.themableStyle)}e.length>0&&(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<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)mt(e||{},o[r]);return e}function mt(e,t,n){for(var r in void 0===n&&(n=[]),n.push(t),t)if(t.hasOwnProperty(r)&&"__proto__"!==r&&"constructor"!==r&&"prototype"!==r){var o=t[r];if("object"!=typeof o||null===o||Array.isArray(o))e[r]=o;else{var i=n.indexOf(o)>-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,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");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);a<s.length;a++){var l=s[a];i.fonts[l]=gt(i.fonts[l],t.defaultFontStyle,null===(o=null==t?void 0:t.fonts)||void 0===o?void 0:o[l])}return i}({palette:$e,effects:it,fonts:ht,spacing:yt,isInverted:n,disableGlobalClassNames:!1,semanticColors:_t($e,it,void 0,n,t),rtl:void 0},e)}var wt=Et({}),xt=[],Ct="theme";function kt(){var e,t,n,r=p();(null===(t=null==r?void 0:r.FabricConfig)||void 0===t?void 0:t.legacyTheme)?function(e,t){var n;void 0===t&&(t=!1),wt=Et(e,t),Je(a(a(a(a({},wt.palette),wt.semanticColors),wt.effects),function(e){for(var t={},n=0,r=Object.keys(e.fonts);n<r.length;n++)for(var o=r[n],i=e.fonts[o],a=0,s=Object.keys(i);a<s.length;a++){var l=s[a],u=o+l.charAt(0).toUpperCase()+l.slice(1),c=i[l];"fontSize"===l&&"number"==typeof c&&(c+="px"),t[u]=c}return t}(wt))),je.applySettings(((n={})[Ct]=wt,n)),xt.forEach((function(e){try{e(wt)}catch(e){}}))}(r.FabricConfig.legacyTheme):je.getSettings([Ct]).theme||((null===(n=null==r?void 0:r.FabricConfig)||void 0===n?void 0:n.theme)&&(wt=Et(r.FabricConfig.theme)),je.applySettings(((e={})[Ct]=wt,e)))}kt(),o("@fluentui/style-utilities","8.10.18"),kt();var St,Ft="data-is-focusable",At="data-focuszone-id",Tt="tabindex",It="data-no-vertical-wrap",Dt="data-no-horizontal-wrap",Bt=999999999,Ot=-999999999;function Pt(e,t){var n;"function"==typeof MouseEvent?n=new MouseEvent("click",{ctrlKey:null==t?void 0:t.ctrlKey,metaKey:null==t?void 0:t.metaKey,shiftKey:null==t?void 0:t.shiftKey,altKey:null==t?void 0:t.altKey,bubbles:null==t?void 0:t.bubbles,cancelable:null==t?void 0:t.cancelable}):(n=document.createEvent("MouseEvents")).initMouseEvent("click",!!t&&t.bubbles,!!t&&t.cancelable,window,0,0,0,0,0,!!t&&t.ctrlKey,!!t&&t.altKey,!!t&&t.shiftKey,!!t&&t.metaKey,0,null),e.dispatchEvent(n)}var Rt={},Lt=new Set,Nt=["text","number","password","email","tel","url","search","textarea"],Mt=!1,Kt=function(e){function t(n){var r,o,i,a,d,f=this;(f=e.call(this,n)||this)._root=l.createRef(),f._mergedRef=(d={refs:[]},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return d.resolver&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(d.refs,e)||(d.resolver=function(e){return function(t){for(var n=0,r=e.refs;n<r.length;n++){var o=r[n];"function"==typeof o?o(t):o&&(o.current=t)}}}(d)),d.refs=e,d.resolver}),f._onFocus=function(e){if(!f._portalContainsElement(e.target)){var t,n=f.props,r=n.onActiveElementChanged,o=n.doNotAllowFocusEventToPropagate,i=n.stopFocusPropagation,a=n.onFocusNotification,s=n.onFocus,l=n.shouldFocusInnerElementWhenReceivedFocus,u=n.defaultTabbableElement,d=f._isImmediateDescendantOfZone(e.target);if(d)t=e.target;else for(var h=e.target;h&&h!==f._root.current;){if(C(h,void 0,f._inShadowRoot)&&f._isImmediateDescendantOfZone(h)){t=h;break}h=c(h,Mt)}if(l&&e.target===f._root.current){var p=u&&"function"==typeof u&&f._root.current&&u(f._root.current);p&&C(p,void 0,f._inShadowRoot)?(t=p,p.focus()):(f.focus(!0),f._activeElement&&(t=null))}var v=!f._activeElement;t&&t!==f._activeElement&&((d||v)&&f._setFocusAlignment(t,!0,!0),f._activeElement=t,v&&f._updateTabIndexes()),r&&r(f._activeElement,e),(i||o)&&e.stopPropagation(),s?s(e):a&&a()}},f._onBlur=function(){f._setParkedFocus(!1)},f._onMouseDown=function(e){if(!f._portalContainsElement(e.target)&&!f.props.disabled){for(var t=e.target,n=[];t&&t!==f._root.current;)n.push(t),t=c(t,Mt);for(;n.length&&((t=n.pop())&&C(t,void 0,f._inShadowRoot)&&f._setActiveElement(t,!0),!k(t)););}},f._onKeyDown=function(e,t){if(!f._portalContainsElement(e.target)){var n=f.props,r=n.direction,o=n.disabled,i=n.isInnerZoneKeystroke,a=n.pagingSupportDisabled,l=n.shouldEnterInnerZone;if(!(o||(f.props.onKeyDown&&f.props.onKeyDown(e),e.isDefaultPrevented()||f._getDocument().activeElement===f._root.current&&f._isInnerZone))){if((l&&l(e)||i&&i(e))&&f._isImmediateDescendantOfZone(e.target)){var c=f._getFirstInnerZone();if(c){if(!c.focus(!0))return}else{if(!S(e.target))return;if(!f.focusElement(E(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case 32:if(f._shouldRaiseClicksOnSpace&&f._tryInvokeClickForFocusable(e.target,e))break;return;case 37:if(r!==s.vertical&&(f._preventDefaultWhenHandled(e),f._moveFocusLeft(t)))break;return;case 39:if(r!==s.vertical&&(f._preventDefaultWhenHandled(e),f._moveFocusRight(t)))break;return;case 38:if(r!==s.horizontal&&(f._preventDefaultWhenHandled(e),f._moveFocusUp()))break;return;case 40:if(r!==s.horizontal&&(f._preventDefaultWhenHandled(e),f._moveFocusDown()))break;return;case 34:if(!a&&f._moveFocusPaging(!0))break;return;case 33:if(!a&&f._moveFocusPaging(!1))break;return;case 9:if(f.props.allowTabKey||f.props.handleTabKey===u.all||f.props.handleTabKey===u.inputOnly&&f._isElementInput(e.target)){var d=!1;if(f._processingTabKey=!0,d=r!==s.vertical&&f._shouldWrapFocus(f._activeElement,Dt)?(M(t)?!e.shiftKey:e.shiftKey)?f._moveFocusLeft(t):f._moveFocusRight(t):e.shiftKey?f._moveFocusUp():f._moveFocusDown(),f._processingTabKey=!1,d)break;f.props.shouldResetActiveElementWhenTabFromZone&&(f._activeElement=null)}return;case 36:if(f._isContentEditableElement(e.target)||f._isElementInput(e.target)&&!f._shouldInputLoseFocus(e.target,!1))return!1;var h=f._root.current&&f._root.current.firstChild;if(f._root.current&&h&&f.focusElement(E(f._root.current,h,!0)))break;return;case 35:if(f._isContentEditableElement(e.target)||f._isElementInput(e.target)&&!f._shouldInputLoseFocus(e.target,!0))return!1;var p=f._root.current&&f._root.current.lastChild;if(f._root.current&&f.focusElement(y(f._root.current,p,!0,!0,!0)))break;return;case 13:if(f._shouldRaiseClicksOnEnter&&f._tryInvokeClickForFocusable(e.target,e))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},f._getHorizontalDistanceFromCenter=function(e,t,n){var r=f._focusAlignment.left||f._focusAlignment.x||0,o=Math.floor(n.top),i=Math.floor(t.bottom),a=Math.floor(n.bottom),s=Math.floor(t.top);return e&&o>i||!e&&a<s?r>=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:U,componentDidUpdate:H,componentWillUnmount:W}),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(!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 Lt.size},t._onKeyDownCapture=function(e){9===e.which&&Lt.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(k(r)){this._isInnerZone=!0;break}r=c(r,Mt)}this._isInnerZone||(Lt.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<o.length;r++){var i=o[r],a=n.children[Math.min(i,n.children.length-1)];if(!a)break;n=a}return C(n)&&w(n)?n:E(e,n,!0)||y(e,n)}(t,this._lastIndexPath);r?(this._setActiveElement(r,!0),r.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete Rt[this._id],this._isInnerZone||(Lt.delete(this),this._root.current&&this._root.current.removeEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},t.prototype.render=function(){var e=this,t=this.props,n=t.as,r=t.elementType,o=t.rootProps,i=t.ariaDescribedBy,s=t.ariaLabelledBy,u=t.className,c=function(e,t,n){for(var r=Array.isArray(t),o={},i=0,a=Object.keys(e);i<a.length;i++){var s=a[i];!(!r&&t[s]||r&&t.indexOf(s)>=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&&(wt=Et({},f)),wt);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(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(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)&&C(this._activeElement,void 0,this._inShadowRoot)&&(!t||x(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=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=$(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&&(k(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(k(e))return Rt[e.getAttribute(At)];for(var t=e.firstElementChild;t;){if(k(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<i)&&(i=d,a=o),i>=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?e._shouldWrapFocus(e._activeElement,It)?Bt:Ot:((-1===t&&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.bottom.toFixed(3)):parseFloat(o.bottom.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))<parseFloat(r.bottom.toFixed(3)))&&o.left>=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<g-l)break;m>-1&&(e&&d>a?(a=d,o=m,i=n):!e&&h<s?(s=h,o=m,i=n):(-1===o||m<=o)&&(o=m,i=n))}}while(n);var _=!1;if(i&&i!==this._activeElement)_=!0,this.focusElement(i),this._setFocusAlignment(i,!1,!0);else if(this.props.isCircularNavigation&&t)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 _},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===s.bidirectional&&(!this._focusAlignment||t||n)){var r=e.getBoundingClientRect(),o=r.left+r.width/2,i=r.top+r.height/2;this._focusAlignment||(this._focusAlignment={left:o,top:i}),t&&(this._focusAlignment.left=o),n&&(this._focusAlignment.top=i)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=c(e,Mt);t&&t!==this._root.current&&t!==this._getDocument().body;){if(k(t))return t;t=c(t,Mt)}return t},t.prototype._updateTabIndexes=function(e){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!$(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!C(this._activeElement,void 0,this._inShadowRoot)&&(this._activeElement=null);for(var t=e&&e.children,n=0;t&&n<t.length;n++){var r=t[n];k(r)?"true"===r.getAttribute(Ft)&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"0"))):(r.getAttribute&&"false"===r.getAttribute(Ft)&&r.setAttribute(Tt,"-1"),C(r,void 0,this._inShadowRoot)?this.props.disabled?r.setAttribute(Tt,"-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"0")):"svg"===r.tagName&&"false"!==r.getAttribute("focusable")&&r.setAttribute("focusable","false")),this._updateTabIndexes(r)}},t.prototype._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")},t.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())},t.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&Nt.indexOf(e.type.toLowerCase())>-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&&(t=e,n=this._root.current,null!==(r=d(t,(function(e){return n===e||e.hasAttribute(Be)}),undefined))&&r.hasAttribute(Be));var t,n,r},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}(); |
@@ -1,1 +0,1 @@ | ||
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.9");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)},a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};Object.create,Object.create;var s,l=React,u={none:0,all:1,inputOnly:2};function c(e,t){var n,r;if(void 0===t&&(t=!0),!e)return null;var o=t&&function(e){var t,n;return e&&(n=e)&&n._virtual&&(t=e._virtual.parent),t}(e);return o||("function"!=typeof e.assignedElements&&(null===(n=e.assignedSlot)||void 0===n?void 0:n.parentNode)?e.assignedSlot:11===(null===(r=e.parentNode)||void 0===r?void 0:r.nodeType)?e.parentNode.host:e.parentNode)}function d(e,t,n){return null!=n||(n=document),e&&e!==n.body?t(e)?e:d(c(e),t):null}function f(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(s||(s={}));var h=void 0;try{h=window}catch(e){}function p(e){if(f()&&void 0!==h){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:h}}function v(e){if(f()&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}var g="data-is-focusable",m="data-is-visible",_="data-focuszone-id",b="data-is-sub-focuszone";function y(e,t,n,r,o,i,a,s,l){var u;if(!t||!a&&t===e)return null;var c=x(t);if(o&&c&&(i||!w(t)&&!S(t))){var d=y(e,t.lastElementChild||l&&(null===(u=t.shadowRoot)||void 0===u?void 0:u.lastElementChild),!0,!0,!0,i,a,s,l);if(d){if(s&&k(d,!0,l)||!s)return d;var f=y(e,d.previousElementSibling,!0,!0,!0,i,a,s,l);if(f)return f;for(var h=d.parentElement;h&&h!==t;){var p=y(e,h.previousElementSibling,!0,!0,!0,i,a,s,l);if(p)return p;h=h.parentElement}}}return n&&c&&k(t,s,l)?t:y(e,t.previousElementSibling,!0,!0,!0,i,a,s,l)||(r?null:y(e,t.parentElement,!0,!1,!1,i,a,s,l))}function E(e,t,n,r,o,i,a,s,l,u){var c;if(!t||t===e&&o&&!a)return null;var d=(l?C:x)(t);if(n&&d&&k(t,s,u))return t;if(!o&&d&&(i||!w(t)&&!S(t))){var f=E(e,t.firstElementChild||u&&(null===(c=t.shadowRoot)||void 0===c?void 0:c.firstElementChild),!0,!0,!1,i,a,s,l,u);if(f)return f}return t===e?null:E(e,t.nextElementSibling,!0,!0,!1,i,a,s,l,u)||(r?null:E(e,t.parentElement,!1,!1,!0,i,a,s,l,u))}function x(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute(m);return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function C(e,t){var n=null!=t?t:p();return!!e&&x(e)&&!e.hidden&&"hidden"!==n.getComputedStyle(e).visibility}function k(e,t,n){if(void 0===n&&(n=!0),!e||e.disabled)return!1;var r=0,o=null;e&&e.getAttribute&&(o=e.getAttribute("tabIndex"))&&(r=parseInt(o,10));var i=e.getAttribute?e.getAttribute(g):null,a=null!==o&&r>=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<arguments.length;n++)t[n-1]=arguments[n];return t.length<2?t[0]:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.forEach((function(t){return t&&t.apply(e,n)}))}}function H(){z(this.props.componentRef,this)}function U(e){e.componentRef!==this.props.componentRef&&(z(e.componentRef,null),z(this.props.componentRef,this))}function W(){z(this.props.componentRef,null)}function z(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}var j,Z="__stylesheet__",G="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),V={};try{V=window||{}}catch(de){}var q=function(){function e(e,t){var n,r,o,i,s,l;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=a({injectionMode:"undefined"==typeof document?0:1,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(n=null==t?void 0:t.classNameToArgs)&&void 0!==n?n:this._classNameToArgs,this._counter=null!==(r=null==t?void 0:t.counter)&&void 0!==r?r:this._counter,this._keyToClassName=null!==(i=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==t?void 0:t.keyToClassName)&&void 0!==i?i:this._keyToClassName,this._preservedRules=null!==(s=null==t?void 0:t.preservedRules)&&void 0!==s?s:this._preservedRules,this._rules=null!==(l=null==t?void 0:t.rules)&&void 0!==l?l:this._rules}return e.getInstance=function(t){if(j=V[Z],V[I])return V[I].getInstance(t);if(!j||j._lastStyleElement&&j._lastStyleElement.ownerDocument!==document){var n=(null==V?void 0:V.FabricConfig)||{},r=new e(n.mergeStyles,n.serializedStylesheet);j=r,V[Z]=r}return j},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=a(a({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace,n=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(n,"-").concat(this._counter++)},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(e)]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t,n){void 0===n&&(n=T);var r=this._config.injectionMode,o=0!==r?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),o)switch(r){case 1:this._insertRuleIntoSheet(o.sheet,e);break;case 2:o.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(t){return t({key:n,sheet:o?o.sheet:void 0,rule:e})}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,n=t.head,r=t.createElement("style"),o=null;r.setAttribute("data-merge-styles","true");var i=this._config.cspSettings;if(i&&i.nonce&&r.setAttribute("nonce",i.nonce),this._lastStyleElement)o=this._lastStyleElement.nextElementSibling;else{var a=this._findPlaceholderStyleTag();o=a?a.nextElementSibling:n.childNodes[0]}return n.insertBefore(r,n.contains(o)?o:null),this._lastStyleElement=r,r},e.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(e){}return!1},e.prototype._getCacheKey=function(e){return e},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||(this._styleElement=this._createStyleElement(),G||(this._config.window||window).requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}(),J="__currentId__",Q=p()||{};void 0===Q[J]&&(Q[J]=0);var Y=!1;function X(e){void 0===e&&(e=0),Q[J]=e}function $(e,t,n){void 0===n&&(n=!0);var r=!1;if(e&&t)if(n)if(e===t)r=!0;else for(r=!1;t;){var o=c(t);if(o===e){r=!0;break}t=o}else e.contains&&(r=e.contains(t));return r}var ee=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},r=0,o=e;r<o.length;r++)for(var i=o[r],a=0,s=Array.isArray(i)?i:Object.keys(i);a<s.length;a++)n[s[a]]=1;return n},te=ee(["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"]),ne=ee(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),re=ee(ne,te),oe=(ee(re,["form"]),ee(re,["height","loop","muted","preload","src","width"])),ie=(ee(oe,["poster"]),ee(re,["start"]),ee(re,["value"]),ee(re,["download","href","hrefLang","media","rel","target","type"]),ee(re,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]));function ae(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];if(i)if("string"==typeof i)n.push(i);else if(i.hasOwnProperty("toString")&&"function"==typeof i.toString)n.push(i.toString());else for(var a in i)i[a]&&n.push(a)}return n.join(" ")}ee(ie,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),ee(ie,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]),ee(ie,["form","multiple","required"]),ee(re,["selected","value"]),ee(re,["cellPadding","cellSpacing"]),ee(re,["rowSpan","scope"]),ee(re,["colSpan","headers","rowSpan","scope"]),ee(re,["span"]),ee(re,["span"]),ee(re,["acceptCharset","action","encType","encType","method","noValidate","target"]),ee(re,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),ee(re,["alt","crossOrigin","height","src","srcSet","useMap","width"]);var se,le={},ue={"user-select":1};function ce(e,t){var n=function(){var e;if(!se){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();se=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-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<s.length;a++){var l=s[a];if("string"==typeof l){var u=r.argsFromClassName(l);u&&ke(u,t,n,r)}else if(Array.isArray(l))ke(l,t,n,r);else for(var c in l)if(l.hasOwnProperty(c)){var d=l[c];if("selectors"===c){var f=l.selectors;for(var h in f)f.hasOwnProperty(h)&&Ce(n,t,h,f[h],r)}else"object"==typeof d||(o=c).indexOf(":global(")>=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;o<e.length;o++)switch(e[o]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(o>n&&t.push(e.substring(n,o)),n=o+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map((function(e){return e+" !important"}))),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 Se(e,t){return t<=0?"":1===t?e:e+Se(e,t-1)}function Fe(e,t){if(!t)return"";var n,r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&a!==ye&&void 0!==t[a]&&i.push(a,t[a]);for(var s=0;s<i.length;s+=2)o=void 0,"-"!==(o=(n=i)[r=s]).charAt(0)&&(n[r]=le[o]=le[o]||o.replace(/([A-Z])/g,"-$1").toLowerCase()),he(i,s),be(e,i,s),ce(i,s);for(s=1;s<i.length;s+=4)i.splice(s,1,":",i[s],";");return i.join("")}function Ae(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=null!==(t=e.stylesheet)&&void 0!==t?t:q.getInstance(e.shadowConfig),i=ke(n,void 0,void 0,o),a=function(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,o=0,i=t.__order;o<i.length;o++){var a=i[o];n.push(a);var s=t[a];for(var l in s)s.hasOwnProperty(l)&&void 0!==s[l]&&(r=!0,n.push(l,s[l]))}return r?n.join(""):void 0}(e,i);if(a){var s={className:o.classNameFromKey(a),key:a,args:n};if(!s.className){s.className=o.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(i));for(var l=[],u=0,c=i.__order;u<c.length;u++){var d=c[u];l.push(d,Fe(e,i[d]))}s.rulesToInsert=l}return s}}function Te(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Ae.apply(void 0,function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e],t,!1));return r?(function(e,t,n,r){void 0===t&&(t=1);var o=null!=r?r:q.getInstance(n),i=e.className,a=e.key,s=e.args,l=e.rulesToInsert;if(l){for(var u=0;u<l.length;u+=2){var c=l[u+1];if(c){var d=l[u];d=d.replace(/&/g,Se(".".concat(e.className),t));var f="".concat(d,"{").concat(c,"}").concat(0===d.indexOf("@")?"}":"");o.insertRule(f)}}o.cacheClassName(i,a,s,l)}}(r,e.specificityMultiplier,e.shadowConfig,e.stylesheet),r.className):""}function Ie(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(e,t){var n=e instanceof Array?e:[e],r=t||{};B(n[0])&&(r.shadowConfig=n[0]),r.stylesheet=q.getInstance(r.shadowConfig);var o=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=[],o=[],i=e;return function e(t){for(var n=0,a=t;n<a.length;n++){var s=a[n];if(s&&!B(s))if("string"==typeof s)if(s.indexOf(" ")>=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;a<s.length;a++){var l=s[a];r[l]=o[l]||n.settings[l]||i[l]||We.settings[l]}return r},e.applyBatchedUpdates=function(t,n){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1,n||e._raiseChange()},e.observe=function(e){ze.push(e)},e.unobserve=function(e){ze=ze.filter((function(t){return t!==e}))},e._raiseChange=function(){e._suppressUpdates||ze.forEach((function(e){return e()}))},e}(),Ze=function(){return Ze=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ze.apply(this,arguments)},Ge="undefined"==typeof window?e.g:window,Ve=Ge&&Ge.CSPSettings&&Ge.CSPSettings.nonce,qe=((He=Ge.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]}).runState||(He=Ze({},He,{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),He.registeredThemableStyles||(He=Ze({},He,{registeredThemableStyles:[]})),Ge.__themeState__=He,He);function Je(e){qe.theme=e,function(){if(qe.theme){for(var e=[],t=0,n=qe.registeredThemableStyles;t<n.length;t++){var r=n[t];e.push(r.themableStyle)}e.length>0&&(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<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)mt(e||{},o[r]);return e}function mt(e,t,n){for(var r in void 0===n&&(n=[]),n.push(t),t)if(t.hasOwnProperty(r)&&"__proto__"!==r&&"constructor"!==r&&"prototype"!==r){var o=t[r];if("object"!=typeof o||null===o||Array.isArray(o))e[r]=o;else{var i=n.indexOf(o)>-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);a<s.length;a++){var l=s[a];i.fonts[l]=gt(i.fonts[l],t.defaultFontStyle,null===(o=null==t?void 0:t.fonts)||void 0===o?void 0:o[l])}return i}({palette:$e,effects:it,fonts:ht,spacing:yt,isInverted:n,disableGlobalClassNames:!1,semanticColors:_t($e,it,void 0,n,t),rtl:void 0},e)}var xt=Et({}),Ct=[],kt="theme";function wt(){var e,t,n,r=p();(null===(t=null==r?void 0:r.FabricConfig)||void 0===t?void 0:t.legacyTheme)?function(e,t){var n;void 0===t&&(t=!1),xt=Et(e,t),Je(a(a(a(a({},xt.palette),xt.semanticColors),xt.effects),function(e){for(var t={},n=0,r=Object.keys(e.fonts);n<r.length;n++)for(var o=r[n],i=e.fonts[o],a=0,s=Object.keys(i);a<s.length;a++){var l=s[a],u=o+l.charAt(0).toUpperCase()+l.slice(1),c=i[l];"fontSize"===l&&"number"==typeof c&&(c+="px"),t[u]=c}return t}(xt))),je.applySettings(((n={})[kt]=xt,n)),Ct.forEach((function(e){try{e(xt)}catch(e){}}))}(r.FabricConfig.legacyTheme):je.getSettings([kt]).theme||((null===(n=null==r?void 0:r.FabricConfig)||void 0===n?void 0:n.theme)&&(xt=Et(r.FabricConfig.theme)),je.applySettings(((e={})[kt]=xt,e)))}wt(),o("@fluentui/style-utilities","8.10.17"),wt();var St,Ft="data-is-focusable",At="data-focuszone-id",Tt="tabindex",It="data-no-vertical-wrap",Dt="data-no-horizontal-wrap",Bt=999999999,Ot=-999999999;function Pt(e,t){var n;"function"==typeof MouseEvent?n=new MouseEvent("click",{ctrlKey:null==t?void 0:t.ctrlKey,metaKey:null==t?void 0:t.metaKey,shiftKey:null==t?void 0:t.shiftKey,altKey:null==t?void 0:t.altKey,bubbles:null==t?void 0:t.bubbles,cancelable:null==t?void 0:t.cancelable}):(n=document.createEvent("MouseEvents")).initMouseEvent("click",!!t&&t.bubbles,!!t&&t.cancelable,window,0,0,0,0,0,!!t&&t.ctrlKey,!!t&&t.altKey,!!t&&t.shiftKey,!!t&&t.metaKey,0,null),e.dispatchEvent(n)}var Rt={},Nt=new Set,Lt=["text","number","password","email","tel","url","search","textarea"],Mt=!1,Kt=function(e){function t(n){var r,o,i,a,d,f=this;(f=e.call(this,n)||this)._root=l.createRef(),f._mergedRef=(d={refs:[]},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return d.resolver&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(d.refs,e)||(d.resolver=function(e){return function(t){for(var n=0,r=e.refs;n<r.length;n++){var o=r[n];"function"==typeof o?o(t):o&&(o.current=t)}}}(d)),d.refs=e,d.resolver}),f._onFocus=function(e){if(!f._portalContainsElement(e.target)){var t,n=f.props,r=n.onActiveElementChanged,o=n.doNotAllowFocusEventToPropagate,i=n.stopFocusPropagation,a=n.onFocusNotification,s=n.onFocus,l=n.shouldFocusInnerElementWhenReceivedFocus,u=n.defaultTabbableElement,d=f._isImmediateDescendantOfZone(e.target);if(d)t=e.target;else for(var h=e.target;h&&h!==f._root.current;){if(k(h,void 0,f._inShadowRoot)&&f._isImmediateDescendantOfZone(h)){t=h;break}h=c(h,Mt)}if(l&&e.target===f._root.current){var p=u&&"function"==typeof u&&f._root.current&&u(f._root.current);p&&k(p,void 0,f._inShadowRoot)?(t=p,p.focus()):(f.focus(!0),f._activeElement&&(t=null))}var v=!f._activeElement;t&&t!==f._activeElement&&((d||v)&&f._setFocusAlignment(t,!0,!0),f._activeElement=t,v&&f._updateTabIndexes()),r&&r(f._activeElement,e),(i||o)&&e.stopPropagation(),s?s(e):a&&a()}},f._onBlur=function(){f._setParkedFocus(!1)},f._onMouseDown=function(e){if(!f._portalContainsElement(e.target)&&!f.props.disabled){for(var t=e.target,n=[];t&&t!==f._root.current;)n.push(t),t=c(t,Mt);for(;n.length&&((t=n.pop())&&k(t,void 0,f._inShadowRoot)&&f._setActiveElement(t,!0),!w(t)););}},f._onKeyDown=function(e,t){if(!f._portalContainsElement(e.target)){var n=f.props,r=n.direction,o=n.disabled,i=n.isInnerZoneKeystroke,a=n.pagingSupportDisabled,l=n.shouldEnterInnerZone;if(!(o||(f.props.onKeyDown&&f.props.onKeyDown(e),e.isDefaultPrevented()||f._getDocument().activeElement===f._root.current&&f._isInnerZone))){if((l&&l(e)||i&&i(e))&&f._isImmediateDescendantOfZone(e.target)){var c=f._getFirstInnerZone();if(c){if(!c.focus(!0))return}else{if(!S(e.target))return;if(!f.focusElement(E(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case 32:if(f._shouldRaiseClicksOnSpace&&f._tryInvokeClickForFocusable(e.target,e))break;return;case 37:if(r!==s.vertical&&(f._preventDefaultWhenHandled(e),f._moveFocusLeft(t)))break;return;case 39:if(r!==s.vertical&&(f._preventDefaultWhenHandled(e),f._moveFocusRight(t)))break;return;case 38:if(r!==s.horizontal&&(f._preventDefaultWhenHandled(e),f._moveFocusUp()))break;return;case 40:if(r!==s.horizontal&&(f._preventDefaultWhenHandled(e),f._moveFocusDown()))break;return;case 34:if(!a&&f._moveFocusPaging(!0))break;return;case 33:if(!a&&f._moveFocusPaging(!1))break;return;case 9:if(f.props.allowTabKey||f.props.handleTabKey===u.all||f.props.handleTabKey===u.inputOnly&&f._isElementInput(e.target)){var d=!1;if(f._processingTabKey=!0,d=r!==s.vertical&&f._shouldWrapFocus(f._activeElement,Dt)?(M(t)?!e.shiftKey:e.shiftKey)?f._moveFocusLeft(t):f._moveFocusRight(t):e.shiftKey?f._moveFocusUp():f._moveFocusDown(),f._processingTabKey=!1,d)break;f.props.shouldResetActiveElementWhenTabFromZone&&(f._activeElement=null)}return;case 36:if(f._isContentEditableElement(e.target)||f._isElementInput(e.target)&&!f._shouldInputLoseFocus(e.target,!1))return!1;var h=f._root.current&&f._root.current.firstChild;if(f._root.current&&h&&f.focusElement(E(f._root.current,h,!0)))break;return;case 35:if(f._isContentEditableElement(e.target)||f._isElementInput(e.target)&&!f._shouldInputLoseFocus(e.target,!0))return!1;var p=f._root.current&&f._root.current.lastChild;if(f._root.current&&f.focusElement(y(f._root.current,p,!0,!0,!0)))break;return;case 13:if(f._shouldRaiseClicksOnEnter&&f._tryInvokeClickForFocusable(e.target,e))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},f._getHorizontalDistanceFromCenter=function(e,t,n){var r=f._focusAlignment.left||f._focusAlignment.x||0,o=Math.floor(n.top),i=Math.floor(t.bottom),a=Math.floor(n.bottom),s=Math.floor(t.top);return e&&o>i||!e&&a<s?r>=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<o.length;r++){var i=o[r],a=n.children[Math.min(i,n.children.length-1)];if(!a)break;n=a}return k(n)&&x(n)?n:E(e,n,!0)||y(e,n)}(t,this._lastIndexPath);r?(this._setActiveElement(r,!0),r.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete Rt[this._id],this._isInnerZone||(Nt.delete(this),this._root.current&&this._root.current.removeEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},t.prototype.render=function(){var e=this,t=this.props,n=t.as,r=t.elementType,o=t.rootProps,i=t.ariaDescribedBy,s=t.ariaLabelledBy,u=t.className,c=function(e,t,n){for(var r=Array.isArray(t),o={},i=0,a=Object.keys(e);i<a.length;i++){var s=a[i];!(!r&&t[s]||r&&t.indexOf(s)>=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(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(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=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=$(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<i)&&(i=d,a=o),i>=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?e._shouldWrapFocus(e._activeElement,It)?Bt:Ot:((-1===t&&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.bottom.toFixed(3)):parseFloat(o.bottom.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))<parseFloat(r.bottom.toFixed(3)))&&o.left>=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<g-l)break;m>-1&&(e&&d>a?(a=d,o=m,i=n):!e&&h<s?(s=h,o=m,i=n):(-1===o||m<=o)&&(o=m,i=n))}}while(n);var _=!1;if(i&&i!==this._activeElement)_=!0,this.focusElement(i),this._setFocusAlignment(i,!1,!0);else if(this.props.isCircularNavigation&&t)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 _},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===s.bidirectional&&(!this._focusAlignment||t||n)){var r=e.getBoundingClientRect(),o=r.left+r.width/2,i=r.top+r.height/2;this._focusAlignment||(this._focusAlignment={left:o,top:i}),t&&(this._focusAlignment.left=o),n&&(this._focusAlignment.top=i)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=c(e,Mt);t&&t!==this._root.current&&t!==this._getDocument().body;){if(w(t))return t;t=c(t,Mt)}return t},t.prototype._updateTabIndexes=function(e){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!$(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!k(this._activeElement,void 0,this._inShadowRoot)&&(this._activeElement=null);for(var t=e&&e.children,n=0;t&&n<t.length;n++){var r=t[n];w(r)?"true"===r.getAttribute(Ft)&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"0"))):(r.getAttribute&&"false"===r.getAttribute(Ft)&&r.setAttribute(Tt,"-1"),k(r,void 0,this._inShadowRoot)?this.props.disabled?r.setAttribute(Tt,"-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"0")):"svg"===r.tagName&&"false"!==r.getAttribute("focusable")&&r.setAttribute("focusable","false")),this._updateTabIndexes(r)}},t.prototype._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")},t.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())},t.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&Lt.indexOf(e.type.toLowerCase())>-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&&(t=e,n=this._root.current,null!==(r=d(t,(function(e){return n===e||e.hasAttribute(Be)}),undefined))&&r.hasAttribute(Be));var t,n,r},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}(); | ||
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.10");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)},a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};Object.create,Object.create;var s,l=React,u={none:0,all:1,inputOnly:2};function c(e,t){var n,r;if(void 0===t&&(t=!0),!e)return null;var o=t&&function(e){var t,n;return e&&(n=e)&&n._virtual&&(t=e._virtual.parent),t}(e);return o||("function"!=typeof e.assignedElements&&(null===(n=e.assignedSlot)||void 0===n?void 0:n.parentNode)?e.assignedSlot:11===(null===(r=e.parentNode)||void 0===r?void 0:r.nodeType)?e.parentNode.host:e.parentNode)}function d(e,t,n){return null!=n||(n=document),e&&e!==n.body?t(e)?e:d(c(e),t):null}function f(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(s||(s={}));var h=void 0;try{h=window}catch(e){}function p(e){if(f()&&void 0!==h){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:h}}function v(e){if(f()&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}var g="data-is-focusable",m="data-is-visible",_="data-focuszone-id",b="data-is-sub-focuszone";function y(e,t,n,r,o,i,a,s,l){var u;if(!t||!a&&t===e)return null;var c=x(t);if(o&&c&&(i||!w(t)&&!S(t))){var d=y(e,t.lastElementChild||l&&(null===(u=t.shadowRoot)||void 0===u?void 0:u.lastElementChild),!0,!0,!0,i,a,s,l);if(d){if(s&&k(d,!0,l)||!s)return d;var f=y(e,d.previousElementSibling,!0,!0,!0,i,a,s,l);if(f)return f;for(var h=d.parentElement;h&&h!==t;){var p=y(e,h.previousElementSibling,!0,!0,!0,i,a,s,l);if(p)return p;h=h.parentElement}}}return n&&c&&k(t,s,l)?t:y(e,t.previousElementSibling,!0,!0,!0,i,a,s,l)||(r?null:y(e,t.parentElement,!0,!1,!1,i,a,s,l))}function E(e,t,n,r,o,i,a,s,l,u){var c;if(!t||t===e&&o&&!a)return null;var d=(l?C:x)(t);if(n&&d&&k(t,s,u))return t;if(!o&&d&&(i||!w(t)&&!S(t))){var f=E(e,t.firstElementChild||u&&(null===(c=t.shadowRoot)||void 0===c?void 0:c.firstElementChild),!0,!0,!1,i,a,s,l,u);if(f)return f}return t===e?null:E(e,t.nextElementSibling,!0,!0,!1,i,a,s,l,u)||(r?null:E(e,t.parentElement,!1,!1,!0,i,a,s,l,u))}function x(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute(m);return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function C(e,t){var n=null!=t?t:p();return!!e&&x(e)&&!e.hidden&&"hidden"!==n.getComputedStyle(e).visibility}function k(e,t,n){if(void 0===n&&(n=!0),!e||e.disabled)return!1;var r=0,o=null;e&&e.getAttribute&&(o=e.getAttribute("tabIndex"))&&(r=parseInt(o,10));var i=e.getAttribute?e.getAttribute(g):null,a=null!==o&&r>=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<arguments.length;n++)t[n-1]=arguments[n];return t.length<2?t[0]:function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];t.forEach((function(t){return t&&t.apply(e,n)}))}}function H(){z(this.props.componentRef,this)}function U(e){e.componentRef!==this.props.componentRef&&(z(e.componentRef,null),z(this.props.componentRef,this))}function W(){z(this.props.componentRef,null)}function z(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}var j,Z="__stylesheet__",G="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),V={};try{V=window||{}}catch(de){}var q=function(){function e(e,t){var n,r,o,i,s,l;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=a({injectionMode:"undefined"==typeof document?0:1,defaultPrefix:"css",namespace:void 0,cspSettings:void 0},e),this._classNameToArgs=null!==(n=null==t?void 0:t.classNameToArgs)&&void 0!==n?n:this._classNameToArgs,this._counter=null!==(r=null==t?void 0:t.counter)&&void 0!==r?r:this._counter,this._keyToClassName=null!==(i=null!==(o=this._config.classNameCache)&&void 0!==o?o:null==t?void 0:t.keyToClassName)&&void 0!==i?i:this._keyToClassName,this._preservedRules=null!==(s=null==t?void 0:t.preservedRules)&&void 0!==s?s:this._preservedRules,this._rules=null!==(l=null==t?void 0:t.rules)&&void 0!==l?l:this._rules}return e.getInstance=function(t){if(j=V[Z],V[I])return V[I].getInstance(t);if(!j||j._lastStyleElement&&j._lastStyleElement.ownerDocument!==document){var n=(null==V?void 0:V.FabricConfig)||{},r=new e(n.mergeStyles,n.serializedStylesheet);j=r,V[Z]=r}return j},e.prototype.serialize=function(){return JSON.stringify({classNameToArgs:this._classNameToArgs,counter:this._counter,keyToClassName:this._keyToClassName,preservedRules:this._preservedRules,rules:this._rules})},e.prototype.setConfig=function(e){this._config=a(a({},this._config),e)},e.prototype.onReset=function(e){var t=this;return this._onResetCallbacks.push(e),function(){t._onResetCallbacks=t._onResetCallbacks.filter((function(t){return t!==e}))}},e.prototype.onInsertRule=function(e){var t=this;return this._onInsertRuleCallbacks.push(e),function(){t._onInsertRuleCallbacks=t._onInsertRuleCallbacks.filter((function(t){return t!==e}))}},e.prototype.getClassName=function(e){var t=this._config.namespace,n=e||this._config.defaultPrefix;return"".concat(t?t+"-":"").concat(n,"-").concat(this._counter++)},e.prototype.cacheClassName=function(e,t,n,r){this._keyToClassName[this._getCacheKey(t)]=e,this._classNameToArgs[e]={args:n,rules:r}},e.prototype.classNameFromKey=function(e){return this._keyToClassName[this._getCacheKey(e)]},e.prototype.getClassNameCache=function(){return this._keyToClassName},e.prototype.argsFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.args},e.prototype.insertedRulesFromClassName=function(e){var t=this._classNameToArgs[e];return t&&t.rules},e.prototype.insertRule=function(e,t,n){void 0===n&&(n=T);var r=this._config.injectionMode,o=0!==r?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),o)switch(r){case 1:this._insertRuleIntoSheet(o.sheet,e);break;case 2:o.appendChild(document.createTextNode(e))}else this._rules.push(e);this._config.onInsertRule&&this._config.onInsertRule(e),this._onInsertRuleCallbacks.forEach((function(t){return t({key:n,sheet:o?o.sheet:void 0,rule:e})}))},e.prototype.getRules=function(e){return(e?this._preservedRules.join(""):"")+this._rules.join("")},e.prototype.reset=function(){this._rules=[],this._counter=0,this._classNameToArgs={},this._keyToClassName={},this._onResetCallbacks.forEach((function(e){return e()}))},e.prototype.resetKeys=function(){this._keyToClassName={}},e.prototype._createStyleElement=function(){var e,t=(null===(e=this._config.window)||void 0===e?void 0:e.document)||document,n=t.head,r=t.createElement("style"),o=null;r.setAttribute("data-merge-styles","true");var i=this._config.cspSettings;if(i&&i.nonce&&r.setAttribute("nonce",i.nonce),this._lastStyleElement)o=this._lastStyleElement.nextElementSibling;else{var a=this._findPlaceholderStyleTag();o=a?a.nextElementSibling:n.childNodes[0]}return n.insertBefore(r,n.contains(o)?o:null),this._lastStyleElement=r,r},e.prototype._insertRuleIntoSheet=function(e,t){if(!e)return!1;try{return e.insertRule(t,e.cssRules.length),!0}catch(e){}return!1},e.prototype._getCacheKey=function(e){return e},e.prototype._getStyleElement=function(){var e=this;return this._styleElement||(this._styleElement=this._createStyleElement(),G||(this._config.window||window).requestAnimationFrame((function(){e._styleElement=void 0}))),this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}(),J="__currentId__",Q=p()||{};void 0===Q[J]&&(Q[J]=0);var Y=!1;function X(e){void 0===e&&(e=0),Q[J]=e}function $(e,t,n){void 0===n&&(n=!0);var r=!1;if(e&&t)if(n)if(e===t)r=!0;else for(r=!1;t;){var o=c(t);if(o===e){r=!0;break}t=o}else e.contains&&(r=e.contains(t));return r}var ee=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n={},r=0,o=e;r<o.length;r++)for(var i=o[r],a=0,s=Array.isArray(i)?i:Object.keys(i);a<s.length;a++)n[s[a]]=1;return n},te=ee(["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"]),ne=ee(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),re=ee(ne,te),oe=(ee(re,["form"]),ee(re,["height","loop","muted","preload","src","width"])),ie=(ee(oe,["poster"]),ee(re,["start"]),ee(re,["value"]),ee(re,["download","href","hrefLang","media","rel","target","type"]),ee(re,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]));function ae(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];if(i)if("string"==typeof i)n.push(i);else if(i.hasOwnProperty("toString")&&"function"==typeof i.toString)n.push(i.toString());else for(var a in i)i[a]&&n.push(a)}return n.join(" ")}ee(ie,["accept","alt","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),ee(ie,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]),ee(ie,["form","multiple","required"]),ee(re,["selected","value"]),ee(re,["cellPadding","cellSpacing"]),ee(re,["rowSpan","scope"]),ee(re,["colSpan","headers","rowSpan","scope"]),ee(re,["span"]),ee(re,["span"]),ee(re,["acceptCharset","action","encType","encType","method","noValidate","target"]),ee(re,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),ee(re,["alt","crossOrigin","height","src","srcSet","useMap","width"]);var se,le={},ue={"user-select":1};function ce(e,t){var n=function(){var e;if(!se){var t="undefined"!=typeof document?document:void 0,n="undefined"!=typeof navigator?navigator:void 0,r=null===(e=null==n?void 0:n.userAgent)||void 0===e?void 0:e.toLowerCase();se=t?{isWebkit:!(!t||!("WebkitAppearance"in t.documentElement.style)),isMoz:!!(r&&r.indexOf("firefox")>-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<s.length;a++){var l=s[a];if("string"==typeof l){var u=r.argsFromClassName(l);u&&ke(u,t,n,r)}else if(Array.isArray(l))ke(l,t,n,r);else for(var c in l)if(l.hasOwnProperty(c)){var d=l[c];if("selectors"===c){var f=l.selectors;for(var h in f)f.hasOwnProperty(h)&&Ce(n,t,h,f[h],r)}else"object"==typeof d||(o=c).indexOf(":global(")>=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;o<e.length;o++)switch(e[o]){case"(":r++;break;case")":r&&r--;break;case"\t":case" ":r||(o>n&&t.push(e.substring(n,o)),n=o+1)}return n<e.length&&t.push(e.substring(n)),t}(n):[n];0===r.length&&r.push(n),"!important"===r[r.length-1]&&(r=r.slice(0,-1).map((function(e){return e+" !important"}))),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 Se(e,t){return t<=0?"":1===t?e:e+Se(e,t-1)}function Fe(e,t){if(!t)return"";var n,r,o,i=[];for(var a in t)t.hasOwnProperty(a)&&a!==ye&&void 0!==t[a]&&i.push(a,t[a]);for(var s=0;s<i.length;s+=2)o=void 0,"-"!==(o=(n=i)[r=s]).charAt(0)&&(n[r]=le[o]=le[o]||o.replace(/([A-Z])/g,"-$1").toLowerCase()),he(i,s),be(e,i,s),ce(i,s);for(s=1;s<i.length;s+=4)i.splice(s,1,":",i[s],";");return i.join("")}function Ae(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=null!==(t=e.stylesheet)&&void 0!==t?t:q.getInstance(e.shadowConfig),i=ke(n,void 0,void 0,o),a=function(e,t){for(var n=[e.rtl?"rtl":"ltr"],r=!1,o=0,i=t.__order;o<i.length;o++){var a=i[o];n.push(a);var s=t[a];for(var l in s)s.hasOwnProperty(l)&&void 0!==s[l]&&(r=!0,n.push(l,s[l]))}return r?n.join(""):void 0}(e,i);if(a){var s={className:o.classNameFromKey(a),key:a,args:n};if(!s.className){s.className=o.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(i));for(var l=[],u=0,c=i.__order;u<c.length;u++){var d=c[u];l.push(d,Fe(e,i[d]))}s.rulesToInsert=l}return s}}function Te(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Ae.apply(void 0,function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e],t,!1));return r?(function(e,t,n,r){void 0===t&&(t=1);var o=null!=r?r:q.getInstance(n),i=e.className,a=e.key,s=e.args,l=e.rulesToInsert;if(l){for(var u=0;u<l.length;u+=2){var c=l[u+1];if(c){var d=l[u];d=d.replace(/&/g,Se(".".concat(e.className),t));var f="".concat(d,"{").concat(c,"}").concat(0===d.indexOf("@")?"}":"");o.insertRule(f)}}o.cacheClassName(i,a,s,l)}}(r,e.specificityMultiplier,e.shadowConfig,e.stylesheet),r.className):""}function Ie(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(e,t){var n=e instanceof Array?e:[e],r=t||{};B(n[0])&&(r.shadowConfig=n[0]),r.stylesheet=q.getInstance(r.shadowConfig);var o=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=[],o=[],i=e;return function e(t){for(var n=0,a=t;n<a.length;n++){var s=a[n];if(s&&!B(s))if("string"==typeof s)if(s.indexOf(" ")>=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;a<s.length;a++){var l=s[a];r[l]=o[l]||n.settings[l]||i[l]||We.settings[l]}return r},e.applyBatchedUpdates=function(t,n){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1,n||e._raiseChange()},e.observe=function(e){ze.push(e)},e.unobserve=function(e){ze=ze.filter((function(t){return t!==e}))},e._raiseChange=function(){e._suppressUpdates||ze.forEach((function(e){return e()}))},e}(),Ze=function(){return Ze=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ze.apply(this,arguments)},Ge="undefined"==typeof window?e.g:window,Ve=Ge&&Ge.CSPSettings&&Ge.CSPSettings.nonce,qe=((He=Ge.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]}).runState||(He=Ze({},He,{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}})),He.registeredThemableStyles||(He=Ze({},He,{registeredThemableStyles:[]})),Ge.__themeState__=He,He);function Je(e){qe.theme=e,function(){if(qe.theme){for(var e=[],t=0,n=qe.registeredThemableStyles;t<n.length;t++){var r=n[t];e.push(r.themableStyle)}e.length>0&&(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<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)mt(e||{},o[r]);return e}function mt(e,t,n){for(var r in void 0===n&&(n=[]),n.push(t),t)if(t.hasOwnProperty(r)&&"__proto__"!==r&&"constructor"!==r&&"prototype"!==r){var o=t[r];if("object"!=typeof o||null===o||Array.isArray(o))e[r]=o;else{var i=n.indexOf(o)>-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);a<s.length;a++){var l=s[a];i.fonts[l]=gt(i.fonts[l],t.defaultFontStyle,null===(o=null==t?void 0:t.fonts)||void 0===o?void 0:o[l])}return i}({palette:$e,effects:it,fonts:ht,spacing:yt,isInverted:n,disableGlobalClassNames:!1,semanticColors:_t($e,it,void 0,n,t),rtl:void 0},e)}var xt=Et({}),Ct=[],kt="theme";function wt(){var e,t,n,r=p();(null===(t=null==r?void 0:r.FabricConfig)||void 0===t?void 0:t.legacyTheme)?function(e,t){var n;void 0===t&&(t=!1),xt=Et(e,t),Je(a(a(a(a({},xt.palette),xt.semanticColors),xt.effects),function(e){for(var t={},n=0,r=Object.keys(e.fonts);n<r.length;n++)for(var o=r[n],i=e.fonts[o],a=0,s=Object.keys(i);a<s.length;a++){var l=s[a],u=o+l.charAt(0).toUpperCase()+l.slice(1),c=i[l];"fontSize"===l&&"number"==typeof c&&(c+="px"),t[u]=c}return t}(xt))),je.applySettings(((n={})[kt]=xt,n)),Ct.forEach((function(e){try{e(xt)}catch(e){}}))}(r.FabricConfig.legacyTheme):je.getSettings([kt]).theme||((null===(n=null==r?void 0:r.FabricConfig)||void 0===n?void 0:n.theme)&&(xt=Et(r.FabricConfig.theme)),je.applySettings(((e={})[kt]=xt,e)))}wt(),o("@fluentui/style-utilities","8.10.18"),wt();var St,Ft="data-is-focusable",At="data-focuszone-id",Tt="tabindex",It="data-no-vertical-wrap",Dt="data-no-horizontal-wrap",Bt=999999999,Ot=-999999999;function Pt(e,t){var n;"function"==typeof MouseEvent?n=new MouseEvent("click",{ctrlKey:null==t?void 0:t.ctrlKey,metaKey:null==t?void 0:t.metaKey,shiftKey:null==t?void 0:t.shiftKey,altKey:null==t?void 0:t.altKey,bubbles:null==t?void 0:t.bubbles,cancelable:null==t?void 0:t.cancelable}):(n=document.createEvent("MouseEvents")).initMouseEvent("click",!!t&&t.bubbles,!!t&&t.cancelable,window,0,0,0,0,0,!!t&&t.ctrlKey,!!t&&t.altKey,!!t&&t.shiftKey,!!t&&t.metaKey,0,null),e.dispatchEvent(n)}var Rt={},Nt=new Set,Lt=["text","number","password","email","tel","url","search","textarea"],Mt=!1,Kt=function(e){function t(n){var r,o,i,a,d,f=this;(f=e.call(this,n)||this)._root=l.createRef(),f._mergedRef=(d={refs:[]},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return d.resolver&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(d.refs,e)||(d.resolver=function(e){return function(t){for(var n=0,r=e.refs;n<r.length;n++){var o=r[n];"function"==typeof o?o(t):o&&(o.current=t)}}}(d)),d.refs=e,d.resolver}),f._onFocus=function(e){if(!f._portalContainsElement(e.target)){var t,n=f.props,r=n.onActiveElementChanged,o=n.doNotAllowFocusEventToPropagate,i=n.stopFocusPropagation,a=n.onFocusNotification,s=n.onFocus,l=n.shouldFocusInnerElementWhenReceivedFocus,u=n.defaultTabbableElement,d=f._isImmediateDescendantOfZone(e.target);if(d)t=e.target;else for(var h=e.target;h&&h!==f._root.current;){if(k(h,void 0,f._inShadowRoot)&&f._isImmediateDescendantOfZone(h)){t=h;break}h=c(h,Mt)}if(l&&e.target===f._root.current){var p=u&&"function"==typeof u&&f._root.current&&u(f._root.current);p&&k(p,void 0,f._inShadowRoot)?(t=p,p.focus()):(f.focus(!0),f._activeElement&&(t=null))}var v=!f._activeElement;t&&t!==f._activeElement&&((d||v)&&f._setFocusAlignment(t,!0,!0),f._activeElement=t,v&&f._updateTabIndexes()),r&&r(f._activeElement,e),(i||o)&&e.stopPropagation(),s?s(e):a&&a()}},f._onBlur=function(){f._setParkedFocus(!1)},f._onMouseDown=function(e){if(!f._portalContainsElement(e.target)&&!f.props.disabled){for(var t=e.target,n=[];t&&t!==f._root.current;)n.push(t),t=c(t,Mt);for(;n.length&&((t=n.pop())&&k(t,void 0,f._inShadowRoot)&&f._setActiveElement(t,!0),!w(t)););}},f._onKeyDown=function(e,t){if(!f._portalContainsElement(e.target)){var n=f.props,r=n.direction,o=n.disabled,i=n.isInnerZoneKeystroke,a=n.pagingSupportDisabled,l=n.shouldEnterInnerZone;if(!(o||(f.props.onKeyDown&&f.props.onKeyDown(e),e.isDefaultPrevented()||f._getDocument().activeElement===f._root.current&&f._isInnerZone))){if((l&&l(e)||i&&i(e))&&f._isImmediateDescendantOfZone(e.target)){var c=f._getFirstInnerZone();if(c){if(!c.focus(!0))return}else{if(!S(e.target))return;if(!f.focusElement(E(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case 32:if(f._shouldRaiseClicksOnSpace&&f._tryInvokeClickForFocusable(e.target,e))break;return;case 37:if(r!==s.vertical&&(f._preventDefaultWhenHandled(e),f._moveFocusLeft(t)))break;return;case 39:if(r!==s.vertical&&(f._preventDefaultWhenHandled(e),f._moveFocusRight(t)))break;return;case 38:if(r!==s.horizontal&&(f._preventDefaultWhenHandled(e),f._moveFocusUp()))break;return;case 40:if(r!==s.horizontal&&(f._preventDefaultWhenHandled(e),f._moveFocusDown()))break;return;case 34:if(!a&&f._moveFocusPaging(!0))break;return;case 33:if(!a&&f._moveFocusPaging(!1))break;return;case 9:if(f.props.allowTabKey||f.props.handleTabKey===u.all||f.props.handleTabKey===u.inputOnly&&f._isElementInput(e.target)){var d=!1;if(f._processingTabKey=!0,d=r!==s.vertical&&f._shouldWrapFocus(f._activeElement,Dt)?(M(t)?!e.shiftKey:e.shiftKey)?f._moveFocusLeft(t):f._moveFocusRight(t):e.shiftKey?f._moveFocusUp():f._moveFocusDown(),f._processingTabKey=!1,d)break;f.props.shouldResetActiveElementWhenTabFromZone&&(f._activeElement=null)}return;case 36:if(f._isContentEditableElement(e.target)||f._isElementInput(e.target)&&!f._shouldInputLoseFocus(e.target,!1))return!1;var h=f._root.current&&f._root.current.firstChild;if(f._root.current&&h&&f.focusElement(E(f._root.current,h,!0)))break;return;case 35:if(f._isContentEditableElement(e.target)||f._isElementInput(e.target)&&!f._shouldInputLoseFocus(e.target,!0))return!1;var p=f._root.current&&f._root.current.lastChild;if(f._root.current&&f.focusElement(y(f._root.current,p,!0,!0,!0)))break;return;case 13:if(f._shouldRaiseClicksOnEnter&&f._tryInvokeClickForFocusable(e.target,e))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},f._getHorizontalDistanceFromCenter=function(e,t,n){var r=f._focusAlignment.left||f._focusAlignment.x||0,o=Math.floor(n.top),i=Math.floor(t.bottom),a=Math.floor(n.bottom),s=Math.floor(t.top);return e&&o>i||!e&&a<s?r>=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<o.length;r++){var i=o[r],a=n.children[Math.min(i,n.children.length-1)];if(!a)break;n=a}return k(n)&&x(n)?n:E(e,n,!0)||y(e,n)}(t,this._lastIndexPath);r?(this._setActiveElement(r,!0),r.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete Rt[this._id],this._isInnerZone||(Nt.delete(this),this._root.current&&this._root.current.removeEventListener("keydown",t._onKeyDownCapture,!0)),this._root.current&&this._root.current.removeEventListener("blur",this._onBlur,!0),this._activeElement=null,this._defaultFocusElement=null},t.prototype.render=function(){var e=this,t=this.props,n=t.as,r=t.elementType,o=t.rootProps,i=t.ariaDescribedBy,s=t.ariaLabelledBy,u=t.className,c=function(e,t,n){for(var r=Array.isArray(t),o={},i=0,a=Object.keys(e);i<a.length;i++){var s=a[i];!(!r&&t[s]||r&&t.indexOf(s)>=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(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(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=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=$(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<i)&&(i=d,a=o),i>=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?e._shouldWrapFocus(e._activeElement,It)?Bt:Ot:((-1===t&&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.bottom.toFixed(3)):parseFloat(o.bottom.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))<parseFloat(r.bottom.toFixed(3)))&&o.left>=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<g-l)break;m>-1&&(e&&d>a?(a=d,o=m,i=n):!e&&h<s?(s=h,o=m,i=n):(-1===o||m<=o)&&(o=m,i=n))}}while(n);var _=!1;if(i&&i!==this._activeElement)_=!0,this.focusElement(i),this._setFocusAlignment(i,!1,!0);else if(this.props.isCircularNavigation&&t)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 _},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===s.bidirectional&&(!this._focusAlignment||t||n)){var r=e.getBoundingClientRect(),o=r.left+r.width/2,i=r.top+r.height/2;this._focusAlignment||(this._focusAlignment={left:o,top:i}),t&&(this._focusAlignment.left=o),n&&(this._focusAlignment.top=i)}},t.prototype._isImmediateDescendantOfZone=function(e){return this._getOwnerZone(e)===this._root.current},t.prototype._getOwnerZone=function(e){for(var t=c(e,Mt);t&&t!==this._root.current&&t!==this._getDocument().body;){if(w(t))return t;t=c(t,Mt)}return t},t.prototype._updateTabIndexes=function(e){!this._activeElement&&this.props.defaultTabbableElement&&"function"==typeof this.props.defaultTabbableElement&&(this._activeElement=this.props.defaultTabbableElement(this._root.current)),!e&&this._root.current&&(this._defaultFocusElement=null,e=this._root.current,this._activeElement&&!$(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!k(this._activeElement,void 0,this._inShadowRoot)&&(this._activeElement=null);for(var t=e&&e.children,n=0;t&&n<t.length;n++){var r=t[n];w(r)?"true"===r.getAttribute(Ft)&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"0"))):(r.getAttribute&&"false"===r.getAttribute(Ft)&&r.setAttribute(Tt,"-1"),k(r,void 0,this._inShadowRoot)?this.props.disabled?r.setAttribute(Tt,"-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(Tt)&&r.setAttribute(Tt,"0")):"svg"===r.tagName&&"false"!==r.getAttribute("focusable")&&r.setAttribute("focusable","false")),this._updateTabIndexes(r)}},t.prototype._isContentEditableElement=function(e){return e&&"true"===e.getAttribute("contenteditable")},t.prototype._isElementInput=function(e){return!(!e||!e.tagName||"input"!==e.tagName.toLowerCase()&&"textarea"!==e.tagName.toLowerCase())},t.prototype._shouldInputLoseFocus=function(e,t){if(!this._processingTabKey&&e&&e.type&&Lt.indexOf(e.type.toLowerCase())>-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&&(t=e,n=this._root.current,null!==(r=d(t,(function(e){return n===e||e.hasAttribute(Be)}),undefined))&&r.hasAttribute(Be));var t,n,r},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}(); |
define(["require", "exports", "@fluentui/set-version"], function (require, exports, set_version_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
(0, set_version_1.setVersion)('@fluentui/react-focus', '8.9.9'); | ||
(0, set_version_1.setVersion)('@fluentui/react-focus', '8.9.10'); | ||
}); | ||
//# sourceMappingURL=version.js.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
var set_version_1 = require("@fluentui/set-version"); | ||
(0, set_version_1.setVersion)('@fluentui/react-focus', '8.9.9'); | ||
(0, set_version_1.setVersion)('@fluentui/react-focus', '8.9.10'); | ||
//# sourceMappingURL=version.js.map |
// Do not modify this file; it is generated as part of publish. | ||
// The checked in version is a placeholder only and will not be updated. | ||
import { setVersion } from '@fluentui/set-version'; | ||
setVersion('@fluentui/react-focus', '8.9.9'); | ||
setVersion('@fluentui/react-focus', '8.9.10'); | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@fluentui/react-focus", | ||
"version": "8.9.9", | ||
"version": "8.9.10", | ||
"description": "Focus helpers to be used in React applications.", | ||
@@ -42,4 +42,4 @@ "main": "lib-commonjs/index.js", | ||
"@fluentui/set-version": "^8.2.23", | ||
"@fluentui/style-utilities": "^8.10.17", | ||
"@fluentui/utilities": "^8.15.12", | ||
"@fluentui/style-utilities": "^8.10.18", | ||
"@fluentui/utilities": "^8.15.13", | ||
"tslib": "^2.1.0" | ||
@@ -46,0 +46,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
910447
9673