@qssolutions/ssas-registration-form 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,5 +25,5 @@ var SSASFormWebComponent=function(e){"use strict";var t="undefined"!=typeof glob
25
25
  * Released under MIT license <https://lodash.com/license>
26
26
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
27
27
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
28
- */!function(e,n){(function(){var r,o="Expected a function",i="__lodash_hash_undefined__",a="__lodash_placeholder__",l=16,s=32,u=64,c=128,d=256,f=1/0,p=9007199254740991,h=NaN,m=4294967295,g=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",s],["partialRight",u],["rearg",d]],v="[object Arguments]",y="[object Array]",b="[object Boolean]",_="[object Date]",C="[object Error]",S="[object Function]",w="[object GeneratorFunction]",k="[object Map]",x="[object Number]",E="[object Object]",F="[object Promise]",I="[object RegExp]",T="[object Set]",P="[object String]",R="[object Symbol]",D="[object WeakMap]",M="[object ArrayBuffer]",O="[object DataView]",A="[object Float32Array]",L="[object Float64Array]",N="[object Int8Array]",B="[object Int16Array]",z="[object Int32Array]",H="[object Uint8Array]",V="[object Uint8ClampedArray]",W="[object Uint16Array]",U="[object Uint32Array]",j=/\b__p \+= '';/g,K=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,$=/[&<>"']/g,Q=RegExp(G.source),Z=RegExp($.source),Y=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,X=/<%=([\s\S]+?)%>/g,ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,te=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,re=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(re.source),ie=/^\s+/,ae=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,ce=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,he=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,ye=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ce=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",ke="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xe="\\u2700-\\u27bf",Ee="a-z\\xdf-\\xf6\\xf8-\\xff",Fe="A-Z\\xc0-\\xd6\\xd8-\\xde",Ie="\\ufe0e\\ufe0f",Te="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pe="['’]",Re="["+we+"]",De="["+Te+"]",Me="["+ke+"]",Oe="\\d+",Ae="["+xe+"]",Le="["+Ee+"]",Ne="[^"+we+Te+Oe+xe+Ee+Fe+"]",Be="\\ud83c[\\udffb-\\udfff]",ze="[^"+we+"]",He="(?:\\ud83c[\\udde6-\\uddff]){2}",Ve="[\\ud800-\\udbff][\\udc00-\\udfff]",We="["+Fe+"]",Ue="\\u200d",je="(?:"+Le+"|"+Ne+")",Ke="(?:"+We+"|"+Ne+")",qe="(?:['’](?:d|ll|m|re|s|t|ve))?",Ge="(?:['’](?:D|LL|M|RE|S|T|VE))?",$e="(?:"+Me+"|"+Be+")"+"?",Qe="["+Ie+"]?",Ze=Qe+$e+("(?:"+Ue+"(?:"+[ze,He,Ve].join("|")+")"+Qe+$e+")*"),Ye="(?:"+[Ae,He,Ve].join("|")+")"+Ze,Je="(?:"+[ze+Me+"?",Me,He,Ve,Re].join("|")+")",Xe=RegExp(Pe,"g"),et=RegExp(Me,"g"),tt=RegExp(Be+"(?="+Be+")|"+Je+Ze,"g"),nt=RegExp([We+"?"+Le+"+"+qe+"(?="+[De,We,"$"].join("|")+")",Ke+"+"+Ge+"(?="+[De,We+je,"$"].join("|")+")",We+"?"+je+"+"+qe,We+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Oe,Ye].join("|"),"g"),rt=RegExp("["+Ue+we+ke+Ie+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,it=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],at=-1,lt={};lt[A]=lt[L]=lt[N]=lt[B]=lt[z]=lt[H]=lt[V]=lt[W]=lt[U]=!0,lt[v]=lt[y]=lt[M]=lt[b]=lt[O]=lt[_]=lt[C]=lt[S]=lt[k]=lt[x]=lt[E]=lt[I]=lt[T]=lt[P]=lt[D]=!1;var st={};st[v]=st[y]=st[M]=st[O]=st[b]=st[_]=st[A]=st[L]=st[N]=st[B]=st[z]=st[k]=st[x]=st[E]=st[I]=st[T]=st[P]=st[R]=st[H]=st[V]=st[W]=st[U]=!0,st[C]=st[S]=st[D]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ct=parseFloat,dt=parseInt,ft="object"==typeof t&&t&&t.Object===Object&&t,pt="object"==typeof self&&self&&self.Object===Object&&self,ht=ft||pt||Function("return this")(),mt=n&&!n.nodeType&&n,gt=mt&&e&&!e.nodeType&&e,vt=gt&&gt.exports===mt,yt=vt&&ft.process,bt=function(){try{var e=gt&&gt.require&&gt.require("util").types;return e||yt&&yt.binding&&yt.binding("util")}catch(e){}}(),_t=bt&&bt.isArrayBuffer,Ct=bt&&bt.isDate,St=bt&&bt.isMap,wt=bt&&bt.isRegExp,kt=bt&&bt.isSet,xt=bt&&bt.isTypedArray;function Et(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ft(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function It(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Tt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Pt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Rt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Dt(e,t){return!!(null==e?0:e.length)&&Wt(e,t,0)>-1}function Mt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Ot(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function At(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Lt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Nt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Bt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var zt=qt("length");function Ht(e,t,n){var r;return n(e,function(e,n,o){if(t(e,n,o))return r=n,!1}),r}function Vt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Wt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Vt(e,jt,n)}function Ut(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function jt(e){return e!=e}function Kt(e,t){var n=null==e?0:e.length;return n?Qt(e,t)/n:h}function qt(e){return function(t){return null==t?r:t[e]}}function Gt(e){return function(t){return null==e?r:e[t]}}function $t(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}function Qt(e,t){for(var n,o=-1,i=e.length;++o<i;){var a=t(e[o]);a!==r&&(n=n===r?a:n+a)}return n}function Zt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Yt(e){return e?e.slice(0,mn(e)+1).replace(ie,""):e}function Jt(e){return function(t){return e(t)}}function Xt(e,t){return Ot(t,function(t){return e[t]})}function en(e,t){return e.has(t)}function tn(e,t){for(var n=-1,r=e.length;++n<r&&Wt(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length;n--&&Wt(t,e[n],0)>-1;);return n}var rn=Gt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),on=Gt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function an(e){return"\\"+ut[e]}function ln(e){return rt.test(e)}function sn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function un(e,t){return function(n){return e(t(n))}}function cn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var l=e[n];l!==t&&l!==a||(e[n]=a,i[o++]=n)}return i}function dn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function fn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function pn(e){return ln(e)?function(e){var t=tt.lastIndex=0;for(;tt.test(e);)++t;return t}(e):zt(e)}function hn(e){return ln(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.split("")}(e)}function mn(e){for(var t=e.length;t--&&ae.test(e.charAt(t)););return t}var gn=Gt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var vn=function e(t){var n,ae=(t=null==t?ht:vn.defaults(ht.Object(),t,vn.pick(ht,it))).Array,we=t.Date,ke=t.Error,xe=t.Function,Ee=t.Math,Fe=t.Object,Ie=t.RegExp,Te=t.String,Pe=t.TypeError,Re=ae.prototype,De=xe.prototype,Me=Fe.prototype,Oe=t["__core-js_shared__"],Ae=De.toString,Le=Me.hasOwnProperty,Ne=0,Be=(n=/[^.]+$/.exec(Oe&&Oe.keys&&Oe.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",ze=Me.toString,He=Ae.call(Fe),Ve=ht._,We=Ie("^"+Ae.call(Le).replace(re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue=vt?t.Buffer:r,je=t.Symbol,Ke=t.Uint8Array,qe=Ue?Ue.allocUnsafe:r,Ge=un(Fe.getPrototypeOf,Fe),$e=Fe.create,Qe=Me.propertyIsEnumerable,Ze=Re.splice,Ye=je?je.isConcatSpreadable:r,Je=je?je.iterator:r,tt=je?je.toStringTag:r,rt=function(){try{var e=pi(Fe,"defineProperty");return e({},"",{}),e}catch(e){}}(),ut=t.clearTimeout!==ht.clearTimeout&&t.clearTimeout,ft=we&&we.now!==ht.Date.now&&we.now,pt=t.setTimeout!==ht.setTimeout&&t.setTimeout,mt=Ee.ceil,gt=Ee.floor,yt=Fe.getOwnPropertySymbols,bt=Ue?Ue.isBuffer:r,zt=t.isFinite,Gt=Re.join,yn=un(Fe.keys,Fe),bn=Ee.max,_n=Ee.min,Cn=we.now,Sn=t.parseInt,wn=Ee.random,kn=Re.reverse,xn=pi(t,"DataView"),En=pi(t,"Map"),Fn=pi(t,"Promise"),In=pi(t,"Set"),Tn=pi(t,"WeakMap"),Pn=pi(Fe,"create"),Rn=Tn&&new Tn,Dn={},Mn=zi(xn),On=zi(En),An=zi(Fn),Ln=zi(In),Nn=zi(Tn),Bn=je?je.prototype:r,zn=Bn?Bn.valueOf:r,Hn=Bn?Bn.toString:r;function Vn(e){if(nl(e)&&!Ka(e)&&!(e instanceof Kn)){if(e instanceof jn)return e;if(Le.call(e,"__wrapped__"))return Hi(e)}return new jn(e)}var Wn=function(){function e(){}return function(t){if(!tl(t))return{};if($e)return $e(t);e.prototype=t;var n=new e;return e.prototype=r,n}}();function Un(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function Kn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function $n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Qn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new $n;++t<n;)this.add(e[t])}function Zn(e){var t=this.__data__=new Gn(e);this.size=t.size}function Yn(e,t){var n=Ka(e),r=!n&&ja(e),o=!n&&!r&&Qa(e),i=!n&&!r&&!o&&cl(e),a=n||r||o||i,l=a?Zt(e.length,Te):[],s=l.length;for(var u in e)!t&&!Le.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||_i(u,s))||l.push(u);return l}function Jn(e){var t=e.length;return t?e[Qr(0,t-1)]:r}function Xn(e,t){return Li(Ro(e),sr(t,0,e.length))}function er(e){return Li(Ro(e))}function tr(e,t,n){(n!==r&&!Va(e[t],n)||n===r&&!(t in e))&&ar(e,t,n)}function nr(e,t,n){var o=e[t];Le.call(e,t)&&Va(o,n)&&(n!==r||t in e)||ar(e,t,n)}function rr(e,t){for(var n=e.length;n--;)if(Va(e[n][0],t))return n;return-1}function or(e,t,n,r){return pr(e,function(e,o,i){t(r,e,n(e),i)}),r}function ir(e,t){return e&&Do(t,Dl(t),e)}function ar(e,t,n){"__proto__"==t&&rt?rt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function lr(e,t){for(var n=-1,o=t.length,i=ae(o),a=null==e;++n<o;)i[n]=a?r:Fl(e,t[n]);return i}function sr(e,t,n){return e==e&&(n!==r&&(e=e<=n?e:n),t!==r&&(e=e>=t?e:t)),e}function ur(e,t,n,o,i,a){var l,s=1&t,u=2&t,c=4&t;if(n&&(l=i?n(e,o,i,a):n(e)),l!==r)return l;if(!tl(e))return e;var d=Ka(e);if(d){if(l=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return Ro(e,l)}else{var f=gi(e),p=f==S||f==w;if(Qa(e))return xo(e,s);if(f==E||f==v||p&&!i){if(l=u||p?{}:yi(e),!s)return u?function(e,t){return Do(e,mi(e),t)}(e,function(e,t){return e&&Do(t,Ml(t),e)}(l,e)):function(e,t){return Do(e,hi(e),t)}(e,ir(l,e))}else{if(!st[f])return i?e:{};l=function(e,t,n){var r=e.constructor;switch(t){case M:return Eo(e);case b:case _:return new r(+e);case O:return function(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case A:case L:case N:case B:case z:case H:case V:case W:case U:return Fo(e,n);case k:return new r;case x:case P:return new r(e);case I:return function(e){var t=new e.constructor(e.source,he.exec(e));return t.lastIndex=e.lastIndex,t}(e);case T:return new r;case R:return o=e,zn?Fe(zn.call(o)):{}}var o}(e,f,s)}}a||(a=new Zn);var h=a.get(e);if(h)return h;a.set(e,l),ll(e)?e.forEach(function(r){l.add(ur(r,t,n,r,e,a))}):rl(e)&&e.forEach(function(r,o){l.set(o,ur(r,t,n,o,e,a))});var m=d?r:(c?u?ai:ii:u?Ml:Dl)(e);return It(m||e,function(r,o){m&&(r=e[o=r]),nr(l,o,ur(r,t,n,o,e,a))}),l}function cr(e,t,n){var o=n.length;if(null==e)return!o;for(e=Fe(e);o--;){var i=n[o],a=t[i],l=e[i];if(l===r&&!(i in e)||!a(l))return!1}return!0}function dr(e,t,n){if("function"!=typeof e)throw new Pe(o);return Di(function(){e.apply(r,n)},t)}function fr(e,t,n,r){var o=-1,i=Dt,a=!0,l=e.length,s=[],u=t.length;if(!l)return s;n&&(t=Ot(t,Jt(n))),r?(i=Mt,a=!1):t.length>=200&&(i=en,a=!1,t=new Qn(t));e:for(;++o<l;){var c=e[o],d=null==n?c:n(c);if(c=r||0!==c?c:0,a&&d==d){for(var f=u;f--;)if(t[f]===d)continue e;s.push(c)}else i(t,d,r)||s.push(c)}return s}Vn.templateSettings={escape:Y,evaluate:J,interpolate:X,variable:"",imports:{_:Vn}},Vn.prototype=Un.prototype,Vn.prototype.constructor=Vn,jn.prototype=Wn(Un.prototype),jn.prototype.constructor=jn,Kn.prototype=Wn(Un.prototype),Kn.prototype.constructor=Kn,qn.prototype.clear=function(){this.__data__=Pn?Pn(null):{},this.size=0},qn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},qn.prototype.get=function(e){var t=this.__data__;if(Pn){var n=t[e];return n===i?r:n}return Le.call(t,e)?t[e]:r},qn.prototype.has=function(e){var t=this.__data__;return Pn?t[e]!==r:Le.call(t,e)},qn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Pn&&t===r?i:t,this},Gn.prototype.clear=function(){this.__data__=[],this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=rr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ze.call(t,n,1),--this.size,!0)},Gn.prototype.get=function(e){var t=this.__data__,n=rr(t,e);return n<0?r:t[n][1]},Gn.prototype.has=function(e){return rr(this.__data__,e)>-1},Gn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},$n.prototype.clear=function(){this.size=0,this.__data__={hash:new qn,map:new(En||Gn),string:new qn}},$n.prototype.delete=function(e){var t=di(this,e).delete(e);return this.size-=t?1:0,t},$n.prototype.get=function(e){return di(this,e).get(e)},$n.prototype.has=function(e){return di(this,e).has(e)},$n.prototype.set=function(e,t){var n=di(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Qn.prototype.add=Qn.prototype.push=function(e){return this.__data__.set(e,i),this},Qn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Zn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Zn.prototype.get=function(e){return this.__data__.get(e)},Zn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Gn){var r=n.__data__;if(!En||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new $n(r)}return n.set(e,t),this.size=n.size,this};var pr=Ao(Cr),hr=Ao(Sr,!0);function mr(e,t){var n=!0;return pr(e,function(e,r,o){return n=!!t(e,r,o)}),n}function gr(e,t,n){for(var o=-1,i=e.length;++o<i;){var a=e[o],l=t(a);if(null!=l&&(s===r?l==l&&!ul(l):n(l,s)))var s=l,u=a}return u}function vr(e,t){var n=[];return pr(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}function yr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=bi),o||(o=[]);++i<a;){var l=e[i];t>0&&n(l)?t>1?yr(l,t-1,n,r,o):At(o,l):r||(o[o.length]=l)}return o}var br=Lo(),_r=Lo(!0);function Cr(e,t){return e&&br(e,t,Dl)}function Sr(e,t){return e&&_r(e,t,Dl)}function wr(e,t){return Rt(t,function(t){return Ja(e[t])})}function kr(e,t){for(var n=0,o=(t=Co(t,e)).length;null!=e&&n<o;)e=e[Bi(t[n++])];return n&&n==o?e:r}function xr(e,t,n){var r=t(e);return Ka(e)?r:At(r,n(e))}function Er(e){return null==e?e===r?"[object Undefined]":"[object Null]":tt&&tt in Fe(e)?function(e){var t=Le.call(e,tt),n=e[tt];try{e[tt]=r;var o=!0}catch(e){}var i=ze.call(e);o&&(t?e[tt]=n:delete e[tt]);return i}(e):function(e){return ze.call(e)}(e)}function Fr(e,t){return e>t}function Ir(e,t){return null!=e&&Le.call(e,t)}function Tr(e,t){return null!=e&&t in Fe(e)}function Pr(e,t,n){for(var o=n?Mt:Dt,i=e[0].length,a=e.length,l=a,s=ae(a),u=1/0,c=[];l--;){var d=e[l];l&&t&&(d=Ot(d,Jt(t))),u=_n(d.length,u),s[l]=!n&&(t||i>=120&&d.length>=120)?new Qn(l&&d):r}d=e[0];var f=-1,p=s[0];e:for(;++f<i&&c.length<u;){var h=d[f],m=t?t(h):h;if(h=n||0!==h?h:0,!(p?en(p,m):o(c,m,n))){for(l=a;--l;){var g=s[l];if(!(g?en(g,m):o(e[l],m,n)))continue e}p&&p.push(m),c.push(h)}}return c}function Rr(e,t,n){var o=null==(e=Ti(e,t=Co(t,e)))?e:e[Bi(Yi(t))];return null==o?r:Et(o,e,n)}function Dr(e){return nl(e)&&Er(e)==v}function Mr(e,t,n,o,i){return e===t||(null==e||null==t||!nl(e)&&!nl(t)?e!=e&&t!=t:function(e,t,n,o,i,a){var l=Ka(e),s=Ka(t),u=l?y:gi(e),c=s?y:gi(t),d=(u=u==v?E:u)==E,f=(c=c==v?E:c)==E,p=u==c;if(p&&Qa(e)){if(!Qa(t))return!1;l=!0,d=!1}if(p&&!d)return a||(a=new Zn),l||cl(e)?ri(e,t,n,o,i,a):function(e,t,n,r,o,i,a){switch(n){case O:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case M:return!(e.byteLength!=t.byteLength||!i(new Ke(e),new Ke(t)));case b:case _:case x:return Va(+e,+t);case C:return e.name==t.name&&e.message==t.message;case I:case P:return e==t+"";case k:var l=sn;case T:var s=1&r;if(l||(l=dn),e.size!=t.size&&!s)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var c=ri(l(e),l(t),r,o,i,a);return a.delete(e),c;case R:if(zn)return zn.call(e)==zn.call(t)}return!1}(e,t,u,n,o,i,a);if(!(1&n)){var h=d&&Le.call(e,"__wrapped__"),m=f&&Le.call(t,"__wrapped__");if(h||m){var g=h?e.value():e,S=m?t.value():t;return a||(a=new Zn),i(g,S,n,o,a)}}if(!p)return!1;return a||(a=new Zn),function(e,t,n,o,i,a){var l=1&n,s=ii(e),u=s.length,c=ii(t),d=c.length;if(u!=d&&!l)return!1;var f=u;for(;f--;){var p=s[f];if(!(l?p in t:Le.call(t,p)))return!1}var h=a.get(e),m=a.get(t);if(h&&m)return h==t&&m==e;var g=!0;a.set(e,t),a.set(t,e);var v=l;for(;++f<u;){var y=e[p=s[f]],b=t[p];if(o)var _=l?o(b,y,p,t,e,a):o(y,b,p,e,t,a);if(!(_===r?y===b||i(y,b,n,o,a):_)){g=!1;break}v||(v="constructor"==p)}if(g&&!v){var C=e.constructor,S=t.constructor;C==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof C&&C instanceof C&&"function"==typeof S&&S instanceof S||(g=!1)}return a.delete(e),a.delete(t),g}(e,t,n,o,i,a)}(e,t,n,o,Mr,i))}function Or(e,t,n,o){var i=n.length,a=i,l=!o;if(null==e)return!a;for(e=Fe(e);i--;){var s=n[i];if(l&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){var u=(s=n[i])[0],c=e[u],d=s[1];if(l&&s[2]){if(c===r&&!(u in e))return!1}else{var f=new Zn;if(o)var p=o(c,d,u,e,t,f);if(!(p===r?Mr(d,c,3,o,f):p))return!1}}return!0}function Ar(e){return!(!tl(e)||(t=e,Be&&Be in t))&&(Ja(e)?We:ve).test(zi(e));var t}function Lr(e){return"function"==typeof e?e:null==e?os:"object"==typeof e?Ka(e)?Wr(e[0],e[1]):Vr(e):ps(e)}function Nr(e){if(!xi(e))return yn(e);var t=[];for(var n in Fe(e))Le.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Br(e){if(!tl(e))return function(e){var t=[];if(null!=e)for(var n in Fe(e))t.push(n);return t}(e);var t=xi(e),n=[];for(var r in e)("constructor"!=r||!t&&Le.call(e,r))&&n.push(r);return n}function zr(e,t){return e<t}function Hr(e,t){var n=-1,r=Ga(e)?ae(e.length):[];return pr(e,function(e,o,i){r[++n]=t(e,o,i)}),r}function Vr(e){var t=fi(e);return 1==t.length&&t[0][2]?Fi(t[0][0],t[0][1]):function(n){return n===e||Or(n,e,t)}}function Wr(e,t){return Si(e)&&Ei(t)?Fi(Bi(e),t):function(n){var o=Fl(n,e);return o===r&&o===t?Il(n,e):Mr(t,o,3)}}function Ur(e,t,n,o,i){e!==t&&br(t,function(a,l){if(i||(i=new Zn),tl(a))!function(e,t,n,o,i,a,l){var s=Pi(e,n),u=Pi(t,n),c=l.get(u);if(c)return void tr(e,n,c);var d=a?a(s,u,n+"",e,t,l):r,f=d===r;if(f){var p=Ka(u),h=!p&&Qa(u),m=!p&&!h&&cl(u);d=u,p||h||m?Ka(s)?d=s:$a(s)?d=Ro(s):h?(f=!1,d=xo(u,!0)):m?(f=!1,d=Fo(u,!0)):d=[]:il(u)||ja(u)?(d=s,ja(s)?d=yl(s):tl(s)&&!Ja(s)||(d=yi(u))):f=!1}f&&(l.set(u,d),i(d,u,o,a,l),l.delete(u));tr(e,n,d)}(e,t,l,n,Ur,o,i);else{var s=o?o(Pi(e,l),a,l+"",e,t,i):r;s===r&&(s=a),tr(e,l,s)}},Ml)}function jr(e,t){var n=e.length;if(n)return _i(t+=t<0?n:0,n)?e[t]:r}function Kr(e,t,n){t=t.length?Ot(t,function(e){return Ka(e)?function(t){return kr(t,1===e.length?e[0]:e)}:e}):[os];var r=-1;t=Ot(t,Jt(ci()));var o=Hr(e,function(e,n,o){var i=Ot(t,function(t){return t(e)});return{criteria:i,index:++r,value:e}});return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,l=n.length;for(;++r<a;){var s=Io(o[r],i[r]);if(s)return r>=l?s:s*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)})}function qr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],l=kr(e,a);n(l,a)&&eo(i,Co(a,e),l)}return i}function Gr(e,t,n,r){var o=r?Ut:Wt,i=-1,a=t.length,l=e;for(e===t&&(t=Ro(t)),n&&(l=Ot(e,Jt(n)));++i<a;)for(var s=0,u=t[i],c=n?n(u):u;(s=o(l,c,s,r))>-1;)l!==e&&Ze.call(l,s,1),Ze.call(e,s,1);return e}function $r(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;_i(o)?Ze.call(e,o,1):po(e,o)}}return e}function Qr(e,t){return e+gt(wn()*(t-e+1))}function Zr(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Yr(e,t){return Mi(Ii(e,t,os),e+"")}function Jr(e){return Jn(Vl(e))}function Xr(e,t){var n=Vl(e);return Li(n,sr(t,0,n.length))}function eo(e,t,n,o){if(!tl(e))return e;for(var i=-1,a=(t=Co(t,e)).length,l=a-1,s=e;null!=s&&++i<a;){var u=Bi(t[i]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=l){var d=s[u];(c=o?o(d,u,s):r)===r&&(c=tl(d)?d:_i(t[i+1])?[]:{})}nr(s,u,c),s=s[u]}return e}var to=Rn?function(e,t){return Rn.set(e,t),e}:os,no=rt?function(e,t){return rt(e,"toString",{configurable:!0,enumerable:!1,value:ts(t),writable:!0})}:os;function ro(e){return Li(Vl(e))}function oo(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=ae(o);++r<o;)i[r]=e[r+t];return i}function io(e,t){var n;return pr(e,function(e,r,o){return!(n=t(e,r,o))}),!!n}function ao(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!ul(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return lo(e,t,os,n)}function lo(e,t,n,o){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var l=(t=n(t))!=t,s=null===t,u=ul(t),c=t===r;i<a;){var d=gt((i+a)/2),f=n(e[d]),p=f!==r,h=null===f,m=f==f,g=ul(f);if(l)var v=o||m;else v=c?m&&(o||p):s?m&&p&&(o||!h):u?m&&p&&!h&&(o||!g):!h&&!g&&(o?f<=t:f<t);v?i=d+1:a=d}return _n(a,4294967294)}function so(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],l=t?t(a):a;if(!n||!Va(l,s)){var s=l;i[o++]=0===a?0:a}}return i}function uo(e){return"number"==typeof e?e:ul(e)?h:+e}function co(e){if("string"==typeof e)return e;if(Ka(e))return Ot(e,co)+"";if(ul(e))return Hn?Hn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function fo(e,t,n){var r=-1,o=Dt,i=e.length,a=!0,l=[],s=l;if(n)a=!1,o=Mt;else if(i>=200){var u=t?null:Yo(e);if(u)return dn(u);a=!1,o=en,s=new Qn}else s=t?[]:l;e:for(;++r<i;){var c=e[r],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d==d){for(var f=s.length;f--;)if(s[f]===d)continue e;t&&s.push(d),l.push(c)}else o(s,d,n)||(s!==l&&s.push(d),l.push(c))}return l}function po(e,t){var n=-1,r=(t=Co(t,e)).length;if(!r)return!0;for(var o=null==e||"object"!=typeof e&&"function"!=typeof e;++n<r;){var i=t[n];if("string"==typeof i){if("__proto__"===i&&!Le.call(e,"__proto__"))return!1;if("constructor"===i&&n+1<r&&"string"==typeof t[n+1]&&"prototype"===t[n+1]){if(o&&0===n)continue;return!1}}}var a=Ti(e,t);return null==a||delete a[Bi(Yi(t))]}function ho(e,t,n,r){return eo(e,t,n(kr(e,t)),r)}function mo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?oo(e,r?0:i,r?i+1:o):oo(e,r?i+1:0,r?o:i)}function go(e,t){var n=e;return n instanceof Kn&&(n=n.value()),Lt(t,function(e,t){return t.func.apply(t.thisArg,At([e],t.args))},n)}function vo(e,t,n){var r=e.length;if(r<2)return r?fo(e[0]):[];for(var o=-1,i=ae(r);++o<r;)for(var a=e[o],l=-1;++l<r;)l!=o&&(i[o]=fr(i[o]||a,e[l],t,n));return fo(yr(i,1),t,n)}function yo(e,t,n){for(var o=-1,i=e.length,a=t.length,l={};++o<i;){var s=o<a?t[o]:r;n(l,e[o],s)}return l}function bo(e){return $a(e)?e:[]}function _o(e){return"function"==typeof e?e:os}function Co(e,t){return Ka(e)?e:Si(e,t)?[e]:Ni(bl(e))}var So=Yr;function wo(e,t,n){var o=e.length;return n=n===r?o:n,!t&&n>=o?e:oo(e,t,n)}var ko=ut||function(e){return ht.clearTimeout(e)};function xo(e,t){if(t)return e.slice();var n=e.length,r=qe?qe(n):new e.constructor(n);return e.copy(r),r}function Eo(e){var t=new e.constructor(e.byteLength);return new Ke(t).set(new Ke(e)),t}function Fo(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Io(e,t){if(e!==t){var n=e!==r,o=null===e,i=e==e,a=ul(e),l=t!==r,s=null===t,u=t==t,c=ul(t);if(!s&&!c&&!a&&e>t||a&&l&&u&&!s&&!c||o&&l&&u||!n&&u||!i)return 1;if(!o&&!a&&!c&&e<t||c&&n&&i&&!o&&!a||s&&n&&i||!l&&i||!u)return-1}return 0}function To(e,t,n,r){for(var o=-1,i=e.length,a=n.length,l=-1,s=t.length,u=bn(i-a,0),c=ae(s+u),d=!r;++l<s;)c[l]=t[l];for(;++o<a;)(d||o<i)&&(c[n[o]]=e[o]);for(;u--;)c[l++]=e[o++];return c}function Po(e,t,n,r){for(var o=-1,i=e.length,a=-1,l=n.length,s=-1,u=t.length,c=bn(i-l,0),d=ae(c+u),f=!r;++o<c;)d[o]=e[o];for(var p=o;++s<u;)d[p+s]=t[s];for(;++a<l;)(f||o<i)&&(d[p+n[a]]=e[o++]);return d}function Ro(e,t){var n=-1,r=e.length;for(t||(t=ae(r));++n<r;)t[n]=e[n];return t}function Do(e,t,n,o){var i=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var s=t[a],u=o?o(n[s],e[s],s,n,e):r;u===r&&(u=e[s]),i?ar(n,s,u):nr(n,s,u)}return n}function Mo(e,t){return function(n,r){var o=Ka(n)?Ft:or,i=t?t():{};return o(n,e,ci(r,2),i)}}function Oo(e){return Yr(function(t,n){var o=-1,i=n.length,a=i>1?n[i-1]:r,l=i>2?n[2]:r;for(a=e.length>3&&"function"==typeof a?(i--,a):r,l&&Ci(n[0],n[1],l)&&(a=i<3?r:a,i=1),t=Fe(t);++o<i;){var s=n[o];s&&e(t,s,o,a)}return t})}function Ao(e,t){return function(n,r){if(null==n)return n;if(!Ga(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Fe(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Lo(e){return function(t,n,r){for(var o=-1,i=Fe(t),a=r(t),l=a.length;l--;){var s=a[e?l:++o];if(!1===n(i[s],s,i))break}return t}}function No(e){return function(t){var n=ln(t=bl(t))?hn(t):r,o=n?n[0]:t.charAt(0),i=n?wo(n,1).join(""):t.slice(1);return o[e]()+i}}function Bo(e){return function(t){return Lt(Jl(jl(t).replace(Xe,"")),e,"")}}function zo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Wn(e.prototype),r=e.apply(n,t);return tl(r)?r:n}}function Ho(e){return function(t,n,o){var i=Fe(t);if(!Ga(t)){var a=ci(n,3);t=Dl(t),n=function(e){return a(i[e],e,i)}}var l=e(t,n,o);return l>-1?i[a?t[l]:l]:r}}function Vo(e){return oi(function(t){var n=t.length,i=n,a=jn.prototype.thru;for(e&&t.reverse();i--;){var l=t[i];if("function"!=typeof l)throw new Pe(o);if(a&&!s&&"wrapper"==si(l))var s=new jn([],!0)}for(i=s?i:n;++i<n;){var u=si(l=t[i]),c="wrapper"==u?li(l):r;s=c&&wi(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[si(c[0])].apply(s,c[3]):1==l.length&&wi(l)?s[u]():s.thru(l)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&Ka(r))return s.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}})}function Wo(e,t,n,o,i,a,l,s,u,d){var f=t&c,p=1&t,h=2&t,m=24&t,g=512&t,v=h?r:zo(e);return function c(){for(var y=arguments.length,b=ae(y),_=y;_--;)b[_]=arguments[_];if(m)var C=ui(c),S=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,C);if(o&&(b=To(b,o,i,m)),a&&(b=Po(b,a,l,m)),y-=S,m&&y<d){var w=cn(b,C);return Qo(e,t,Wo,c.placeholder,n,b,w,s,u,d-y)}var k=p?n:this,x=h?k[e]:e;return y=b.length,s?b=function(e,t){var n=e.length,o=_n(t.length,n),i=Ro(e);for(;o--;){var a=t[o];e[o]=_i(a,n)?i[a]:r}return e}(b,s):g&&y>1&&b.reverse(),f&&u<y&&(b.length=u),this&&this!==ht&&this instanceof c&&(x=v||zo(x)),x.apply(k,b)}}function Uo(e,t){return function(n,r){return function(e,t,n,r){return Cr(e,function(e,o,i){t(r,n(e),o,i)}),r}(n,e,t(r),{})}}function jo(e,t){return function(n,o){var i;if(n===r&&o===r)return t;if(n!==r&&(i=n),o!==r){if(i===r)return o;"string"==typeof n||"string"==typeof o?(n=co(n),o=co(o)):(n=uo(n),o=uo(o)),i=e(n,o)}return i}}function Ko(e){return oi(function(t){return t=Ot(t,Jt(ci())),Yr(function(n){var r=this;return e(t,function(e){return Et(e,r,n)})})})}function qo(e,t){var n=(t=t===r?" ":co(t)).length;if(n<2)return n?Zr(t,e):t;var o=Zr(t,mt(e/pn(t)));return ln(t)?wo(hn(o),0,e).join(""):o.slice(0,e)}function Go(e){return function(t,n,o){return o&&"number"!=typeof o&&Ci(t,n,o)&&(n=o=r),t=hl(t),n===r?(n=t,t=0):n=hl(n),function(e,t,n,r){for(var o=-1,i=bn(mt((t-e)/(n||1)),0),a=ae(i);i--;)a[r?i:++o]=e,e+=n;return a}(t,n,o=o===r?t<n?1:-1:hl(o),e)}}function $o(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=vl(t),n=vl(n)),e(t,n)}}function Qo(e,t,n,o,i,a,l,c,d,f){var p=8&t;t|=p?s:u,4&(t&=~(p?u:s))||(t&=-4);var h=[e,t,i,p?a:r,p?l:r,p?r:a,p?r:l,c,d,f],m=n.apply(r,h);return wi(e)&&Ri(m,h),m.placeholder=o,Oi(m,e,t)}function Zo(e){var t=Ee[e];return function(e,n){if(e=vl(e),(n=null==n?0:_n(ml(n),292))&&zt(e)){var r=(bl(e)+"e").split("e");return+((r=(bl(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Yo=In&&1/dn(new In([,-0]))[1]==f?function(e){return new In(e)}:us;function Jo(e){return function(t){var n=gi(t);return n==k?sn(t):n==T?fn(t):function(e,t){return Ot(t,function(t){return[t,e[t]]})}(t,e(t))}}function Xo(e,t,n,i,f,p,h,m){var g=2&t;if(!g&&"function"!=typeof e)throw new Pe(o);var v=i?i.length:0;if(v||(t&=-97,i=f=r),h=h===r?h:bn(ml(h),0),m=m===r?m:ml(m),v-=f?f.length:0,t&u){var y=i,b=f;i=f=r}var _=g?r:li(e),C=[e,t,n,i,f,y,b,p,h,m];if(_&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,l=r==c&&8==n||r==c&&n==d&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!l)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var s=t[3];if(s){var u=e[3];e[3]=u?To(u,s,t[4]):s,e[4]=u?cn(e[3],a):t[4]}(s=t[5])&&(u=e[5],e[5]=u?Po(u,s,t[6]):s,e[6]=u?cn(e[5],a):t[6]);(s=t[7])&&(e[7]=s);r&c&&(e[8]=null==e[8]?t[8]:_n(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(C,_),e=C[0],t=C[1],n=C[2],i=C[3],f=C[4],!(m=C[9]=C[9]===r?g?0:e.length:bn(C[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)S=8==t||t==l?function(e,t,n){var o=zo(e);return function i(){for(var a=arguments.length,l=ae(a),s=a,u=ui(i);s--;)l[s]=arguments[s];var c=a<3&&l[0]!==u&&l[a-1]!==u?[]:cn(l,u);return(a-=c.length)<n?Qo(e,t,Wo,i.placeholder,r,l,c,r,r,n-a):Et(this&&this!==ht&&this instanceof i?o:e,this,l)}}(e,t,m):t!=s&&33!=t||f.length?Wo.apply(r,C):function(e,t,n,r){var o=1&t,i=zo(e);return function t(){for(var a=-1,l=arguments.length,s=-1,u=r.length,c=ae(u+l),d=this&&this!==ht&&this instanceof t?i:e;++s<u;)c[s]=r[s];for(;l--;)c[s++]=arguments[++a];return Et(d,o?n:this,c)}}(e,t,n,i);else var S=function(e,t,n){var r=1&t,o=zo(e);return function t(){return(this&&this!==ht&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return Oi((_?to:Ri)(S,C),e,t)}function ei(e,t,n,o){return e===r||Va(e,Me[n])&&!Le.call(o,n)?t:e}function ti(e,t,n,o,i,a){return tl(e)&&tl(t)&&(a.set(t,e),Ur(e,t,r,ti,a),a.delete(t)),e}function ni(e){return il(e)?r:e}function ri(e,t,n,o,i,a){var l=1&n,s=e.length,u=t.length;if(s!=u&&!(l&&u>s))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var f=-1,p=!0,h=2&n?new Qn:r;for(a.set(e,t),a.set(t,e);++f<s;){var m=e[f],g=t[f];if(o)var v=l?o(g,m,f,t,e,a):o(m,g,f,e,t,a);if(v!==r){if(v)continue;p=!1;break}if(h){if(!Bt(t,function(e,t){if(!en(h,t)&&(m===e||i(m,e,n,o,a)))return h.push(t)})){p=!1;break}}else if(m!==g&&!i(m,g,n,o,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function oi(e){return Mi(Ii(e,r,qi),e+"")}function ii(e){return xr(e,Dl,hi)}function ai(e){return xr(e,Ml,mi)}var li=Rn?function(e){return Rn.get(e)}:us;function si(e){for(var t=e.name+"",n=Dn[t],r=Le.call(Dn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ui(e){return(Le.call(Vn,"placeholder")?Vn:e).placeholder}function ci(){var e=Vn.iteratee||is;return e=e===is?Lr:e,arguments.length?e(arguments[0],arguments[1]):e}function di(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function fi(e){for(var t=Dl(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ei(o)]}return t}function pi(e,t){var n=function(e,t){return null==e?r:e[t]}(e,t);return Ar(n)?n:r}var hi=yt?function(e){return null==e?[]:(e=Fe(e),Rt(yt(e),function(t){return Qe.call(e,t)}))}:gs,mi=yt?function(e){for(var t=[];e;)At(t,hi(e)),e=Ge(e);return t}:gs,gi=Er;function vi(e,t,n){for(var r=-1,o=(t=Co(t,e)).length,i=!1;++r<o;){var a=Bi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&el(o)&&_i(a,o)&&(Ka(e)||ja(e))}function yi(e){return"function"!=typeof e.constructor||xi(e)?{}:Wn(Ge(e))}function bi(e){return Ka(e)||ja(e)||!!(Ye&&e&&e[Ye])}function _i(e,t){var n=typeof e;return!!(t=null==t?p:t)&&("number"==n||"symbol"!=n&&be.test(e))&&e>-1&&e%1==0&&e<t}function Ci(e,t,n){if(!tl(n))return!1;var r=typeof t;return!!("number"==r?Ga(n)&&_i(t,n.length):"string"==r&&t in n)&&Va(n[t],e)}function Si(e,t){if(Ka(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ul(e))||(te.test(e)||!ee.test(e)||null!=t&&e in Fe(t))}function wi(e){var t=si(e),n=Vn[t];if("function"!=typeof n||!(t in Kn.prototype))return!1;if(e===n)return!0;var r=li(n);return!!r&&e===r[0]}(xn&&gi(new xn(new ArrayBuffer(1)))!=O||En&&gi(new En)!=k||Fn&&gi(Fn.resolve())!=F||In&&gi(new In)!=T||Tn&&gi(new Tn)!=D)&&(gi=function(e){var t=Er(e),n=t==E?e.constructor:r,o=n?zi(n):"";if(o)switch(o){case Mn:return O;case On:return k;case An:return F;case Ln:return T;case Nn:return D}return t});var ki=Oe?Ja:vs;function xi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Me)}function Ei(e){return e==e&&!tl(e)}function Fi(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==r||e in Fe(n)))}}function Ii(e,t,n){return t=bn(t===r?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=bn(r.length-t,0),a=ae(i);++o<i;)a[o]=r[t+o];o=-1;for(var l=ae(t+1);++o<t;)l[o]=r[o];return l[t]=n(a),Et(e,this,l)}}function Ti(e,t){return t.length<2?e:kr(e,oo(t,0,-1))}function Pi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ri=Ai(to),Di=pt||function(e,t){return ht.setTimeout(e,t)},Mi=Ai(no);function Oi(e,t,n){var r=t+"";return Mi(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return It(g,function(n){var r="_."+n[0];t&n[1]&&!Dt(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(se);return t?t[1].split(ue):[]}(r),n)))}function Ai(e){var t=0,n=0;return function(){var o=Cn(),i=16-(o-n);if(n=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Li(e,t){var n=-1,o=e.length,i=o-1;for(t=t===r?o:t;++n<t;){var a=Qr(n,i),l=e[a];e[a]=e[n],e[n]=l}return e.length=t,e}var Ni=function(e){var t=Aa(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ne,function(e,n,r,o){t.push(r?o.replace(fe,"$1"):n||e)}),t});function Bi(e){if("string"==typeof e||ul(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function zi(e){if(null!=e){try{return Ae.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Hi(e){if(e instanceof Kn)return e.clone();var t=new jn(e.__wrapped__,e.__chain__);return t.__actions__=Ro(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Vi=Yr(function(e,t){return $a(e)?fr(e,yr(t,1,$a,!0)):[]}),Wi=Yr(function(e,t){var n=Yi(t);return $a(n)&&(n=r),$a(e)?fr(e,yr(t,1,$a,!0),ci(n,2)):[]}),Ui=Yr(function(e,t){var n=Yi(t);return $a(n)&&(n=r),$a(e)?fr(e,yr(t,1,$a,!0),r,n):[]});function ji(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ml(n);return o<0&&(o=bn(r+o,0)),Vt(e,ci(t,3),o)}function Ki(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var i=o-1;return n!==r&&(i=ml(n),i=n<0?bn(o+i,0):_n(i,o-1)),Vt(e,ci(t,3),i,!0)}function qi(e){return(null==e?0:e.length)?yr(e,1):[]}function Gi(e){return e&&e.length?e[0]:r}var $i=Yr(function(e){var t=Ot(e,bo);return t.length&&t[0]===e[0]?Pr(t):[]}),Qi=Yr(function(e){var t=Yi(e),n=Ot(e,bo);return t===Yi(n)?t=r:n.pop(),n.length&&n[0]===e[0]?Pr(n,ci(t,2)):[]}),Zi=Yr(function(e){var t=Yi(e),n=Ot(e,bo);return(t="function"==typeof t?t:r)&&n.pop(),n.length&&n[0]===e[0]?Pr(n,r,t):[]});function Yi(e){var t=null==e?0:e.length;return t?e[t-1]:r}var Ji=Yr(Xi);function Xi(e,t){return e&&e.length&&t&&t.length?Gr(e,t):e}var ea=oi(function(e,t){var n=null==e?0:e.length,r=lr(e,t);return $r(e,Ot(t,function(e){return _i(e,n)?+e:e}).sort(Io)),r});function ta(e){return null==e?e:kn.call(e)}var na=Yr(function(e){return fo(yr(e,1,$a,!0))}),ra=Yr(function(e){var t=Yi(e);return $a(t)&&(t=r),fo(yr(e,1,$a,!0),ci(t,2))}),oa=Yr(function(e){var t=Yi(e);return t="function"==typeof t?t:r,fo(yr(e,1,$a,!0),r,t)});function ia(e){if(!e||!e.length)return[];var t=0;return e=Rt(e,function(e){if($a(e))return t=bn(e.length,t),!0}),Zt(t,function(t){return Ot(e,qt(t))})}function aa(e,t){if(!e||!e.length)return[];var n=ia(e);return null==t?n:Ot(n,function(e){return Et(t,r,e)})}var la=Yr(function(e,t){return $a(e)?fr(e,t):[]}),sa=Yr(function(e){return vo(Rt(e,$a))}),ua=Yr(function(e){var t=Yi(e);return $a(t)&&(t=r),vo(Rt(e,$a),ci(t,2))}),ca=Yr(function(e){var t=Yi(e);return t="function"==typeof t?t:r,vo(Rt(e,$a),r,t)}),da=Yr(ia);var fa=Yr(function(e){var t=e.length,n=t>1?e[t-1]:r;return n="function"==typeof n?(e.pop(),n):r,aa(e,n)});function pa(e){var t=Vn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var ma=oi(function(e){var t=e.length,n=t?e[0]:0,o=this.__wrapped__,i=function(t){return lr(t,e)};return!(t>1||this.__actions__.length)&&o instanceof Kn&&_i(n)?((o=o.slice(n,+n+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:r}),new jn(o,this.__chain__).thru(function(e){return t&&!e.length&&e.push(r),e})):this.thru(i)});var ga=Mo(function(e,t,n){Le.call(e,n)?++e[n]:ar(e,n,1)});var va=Ho(ji),ya=Ho(Ki);function ba(e,t){return(Ka(e)?It:pr)(e,ci(t,3))}function _a(e,t){return(Ka(e)?Tt:hr)(e,ci(t,3))}var Ca=Mo(function(e,t,n){Le.call(e,n)?e[n].push(t):ar(e,n,[t])});var Sa=Yr(function(e,t,n){var r=-1,o="function"==typeof t,i=Ga(e)?ae(e.length):[];return pr(e,function(e){i[++r]=o?Et(t,e,n):Rr(e,t,n)}),i}),wa=Mo(function(e,t,n){ar(e,n,t)});function ka(e,t){return(Ka(e)?Ot:Hr)(e,ci(t,3))}var xa=Mo(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var Ea=Yr(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ci(e,t[0],t[1])?t=[]:n>2&&Ci(t[0],t[1],t[2])&&(t=[t[0]]),Kr(e,yr(t,1),[])}),Fa=ft||function(){return ht.Date.now()};function Ia(e,t,n){return t=n?r:t,t=e&&null==t?e.length:t,Xo(e,c,r,r,r,r,t)}function Ta(e,t){var n;if("function"!=typeof t)throw new Pe(o);return e=ml(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var Pa=Yr(function(e,t,n){var r=1;if(n.length){var o=cn(n,ui(Pa));r|=s}return Xo(e,r,t,n,o)}),Ra=Yr(function(e,t,n){var r=3;if(n.length){var o=cn(n,ui(Ra));r|=s}return Xo(t,r,e,n,o)});function Da(e,t,n){var i,a,l,s,u,c,d=0,f=!1,p=!1,h=!0;if("function"!=typeof e)throw new Pe(o);function m(t){var n=i,o=a;return i=a=r,d=t,s=e.apply(o,n)}function g(e){var n=e-c;return c===r||n>=t||n<0||p&&e-d>=l}function v(){var e=Fa();if(g(e))return y(e);u=Di(v,function(e){var n=t-(e-c);return p?_n(n,l-(e-d)):n}(e))}function y(e){return u=r,h&&i?m(e):(i=a=r,s)}function b(){var e=Fa(),n=g(e);if(i=arguments,a=this,c=e,n){if(u===r)return function(e){return d=e,u=Di(v,t),f?m(e):s}(c);if(p)return ko(u),u=Di(v,t),m(c)}return u===r&&(u=Di(v,t)),s}return t=vl(t)||0,tl(n)&&(f=!!n.leading,l=(p="maxWait"in n)?bn(vl(n.maxWait)||0,t):l,h="trailing"in n?!!n.trailing:h),b.cancel=function(){u!==r&&ko(u),d=0,i=c=a=u=r},b.flush=function(){return u===r?s:y(Fa())},b}var Ma=Yr(function(e,t){return dr(e,1,t)}),Oa=Yr(function(e,t,n){return dr(e,vl(t)||0,n)});function Aa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Pe(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Aa.Cache||$n),n}function La(e){if("function"!=typeof e)throw new Pe(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Aa.Cache=$n;var Na=So(function(e,t){var n=(t=1==t.length&&Ka(t[0])?Ot(t[0],Jt(ci())):Ot(yr(t,1),Jt(ci()))).length;return Yr(function(r){for(var o=-1,i=_n(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Et(e,this,r)})}),Ba=Yr(function(e,t){var n=cn(t,ui(Ba));return Xo(e,s,r,t,n)}),za=Yr(function(e,t){var n=cn(t,ui(za));return Xo(e,u,r,t,n)}),Ha=oi(function(e,t){return Xo(e,d,r,r,r,t)});function Va(e,t){return e===t||e!=e&&t!=t}var Wa=$o(Fr),Ua=$o(function(e,t){return e>=t}),ja=Dr(function(){return arguments}())?Dr:function(e){return nl(e)&&Le.call(e,"callee")&&!Qe.call(e,"callee")},Ka=ae.isArray,qa=_t?Jt(_t):function(e){return nl(e)&&Er(e)==M};function Ga(e){return null!=e&&el(e.length)&&!Ja(e)}function $a(e){return nl(e)&&Ga(e)}var Qa=bt||vs,Za=Ct?Jt(Ct):function(e){return nl(e)&&Er(e)==_};function Ya(e){if(!nl(e))return!1;var t=Er(e);return t==C||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!il(e)}function Ja(e){if(!tl(e))return!1;var t=Er(e);return t==S||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xa(e){return"number"==typeof e&&e==ml(e)}function el(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function tl(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function nl(e){return null!=e&&"object"==typeof e}var rl=St?Jt(St):function(e){return nl(e)&&gi(e)==k};function ol(e){return"number"==typeof e||nl(e)&&Er(e)==x}function il(e){if(!nl(e)||Er(e)!=E)return!1;var t=Ge(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ae.call(n)==He}var al=wt?Jt(wt):function(e){return nl(e)&&Er(e)==I};var ll=kt?Jt(kt):function(e){return nl(e)&&gi(e)==T};function sl(e){return"string"==typeof e||!Ka(e)&&nl(e)&&Er(e)==P}function ul(e){return"symbol"==typeof e||nl(e)&&Er(e)==R}var cl=xt?Jt(xt):function(e){return nl(e)&&el(e.length)&&!!lt[Er(e)]};var dl=$o(zr),fl=$o(function(e,t){return e<=t});function pl(e){if(!e)return[];if(Ga(e))return sl(e)?hn(e):Ro(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=gi(e);return(t==k?sn:t==T?dn:Vl)(e)}function hl(e){return e?(e=vl(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ml(e){var t=hl(e),n=t%1;return t==t?n?t-n:t:0}function gl(e){return e?sr(ml(e),0,m):0}function vl(e){if("number"==typeof e)return e;if(ul(e))return h;if(tl(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=tl(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Yt(e);var n=ge.test(e);return n||ye.test(e)?dt(e.slice(2),n?2:8):me.test(e)?h:+e}function yl(e){return Do(e,Ml(e))}function bl(e){return null==e?"":co(e)}var _l=Oo(function(e,t){if(xi(t)||Ga(t))Do(t,Dl(t),e);else for(var n in t)Le.call(t,n)&&nr(e,n,t[n])}),Cl=Oo(function(e,t){Do(t,Ml(t),e)}),Sl=Oo(function(e,t,n,r){Do(t,Ml(t),e,r)}),wl=Oo(function(e,t,n,r){Do(t,Dl(t),e,r)}),kl=oi(lr);var xl=Yr(function(e,t){e=Fe(e);var n=-1,o=t.length,i=o>2?t[2]:r;for(i&&Ci(t[0],t[1],i)&&(o=1);++n<o;)for(var a=t[n],l=Ml(a),s=-1,u=l.length;++s<u;){var c=l[s],d=e[c];(d===r||Va(d,Me[c])&&!Le.call(e,c))&&(e[c]=a[c])}return e}),El=Yr(function(e){return e.push(r,ti),Et(Al,r,e)});function Fl(e,t,n){var o=null==e?r:kr(e,t);return o===r?n:o}function Il(e,t){return null!=e&&vi(e,t,Tr)}var Tl=Uo(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ze.call(t)),e[t]=n},ts(os)),Pl=Uo(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ze.call(t)),Le.call(e,t)?e[t].push(n):e[t]=[n]},ci),Rl=Yr(Rr);function Dl(e){return Ga(e)?Yn(e):Nr(e)}function Ml(e){return Ga(e)?Yn(e,!0):Br(e)}var Ol=Oo(function(e,t,n){Ur(e,t,n)}),Al=Oo(function(e,t,n,r){Ur(e,t,n,r)}),Ll=oi(function(e,t){var n={};if(null==e)return n;var r=!1;t=Ot(t,function(t){return t=Co(t,e),r||(r=t.length>1),t}),Do(e,ai(e),n),r&&(n=ur(n,7,ni));for(var o=t.length;o--;)po(n,t[o]);return n});var Nl=oi(function(e,t){return null==e?{}:function(e,t){return qr(e,t,function(t,n){return Il(e,n)})}(e,t)});function Bl(e,t){if(null==e)return{};var n=Ot(ai(e),function(e){return[e]});return t=ci(t),qr(e,n,function(e,n){return t(e,n[0])})}var zl=Jo(Dl),Hl=Jo(Ml);function Vl(e){return null==e?[]:Xt(e,Dl(e))}var Wl=Bo(function(e,t,n){return t=t.toLowerCase(),e+(n?Ul(t):t)});function Ul(e){return Yl(bl(e).toLowerCase())}function jl(e){return(e=bl(e))&&e.replace(_e,rn).replace(et,"")}var Kl=Bo(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),ql=Bo(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Gl=No("toLowerCase");var $l=Bo(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var Ql=Bo(function(e,t,n){return e+(n?" ":"")+Yl(t)});var Zl=Bo(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Yl=No("toUpperCase");function Jl(e,t,n){return e=bl(e),(t=n?r:t)===r?function(e){return ot.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(ce)||[]}(e):e.match(t)||[]}var Xl=Yr(function(e,t){try{return Et(e,r,t)}catch(e){return Ya(e)?e:new ke(e)}}),es=oi(function(e,t){return It(t,function(t){t=Bi(t),ar(e,t,Pa(e[t],e))}),e});function ts(e){return function(){return e}}var ns=Vo(),rs=Vo(!0);function os(e){return e}function is(e){return Lr("function"==typeof e?e:ur(e,1))}var as=Yr(function(e,t){return function(n){return Rr(n,e,t)}}),ls=Yr(function(e,t){return function(n){return Rr(e,n,t)}});function ss(e,t,n){var r=Dl(t),o=wr(t,r);null!=n||tl(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=wr(t,Dl(t)));var i=!(tl(n)&&"chain"in n&&!n.chain),a=Ja(e);return It(o,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Ro(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,At([this.value()],arguments))})}),e}function us(){}var cs=Ko(Ot),ds=Ko(Pt),fs=Ko(Bt);function ps(e){return Si(e)?qt(Bi(e)):function(e){return function(t){return kr(t,e)}}(e)}var hs=Go(),ms=Go(!0);function gs(){return[]}function vs(){return!1}var ys=jo(function(e,t){return e+t},0),bs=Zo("ceil"),_s=jo(function(e,t){return e/t},1),Cs=Zo("floor");var Ss,ws=jo(function(e,t){return e*t},1),ks=Zo("round"),xs=jo(function(e,t){return e-t},0);return Vn.after=function(e,t){if("function"!=typeof t)throw new Pe(o);return e=ml(e),function(){if(--e<1)return t.apply(this,arguments)}},Vn.ary=Ia,Vn.assign=_l,Vn.assignIn=Cl,Vn.assignInWith=Sl,Vn.assignWith=wl,Vn.at=kl,Vn.before=Ta,Vn.bind=Pa,Vn.bindAll=es,Vn.bindKey=Ra,Vn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ka(e)?e:[e]},Vn.chain=pa,Vn.chunk=function(e,t,n){t=(n?Ci(e,t,n):t===r)?1:bn(ml(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,l=ae(mt(o/t));i<o;)l[a++]=oo(e,i,i+=t);return l},Vn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Vn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ae(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return At(Ka(n)?Ro(n):[n],yr(t,1))},Vn.cond=function(e){var t=null==e?0:e.length,n=ci();return e=t?Ot(e,function(e){if("function"!=typeof e[1])throw new Pe(o);return[n(e[0]),e[1]]}):[],Yr(function(n){for(var r=-1;++r<t;){var o=e[r];if(Et(o[0],this,n))return Et(o[1],this,n)}})},Vn.conforms=function(e){return function(e){var t=Dl(e);return function(n){return cr(n,e,t)}}(ur(e,1))},Vn.constant=ts,Vn.countBy=ga,Vn.create=function(e,t){var n=Wn(e);return null==t?n:ir(n,t)},Vn.curry=function e(t,n,o){var i=Xo(t,8,r,r,r,r,r,n=o?r:n);return i.placeholder=e.placeholder,i},Vn.curryRight=function e(t,n,o){var i=Xo(t,l,r,r,r,r,r,n=o?r:n);return i.placeholder=e.placeholder,i},Vn.debounce=Da,Vn.defaults=xl,Vn.defaultsDeep=El,Vn.defer=Ma,Vn.delay=Oa,Vn.difference=Vi,Vn.differenceBy=Wi,Vn.differenceWith=Ui,Vn.drop=function(e,t,n){var o=null==e?0:e.length;return o?oo(e,(t=n||t===r?1:ml(t))<0?0:t,o):[]},Vn.dropRight=function(e,t,n){var o=null==e?0:e.length;return o?oo(e,0,(t=o-(t=n||t===r?1:ml(t)))<0?0:t):[]},Vn.dropRightWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!0,!0):[]},Vn.dropWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!0):[]},Vn.fill=function(e,t,n,o){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Ci(e,t,n)&&(n=0,o=i),function(e,t,n,o){var i=e.length;for((n=ml(n))<0&&(n=-n>i?0:i+n),(o=o===r||o>i?i:ml(o))<0&&(o+=i),o=n>o?0:gl(o);n<o;)e[n++]=t;return e}(e,t,n,o)):[]},Vn.filter=function(e,t){return(Ka(e)?Rt:vr)(e,ci(t,3))},Vn.flatMap=function(e,t){return yr(ka(e,t),1)},Vn.flatMapDeep=function(e,t){return yr(ka(e,t),f)},Vn.flatMapDepth=function(e,t,n){return n=n===r?1:ml(n),yr(ka(e,t),n)},Vn.flatten=qi,Vn.flattenDeep=function(e){return(null==e?0:e.length)?yr(e,f):[]},Vn.flattenDepth=function(e,t){return(null==e?0:e.length)?yr(e,t=t===r?1:ml(t)):[]},Vn.flip=function(e){return Xo(e,512)},Vn.flow=ns,Vn.flowRight=rs,Vn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Vn.functions=function(e){return null==e?[]:wr(e,Dl(e))},Vn.functionsIn=function(e){return null==e?[]:wr(e,Ml(e))},Vn.groupBy=Ca,Vn.initial=function(e){return(null==e?0:e.length)?oo(e,0,-1):[]},Vn.intersection=$i,Vn.intersectionBy=Qi,Vn.intersectionWith=Zi,Vn.invert=Tl,Vn.invertBy=Pl,Vn.invokeMap=Sa,Vn.iteratee=is,Vn.keyBy=wa,Vn.keys=Dl,Vn.keysIn=Ml,Vn.map=ka,Vn.mapKeys=function(e,t){var n={};return t=ci(t,3),Cr(e,function(e,r,o){ar(n,t(e,r,o),e)}),n},Vn.mapValues=function(e,t){var n={};return t=ci(t,3),Cr(e,function(e,r,o){ar(n,r,t(e,r,o))}),n},Vn.matches=function(e){return Vr(ur(e,1))},Vn.matchesProperty=function(e,t){return Wr(e,ur(t,1))},Vn.memoize=Aa,Vn.merge=Ol,Vn.mergeWith=Al,Vn.method=as,Vn.methodOf=ls,Vn.mixin=ss,Vn.negate=La,Vn.nthArg=function(e){return e=ml(e),Yr(function(t){return jr(t,e)})},Vn.omit=Ll,Vn.omitBy=function(e,t){return Bl(e,La(ci(t)))},Vn.once=function(e){return Ta(2,e)},Vn.orderBy=function(e,t,n,o){return null==e?[]:(Ka(t)||(t=null==t?[]:[t]),Ka(n=o?r:n)||(n=null==n?[]:[n]),Kr(e,t,n))},Vn.over=cs,Vn.overArgs=Na,Vn.overEvery=ds,Vn.overSome=fs,Vn.partial=Ba,Vn.partialRight=za,Vn.partition=xa,Vn.pick=Nl,Vn.pickBy=Bl,Vn.property=ps,Vn.propertyOf=function(e){return function(t){return null==e?r:kr(e,t)}},Vn.pull=Ji,Vn.pullAll=Xi,Vn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,ci(n,2)):e},Vn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,r,n):e},Vn.pullAt=ea,Vn.range=hs,Vn.rangeRight=ms,Vn.rearg=Ha,Vn.reject=function(e,t){return(Ka(e)?Rt:vr)(e,La(ci(t,3)))},Vn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=ci(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return $r(e,o),n},Vn.rest=function(e,t){if("function"!=typeof e)throw new Pe(o);return Yr(e,t=t===r?t:ml(t))},Vn.reverse=ta,Vn.sampleSize=function(e,t,n){return t=(n?Ci(e,t,n):t===r)?1:ml(t),(Ka(e)?Xn:Xr)(e,t)},Vn.set=function(e,t,n){return null==e?e:eo(e,t,n)},Vn.setWith=function(e,t,n,o){return o="function"==typeof o?o:r,null==e?e:eo(e,t,n,o)},Vn.shuffle=function(e){return(Ka(e)?er:ro)(e)},Vn.slice=function(e,t,n){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&Ci(e,t,n)?(t=0,n=o):(t=null==t?0:ml(t),n=n===r?o:ml(n)),oo(e,t,n)):[]},Vn.sortBy=Ea,Vn.sortedUniq=function(e){return e&&e.length?so(e):[]},Vn.sortedUniqBy=function(e,t){return e&&e.length?so(e,ci(t,2)):[]},Vn.split=function(e,t,n){return n&&"number"!=typeof n&&Ci(e,t,n)&&(t=n=r),(n=n===r?m:n>>>0)?(e=bl(e))&&("string"==typeof t||null!=t&&!al(t))&&!(t=co(t))&&ln(e)?wo(hn(e),0,n):e.split(t,n):[]},Vn.spread=function(e,t){if("function"!=typeof e)throw new Pe(o);return t=null==t?0:bn(ml(t),0),Yr(function(n){var r=n[t],o=wo(n,0,t);return r&&At(o,r),Et(e,this,o)})},Vn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Vn.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===r?1:ml(t))<0?0:t):[]},Vn.takeRight=function(e,t,n){var o=null==e?0:e.length;return o?oo(e,(t=o-(t=n||t===r?1:ml(t)))<0?0:t,o):[]},Vn.takeRightWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!1,!0):[]},Vn.takeWhile=function(e,t){return e&&e.length?mo(e,ci(t,3)):[]},Vn.tap=function(e,t){return t(e),e},Vn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Pe(o);return tl(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Da(e,t,{leading:r,maxWait:t,trailing:i})},Vn.thru=ha,Vn.toArray=pl,Vn.toPairs=zl,Vn.toPairsIn=Hl,Vn.toPath=function(e){return Ka(e)?Ot(e,Bi):ul(e)?[e]:Ro(Ni(bl(e)))},Vn.toPlainObject=yl,Vn.transform=function(e,t,n){var r=Ka(e),o=r||Qa(e)||cl(e);if(t=ci(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:tl(e)&&Ja(i)?Wn(Ge(e)):{}}return(o?It:Cr)(e,function(e,r,o){return t(n,e,r,o)}),n},Vn.unary=function(e){return Ia(e,1)},Vn.union=na,Vn.unionBy=ra,Vn.unionWith=oa,Vn.uniq=function(e){return e&&e.length?fo(e):[]},Vn.uniqBy=function(e,t){return e&&e.length?fo(e,ci(t,2)):[]},Vn.uniqWith=function(e,t){return t="function"==typeof t?t:r,e&&e.length?fo(e,r,t):[]},Vn.unset=function(e,t){return null==e||po(e,t)},Vn.unzip=ia,Vn.unzipWith=aa,Vn.update=function(e,t,n){return null==e?e:ho(e,t,_o(n))},Vn.updateWith=function(e,t,n,o){return o="function"==typeof o?o:r,null==e?e:ho(e,t,_o(n),o)},Vn.values=Vl,Vn.valuesIn=function(e){return null==e?[]:Xt(e,Ml(e))},Vn.without=la,Vn.words=Jl,Vn.wrap=function(e,t){return Ba(_o(t),e)},Vn.xor=sa,Vn.xorBy=ua,Vn.xorWith=ca,Vn.zip=da,Vn.zipObject=function(e,t){return yo(e||[],t||[],nr)},Vn.zipObjectDeep=function(e,t){return yo(e||[],t||[],eo)},Vn.zipWith=fa,Vn.entries=zl,Vn.entriesIn=Hl,Vn.extend=Cl,Vn.extendWith=Sl,ss(Vn,Vn),Vn.add=ys,Vn.attempt=Xl,Vn.camelCase=Wl,Vn.capitalize=Ul,Vn.ceil=bs,Vn.clamp=function(e,t,n){return n===r&&(n=t,t=r),n!==r&&(n=(n=vl(n))==n?n:0),t!==r&&(t=(t=vl(t))==t?t:0),sr(vl(e),t,n)},Vn.clone=function(e){return ur(e,4)},Vn.cloneDeep=function(e){return ur(e,5)},Vn.cloneDeepWith=function(e,t){return ur(e,5,t="function"==typeof t?t:r)},Vn.cloneWith=function(e,t){return ur(e,4,t="function"==typeof t?t:r)},Vn.conformsTo=function(e,t){return null==t||cr(e,t,Dl(t))},Vn.deburr=jl,Vn.defaultTo=function(e,t){return null==e||e!=e?t:e},Vn.divide=_s,Vn.endsWith=function(e,t,n){e=bl(e),t=co(t);var o=e.length,i=n=n===r?o:sr(ml(n),0,o);return(n-=t.length)>=0&&e.slice(n,i)==t},Vn.eq=Va,Vn.escape=function(e){return(e=bl(e))&&Z.test(e)?e.replace($,on):e},Vn.escapeRegExp=function(e){return(e=bl(e))&&oe.test(e)?e.replace(re,"\\$&"):e},Vn.every=function(e,t,n){var o=Ka(e)?Pt:mr;return n&&Ci(e,t,n)&&(t=r),o(e,ci(t,3))},Vn.find=va,Vn.findIndex=ji,Vn.findKey=function(e,t){return Ht(e,ci(t,3),Cr)},Vn.findLast=ya,Vn.findLastIndex=Ki,Vn.findLastKey=function(e,t){return Ht(e,ci(t,3),Sr)},Vn.floor=Cs,Vn.forEach=ba,Vn.forEachRight=_a,Vn.forIn=function(e,t){return null==e?e:br(e,ci(t,3),Ml)},Vn.forInRight=function(e,t){return null==e?e:_r(e,ci(t,3),Ml)},Vn.forOwn=function(e,t){return e&&Cr(e,ci(t,3))},Vn.forOwnRight=function(e,t){return e&&Sr(e,ci(t,3))},Vn.get=Fl,Vn.gt=Wa,Vn.gte=Ua,Vn.has=function(e,t){return null!=e&&vi(e,t,Ir)},Vn.hasIn=Il,Vn.head=Gi,Vn.identity=os,Vn.includes=function(e,t,n,r){e=Ga(e)?e:Vl(e),n=n&&!r?ml(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),sl(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Wt(e,t,n)>-1},Vn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ml(n);return o<0&&(o=bn(r+o,0)),Wt(e,t,o)},Vn.inRange=function(e,t,n){return t=hl(t),n===r?(n=t,t=0):n=hl(n),function(e,t,n){return e>=_n(t,n)&&e<bn(t,n)}(e=vl(e),t,n)},Vn.invoke=Rl,Vn.isArguments=ja,Vn.isArray=Ka,Vn.isArrayBuffer=qa,Vn.isArrayLike=Ga,Vn.isArrayLikeObject=$a,Vn.isBoolean=function(e){return!0===e||!1===e||nl(e)&&Er(e)==b},Vn.isBuffer=Qa,Vn.isDate=Za,Vn.isElement=function(e){return nl(e)&&1===e.nodeType&&!il(e)},Vn.isEmpty=function(e){if(null==e)return!0;if(Ga(e)&&(Ka(e)||"string"==typeof e||"function"==typeof e.splice||Qa(e)||cl(e)||ja(e)))return!e.length;var t=gi(e);if(t==k||t==T)return!e.size;if(xi(e))return!Nr(e).length;for(var n in e)if(Le.call(e,n))return!1;return!0},Vn.isEqual=function(e,t){return Mr(e,t)},Vn.isEqualWith=function(e,t,n){var o=(n="function"==typeof n?n:r)?n(e,t):r;return o===r?Mr(e,t,r,n):!!o},Vn.isError=Ya,Vn.isFinite=function(e){return"number"==typeof e&&zt(e)},Vn.isFunction=Ja,Vn.isInteger=Xa,Vn.isLength=el,Vn.isMap=rl,Vn.isMatch=function(e,t){return e===t||Or(e,t,fi(t))},Vn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:r,Or(e,t,fi(t),n)},Vn.isNaN=function(e){return ol(e)&&e!=+e},Vn.isNative=function(e){if(ki(e))throw new ke("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ar(e)},Vn.isNil=function(e){return null==e},Vn.isNull=function(e){return null===e},Vn.isNumber=ol,Vn.isObject=tl,Vn.isObjectLike=nl,Vn.isPlainObject=il,Vn.isRegExp=al,Vn.isSafeInteger=function(e){return Xa(e)&&e>=-9007199254740991&&e<=p},Vn.isSet=ll,Vn.isString=sl,Vn.isSymbol=ul,Vn.isTypedArray=cl,Vn.isUndefined=function(e){return e===r},Vn.isWeakMap=function(e){return nl(e)&&gi(e)==D},Vn.isWeakSet=function(e){return nl(e)&&"[object WeakSet]"==Er(e)},Vn.join=function(e,t){return null==e?"":Gt.call(e,t)},Vn.kebabCase=Kl,Vn.last=Yi,Vn.lastIndexOf=function(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var i=o;return n!==r&&(i=(i=ml(n))<0?bn(o+i,0):_n(i,o-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Vt(e,jt,i,!0)},Vn.lowerCase=ql,Vn.lowerFirst=Gl,Vn.lt=dl,Vn.lte=fl,Vn.max=function(e){return e&&e.length?gr(e,os,Fr):r},Vn.maxBy=function(e,t){return e&&e.length?gr(e,ci(t,2),Fr):r},Vn.mean=function(e){return Kt(e,os)},Vn.meanBy=function(e,t){return Kt(e,ci(t,2))},Vn.min=function(e){return e&&e.length?gr(e,os,zr):r},Vn.minBy=function(e,t){return e&&e.length?gr(e,ci(t,2),zr):r},Vn.stubArray=gs,Vn.stubFalse=vs,Vn.stubObject=function(){return{}},Vn.stubString=function(){return""},Vn.stubTrue=function(){return!0},Vn.multiply=ws,Vn.nth=function(e,t){return e&&e.length?jr(e,ml(t)):r},Vn.noConflict=function(){return ht._===this&&(ht._=Ve),this},Vn.noop=us,Vn.now=Fa,Vn.pad=function(e,t,n){e=bl(e);var r=(t=ml(t))?pn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return qo(gt(o),n)+e+qo(mt(o),n)},Vn.padEnd=function(e,t,n){e=bl(e);var r=(t=ml(t))?pn(e):0;return t&&r<t?e+qo(t-r,n):e},Vn.padStart=function(e,t,n){e=bl(e);var r=(t=ml(t))?pn(e):0;return t&&r<t?qo(t-r,n)+e:e},Vn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Sn(bl(e).replace(ie,""),t||0)},Vn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Ci(e,t,n)&&(t=n=r),n===r&&("boolean"==typeof t?(n=t,t=r):"boolean"==typeof e&&(n=e,e=r)),e===r&&t===r?(e=0,t=1):(e=hl(e),t===r?(t=e,e=0):t=hl(t)),e>t){var o=e;e=t,t=o}if(n||e%1||t%1){var i=wn();return _n(e+i*(t-e+ct("1e-"+((i+"").length-1))),t)}return Qr(e,t)},Vn.reduce=function(e,t,n){var r=Ka(e)?Lt:$t,o=arguments.length<3;return r(e,ci(t,4),n,o,pr)},Vn.reduceRight=function(e,t,n){var r=Ka(e)?Nt:$t,o=arguments.length<3;return r(e,ci(t,4),n,o,hr)},Vn.repeat=function(e,t,n){return t=(n?Ci(e,t,n):t===r)?1:ml(t),Zr(bl(e),t)},Vn.replace=function(){var e=arguments,t=bl(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Vn.result=function(e,t,n){var o=-1,i=(t=Co(t,e)).length;for(i||(i=1,e=r);++o<i;){var a=null==e?r:e[Bi(t[o])];a===r&&(o=i,a=n),e=Ja(a)?a.call(e):a}return e},Vn.round=ks,Vn.runInContext=e,Vn.sample=function(e){return(Ka(e)?Jn:Jr)(e)},Vn.size=function(e){if(null==e)return 0;if(Ga(e))return sl(e)?pn(e):e.length;var t=gi(e);return t==k||t==T?e.size:Nr(e).length},Vn.snakeCase=$l,Vn.some=function(e,t,n){var o=Ka(e)?Bt:io;return n&&Ci(e,t,n)&&(t=r),o(e,ci(t,3))},Vn.sortedIndex=function(e,t){return ao(e,t)},Vn.sortedIndexBy=function(e,t,n){return lo(e,t,ci(n,2))},Vn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ao(e,t);if(r<n&&Va(e[r],t))return r}return-1},Vn.sortedLastIndex=function(e,t){return ao(e,t,!0)},Vn.sortedLastIndexBy=function(e,t,n){return lo(e,t,ci(n,2),!0)},Vn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=ao(e,t,!0)-1;if(Va(e[n],t))return n}return-1},Vn.startCase=Ql,Vn.startsWith=function(e,t,n){return e=bl(e),n=null==n?0:sr(ml(n),0,e.length),t=co(t),e.slice(n,n+t.length)==t},Vn.subtract=xs,Vn.sum=function(e){return e&&e.length?Qt(e,os):0},Vn.sumBy=function(e,t){return e&&e.length?Qt(e,ci(t,2)):0},Vn.template=function(e,t,n){var o=Vn.templateSettings;n&&Ci(e,t,n)&&(t=r),e=bl(e),t=Sl({},t,o,ei);var i,a,l=Sl({},t.imports,o.imports,ei),s=Dl(l),u=Xt(l,s),c=0,d=t.interpolate||Ce,f="__p += '",p=Ie((t.escape||Ce).source+"|"+d.source+"|"+(d===X?pe:Ce).source+"|"+(t.evaluate||Ce).source+"|$","g"),h="//# sourceURL="+(Le.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++at+"]")+"\n";e.replace(p,function(t,n,r,o,l,s){return r||(r=o),f+=e.slice(c,s).replace(Se,an),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),l&&(a=!0,f+="';\n"+l+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=s+t.length,t}),f+="';\n";var m=Le.call(t,"variable")&&t.variable;if(m){if(de.test(m))throw new ke("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(j,""):f).replace(K,"$1").replace(q,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var g=Xl(function(){return xe(s,h+"return "+f).apply(r,u)});if(g.source=f,Ya(g))throw g;return g},Vn.times=function(e,t){if((e=ml(e))<1||e>p)return[];var n=m,r=_n(e,m);t=ci(t),e-=m;for(var o=Zt(r,t);++n<e;)t(n);return o},Vn.toFinite=hl,Vn.toInteger=ml,Vn.toLength=gl,Vn.toLower=function(e){return bl(e).toLowerCase()},Vn.toNumber=vl,Vn.toSafeInteger=function(e){return e?sr(ml(e),-9007199254740991,p):0===e?e:0},Vn.toString=bl,Vn.toUpper=function(e){return bl(e).toUpperCase()},Vn.trim=function(e,t,n){if((e=bl(e))&&(n||t===r))return Yt(e);if(!e||!(t=co(t)))return e;var o=hn(e),i=hn(t);return wo(o,tn(o,i),nn(o,i)+1).join("")},Vn.trimEnd=function(e,t,n){if((e=bl(e))&&(n||t===r))return e.slice(0,mn(e)+1);if(!e||!(t=co(t)))return e;var o=hn(e);return wo(o,0,nn(o,hn(t))+1).join("")},Vn.trimStart=function(e,t,n){if((e=bl(e))&&(n||t===r))return e.replace(ie,"");if(!e||!(t=co(t)))return e;var o=hn(e);return wo(o,tn(o,hn(t))).join("")},Vn.truncate=function(e,t){var n=30,o="...";if(tl(t)){var i="separator"in t?t.separator:i;n="length"in t?ml(t.length):n,o="omission"in t?co(t.omission):o}var a=(e=bl(e)).length;if(ln(e)){var l=hn(e);a=l.length}if(n>=a)return e;var s=n-pn(o);if(s<1)return o;var u=l?wo(l,0,s).join(""):e.slice(0,s);if(i===r)return u+o;if(l&&(s+=u.length-s),al(i)){if(e.slice(s).search(i)){var c,d=u;for(i.global||(i=Ie(i.source,bl(he.exec(i))+"g")),i.lastIndex=0;c=i.exec(d);)var f=c.index;u=u.slice(0,f===r?s:f)}}else if(e.indexOf(co(i),s)!=s){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+o},Vn.unescape=function(e){return(e=bl(e))&&Q.test(e)?e.replace(G,gn):e},Vn.uniqueId=function(e){var t=++Ne;return bl(e)+t},Vn.upperCase=Zl,Vn.upperFirst=Yl,Vn.each=ba,Vn.eachRight=_a,Vn.first=Gi,ss(Vn,(Ss={},Cr(Vn,function(e,t){Le.call(Vn.prototype,t)||(Ss[t]=e)}),Ss),{chain:!1}),Vn.VERSION="4.17.23",It(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Vn[e].placeholder=Vn}),It(["drop","take"],function(e,t){Kn.prototype[e]=function(n){n=n===r?1:bn(ml(n),0);var o=this.__filtered__&&!t?new Kn(this):this.clone();return o.__filtered__?o.__takeCount__=_n(n,o.__takeCount__):o.__views__.push({size:_n(n,m),type:e+(o.__dir__<0?"Right":"")}),o},Kn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),It(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;Kn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ci(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),It(["head","last"],function(e,t){var n="take"+(t?"Right":"");Kn.prototype[e]=function(){return this[n](1).value()[0]}}),It(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Kn.prototype[e]=function(){return this.__filtered__?new Kn(this):this[n](1)}}),Kn.prototype.compact=function(){return this.filter(os)},Kn.prototype.find=function(e){return this.filter(e).head()},Kn.prototype.findLast=function(e){return this.reverse().find(e)},Kn.prototype.invokeMap=Yr(function(e,t){return"function"==typeof e?new Kn(this):this.map(function(n){return Rr(n,e,t)})}),Kn.prototype.reject=function(e){return this.filter(La(ci(e)))},Kn.prototype.slice=function(e,t){e=ml(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Kn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(n=(t=ml(t))<0?n.dropRight(-t):n.take(t-e)),n)},Kn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Kn.prototype.toArray=function(){return this.take(m)},Cr(Kn.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),i=Vn[o?"take"+("last"==t?"Right":""):t],a=o||/^find/.test(t);i&&(Vn.prototype[t]=function(){var t=this.__wrapped__,l=o?[1]:arguments,s=t instanceof Kn,u=l[0],c=s||Ka(t),d=function(e){var t=i.apply(Vn,At([e],l));return o&&f?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(s=c=!1);var f=this.__chain__,p=!!this.__actions__.length,h=a&&!f,m=s&&!p;if(!a&&c){t=m?t:new Kn(this);var g=e.apply(t,l);return g.__actions__.push({func:ha,args:[d],thisArg:r}),new jn(g,f)}return h&&m?e.apply(this,l):(g=this.thru(d),h?o?g.value()[0]:g.value():g)})}),It(["pop","push","shift","sort","splice","unshift"],function(e){var t=Re[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Vn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ka(o)?o:[],e)}return this[n](function(n){return t.apply(Ka(n)?n:[],e)})}}),Cr(Kn.prototype,function(e,t){var n=Vn[t];if(n){var r=n.name+"";Le.call(Dn,r)||(Dn[r]=[]),Dn[r].push({name:t,func:n})}}),Dn[Wo(r,2).name]=[{name:"wrapper",func:r}],Kn.prototype.clone=function(){var e=new Kn(this.__wrapped__);return e.__actions__=Ro(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ro(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ro(this.__views__),e},Kn.prototype.reverse=function(){if(this.__filtered__){var e=new Kn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Kn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ka(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=_n(t,e+a);break;case"takeRight":e=bn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,l=i.end,s=l-a,u=r?l:a-1,c=this.__iteratees__,d=c.length,f=0,p=_n(s,this.__takeCount__);if(!n||!r&&o==s&&p==s)return go(e,this.__actions__);var h=[];e:for(;s--&&f<p;){for(var m=-1,g=e[u+=t];++m<d;){var v=c[m],y=v.iteratee,b=v.type,_=y(g);if(2==b)g=_;else if(!_){if(1==b)continue e;break e}}h[f++]=g}return h},Vn.prototype.at=ma,Vn.prototype.chain=function(){return pa(this)},Vn.prototype.commit=function(){return new jn(this.value(),this.__chain__)},Vn.prototype.next=function(){this.__values__===r&&(this.__values__=pl(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?r:this.__values__[this.__index__++]}},Vn.prototype.plant=function(e){for(var t,n=this;n instanceof Un;){var o=Hi(n);o.__index__=0,o.__values__=r,t?i.__wrapped__=o:t=o;var i=o;n=n.__wrapped__}return i.__wrapped__=e,t},Vn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Kn){var t=e;return this.__actions__.length&&(t=new Kn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ta],thisArg:r}),new jn(t,this.__chain__)}return this.thru(ta)},Vn.prototype.toJSON=Vn.prototype.valueOf=Vn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Vn.prototype.first=Vn.prototype.head,Je&&(Vn.prototype[Je]=function(){return this}),Vn}();gt?((gt.exports=vn)._=vn,mt._=vn):ht._=vn}).call(t)}(kf,kf.exports);var xf=n(kf.exports);const Ef=e=>z.useMemo(()=>xf.merge({},wf,e),[e]);function Ff(e,t){return function(){return e.apply(t,arguments)}}const{toString:If}=Object.prototype,{getPrototypeOf:Tf}=Object,{iterator:Pf,toStringTag:Rf}=Symbol,Df=(Mf=Object.create(null),e=>{const t=If.call(e);return Mf[t]||(Mf[t]=t.slice(8,-1).toLowerCase())});var Mf;const Of=e=>(e=e.toLowerCase(),t=>Df(t)===e),Af=e=>t=>typeof t===e,{isArray:Lf}=Array,Nf=Af("undefined");function Bf(e){return null!==e&&!Nf(e)&&null!==e.constructor&&!Nf(e.constructor)&&Vf(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const zf=Of("ArrayBuffer");const Hf=Af("string"),Vf=Af("function"),Wf=Af("number"),Uf=e=>null!==e&&"object"==typeof e,jf=e=>{if("object"!==Df(e))return!1;const t=Tf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Rf in e||Pf in e)},Kf=Of("Date"),qf=Of("File"),Gf=Of("Blob"),$f=Of("FileList"),Qf=Of("URLSearchParams"),[Zf,Yf,Jf,Xf]=["ReadableStream","Request","Response","Headers"].map(Of);function ep(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),Lf(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Bf(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function tp(e,t){if(Bf(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const np="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,rp=e=>!Nf(e)&&e!==np;const op=(ip="undefined"!=typeof Uint8Array&&Tf(Uint8Array),e=>ip&&e instanceof ip);var ip;const ap=Of("HTMLFormElement"),lp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),sp=Of("RegExp"),up=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ep(n,(n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)};const cp=Of("AsyncFunction"),dp=(fp="function"==typeof setImmediate,pp=Vf(np.postMessage),fp?setImmediate:pp?(hp=`axios@${Math.random()}`,mp=[],np.addEventListener("message",({source:e,data:t})=>{e===np&&t===hp&&mp.length&&mp.shift()()},!1),e=>{mp.push(e),np.postMessage(hp,"*")}):e=>setTimeout(e));var fp,pp,hp,mp;const gp="undefined"!=typeof queueMicrotask?queueMicrotask.bind(np):"undefined"!=typeof process&&process.nextTick||dp;var vp={isArray:Lf,isArrayBuffer:zf,isBuffer:Bf,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Vf(e.append)&&("formdata"===(t=Df(e))||"object"===t&&Vf(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&zf(e.buffer),t},isString:Hf,isNumber:Wf,isBoolean:e=>!0===e||!1===e,isObject:Uf,isPlainObject:jf,isEmptyObject:e=>{if(!Uf(e)||Bf(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:Zf,isRequest:Yf,isResponse:Jf,isHeaders:Xf,isUndefined:Nf,isDate:Kf,isFile:qf,isBlob:Gf,isRegExp:sp,isFunction:Vf,isStream:e=>Uf(e)&&Vf(e.pipe),isURLSearchParams:Qf,isTypedArray:op,isFileList:$f,forEach:ep,merge:function e(){const{caseless:t,skipUndefined:n}=rp(this)&&this||{},r={},o=(o,i)=>{const a=t&&tp(r,i)||i;jf(r[a])&&jf(o)?r[a]=e(r[a],o):jf(o)?r[a]=e({},o):Lf(o)?r[a]=o.slice():n&&Nf(o)||(r[a]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&ep(arguments[e],o);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(ep(t,(t,r)=>{n&&Vf(t)?Object.defineProperty(e,r,{value:Ff(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const l={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&Tf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Df,kindOfTest:Of,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(Lf(e))return e;let t=e.length;if(!Wf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Pf]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:ap,hasOwnProperty:lp,hasOwnProp:lp,reduceDescriptors:up,freezeMethods:e=>{up(e,(t,n)=>{if(Vf(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];Vf(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return Lf(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:tp,global:np,isContextDefined:rp,isSpecCompliantForm:function(e){return!!(e&&Vf(e.append)&&"FormData"===e[Rf]&&e[Pf])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(Uf(e)){if(t.indexOf(e)>=0)return;if(Bf(e))return e;if(!("toJSON"in e)){t[r]=e;const o=Lf(e)?[]:{};return ep(e,(e,t)=>{const i=n(e,r+1);!Nf(i)&&(o[t]=i)}),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:cp,isThenable:e=>e&&(Uf(e)||Vf(e))&&Vf(e.then)&&Vf(e.catch),setImmediate:dp,asap:gp,isIterable:e=>null!=e&&Vf(e[Pf])};class yp extends Error{static from(e,t,n,r,o,i){const a=new yp(e.message,t||e.code,n,r,o);return a.cause=e,a.name=e.name,i&&Object.assign(a,i),a}constructor(e,t,n,r,o){super(e),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:vp.toJSONObject(this.config),code:this.code,status:this.status}}}yp.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",yp.ERR_BAD_OPTION="ERR_BAD_OPTION",yp.ECONNABORTED="ECONNABORTED",yp.ETIMEDOUT="ETIMEDOUT",yp.ERR_NETWORK="ERR_NETWORK",yp.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",yp.ERR_DEPRECATED="ERR_DEPRECATED",yp.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",yp.ERR_BAD_REQUEST="ERR_BAD_REQUEST",yp.ERR_CANCELED="ERR_CANCELED",yp.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",yp.ERR_INVALID_URL="ERR_INVALID_URL";var bp=yp;function _p(e){return vp.isPlainObject(e)||vp.isArray(e)}function Cp(e){return vp.endsWith(e,"[]")?e.slice(0,-2):e}function Sp(e,t,n){return e?e.concat(t).map(function(e,t){return e=Cp(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const wp=vp.toFlatObject(vp,{},null,function(e){return/^is[A-Z]/.test(e)});function kp(e,t,n){if(!vp.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=vp.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!vp.isUndefined(t[e])})).metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&vp.isSpecCompliantForm(t);if(!vp.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(vp.isDate(e))return e.toISOString();if(vp.isBoolean(e))return e.toString();if(!l&&vp.isBlob(e))throw new bp("Blob is not supported. Use a Buffer instead.");return vp.isArrayBuffer(e)||vp.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,o){let l=e;if(e&&!o&&"object"==typeof e)if(vp.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(vp.isArray(e)&&function(e){return vp.isArray(e)&&!e.some(_p)}(e)||(vp.isFileList(e)||vp.endsWith(n,"[]"))&&(l=vp.toArray(e)))return n=Cp(n),l.forEach(function(e,r){!vp.isUndefined(e)&&null!==e&&t.append(!0===a?Sp([n],r,i):null===a?n:n+"[]",s(e))}),!1;return!!_p(e)||(t.append(Sp(o,n,i),s(e)),!1)}const c=[],d=Object.assign(wp,{defaultVisitor:u,convertValue:s,isVisitable:_p});if(!vp.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!vp.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),vp.forEach(n,function(n,i){!0===(!(vp.isUndefined(n)||null===n)&&o.call(t,n,vp.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])}),c.pop()}}(e),t}function xp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Ep(e,t){this._pairs=[],e&&kp(e,this,t)}const Fp=Ep.prototype;function Ip(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Tp(e,t,n){if(!t)return e;const r=n&&n.encode||Ip,o=vp.isFunction(n)?{serialize:n}:n,i=o&&o.serialize;let a;if(a=i?i(t,o):vp.isURLSearchParams(t)?t.toString():new Ep(t,o).toString(r),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}Fp.append=function(e,t){this._pairs.push([e,t])},Fp.toString=function(e){const t=e?function(t){return e.call(this,t,xp)}:xp;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var Pp=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){vp.forEach(this.handlers,function(t){null!==t&&e(t)})}},Rp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dp={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Ep,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Mp="undefined"!=typeof window&&"undefined"!=typeof document,Op="object"==typeof navigator&&navigator||void 0,Ap=Mp&&(!Op||["ReactNative","NativeScript","NS"].indexOf(Op.product)<0),Lp="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Np=Mp&&window.location.href||"http://localhost";var Bp={...Object.freeze({__proto__:null,hasBrowserEnv:Mp,hasStandardBrowserEnv:Ap,hasStandardBrowserWebWorkerEnv:Lp,navigator:Op,origin:Np}),...Dp};function zp(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),l=o>=e.length;if(i=!i&&vp.isArray(r)?r.length:i,l)return vp.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&vp.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&vp.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a}if(vp.isFormData(e)&&vp.isFunction(e.entries)){const n={};return vp.forEachEntry(e,(e,r)=>{t(function(e){return vp.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null}const Hp={transitional:Rp,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=vp.isObject(e);o&&vp.isHTMLForm(e)&&(e=new FormData(e));if(vp.isFormData(e))return r?JSON.stringify(zp(e)):e;if(vp.isArrayBuffer(e)||vp.isBuffer(e)||vp.isStream(e)||vp.isFile(e)||vp.isBlob(e)||vp.isReadableStream(e))return e;if(vp.isArrayBufferView(e))return e.buffer;if(vp.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return kp(e,new Bp.classes.URLSearchParams,{visitor:function(e,t,n,r){return Bp.isNode&&vp.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=vp.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return kp(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(vp.isString(e))try{return(t||JSON.parse)(e),vp.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Hp.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(vp.isResponse(e)||vp.isReadableStream(e))return e;if(e&&vp.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw bp.from(e,bp.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Bp.classes.FormData,Blob:Bp.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};vp.forEach(["delete","get","head","post","put","patch"],e=>{Hp.headers[e]={}});var Vp=Hp;const Wp=vp.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Up=Symbol("internals");function jp(e){return e&&String(e).trim().toLowerCase()}function Kp(e){return!1===e||null==e?e:vp.isArray(e)?e.map(Kp):String(e)}function qp(e,t,n,r,o){return vp.isFunction(r)?r.call(this,t,n):(o&&(t=n),vp.isString(t)?vp.isString(r)?-1!==t.indexOf(r):vp.isRegExp(r)?r.test(t):void 0:void 0)}class Gp{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=jp(t);if(!o)throw new Error("header name must be a non-empty string");const i=vp.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Kp(e))}const i=(e,t)=>vp.forEach(e,(e,n)=>o(e,n,t));if(vp.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(vp.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Wp[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(vp.isObject(e)&&vp.isIterable(e)){let n,r,o={};for(const t of e){if(!vp.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?vp.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=jp(e)){const n=vp.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(vp.isFunction(t))return t.call(this,e,n);if(vp.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=jp(e)){const n=vp.findKey(this,e);return!(!n||void 0===this[n]||t&&!qp(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=jp(e)){const o=vp.findKey(n,e);!o||t&&!qp(0,n[o],o,t)||(delete n[o],r=!0)}}return vp.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!qp(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return vp.forEach(this,(r,o)=>{const i=vp.findKey(n,o);if(i)return t[i]=Kp(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();a!==o&&delete t[o],t[a]=Kp(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return vp.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&vp.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[Up]=this[Up]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=jp(e);t[r]||(!function(e,t){const n=vp.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return vp.isArray(e)?e.forEach(r):r(e),this}}Gp.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),vp.reduceDescriptors(Gp.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),vp.freezeMethods(Gp);var $p=Gp;function Qp(e,t){const n=this||Vp,r=t||n,o=$p.from(r.headers);let i=r.data;return vp.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Zp(e){return!(!e||!e.__CANCEL__)}var Yp=class extends bp{constructor(e,t,n){super(null==e?"canceled":e,bp.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function Jp(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new bp("Request failed with status code "+n.status,[bp.ERR_BAD_REQUEST,bp.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Xp=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(l){const s=Date.now(),u=r[a];o||(o=s),n[i]=l,r[i]=s;let c=a,d=0;for(;c!==i;)d+=n[c++],c%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),s-o<t)return;const f=u&&s-u;return f?Math.round(1e3*d/f):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),l=t-o;l>=i?a(e,t):(n=e,r||(r=setTimeout(()=>{r=null,a(n)},i-l)))},()=>n&&a(n)]}(n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,l=i-r,s=o(l);r=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&i<=a?(a-i)/s:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},eh=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},th=e=>(...t)=>vp.asap(()=>e(...t));var nh=Bp.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Bp.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Bp.origin),Bp.navigator&&/(msie|trident)/i.test(Bp.navigator.userAgent)):()=>!0,rh=Bp.hasStandardBrowserEnv?{write(e,t,n,r,o,i,a){if("undefined"==typeof document)return;const l=[`${e}=${encodeURIComponent(t)}`];vp.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),vp.isString(r)&&l.push(`path=${r}`),vp.isString(o)&&l.push(`domain=${o}`),!0===i&&l.push("secure"),vp.isString(a)&&l.push(`SameSite=${a}`),document.cookie=l.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function oh(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const ih=e=>e instanceof $p?{...e}:e;function ah(e,t){t=t||{};const n={};function r(e,t,n,r){return vp.isPlainObject(e)&&vp.isPlainObject(t)?vp.merge.call({caseless:r},e,t):vp.isPlainObject(t)?vp.merge({},t):vp.isArray(t)?t.slice():t}function o(e,t,n,o){return vp.isUndefined(t)?vp.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!vp.isUndefined(t))return r(void 0,t)}function a(e,t){return vp.isUndefined(t)?vp.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function l(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(e,t,n)=>o(ih(e),ih(t),0,!0)};return vp.forEach(Object.keys({...e,...t}),function(r){const i=s[r]||o,a=i(e[r],t[r],r);vp.isUndefined(a)&&i!==l||(n[r]=a)}),n}var lh=e=>{const t=ah({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:l}=t;if(t.headers=a=$p.from(a),t.url=Tp(oh(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),vp.isFormData(n))if(Bp.hasStandardBrowserEnv||Bp.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(vp.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&a.set(e,n)})}if(Bp.hasStandardBrowserEnv&&(r&&vp.isFunction(r)&&(r=r(t)),r||!1!==r&&nh(t.url))){const e=o&&i&&rh.read(i);e&&a.set(o,e)}return t};var sh="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=lh(e);let o=r.data;const i=$p.from(r.headers).normalize();let a,l,s,u,c,{responseType:d,onUploadProgress:f,onDownloadProgress:p}=r;function h(){u&&u(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=$p.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Jp(function(e){t(e),h()},function(e){n(e),h()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new bp("Request aborted",bp.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new bp(r,bp.ERR_NETWORK,e,m);o.event=t||null,n(o),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||Rp;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new bp(t,o.clarifyTimeoutError?bp.ETIMEDOUT:bp.ECONNABORTED,e,m)),m=null},void 0===o&&i.setContentType(null),"setRequestHeader"in m&&vp.forEach(i.toJSON(),function(e,t){m.setRequestHeader(t,e)}),vp.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),p&&([s,c]=Xp(p,!0),m.addEventListener("progress",s)),f&&m.upload&&([l,u]=Xp(f),m.upload.addEventListener("progress",l),m.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(a=t=>{m&&(n(!t||t.type?new Yp(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const v=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);v&&-1===Bp.protocols.indexOf(v)?n(new bp("Unsupported protocol "+v+":",bp.ERR_BAD_REQUEST,e)):m.send(o||null)})};var uh=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof bp?t:new Yp(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new bp(`timeout of ${t}ms exceeded`,bp.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>vp.asap(a),l}};const ch=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},dh=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},fh=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of dh(e))yield*ch(n,t)}(e,t);let i,a=0,l=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return l(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw l(e),e}},cancel:e=>(l(e),o.return())},{highWaterMark:2})},{isFunction:ph}=vp,hh=(({Request:e,Response:t})=>({Request:e,Response:t}))(vp.global),{ReadableStream:mh,TextEncoder:gh}=vp.global,vh=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},yh=e=>{e=vp.merge.call({skipUndefined:!0},hh,e);const{fetch:t,Request:n,Response:r}=e,o=t?ph(t):"function"==typeof fetch,i=ph(n),a=ph(r);if(!o)return!1;const l=o&&ph(mh),s=o&&("function"==typeof gh?(u=new gh,e=>u.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var u;const c=i&&l&&vh(()=>{let e=!1;const t=new n(Bp.origin,{body:new mh,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),d=a&&l&&vh(()=>vp.isReadableStream(new r("").body)),f={stream:d&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!f[e]&&(f[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new bp(`Response type '${e}' is not supported`,bp.ERR_NOT_SUPPORT,n)})});const p=async(e,t)=>{const r=vp.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(vp.isBlob(e))return e.size;if(vp.isSpecCompliantForm(e)){const t=new n(Bp.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return vp.isArrayBufferView(e)||vp.isArrayBuffer(e)?e.byteLength:(vp.isURLSearchParams(e)&&(e+=""),vp.isString(e)?(await s(e)).byteLength:void 0)})(t):r};return async e=>{let{url:o,method:a,data:l,signal:s,cancelToken:u,timeout:h,onDownloadProgress:m,onUploadProgress:g,responseType:v,headers:y,withCredentials:b="same-origin",fetchOptions:_}=lh(e),C=t||fetch;v=v?(v+"").toLowerCase():"text";let S=uh([s,u&&u.toAbortSignal()],h),w=null;const k=S&&S.unsubscribe&&(()=>{S.unsubscribe()});let x;try{if(g&&c&&"get"!==a&&"head"!==a&&0!==(x=await p(y,l))){let e,t=new n(o,{method:"POST",body:l,duplex:"half"});if(vp.isFormData(l)&&(e=t.headers.get("content-type"))&&y.setContentType(e),t.body){const[e,n]=eh(x,Xp(th(g)));l=fh(t.body,65536,e,n)}}vp.isString(b)||(b=b?"include":"omit");const t=i&&"credentials"in n.prototype,s={..._,signal:S,method:a.toUpperCase(),headers:y.normalize().toJSON(),body:l,duplex:"half",credentials:t?b:void 0};w=i&&new n(o,s);let u=await(i?C(w,_):C(o,s));const h=d&&("stream"===v||"response"===v);if(d&&(m||h&&k)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=u[t]});const t=vp.toFiniteNumber(u.headers.get("content-length")),[n,o]=m&&eh(t,Xp(th(m),!0))||[];u=new r(fh(u.body,65536,n,()=>{o&&o(),k&&k()}),e)}v=v||"text";let E=await f[vp.findKey(f,v)||"text"](u,e);return!h&&k&&k(),await new Promise((t,n)=>{Jp(t,n,{data:E,headers:$p.from(u.headers),status:u.status,statusText:u.statusText,config:e,request:w})})}catch(t){if(k&&k(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new bp("Network Error",bp.ERR_NETWORK,e,w),{cause:t.cause||t});throw bp.from(t,t&&t.code,e,w)}}},bh=new Map,_h=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let a,l,s=i.length,u=bh;for(;s--;)a=i[s],l=u.get(a),void 0===l&&u.set(a,l=s?new Map:yh(t)),u=l;return l};_h();const Ch={http:null,xhr:sh,fetch:{get:_h}};vp.forEach(Ch,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const Sh=e=>`- ${e}`,wh=e=>vp.isFunction(e)||null===e||!1===e;var kh={getAdapter:function(e,t){e=vp.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let a=0;a<n;a++){let n;if(r=e[a],o=r,!wh(r)&&(o=Ch[(n=String(r)).toLowerCase()],void 0===o))throw new bp(`Unknown adapter '${n}'`);if(o&&(vp.isFunction(o)||(o=o.get(t))))break;i[n||"#"+a]=o}if(!o){const e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(Sh).join("\n"):" "+Sh(e[0]):"as no adapter specified";throw new bp("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o},adapters:Ch};function xh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Yp(null,e)}function Eh(e){xh(e),e.headers=$p.from(e.headers),e.data=Qp.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return kh.getAdapter(e.adapter||Vp.adapter,e)(e).then(function(t){return xh(e),t.data=Qp.call(e,e.transformResponse,t),t.headers=$p.from(t.headers),t},function(t){return Zp(t)||(xh(e),t&&t.response&&(t.response.data=Qp.call(e,e.transformResponse,t.response),t.response.headers=$p.from(t.response.headers))),Promise.reject(t)})}const Fh="1.13.4",Ih={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ih[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Th={};Ih.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Fh+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new bp(r(o," has been removed"+(t?" in "+t:"")),bp.ERR_DEPRECATED);return t&&!Th[o]&&(Th[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},Ih.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var Ph={assertOptions:function(e,t,n){if("object"!=typeof e)throw new bp("options must be an object",bp.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new bp("option "+i+" must be "+n,bp.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new bp("Unknown option "+i,bp.ERR_BAD_OPTION)}},validators:Ih};const Rh=Ph.validators;class Dh{constructor(e){this.defaults=e||{},this.interceptors={request:new Pp,response:new Pp}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=ah(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Ph.assertOptions(n,{silentJSONParsing:Rh.transitional(Rh.boolean),forcedJSONParsing:Rh.transitional(Rh.boolean),clarifyTimeoutError:Rh.transitional(Rh.boolean)},!1),null!=r&&(vp.isFunction(r)?t.paramsSerializer={serialize:r}:Ph.assertOptions(r,{encode:Rh.function,serialize:Rh.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Ph.assertOptions(t,{baseUrl:Rh.spelling("baseURL"),withXsrfToken:Rh.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&vp.merge(o.common,o[t.method]);o&&vp.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=$p.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,a.unshift(e.fulfilled,e.rejected))});const s=[];let u;this.interceptors.response.forEach(function(e){s.push(e.fulfilled,e.rejected)});let c,d=0;if(!l){const e=[Eh.bind(this),void 0];for(e.unshift(...a),e.push(...s),c=e.length,u=Promise.resolve(t);d<c;)u=u.then(e[d++],e[d++]);return u}c=a.length;let f=t;for(;d<c;){const e=a[d++],t=a[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{u=Eh.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,c=s.length;d<c;)u=u.then(s[d++],s[d++]);return u}getUri(e){return Tp(oh((e=ah(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}vp.forEach(["delete","get","head","options"],function(e){Dh.prototype[e]=function(t,n){return this.request(ah(n||{},{method:e,url:t,data:(n||{}).data}))}}),vp.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,o){return this.request(ah(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Dh.prototype[e]=t(),Dh.prototype[e+"Form"]=t(!0)});var Mh=Dh;class Oh{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new Yp(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;const t=new Oh(function(t){e=t});return{token:t,cancel:e}}}var Ah=Oh;const Lh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Lh).forEach(([e,t])=>{Lh[t]=e});var Nh=Lh;const Bh=function e(t){const n=new Mh(t),r=Ff(Mh.prototype.request,n);return vp.extend(r,Mh.prototype,n,{allOwnKeys:!0}),vp.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(ah(t,n))},r}(Vp);Bh.Axios=Mh,Bh.CanceledError=Yp,Bh.CancelToken=Ah,Bh.isCancel=Zp,Bh.VERSION=Fh,Bh.toFormData=kp,Bh.AxiosError=bp,Bh.Cancel=Bh.CanceledError,Bh.all=function(e){return Promise.all(e)},Bh.spread=function(e){return function(t){return e.apply(null,t)}},Bh.isAxiosError=function(e){return vp.isObject(e)&&!0===e.isAxiosError},Bh.mergeConfig=ah,Bh.AxiosHeaders=$p,Bh.formToJSON=e=>zp(vp.isHTMLForm(e)?new FormData(e):e),Bh.getAdapter=kh.getAdapter,Bh.HttpStatusCode=Nh,Bh.default=Bh;var zh=Bh;const Hh=[{key:1,text:"English",data:{code:"en"}},{key:2,text:"French",data:{code:"fr"}},{key:3,text:"German",data:{code:"de"}},{key:4,text:"Italian",data:{code:"it"}},{key:5,text:"Japanese",data:{code:"ja"}},{key:6,text:"Korean",data:{code:"ko"}},{key:7,text:"Portuguese",data:{code:"pt"}},{key:8,text:"Spanish",data:{code:"es"}},{key:9,text:"Dutch",data:{code:"nl"}},{key:10,text:"Arabic",data:{code:"ar"}},{key:11,text:"Hebrew",data:{code:"he"}},{key:12,text:"Portuguese, Brazilian",data:{code:"pt-br"}},{key:13,text:"Turkish",data:{code:"tr"}},{key:14,text:"Indonesian",data:{code:"id"}},{key:15,text:"Thai",data:{code:"th"}},{key:16,text:"Vietnamese",data:{code:"vi"}},{key:17,text:"Polish",data:{code:"pl"}}],Vh={en:{formScreen:{ApplySSAS:"apply_ssas",ApplySSASDesc:"apply_ssas_desc",AppForm:"app_form",AppFormDesc:"app_from_desc",FirstName:"first_name",FirstNamePlaceholder:"first_name_placeholder",FirstNameError:"first_name_error",LastName:"last_name",LastNamePlaceholder:"last_name_placeholder",LastNameError:"last_name_error",EmailAddress:"email_address",EmailPlaceholder:"email_placeholder",EmailDesc:"email_desc",EmailError:"email_error",EmailInvalid:"email_invalid",EmailNotConnected:"email_not_connected",JobRole:"job_role",JobRolePlaceholder:"job_role_placeholder",CompanyName:"company_name",CompanyNamePlaceholder:"company_name_placeholder",CompanyNameError:"company_name_error",CompanySize:"company_size",Country:"country",CountryPlaceholder:"country_placeholder",CountryError:"country_error",AcceptTerm:"accept_term",TermCondition:"term_condition",SubmitRequest:"submit_request",ThankYou:"thank_you",ThankYouDesc:"thank_you_desc",BackToHome:"back_to_home",CompanyScore:"company_score",IsSharedMailTerm:"shared_mail_term",AcceptPrivacy:"accept_privacy",PrivacyStatementLink:"privacy_statement_link",PrivacyNotice:"privacy_notice",SelectPreferredLanguage:"select_preferred_language",ValidatingMessage:"validating_message",PartnerName:"partner_name",PartnerNamePlaceholder:"partner_name_placeholder",PartnerNameError:"partner_name_error",PartnerEmail:"partner_email",PartnerEmailPlaceholder:"partner_email_placeholder",PartnerEmailError:"partner_email_error",ByCustomer:"by_customer",ByPartner:"by_partner",HearAbout:"hear_about",HearAboutPlaceholder:"hear_about_placeholder",HearAboutError:"hear_about_error",Industry:"industry"}}},Wh="/user/add-from-partner",Uh="/user/validate",jh="/common/country-list",Kh="/app-configuration/maintenance-status",qh="/common/orgsizing-list",Gh="/common/industry-list",$h="/partner/get",Qh="/partner/get-by-name",Zh="/localization/get";class Yh{constructor(e){this.baseUrl=e.endsWith("/")?e.slice(0,-1):e}getUrl(e){const t=this.baseUrl.includes("localhost")?"":"/api";return`${this.baseUrl}${t}${e}`}async addUser(e,t,n){return new Promise((r,o)=>{zh.post(this.getUrl(`${Wh}?partnerName=${t}&callingDomain=${n}`),e).then(t=>{t.data.isSuccess?r(e):o(t.data.error)}).catch(e=>{o(e)})})}async validateEmail(e,t){try{const n=await zh.get(this.getUrl(Uh),{params:{email:e},signal:t});if(n.data.isSuccess)return n.data.data;throw new Error(n.data.error||"Email validation failed")}catch(e){if(zh.isCancel(e))throw e;throw new Error(e.response?.data?.error||e.message||"Email validation failed")}}async getCountries(){try{const e=await zh.get(this.getUrl(jh));if(void 0!==e.data.isSuccess){if(e.data.isSuccess)return e.data.data.map(e=>({name:e.name,alpha2Code:e.alpha2Code}));throw new Error(e.data.error||"Failed to fetch countries")}if(Array.isArray(e.data))return e.data.map(e=>({name:e.name?.common||e.name,alpha2Code:e.cca2||e.alpha2Code}));throw new Error("Unexpected response format")}catch(e){throw console.error("Failed to fetch countries:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch countries")}}async checkMaintenanceStatus(){try{const e=await zh.get(this.getUrl(Kh));return!!e.data.isSuccess&&e.data.data}catch(e){return!1}}async getOrgSizes(){try{const e=await zh.get(this.getUrl(qh));if(e.data.isSuccess)return e.data.data.map(e=>({id:e.id,sizeLowerBound:e.lowerBound,sizeUpperBound:e.upperBound,sortOrder:e.sortOrder,microsoftSizingId:e.microsoftSizingId,label:void 0}));throw new Error(e.data.error||"Failed to fetch organization sizes")}catch(e){throw console.error("Failed to fetch org sizes:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch organization sizes")}}async getIndustries(){try{const e=await zh.get(this.getUrl(Gh));if(e.data.isSuccess)return e.data.data;throw new Error(e.data.error||"Failed to fetch industries")}catch(e){throw console.error("Failed to fetch industries:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch industries")}}async getPartnerByDomain(){try{let e=new URL(this.baseUrl).host;e=e.replace(/^(https?:\/\/)/,""),e=e.replace(/^www\./,"");const t=await zh.get(this.getUrl($h),{params:{domain:e}});if(t.data.isSuccess)return t.data.data;throw new Error(t.data.error||"Failed to fetch partner")}catch(e){throw console.error("Failed to fetch partner:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch partner")}}async getPartnerByName(e){try{const t=await zh.get(this.getUrl(Qh),{params:{name:e}});if(t.data.isSuccess)return t.data.data;throw new Error(t.data.error||"Failed to fetch partner")}catch(e){throw console.error("Failed to fetch partner:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch partner")}}async getFormScreenLocalization(e,t){try{const n=await zh.get(this.getUrl(`${Zh}/${e}/FormScreen/${t}`));if(n.data.isSuccess)return n.data.data;throw new Error(n.data.error||"Failed to fetch localization")}catch(e){throw console.error("Failed to fetch localization:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch localization")}}}var Jh=function(e,t){return Jh=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])},Jh(e,t)};function Xh(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}Jh(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var em=function(){return em=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},em.apply(this,arguments)};function tm(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function nm(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function rm(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))}"function"==typeof SuppressedError&&SuppressedError;var om={},im=void 0;try{im=window}catch(dI){}function am(e,t){if(void 0!==im){var n=im.__packages__=im.__packages__||{};if(!n[e]||!om[e])om[e]=t,(n[e]=n[e]||[]).push(t)}}am("@fluentui/set-version","6.0.0");var lm,sm="__global__",um="__shadow_dom_stylesheet__",cm={stylesheetKey:sm,inShadow:!1,window:void 0,__isShadowConfig__:!0},dm=function(e){return!(!e||!function(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}(e))&&!0===e.__isShadowConfig__};function fm(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 l=a[n];if(l&&!dm(l))if("string"==typeof l)if(l.indexOf(" ")>=0)e(l.split(" "));else{var s=i.argsFromClassName(l);s?e(s):-1===r.indexOf(l)&&r.push(l)}else Array.isArray(l)?e(l):"object"==typeof l&&o.push(l)}}(t),{classes:r,objects:o}}function pm(e){lm!==e&&(lm=e)}function hm(){return void 0===lm&&(lm="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),lm}function mm(){return{rtl:hm(),shadowConfig:cm}}lm=hm();var gm,vm=0,ym=1,bm=2,_m="__stylesheet__",Cm="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),Sm={};try{Sm=window||{}}catch(nF){}var wm,km=function(){function e(e,t){var n,r,o,i,a,l;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=em({injectionMode:"undefined"==typeof document?vm:ym,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!==(a=null==t?void 0:t.preservedRules)&&void 0!==a?a:this._preservedRules,this._rules=null!==(l=null==t?void 0:t.rules)&&void 0!==l?l:this._rules}return e.getInstance=function(t){if(gm=Sm[_m],Sm[um])return Sm[um].getInstance(t);if(!gm||gm._lastStyleElement&&gm._lastStyleElement.ownerDocument!==document){var n=(null==Sm?void 0:Sm.FabricConfig)||{},r=new e(n.mergeStyles,n.serializedStylesheet);gm=r,Sm[_m]=r}return gm},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=em(em({},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=sm);var r=this._config.injectionMode,o=r!==vm?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),o)switch(r){case ym:this._insertRuleIntoSheet(o.sheet,e);break;case bm: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;this._styleElement||(this._styleElement=this._createStyleElement(),Cm||(this._config.window||window).requestAnimationFrame(function(){e._styleElement=void 0}));return this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}(),xm={};function Em(e,t){var n=e[t];"-"!==n.charAt(0)&&(e[t]=xm[n]=xm[n]||n.replace(/([A-Z])/g,"-$1").toLowerCase())}var Fm={"user-select":1};function Im(e,t){var n=function(){var e;if(!wm){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();wm=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 wm}(),r=e[t];if(Fm[r]){var o=e[t+1];Fm[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 Tm,Pm=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function Rm(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var o=Pm.indexOf(n)>-1,i=n.indexOf("--")>-1,a=o||i?"":"px";e[t+1]="".concat(r).concat(a)}}var Dm="left",Mm="right",Om=((Tm={})[Dm]=Mm,Tm[Mm]=Dm,Tm),Am={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function Lm(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var o=t[n+1];if("string"==typeof o&&o.indexOf("@noflip")>=0)t[n+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(Dm)>=0)t[n]=r.replace(Dm,Mm);else if(r.indexOf(Mm)>=0)t[n]=r.replace(Mm,Dm);else if(String(o).indexOf(Dm)>=0)t[n+1]=o.replace(Dm,Mm);else if(String(o).indexOf(Mm)>=0)t[n+1]=o.replace(Mm,Dm);else if(Om[r])t[n]=Om[r];else if(Am[o])t[n+1]=Am[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[t],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(o,0)}}}var Nm=/\:global\((.+?)\)/g;function Bm(e){return e.indexOf(":global(")>=0||0===e.indexOf(":")}function zm(e,t){return e.indexOf(":global(")>=0?e.replace(Nm,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function Hm(e,t,n,r,o){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?Vm([r],t,n=n+"{"+e,o):n.indexOf(",")>-1?function(e){if(!Nm.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 Vm([r],t,zm(n,e),o)}):Vm([r],t,zm(n,e),o)}function Vm(e,t,n,r){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var o=t[n];o||(o={},t[n]=o,t.__order.push(n));for(var i=0,a=e;i<a.length;i++){var l=a[i];if("string"==typeof l){var s=r.argsFromClassName(l);s&&Vm(s,t,n,r)}else if(Array.isArray(l))Vm(l,t,n,r);else for(var u in l)if(l.hasOwnProperty(u)){var c=l[u];if("selectors"===u){var d=l.selectors;for(var f in d)d.hasOwnProperty(f)&&Hm(n,t,f,d[f],r)}else"object"==typeof c||Bm(u)?null!=c&&Hm(n,t,u,c,r):void 0!==c&&("margin"===u||"padding"===u?Wm(o,u,c):o[u]=c)}}return t}function Wm(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 Um(e,t){return t<=0?"":1===t?e:e+Um(e,t-1)}function jm(e,t){if(!t)return"";var n=[];for(var r in t)t.hasOwnProperty(r)&&"displayName"!==r&&void 0!==t[r]&&n.push(r,t[r]);for(var o=0;o<n.length;o+=2)Em(n,o),Rm(n,o),Lm(e,n,o),Im(n,o);for(o=1;o<n.length;o+=4)n.splice(o,1,":",n[o],";");return n.join("")}function Km(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:km.getInstance(e.shadowConfig),i=Vm(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 l=t[a];for(var s in l)l.hasOwnProperty(s)&&void 0!==l[s]&&(r=!0,n.push(s,l[s]))}return r?n.join(""):void 0}(e,i);if(a){var l={className:o.classNameFromKey(a),key:a,args:n};if(!l.className){l.className=o.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(i));for(var s=[],u=0,c=i.__order;u<c.length;u++){var d=c[u];s.push(d,jm(e,i[d]))}l.rulesToInsert=s}return l}}function qm(e,t,n,r){void 0===t&&(t=1);var o=null!=r?r:km.getInstance(n),i=e.className,a=e.key,l=e.args,s=e.rulesToInsert;if(s){for(var u=0;u<s.length;u+=2){var c=s[u+1];if(c){var d=s[u];d=d.replace(/&/g,Um(".".concat(e.className),t));var f="".concat(d,"{").concat(c,"}").concat(0===d.indexOf("@")?"}":"");o.insertRule(f)}}o.cacheClassName(i,a,l,s)}}function Gm(){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||{};dm(n[0])&&(r.shadowConfig=n[0]);r.stylesheet=km.getInstance(r.shadowConfig);var o=fm(r.stylesheet,n),i=o.classes,a=o.objects;a.length&&i.push(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Km.apply(void 0,rm([e],t,!1));return r?(qm(r,e.specificityMultiplier,e.shadowConfig,e.stylesheet),r.className):""}(r,a));return i.join(" ")}(e,mm())}function $m(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles&&!dm(e[0]))return e[0];for(var n={},r={},o=0,i=e;o<i.length;o++){var a=i[o];if(a&&!dm(a))for(var l in a)if(a.hasOwnProperty(l)){if("subComponentStyles"===l&&void 0!==a.subComponentStyles){var s=a.subComponentStyles;for(var u in s)s.hasOwnProperty(u)&&(r.hasOwnProperty(u)?r[u].push(s[u]):r[u]=[s[u]]);continue}var c=n[l],d=a[l];n[l]=void 0===c?d:rm(rm([],Array.isArray(c)?c:[c],!0),Array.isArray(d)?d:[d],!0)}}if(Object.keys(r).length>0){n.subComponentStyles={};var f=n.subComponentStyles,p=function(e){if(r.hasOwnProperty(e)){var t=r[e];f[e]=function(e){return $m.apply(void 0,t.map(function(t){return"function"==typeof t?t(e):t}))}}};for(var u in r)p(u)}return n}function Qm(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Zm(e,mm())}function Zm(e,t){var n,r={subComponentStyles:{}},o=void 0;dm(e[0])?(o=e[0],n=e[1]):n=e[0],null!=o||(o=null==t?void 0:t.shadowConfig);var i=em(em({},t),{shadowConfig:o});if(!n&&e.length<=1)return{subComponentStyles:{}};var a=km.getInstance(o);i.stylesheet=a;var l=$m.apply(void 0,e),s=[];for(var u in l)if(l.hasOwnProperty(u)){if("subComponentStyles"===u){r.subComponentStyles=l.subComponentStyles||{};continue}if("__shadowConfig__"===u)continue;var c=fm(a,l[u]),d=c.classes,f=c.objects;if(null==f?void 0:f.length)(m=Km(i||{},{displayName:u},f))&&(s.push(m),r[u]=d.concat([m.className]).join(" "));else r[u]=d.join(" ")}for(var p=0,h=s;p<h.length;p++){var m;(m=h[p])&&qm(m,null==t?void 0:t.specificityMultiplier,o)}return r}function Ym(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],o=0,i=t;o<i.length;o++){var a=i[o];a&&r.push("function"==typeof a?a(e):a)}return 1===r.length?r[0]:r.length?$m.apply(void 0,r):{}}function Jm(e){var t=km.getInstance(),n=jm(mm(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{".concat(n,"}"),!0),t.cacheClassName(r,n,[],["font-face",n])}}function Xm(e){var t=km.getInstance(),n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r,"{",jm(mm(),e[r]),"}");var o=n.join(""),i=t.classNameFromKey(o);if(i)return i;var a=t.getClassName();return t.insertRule("@keyframes ".concat(a,"{").concat(o,"}"),!0),t.cacheClassName(a,o,[],["keyframes",o]),a}function eg(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}var tg=void 0;try{tg=window}catch(dI){}function ng(e){if(eg()&&void 0!==tg){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:tg}}var rg=function(){function e(e,t){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=e||null,this._onErrorHandler=t,this._noop=function(){}}return e.prototype.dispose=function(){var e;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(e in this._timeoutIds)this._timeoutIds.hasOwnProperty(e)&&this.clearTimeout(parseInt(e,10));this._timeoutIds=null}if(this._immediateIds){for(e in this._immediateIds)this._immediateIds.hasOwnProperty(e)&&this.clearImmediate(parseInt(e,10));this._immediateIds=null}if(this._intervalIds){for(e in this._intervalIds)this._intervalIds.hasOwnProperty(e)&&this.clearInterval(parseInt(e,10));this._intervalIds=null}if(this._animationFrameIds){for(e in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(e)&&this.cancelAnimationFrame(parseInt(e,10));this._animationFrameIds=null}},e.prototype.setTimeout=function(e,t){var n=this,r=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),r=setTimeout(function(){try{n._timeoutIds&&delete n._timeoutIds[r],e.apply(n._parent)}catch(e){n._logError(e)}},t),this._timeoutIds[r]=!0),r},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e,t){var n=this,r=0,o=ng(t);if(!this._isDisposed){this._immediateIds||(this._immediateIds={});r=o.setTimeout(function(){try{n._immediateIds&&delete n._immediateIds[r],e.apply(n._parent)}catch(e){n._logError(e)}},0),this._immediateIds[r]=!0}return r},e.prototype.clearImmediate=function(e,t){var n=ng(t);this._immediateIds&&this._immediateIds[e]&&(n.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var n=this,r=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),r=setInterval(function(){try{e.apply(n._parent)}catch(e){n._logError(e)}},t),this._intervalIds[r]=!0),r},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,n){var r=this;if(this._isDisposed)return this._noop;var o,i,a=t||0,l=!0,s=!0,u=0,c=null;n&&"boolean"==typeof n.leading&&(l=n.leading),n&&"boolean"==typeof n.trailing&&(s=n.trailing);var d=function(t){var n=Date.now(),f=n-u,p=l?a-f:a;return f>=a&&(!t||l)?(u=n,c&&(r.clearTimeout(c),c=null),o=e.apply(r._parent,i)):null===c&&s&&(c=r.setTimeout(d,p)),o};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i=e,d(!0)}},e.prototype.debounce=function(e,t,n){var r=this;if(this._isDisposed){var o=function(){};return o.cancel=function(){},o.flush=function(){return null},o.pending=function(){return!1},o}var i,a,l=t||0,s=!1,u=!0,c=null,d=0,f=Date.now(),p=null;n&&"boolean"==typeof n.leading&&(s=n.leading),n&&"boolean"==typeof n.trailing&&(u=n.trailing),n&&"number"==typeof n.maxWait&&!isNaN(n.maxWait)&&(c=n.maxWait);var h=function(e){p&&(r.clearTimeout(p),p=null),f=e},m=function(t){h(t),i=e.apply(r._parent,a)},g=function(e){var t=Date.now(),n=!1;e&&(s&&t-d>=l&&(n=!0),d=t);var o=t-d,a=l-o,h=t-f,v=!1;return null!==c&&(h>=c&&p?v=!0:a=Math.min(a,c-h)),o>=l||v||n?m(t):null!==p&&e||!u||(p=r.setTimeout(g,a)),i},v=function(){return!!p},y=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a=e,g(!0)};return y.cancel=function(){v()&&h(Date.now())},y.flush=function(){return v()&&m(Date.now()),i},y.pending=v,y},e.prototype.requestAnimationFrame=function(e,t){var n=this,r=0,o=ng(t);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var i=function(){try{n._animationFrameIds&&delete n._animationFrameIds[r],e.apply(n._parent)}catch(e){n._logError(e)}};r=o.requestAnimationFrame?o.requestAnimationFrame(i):o.setTimeout(i,0),this._animationFrameIds[r]=!0}return r},e.prototype.cancelAnimationFrame=function(e,t){var n=ng(t);this._animationFrameIds&&this._animationFrameIds[e]&&(n.cancelAnimationFrame?n.cancelAnimationFrame(e):n.clearTimeout(e),delete this._animationFrameIds[e])},e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},e}();function og(e){return e&&!!e._virtual}function ig(e,t){var n,r;if(void 0===t&&(t=!0),!e)return null;var o=t&&function(e){var t;return e&&og(e)&&(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 ag(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=ig(t);if(o===e){r=!0;break}t=o}else e.contains&&(r=e.contains(t));return r}function lg(e,t,n){return null!=n||(n=document),!e||e===n.body||e instanceof Document?null:t(e)?e:lg(ig(e),t)}var sg=function(e){for(var t=e.activeElement;null==t?void 0:t.shadowRoot;)t=t.shadowRoot.activeElement;return t};var ug=function(e){var t=e.target;return t&&t.shadowRoot&&(t=e.composedPath()[0]),t},cg="data-portal-element";function dg(e,t,n){var r,o=lg(e,function(e){var n;return t===e||!!(null===(n=e.hasAttribute)||void 0===n?void 0:n.call(e,cg))},n);return null!==o&&!!(null===(r=o.hasAttribute)||void 0===r?void 0:r.call(o,cg))}function fg(e){if(eg()&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}function pg(e,t,n,r){return gg(e,t,!0,!1,!1,n,void 0,void 0,void 0,r)}function hg(e,t,n,r){return mg(e,t,!0,!1,!0,n,void 0,void 0,r)}function mg(e,t,n,r,o,i,a,l,s){var u;if(!t||!a&&t===e)return null;var c=vg(t);if(o&&c&&(i||!_g(t)&&!Cg(t))){var d=mg(e,t.lastElementChild||s&&(null===(u=t.shadowRoot)||void 0===u?void 0:u.lastElementChild),!0,!0,!0,i,a,l,s);if(d){if(l&&bg(d,!0,s)||!l)return d;var f=mg(e,d.previousElementSibling,!0,!0,!0,i,a,l,s);if(f)return f;for(var p=d.parentElement;p&&p!==t;){var h=mg(e,p.previousElementSibling,!0,!0,!0,i,a,l,s);if(h)return h;p=p.parentElement}}}if(n&&c&&bg(t,l,s))return t;var m=mg(e,t.previousElementSibling,!0,!0,!0,i,a,l,s);return m||(r?null:mg(e,t.parentElement,!0,!1,!1,i,a,l,s))}function gg(e,t,n,r,o,i,a,l,s,u){var c;if(!t||t===e&&o&&!a)return null;var d=(s?yg:vg)(t);if(n&&d&&bg(t,l,u))return t;if(!o&&d&&(i||!_g(t)&&!Cg(t))){var f=gg(e,t.firstElementChild||u&&(null===(c=t.shadowRoot)||void 0===c?void 0:c.firstElementChild),!0,!0,!1,i,a,l,s,u);if(f)return f}if(t===e)return null;var p=gg(e,t.nextElementSibling,!0,!0,!1,i,a,l,s,u);return p||(r?null:gg(e,t.parentElement,!1,!1,!0,i,a,l,s,u))}function vg(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute("data-is-visible");return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function yg(e,t){var n=null!=t?t:ng();return!!e&&vg(e)&&!e.hidden&&"hidden"!==n.getComputedStyle(e).visibility}function bg(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("data-is-focusable"):null,a=null!==o&&r>=0,l=!(!n||!e.shadowRoot)&&!!e.shadowRoot.delegatesFocus,s=!!e&&"false"!==i&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===i||a||l);return t?-1!==r&&s:s}function _g(e){return!!(e&&e.getAttribute&&e.getAttribute("data-focuszone-id"))}function Cg(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute("data-is-sub-focuszone"))}function Sg(e,t,n){return"true"!==function(e,t,n){var r=lg(e,function(e){return e.hasAttribute(t)},n);return r&&r.getAttribute(t)}(e,t,null!=n?n:fg())}var wg=void 0;function kg(e){if(e){var t=ng(e);t&&(void 0!==wg&&t.cancelAnimationFrame(wg),wg=t.requestAnimationFrame(function(){e&&e.focus(),wg=void 0}))}}function xg(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function Eg(e,t){if(!e||!t)return!e&&!t;for(var n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||t[n]!==e[n]))return!1;for(var n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}function Fg(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Ig.apply(this,[null,e].concat(t))}function Ig(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t=t||{};for(var o=0,i=n;o<i.length;o++){var a=i[o];if(a)for(var l in a)!a.hasOwnProperty(l)||e&&!e(l)||(t[l]=a[l])}return t}var Tg,Pg=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,n,r,o,i){var a,l=null!=i?i:fg();if(e._isElement(t)){if(void 0!==l&&l.createEvent){var s=l.createEvent("HTMLEvents");s.initEvent(n,o||!1,!0),Fg(s,r),a=t.dispatchEvent(s)}else if(void 0!==l&&l.createEventObject){var u=l.createEventObject(r);t.fireEvent("on"+n,u)}}else for(;t&&!1!==a;){var c=t.__events__,d=c?c[n]:null;if(d)for(var f in d)if(d.hasOwnProperty(f))for(var p=d[f],h=0;!1!==a&&h<p.length;h++){var m=p[h];m.objectCallback&&(a=m.objectCallback.call(m.parent,r))}t=o?t.parent:null}return a},e.isObserved=function(e,t){var n=e&&e.__events__;return!!n&&!!n[t]},e.isDeclared=function(e,t){var n=e&&e.__declaredEvents;return!!n&&!!n[t]},e.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},e._isElement=function(e){return!!e&&(!!e.addEventListener||"undefined"!=typeof HTMLElement&&e instanceof HTMLElement)},e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.off(),this._parent=null)},e.prototype.onAll=function(e,t,n){for(var r in t)t.hasOwnProperty(r)&&this.on(e,r,t[r],n)},e.prototype.on=function(t,n,r,o){var i=this;if(n.indexOf(",")>-1)for(var a=n.split(/[ ,]+/),l=0;l<a.length;l++)this.on(t,a[l],r,o);else{var s=this._parent,u={target:t,eventName:n,parent:s,callback:r,options:o};if((a=t.__events__=t.__events__||{})[n]=a[n]||{count:0},a[n][this._id]=a[n][this._id]||[],a[n][this._id].push(u),a[n].count++,e._isElement(t)){var c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed){var n;try{if(!1===(n=r.apply(s,e))&&e[0]){var o=e[0];o.preventDefault&&o.preventDefault(),o.stopPropagation&&o.stopPropagation(),o.cancelBubble=!0}}catch(o){}return n}};u.elementCallback=c,t.addEventListener?t.addEventListener(n,c,o):t.attachEvent&&t.attachEvent("on"+n,c)}else{u.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed)return r.apply(s,e)}}this._eventRecords.push(u)}},e.prototype.off=function(e,t,n,r){for(var o=0;o<this._eventRecords.length;o++){var i=this._eventRecords[o];if(!(e&&e!==i.target||t&&t!==i.eventName||n&&n!==i.callback||"boolean"==typeof r&&r!==i.options)){var a=i.target.__events__,l=a[i.eventName],s=l?l[this._id]:null;s&&(1!==s.length&&n?(l.count--,s.splice(s.indexOf(i),1)):(l.count-=s.length,delete a[i.eventName][this._id]),l.count||delete a[i.eventName]),i.elementCallback&&(i.target.removeEventListener?i.target.removeEventListener(i.eventName,i.elementCallback,i.options):i.target.detachEvent&&i.target.detachEvent("on"+i.eventName,i.elementCallback)),this._eventRecords.splice(o--,1)}}},e.prototype.raise=function(t,n,r){return e.raise(this._parent,t,n,r)},e.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"==typeof e)t[e]=!0;else for(var n=0;n<e.length;n++)t[e[n]]=!0},e._uniqueId=0,e}(),Rg=0,Dg=Gm({overflow:"hidden !important"}),Mg="data-is-scrollable",Og=function(e){e.preventDefault()};function Ag(e){for(var t=e,n=fg(e);t&&t!==n.body;){if("true"===t.getAttribute(Mg))return t;t=t.parentElement}for(t=e;t&&t!==n.body;){if("false"!==t.getAttribute(Mg)){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=ng(e)),t}function Lg(e){console&&console.warn&&console.warn(e)}function Ng(e,t,n){var r=e[n],o=t[n];(r||o)&&(e[n]=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o&&(e=o.apply(this,t)),r!==o&&(e=r.apply(this,t)),e})}function Bg(){return null}!function(e){function t(n,r){var o=e.call(this,n,r)||this;return function(e,t,n){for(var r=0,o=n.length;r<o;r++)Ng(e,t,n[r])}(o,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),o}Xh(t,e),t.prototype.componentDidUpdate=function(e,t){this._updateComponentRef(e,this.props)},t.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)},t.prototype.componentWillUnmount=function(){if(this._setComponentRef(this.props.componentRef,null),this.__disposables){for(var e=0,t=this._disposables.length;e<t;e++){var n=this.__disposables[e];n.dispose&&n.dispose()}this.__disposables=null}},Object.defineProperty(t.prototype,"className",{get:function(){if(!this.__className){var e=/function (.{1,})\(/.exec(this.constructor.toString());this.__className=e&&e.length>1?e[1]:""}return this.__className},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new rg(this),this._disposables.push(this.__async)),this.__async},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new Pg(this),this._disposables.push(this.__events)),this.__events},enumerable:!1,configurable:!0}),t.prototype._resolveRef=function(e){var t=this;return this.__resolves||(this.__resolves={}),this.__resolves[e]||(this.__resolves[e]=function(n){return t[e]=n}),this.__resolves[e]},t.prototype._updateComponentRef=function(e,t){void 0===t&&(t={}),e&&t&&e.componentRef!==t.componentRef&&(this._setComponentRef(e.componentRef,null),this._setComponentRef(t.componentRef,this))},t.prototype._warnDeprecations=function(e){this.className,this.props},t.prototype._warnMutuallyExclusive=function(e){this.className,this.props},t.prototype._warnConditionallyRequiredProps=function(e,t,n){this.className,this.props},t.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"==typeof e&&e(t),"object"==typeof e&&(e.current=t))}}(z.Component);var zg=function(e){function t(t){var n=e.call(this,t)||this;return n.state={isRendered:void 0===ng()},n}return Xh(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=window.setTimeout(function(){e.setState({isRendered:!0})},t)},t.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},t.prototype.render=function(){return this.state.isRendered?z.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(z.Component),Hg="__globalSettings__",Vg="__callbacks__",Wg=0,Ug=function(){function e(){}return e.getValue=function(e,t){var n=jg();return void 0===n[e]&&(n[e]="function"==typeof t?t():t),n[e]},e.setValue=function(e,t){var n=jg(),r=n[Vg],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=Kg();t||(t=e.__id__=String(Wg++)),n[t]=e},e.removeChangeListener=function(e){delete Kg()[e.__id__]},e}();function jg(){var e,t=ng()||{};return t[Hg]||(t[Hg]=((e={})[Vg]={},e)),t[Hg]}function Kg(){return jg()[Vg]}var qg=8,Gg=9,$g=13,Qg=18,Zg=27,Yg=32,Jg=33,Xg=34,ev=35,tv=36,nv=37,rv=38,ov=39,iv=40,av=function(){function e(e,t,n,r){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===r&&(r=0),this.top=n,this.bottom=r,this.left=e,this.right=t}return Object.defineProperty(e.prototype,"width",{get:function(){return this.right-this.left},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!1,configurable:!0}),e.prototype.equals=function(e){return parseFloat(this.top.toFixed(4))===parseFloat(e.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(e.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(e.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(e.right.toFixed(4))},e}();function lv(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 sv(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(function(e){return e}).join(" ").trim();return""===n?void 0:n}function uv(e,t,n){void 0===n&&(n=0);for(var r=-1,o=n;e&&o<e.length;o++)if(t(e[o],o)){r=o;break}return r}function cv(e){var t=null;try{var n=ng();t=n?n.sessionStorage.getItem(e):null}catch(e){}return t}var dv,fv="isRTL";function pv(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===dv){var t=cv(fv);null!==t&&function(e,t){void 0===t&&(t=!1);var n=fg();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr");t&&function(e,t){var n;try{null===(n=ng())||void 0===n||n.sessionStorage.setItem(e,t)}catch(e){}}(fv,e?"1":"0");pm(dv=e)}(dv="1"===t);var n=fg();void 0===dv&&n&&pm(dv="rtl"===(n.body&&n.body.getAttribute("dir")||n.documentElement.getAttribute("dir")))}return!!dv}var hv=0,mv=km.getInstance();mv&&mv.onReset&&mv.onReset(function(){return hv++});var gv="__retval__";function vv(e){void 0===e&&(e={});var t=new Map,n=0,r=0,o=hv;return function(i,a){var l;if(void 0===a&&(a={}),e.useStaticStyles&&"function"==typeof i&&i.__noStyleOverride__)return i(a);r++;var s=i?i.__shadowConfig__:void 0,u=s&&s.window?s.window:"__default__";t.has(u)||t.set(u,new Map);var c=t.get(u),d=a.theme,f=d&&void 0!==d.rtl?d.rtl:pv(),p=e.disableCaching;if(o!==hv&&(o=hv,t.set(u,new Map),c=t.get(u),n=0),e.disableCaching||(c=bv(t.get(u),i),c=bv(c,a)),!p&&c[gv]||(c[gv]=void 0===i?{}:Zm(["function"==typeof i?i(a):i],{shadowConfig:i.__shadowConfig__,rtl:!!f,specificityMultiplier:e.useStaticStyles?5:void 0}),p||n++),n>(e.cacheSize||50)){var h=ng();(null===(l=null==h?void 0:h.FabricConfig)||void 0===l?void 0:l.enableClassNameCacheFullWarning)&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is ".concat(n,"/").concat(r,".")),console.trace()),t.get(u).clear(),n=0,e.disableCaching=!0}return c[gv]}}function yv(e,t){return t=function(e){switch(e){case void 0:return"__undefined__";case null:return"__null__";default:return e}}(t),e.has(t)||e.set(t,new Map),e.get(t)}function bv(e,t){if("function"==typeof t)if(t.__cachedInputs__)for(var n=0,r=t.__cachedInputs__;n<r.length;n++){e=yv(e,r[n])}else e=yv(e,t);else if("object"==typeof t)for(var o in t)t.hasOwnProperty(o)&&(e=yv(e,t[o]));return e}var _v=!1,Cv=0,Sv={empty:!0},wv={},kv="undefined"==typeof WeakMap?null:WeakMap;function xv(){Cv++}function Ev(e,t,n){if(void 0===t&&(t=100),void 0===n&&(n=!1),!kv)return e;if(!_v){var r=km.getInstance();r&&r.onReset&&km.getInstance().onReset(xv),_v=!0}var o,i=0,a=Cv;return function(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];var s=o;(void 0===o||a!==Cv||t>0&&i>t)&&(o=Tv(),i=0,a=Cv),s=o;for(var u=0;u<r.length;u++){var c=Iv(r[u]);s.map.has(c)||s.map.set(c,Tv()),s=s.map.get(c)}return s.hasOwnProperty("value")||(s.value=e.apply(void 0,r),i++),!n||null!==s.value&&void 0!==s.value||(s.value=e.apply(void 0,r)),s.value}}function Fv(e){if(!kv)return e;var t=new kv;return function(n){if(!n||"function"!=typeof n&&"object"!=typeof n)return e(n);if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}function Iv(e){return e?"object"==typeof e||"function"==typeof e?e:(wv[e]||(wv[e]={val:e}),wv[e]):Sv}function Tv(){return{map:kv?new kv:null}}var Pv=Fv(function(e){var t=e;return Fv(function(n){if(e===n)throw new Error("Attempted to compose a component with itself.");var r=n,o=Fv(function(e){return function(t){return z.createElement(r,em({},t,{defaultRender:e}))}});return function(e){var n=e.defaultRender;return z.createElement(t,em({},e,{defaultRender:n?o(n):r}))}})});function Rv(e,t){return Pv(e)(t)}function Dv(){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(" ")}var Mv={settings:{},scopedSettings:{},inCustomizerContext:!1},Ov=Ug.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),Av=[],Lv=function(){function e(){}return e.reset=function(){Ov.settings={},Ov.scopedSettings={}},e.applySettings=function(t){Ov.settings=em(em({},Ov.settings),t),e._raiseChange()},e.applyScopedSettings=function(t,n){Ov.scopedSettings[t]=em(em({},Ov.scopedSettings[t]),n),e._raiseChange()},e.getSettings=function(e,t,n){void 0===n&&(n=Mv);for(var r={},o=t&&n.scopedSettings[t]||{},i=t&&Ov.scopedSettings[t]||{},a=0,l=e;a<l.length;a++){var s=l[a];r[s]=o[s]||n.settings[s]||i[s]||Ov.settings[s]}return r},e.applyBatchedUpdates=function(t,n){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1,n||e._raiseChange()},e.observe=function(e){Av.push(e)},e.unobserve=function(e){Av=Av.filter(function(t){return t!==e})},e._raiseChange=function(){e._suppressUpdates||Av.forEach(function(e){return e()})},e}(),Nv=z.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}});function Bv(e,t){void 0===e&&(e={});var n=Hv(t)?t:function(e){return function(t){return e?em(em({},t),e):t}}(t);return n(e)}function zv(e,t){return void 0===e&&(e={}),(Hv(t)?t:function(e){void 0===e&&(e={});return function(t){var n=em({},t);for(var r in e)e.hasOwnProperty(r)&&(n[r]=em(em({},t[r]),e[r]));return n}}(t))(e)}function Hv(e){return"function"==typeof e}var Vv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onCustomizationChange=function(){return t.forceUpdate()},t}return Xh(t,e),t.prototype.componentDidMount=function(){Lv.observe(this._onCustomizationChange)},t.prototype.componentWillUnmount=function(){Lv.unobserve(this._onCustomizationChange)},t.prototype.render=function(){var e=this,t=this.props.contextTransform;return z.createElement(Nv.Consumer,null,function(n){var r=function(e,t){var n=(t||{}).customizations,r=void 0===n?{settings:{},scopedSettings:{}}:n;return{customizations:{settings:Bv(r.settings,e.settings),scopedSettings:zv(r.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}}(e.props,n);return t&&(r=t(r)),z.createElement(Nv.Provider,{value:r},e.props.children)})},t}(z.Component);var Wv=function(){return!1},Uv=function(){return cm},jv=function(){return new Map},Kv=function(){},qv=z.createContext({stylesheets:new Map,useAdoptedStylesheetEx:Wv,useAdoptedStylesheet:Wv,useShadowConfig:Uv,useMergeStylesShadowRootContext:Kv,useHasMergeStylesShadowRootContext:Wv,useMergeStylesRootStylesheets:jv,useWindow:Kv,useStyled:Kv}),Gv=function(){var e=z.useContext(qv);return{useAdoptedStylesheet:e.useAdoptedStylesheet,useAdoptedStylesheetEx:e.useAdoptedStylesheetEx,useShadowConfig:e.useShadowConfig,useMergeStylesShadowRootContext:e.useMergeStylesShadowRootContext,useHasMergeStylesShadowRootContext:e.useHasMergeStylesShadowRootContext,useMergeStylesRootStylesheets:e.useMergeStylesRootStylesheets,useWindow:e.useWindow,useStyled:e.useStyled}},$v=z.createContext(void 0),Qv=function(){return z.useContext($v)},Zv=function(e){var t=e.stylesheetKey,n=e.children,r=Gv(),o=r.useAdoptedStylesheetEx,i=r.useMergeStylesRootStylesheets,a=r.useWindow,l=Qv(),s=i(),u=a();return o(sm,l,s,u),o(t,l,s,u),n(!!l)},Yv=z.createContext({window:"object"==typeof window?window:void 0}),Jv=function(){return z.useContext(Yv).window},Xv=function(){var e;return null===(e=z.useContext(Yv).window)||void 0===e?void 0:e.document},ey=Ev(function(e,t,n){return{stylesheetKey:e,inShadow:t,window:n,__isShadowConfig__:!0}}),ty=Ev(function(e,t,n){var r,o=null!==(r=null!=t?t:e)&&void 0!==r?r:{};return o.__shadowConfig__=n,o});function ny(e,t,n){return function(r){var o,i=(o=function(o){function i(e){var t=o.call(this,e)||this;return t._styleCache={},t._onSettingChanged=t._onSettingChanged.bind(t),t}return Xh(i,o),i.prototype.componentDidMount=function(){Lv.observe(this._onSettingChanged)},i.prototype.componentWillUnmount=function(){Lv.unobserve(this._onSettingChanged)},i.prototype.render=function(){var o=this;return z.createElement(Zv,{stylesheetKey:e},function(i){return z.createElement(Nv.Consumer,null,function(a){var l,s=Lv.getSettings(t,e,a.customizations),u=null!==(l=o.context.window)&&void 0!==l?l:ng(),c=ey(e,i,u),d=o.props;if(s.styles&&"function"==typeof s.styles&&(s.styles=s.styles(em(em({},s),d))),n&&s.styles){if(o._styleCache.default!==s.styles||o._styleCache.component!==d.styles){var f=$m(s.styles,d.styles);f.__shadowConfig__=c,o._styleCache.default=s.styles,o._styleCache.component=d.styles,o._styleCache.merged=f}return z.createElement(r,em({},s,d,{styles:o._styleCache.merged}))}var p=ty(s.styles,d.styles,c);return z.createElement(r,em({},s,d,{styles:p}))})})},i.prototype._onSettingChanged=function(){this.forceUpdate()},i}(z.Component),o.displayName="Customized"+e,o.contextType=Yv,o);return function(e,t){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(r,i)}}function ry(e,t){var n=function(){var e=z.useState(0),t=e[1];return function(){return t(function(e){return++e})}}(),r=z.useContext(Nv).customizations,o=r.inCustomizerContext;return z.useEffect(function(){return o||Lv.observe(n),function(){o||Lv.unobserve(n)}},[o]),Lv.getSettings(e,t,r)}function oy(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=lv(e,e[n],t[n]))}var iy="__currentId__",ay=ng()||{};void 0===ay[iy]&&(ay[iy]=0);var ly=!1;function sy(e){if(!ly){var t=km.getInstance();t&&t.onReset&&t.onReset(uy),ly=!0}return(void 0===e?"id__":e)+ay[iy]++}function uy(e){void 0===e&&(e=0),ay[iy]=e}var cy=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,l=Array.isArray(i)?i:Object.keys(i);a<l.length;a++){n[l[a]]=1}return n},dy=cy(["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"]),fy=cy(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),py=cy(fy,dy);cy(py,["form"]);var hy=cy(py,["height","loop","muted","preload","src","width"]);cy(hy,["poster"]),cy(py,["start"]),cy(py,["value"]);var my=cy(py,["download","href","hrefLang","media","rel","target","type"]),gy=cy(py,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),vy=cy(gy,["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"]),yy=cy(gy,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]);cy(gy,["form","multiple","required"]),cy(py,["selected","value"]),cy(py,["cellPadding","cellSpacing"]),cy(py,["rowSpan","scope"]),cy(py,["colSpan","headers","rowSpan","scope"]),cy(py,["span"]),cy(py,["span"]),cy(py,["acceptCharset","action","encType","encType","method","noValidate","target"]),cy(py,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]);var by,_y=cy(py,["alt","crossOrigin","height","src","srcSet","useMap","width"]),Cy=py;function Sy(e,t,n){for(var r=Array.isArray(t),o={},i=0,a=Object.keys(e);i<a.length;i++){var l=a[i];!(!r&&t[l]||r&&t.indexOf(l)>=0||0===l.indexOf("data-")||0===l.indexOf("aria-"))||n&&-1!==(null==n?void 0:n.indexOf(l))||(o[l]=e[l])}return o}function wy(e){oy(e,{componentDidMount:ky,componentDidUpdate:xy,componentWillUnmount:Ey})}function ky(){Fy(this.props.componentRef,this)}function xy(e){e.componentRef!==this.props.componentRef&&(Fy(e.componentRef,null),Fy(this.props.componentRef,this))}function Ey(){Fy(this.props.componentRef,null)}function Fy(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}var Iy=((by={})[rv]=1,by[iv]=1,by[nv]=1,by[ov]=1,by[tv]=1,by[ev]=1,by[Gg]=1,by[Jg]=1,by[Xg]=1,by);function Ty(e){return!!Iy[e]}var Py="ms-Fabric--isFocusVisible",Ry="ms-Fabric--isFocusHidden";function Dy(e,t){e&&(e.classList.add(t?Py:Ry),e.classList.remove(t?Ry:Py))}function My(e,t,n){var r;n?n.forEach(function(t){return Dy(t.current,e)}):Dy(null===(r=ng(t))||void 0===r?void 0:r.document.body,e)}var Oy=new WeakMap,Ay=new WeakMap;function Ly(e,t){var n,r=Oy.get(e);return n=r?r+t:1,Oy.set(e,n),n}function Ny(e){var t=Ay.get(e);if(t)return t;return t={onMouseDown:function(t){return Vy(t,e.registeredProviders)},onPointerDown:function(t){return Wy(t,e.registeredProviders)},onKeyDown:function(t){return Uy(t,e.registeredProviders)},onKeyUp:function(t){return jy(t,e.registeredProviders)}},Ay.set(e,t),t}var By=z.createContext(void 0);function zy(e){var t=z.useContext(By);z.useEffect(function(){var n,r,o,i,a=ng(null==e?void 0:e.current);if(a&&!0!==(null===(n=a.FabricConfig)||void 0===n?void 0:n.disableFocusRects)){var l,s,u,c,d=a;if((null===(r=null==t?void 0:t.providerRef)||void 0===r?void 0:r.current)&&(null===(i=null===(o=null==t?void 0:t.providerRef)||void 0===o?void 0:o.current)||void 0===i?void 0:i.addEventListener)){d=t.providerRef.current;var f=Ny(t);l=f.onMouseDown,s=f.onPointerDown,u=f.onKeyDown,c=f.onKeyUp}else l=Vy,s=Wy,u=Uy,c=jy;var p=Ly(d,1);return p<=1&&(d.addEventListener("mousedown",l,!0),d.addEventListener("pointerdown",s,!0),d.addEventListener("keydown",u,!0),d.addEventListener("keyup",c,!0)),function(){var e;a&&!0!==(null===(e=a.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&0===(p=Ly(d,-1))&&(d.removeEventListener("mousedown",l,!0),d.removeEventListener("pointerdown",s,!0),d.removeEventListener("keydown",u,!0),d.removeEventListener("keyup",c,!0))}}},[t,e])}var Hy=function(e){return zy(e.rootRef),null};function Vy(e,t){My(!1,e.target,t)}function Wy(e,t){"mouse"!==e.pointerType&&My(!1,e.target,t)}function Uy(e,t){Ty(e.which)&&My(!0,e.target,t)}function jy(e,t){Ty(e.which)&&My(!0,e.target,t)}var Ky,qy=function(e){var t=e.providerRef,n=e.layerRoot,r=z.useState([])[0],o=z.useContext(By),i=void 0!==o&&!n,a=z.useMemo(function(){return i?void 0:{providerRef:t,registeredProviders:r,registerProvider:function(e){r.push(e),null==o||o.registerProvider(e)},unregisterProvider:function(e){null==o||o.unregisterProvider(e);var t=r.indexOf(e);t>=0&&r.splice(t,1)}}},[t,r,o,i]);return z.useEffect(function(){if(a)return a.registerProvider(a.providerRef),function(){return a.unregisterProvider(a.providerRef)}},[a]),a?z.createElement(By.Provider,{value:a},e.children):z.createElement(z.Fragment,null,e.children)};var Gy="language";function $y(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++){Qy(e||{},o[r])}return e}function Qy(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:Qy(e[r]||{},o,n)}}return n.pop(),e}var Zy,Yy=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)},Jy=["TEMPLATE","STYLE","SCRIPT"];function Xy(e){var t=fg(e);if(!t)return function(){};for(var n=[];e!==t.body&&e.parentElement;){for(var r=0,o=e.parentElement.children;r<o.length;r++){var i=o[r],a=i.getAttribute("aria-hidden");i!==e&&"true"!==(null==a?void 0:a.toLowerCase())&&-1===Jy.indexOf(i.tagName)&&n.push([i,a])}e=e.parentElement}return n.forEach(function(e){e[0].setAttribute("aria-hidden","true")}),function(){!function(e){e.forEach(function(e){var t=e[0],n=e[1];n?t.setAttribute("aria-hidden",n):t.removeAttribute("aria-hidden")})}(n),n=[]}}function eb(e){var t;if(void 0===Zy||e){var n=ng(),r=null===(t=null==n?void 0:n.navigator)||void 0===t?void 0:t.userAgent;Zy=!!r&&-1!==r.indexOf("Macintosh")}return!!Zy}var tb=Fv(function(e){return Fv(function(t){var n=Fv(function(e){return function(n){return t(n,e)}});return function(r,o){return e(r,o?n(o):t)}})});function nb(e,t){return tb(e)(t)}var rb=["theme","styles"];function ob(e,t,n,r,o){var i=(r=r||{scope:"",fields:void 0}).scope,a=r.fields,l=void 0===a?rb:a,s=z.forwardRef(function(r,o){var a=z.useRef(void 0),s=ry(l,i),u=s.styles;s.dir;var c=tm(s,["styles","dir"]),d=n?n(r):void 0,f=Gv().useStyled,p=a.current&&a.current.__cachedInputs__||[],h=r.styles;if(!a.current||u!==p[1]||h!==p[2]){var m=function(e){return Ym(e,t,u,h)};m.__cachedInputs__=[t,u,h],m.__noStyleOverride__=!u&&!h,a.current=m}return a.current.__shadowConfig__=f(i),z.createElement(e,em({ref:o},c,d,r,{styles:a.current}))});s.displayName="Styled".concat(e.displayName||e.name);var u=o?z.memo(s):s;return s.displayName&&(u.displayName=s.displayName),u}var ib=function(){var e,t=ng();return!!(null===(e=null==t?void 0:t.navigator)||void 0===e?void 0:e.userAgent)&&t.navigator.userAgent.indexOf("rv:11.0")>-1};function ab(e,t){for(var n=em({},t),r=0,o=Object.keys(e);r<o.length;r++){var i=o[r];void 0===n[i]&&(n[i]=e[i])}return n}var lb=function(e){var t={refs:[]};return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.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}(t.refs,e)||(t.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)}}}(t)),t.refs=e,t.resolver}},sb=eg()?z.useLayoutEffect:z.useEffect,ub=Ug.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),cb=km.getInstance();cb&&cb.onReset&&cb.onReset(function(){for(var e in ub)ub.hasOwnProperty(e)&&ub[e].subset&&(ub[e].subset.className=void 0)});var db=function(e){return e.toLowerCase()};function fb(e,t){var n=em(em({},e),{isRegistered:!1,className:void 0}),r=e.icons;for(var o in t=t?em(em({},ub.__options),t):ub.__options,r)if(r.hasOwnProperty(o)){var i=r[o],a=db(o);ub[a]?gb(o):ub[a]={code:i,subset:n}}}function pb(e,t){ub.__remapped[db(e)]=db(t)}var hb=[],mb=void 0;function gb(e){var t=ub.__options;t.disableWarnings||(hb.push(e),void 0===mb&&(mb=setTimeout(function(){Lg("Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include: \n"+hb.slice(0,10).join(", ")+(hb.length>10?" (+ ".concat(hb.length-10," more)"):"")),mb=void 0,hb=[]},2e3)))}function vb(e,t,n,r,o){return void 0===o&&(o=!1),function(e,t){var n="";!0===t&&(n=" /* @deprecated */");return e.listTextColor=e.listText+n,e.menuItemBackgroundChecked+=n,e.warningHighlight+=n,e.warningText=e.messageText+n,e.successText+=n,e}(yb(e,t,em({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 yb(e,t,n,r,o){var i={},a=e||{},l=a.white,s=a.black,u=a.themePrimary,c=a.themeDark,d=a.themeDarker,f=a.themeDarkAlt,p=a.themeLighter,h=a.neutralLight,m=a.neutralLighter,g=a.neutralDark,v=a.neutralQuaternary,y=a.neutralQuaternaryAlt,b=a.neutralPrimary,_=a.neutralSecondary,C=a.neutralSecondaryAlt,S=a.neutralTertiary,w=a.neutralTertiaryAlt,k=a.neutralLighterAlt,x=a.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),s&&(i.bodyTextChecked=s,i.buttonTextCheckedHovered=s),u&&(i.link=u,i.primaryButtonBackground=u,i.inputBackgroundChecked=u,i.inputIcon=u,i.inputFocusBorderAlt=u,i.menuIcon=u,i.menuHeader=u,i.accentButtonBackground=u),c&&(i.primaryButtonBackgroundPressed=c,i.inputBackgroundCheckedHovered=c,i.inputIconHovered=c),d&&(i.linkHovered=d),f&&(i.primaryButtonBackgroundHovered=f),p&&(i.inputPlaceholderBackgroundChecked=p),h&&(i.bodyBackgroundChecked=h,i.bodyFrameDivider=h,i.bodyDivider=h,i.variantBorder=h,i.buttonBackgroundCheckedHovered=h,i.buttonBackgroundPressed=h,i.listItemBackgroundChecked=h,i.listHeaderBackgroundPressed=h,i.menuItemBackgroundPressed=h,i.menuItemBackgroundChecked=h),m&&(i.bodyBackgroundHovered=m,i.buttonBackgroundHovered=m,i.buttonBackgroundDisabled=m,i.buttonBorderDisabled=m,i.primaryButtonBackgroundDisabled=m,i.disabledBackground=m,i.listItemBackgroundHovered=m,i.listHeaderBackgroundHovered=m,i.menuItemBackgroundHovered=m),v&&(i.primaryButtonTextDisabled=v,i.disabledSubtext=v),y&&(i.listItemBackgroundCheckedHovered=y),S&&(i.disabledBodyText=S,i.variantBorderHovered=(null==n?void 0:n.variantBorderHovered)||S,i.buttonTextDisabled=S,i.inputIconDisabled=S,i.disabledText=S),b&&(i.bodyText=b,i.actionLink=b,i.buttonText=b,i.inputBorderHovered=b,i.inputText=b,i.listText=b,i.menuItemText=b),k&&(i.bodyStandoutBackground=k,i.defaultStateBackground=k),g&&(i.actionLinkHovered=g,i.buttonTextHovered=g,i.buttonTextChecked=g,i.buttonTextPressed=g,i.inputTextHovered=g,i.menuItemTextHovered=g),_&&(i.bodySubtext=_,i.focusBorder=_,i.inputBorder=_,i.smallInputBorder=_,i.inputPlaceholderText=_),C&&(i.buttonBorder=C),w&&(i.disabledBodySubtext=w,i.disabledBorder=w,i.buttonBackgroundChecked=w,i.menuDivider=w),x&&(i.accentButtonBackground=x),(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),i=em(em({},i),n)}var bb,_b={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)"}(bb||(bb={}));var Cb,Sb,wb,kb,xb,Eb={elevation4:bb.depth4,elevation8:bb.depth8,elevation16:bb.depth16,elevation64:bb.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"},Fb={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"},Ib="cubic-bezier(.1,.9,.2,1)",Tb="cubic-bezier(.1,.25,.75,.9)",Pb="0.167s",Rb="0.267s",Db="0.367s",Mb="0.467s",Ob=Xm({from:{opacity:0},to:{opacity:1}}),Ab=Xm({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),Lb=g_(-10),Nb=g_(-20),Bb=g_(-40),zb=g_(-400),Hb=g_(10),Vb=g_(20),Wb=g_(40),Ub=g_(400),jb=v_(10),Kb=v_(20),qb=v_(-10),Gb=v_(-20),$b=y_(10),Qb=y_(20),Zb=y_(40),Yb=y_(400),Jb=y_(-10),Xb=y_(-20),e_=y_(-40),t_=y_(-400),n_=b_(-10),r_=b_(-20),o_=b_(10),i_=b_(20),a_=Xm({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),l_=Xm({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),s_=Xm({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),u_=Xm({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),c_=Xm({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),d_=Xm({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),f_=Tb,p_=Db,h_={slideRightIn10:m_("".concat(Ob,",").concat(Lb),Db,Ib),slideRightIn20:m_("".concat(Ob,",").concat(Nb),Db,Ib),slideRightIn40:m_("".concat(Ob,",").concat(Bb),Db,Ib),slideRightIn400:m_("".concat(Ob,",").concat(zb),Db,Ib),slideLeftIn10:m_("".concat(Ob,",").concat(Hb),Db,Ib),slideLeftIn20:m_("".concat(Ob,",").concat(Vb),Db,Ib),slideLeftIn40:m_("".concat(Ob,",").concat(Wb),Db,Ib),slideLeftIn400:m_("".concat(Ob,",").concat(Ub),Db,Ib),slideUpIn10:m_("".concat(Ob,",").concat(jb),Db,Ib),slideUpIn20:m_("".concat(Ob,",").concat(Kb),Db,Ib),slideDownIn10:m_("".concat(Ob,",").concat(qb),Db,Ib),slideDownIn20:m_("".concat(Ob,",").concat(Gb),Db,Ib),slideRightOut10:m_("".concat(Ab,",").concat($b),Db,Ib),slideRightOut20:m_("".concat(Ab,",").concat(Qb),Db,Ib),slideRightOut40:m_("".concat(Ab,",").concat(Zb),Db,Ib),slideRightOut400:m_("".concat(Ab,",").concat(Yb),Db,Ib),slideLeftOut10:m_("".concat(Ab,",").concat(Jb),Db,Ib),slideLeftOut20:m_("".concat(Ab,",").concat(Xb),Db,Ib),slideLeftOut40:m_("".concat(Ab,",").concat(e_),Db,Ib),slideLeftOut400:m_("".concat(Ab,",").concat(t_),Db,Ib),slideUpOut10:m_("".concat(Ab,",").concat(n_),Db,Ib),slideUpOut20:m_("".concat(Ab,",").concat(r_),Db,Ib),slideDownOut10:m_("".concat(Ab,",").concat(o_),Db,Ib),slideDownOut20:m_("".concat(Ab,",").concat(i_),Db,Ib),scaleUpIn100:m_("".concat(Ob,",").concat(a_),Db,Ib),scaleDownIn100:m_("".concat(Ob,",").concat(s_),Db,Ib),scaleUpOut103:m_("".concat(Ab,",").concat(u_),Pb,Tb),scaleDownOut98:m_("".concat(Ab,",").concat(l_),Pb,Tb),fadeIn100:m_(Ob,Pb,Tb),fadeIn200:m_(Ob,Rb,Tb),fadeIn400:m_(Ob,Db,Tb),fadeIn500:m_(Ob,Mb,Tb),fadeOut100:m_(Ab,Pb,Tb),fadeOut200:m_(Ab,Rb,Tb),fadeOut400:m_(Ab,Db,Tb),fadeOut500:m_(Ab,Mb,Tb),rotate90deg:m_(c_,"0.1s",Tb),rotateN90deg:m_(d_,"0.1s",Tb)};function m_(e,t,n){return{animationName:e,animationDuration:t,animationTimingFunction:n,animationFillMode:"both"}}function g_(e){return Xm({from:{transform:"translate3d(".concat(e,"px,0,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function v_(e){return Xm({from:{transform:"translate3d(0,".concat(e,"px,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function y_(e){return Xm({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(".concat(e,"px,0,0)")}})}function b_(e){return Xm({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,".concat(e,"px,0)")}})}!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)"}(Cb||(Cb={})),function(e){e.Arabic="'".concat(Cb.Arabic,"'"),e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'".concat(Cb.Cyrillic,"'"),e.EastEuropean="'".concat(Cb.EastEuropean,"'"),e.Greek="'".concat(Cb.Greek,"'"),e.Hebrew="'".concat(Cb.Hebrew,"'"),e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'".concat(Cb.Selawik,"'"),e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'".concat(Cb.Vietnamese,"'"),e.WestEuropean="'".concat(Cb.WestEuropean,"'"),e.Armenian="'".concat(Cb.Armenian,"'"),e.Georgian="'".concat(Cb.Georgian,"'")}(Sb||(Sb={})),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"}(wb||(wb={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(kb||(kb={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(xb||(xb={}));var __="'Segoe UI', '".concat(Cb.WestEuropean,"'"),C_={ar:Sb.Arabic,bg:Sb.Cyrillic,cs:Sb.EastEuropean,el:Sb.Greek,et:Sb.EastEuropean,he:Sb.Hebrew,hi:Sb.Hindi,hr:Sb.EastEuropean,hu:Sb.EastEuropean,ja:Sb.Japanese,kk:Sb.EastEuropean,ko:Sb.Korean,lt:Sb.EastEuropean,lv:Sb.EastEuropean,pl:Sb.EastEuropean,ru:Sb.Cyrillic,sk:Sb.EastEuropean,"sr-latn":Sb.EastEuropean,th:Sb.Thai,tr:Sb.EastEuropean,uk:Sb.Cyrillic,vi:Sb.Vietnamese,"zh-hans":Sb.ChineseSimplified,"zh-hant":Sb.ChineseTraditional,hy:Sb.Armenian,ka:Sb.Georgian};function S_(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}var w_,k_,x_,E_=(w_=function(e){if(void 0===e&&(e="sessionStorage"),void 0===Ky){var t=fg(),n="localStorage"===e?function(e){var t=null;try{var n=ng();t=n?n.localStorage.getItem(e):null}catch(e){}return t}(Gy):"sessionStorage"===e?cv(Gy):void 0;n&&(Ky=n),void 0===Ky&&t&&(Ky=t.documentElement.getAttribute("lang")),void 0===Ky&&(Ky="en")}return Ky}(),k_=function(e){for(var t in C_)if(C_.hasOwnProperty(t)&&e&&0===t.indexOf(e))return C_[t];return __}(w_),x_="".concat(k_,", ").concat("'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif"),{tiny:S_(wb.mini,kb.regular,x_),xSmall:S_(wb.xSmall,kb.regular,x_),small:S_(wb.small,kb.regular,x_),smallPlus:S_(wb.smallPlus,kb.regular,x_),medium:S_(wb.medium,kb.regular,x_),mediumPlus:S_(wb.mediumPlus,kb.regular,x_),large:S_(wb.large,kb.regular,x_),xLarge:S_(wb.xLarge,kb.semibold,x_),xLargePlus:S_(wb.xLargePlus,kb.semibold,x_),xxLarge:S_(wb.xxLarge,kb.semibold,x_),xxLargePlus:S_(wb.xxLargePlus,kb.semibold,x_),superLarge:S_(wb.superLarge,kb.semibold,x_),mega:S_(wb.mega,kb.semibold,x_)});function F_(e,t,n,r){Jm({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 I_(e,t,n,r,o){void 0===r&&(r="segoeui");var i="".concat(e,"/").concat(n,"/").concat(r);F_(t,i+"-light",kb.light,o&&o+" Light"),F_(t,i+"-semilight",kb.semilight,o&&o+" SemiLight"),F_(t,i+"-regular",kb.regular,o),F_(t,i+"-semibold",kb.semibold,o&&o+" SemiBold"),F_(t,i+"-bold",kb.bold,o&&o+" Bold")}function T_(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=$y({},e,t,{semanticColors:yb(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,l=Object.keys(i.fonts);a<l.length;a++){var s=l[a];i.fonts[s]=$y(i.fonts[s],t.defaultFontStyle,null===(o=null==t?void 0:t.fonts)||void 0===o?void 0:o[s])}return i}({palette:_b,effects:Eb,fonts:E_,spacing:Fb,isInverted:n,disableGlobalClassNames:!1,semanticColors:vb(_b,Eb,void 0,n,t),rtl:void 0},e)}!function(e){if(e){var t="".concat(e,"/fonts");I_(t,Cb.Thai,"leelawadeeui-thai","leelawadeeui"),I_(t,Cb.Arabic,"segoeui-arabic"),I_(t,Cb.Cyrillic,"segoeui-cyrillic"),I_(t,Cb.EastEuropean,"segoeui-easteuropean"),I_(t,Cb.Greek,"segoeui-greek"),I_(t,Cb.Hebrew,"segoeui-hebrew"),I_(t,Cb.Vietnamese,"segoeui-vietnamese"),I_(t,Cb.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),I_(t,Sb.Selawik,"selawik","selawik"),I_(t,Cb.Armenian,"segoeui-armenian"),I_(t,Cb.Georgian,"segoeui-georgian"),F_("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-semilight"),kb.light),F_("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-bold"),kb.semibold)}}(function(){var e,t,n=null===(e=ng())||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 P_,R_="@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)",D_=480,M_=1366;function O_(e,t){var n="number"==typeof e?" and (min-width: ".concat(e,"px)"):"",r="number"==typeof t?" and (max-width: ".concat(t,"px)"):"";return"@media only screen".concat(n).concat(r)}function A_(e,t,n,r,o,i,a,l){return L_(e,"number"!=typeof t&&t?t:{inset:t,position:n,highContrastStyle:r,borderColor:o,outlineColor:i,isFocusedOnly:a,borderRadius:l})}function L_(e,t){var n,r;void 0===t&&(t={});var o=t.borderRadius,i=t.inset,a=void 0===i?0:i,l=t.width,s=void 0===l?1:l,u=t.position,c=void 0===u?"relative":u,d=t.highContrastStyle,f=t.borderColor,p=void 0===f?e.palette.white:f,h=t.outlineColor,m=void 0===h?e.palette.neutralSecondary:h,g=t.isFocusedOnly,v=void 0===g||g,y=t.pointerEvents;return{outline:"transparent",position:c,selectors:(n={"::-moz-focus-inner":{border:"0"}},n[".".concat(Py," &").concat(v?":focus":"",":after, :host(.").concat(Py,") &").concat(v?":focus":"",":after")]={content:'""',position:"absolute",pointerEvents:y,left:a+1,top:a+1,bottom:a+1,right:a+1,border:"".concat(s,"px solid ").concat(p),outline:"".concat(s,"px solid ").concat(m),zIndex:P_.FocusStyle,borderRadius:o,selectors:(r={},r[R_]=d,r)},n)}}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(P_||(P_={}));var N_=function(e,t,n,r){var o,i,a;void 0===n&&(n="border"),void 0===r&&(r=-1);var l="borderBottom"===n;return{borderColor:e,selectors:{":after":(o={pointerEvents:"none",content:"''",position:"absolute",left:l?0:r,top:r,bottom:r,right:l?0:r},o[n]="2px solid ".concat(e),o.borderRadius=t,o.width="borderBottom"===n?"100%":void 0,o.selectors=(i={},i[R_]=(a={},a["border"===n?"borderColor":"borderBottomColor"]="Highlight",a),i),o)}}},B_={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden",whiteSpace:"nowrap"},z_=Ev(function(e,t){var n=km.getInstance();return t?Object.keys(e).reduce(function(t,r){return t[r]=n.getClassName(e[r]),t},{}):e});function H_(e,t,n){return z_(e,void 0!==n?n:t.disableGlobalClassNames)}var V_=function(){return V_=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},V_.apply(this,arguments)},W_="undefined"==typeof window?global:window,U_=W_&&W_.CSPSettings&&W_.CSPSettings.nonce,j_=function(){var e=W_.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};e.runState||(e=V_(V_({},e),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}}));e.registeredThemableStyles||(e=V_(V_({},e),{registeredThemableStyles:[]}));return W_.__themeState__=e,e}();function K_(e,t){j_.loadStyles?j_.loadStyles($_(e).styleString,e):function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),r=$_(e),o=r.styleString,i=r.themable;n.setAttribute("data-load-themed-styles","true"),U_&&n.setAttribute("nonce",U_);n.appendChild(document.createTextNode(o)),j_.perf.count++,t.appendChild(n);var a=document.createEvent("HTMLEvents");a.initEvent("styleinsert",!0,!1),a.args={newStyle:n},document.dispatchEvent(a);var l={styleElement:n,themableStyle:e};i?j_.registeredThemableStyles.push(l):j_.registeredStyles.push(l)}(e)}function q_(e){j_.theme=e,function(){if(j_.theme){for(var e=[],t=0,n=j_.registeredThemableStyles;t<n.length;t++){var r=n[t];e.push(r.themableStyle)}e.length>0&&(!function(e){void 0===e&&(e=3);3!==e&&2!==e||(G_(j_.registeredStyles),j_.registeredStyles=[]);3!==e&&1!==e||(G_(j_.registeredThemableStyles),j_.registeredThemableStyles=[])}(1),K_([].concat.apply([],e)))}}()}function G_(e){e.forEach(function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)})}function $_(e){var t=j_.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 "'.concat(r,'". Falling back to "').concat(i,'".')),o||i}return e.rawString}).join(""),themable:n}}var Q_=T_({}),Z_=[],Y_="theme";function J_(){var e,t,n,r=ng();(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);Q_=T_(e,t),q_(em(em(em(em({},Q_.palette),Q_.semanticColors),Q_.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,l=Object.keys(i);a<l.length;a++){var s=l[a],u=o+s.charAt(0).toUpperCase()+s.slice(1),c=i[s];"fontSize"===s&&"number"==typeof c&&(c+="px"),t[u]=c}return t}(Q_))),Lv.applySettings((n={},n[Y_]=Q_,n)),Z_.forEach(function(e){try{e(Q_)}catch(e){}})}(r.FabricConfig.legacyTheme):Lv.getSettings([Y_]).theme||((null===(n=null==r?void 0:r.FabricConfig)||void 0===n?void 0:n.theme)&&(Q_=T_(r.FabricConfig.theme)),Lv.applySettings(((e={})[Y_]=Q_,e)))}J_();var X_={boxShadow:"none",margin:0,padding:0,boxSizing:"border-box"};function eC(e){return{selectors:{"::placeholder":e,":-ms-input-placeholder":e,"::-ms-input-placeholder":e}}}var tC=function(e){var t={},n=function(n){var r;e.hasOwnProperty(n)&&Object.defineProperty(t,n,{get:function(){return void 0===r&&(r=Gm(e[n]).toString()),r},enumerable:!0,configurable:!0})};for(var r in e)n(r);return t}(h_);am("@fluentui/style-utilities","8.14.0"),J_();var nC,rC,oC,iC=0,aC=1,lC=2,sC=3,uC=4,cC=5,dC=6,fC=7,pC=8,hC=9,mC=10,gC=11,vC=12,yC=13;function bC(e,t,n){return{targetEdge:e,alignmentEdge:t,isAuto:n}}!function(e){e[e.top=1]="top",e[e.bottom=-1]="bottom",e[e.left=2]="left",e[e.right=-2]="right"}(nC||(nC={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(rC||(rC={}));var _C=((oC={})[iC]=bC(nC.top,nC.left),oC[aC]=bC(nC.top),oC[lC]=bC(nC.top,nC.right),oC[sC]=bC(nC.top,void 0,!0),oC[uC]=bC(nC.bottom,nC.left),oC[cC]=bC(nC.bottom),oC[dC]=bC(nC.bottom,nC.right),oC[fC]=bC(nC.bottom,void 0,!0),oC[pC]=bC(nC.left,nC.top),oC[hC]=bC(nC.left),oC[mC]=bC(nC.left,nC.bottom),oC[gC]=bC(nC.right,nC.top),oC[vC]=bC(nC.right),oC[yC]=bC(nC.right,nC.bottom),oC);function CC(e,t){return!(e.top<t.top)&&(!(e.bottom>t.bottom)&&(!(e.left<t.left)&&!(e.right>t.right)))}function SC(e,t){var n=[];return e.top<t.top&&n.push(nC.top),e.bottom>t.bottom&&n.push(nC.bottom),e.left<t.left&&n.push(nC.left),e.right>t.right&&n.push(nC.right),n}function wC(e,t){return e[nC[t]]}function kC(e,t,n){return e[nC[t]]=n,e}function xC(e,t){var n=BC(t);return(wC(e,n.positiveEdge)+wC(e,n.negativeEdge))/2}function EC(e,t){return e>0?t:-1*t}function FC(e,t){return EC(e,wC(t,e))}function IC(e,t,n){return EC(n,wC(e,n)-wC(t,n))}function TC(e,t,n,r){void 0===r&&(r=!0);var o=wC(e,t)-n,i=kC(e,t,n);return r&&(i=kC(e,-1*t,wC(e,-1*t)-o)),i}function PC(e,t,n,r){return void 0===r&&(r=0),TC(e,n,wC(t,n)+EC(n,r))}function RC(e,t,n){return FC(n,e)>FC(n,t)}function DC(e,t){for(var n=0,r=0,o=SC(e,t);r<o.length;r++){var i=o[r];n+=Math.pow(IC(e,t,i),2)}return n}function MC(e,t,n,r){return void 0===r&&(r=200),(n===nC.bottom||n===nC.top)&&IC(e,t,n)>=r}function OC(e,t,n,r,o,i,a,l,s){void 0===o&&(o=!1),void 0===a&&(a=0);var u=r.alignmentEdge,c=r.alignTargetEdge,d={elementRectangle:e,targetEdge:r.targetEdge,alignmentEdge:u};l||s||(d=function(e,t,n,r,o,i,a){void 0===o&&(o=!1),void 0===a&&(a=0);var l=[nC.left,nC.right,nC.bottom,nC.top];pv()&&(l[0]*=-1,l[1]*=-1);for(var s,u=e,c=r.targetEdge,d=r.alignmentEdge,f=c,p=d,h=0;h<4;h++){if(RC(u,n,c))return{elementRectangle:u,targetEdge:c,alignmentEdge:d};if(o&&MC(t,n,c,i)){switch(c){case nC.bottom:u.bottom=n.bottom;break;case nC.top:u.top=n.top}return{elementRectangle:u,targetEdge:c,alignmentEdge:d,forcedInBounds:!0}}var m=DC(u,n);(!s||m<s)&&(s=m,f=c,p=d),l.splice(l.indexOf(c),1),l.length>0&&(l.indexOf(-1*c)>-1?c*=-1:(d=c,c=l.slice(-1)[0]),u=NC(e,t,{targetEdge:c,alignmentEdge:d},a))}return{elementRectangle:u=NC(e,t,{targetEdge:f,alignmentEdge:p},a),targetEdge:f,alignmentEdge:p}}(e,t,n,r,o,i,a));var f=SC(d.elementRectangle,n),p=l?-d.targetEdge:void 0;if(f.length>0)if(c)if(d.alignmentEdge&&f.indexOf(-1*d.alignmentEdge)>-1){var h=function(e,t,n,r){var o=e.alignmentEdge,i=e.targetEdge,a=-1*o;return{elementRectangle:NC(e.elementRectangle,t,{targetEdge:i,alignmentEdge:a},n,r),targetEdge:i,alignmentEdge:a}}(d,t,a,s);if(CC(h.elementRectangle,n))return h;d=AC(SC(h.elementRectangle,n),d,n,p)}else d=AC(f,d,n,p);else d=AC(f,d,n,p);return d}function AC(e,t,n,r){for(var o=0,i=e;o<i.length;o++){var a=i[o],l=void 0;if(r&&r===-1*a)l=TC(t.elementRectangle,a,wC(n,a),!1),t.forcedInBounds=!0;else RC(l=PC(t.elementRectangle,n,a),n,-1*a)||(l=TC(l,-1*a,wC(n,-1*a),!1),t.forcedInBounds=!0);t.elementRectangle=l}return t}function LC(e,t,n){var r=BC(t).positiveEdge;return TC(e,r,n-(xC(e,t)-wC(e,r)))}function NC(e,t,n,r,o){void 0===r&&(r=0);var i=new av(e.left,e.right,e.top,e.bottom),a=n.alignmentEdge,l=n.targetEdge,s=o?l:-1*l;(i=o?PC(i,t,l,r):function(e,t,n,r){void 0===r&&(r=0);var o=EC(-1*n,r);return TC(e,-1*n,wC(t,n)+o)}(i,t,l,r),a)?i=PC(i,t,a):i=LC(i,s,xC(t,l));return i}function BC(e){return e===nC.top||e===nC.bottom?{positiveEdge:nC.left,negativeEdge:nC.right}:{positiveEdge:nC.top,negativeEdge:nC.bottom}}function zC(e,t,n){return n&&Math.abs(IC(e,n,t))>Math.abs(IC(e,n,-1*t))?-1*t:t}function HC(e,t,n,r,o,i,a,l){var s,u={},c=WC(t),d=i?n:-1*n,f=o||BC(n).positiveEdge;return a&&!function(e,t,n){return void 0!==n&&wC(e,t)===wC(n,t)}(e,(s=f,-1*s),r)||(f=zC(e,f,r)),u[nC[d]]=IC(e,c,d),u[nC[f]]=IC(e,c,f),l&&(u[nC[-1*d]]=IC(e,c,-1*d),u[nC[-1*f]]=IC(e,c,-1*f)),u}function VC(e,t,n){var r=xC(t,e),o=xC(n,e),i=BC(e),a=i.positiveEdge,l=i.negativeEdge;return r<=o?a:l}function WC(e){var t=e.getBoundingClientRect();return new av(t.left,t.right,t.top,t.bottom)}function UC(e,t,n,r,o,i){void 0===o&&(o=!1);var a=e.gapSpace?e.gapSpace:0,l=function(e,t){var n;if(t){if(t.preventDefault){var r=t;n=new av(r.clientX,r.clientX,r.clientY,r.clientY)}else if(t.getBoundingClientRect)n=WC(t);else{var o=t,i=o.left||o.x,a=o.top||o.y,l=o.right||i,s=o.bottom||a;n=new av(i,l,a,s)}if(!CC(n,e))for(var u=0,c=SC(n,e);u<c.length;u++){var d=c[u];n[nC[d]]=e[nC[d]]}}else n=new av(0,0,0,0);return n}(n,e.target),s=function(e,t,n,r,o){return e.isAuto&&(e.alignmentEdge=VC(e.targetEdge,t,n)),e.alignTargetEdge=o,e}(function(e,t,n){if(void 0===e&&(e=fC),n)return{alignmentEdge:n.alignmentEdge,isAuto:n.isAuto,targetEdge:n.targetEdge};var r=em({},_C[e]);return pv()?(r.alignmentEdge&&r.alignmentEdge%2==0&&(r.alignmentEdge=-1*r.alignmentEdge),void 0!==t?_C[t]:r):r}(e.directionalHint,e.directionalHintForRTL,r),l,n,e.coverTarget,e.alignTargetEdge),u=function(e,t,n,r,o,i,a,l,s){void 0===i&&(i=!1);var u=NC(e,t,r,o,s);return CC(u,n)?{elementRectangle:u,targetEdge:r.targetEdge,alignmentEdge:r.alignmentEdge}:OC(u,t,n,r,i,a,o,l,s)}(WC(t),l,n,s,a,o,i,e.directionalHintFixed,e.coverTarget);return em(em({},u),{targetRectangle:l})}function jC(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=0),function(e){return Math.sqrt(e*e*2)}(e?t:0)/2+n}function KC(e,t,n,r,o,i,a,l){void 0===o&&(o=!1);var s=null!=l?l:ng(),u=e.isBeakVisible&&e.beakWidth||0,c=jC(e.isBeakVisible,e.beakWidth,e.gapSpace),d=e;d.gapSpace=c;var f,p,h,m,g,v,y,b,_,C=e.bounds?(f=e.bounds,new av(f.left,f.right,f.top,f.bottom)):new av(0,s.innerWidth-function(e){if(void 0===Tg){var t=null!=e?e:fg(),n=t.createElement("div");n.style.setProperty("width","100px"),n.style.setProperty("height","100px"),n.style.setProperty("overflow","scroll"),n.style.setProperty("position","absolute"),n.style.setProperty("top","-9999px"),t.body.appendChild(n),Tg=n.offsetWidth-n.clientWidth,t.body.removeChild(n)}return Tg}(),0,s.innerHeight),S=UC(d,n,C,r,o,i),w=function(e,t){var n=t.targetRectangle,r=BC(t.targetEdge),o=r.positiveEdge,i=r.negativeEdge,a=xC(n,t.targetEdge),l=new av(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),s=new av(0,e,0,e);return RC(s=LC(s=TC(s,-1*t.targetEdge,-e/2),-1*t.targetEdge,a-FC(o,t.elementRectangle)),l,o)?RC(s,l,i)||(s=PC(s,l,i)):s=PC(s,l,o),s}(u,S),k=(h=w,m=C,g=-1*(p=S).targetEdge,v=new av(0,p.elementRectangle.width,0,p.elementRectangle.height),y={},b=zC(p.elementRectangle,p.alignmentEdge?p.alignmentEdge:BC(g).positiveEdge,m),_=IC(p.elementRectangle,p.targetRectangle,g)>Math.abs(wC(h,g)),y[nC[g]]=wC(h,g),y[nC[b]]=IC(h,v,b),{elementPosition:em({},y),closestEdge:VC(p.targetEdge,h,v),targetEdge:g,hideBeak:!_});return em(em({},function(e,t,n,r,o){return{elementPosition:HC(e.elementRectangle,t,e.targetEdge,n,e.alignmentEdge,r,o,e.forcedInBounds),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}(S,t,C,e.coverTarget,a)),{beakPosition:k})}function qC(e,t,n,r,o){return function(e,t,n,r,o){return KC(e,t,n,r,!1,void 0,!0,null!=o?o:ng())}(e,t,n,r,o)}function GC(e){return function(e){var t,n,r,o,i=e,a=e,l=e,s=null!==(t=l.left)&&void 0!==t?t:l.x,u=null!==(n=l.top)&&void 0!==n?n:l.y,c=null!==(r=l.right)&&void 0!==r?r:s,d=null!==(o=l.bottom)&&void 0!==o?o:u;return i.stopPropagation?new av(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==s&&void 0!==u?new av(s,c,u,d):WC(a)}(e)}function $C(){var e=z.useRef(void 0);return e.current||(e.current=new rg),z.useEffect(function(){return function(){var t;null===(t=e.current)||void 0===t||t.dispose(),e.current=void 0}},[]),e.current}function QC(e){var t=z.useRef(void 0);return void 0===t.current&&(t.current={value:"function"==typeof e?e():e}),t.current.value}function ZC(e,t,n){var r=z.useState(t),o=r[0],i=r[1],a=QC(void 0!==e),l=a?e:o,s=z.useRef(l),u=z.useRef(n);z.useEffect(function(){s.current=l,u.current=n});var c=QC(function(){return function(e,t){var n="function"==typeof e?e(s.current):e;u.current&&u.current(t,n),a||i(n)}});return[l,c]}function YC(e){var t=z.useRef(function(){throw new Error("Cannot call an event handler while rendering")});return sb(function(){t.current=e},[e]),QC(function(){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.current.apply(void 0,e)}})}function JC(e,t){var n=z.useRef(t);return n.current||(n.current=sy(e)),n.current}function XC(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=z.useCallback(function(t){n.current=t;for(var r=0,o=e;r<o.length;r++){var i=o[r];"function"==typeof i?i(t):i&&(i.current=t)}},rm([],e,!0));return n}function eS(e,t,n,r){var o=z.useRef(n);o.current=n,z.useEffect(function(){var n=e&&"current"in e?e.current:e;if(n&&n.addEventListener)return xg(n,t,function(e){return o.current(e)},r)},[e,t,r])}function tS(e){var t=z.useRef(void 0);return z.useEffect(function(){t.current=e}),t.current}function nS(e,t){var n,r,o,i=z.useRef(void 0),a=z.useRef(null),l=Jv();if(!e||e!==i.current||"string"==typeof e){var s=null==t?void 0:t.current;if(e)if("string"==typeof e)if(null===(n=null==s?void 0:s.getRootNode())||void 0===n?void 0:n.host)a.current=null!==(o=null===(r=null==s?void 0:s.getRootNode())||void 0===r?void 0:r.querySelector(e))&&void 0!==o?o:null;else{var u=fg(s);a.current=u?u.querySelector(e):null}else a.current="stopPropagation"in e||"getBoundingClientRect"in e?e:"current"in e?e.current:e;i.current=e}return[a,l]}function rS(e){var t=e.originalElement,n=e.containsFocus;t&&n&&t!==ng()&&setTimeout(function(){var e;null===(e=t.focus)||void 0===e||e.call(t)},0)}function oS(e,t){var n=e.onRestoreFocus,r=void 0===n?rS:n,o=z.useRef(void 0),i=z.useRef(!1);z.useEffect(function(){var e,n,a;return o.current=fg().activeElement,e=t.current,n=fg(e),(a=n&&n.activeElement)&&ag(e,a)&&(i.current=!0),function(){var e;null==r||r({originalElement:o.current,containsFocus:i.current,documentContainsFocus:(null===(e=fg())||void 0===e?void 0:e.hasFocus())||!1}),o.current=void 0}},[]),eS(t,"focus",z.useCallback(function(){i.current=!0},[]),!0),eS(t,"blur",z.useCallback(function(e){t.current&&e.relatedTarget&&!t.current.contains(e.relatedTarget)&&(i.current=!1)},[]),!0)}var iS=z.forwardRef(function(e,t){var n=ab({shouldRestoreFocus:!0,enableAriaHiddenSiblings:!0},e),r=z.useRef(void 0),o=XC(r,t);!function(e,t){var n="true"===String(e["aria-modal"]).toLowerCase()&&e.enableAriaHiddenSiblings;z.useEffect(function(){if(n&&t.current)return Xy(t.current)},[t,n])}(n,r),oS(n,r);var i=n.role,a=n.className,l=n.ariaLabel,s=n.ariaLabelledBy,u=n.ariaDescribedBy,c=n.style,d=n.children,f=n.onDismiss,p=function(e,t){var n=$C(),r=z.useState(!1),o=r[0],i=r[1];return z.useEffect(function(){return n.requestAnimationFrame(function(){var n;if(!e.style||!e.style.overflowY){var r=!1;if(t&&t.current&&(null===(n=t.current)||void 0===n?void 0:n.firstElementChild)){var a=t.current.clientHeight,l=t.current.firstElementChild.clientHeight;a>0&&l>a&&(r=l-a>1)}o!==r&&i(r)}}),function(){return n.dispose()}}),o}(n,r),h=z.useCallback(function(e){if(e.which===Zg)f&&(f(e),e.preventDefault(),e.stopPropagation())},[f]);return eS(Jv(),"keydown",h),z.createElement("div",em({ref:o},Sy(n,Cy),{className:a,role:i,"aria-label":l,"aria-labelledby":s,"aria-describedby":u,onKeyDown:h,style:em({overflowY:p?"scroll":void 0,outline:"none"},c)}),d)});iS.displayName="Popup";var aS,lS=function(){var e;return null!==(e=Jv())&&void 0!==e?e:"undefined"!=typeof window?window:void 0},sS=function(e){var t,n;return null!==(n=null===(t=null==e?void 0:e.window)||void 0===t?void 0:t.document)&&void 0!==n?n:"undefined"!=typeof document?document:void 0},uS=function(e){var t;return null!==(t=null==e?void 0:e.window)&&void 0!==t?t:"undefined"!=typeof window?window:void 0},cS=((aS={})[nC.top]=tC.slideUpIn10,aS[nC.bottom]=tC.slideDownIn10,aS[nC.left]=tC.slideLeftIn10,aS[nC.right]=tC.slideRightIn10,aS),dS=0,fS=0,pS={opacity:0,filter:"opacity(0)",pointerEvents:"none"},hS=["role","aria-roledescription"],mS={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:fC},gS=vv({disableCaching:!0});function vS(e,t,n,r){var o,i=e.calloutMaxHeight,a=e.finalHeight,l=e.directionalHint,s=e.directionalHintFixed,u=e.hidden,c=e.gapSpace,d=e.beakWidth,f=e.isBeakVisible,p=e.coverTarget,h=z.useState(),m=h[0],g=h[1],v=null!==(o=null==r?void 0:r.elementPosition)&&void 0!==o?o:{},y=v.top,b=v.bottom,_=(null==n?void 0:n.current)?GC(n.current):void 0;return z.useEffect(function(){var e,n,o=null!==(e=t())&&void 0!==e?e:{},a=o.top,l=o.bottom;(null==r?void 0:r.targetEdge)===nC.top&&(null==_?void 0:_.top)&&!p&&(l=_.top-function(e,t,n){return jC(e,t,n)}(f,d,c)),"number"==typeof y&&l?n=l-y:"number"==typeof b&&"number"==typeof a&&l&&(n=l-a-b),g(!i&&!u||i&&n&&i>n?n:i||void 0)},[b,i,a,l,s,t,u,r,y,c,d,f,_,p]),m}function yS(e,t,n,r,o,i){var a,l=z.useState(),s=l[0],u=l[1],c=z.useRef(0),d=z.useRef(void 0),f=$C(),p=e.hidden,h=e.target,m=e.finalHeight,g=e.calloutMaxHeight,v=e.onPositioned,y=e.directionalHint,b=e.hideOverflow,_=e.preferScrollResizePositioning,C=lS(),S=z.useRef(void 0);S.current!==i.current&&(S.current=i.current,a=i.current?null==C?void 0:C.getComputedStyle(i.current):void 0);var w=null==a?void 0:a.overflowY;return z.useEffect(function(){if(!p){var i=f.requestAnimationFrame(function(){var i,a,l,f;if(t.current&&n){var p=em(em({},e),{target:r.current,bounds:o()}),y=n.cloneNode(!0);y.style.maxHeight=g?"".concat(g):"",y.style.visibility="hidden",null===(i=n.parentElement)||void 0===i||i.appendChild(y);var S=d.current===h?s:void 0,k=_&&!(b||"clip"===w||"hidden"===w),x=m?qC(p,t.current,y,S,C):function(e,t,n,r,o,i,a){return KC(e,t,n,r,o,i,void 0,a)}(p,t.current,y,S,k,void 0,C);null===(a=n.parentElement)||void 0===a||a.removeChild(y),!s&&x||s&&x&&(f=x,!SS((l=s).elementPosition,f.elementPosition)||!SS(l.beakPosition.elementPosition,f.beakPosition.elementPosition))&&c.current<5?(c.current++,u(x)):c.current>0&&(c.current=0,null==v||v(s))}},n);return d.current=h,function(){f.cancelAnimationFrame(i),d.current=void 0}}u(void 0),c.current=0},[p,y,f,n,g,t,r,m,o,v,s,e,h,b,_,w,C]),s}function bS(e,t,n){var r=e.hidden,o=e.setInitialFocus,i=$C(),a=!!t;z.useEffect(function(){if(!r&&o&&a&&n){var e=i.requestAnimationFrame(function(){return!!(o=gg(e=n,e,!0,!1,!1,!0,void 0,void 0,t,r))&&(kg(o),!0);var e,t,r,o},n);return function(){return i.cancelAnimationFrame(e)}}},[r,a,i,n,o])}var _S=z.memo(z.forwardRef(function(e,t){var n=ab(mS,e),r=n.styles,o=n.style,i=n.ariaLabel,a=n.ariaDescribedBy,l=n.ariaLabelledBy,s=n.className,u=n.isBeakVisible,c=n.children,d=n.beakWidth,f=n.calloutWidth,p=n.calloutMaxWidth,h=n.calloutMinWidth,m=n.doNotLayer,g=n.finalHeight,v=n.hideOverflow,y=void 0===v?!!g:v,b=n.backgroundColor,_=n.calloutMaxHeight,C=n.onScroll,S=n.shouldRestoreFocus,w=void 0===S||S,k=n.target,x=n.hidden,E=n.onLayerMounted,F=n.popupProps,I=z.useRef(null),T=XC(z.useRef(null),null==F?void 0:F.ref),P=z.useState(null),R=P[0],D=P[1],M=z.useCallback(function(e){D(e)},[]),O=XC(I,t),A=nS(n.target,{current:R}),L=A[0],N=A[1],B=function(e,t,n){var r=e.bounds,o=e.minPagePadding,i=void 0===o?mS.minPagePadding:o,a=e.target,l=z.useState(!1),s=l[0],u=l[1],c=z.useRef(void 0),d=z.useCallback(function(){if(!c.current||s){var e="function"==typeof r?n?r(a,n):void 0:r;!e&&n&&(e=function(e,t){return function(e,t){var n=void 0;if(t.getWindowSegments&&(n=t.getWindowSegments()),void 0===n||n.length<=1)return{top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight};var r=0,o=0;if(null!==e&&e.getBoundingClientRect){var i=e.getBoundingClientRect();r=(i.left+i.right)/2,o=(i.top+i.bottom)/2}else null!==e&&(r=e.left||e.x,o=e.top||e.y);for(var a={top:0,left:0,right:0,bottom:0,width:0,height:0},l=0,s=n;l<s.length;l++){var u=s[l];r&&u.left<=r&&u.right>=r&&o&&u.top<=o&&u.bottom>=o&&(a={top:u.top,left:u.left,right:u.right,bottom:u.bottom,width:u.width,height:u.height})}return a}(e,t)}(t.current,n),e={top:e.top+i,left:e.left+i,right:e.right-i,bottom:e.bottom-i,width:e.width-2*i,height:e.height-2*i}),c.current=e,s&&u(!1)}return c.current},[r,i,a,t,n,s]),f=$C();return eS(n,"resize",f.debounce(function(){u(!0)},500,{leading:!0})),d}(n,L,N),H=yS(n,I,R,L,B,T),V=vS(n,B,L,H),W=function(e,t,n,r,o){var i=e.hidden,a=e.onDismiss,l=e.preventDismissOnScroll,s=e.preventDismissOnResize,u=e.preventDismissOnLostFocus,c=e.dismissOnTargetClick,d=e.shouldDismissOnWindowFocus,f=e.preventDismissOnEvent,p=z.useRef(!1),h=$C(),m=QC([function(){p.current=!0},function(){p.current=!1}]),g=!!t;return z.useEffect(function(){var e=function(e){g&&!l&&v(e)},t=function(e){s||f&&f(e)||null==a||a(e)},m=function(e){u||v(e)},v=function(e){var t=e.composedPath?e.composedPath():[],i=t.length>0?t[0]:e.target,l=n.current&&!ag(n.current,i);if(l&&p.current)p.current=!1;else if(!r.current&&l||e.target!==o&&l&&(!r.current||"stopPropagation"in r.current||c||i!==r.current&&!ag(r.current,i))){if(f&&f(e))return;null==a||a(e)}},y=function(e){d&&((!f||f(e))&&(f||u)||(null==o?void 0:o.document.hasFocus())||null!==e.relatedTarget||null==a||a(e))},b=new Promise(function(n){h.setTimeout(function(){if(!i&&o){var r=[xg(o,"scroll",e,!0),xg(o,"resize",t,!0),xg(o.document.documentElement,"focus",m,!0),xg(o.document.documentElement,"click",m,!0),xg(o,"blur",y,!0)];n(function(){r.forEach(function(e){return e()})})}},0)});return function(){b.then(function(e){return e()})}},[i,h,n,r,o,a,d,c,u,s,l,g,f]),m}(n,H,I,L,N),U=W[0],j=W[1],K=(null==H?void 0:H.elementPosition.top)&&(null==H?void 0:H.elementPosition.bottom),q=em(em({},null==H?void 0:H.elementPosition),{maxHeight:V});if(K&&(q.bottom=void 0),bS(n,H,R),z.useEffect(function(){x||null==E||E()},[x]),!N)return null;var G=y,$=u&&!!k,Q=gS(r,{theme:n.theme,className:s,overflowYHidden:G,calloutWidth:f,positions:H,beakWidth:d,backgroundColor:b,calloutMaxWidth:p,calloutMinWidth:h,doNotLayer:m}),Z=em(em({maxHeight:_||"100%"},o),G&&{overflowY:"hidden"}),Y=n.hidden?{visibility:"hidden"}:void 0;return z.createElement("div",{ref:O,className:Q.container,style:Y},z.createElement("div",em({},Sy(n,Cy,hS),{className:Dv(Q.root,H&&H.targetEdge&&cS[H.targetEdge]),style:H?em({},q):pS,tabIndex:-1,ref:M}),$&&z.createElement("div",{className:Q.beak,style:CS(H)}),$&&z.createElement("div",{className:Q.beakCurtain}),z.createElement(iS,em({role:n.role,"aria-roledescription":n["aria-roledescription"],ariaDescribedBy:a,ariaLabel:i,ariaLabelledBy:l,className:Q.calloutMain,onDismiss:n.onDismiss,onMouseDown:U,onMouseUp:j,onRestoreFocus:n.onRestoreFocus,onScroll:C,shouldRestoreFocus:w,style:Z},F,{ref:T}),c)))}),function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||Eg(e,t)});function CS(e){var t,n,r=em(em({},null===(t=null==e?void 0:e.beakPosition)||void 0===t?void 0:t.elementPosition),{display:(null===(n=null==e?void 0:e.beakPosition)||void 0===n?void 0:n.hideBeak)?"none":void 0});return r.top||r.bottom||r.left||r.right||(r.left=fS,r.top=dS),r}function SS(e,t){for(var n in t)if(t.hasOwnProperty(n)){var r=e[n],o=t[n];if(void 0===r||void 0===o)return!1;if(r.toFixed(2)!==o.toFixed(2))return!1}return!0}function wS(e){return{height:e,width:e}}_S.displayName="CalloutContentBase";var kS={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},xS=ob(_S,function(e){var t,n=e.theme,r=e.className,o=e.overflowYHidden,i=e.calloutWidth,a=e.beakWidth,l=e.backgroundColor,s=e.calloutMaxWidth,u=e.calloutMinWidth,c=e.doNotLayer,d=H_(kS,n),f=n.semanticColors,p=n.effects;return{container:[d.container,{position:"relative"}],root:[d.root,n.fonts.medium,{position:"absolute",display:"flex",zIndex:c?P_.Layer:void 0,boxSizing:"border-box",borderRadius:p.roundedCorner2,boxShadow:p.elevation16,selectors:(t={},t[R_]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}},r,!!i&&{width:i},!!s&&{maxWidth:s},!!u&&{minWidth:u}],beak:[d.beak,{position:"absolute",backgroundColor:f.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},wS(a),l&&{backgroundColor:l}],beakCurtain:[d.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:f.menuBackground,borderRadius:p.roundedCorner2}],calloutMain:[d.calloutMain,{backgroundColor:f.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",width:"100%",borderRadius:p.roundedCorner2},o&&{overflowY:"hidden"},l&&{backgroundColor:l}]}},void 0,{scope:"CalloutContent"}),ES=z.createContext(void 0),FS=function(){return function(){}};ES.Provider;var IS=vv(),TS=Ev(function(e,t){return T_(em(em({},e),{rtl:t}))}),PS=z.forwardRef(function(e,t){var n=e.className,r=e.theme,o=e.applyTheme,i=e.applyThemeToBody,a=e.styles,l=IS(a,{theme:r,applyTheme:o,className:n}),s=z.useRef(null);return function(e,t,n){var r=t.bodyThemed;z.useEffect(function(){if(e){var t=fg(n.current);if(t)return t.body.classList.add(r),function(){t.body.classList.remove(r)}}},[r,e,n])}(i,l,s),z.createElement(z.Fragment,null,function(e,t,n,r){var o=t.root,i=e.as,a=void 0===i?"div":i,l=e.dir,s=e.theme,u=Sy(e,Cy,["dir"]),c=function(e){var t=e.theme,n=e.dir,r=pv(t)?"rtl":"ltr",o=pv()?"rtl":"ltr",i=n||r;return{rootDir:i!==r||i!==o?i:n,needsTheme:i!==r}}(e),d=c.rootDir,f=c.needsTheme,p=z.createElement(qy,{providerRef:n},z.createElement(a,em({dir:d},u,{className:o,ref:XC(n,r)})));f&&(p=z.createElement(Vv,{settings:{theme:TS(s,"rtl"===l)}},p));return p}(e,l,s,t))});PS.displayName="FabricBase";var RS={fontFamily:"inherit"},DS={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},MS=ob(PS,function(e){var t=e.applyTheme,n=e.className,r=e.preventBlanketFontInheritance,o=e.theme;return{root:[H_(DS,o).root,o.fonts.medium,{color:o.palette.neutralPrimary},!r&&{"& button":RS,"& input":RS,"& textarea":RS},t&&{color:o.semanticColors.bodyText,backgroundColor:o.semanticColors.bodyBackground},n],bodyThemed:[{backgroundColor:o.semanticColors.bodyBackground}]}},void 0,{scope:"Fabric"}),OS={},AS={},LS="fluent-default-layer-host",NS="#".concat(LS);var BS,zS=vv(),HS=z.forwardRef(function(e,t){var n,r=null!==(n=z.useContext(ES))&&void 0!==n?n:FS,o=z.useRef(null),i=XC(o,t),a=z.useRef(void 0),l=z.useRef(null),s=z.useContext(By),u=z.useState(!1),c=u[0],d=u[1],f=z.useCallback(function(e){var t,n=!!(null==(t=null==s?void 0:s.providerRef)?void 0:t.current)&&t.current.classList.contains(Py);e&&n&&e.classList.add(Py)},[s]),p=e.children,h=e.className,m=e.eventBubblingEnabled,g=e.fabricProps,v=e.hostId,y=e.insertFirst,b=e.onLayerDidMount,_=void 0===b?function(){}:b,C=e.onLayerMounted,S=void 0===C?function(){}:C,w=e.onLayerWillUnmount,k=e.styles,x=e.theme,E=XC(l,null==g?void 0:g.ref,f),F=zS(k,{theme:x,className:h,isNotHost:!v}),I=function(e,t){var n,r;void 0===t&&(t=null);var o=null!=t?t:e;if(v){var i=function(e){var t=AS[e];return t&&t[0]||void 0}(v);return i?null!==(n=i.rootRef.current)&&void 0!==n?n:null:null!==(r=o.getElementById(v))&&void 0!==r?r:null}var a=NS,l=a?o.querySelector(a):null;return l||(l=function(e,t){void 0===t&&(t=null);var n=e.createElement("div");return n.setAttribute("id",LS),n.style.cssText="position:fixed;z-index:1000000",t?t.appendChild(n):null==e||e.body.appendChild(n),n}(e,t)),l},T=function(){null==w||w();var e=a.current;a.current=void 0,e&&e.parentNode&&e.parentNode.removeChild(e)},P=function(){var e,t,n,r,i=fg(o.current),l=(null===(t=null===(e=o.current)||void 0===e?void 0:e.getRootNode())||void 0===t?void 0:t.host)?null===(n=null==o?void 0:o.current)||void 0===n?void 0:n.getRootNode():void 0;if(i&&(i||l)){var s=I(i,l);if(s){s.__tabsterElementFlags||(s.__tabsterElementFlags={}),s.__tabsterElementFlags.noDirectAriaHidden=!0,T();var u=(null!==(r=s.ownerDocument)&&void 0!==r?r:i).createElement("div");u.className=F.root,u.setAttribute(cg,"true"),function(e,t){var n=e,r=t;n._virtual||(n._virtual={children:[]});var o=n._virtual.parent;if(o&&o!==t){var i=o._virtual.children.indexOf(n);i>-1&&o._virtual.children.splice(i,1)}n._virtual.parent=r||void 0,r&&(r._virtual||(r._virtual={children:[]}),r._virtual.children.push(n))}(u,o.current),y?s.insertBefore(u,s.firstChild):s.appendChild(u),a.current=u,d(!0)}}};return sb(function(){P(),v&&function(e,t){OS[e]||(OS[e]=[]),OS[e].push(t);var n=AS[e];if(n)for(var r=0,o=n;r<o.length;r++)o[r].notifyLayersChanged()}(v,P);var e=a.current?r(a.current):void 0;return function(){e&&e(),T(),v&&function(e,t){var n=OS[e];if(n){var r=n.indexOf(t);r>=0&&(n.splice(r,1),0===n.length&&delete OS[e])}var o=AS[e];if(o)for(var i=0,a=o;i<a.length;i++)a[i].notifyLayersChanged()}(v,P)}},[v]),z.useEffect(function(){a.current&&c&&(null==S||S(),null==_||_(),d(!1))},[c,S,_]),z.createElement("span",{className:"ms-layer",ref:i},a.current&&$c.createPortal(z.createElement(qy,{layerRoot:!0,providerRef:E},z.createElement(MS,em({},!m&&function(){BS||(BS={},["onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOver","onMouseOut","onMouseUp","onTouchMove","onTouchStart","onTouchCancel","onTouchEnd","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit"].forEach(function(e){return BS[e]=VS}));return BS}(),g,{className:Dv(F.content,null==g?void 0:g.className),ref:E}),p)),a.current))});HS.displayName="LayerBase";var VS=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()};var WS={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},US=ob(HS,function(e){var t=e.className,n=e.isNotHost,r=e.theme,o=H_(WS,r);return{root:[o.root,r.fonts.medium,n&&[o.rootNoHost,{position:"fixed",zIndex:P_.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[o.content,{visibility:"visible"}]}},void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),jS=z.forwardRef(function(e,t){var n=e.layerProps,r=e.doNotLayer,o=tm(e,["layerProps","doNotLayer"]),i=z.createElement(xS,em({},o,{doNotLayer:r,ref:t}));return r?i:z.createElement(US,em({},n),i)});jS.displayName="Callout";var KS,qS,GS,$S,QS={disabled:!1,disableFirstFocus:!1,forceFocusInsideTrap:!0,isClickableOutsideFocusTrap:!1,"data-tabster":'{"uncontrolled": {"completely": true}}'},ZS=z.forwardRef(function(e,t){var n,r,o,i=z.useRef(null),a=z.useRef(null),l=z.useRef(null),s=XC(i,t),u=Xv(),c=lS(),d=!!Qv(),f=null===(n=tS(!1))||void 0===n||n,p=ab(QS,e),h=QC({hasFocus:!1,focusStackId:JC("ftz-",p.id)}),m=p.children,g=p.componentRef,v=p.disabled,y=p.disableFirstFocus,b=p.forceFocusInsideTrap,_=p.focusPreviouslyFocusedInnerElement,C=p.firstFocusableSelector,S=p.firstFocusableTarget,w=p.disableRestoreFocus,k=void 0===w?p.ignoreExternalFocusing:w,x=p.isClickableOutsideFocusTrap,E=p.enableAriaHiddenSiblings,F={"aria-hidden":!0,style:{pointerEvents:"none",position:"fixed"},tabIndex:v?-1:0,"data-is-visible":!0,"data-is-focus-trap-zone-bumper":!0},I=z.useCallback(function(e){e!==a.current&&e!==l.current&&kg(e)},[]),T=YC(function(){if(i.current){var e=h.previouslyFocusedElementInTrapZone;if(_&&e&&ag(i.current,e))I(e);else{var t=null;if("string"==typeof S)t=i.current.querySelector(S);else if(S)t=S(i.current);else if(C){var n="string"==typeof C?C:C();t=i.current.querySelector("."+n)}t||(t=gg(i.current,i.current.firstChild,!1,!1,!1,!0,void 0,void 0,void 0,d)),t&&I(t)}}}),P=function(e){if(!v&&i.current){var t,n,r,o=e===h.hasFocus?(t=i.current,n=l.current,void 0===(r=!1)&&(r=!0),mg(t,n,r,!1,!0,!0,!1,!0,d)):function(e,t,n,r,o){return void 0===r&&(r=!0),gg(e,t,r,!1,!1,n,!1,!0,void 0,o)}(i.current,a.current,!0,!1,d);o&&(o===a.current||o===l.current?T():o.focus())}},R=YC(function(e){if(ZS.focusStack=ZS.focusStack.filter(function(e){return h.focusStackId!==e}),u){var t=u.activeElement;k||"function"!=typeof(null==e?void 0:e.focus)||!ag(i.current,t)&&t!==u.body&&!t.shadowRoot||I(e)}}),D=YC(function(e){if(!v&&h.focusStackId===ZS.focusStack.slice(-1)[0]){var t=ug(e);t&&!ag(i.current,t)&&(u&&sg(u)===u.body?setTimeout(function(){u&&sg(u)===u.body&&(T(),h.hasFocus=!0)},0):(T(),h.hasFocus=!0),e.preventDefault(),e.stopPropagation())}});return z.useEffect(function(){var e=[];return b&&e.push(xg(c,"focus",D,!0)),x||e.push(xg(c,"click",D,!0)),function(){e.forEach(function(e){return e()})}},[b,x,c]),z.useEffect(function(){if(!v&&(f||b)&&i.current){ZS.focusStack.push(h.focusStackId);var e=p.elementToFocusOnDismiss||sg(u);return y||ag(i.current,e)||T(),function(){return R(e)}}},[b,v]),z.useEffect(function(){if(!v&&E)return Xy(i.current)},[v,E,i]),r=function(){delete h.previouslyFocusedElementInTrapZone},(o=z.useRef(r)).current=r,z.useEffect(function(){return function(){var e;null===(e=o.current)||void 0===e||e.call(o)}},[]),function(e,t,n){z.useImperativeHandle(e,function(){return{get previouslyFocusedElement(){return t},focus:n}},[n,t])}(g,h.previouslyFocusedElementInTrapZone,T),z.createElement("div",em({"aria-labelledby":p.ariaLabelledBy},Sy(p,Cy),{ref:s,onFocusCapture:function(e){var t;null===(t=p.onFocusCapture)||void 0===t||t.call(p,e),e.target===a.current?P(!0):e.target===l.current&&P(!1),h.hasFocus=!0,e.target!==e.currentTarget&&e.target!==a.current&&e.target!==l.current&&(h.previouslyFocusedElementInTrapZone=ug(e.nativeEvent))},onBlurCapture:function(e){var t;null===(t=p.onBlurCapture)||void 0===t||t.call(p,e);var n=e.relatedTarget;null===e.relatedTarget&&(n=sg(u)),ag(i.current,n)||(h.hasFocus=!1)}}),z.createElement("div",em({},F,{ref:a})),m,z.createElement("div",em({},F,{ref:l})))});ZS.displayName="FocusTrapZone",ZS.focusStack=[],function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(KS||(KS={})),function(e){e[e.center=0]="center",e[e.contain=1]="contain",e[e.cover=2]="cover",e[e.none=3]="none",e[e.centerCover=4]="centerCover",e[e.centerContain=5]="centerContain"}(qS||(qS={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(GS||(GS={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}($S||($S={}));var YS=vv(),JS=/\.svg$/i;var XS=z.forwardRef(function(e,t){var n=z.useRef(void 0),r=z.useRef(void 0),o=function(e,t){var n=e.onLoadingStateChange,r=e.onLoad,o=e.onError,i=e.src,a=z.useState($S.notLoaded),l=a[0],s=a[1];sb(function(){s($S.notLoaded)},[i]),z.useEffect(function(){l===$S.notLoaded&&t.current&&(i&&t.current.naturalWidth>0&&t.current.naturalHeight>0||t.current.complete&&JS.test(i))&&s($S.loaded)}),z.useEffect(function(){null==n||n(l)},[l]);var u=z.useCallback(function(e){null==r||r(e),i&&s($S.loaded)},[i,r]),c=z.useCallback(function(e){null==o||o(e),s($S.error)},[o]);return[l,u,c]}(e,r),i=o[0],a=o[1],l=o[2],s=Sy(e,_y,["width","height"]),u=e.src,c=e.alt,d=e.width,f=e.height,p=e.shouldFadeIn,h=void 0===p||p,m=e.shouldStartVisible,g=e.className,v=e.imageFit,y=e.role,b=e.maximizeFrame,_=e.styles,C=e.theme,S=e.loading,w=function(e,t,n,r){var o=z.useRef(t),i=z.useRef(void 0);(void 0===i||o.current===$S.notLoaded&&t===$S.loaded)&&(i.current=function(e,t,n,r){var o=e.imageFit,i=e.width,a=e.height;if(void 0!==e.coverStyle)return e.coverStyle;if(t===$S.loaded&&(o===qS.cover||o===qS.contain||o===qS.centerContain||o===qS.centerCover)&&n.current&&r.current){var l=void 0;if(l="number"==typeof i&&"number"==typeof a&&o!==qS.centerContain&&o!==qS.centerCover?i/a:r.current.clientWidth/r.current.clientHeight,n.current.naturalWidth/n.current.naturalHeight>l)return GS.landscape}return GS.portrait}(e,t,n,r));return o.current=t,i.current}(e,i,r,n),k=YS(_,{theme:C,className:g,width:d,height:f,maximizeFrame:b,shouldFadeIn:h,shouldStartVisible:m,isLoaded:i===$S.loaded||i===$S.notLoaded&&e.shouldStartVisible,isLandscape:w===GS.landscape,isCenter:v===qS.center,isCenterContain:v===qS.centerContain,isCenterCover:v===qS.centerCover,isContain:v===qS.contain,isCover:v===qS.cover,isNone:v===qS.none,isError:i===$S.error,isNotImageFit:void 0===v});return z.createElement("div",{className:k.root,style:{width:d,height:f},ref:n},z.createElement("img",em({},s,{onLoad:a,onError:l,key:"fabricImage"+e.src||"",className:k.image,ref:XC(r,t),src:u,alt:c,role:y,loading:S})))});XS.displayName="ImageBase";var ew={root:"ms-Image",rootMaximizeFrame:"ms-Image--maximizeFrame",image:"ms-Image-image",imageCenter:"ms-Image-image--center",imageContain:"ms-Image-image--contain",imageCover:"ms-Image-image--cover",imageCenterContain:"ms-Image-image--centerContain",imageCenterCover:"ms-Image-image--centerCover",imageNone:"ms-Image-image--none",imageLandscape:"ms-Image-image--landscape",imagePortrait:"ms-Image-image--portrait"},tw=ob(XS,function(e){var t=e.className,n=e.width,r=e.height,o=e.maximizeFrame,i=e.isLoaded,a=e.shouldFadeIn,l=e.shouldStartVisible,s=e.isLandscape,u=e.isCenter,c=e.isContain,d=e.isCover,f=e.isCenterContain,p=e.isCenterCover,h=e.isNone,m=e.isError,g=e.isNotImageFit,v=e.theme,y=H_(ew,v),b={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},_=ng(),C=void 0!==_&&void 0===_.navigator.msMaxTouchPoints,S=c&&s||d&&!s?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[y.root,v.fonts.medium,{overflow:"hidden"},o&&[y.rootMaximizeFrame,{height:"100%",width:"100%"}],i&&a&&!l&&tC.fadeIn400,(u||c||d||f||p)&&{position:"relative"},t],image:[y.image,{display:"block",opacity:0},i&&["is-loaded",{opacity:1}],u&&[y.imageCenter,b],c&&[y.imageContain,C&&{width:"100%",height:"100%",objectFit:"contain"},!C&&S,!C&&b],d&&[y.imageCover,C&&{width:"100%",height:"100%",objectFit:"cover"},!C&&S,!C&&b],f&&[y.imageCenterContain,s&&{maxWidth:"100%"},!s&&{maxHeight:"100%"},b],p&&[y.imageCenterCover,s&&{maxHeight:"100%"},!s&&{maxWidth:"100%"},b],h&&[y.imageNone,{width:"auto",height:"auto"}],g&&[!!n&&!r&&{height:"auto",width:"100%"},!n&&!!r&&{height:"100%",width:"auto"},!!n&&!!r&&{height:"100%",width:"100%"}],s&&y.imageLandscape,!s&&y.imagePortrait,!i&&"is-notLoaded",a&&"is-fadeIn",m&&"is-error"]}},void 0,{scope:"Image"},!0);tw.displayName="Image";var nw=Qm({root:{display:"inline-block",textDecoration:"inherit"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),rw="ms-Icon",ow=Ev(function(e){var t=function(e){var t=void 0,n=ub.__options;if(e=e?db(e):"",e=ub.__remapped[e]||e)if(t=ub[e]){var r=t.subset;r&&r.fontFace&&(r.isRegistered||(Jm(r.fontFace),r.isRegistered=!0),r.className||(r.className=Gm(r.style,{fontFamily:r.fontFace.fontFamily,fontWeight:r.fontFace.fontWeight||"normal",fontStyle:r.fontFace.fontStyle||"normal"})))}else!n.disableWarnings&&n.warnOnMissingIcons&&Lg('The icon "'.concat(e,'" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.'));return t}(e)||{subset:{},code:void 0},n=t.code,r=t.subset;return n?{children:n,iconClassName:r.className,fontFamily:r.fontFace&&r.fontFace.fontFamily,mergeImageProps:r.mergeImageProps}:null},void 0,!0),iw=function(e){var t=e.iconName,n=e.className,r=e.style,o=void 0===r?{}:r,i=ow(t)||{},a=i.iconClassName,l=i.children,s=i.fontFamily,u=i.mergeImageProps,c=Sy(e,py),d=e["aria-label"]||e.title,f=e["aria-label"]||e["aria-labelledby"]||e.title?{role:u?void 0:"img"}:{"aria-hidden":!0},p=l;return u&&"object"==typeof l&&"object"==typeof l.props&&d&&(p=z.cloneElement(l,{alt:d})),z.createElement("i",em({"data-icon-name":t},f,c,u?{title:void 0,"aria-label":void 0}:{},{className:Dv(rw,nw.root,a,!t&&nw.placeholder,n),style:em({fontFamily:s},o)}),p)};Ev(function(e,t,n){return iw({iconName:e,className:t,"aria-label":n})});var aw=vv({cacheSize:100}),lw=function(e){function t(t){var n=e.call(this,t)||this;return n._onImageLoadingStateChange=function(e){n.props.imageProps&&n.props.imageProps.onLoadingStateChange&&n.props.imageProps.onLoadingStateChange(e),e===$S.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=e.styles,o=e.iconName,i=e.imageErrorAs,a=e.theme,l="string"==typeof o&&0===o.length,s=!!this.props.imageProps||this.props.iconType===KS.image||this.props.iconType===KS.Image,u=ow(o)||{},c=u.iconClassName,d=u.children,f=u.mergeImageProps,p=aw(r,{theme:a,className:n,iconClassName:c,isImage:s,isPlaceholder:l}),h=s?"span":"i",m=Sy(this.props,py,["aria-label"]),g=this.state.imageLoadError,v=em(em({},this.props.imageProps),{onLoadingStateChange:this._onImageLoadingStateChange}),y=g&&i||tw,b=this.props["aria-label"]||this.props.ariaLabel,_=v.alt||b||this.props.title,C=!!(_||this.props["aria-labelledby"]||v["aria-label"]||v["aria-labelledby"])?{role:s||f?void 0:"img","aria-label":s||f?void 0:_}:{"aria-hidden":!0},S=d;return f&&d&&"object"==typeof d&&_&&(S=z.cloneElement(d,{alt:_})),z.createElement(h,em({"data-icon-name":o},C,m,f?{title:void 0,"aria-label":void 0}:{},{className:p.root}),s?z.createElement(y,em({},v)):t||S)},t}(z.Component),sw=ob(lw,function(e){var t=e.className,n=e.iconClassName,r=e.isPlaceholder,o=e.isImage,i=e.styles;return{root:[r&&nw.placeholder,nw.root,o&&nw.image,n,t,i&&i.root,i&&i.imageContainer]}},void 0,{scope:"Icon"},!0);sw.displayName="Icon";var uw=function(e){var t=e.className,n=e.imageProps,r=Sy(e,py,["aria-label","aria-labelledby","title","aria-describedby"]),o=n.alt||e["aria-label"],i=o||e["aria-labelledby"]||e.title||n["aria-label"]||n["aria-labelledby"]||n.title,a={"aria-labelledby":e["aria-labelledby"],"aria-describedby":e["aria-describedby"],title:e.title},l=i?{}:{"aria-hidden":!0};return z.createElement("div",em({},l,r,{className:Dv(rw,nw.root,nw.image,t)}),z.createElement(tw,em({},a,n,{alt:i?o:""})))},cw="backward",dw=function(e){function t(t){var n=e.call(this,t)||this;return n._inputElement=z.createRef(),n._autoFillEnabled=!0,n._onCompositionStart=function(e){n.setState({isComposing:!0}),n._autoFillEnabled=!1},n._onCompositionUpdate=function(){ib()&&n._updateValue(n._getCurrentInputValue(),!0)},n._onCompositionEnd=function(e){var t=n._getCurrentInputValue();n._tryEnableAutofill(t,n.value,!1,!0),n.setState({isComposing:!1}),n._async.setTimeout(function(){n._updateValue(n._getCurrentInputValue(),!1)},0)},n._onClick=function(){n.value&&""!==n.value&&n._autoFillEnabled&&(n._autoFillEnabled=!1)},n._onKeyDown=function(e){if(n.props.onKeyDown&&n.props.onKeyDown(e),!e.nativeEvent.isComposing)switch(e.which){case qg:n._autoFillEnabled=!1;break;case nv:case ov:n._autoFillEnabled&&(n.setState(function(e){return{inputValue:n.props.suggestedDisplayValue||e.inputValue}}),n._autoFillEnabled=!1);break;default:n._autoFillEnabled||-1!==n.props.enableAutofillOnKeyPress.indexOf(e.which)&&(n._autoFillEnabled=!0)}},n._onInputChanged=function(e){var t=n._getCurrentInputValue(e);if(n.state.isComposing||n._tryEnableAutofill(t,n.value,e.nativeEvent.isComposing),!ib()||!n.state.isComposing){var r=e.nativeEvent.isComposing,o=void 0===r?n.state.isComposing:r;n._updateValue(t,o)}},n._onChanged=function(){},n._updateValue=function(e,t){if(e||e!==n.value){var r=n.props,o=r.onInputChange,i=r.onInputValueChange;o&&(e=(null==o?void 0:o(e,t))||""),n.setState({inputValue:e},function(){return null==i?void 0:i(e,t)})}},wy(n),n._async=new rg(n),n.state={inputValue:t.defaultVisibleValue||"",isComposing:!1},n}return Xh(t,e),t.getDerivedStateFromProps=function(e,t){if(e.updateValueInWillReceiveProps){var n=e.updateValueInWillReceiveProps();if(null!==n&&n!==t.inputValue&&!t.isComposing)return em(em({},t),{inputValue:n})}return null},Object.defineProperty(t.prototype,"cursorLocation",{get:function(){if(this._inputElement.current){var e=this._inputElement.current;return"forward"!==e.selectionDirection?e.selectionEnd:e.selectionStart}return-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValueSelected",{get:function(){return Boolean(this.inputElement&&this.inputElement.selectionStart!==this.inputElement.selectionEnd)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._getControlledValue()||this.state.inputValue||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._inputElement.current?this._inputElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._inputElement.current?this._inputElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputElement",{get:function(){return this._inputElement.current},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t,n){var r,o=this.props,i=o.suggestedDisplayValue,a=o.shouldSelectFullInputValueInComponentDidUpdate,l=0;if(!o.preventValueSelection){var s=(null===(r=this.context)||void 0===r?void 0:r.window.document)||fg(this._inputElement.current);if(this._inputElement.current&&this._inputElement.current===(null==s?void 0:s.activeElement)&&this._autoFillEnabled&&this.value&&i&&fw(i,this.value)){var u=!1;if(a&&(u=a()),u)this._inputElement.current.setSelectionRange(0,i.length,cw);else{for(;l<this.value.length&&this.value[l].toLocaleLowerCase()===i[l].toLocaleLowerCase();)l++;l>0&&this._inputElement.current.setSelectionRange(l,i.length,cw)}}else this._inputElement.current&&(null===n||this._autoFillEnabled||this.state.isComposing||this._inputElement.current.setSelectionRange(n.start,n.end,n.dir))}},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=Sy(this.props,vy),t=em(em({},this.props.style),{fontFamily:"inherit"});return z.createElement("input",em({autoCapitalize:"off",autoComplete:"off","aria-autocomplete":"both"},e,{style:t,ref:this._inputElement,value:this._getDisplayValue(),onCompositionStart:this._onCompositionStart,onCompositionUpdate:this._onCompositionUpdate,onCompositionEnd:this._onCompositionEnd,onChange:this._onChanged,onInput:this._onInputChanged,onKeyDown:this._onKeyDown,onClick:this.props.onClick?this.props.onClick:this._onClick,"data-lpignore":!0}))},t.prototype.focus=function(){this._inputElement.current&&this._inputElement.current.focus()},t.prototype.clear=function(){this._autoFillEnabled=!0,this._updateValue("",!1),this._inputElement.current&&this._inputElement.current.setSelectionRange(0,0)},t.prototype.getSnapshotBeforeUpdate=function(){var e,t,n=this._inputElement.current;return n&&n.selectionStart!==this.value.length?{start:null!==(e=n.selectionStart)&&void 0!==e?e:n.value.length,end:null!==(t=n.selectionEnd)&&void 0!==t?t:n.value.length,dir:n.selectionDirection||"backward"}:null},t.prototype._getCurrentInputValue=function(e){return e&&e.target&&e.target.value?e.target.value:this.inputElement&&this.inputElement.value?this.inputElement.value:""},t.prototype._tryEnableAutofill=function(e,t,n,r){!n&&e&&this._inputElement.current&&this._inputElement.current.selectionStart===e.length&&!this._autoFillEnabled&&(e.length>t.length||r)&&(this._autoFillEnabled=!0)},t.prototype._getDisplayValue=function(){return this._autoFillEnabled?function(e,t){var n=e;t&&e&&fw(t,n)&&(n=t);return n}(this.value,this.props.suggestedDisplayValue):this.value},t.prototype._getControlledValue=function(){var e=this.props.value;return void 0===e||"string"==typeof e?e:(console.warn("props.value of Autofill should be a string, but it is ".concat(e," with type of ").concat(typeof e)),e.toString())},t.defaultProps={enableAutofillOnKeyPress:[iv,rv]},t.contextType=Yv,t}(z.Component);function fw(e,t){return!(!e||!t)&&0===e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())}var pw,hw=1,mw=2;!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(pw||(pw={}));var gw,vw="data-is-focusable",yw="data-focuszone-id",bw="tabindex",_w="data-no-vertical-wrap",Cw="data-no-horizontal-wrap",Sw=999999999,ww=-999999999;function kw(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 xw,Ew={},Fw=new Set,Iw=["text","number","password","email","tel","url","search","textarea"],Tw=!1,Pw=function(e){function t(n){var r,o,i,a,l=e.call(this,n)||this;l._root=z.createRef(),l._mergedRef=lb(),l._onFocus=function(e){if(!l._portalContainsElement(e.target)){var t,n=l.props,r=n.onActiveElementChanged,o=n.doNotAllowFocusEventToPropagate,i=n.stopFocusPropagation,a=n.onFocusNotification,s=n.onFocus,u=n.shouldFocusInnerElementWhenReceivedFocus,c=n.defaultTabbableElement,d=l._isImmediateDescendantOfZone(e.target);if(d)t=e.target;else for(var f=e.target;f&&f!==l._root.current;){if(bg(f,void 0,l._inShadowRoot)&&l._isImmediateDescendantOfZone(f)){t=f;break}f=ig(f,Tw)}if(u&&e.target===l._root.current){var p=c&&"function"==typeof c&&l._root.current&&c(l._root.current);p&&bg(p,void 0,l._inShadowRoot)?(t=p,p.focus()):(l.focus(!0),l._activeElement&&(t=null))}var h=!l._activeElement;t&&t!==l._activeElement&&((d||h)&&l._setFocusAlignment(t,!0,!0),l._activeElement=t,h&&l._updateTabIndexes()),r&&r(l._activeElement,e),(i||o)&&e.stopPropagation(),s?s(e):a&&a()}},l._onBlur=function(){l._setParkedFocus(!1)},l._onMouseDown=function(e){if(!l._portalContainsElement(e.target)&&!l.props.disabled){for(var t=e.target,n=[];t&&t!==l._root.current;)n.push(t),t=ig(t,Tw);for(;n.length&&((t=n.pop())&&bg(t,void 0,l._inShadowRoot)&&l._setActiveElement(t,!0),!_g(t)););}},l._onKeyDown=function(e,t){if(!l._portalContainsElement(e.target)){var n=l.props,r=n.direction,o=n.disabled,i=n.isInnerZoneKeystroke,a=n.pagingSupportDisabled,s=n.shouldEnterInnerZone;if(!(o||(l.props.onKeyDown&&l.props.onKeyDown(e),e.isDefaultPrevented()||l._getDocument().activeElement===l._root.current&&l._isInnerZone))){if((s&&s(e)||i&&i(e))&&l._isImmediateDescendantOfZone(e.target)){var u=l._getFirstInnerZone();if(u){if(!u.focus(!0))return}else{if(!Cg(e.target))return;if(!l.focusElement(gg(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case Yg:if(l._shouldRaiseClicksOnSpace&&l._tryInvokeClickForFocusable(e.target,e))break;return;case nv:if(r!==pw.vertical&&(l._preventDefaultWhenHandled(e),l._moveFocusLeft(t)))break;return;case ov:if(r!==pw.vertical&&(l._preventDefaultWhenHandled(e),l._moveFocusRight(t)))break;return;case rv:if(r!==pw.horizontal&&(l._preventDefaultWhenHandled(e),l._moveFocusUp()))break;return;case iv:if(r!==pw.horizontal&&(l._preventDefaultWhenHandled(e),l._moveFocusDown()))break;return;case Xg:if(!a&&l._moveFocusPaging(!0))break;return;case Jg:if(!a&&l._moveFocusPaging(!1))break;return;case Gg:if(l.props.allowTabKey||l.props.handleTabKey===hw||l.props.handleTabKey===mw&&l._isElementInput(e.target)){var c=!1;if(l._processingTabKey=!0,r!==pw.vertical&&l._shouldWrapFocus(l._activeElement,Cw))c=(pv(t)?!e.shiftKey:e.shiftKey)?l._moveFocusLeft(t):l._moveFocusRight(t);else c=e.shiftKey?l._moveFocusUp():l._moveFocusDown();if(l._processingTabKey=!1,c)break;l.props.shouldResetActiveElementWhenTabFromZone&&(l._activeElement=null)}return;case tv:if(l._isContentEditableElement(e.target)||l._isElementInput(e.target)&&!l._shouldInputLoseFocus(e.target,!1))return!1;var d=l._root.current&&l._root.current.firstChild;if(l._root.current&&d&&l.focusElement(gg(l._root.current,d,!0)))break;return;case ev:if(l._isContentEditableElement(e.target)||l._isElementInput(e.target)&&!l._shouldInputLoseFocus(e.target,!0))return!1;var f=l._root.current&&l._root.current.lastChild;if(l._root.current&&l.focusElement(mg(l._root.current,f,!0,!0,!0)))break;return;case $g:if(l._shouldRaiseClicksOnEnter&&l._tryInvokeClickForFocusable(e.target,e))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},l._getHorizontalDistanceFromCenter=function(e,t,n){var r=l._focusAlignment.left||l._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):l._shouldWrapFocus(l._activeElement,_w)?Sw:ww},wy(l),l._id=sy("FocusZone"),l._focusAlignment={left:0,top:0},l._processingTabKey=!1;var s=null===(o=null!==(r=n.shouldRaiseClicks)&&void 0!==r?r:t.defaultProps.shouldRaiseClicks)||void 0===o||o;return l._shouldRaiseClicksOnEnter=null!==(i=n.shouldRaiseClicksOnEnter)&&void 0!==i?i:s,l._shouldRaiseClicksOnSpace=null!==(a=n.shouldRaiseClicksOnSpace)&&void 0!==a?a:s,l}return Xh(t,e),t.getOuterZones=function(){return Fw.size},t._onKeyDownCapture=function(e){e.which===Gg&&Fw.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),Ew[this._id]=this,n){for(var r=ig(n,Tw);r&&r!==this._getDocument().body&&1===r.nodeType;){if(_g(r)){this._isInnerZone=!0;break}r=ig(r,Tw)}this._isInnerZone||(Fw.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&&!ag(this._root.current,this._activeElement,Tw)||this._defaultFocusElement&&!ag(this._root.current,this._defaultFocusElement,Tw))&&(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 bg(n)&&vg(n)?n:gg(e,n,!0)||mg(e,n)}(t,this._lastIndexPath);r?(this._setActiveElement(r,!0),r.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete Ew[this._id],this._isInnerZone||(Fw.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,a=t.ariaLabelledBy,l=t.className,s=Sy(this.props,py),u=n||r||"div";this._evaluateFocusBeforeRender();var c,d=(void 0===c&&(c=!1),!0===c&&(Q_=T_({},c)),Q_);return z.createElement(u,em({"aria-labelledby":a,"aria-describedby":i},s,o,{className:Dv((gw||(gw=Gm({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),gw),l),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(t){return e._onKeyDown(t,d)},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(vw)&&this._isInnerZone){var n=this._getOwnerZone(this._root.current);if(n!==this._root.current){var r=Ew[n.getAttribute(yw)];return!!r&&r.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&ag(this._root.current,this._activeElement)&&bg(this._activeElement,void 0,this._inShadowRoot)&&(!t||yg(this._activeElement)))return this._activeElement.focus(),!0;var o=this._root.current.firstChild;return this.focusElement(gg(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(mg(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=ag(e,n,!1);this._lastIndexPath=r?function(e,t){for(var n=[];t&&e&&t!==e;){var r=ig(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&&(_g(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(vw)&&"true"!==n.getAttribute("data-disable-click-on-enter"))return kw(n,t),!0;n=ig(n,Tw)}while(n!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(_g(e))return Ew[e.getAttribute(yw)];for(var t=e.firstElementChild;t;){if(_g(t))return Ew[t.getAttribute(yw)];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,s=this.props.direction===pw.bidirectional;if(!o||!this._root.current)return!1;if(this._isElementInput(o)&&!this._shouldInputLoseFocus(o,e))return!1;var u=s?o.getBoundingClientRect():null;do{if(o=e?gg(this._root.current,o):mg(this._root.current,o),!s){a=o;break}if(o){var c=t(u,o.getBoundingClientRect());if(-1===c&&-1===i){a=o;break}if(c>-1&&(-1===i||c<i)&&(i=c,a=o),i>=0&&c<0)break}}while(o);if(a&&a!==this._activeElement)l=!0,this.focusElement(a);else if(this.props.isCircularNavigation&&r)return e?this.focusElement(gg(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(mg(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),l=Math.floor(r.bottom);return a<l?e._shouldWrapFocus(e._activeElement,_w)?Sw:ww:((-1===t&&a>=l||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),l=Math.floor(o.top),s=Math.floor(r.top);return a>s?e._shouldWrapFocus(e._activeElement,_w)?Sw:ww:((-1===t&&a<=s||l===t)&&(t=l,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,Cw);return!!this._moveFocus(pv(e),function(r,o){var i=-1;return(pv(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!==pw.vertical?i=r.right-o.right:n||(i=ww),i},void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,Cw);return!!this._moveFocus(!pv(e),function(r,o){var i=-1;return(pv(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!==pw.vertical?i=o.left-r.left:n||(i=ww),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=Ag(n);if(!r)return!1;var o=-1,i=void 0,a=-1,l=-1,s=r.clientHeight,u=n.getBoundingClientRect();do{if(n=e?gg(this._root.current,n):mg(this._root.current,n)){var c=n.getBoundingClientRect(),d=Math.floor(c.top),f=Math.floor(u.bottom),p=Math.floor(c.bottom),h=Math.floor(u.top),m=this._getHorizontalDistanceFromCenter(e,u,c);if(e&&d>f+s||!e&&p<h-s)break;m>-1&&(e&&d>a?(a=d,o=m,i=n):!e&&p<l?(l=p,o=m,i=n):(-1===o||m<=o)&&(o=m,i=n))}}while(n);var g=!1;if(i&&i!==this._activeElement)g=!0,this.focusElement(i),this._setFocusAlignment(i,!1,!0);else if(this.props.isCircularNavigation&&t)return e?this.focusElement(gg(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(mg(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return g},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===pw.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=ig(e,Tw);t&&t!==this._root.current&&t!==this._getDocument().body;){if(_g(t))return t;t=ig(t,Tw)}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&&!ag(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!bg(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];_g(r)?"true"===r.getAttribute(vw)&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(bw)&&r.setAttribute(bw,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(bw)&&r.setAttribute(bw,"0"))):(r.getAttribute&&"false"===r.getAttribute(vw)&&r.setAttribute(bw,"-1"),bg(r,void 0,this._inShadowRoot)?this.props.disabled?r.setAttribute(bw,"-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(bw)&&r.setAttribute(bw,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(bw)&&r.setAttribute(bw,"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&&Iw.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||Sg(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&dg(e,this._root.current)},t.prototype._getDocument=function(){return fg(this._root.current)},t.defaultProps={isCircularNavigation:!1,direction:pw.bidirectional,shouldRaiseClicks:!0,"data-tabster":'{"uncontrolled": {}}'},t.contextType=$v,t}(z.Component);function Rw(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function Dw(e){return!(!e.subMenuProps&&!e.items)}function Mw(e){return!(!e.isDisabled&&!e.disabled)}function Ow(e){return null!==Rw(e)?"menuitemcheckbox":"menuitem"}!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(xw||(xw={}));var Aw,Lw=function(e){var t=e.item,n=e.classNames,r=t.iconProps;return z.createElement(sw,em({},r,{className:n.icon}))},Nw=function(e){var t=e.item;return e.hasIcons?t.onRenderIcon?t.onRenderIcon(e,Lw):Lw(e):null},Bw=function(e){var t=e.onCheckmarkClick,n=e.item,r=e.classNames,o=Rw(n);if(t){return z.createElement(sw,{iconName:!1!==n.canCheck&&o?"CheckMark":"",className:r.checkmarkIcon,onClick:function(e){return t(n,e)}})}return null},zw=function(e){var t=e.item,n=e.classNames;return t.text||t.name?z.createElement("span",{className:n.label},t.text||t.name):null},Hw=function(e){var t=e.item,n=e.classNames;return t.secondaryText?z.createElement("span",{className:n.secondaryText},t.secondaryText):null},Vw=function(e){var t=e.item,n=e.classNames,r=e.theme;return Dw(t)?z.createElement(sw,em({iconName:pv(r)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:n.subMenuIcon})):null},Ww=function(e){function t(t){var n=e.call(this,t)||this;return n.openSubMenu=function(){var e=n.props,t=e.item,r=e.openSubMenu,o=e.getSubmenuTarget;if(o){var i=o();Dw(t)&&r&&i&&r(t,i)}},n.dismissSubMenu=function(){var e=n.props,t=e.item,r=e.dismissSubMenu;Dw(t)&&r&&r()},n.dismissMenu=function(e){var t=n.props.dismissMenu;t&&t(void 0,e)},wy(n),n}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.item,n=e.classNames,r=t.onRenderContent||this._renderLayout;return z.createElement("div",{className:t.split?n.linkContentMenu:n.linkContent},r(this.props,{renderCheckMarkIcon:Bw,renderItemIcon:Nw,renderItemName:zw,renderSecondaryText:Hw,renderSubMenuIcon:Vw}))},t.prototype._renderLayout=function(e,t){return z.createElement(z.Fragment,null,t.renderCheckMarkIcon(e),t.renderItemIcon(e),t.renderItemName(e),t.renderSecondaryText(e),t.renderSubMenuIcon(e))},t}(z.Component),Uw=Ev(function(e){return Qm({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})}),jw=36,Kw=O_(0,639),qw=Ev(function(e){var t,n,r,o,i,a=e.semanticColors,l=e.fonts,s=e.palette,u=a.menuItemBackgroundHovered,c=a.menuItemTextHovered,d=a.menuItemBackgroundPressed,f=a.bodyDivider;return $m({item:[l.medium,{color:a.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:f,position:"relative"},root:[A_(e),l.medium,{color:a.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:jw,lineHeight:jw,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:a.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[R_]={color:"GrayText",opacity:1},t)},rootHovered:{backgroundColor:u,color:c,selectors:{".ms-ContextualMenu-icon":{color:s.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:s.neutralPrimary}}},rootFocused:{backgroundColor:s.white},rootChecked:{selectors:{".ms-ContextualMenu-checkmarkIcon":{color:s.neutralPrimary}}},rootPressed:{backgroundColor:d,selectors:{".ms-ContextualMenu-icon":{color:s.themeDark},".ms-ContextualMenu-submenuIcon":{color:s.neutralPrimary}}},rootExpanded:{backgroundColor:d,color:a.bodyTextChecked,selectors:(n={".ms-ContextualMenu-submenuIcon":(r={},r[R_]={color:"inherit"},r)},n[R_]=em({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)},linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:jw,fontSize:xb.medium,width:xb.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(o={},o[Kw]={fontSize:xb.large,width:xb.large},o)},iconColor:{color:a.menuIcon},iconDisabled:{color:a.disabledBodyText},checkmarkIcon:{color:a.bodySubtext},subMenuIcon:{height:jw,lineHeight:jw,color:s.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:xb.small,selectors:(i={":hover":{color:s.neutralPrimary},":active":{color:s.neutralPrimary}},i[Kw]={fontSize:xb.medium},i)},splitButtonFlexContainer:[A_(e),{display:"flex",height:jw,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]})}),Gw="28px",$w=O_(0,639),Qw=Ev(function(e){var t;return Qm(Uw(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[$w]={right:32},t)},divider:{height:16,width:1}})}),Zw={item:"ms-ContextualMenu-item",divider:"ms-ContextualMenu-divider",root:"ms-ContextualMenu-link",isChecked:"is-checked",isExpanded:"is-expanded",isDisabled:"is-disabled",linkContent:"ms-ContextualMenu-linkContent",linkContentMenu:"ms-ContextualMenu-linkContent",icon:"ms-ContextualMenu-icon",iconColor:"ms-ContextualMenu-iconColor",checkmarkIcon:"ms-ContextualMenu-checkmarkIcon",subMenuIcon:"ms-ContextualMenu-submenuIcon",label:"ms-ContextualMenu-itemText",secondaryText:"ms-ContextualMenu-secondaryText",splitMenu:"ms-ContextualMenu-splitMenu",screenReaderText:"ms-ContextualMenu-screenReaderText"},Yw=Ev(function(e,t,n,r,o,i,a,l,s,u,c,d){var f,p,h,m,g=qw(e),v=H_(Zw,e);return Qm({item:[v.item,g.item,a],divider:[v.divider,g.divider,l],root:[v.root,g.root,r&&[v.isChecked,g.rootChecked],o&&g.anchorLink,n&&[v.isExpanded,g.rootExpanded],t&&[v.isDisabled,g.rootDisabled],!t&&!n&&[{selectors:(f={":hover":g.rootHovered,":active":g.rootPressed},f[".".concat(Py," &:focus, .").concat(Py," &:focus:hover, :host(.").concat(Py,") &:focus, :host(.").concat(Py,") &:focus:hover")]=g.rootFocused,f[".".concat(Py," &:hover, :host(.").concat(Py,") &:hover")]={background:"inherit;"},f)}],d],splitPrimary:[g.root,{width:"calc(100% - ".concat(Gw,")")},r&&["is-checked",g.rootChecked],(t||c)&&["is-disabled",g.rootDisabled],!(t||c)&&!r&&[{selectors:(p={":hover":g.rootHovered},p[":hover ~ .".concat(v.splitMenu)]=g.rootHovered,p[":active"]=g.rootPressed,p[".".concat(Py," &:focus, .").concat(Py," &:focus:hover, :host(.").concat(Py,") &:focus, :host(.").concat(Py,") &:focus:hover")]=g.rootFocused,p[".".concat(Py," &:hover, :host(.").concat(Py,") &:hover")]={background:"inherit;"},p)}]],splitMenu:[v.splitMenu,g.root,{flexBasis:"0",padding:"0 8px",minWidth:Gw},n&&["is-expanded",g.rootExpanded],t&&["is-disabled",g.rootDisabled],!t&&!n&&[{selectors:(h={":hover":g.rootHovered,":active":g.rootPressed},h[".".concat(Py," &:focus, .").concat(Py," &:focus:hover, :host(.").concat(Py,") &:focus, :host(.").concat(Py,") &:focus:hover")]=g.rootFocused,h[".".concat(Py," &:hover, :host(.").concat(Py,") &:hover")]={background:"inherit;"},h)}]],anchorLink:g.anchorLink,linkContent:[v.linkContent,g.linkContent],linkContentMenu:[v.linkContentMenu,g.linkContent,{justifyContent:"center"}],icon:[v.icon,i&&g.iconColor,g.icon,s,t&&[v.isDisabled,g.iconDisabled]],iconColor:g.iconColor,checkmarkIcon:[v.checkmarkIcon,i&&g.checkmarkIcon,g.icon,s],subMenuIcon:[v.subMenuIcon,g.subMenuIcon,u,n&&{color:e.palette.neutralPrimary},t&&[g.iconDisabled]],label:[v.label,g.label],secondaryText:[v.secondaryText,g.secondaryText],splitContainer:[g.splitButtonFlexContainer,!t&&!r&&[{selectors:(m={},m[".".concat(Py," &:focus, .").concat(Py," &:focus:hover, :host(.").concat(Py,") &:focus, :host(.").concat(Py,") &:focus:hover")]=g.rootFocused,m)}]],screenReaderText:[v.screenReaderText,g.screenReaderText,B_,{visibility:"hidden"}]})}),Jw=function(e){var t=e.theme,n=e.disabled,r=e.expanded,o=e.checked,i=e.isAnchorLink,a=e.knownIcon,l=e.itemClassName,s=e.dividerClassName,u=e.iconClassName,c=e.subMenuClassName,d=e.primaryDisabled,f=e.className;return Yw(t,n,r,o,i,a,l,s,u,c,d,f)},Xw=ob(Ww,Jw,void 0,{scope:"ContextualMenuItem"}),ek=function(e){function t(t){var n=e.call(this,t)||this;return n._onItemMouseEnter=function(e){var t=n.props,r=t.item,o=t.onItemMouseEnter;o&&o(r,e,e.currentTarget)},n._onItemClick=function(e){var t=n.props,r=t.item,o=t.onItemClickBase;o&&o(r,e,e.currentTarget)},n._onItemMouseLeave=function(e){var t=n.props,r=t.item,o=t.onItemMouseLeave;o&&o(r,e)},n._onItemKeyDown=function(e){var t=n.props,r=t.item,o=t.onItemKeyDown;o&&o(r,e)},n._onItemMouseMove=function(e){var t=n.props,r=t.item,o=t.onItemMouseMove;o&&o(r,e,e.currentTarget)},n._getSubmenuTarget=function(){},wy(n),n}return Xh(t,e),t.prototype.shouldComponentUpdate=function(e){return!Eg(e,this.props)},t}(z.Component);!function(e){e.KEYTIP_ADDED="keytipAdded",e.KEYTIP_REMOVED="keytipRemoved",e.KEYTIP_UPDATED="keytipUpdated",e.PERSISTED_KEYTIP_ADDED="persistedKeytipAdded",e.PERSISTED_KEYTIP_REMOVED="persistedKeytipRemoved",e.PERSISTED_KEYTIP_EXECUTE="persistedKeytipExecute",e.ENTER_KEYTIP_MODE="enterKeytipMode",e.EXIT_KEYTIP_MODE="exitKeytipMode"}(Aw||(Aw={}));var tk=function(){function e(){this.keytips={},this.persistedKeytips={},this.sequenceMapping={},this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0,this.delayUpdatingKeytipChange=!1}return e.getInstance=function(){return this._instance},e.prototype.init=function(e){this.delayUpdatingKeytipChange=e},e.prototype.register=function(e,t){void 0===t&&(t=!1);var n=e;t||(n=this.addParentOverflow(e),this.sequenceMapping[n.keySequences.toString()]=n);var r=this._getUniqueKtp(n);if(t?this.persistedKeytips[r.uniqueID]=r:this.keytips[r.uniqueID]=r,this.inKeytipMode||!this.delayUpdatingKeytipChange){var o=t?Aw.PERSISTED_KEYTIP_ADDED:Aw.KEYTIP_ADDED;Pg.raise(this,o,{keytip:n,uniqueID:r.uniqueID})}return r.uniqueID},e.prototype.update=function(e,t){var n=this.addParentOverflow(e),r=this._getUniqueKtp(n,t),o=this.keytips[t];o&&(r.keytip.visible=o.keytip.visible,this.keytips[t]=r,delete this.sequenceMapping[o.keytip.keySequences.toString()],this.sequenceMapping[r.keytip.keySequences.toString()]=r.keytip,!this.inKeytipMode&&this.delayUpdatingKeytipChange||Pg.raise(this,Aw.KEYTIP_UPDATED,{keytip:r.keytip,uniqueID:r.uniqueID}))},e.prototype.unregister=function(e,t,n){void 0===n&&(n=!1),n?delete this.persistedKeytips[t]:delete this.keytips[t],!n&&delete this.sequenceMapping[e.keySequences.toString()];var r=n?Aw.PERSISTED_KEYTIP_REMOVED:Aw.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||Pg.raise(this,r,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){Pg.raise(this,Aw.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){Pg.raise(this,Aw.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){var e=this;return Object.keys(this.keytips).map(function(t){return e.keytips[t].keytip})},e.prototype.addParentOverflow=function(e){var t=rm([],e.keySequences,!0);if(t.pop(),0!==t.length){var n=this.sequenceMapping[t.toString()];if(n&&n.overflowSetSequence)return em(em({},e),{overflowSetSequence:n.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){Pg.raise(this,Aw.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=sy()),{keytip:em({},e),uniqueID:t}},e._instance=new e,e}();function nk(e){return e.reduce(function(e,t){return e+"-"+t.split("").join("-")},"ktp")}function rk(e){var t=z.useRef(void 0),n=e.keytipProps?em({disabled:e.disabled},e.keytipProps):void 0,r=QC(tk.getInstance()),o=tS(e);sb(function(){t.current&&n&&((null==o?void 0:o.keytipProps)!==e.keytipProps||(null==o?void 0:o.disabled)!==e.disabled)&&r.update(n,t.current)}),sb(function(){return n&&(t.current=r.register(n)),function(){n&&r.unregister(n,t.current)}},[]);var i={ariaDescribedBy:e.ariaDescribedBy,keytipId:void 0};return n&&(i=function(e,t,n){var r=e.addParentOverflow(t),o=sv(n,function(e){var t=" ktp-layer-id";return e.length?t+" "+nk(e):t}(r.keySequences)),i=rm([],r.keySequences,!0);r.overflowSetSequence&&(i=function(e,t){var n,r,o,i=t.length,a=rm([],t,!0).pop(),l=rm([],e,!0);return n=i-1,r=a,(o=l.slice()).splice(n,0,r),o}(i,r.overflowSetSequence));var a=nk(i);return{ariaDescribedBy:o,keytipId:a}}(r,n,e.ariaDescribedBy)),i}var ok=function(e){var t,n=e.children,r=rk(tm(e,["children"])),o=r.keytipId,i=r.ariaDescribedBy;return n(((t={})["data-ktp-target"]=o,t["data-ktp-execute-target"]=o,t["aria-describedby"]=i,t))},ik=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=z.createRef(),t._getMemoizedMenuButtonKeytipProps=Ev(function(e){return em(em({},e),{hasMenu:!0})}),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var n=t.props,r=n.item,o=n.onItemClick;o&&o(r,e)},t._renderAriaDescription=function(e,n){return e?z.createElement("span",{id:t._ariaDescriptionId,className:n},e):null},t}return Xh(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,o=t.index,i=t.focusableElementIndex,a=t.totalItemCount,l=t.hasCheckmarks,s=t.hasIcons,u=t.expandedMenuItemKey,c=t.onItemClick,d=t.openSubMenu,f=t.dismissSubMenu,p=t.dismissMenu,h=Xw;this.props.item.contextualMenuItemAs&&(h=Rv(this.props.item.contextualMenuItemAs,h)),this.props.contextualMenuItemAs&&(h=Rv(this.props.contextualMenuItemAs,h));var m=n.rel;n.target&&"_blank"===n.target.toLowerCase()&&(m=m||"nofollow noopener noreferrer");var g=Dw(n),v=Sy(n,my),y=Mw(n),b=n.itemProps,_=n.ariaDescription,C=n.keytipProps;C&&g&&(C=this._getMemoizedMenuButtonKeytipProps(C)),_&&(this._ariaDescriptionId=sy());var S=sv(n.ariaDescribedBy,_?this._ariaDescriptionId:void 0,v["aria-describedby"]),w={"aria-describedby":S};return z.createElement("div",null,z.createElement(ok,{keytipProps:n.keytipProps,ariaDescribedBy:S,disabled:y},function(t){return z.createElement("a",em({},w,v,t,{ref:e._anchor,href:n.href,target:n.target,rel:m,className:r.root,role:"menuitem","aria-haspopup":g||void 0,"aria-expanded":g?n.key===u:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":Mw(n),style:n.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:g?e._onItemKeyDown:void 0}),z.createElement(h,em({componentRef:n.componentRef,item:n,classNames:r,index:o,onCheckmarkClick:l&&c?c:void 0,hasIcons:s,openSubMenu:d,dismissSubMenu:f,dismissMenu:p,getSubmenuTarget:e._getSubmenuTarget},b)),e._renderAriaDescription(_,r.screenReaderText))}))},t}(ek),ak=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=z.createRef(),t._getMemoizedMenuButtonKeytipProps=Ev(function(e){return em(em({},e),{hasMenu:!0})}),t._renderAriaDescription=function(e,n){return e?z.createElement("span",{id:t._ariaDescriptionId,className:n},e):null},t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return Xh(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,o=t.index,i=t.focusableElementIndex,a=t.totalItemCount,l=t.hasCheckmarks,s=t.hasIcons,u=t.contextualMenuItemAs,c=t.expandedMenuItemKey,d=t.onItemMouseDown,f=t.onItemClick,p=t.openSubMenu,h=t.dismissSubMenu,m=t.dismissMenu,g=Xw;n.contextualMenuItemAs&&(g=Rv(n.contextualMenuItemAs,g)),u&&(g=Rv(u,g));var v=Rw(n),y=null!==v,b=Ow(n),_=Dw(n),C=n.itemProps,S=n.ariaLabel,w=n.ariaDescription,k=Sy(n,gy);delete k.disabled;var x=n.role||b;w&&(this._ariaDescriptionId=sy());var E=sv(n.ariaDescribedBy,w?this._ariaDescriptionId:void 0,k["aria-describedby"]),F={className:r.root,onClick:this._onItemClick,onKeyDown:_?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return d?d(n,e):void 0},onMouseMove:this._onItemMouseMove,href:n.href,title:n.title,"aria-label":S,"aria-describedby":E,"aria-haspopup":_||void 0,"aria-expanded":_?n.key===c:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":Mw(n),"aria-checked":"menuitemcheckbox"!==x&&"menuitemradio"!==x||!y?void 0:!!v,"aria-selected":"menuitem"===x&&y?!!v:void 0,role:x,style:n.style},I=n.keytipProps;return I&&_&&(I=this._getMemoizedMenuButtonKeytipProps(I)),z.createElement(ok,{keytipProps:I,ariaDescribedBy:E,disabled:Mw(n)},function(t){return z.createElement("button",em({ref:e._btn},k,F,t),z.createElement(g,em({componentRef:n.componentRef,item:n,classNames:r,index:o,onCheckmarkClick:l&&f?f:void 0,hasIcons:s,openSubMenu:p,dismissSubMenu:h,dismissMenu:m,getSubmenuTarget:e._getSubmenuTarget},C)),e._renderAriaDescription(w,r.screenReaderText))})},t}(ek),lk=vv(),sk=z.forwardRef(function(e,t){var n=e.styles,r=e.theme,o=e.getClassNames,i=e.className,a=lk(n,{theme:r,getClassNames:o,className:i});return z.createElement("span",{className:a.wrapper,ref:t},z.createElement("span",{className:a.divider}))});sk.displayName="VerticalDividerBase";var uk,ck=ob(sk,function(e){var t=e.theme,n=e.getClassNames,r=e.className;if(!t)throw new Error("Theme is undefined or null.");if(n){var o=n(t);return{wrapper:[o.wrapper],divider:[o.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},r],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}},void 0,{scope:"VerticalDivider"}),dk=function(e){function t(t){var n=e.call(this,t)||this;return n._getMemoizedMenuButtonKeytipProps=Ev(function(e){return em(em({},e),{hasMenu:!0})}),n._onItemKeyDown=function(e){var t=n.props,r=t.item,o=t.onItemKeyDown;e.which===$g?(n._executeItemClick(e),e.preventDefault(),e.stopPropagation()):o&&o(r,e)},n._getSubmenuTarget=function(){return n._splitButton},n._renderAriaDescription=function(e,t){return e?z.createElement("span",{id:n._ariaDescriptionId,className:t},e):null},n._onItemMouseEnterPrimary=function(e){var t=n.props,r=t.item,o=t.onItemMouseEnter;o&&o(em(em({},r),{subMenuProps:void 0,items:void 0}),e,n._splitButton)},n._onItemMouseEnterIcon=function(e){var t=n.props,r=t.item,o=t.onItemMouseEnter;o&&o(r,e,n._splitButton)},n._onItemMouseMovePrimary=function(e){var t=n.props,r=t.item,o=t.onItemMouseMove;o&&o(em(em({},r),{subMenuProps:void 0,items:void 0}),e,n._splitButton)},n._onItemMouseMoveIcon=function(e){var t=n.props,r=t.item,o=t.onItemMouseMove;o&&o(r,e,n._splitButton)},n._onIconItemClick=function(e){var t=n.props,r=t.item,o=t.onItemClickBase;o&&o(r,e,n._splitButton?n._splitButton:e.currentTarget)},n._executeItemClick=function(e){var t=n.props,r=t.item,o=t.executeItemClick,i=t.onItemClick;if(!r.disabled&&!r.isDisabled)return n._processingTouch&&!r.canCheck&&i?i(r,e):void(o&&o(r,e))},n._onTouchStart=function(e){n._splitButton&&!("onpointerdown"in n._splitButton)&&n._handleTouchAndPointerEvent(e)},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},n._async=new rg(n),n._events=new Pg(n),n._dismissLabelId=sy(),n}return Xh(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e,t=this,n=this.props,r=n.item,o=n.classNames,i=n.index,a=n.focusableElementIndex,l=n.totalItemCount,s=n.hasCheckmarks,u=n.hasIcons,c=n.onItemMouseLeave,d=n.expandedMenuItemKey,f=Dw(r),p=r.keytipProps;p&&(p=this._getMemoizedMenuButtonKeytipProps(p));var h=r.ariaDescription;h&&(this._ariaDescriptionId=sy());var m=null!==(e=Rw(r))&&void 0!==e?e:void 0;return z.createElement(ok,{keytipProps:p,disabled:Mw(r)},function(e){return z.createElement("div",{"data-ktp-target":e["data-ktp-target"],ref:function(e){t._splitButton=e},role:Ow(r),"aria-label":r.ariaLabel,className:o.splitContainer,"aria-disabled":Mw(r),"aria-expanded":f?r.key===d:void 0,"aria-haspopup":!0,"aria-describedby":sv(r.ariaDescribedBy,h?t._ariaDescriptionId:void 0,e["aria-describedby"]),"aria-checked":m,"aria-posinset":a+1,"aria-setsize":l,onMouseEnter:t._onItemMouseEnterPrimary,onMouseLeave:c?c.bind(t,em(em({},r),{subMenuProps:null,items:null})):void 0,onMouseMove:t._onItemMouseMovePrimary,onKeyDown:t._onItemKeyDown,onClick:t._executeItemClick,onTouchStart:t._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":r["aria-roledescription"]},t._renderSplitPrimaryButton(r,o,i,s,u),t._renderSplitDivider(r),t._renderSplitIconButton(r,o,i,e),t._renderAriaDescription(h,o.screenReaderText))})},t.prototype._renderSplitPrimaryButton=function(e,t,n,r,o){var i=this.props,a=i.contextualMenuItemAs,l=void 0===a?Xw:a,s=i.onItemClick,u={key:e.key,disabled:Mw(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,secondaryText:e.secondaryText,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,id:this._dismissLabelId,onRenderIcon:e.onRenderIcon,data:e.data,"data-is-focusable":!1},c=e.itemProps;return z.createElement("button",em({},Sy(u,gy)),z.createElement(l,em({"data-is-focusable":!1,item:em(em({},u),{onClick:e.onClick}),classNames:t,index:n,onCheckmarkClick:r&&s?s:void 0,hasIcons:o},c)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||Qw;return z.createElement(ck,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,n,r){var o=this.props,i=o.onItemMouseLeave,a=o.onItemMouseDown,l=o.openSubMenu,s=o.dismissSubMenu,u=o.dismissMenu,c=Xw;this.props.item.contextualMenuItemAs&&(c=Rv(this.props.item.contextualMenuItemAs,c)),this.props.contextualMenuItemAs&&(c=Rv(this.props.contextualMenuItemAs,c));var d={onClick:this._onIconItemClick,disabled:Mw(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key,"aria-labelledby":this._dismissLabelId},f=em(em({},Sy(d,gy)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:i?i.bind(this,e):void 0,onMouseDown:function(t){return a?a(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":r["data-ktp-execute-target"],"aria-haspopup":!0}),p=e.itemProps;return z.createElement("button",em({},f),z.createElement(c,em({componentRef:e.componentRef,item:d,classNames:t,index:n,hasIcons:!1,openSubMenu:l,dismissSubMenu:s,dismissMenu:u,getSubmenuTarget:this._getSubmenuTarget},p)))},t.prototype._handleTouchAndPointerEvent=function(e){var t=this,n=this.props.onTap;n&&n(e),this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){t._processingTouch=!1,t._lastTouchTimeoutId=void 0},500)},t}(ek);!function(e){e[e.small=0]="small",e[e.medium=1]="medium",e[e.large=2]="large",e[e.xLarge=3]="xLarge",e[e.xxLarge=4]="xxLarge",e[e.xxxLarge=5]="xxxLarge",e[e.unknown=999]="unknown"}(uk||(uk={}));var fk,pk=[479,639,1023,1365,1919,99999999];function hk(){var e;return null!==(e=fk)&&void 0!==e?e:uk.large}function mk(e){try{return e.document.documentElement.clientWidth}catch(t){return e.innerWidth}}var gk=function(e,t){var n=z.useState(hk()),r=n[0],o=n[1],i=z.useCallback(function(){var t=function(e){var t=uk.small;if(!e)throw new Error("Content was rendered in a server environment without providing a default responsive mode. Call setResponsiveMode to define what the responsive mode is.");try{for(;mk(e)>pk[t];)t++}catch(e){t=hk()}return fk=t,t}(ng(e.current));r!==t&&o(t)},[e,r]);return eS(Jv(),"resize",i),z.useEffect(function(){void 0===t&&i()},[t]),null!=t?t:r},vk=z.createContext({}),yk=vv(),bk=vv(),_k={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:fC,beakWidth:16};function Ck(e){for(var t=0,n=0,r=e;n<r.length;n++){var o=r[n];if(o.itemType!==xw.Divider&&o.itemType!==xw.Header)t+=o.customOnRenderListLength?o.customOnRenderListLength:1}return t}function Sk(e,t){var n=null==t?void 0:t.target,r=e.subMenuProps?e.subMenuProps.items:e.items;if(r){for(var o=[],i=0,a=r;i<a.length;i++){var l=a[i];if(l.preferMenuTargetAsEventTarget){var s=l.onClick,u=tm(l,["onClick"]);o.push(em(em({},u),{onClick:Dk(s,n)}))}else o.push(l)}return o}}var wk="ContextualMenu",kk=Ev(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return Ym.apply(void 0,rm([t,Jw],e,!1))}});function xk(e,t){var n=e.hidden,r=e.items,o=e.theme,i=e.className,a=e.id,l=e.target,s=z.useState(),u=s[0],c=s[1],d=z.useState(),f=d[0],p=d[1],h=z.useState(),m=h[0],g=h[1],v=JC(wk,a),y=z.useCallback(function(){g(void 0),c(void 0),p(void 0)},[]),b=z.useCallback(function(e,t,n){var r=e.key;u!==r&&(t.focus(),g(n),c(r),p(t))},[u]);z.useEffect(function(){n&&y()},[n,y]);var _=function(e,t){var n=z.useRef(!1);z.useEffect(function(){return n.current=!0,function(){n.current=!1}},[]);var r=function(r,o){o?e(r,o):n.current&&t()};return r}(t,y);return[u,b,function(){var e=Rk(u,r),t=null;if(e&&(t={items:Sk(e,{target:l}),target:f,onDismiss:_,isSubMenu:!0,id:v,shouldFocusOnMount:!0,shouldFocusOnContainer:m,directionalHint:pv(o)?pC:gC,className:i,gapSpace:0,isBeakVisible:!1},e.subMenuProps&&Fg(t,e.subMenuProps),e.preferMenuTargetAsEventTarget)){var n=e.onItemClick;t.onItemClick=Dk(n,l)}return t},_]}function Ek(e,t,n,r){var o=e.theme,i=e.isSubMenu,a=e.focusZoneProps,l=void 0===a?{}:a,s=l.checkForNoWrap,u=l.direction,c=void 0===u?pw.vertical:u,d=z.useRef(void 0),f=function(e,n,r){var o=!1;return n(e)&&(t(e,r),e.preventDefault(),e.stopPropagation(),o=!0),o},p=function(e){return e.which===Zg||function(e){var t=pv(o)?ov:nv;return!(e.which!==t||!i||c!==pw.vertical&&(!s||Sg(e.target,"data-no-horizontal-wrap")))}(e)||e.which===rv&&(e.altKey||e.metaKey)},h=function(e){d.current=Ik(e);var t=e.which===Zg&&(eb()||Yy());return f(e,p,t)},m=function(e){var t=d.current&&Ik(e);return d.current=!1,!!t&&!(Yy()||eb())};return[h,function(e){return f(e,m,!0)},function(e){if(!h(e)&&n.current){var t=!(!e.altKey&&!e.metaKey),r=e.which===rv,o=e.which===iv;if(!t&&(r||o)){var i=r?hg(n.current,n.current.lastChild,!0):pg(n.current,n.current.firstChild,!0);i&&(i.focus(),e.preventDefault(),e.stopPropagation())}}},function(e,t){var n=pv(o)?nv:ov;e.disabled||t.which!==n&&t.which!==$g&&(t.which!==iv||!t.altKey&&!t.metaKey)||(r(e,t.currentTarget),t.preventDefault())}]}var Fk=z.memo(z.forwardRef(function(e,t){var n,r=ab(_k,e);r.ref;var o=tm(r,["ref"]),i=z.useRef(null),a=$C(),l=JC(wk,o.id),s=function(e,t){var n;return null===(n=o.onDismiss)||void 0===n?void 0:n.call(o,e,t)},u=nS(o.target,i),c=u[0],d=u[1],f=function(e,t,n){var r=e.hidden,o=e.onRestoreFocus,i=z.useRef(void 0),a=z.useCallback(function(e){var t,n;o?o(e):(null==e?void 0:e.documentContainsFocus)&&(null===(n=null===(t=i.current)||void 0===t?void 0:t.focus)||void 0===n||n.call(t))},[o]);return sb(function(){var e,o;if(r)i.current&&(a({originalElement:i.current,containsFocus:!0,documentContainsFocus:(null===(o=fg())||void 0===o?void 0:o.hasFocus())||!1}),i.current=void 0);else{var l=null==t?void 0:t.document.activeElement;(null===(e=n.current)||void 0===e?void 0:e.contains(l))||"BODY"===l.tagName||(i.current=l)}},[r,null==t?void 0:t.document.activeElement,a,n]),[a]}(o,d,i)[0],p=xk(o,s),h=p[0],m=p[1],g=p[2],v=p[3],y=function(e){var t=e.delayUpdateFocusOnHover,n=e.hidden,r=z.useRef(!t),o=z.useRef(!1);z.useEffect(function(){r.current=!t,o.current=!n&&!t&&o.current},[t,n]);var i=z.useCallback(function(){t&&(r.current=!1)},[t]);return[r,o,i]}(o),b=y[0],_=y[1],C=y[2],S=function(e){var t=z.useRef(!0),n=z.useRef(void 0);return[function(){t.current||void 0===n.current?t.current=!1:(e.clearTimeout(n.current),n.current=void 0),n.current=e.setTimeout(function(){t.current=!0},250)},t]}(a),w=S[0],k=S[1],x=function(e,t){var n=e.subMenuHoverDelay,r=void 0===n?250:n,o=z.useRef(void 0),i=function(){void 0!==o.current&&(t.clearTimeout(o.current),o.current=void 0)};return[i,function(e){o.current=t.setTimeout(function(){e(),i()},r)},o]}(o,a),E=x[0],F=x[1],I=x[2],T=gk(i,o.responsiveMode);!function(e){var t=e.hidden,n=void 0!==t&&t,r=e.onMenuDismissed,o=e.onMenuOpened,i=tS(n),a=z.useRef(o),l=z.useRef(r),s=z.useRef(e);a.current=o,l.current=r,s.current=e,z.useEffect(function(){var e,t;n&&!1===i?null===(e=l.current)||void 0===e||e.call(l,s.current):n||!1===i||null===(t=a.current)||void 0===t||t.call(a,s.current)},[n,i]),z.useEffect(function(){return function(){var e;return null===(e=l.current)||void 0===e?void 0:e.call(l,s.current)}},[])}(o);var P=Ek(o,s,i,m),R=P[0],D=P[1],M=P[2],O=P[3],A=function(e,t,n,r,o,i,a,l,s,u,c,d,f){var p=e.target,h=function(){return!t.current||!i.current},m=function(e,t,n){var r=n||t.currentTarget;e.key!==a&&(u(),void 0===a&&r.focus(),Dw(e)?(t.stopPropagation(),s(function(){r.focus(),c(e,r,!0)})):s(function(){d(t),r.focus()}))},g=function(t,n,r){var o=Sk(t,{target:p});if(u(),Dw(t)||o&&o.length){if(t.key!==a){var i="boolean"==typeof e.shouldFocusOnContainer?e.shouldFocusOnContainer:"mouse"===n.nativeEvent.pointerType;c(t,r,i)}}else v(t,n);n.stopPropagation(),n.preventDefault()},v=function(t,n){if(!t.disabled&&!t.isDisabled){t.preferMenuTargetAsEventTarget&&Mk(n,p);var r=!1;t.onClick?r=!!t.onClick(n,t):e.onItemClick&&(r=!!e.onItemClick(n,t)),!r&&n.defaultPrevented||f(n,!0)}};return[function(e,t,n){o.current&&(i.current=!0),h()||m(e,t,n)},function(e,a,l){var s=a.currentTarget;o.current&&(i.current=!0,t.current&&void 0===n.current&&s!==(null==r?void 0:r.document.activeElement)&&m(e,a,l))},function(e,t){var n;if(!h()&&(u(),void 0===a))if(l.current.setActive)try{l.current.setActive()}catch(e){}else null===(n=l.current)||void 0===n||n.focus()},function(e,t){g(e,t,t.currentTarget)},function(e,t){v(e,t),t.stopPropagation()},v,g]}(o,k,I,d,b,_,h,i,F,E,m,v,s),L=A[0],N=A[1],B=A[2],H=A[3],V=A[4],W=A[5],U=A[6],j=function(e,t,n){var r=0,o=e.items,i=e.totalItemCount,a=e.hasCheckmarks,l=e.hasIcons;return z.createElement("ul",{className:t.list,onKeyDown:R,onKeyUp:D,role:"presentation"},o.map(function(e,n){var o=K(e,n,r,i,a,l,t);if(e.itemType!==xw.Divider&&e.itemType!==xw.Header){var s=e.customOnRenderListLength?e.customOnRenderListLength:1;r+=s}return o}))},K=function(e,t,n,r,i,a,l){var s,u,c=[],d=e.iconProps||{iconName:"None"},f=e.getItemClassNames,p=e.itemProps,m=p?p.styles:void 0,g=e.itemType===xw.Divider?e.className:void 0,v=e.submenuIconProps?e.submenuIconProps.className:"";if(f)u=f(o.theme,Mw(e),h===e.key,!!Rw(e),!!e.href,"None"!==d.iconName,e.className,g,d.className,v,e.primaryDisabled);else{var y={theme:o.theme,disabled:Mw(e),expanded:h===e.key,checked:!!Rw(e),isAnchorLink:!!e.href,knownIcon:"None"!==d.iconName,itemClassName:e.className,dividerClassName:g,iconClassName:d.className,subMenuClassName:v,primaryDisabled:e.primaryDisabled};u=bk(kk(null===(s=l.subComponentStyles)||void 0===s?void 0:s.menuItem,m),y)}switch("-"!==e.text&&"-"!==e.name||(e.itemType=xw.Divider),e.itemType){case xw.Divider:c.push($(t,u));break;case xw.Header:c.push($(t,u));var b=Z(e,u,l,t,i,a);c.push(G(b,e.key||t,u,e.title));break;case xw.Section:c.push(q(e,u,l,t,i,a));break;default:var _=function(){return Q(e,u,t,n,r,i,a)},C=o.onRenderContextualMenuItem?o.onRenderContextualMenuItem(e,_):_();c.push(G(C,e.key||t,u,e.title))}return z.createElement(z.Fragment,{key:e.key},c)},q=function(e,t,n,r,o,i){var a=e.sectionProps;if(a){var s,u;if(a.title){var c=void 0,d="";if("string"==typeof a.title){var f=l+a.title.replace(/\s/g,"");c={key:"section-".concat(a.title,"-title"),itemType:xw.Header,text:a.title,id:f},d=f}else{var p=a.title.id||l+a.title.key.replace(/\s/g,"");c=em(em({},a.title),{id:p}),d=p}c&&(u={role:"group","aria-labelledby":d},s=Z(c,t,n,r,o,i))}if(a.items&&a.items.length>0){var h=0;return z.createElement("li",{role:"presentation",key:a.key||e.key||"section-".concat(r)},z.createElement("div",em({},u),z.createElement("ul",{className:n.list,role:"presentation"},a.topDivider&&$(r,t,!0,!0),s&&G(s,e.key||r,t,e.title),a.items.map(function(e,t){var r=K(e,t,h,Ck(a.items),o,i,n);if(e.itemType!==xw.Divider&&e.itemType!==xw.Header){var l=e.customOnRenderListLength?e.customOnRenderListLength:1;h+=l}return r}),a.bottomDivider&&$(r,t,!1,!0))))}}},G=function(e,t,n,r){return z.createElement("li",{role:"presentation",title:r,key:t,className:n.item},e)},$=function(e,t,n,r){return r||e>0?z.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},Q=function(e,t,n,r,i,a,l){if(e.onRender)return e.onRender(em({"aria-posinset":r+1,"aria-setsize":i},e),s);var u={item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:i,hasCheckmarks:a,hasIcons:l,contextualMenuItemAs:o.contextualMenuItemAs,onItemMouseEnter:L,onItemMouseLeave:B,onItemMouseMove:N,onItemMouseDown:Tk,executeItemClick:W,onItemKeyDown:O,expandedMenuItemKey:h,openSubMenu:m,dismissSubMenu:v,dismissMenu:s};if(e.href){var c=ik;return e.contextualMenuItemWrapperAs&&(c=Rv(e.contextualMenuItemWrapperAs,c)),z.createElement(c,em({},u,{onItemClick:V}))}if(e.split&&Dw(e)){var d=dk;return e.contextualMenuItemWrapperAs&&(d=Rv(e.contextualMenuItemWrapperAs,d)),z.createElement(d,em({},u,{onItemClick:H,onItemClickBase:U,onTap:E}))}var f=ak;return e.contextualMenuItemWrapperAs&&(f=Rv(e.contextualMenuItemWrapperAs,f)),z.createElement(f,em({},u,{onItemClick:H,onItemClickBase:U}))},Z=function(e,t,n,r,i,a){var l=Xw;e.contextualMenuItemAs&&(l=Rv(e.contextualMenuItemAs,l)),o.contextualMenuItemAs&&(l=Rv(o.contextualMenuItemAs,l));var s=e.itemProps,u=e.id,c=s&&Sy(s,Cy);return z.createElement("div",em({id:u,className:n.header},c,{style:e.style}),z.createElement(l,em({item:e,classNames:t,index:r,onCheckmarkClick:i?H:void 0,hasIcons:a},s)))},Y=o.isBeakVisible,J=o.items,X=o.labelElementId,ee=o.id,te=o.className,ne=o.beakWidth,re=o.directionalHint,oe=o.directionalHintForRTL,ie=o.alignTargetEdge,ae=o.gapSpace,le=o.coverTarget,se=o.ariaLabel,ue=o.doNotLayer,ce=o.target,de=o.bounds,fe=o.useTargetWidth,pe=o.useTargetAsMinWidth,he=o.directionalHintFixed,me=o.shouldFocusOnMount,ge=o.shouldFocusOnContainer,ve=o.title,ye=o.styles,be=o.theme,_e=o.calloutProps,Ce=o.onRenderSubMenu,Se=void 0===Ce?Pk:Ce,we=o.onRenderMenuList,ke=void 0===we?function(e,t){return j(e,Fe)}:we,xe=o.focusZoneProps,Ee=o.getMenuClassNames,Fe=Ee?Ee(be,te):yk(ye,{theme:be,className:te}),Ie=function e(t){for(var n=0,r=t;n<r.length;n++){var o=r[n];if(o.iconProps)return!0;if(o.itemType===xw.Section&&o.sectionProps&&e(o.sectionProps.items))return!0}return!1}(J);var Te,Pe=em(em({direction:pw.vertical,handleTabKey:hw,isCircularNavigation:!0,"data-tabster":'{"uncontrolled": {}, "focusable": { "excludeFromMover": true }}'},xe),{className:Dv(Fe.root,null===(n=o.focusZoneProps)||void 0===n?void 0:n.className)}),Re=function(e){return e.some(function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some(function(e){return!0===e.canCheck}))})}(J),De=h&&!0!==o.hidden?g():null;Y=void 0===Y?T<=uk.medium:Y;var Me=c.current;if((fe||pe)&&Me&&Me.offsetWidth){var Oe=Me.getBoundingClientRect().width-2;fe?Te={width:Oe}:pe&&(Te={minWidth:Oe})}if(J&&J.length>0){var Ae=Ck(J),Le=Fe.subComponentStyles?Fe.subComponentStyles.callout:void 0;return z.createElement(vk.Consumer,null,function(e){return z.createElement(jS,em({styles:Le,onRestoreFocus:f},_e,{target:ce||e.target,isBeakVisible:Y,beakWidth:ne,directionalHint:re,directionalHintForRTL:oe,gapSpace:ae,coverTarget:le,doNotLayer:ue,className:Dv("ms-ContextualMenu-Callout",_e&&_e.className),setInitialFocus:me,onDismiss:o.onDismiss||e.onDismiss,onScroll:w,bounds:de,directionalHintFixed:he,alignTargetEdge:ie,hidden:o.hidden||e.hidden,ref:t}),z.createElement("div",{style:Te,ref:i,id:ee,className:Fe.container,tabIndex:ge?0:-1,onKeyDown:M,onKeyUp:D,onFocusCapture:C,"aria-label":se,"aria-labelledby":X,role:"menu"},ve&&z.createElement("div",{className:Fe.title}," ",ve," "),J&&J.length?function(e,t){var n=o.focusZoneAs,r=void 0===n?Pw:n;return z.createElement(r,em({},t),e)}(ke({ariaLabel:se,items:J,totalItemCount:Ae,hasCheckmarks:Re,hasIcons:Ie,defaultMenuItemRenderer:function(e){return function(e,t){var n=e.index,r=e.focusableElementIndex,o=e.totalItemCount,i=e.hasCheckmarks,a=e.hasIcons;return K(e,n,r,o,i,a,t)}(e,Fe)},labelElementId:X},function(e,t){return j(e,Fe)}),Pe):null,De&&Se(De,Pk)),z.createElement(Hy,null))})}return null}),function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||Eg(e,t)});function Ik(e){return e.which===Qg||"Meta"===e.key}function Tk(e,t){var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,e,t)}function Pk(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")}function Rk(e,t){for(var n=0,r=t;n<r.length;n++){var o=r[n];if(o.itemType===xw.Section&&o.sectionProps){var i=Rk(e,o.sectionProps.items);if(i)return i}else if(o.key&&o.key===e)return o}}function Dk(e,t){return e?function(n,r){return Mk(n,t),e(n,r)}:e}function Mk(e,t){e&&t&&(e.persist(),t instanceof Event?e.target=t.target:t instanceof Element&&(e.target=t))}Fk.displayName="ContextualMenuBase";var Ok={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function Ak(e){return z.createElement(Lk,em({},e))}var Lk=ob(Fk,function(e){var t=e.className,n=e.theme,r=H_(Ok,n),o=n.fonts,i=n.semanticColors,a=n.effects;return{root:[n.fonts.medium,r.root,r.isopen,{backgroundColor:i.menuBackground,minWidth:"180px"},t],container:[r.container,{selectors:{":focus":{outline:0}}}],list:[r.list,r.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[r.header,o.small,{fontWeight:kb.semibold,color:i.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:jw,lineHeight:jw,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[r.title,{fontSize:o.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:i.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}},function(e){return{onRenderSubMenu:e.onRenderSubMenu?nb(e.onRenderSubMenu,Ak):Ak}},{scope:"ContextualMenu"}),Nk=Lk;Nk.displayName="ContextualMenu";var Bk={msButton:"ms-Button",msButtonHasMenu:"ms-Button--hasMenu",msButtonIcon:"ms-Button-icon",msButtonMenuIcon:"ms-Button-menuIcon",msButtonLabel:"ms-Button-label",msButtonDescription:"ms-Button-description",msButtonScreenReaderText:"ms-Button-screenReaderText",msButtonFlexContainer:"ms-Button-flexContainer",msButtonTextContainer:"ms-Button-textContainer"},zk=Ev(function(e,t,n,r,o,i,a,l,s,u,c){var d,f,p=H_(Bk,e||{}),h=u&&!c;return Qm(t.__shadowConfig__,{root:[p.msButton,t.root,r,s&&["is-checked",t.rootChecked],h&&["is-expanded",t.rootExpanded,(d={},d[":hover .".concat(p.msButtonIcon)]=t.iconExpandedHovered,d[":hover .".concat(p.msButtonMenuIcon)]=t.menuIconExpandedHovered||t.rootExpandedHovered,d[":hover"]=t.rootExpandedHovered,d)],l&&[Bk.msButtonHasMenu,t.rootHasMenu],a&&["is-disabled",t.rootDisabled],!a&&!h&&!s&&(f={":hover":t.rootHovered},f[":hover .".concat(p.msButtonLabel)]=t.labelHovered,f[":hover .".concat(p.msButtonIcon)]=t.iconHovered,f[":hover .".concat(p.msButtonDescription)]=t.descriptionHovered,f[":hover .".concat(p.msButtonMenuIcon)]=t.menuIconHovered,f[":focus"]=t.rootFocused,f[":active"]=t.rootPressed,f[":active .".concat(p.msButtonIcon)]=t.iconPressed,f[":active .".concat(p.msButtonDescription)]=t.descriptionPressed,f[":active .".concat(p.msButtonMenuIcon)]=t.menuIconPressed,f),a&&s&&[t.rootCheckedDisabled],!a&&s&&{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed},n],flexContainer:[p.msButtonFlexContainer,t.flexContainer],textContainer:[p.msButtonTextContainer,t.textContainer],icon:[p.msButtonIcon,o,t.icon,h&&t.iconExpanded,s&&t.iconChecked,a&&t.iconDisabled],label:[p.msButtonLabel,t.label,s&&t.labelChecked,a&&t.labelDisabled],menuIcon:[p.msButtonMenuIcon,i,t.menuIcon,s&&t.menuIconChecked,a&&!c&&t.menuIconDisabled,!a&&!h&&!s&&{":hover":t.menuIconHovered,":active":t.menuIconPressed},h&&["is-expanded",t.menuIconExpanded]],description:[p.msButtonDescription,t.description,s&&t.descriptionChecked,a&&t.descriptionDisabled],screenReaderText:[p.msButtonScreenReaderText,t.screenReaderText]})}),Hk="ms-SplitButton-divider",Vk=Ev(function(e,t,n,r,o){return{root:Gm(e.splitButtonMenuButton,n&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],r&&!t&&[e.splitButtonMenuButtonChecked],o&&!t&&[{":focus":e.splitButtonMenuFocused}]),splitButtonContainer:Gm(e.splitButtonContainer,!t&&r&&[e.splitButtonContainerChecked,{":hover":e.splitButtonContainerCheckedHovered}],!t&&!r&&[{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}],t&&e.splitButtonContainerDisabled),icon:Gm(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&o&&e.splitButtonMenuIcon),flexContainer:Gm(e.splitButtonFlexContainer),divider:Gm(Hk,e.splitButtonDivider,(o||t)&&e.splitButtonDividerDisabled)}}),Wk=function(e){function t(t){var n=e.call(this,t)||this;return n._buttonElement=z.createRef(),n._splitButtonContainer=z.createRef(),n._mergedRef=lb(),n._renderedVisibleMenu=!1,n._getMemoizedMenuButtonKeytipProps=Ev(function(e){return em(em({},e),{hasMenu:!0})}),n._onRenderIcon=function(e,t){var r=n.props.iconProps;if(r&&(void 0!==r.iconName||r.imageProps)){var o=r.className,i=r.imageProps,a=tm(r,["className","imageProps"]);if(r.styles)return z.createElement(sw,em({className:Dv(n._classNames.icon,o),imageProps:i},a));if(r.iconName)return z.createElement(iw,em({className:Dv(n._classNames.icon,o)},a));if(i)return z.createElement(uw,em({className:Dv(n._classNames.icon,o),imageProps:i},a))}return null},n._onRenderTextContents=function(){var e=n.props,t=e.text,r=e.children,o=e.secondaryText,i=void 0===o?n.props.description:o,a=e.onRenderText,l=void 0===a?n._onRenderText:a,s=e.onRenderDescription,u=void 0===s?n._onRenderDescription:s;return t||"string"==typeof r||i?z.createElement("span",{className:n._classNames.textContainer},l(n.props,n._onRenderText),u(n.props,n._onRenderDescription)):[l(n.props,n._onRenderText),u(n.props,n._onRenderDescription)]},n._onRenderText=function(){var e=n.props.text,t=n.props.children;return void 0===e&&"string"==typeof t&&(e=t),n._hasText()?z.createElement("span",{key:n._labelId,className:n._classNames.label,id:n._labelId},e):null},n._onRenderChildren=function(){var e=n.props.children;return"string"==typeof e?null:e},n._onRenderDescription=function(e){var t=e.secondaryText,r=void 0===t?n.props.description:t;return r?z.createElement("span",{key:n._descriptionId,className:n._classNames.description,id:n._descriptionId},r):null},n._onRenderAriaDescription=function(){var e=n.props.ariaDescription;return e?z.createElement("span",{className:n._classNames.screenReaderText,id:n._ariaDescriptionId},e):null},n._onRenderMenuIcon=function(e){var t=n.props.menuIconProps;return z.createElement(iw,em({iconName:"ChevronDown"},t,{className:n._classNames.menuIcon}))},n._onRenderMenu=function(e){var t=n.props.menuAs?Rv(n.props.menuAs,Nk):Nk;return z.createElement(t,em({},e))},n._onDismissMenu=function(e){var t=n.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||n._dismissMenu()},n._dismissMenu=function(){n._menuShouldFocusOnMount=void 0,n._menuShouldFocusOnContainer=void 0,n.setState({menuHidden:!0})},n._openMenu=function(e,t){void 0===t&&(t=!0),n.props.menuProps&&(n._menuShouldFocusOnContainer=e,n._menuShouldFocusOnMount=t,n._renderedVisibleMenu=!0,n.setState({menuHidden:!1}))},n._onToggleMenu=function(e){var t=!0;n.props.menuProps&&!1===n.props.menuProps.shouldFocusOnMount&&(t=!1),n.state.menuHidden?n._openMenu(e,t):n._dismissMenu()},n._onSplitContainerFocusCapture=function(e){var t=n._splitButtonContainer.current;!t||e.target&&dg(e.target,t)||t.focus()},n._onSplitButtonPrimaryClick=function(e){n.state.menuHidden||n._dismissMenu();var t=n._processingTouch&&!n.props.toggle;!t&&n.props.onClick?n.props.onClick(e):t&&n._onMenuClick(e)},n._onKeyDown=function(e){!n.props.disabled||e.which!==$g&&e.which!==Yg?n.props.disabled||(n.props.menuProps?n._onMenuKeyDown(e):void 0!==n.props.onKeyDown&&n.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},n._onKeyUp=function(e){n.props.disabled||void 0===n.props.onKeyUp||n.props.onKeyUp(e)},n._onKeyPress=function(e){n.props.disabled||void 0===n.props.onKeyPress||n.props.onKeyPress(e)},n._onMouseUp=function(e){n.props.disabled||void 0===n.props.onMouseUp||n.props.onMouseUp(e)},n._onMouseDown=function(e){n.props.disabled||void 0===n.props.onMouseDown||n.props.onMouseDown(e)},n._onClick=function(e){n.props.disabled||(n.props.menuProps?n._onMenuClick(e):void 0!==n.props.onClick&&n.props.onClick(e))},n._onSplitButtonContainerKeyDown=function(e){e.which===$g||e.which===Yg?n._buttonElement.current&&(n._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):n._onMenuKeyDown(e)},n._onMenuKeyDown=function(e){var t;if(!n.props.disabled){n.props.onKeyDown&&n.props.onKeyDown(e);var r=e.which===rv,o=e.which===iv;if(!e.defaultPrevented&&n._isValidMenuOpenKey(e)){var i=n.props.onMenuClick;i&&i(e,n.props),n._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}if(e.which!==$g&&e.which!==Yg||My(!0,e.target,null===(t=n.context)||void 0===t?void 0:t.registeredProviders),!e.altKey&&!e.metaKey&&(r||o))if(!n.state.menuHidden&&n.props.menuProps)(void 0!==n._menuShouldFocusOnMount?n._menuShouldFocusOnMount:n.props.menuProps.shouldFocusOnMount)||(e.preventDefault(),e.stopPropagation(),n._menuShouldFocusOnMount=!0,n.forceUpdate())}},n._onTouchStart=function(){n._isSplitButton&&n._splitButtonContainer.current&&!("onpointerdown"in n._splitButtonContainer.current)&&n._handleTouchAndPointerEvent()},n._onMenuClick=function(e){var t=n.props,r=t.onMenuClick,o=t.menuProps;r&&r(e,n.props);var i="boolean"==typeof(null==o?void 0:o.shouldFocusOnContainer)?o.shouldFocusOnContainer:"mouse"===e.nativeEvent.pointerType;e.defaultPrevented||(n._onToggleMenu(i),e.preventDefault(),e.stopPropagation())},wy(n),n._async=new rg(n),n._events=new Pg(n),n.props.split,n._labelId=sy(),n._descriptionId=sy(),n._ariaDescriptionId=sy(),n.state={menuHidden:!0},n}return Xh(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this.props,n=t.ariaDescription,r=t.ariaLabel,o=t.ariaHidden,i=t.className,a=t.disabled,l=t.allowDisabledFocus,s=t.primaryDisabled,u=t.secondaryText,c=void 0===u?this.props.description:u,d=t.href,f=t.iconProps,p=t.menuIconProps,h=t.styles,m=t.checked,g=t.variantClassName,v=t.theme,y=t.toggle,b=t.getClassNames,_=t.role,C=this.state.menuHidden,S=a||s;this._classNames=b?b(v,i,g,f&&f.className,p&&p.className,S,m,!C,!!this.props.menuProps,this.props.split,!!l):zk(v,h,i,g,f&&f.className,p&&p.className,S,!!this.props.menuProps,m,!C,this.props.split);var w=this,k=w._ariaDescriptionId,x=w._labelId,E=w._descriptionId,F=!S&&!!d,I=F?"a":"button",T=Sy(Fg(F?{}:{type:"button"},this.props.rootProps,this.props),F?my:gy,["disabled"]),P=r||T["aria-label"],R=void 0;n?R=k:c&&this.props.onRenderDescription!==Bg?R=E:T["aria-describedby"]&&(R=T["aria-describedby"]);var D=void 0;T["aria-labelledby"]?D=T["aria-labelledby"]:R&&!P&&(D=this._hasText()?x:void 0);var M=!(!1===this.props["data-is-focusable"]||a&&!l||this._isSplitButton),O="menuitemcheckbox"===_||"checkbox"===_,A=O||!0===y?!!m:void 0,L=Fg(T,((e={className:this._classNames.root,ref:this._mergedRef(this.props.elementRef,this._buttonElement),disabled:S&&!l,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":P,"aria-labelledby":D,"aria-describedby":R,"aria-disabled":S,"data-is-focusable":M})[O?"aria-checked":"aria-pressed"]=A,e));if(o&&(L["aria-hidden"]=!0),this._isSplitButton)return this._onRenderSplitButtonContent(I,L);if(this.props.menuProps){var N=this.props.menuProps.id,B=void 0===N?"".concat(this._labelId,"-menu"):N;Fg(L,{"aria-expanded":!C,"aria-controls":C?null:B,"aria-haspopup":!0})}return this._onRenderContent(I,L)},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&("onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0),"onpointerup"in this._splitButtonContainer.current&&this.props.onPointerUp&&this._events.on(this._splitButtonContainer.current,"pointerup",this.props.onPointerUp,!0))},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.focus=function(){var e,t;this._isSplitButton&&this._splitButtonContainer.current?(My(!0,void 0,null===(e=this.context)||void 0===e?void 0:e.registeredProviders),this._splitButtonContainer.current.focus()):this._buttonElement.current&&(My(!0,void 0,null===(t=this.context)||void 0===t?void 0:t.registeredProviders),this._buttonElement.current.focus())},t.prototype.dismissMenu=function(){this._dismissMenu()},t.prototype.openMenu=function(e,t){this._openMenu(e,t)},t.prototype._onRenderContent=function(e,t){var n=this,r=this.props,o=e,i=r.menuIconProps,a=r.menuProps,l=r.onRenderIcon,s=void 0===l?this._onRenderIcon:l,u=r.onRenderAriaDescription,c=void 0===u?this._onRenderAriaDescription:u,d=r.onRenderChildren,f=void 0===d?this._onRenderChildren:d,p=r.onRenderMenu,h=void 0===p?this._onRenderMenu:p,m=r.onRenderMenuIcon,g=void 0===m?this._onRenderMenuIcon:m,v=r.disabled,y=r.keytipProps;y&&a&&(y=this._getMemoizedMenuButtonKeytipProps(y));var b=function(e){return z.createElement(o,em({},t,e),z.createElement("span",{className:n._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},s(r,n._onRenderIcon),n._onRenderTextContents(),c(r,n._onRenderAriaDescription),f(r,n._onRenderChildren),!n._isSplitButton&&(a||i||n.props.onRenderMenuIcon)&&g(n.props,n._onRenderMenuIcon),a&&!a.doNotLayer&&n._shouldRenderMenu()&&h(n._getMenuProps(a),n._onRenderMenu)))},_=y?z.createElement(ok,{keytipProps:this._isSplitButton?void 0:y,ariaDescribedBy:t["aria-describedby"],disabled:v},function(e){return b(e)}):b();return a&&a.doNotLayer?z.createElement(z.Fragment,null,_,this._shouldRenderMenu()&&h(this._getMenuProps(a),this._onRenderMenu)):z.createElement(z.Fragment,null,_,z.createElement(Hy,null))},t.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,n=t.persistMenu,r=t.renderPersistedMenuHiddenOnMount;return!e||!(!n||!this._renderedVisibleMenu&&!r)},t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)},t.prototype._getMenuProps=function(e){var t=this.props.persistMenu,n=this.state.menuHidden;return e.ariaLabel||e.labelElementId||!this._hasText()||(e=em(em({},e),{labelElementId:this._labelId})),em(em({id:this._labelId+"-menu",directionalHint:uC},e),{shouldFocusOnContainer:this._menuShouldFocusOnContainer,shouldFocusOnMount:this._menuShouldFocusOnMount,hidden:t?n:void 0,className:Dv("ms-BaseButton-menuhost",e.className),target:this._isSplitButton?this._splitButtonContainer.current:this._buttonElement.current,onDismiss:this._onDismissMenu})},t.prototype._onRenderSplitButtonContent=function(e,t){var n=this,r=this.props,o=r.styles,i=void 0===o?{}:o,a=r.disabled,l=r.allowDisabledFocus,s=r.checked,u=r.getSplitButtonClassNames,c=r.primaryDisabled,d=r.menuProps,f=r.toggle,p=r.role,h=r.primaryActionButtonProps,m=this.props.keytipProps,g=this.state.menuHidden,v=u?u(!!a,!g,!!s,!!l):i&&Vk(i,!!a,!g,!!s,!!c);Fg(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1}),m&&d&&(m=this._getMemoizedMenuButtonKeytipProps(m));var y=Sy(t,[],["disabled"]);h&&Fg(t,h);var b=function(r){return z.createElement("div",em({},y,{"data-ktp-target":r?r["data-ktp-target"]:void 0,role:p||"button","aria-disabled":a,"aria-haspopup":!0,"aria-expanded":!g,"aria-pressed":f?!!s:void 0,"aria-describedby":sv(t["aria-describedby"],r?r["aria-describedby"]:void 0),className:v&&v.splitButtonContainer,onKeyDown:n._onSplitButtonContainerKeyDown,onTouchStart:n._onTouchStart,ref:n._splitButtonContainer,"data-is-focusable":!0,onClick:a||c?void 0:n._onSplitButtonPrimaryClick,tabIndex:!a&&!c||l?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:n._onSplitContainerFocusCapture}),z.createElement("span",{style:{display:"flex",width:"100%"}},n._onRenderContent(e,t),n._onRenderSplitButtonMenuButton(v,r),n._onRenderSplitButtonDivider(v)))};return m?z.createElement(ok,{keytipProps:m,disabled:a},function(e){return b(e)}):b()},t.prototype._onRenderSplitButtonDivider=function(e){if(e&&e.divider){return z.createElement("span",{className:e.divider,"aria-hidden":!0,onClick:function(e){e.stopPropagation()}})}return null},t.prototype._onRenderSplitButtonMenuButton=function(e,n){var r=this.props,o=r.allowDisabledFocus,i=r.checked,a=r.disabled,l=r.splitButtonMenuProps,s=r.splitButtonAriaLabel,u=r.primaryDisabled,c=this.state.menuHidden,d=this.props.menuIconProps;void 0===d&&(d={iconName:"ChevronDown"});var f=em(em({},l),{styles:e,checked:i,disabled:a,allowDisabledFocus:o,onClick:this._onMenuClick,menuProps:void 0,iconProps:em(em({},d),{className:this._classNames.menuIcon}),ariaLabel:s,"aria-haspopup":!0,"aria-expanded":!c,"data-is-focusable":!1});return z.createElement(t,em({},f,{"data-ktp-execute-target":n?n["data-ktp-execute-target"]:n,onMouseDown:this._onMouseDown,tabIndex:u&&!o?0:-1}))},t.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(e),"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0,e.state.menuHidden&&e.focus()},500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&(e.which===iv&&(e.altKey||e.metaKey))},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t.contextType=By,t}(z.Component),Uk={outline:0},jk=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}},Kk=Ev(function(e){var t,n,r=e.semanticColors,o=e.effects,i=e.fonts,a=r.buttonBorder,l=r.disabledBackground,s=r.disabledText,u={left:-2,top:-2,bottom:-2,right:-2,outlineColor:"ButtonText"};return{root:[A_(e,{inset:1,highContrastStyle:u,borderColor:"transparent"}),e.fonts.medium,{border:"1px solid "+a,borderRadius:o.roundedCorner2,boxSizing:"border-box",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"0 16px",textDecoration:"none",textAlign:"center",userSelect:"none",":active > span":{position:"relative",left:0,top:0}}],rootDisabled:[A_(e,{inset:1,highContrastStyle:u,borderColor:"transparent"}),{backgroundColor:l,borderColor:l,color:s,cursor:"default",":hover":Uk,":focus":Uk}],iconDisabled:(t={color:s},t[R_]={color:"GrayText"},t),menuIconDisabled:(n={color:s},n[R_]={color:"GrayText"},n),flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:jk(i.mediumPlus.fontSize),menuIcon:jk(i.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:B_}}),qk=Ev(function(e,t){var n,r,o,i,a,l,s,u,c,d,f,p,h,m,g,v,y,b=e.effects,_=e.palette,C=e.semanticColors,S={left:-2,top:-2,bottom:-2,right:-2,border:"none"},w={position:"absolute",width:1,right:31,top:8,bottom:8};return $m({splitButtonContainer:[A_(e,{highContrastStyle:S,inset:2,pointerEvents:"none"}),{display:"inline-flex",".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none",flexGrow:"1"},".ms-Button--primary":(n={borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",flexGrow:"1",":hover":{border:"none"},":active":{border:"none"}},n[R_]=em(em({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{":hover":{backgroundColor:"Highlight",border:"1px solid Highlight",borderRightWidth:"0",color:"HighlightText"},":active":{border:"1px solid Highlight"}}),n),".ms-Button--default + .ms-Button":(r={},r[R_]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":em({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})}},r),'.ms-Button--default + .ms-Button[aria-expanded="true"]':(o={},o[R_]={backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":em({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})},o),".ms-Button--primary + .ms-Button":(i={border:"none"},i[R_]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{borderLeftWidth:"0",backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",".ms-Button-menuIcon":em(em({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"HighlightText"})}},i),'.ms-Button--primary + .ms-Button[aria-expanded="true"]':(a={},a[R_]=em(em({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{".ms-Button-menuIcon":{color:"HighlightText"}}),a),".ms-Button.is-disabled":(l={},l[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},l)}],splitButtonContainerHovered:{".ms-Button--default.is-disabled":(s={backgroundColor:C.buttonBackgroundDisabled,color:C.buttonTextDisabled},s[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},s),".ms-Button--primary.is-disabled":(u={backgroundColor:C.primaryButtonBackgroundDisabled,color:C.primaryButtonTextDisabled},u[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},u)},splitButtonContainerChecked:{".ms-Button--primary":(c={},c[R_]=em({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),c)},splitButtonContainerCheckedHovered:{".ms-Button--primary":(d={},d[R_]=em({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),d)},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:(f={padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:b.roundedCorner2,borderBottomRightRadius:b.roundedCorner2,border:"1px solid ".concat(_.neutralSecondaryAlt),borderLeft:"none",outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:32,marginLeft:-1,marginTop:0,marginRight:0,marginBottom:0},f[R_]={".ms-Button-menuIcon":{color:"WindowText"}},f),splitButtonDivider:em(em({},w),(p={},p[R_]={backgroundColor:"WindowText"},p)),splitButtonDividerDisabled:em(em({},w),(h={},h[R_]={backgroundColor:"GrayText"},h)),splitButtonMenuButtonDisabled:(m={pointerEvents:"none",border:"none",":hover":{cursor:"default"},".ms-Button--primary":(g={},g[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},g),".ms-Button-menuIcon":(v={},v[R_]={color:"GrayText"},v)},m[R_]={color:"GrayText",border:"1px solid GrayText",backgroundColor:"Window"},m),splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:(y={outline:"none",border:"none"},y[R_]=em({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),y),splitButtonMenuFocused:em({},A_(e,{highContrastStyle:S,inset:2}))},t)});var Gk=Ev(function(e,t,n){var r=Kk(e),o=qk(e);return $m(r,{root:{minWidth:"80px",minHeight:"32px"},label:{fontWeight:kb.semibold}},n?function(e){var t,n,r,o,i,a,l,s,u,c=e.palette,d=e.semanticColors;return{root:(t={backgroundColor:d.primaryButtonBackground,border:"1px solid ".concat(d.primaryButtonBackground),color:d.primaryButtonText},t[R_]=em({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t[".".concat(Py," &:focus, :host(.").concat(Py,") &:focus")]={":after":{border:"none",outlineColor:c.white}},t),rootHovered:(n={backgroundColor:d.primaryButtonBackgroundHovered,border:"1px solid ".concat(d.primaryButtonBackgroundHovered),color:d.primaryButtonTextHovered},n[R_]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},n),rootPressed:(r={backgroundColor:d.primaryButtonBackgroundPressed,border:"1px solid ".concat(d.primaryButtonBackgroundPressed),color:d.primaryButtonTextPressed},r[R_]=em({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r),rootExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootChecked:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootDisabled:(o={color:d.primaryButtonTextDisabled,backgroundColor:d.primaryButtonBackgroundDisabled},o[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},o),splitButtonContainer:(i={},i[R_]={border:"none"},i),splitButtonDivider:em(em({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(a={backgroundColor:c.white},a[R_]={backgroundColor:"Window"},a)),splitButtonMenuButton:(l={backgroundColor:d.primaryButtonBackground,color:d.primaryButtonText},l[R_]={backgroundColor:"Canvas"},l[":hover"]=(s={backgroundColor:d.primaryButtonBackgroundHovered},s[R_]={color:"Highlight"},s),l),splitButtonMenuButtonDisabled:{backgroundColor:d.primaryButtonBackgroundDisabled,":hover":{backgroundColor:d.primaryButtonBackgroundDisabled}},splitButtonMenuButtonChecked:{backgroundColor:d.primaryButtonBackgroundPressed,":hover":{backgroundColor:d.primaryButtonBackgroundPressed}},splitButtonMenuButtonExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,":hover":{backgroundColor:d.primaryButtonBackgroundPressed}},splitButtonMenuIcon:{color:d.primaryButtonText},splitButtonMenuIconDisabled:(u={color:c.neutralTertiary},u[R_]={color:"GrayText"},u)}}(e):function(e){var t,n,r,o,i,a=e.semanticColors,l=e.palette,s=a.buttonBackground,u=a.buttonBackgroundPressed,c=a.buttonBackgroundHovered,d=a.buttonBackgroundDisabled,f=a.buttonText,p=a.buttonTextHovered,h=a.buttonTextDisabled,m=a.buttonTextChecked,g=a.buttonTextCheckedHovered;return{root:{backgroundColor:s,color:f},rootHovered:(t={backgroundColor:c,color:p},t[R_]={borderColor:"Highlight",color:"Highlight"},t),rootPressed:{backgroundColor:u,color:m},rootExpanded:{backgroundColor:u,color:m},rootChecked:{backgroundColor:u,color:m},rootCheckedHovered:{backgroundColor:u,color:g},rootDisabled:(n={color:h,backgroundColor:d},n[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},n),splitButtonContainer:(r={},r[R_]={border:"none"},r),splitButtonMenuButton:{color:l.white,backgroundColor:"transparent",":hover":(o={backgroundColor:l.neutralLight},o[R_]={color:"Highlight"},o)},splitButtonMenuButtonDisabled:{backgroundColor:a.buttonBackgroundDisabled,":hover":{backgroundColor:a.buttonBackgroundDisabled}},splitButtonDivider:em(em({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(i={backgroundColor:l.neutralTertiaryAlt},i[R_]={backgroundColor:"WindowText"},i)),splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:l.neutralQuaternaryAlt,":hover":{backgroundColor:l.neutralQuaternaryAlt}},splitButtonMenuButtonExpanded:{backgroundColor:l.neutralQuaternaryAlt,":hover":{backgroundColor:l.neutralQuaternaryAlt}},splitButtonMenuIcon:{color:a.buttonText},splitButtonMenuIconDisabled:{color:a.buttonTextDisabled}}}(e),o,t)}),$k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,r=e.styles,o=e.theme;return z.createElement(Wk,em({},this.props,{variantClassName:n?"ms-Button--primary":"ms-Button--default",styles:Gk(o,r,n),onRenderDescription:Bg}))},t=nm([ny("DefaultButton",["theme","styles"],!0)],t)}(z.Component),Qk=Ev(function(e,t){var n,r,o;return $m(Kk(e),{root:(n={padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},n[R_]={borderColor:"Window"},n),rootHovered:(r={color:e.palette.themePrimary},r[R_]={color:"Highlight"},r),iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:(o={color:e.palette.neutralTertiary,backgroundColor:"transparent",borderColor:"transparent"},o[R_]={color:"GrayText"},o),rootChecked:{color:e.palette.black},iconChecked:{color:e.palette.themeDarker},flexContainer:{justifyContent:"flex-start"},icon:{color:e.palette.themeDarkAlt},iconDisabled:{color:"inherit"},menuIcon:{color:e.palette.neutralSecondary},textContainer:{flexGrow:0}},t)}),Zk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return z.createElement(Wk,em({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:Qk(n,t),onRenderDescription:Bg}))},t=nm([ny("ActionButton",["theme","styles"],!0)],t)}(z.Component),Yk=Ev(function(e,t){var n,r=Kk(e),o=qk(e),i=e.palette;return $m(r,{root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:(n={color:i.themeDarkAlt,backgroundColor:i.neutralLighter},n[R_]={borderColor:"Highlight",color:"Highlight"},n),rootHasMenu:{width:"auto"},rootPressed:{color:i.themeDark,backgroundColor:i.neutralLight},rootExpanded:{color:i.themeDark,backgroundColor:i.neutralLight},rootChecked:{color:i.themeDark,backgroundColor:i.neutralLight},rootCheckedHovered:{color:i.themeDark,backgroundColor:i.neutralQuaternaryAlt},rootDisabled:{color:i.neutralTertiaryAlt}},o,t)}),Jk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return z.createElement(Wk,em({},this.props,{variantClassName:"ms-Button--icon",styles:Yk(n,t),onRenderText:Bg,onRenderDescription:Bg}))},t=nm([ny("IconButton",["theme","styles"],!0)],t)}(z.Component),Xk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(t,e),t.prototype.render=function(){return z.createElement($k,em({},this.props,{primary:!0,onRenderDescription:Bg}))},t=nm([ny("PrimaryButton",["theme","styles"],!0)],t)}(z.Component),ex=Zk,tx=vv(),nx=z.forwardRef(function(e,t){var n=e.disabled,r=e.required,o=e.inputProps,i=e.name,a=e.ariaLabel,l=e.ariaLabelledBy,s=e.ariaDescribedBy,u=e.ariaPositionInSet,c=e.ariaSetSize,d=e.title,f=e.checkmarkIconProps,p=e.styles,h=e.theme,m=e.className,g=e.boxSide,v=void 0===g?"start":g,y=JC("checkbox-",e.id),b=z.useRef(null),_=XC(b,t),C=z.useRef(null),S=ZC(e.checked,e.defaultChecked,e.onChange),w=S[0],k=S[1],x=ZC(e.indeterminate,e.defaultIndeterminate),E=x[0],F=x[1];zy(b);var I=tx(p,{theme:h,className:m,disabled:n,indeterminate:E,checked:w,reversed:"start"!==v,isUsingCustomLabelRender:!!e.onRenderLabel}),T=z.useCallback(function(e){E?(k(!!w,e),F(!1)):k(!w,e)},[k,F,E,w]),P=z.useCallback(function(e){return e&&e.label?z.createElement("span",{className:I.text,title:e.title},e.label):null},[I.text]),R=z.useCallback(function(e){if(C.current){var t=!!e;C.current.indeterminate=t,F(t)}},[F]);!function(e,t,n,r,o){z.useImperativeHandle(e.componentRef,function(){return{get checked(){return!!t},get indeterminate(){return!!n},set indeterminate(e){r(e)},focus:function(){o.current&&o.current.focus()}}},[o,t,n,r])}(e,w,E,R,C),z.useEffect(function(){return R(E)},[R,E]);var D=e.onRenderLabel||P,M=E?"mixed":void 0,O=em(em({className:I.input,type:"checkbox"},o),{checked:!!w,disabled:n,required:r,name:i,id:y,title:d,onChange:T,"aria-disabled":n,"aria-label":a,"aria-labelledby":l,"aria-describedby":s,"aria-posinset":u,"aria-setsize":c,"aria-checked":M});return z.createElement("div",{className:I.root,title:d,ref:_},z.createElement("input",em({},O,{ref:C,title:d,"data-ktp-execute-target":!0})),z.createElement("label",{className:I.label,htmlFor:y},z.createElement("div",{className:I.checkbox,"data-ktp-target":!0},z.createElement(sw,em({iconName:"CheckMark"},f,{className:I.checkmark}))),D(e,P)))});nx.displayName="CheckboxBase";var rx={root:"ms-Checkbox",label:"ms-Checkbox-label",checkbox:"ms-Checkbox-checkbox",checkmark:"ms-Checkbox-checkmark",text:"ms-Checkbox-text"},ox="20px",ix="200ms",ax="cubic-bezier(.4, 0, .23, 1)",lx=ob(nx,function(e){var t,n,r,o,i,a,l,s,u,c,d,f,p,h,m,g,v,y,b=e.className,_=e.theme,C=e.reversed,S=e.checked,w=e.disabled,k=e.isUsingCustomLabelRender,x=e.indeterminate,E=_.semanticColors,F=_.effects,I=_.palette,T=_.fonts,P=H_(rx,_),R=E.inputForegroundChecked,D=I.neutralSecondary,M=I.neutralPrimary,O=E.inputBackgroundChecked,A=E.inputBackgroundChecked,L=E.disabledBodySubtext,N=E.inputBorderHovered,B=E.inputBackgroundCheckedHovered,z=E.inputBackgroundChecked,H=E.inputBackgroundCheckedHovered,V=E.inputBackgroundCheckedHovered,W=E.inputTextHovered,U=E.disabledBodySubtext,j=E.bodyText,K=E.disabledText,q=[(t={content:'""',borderRadius:F.roundedCorner2,position:"absolute",width:10,height:10,top:4,left:4,boxSizing:"border-box",borderWidth:5,borderStyle:"solid",borderColor:w?L:O,transitionProperty:"border-width, border, border-color",transitionDuration:ix,transitionTimingFunction:ax},t[R_]={borderColor:"WindowText"},t)];return{root:[P.root,{position:"relative",display:"flex"},C&&"reversed",S&&"is-checked",!w&&"is-enabled",w&&"is-disabled",!w&&[!S&&(n={},n[":hover .".concat(P.checkbox)]=(r={borderColor:N},r[R_]={borderColor:"Highlight"},r),n[":focus .".concat(P.checkbox)]={borderColor:N},n[":hover .".concat(P.checkmark)]=(o={color:D,opacity:"1"},o[R_]={color:"Highlight"},o),n),S&&!x&&(i={},i[":hover .".concat(P.checkbox)]={background:H,borderColor:V},i[":focus .".concat(P.checkbox)]={background:H,borderColor:V},i[R_]=(a={},a[":hover .".concat(P.checkbox)]={background:"Highlight",borderColor:"Highlight"},a[":focus .".concat(P.checkbox)]={background:"Highlight"},a[":focus:hover .".concat(P.checkbox)]={background:"Highlight"},a[":focus:hover .".concat(P.checkmark)]={color:"Window"},a[":hover .".concat(P.checkmark)]={color:"Window"},a),i),x&&(l={},l[":hover .".concat(P.checkbox,", :hover .").concat(P.checkbox,":after")]=(s={borderColor:B},s[R_]={borderColor:"WindowText"},s),l[":focus .".concat(P.checkbox)]={borderColor:B},l[":hover .".concat(P.checkmark)]={opacity:"0"},l),(u={},u[":hover .".concat(P.text,", :focus .").concat(P.text)]=(c={color:W},c[R_]={color:w?"GrayText":"WindowText"},c),u)],b],input:(d={position:"absolute",background:"none",opacity:0},d[".".concat(Py," &:focus + label::before, :host(.").concat(Py,") &:focus + label::before")]=(f={outline:"1px solid "+_.palette.neutralSecondary,outlineOffset:"2px"},f[R_]={outline:"1px solid WindowText"},f),d),label:[P.label,_.fonts.medium,{display:"flex",alignItems:k?"center":"flex-start",cursor:w?"default":"pointer",position:"relative",userSelect:"none"},C&&{flexDirection:"row-reverse",justifyContent:"flex-end"},{"&::before":{position:"absolute",left:0,right:0,top:0,bottom:0,content:'""',pointerEvents:"none"}}],checkbox:[P.checkbox,(p={position:"relative",display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",height:ox,width:ox,border:"1px solid ".concat(M),borderRadius:F.roundedCorner2,boxSizing:"border-box",transitionProperty:"background, border, border-color",transitionDuration:ix,transitionTimingFunction:ax,overflow:"hidden",":after":x?q:null},p[R_]=em({borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),p),x&&{borderColor:O},C?{marginLeft:4}:{marginRight:4},!w&&!x&&S&&(h={background:z,borderColor:A},h[R_]={background:"Highlight",borderColor:"Highlight"},h),w&&(m={borderColor:L},m[R_]={borderColor:"GrayText"},m),S&&w&&(g={background:U,borderColor:L},g[R_]={background:"Window"},g)],checkmark:[P.checkmark,(v={opacity:S&&!x?"1":"0",color:R},v[R_]=em({color:w?"GrayText":"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),v)],text:[P.text,(y={color:w?K:j,fontSize:T.medium.fontSize,lineHeight:"20px"},y[R_]=em({color:w?"GrayText":"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),y),C?{marginRight:4}:{marginLeft:4}]}},void 0,{scope:"Checkbox"}),sx=vv({cacheSize:100}),ux=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.as,n=void 0===t?"label":t,r=e.children,o=e.className,i=e.disabled,a=e.styles,l=e.required,s=e.theme,u=sx(a,{className:o,disabled:i,required:l,theme:s});return z.createElement(n,em({},Sy(this.props,Cy),{className:u.root}),r)},t}(z.Component),cx=ob(ux,function(e){var t,n=e.theme,r=e.className,o=e.disabled,i=e.required,a=n.semanticColors,l=kb.semibold,s=a.bodyText,u=a.disabledBodyText,c=a.errorText;return{root:["ms-Label",n.fonts.medium,{fontWeight:l,color:s,boxSizing:"border-box",boxShadow:"none",margin:0,display:"block",padding:"5px 0",wordWrap:"break-word",overflowWrap:"break-word"},o&&{color:u,selectors:(t={},t[R_]=em({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},i&&{selectors:{"::after":{content:"' *'",color:c,paddingRight:12}}},r]}},void 0,{scope:"Label"}),dx=vv(),fx={imageSize:{width:32,height:32}},px=function(e){var t=ab(em(em({},fx),{key:e.itemKey}),e),n=t.ariaLabel,r=t.focused,o=t.required,i=t.theme,a=t.iconProps,l=t.imageSrc,s=t.imageSize,u=t.disabled,c=t.checked,d=t.id,f=t.styles,p=t.name,h=tm(t,["ariaLabel","focused","required","theme","iconProps","imageSrc","imageSize","disabled","checked","id","styles","name"]),m=dx(f,{theme:i,hasIcon:!!a,hasImage:!!l,checked:c,disabled:u,imageIsLarge:!!l&&(s.width>71||s.height>71),imageSize:s,focused:r}),g=Sy(h,vy),v=g.className,y=tm(g,["className"]),b=function(){return z.createElement("span",{id:t.labelId,className:"ms-ChoiceFieldLabel"},t.text)},_=function(){var e=t.imageAlt,n=void 0===e?"":e,r=t.selectedImageSrc,o=(t.onRenderLabel?nb(t.onRenderLabel,b):b)(em(em({},t),{key:t.itemKey}));return z.createElement("label",{htmlFor:d,className:m.field},l&&z.createElement("div",{className:m.innerField},z.createElement("div",{className:m.imageWrapper},z.createElement(tw,em({src:l,alt:n},s))),z.createElement("div",{className:m.selectedImageWrapper},z.createElement(tw,em({src:r,alt:n},s)))),a&&z.createElement("div",{className:m.innerField},z.createElement("div",{className:m.iconWrapper},z.createElement(sw,em({},a)))),l||a?z.createElement("div",{className:m.labelWrapper},o):o)},C=t.onRenderField,S=void 0===C?_:C;return z.createElement("div",{className:m.root},z.createElement("div",{className:m.choiceFieldWrapper},z.createElement("input",em({"aria-label":n,id:d,className:Dv(m.input,v),type:"radio",name:p,disabled:u,checked:c,required:o},y,{onChange:function(e){var n;null===(n=t.onChange)||void 0===n||n.call(t,e,em(em({},t),{key:t.itemKey}))},onFocus:function(e){var n;null===(n=t.onFocus)||void 0===n||n.call(t,e,em(em({},t),{key:t.itemKey}))},onBlur:function(e){var n;null===(n=t.onBlur)||void 0===n||n.call(t,e)}})),S(em(em({},t),{key:t.itemKey}),_)))};px.displayName="ChoiceGroupOption";var hx={root:"ms-ChoiceField",choiceFieldWrapper:"ms-ChoiceField-wrapper",input:"ms-ChoiceField-input",field:"ms-ChoiceField-field",innerField:"ms-ChoiceField-innerField",imageWrapper:"ms-ChoiceField-imageWrapper",iconWrapper:"ms-ChoiceField-iconWrapper",labelWrapper:"ms-ChoiceField-labelWrapper",checked:"is-checked"},mx="200ms",gx="cubic-bezier(.4, 0, .23, 1)";function vx(e,t){var n,r;return["is-inFocus",{selectors:(n={},n[".".concat(Py," &, :host(.").concat(Py,") &")]={position:"relative",outline:"transparent",selectors:{"::-moz-focus-inner":{border:0},":after":{content:'""',top:-2,right:-2,bottom:-2,left:-2,pointerEvents:"none",border:"1px solid ".concat(e),position:"absolute",selectors:(r={},r[R_]={borderColor:"WindowText",borderWidth:t?1:2},r)}}},n)}]}function yx(e,t,n){return[t,{paddingBottom:2,transitionProperty:"opacity",transitionDuration:mx,transitionTimingFunction:"ease",selectors:{".ms-Image":{display:"inline-block",borderStyle:"none"}}},(n?!e:e)&&["is-hidden",{position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",opacity:0}]]}var bx=ob(px,function(e){var t,n,r,o,i,a=e.theme,l=e.hasIcon,s=e.hasImage,u=e.checked,c=e.disabled,d=e.imageIsLarge,f=e.focused,p=e.imageSize,h=a.palette,m=a.semanticColors,g=a.fonts,v=H_(hx,a),y=h.neutralPrimary,b=m.inputBorderHovered,_=m.inputBackgroundChecked,C=h.themeDark,S=m.disabledBodySubtext,w=m.bodyBackground,k=h.neutralSecondary,x=m.inputBackgroundChecked,E=h.themeDark,F=m.disabledBodySubtext,I=h.neutralDark,T=m.focusBorder,P=m.inputBorderHovered,R=m.inputBackgroundChecked,D=h.themeDark,M=h.neutralLighter,O={selectors:{".ms-ChoiceFieldLabel":{color:I},":before":{borderColor:u?C:b},":after":[!l&&!s&&!u&&{content:'""',transitionProperty:"background-color",left:5,top:5,width:10,height:10,backgroundColor:k},u&&{borderColor:E,background:E}]}},A={borderColor:u?D:P,selectors:{":before":{opacity:1,borderColor:u?C:b}}},L=[{content:'""',display:"inline-block",backgroundColor:w,borderWidth:1,borderStyle:"solid",borderColor:y,width:20,height:20,fontWeight:"normal",position:"absolute",top:0,left:0,boxSizing:"border-box",transitionProperty:"border-color",transitionDuration:mx,transitionTimingFunction:gx,borderRadius:"50%"},c&&{borderColor:S,selectors:(t={},t[R_]=em({borderColor:"GrayText",background:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},u&&{borderColor:c?S:_,selectors:(n={},n[R_]={borderColor:"Highlight",background:"Window",forcedColorAdjust:"none"},n)},(l||s)&&{top:3,right:3,left:"auto",opacity:u?1:0}],N=[{content:'""',width:0,height:0,borderRadius:"50%",position:"absolute",left:10,right:0,transitionProperty:"border-width",transitionDuration:mx,transitionTimingFunction:gx,boxSizing:"border-box"},u&&{borderWidth:5,borderStyle:"solid",borderColor:c?F:x,background:x,left:5,top:5,width:10,height:10,selectors:(r={},r[R_]={borderColor:"Highlight",forcedColorAdjust:"none"},r)},u&&(l||s)&&{top:8,right:8,left:"auto"}];return{root:[v.root,a.fonts.medium,{display:"flex",alignItems:"center",boxSizing:"border-box",color:m.bodyText,minHeight:26,border:"none",position:"relative",marginTop:8,selectors:{".ms-ChoiceFieldLabel":{display:"inline-block"}}},!l&&!s&&{selectors:{".ms-ChoiceFieldLabel":{paddingLeft:"26px"}}},s&&"ms-ChoiceField--image",l&&"ms-ChoiceField--icon",(l||s)&&{display:"inline-flex",fontSize:0,margin:"0 4px 4px 0",paddingLeft:0,backgroundColor:M,height:"100%"}],choiceFieldWrapper:[v.choiceFieldWrapper,f&&vx(T,l||s)],input:[v.input,{position:"absolute",opacity:0,top:0,right:0,width:"100%",height:"100%",margin:0},c&&"is-disabled"],field:[v.field,u&&v.checked,{display:"inline-block",cursor:"pointer",marginTop:0,position:"relative",verticalAlign:"top",userSelect:"none",minHeight:20,selectors:{":hover":!c&&O,":focus":!c&&O,":before":L,":after":N}},l&&"ms-ChoiceField--icon",s&&"ms-ChoiceField-field--image",(l||s)&&{boxSizing:"content-box",cursor:"pointer",paddingTop:22,margin:0,textAlign:"center",transitionProperty:"all",transitionDuration:mx,transitionTimingFunction:"ease",border:"1px solid transparent",justifyContent:"center",alignItems:"center",display:"flex",flexDirection:"column"},u&&{borderColor:R},(l||s)&&!c&&{selectors:{":hover":A,":focus":A}},c&&{cursor:"default",selectors:{".ms-ChoiceFieldLabel":{color:m.disabledBodyText,selectors:(o={},o[R_]=em({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)}}},u&&c&&{borderColor:M}],innerField:[v.innerField,s&&{height:p.height,width:p.width},(l||s)&&{position:"relative",display:"inline-block",paddingLeft:30,paddingRight:30},(l||s)&&d&&{paddingLeft:24,paddingRight:24},(l||s)&&c&&{opacity:.25,selectors:(i={},i[R_]={color:"GrayText",opacity:1},i)}],imageWrapper:yx(!1,v.imageWrapper,u),selectedImageWrapper:yx(!0,v.imageWrapper,u),iconWrapper:[v.iconWrapper,{fontSize:32,lineHeight:32,height:32}],labelWrapper:[v.labelWrapper,g.medium,(l||s)&&{display:"block",position:"relative",margin:"4px 8px 2px 8px",height:32,lineHeight:15,maxWidth:2*p.width,overflow:"hidden",whiteSpace:"pre-wrap"}]}},void 0,{scope:"ChoiceGroupOption"}),_x=vv(),Cx=function(e,t){return"".concat(t,"-").concat(e.key)},Sx=function(e,t){return void 0===t?void 0:function(e,t){var n=uv(e,t);if(!(n<0))return e[n]}(e,function(e){return e.key===t})},wx=function(e,t,n,r,o){var i=Sx(e,t)||e.filter(function(e){return!e.disabled})[0],a=i&&(null==o?void 0:o.getElementById(Cx(i,n)));a&&(a.focus(),My(!0,a,r))},kx=function(e,t,n,r,o){var i=function(){var e;return null!==(e=Xv())&&void 0!==e?e:"undefined"!=typeof document?document:void 0}();z.useImperativeHandle(r,function(){return{get checkedOption(){return Sx(e,t)},focus:function(){wx(e,t,n,o,i)}}},[e,t,n,o,i])},xx=z.forwardRef(function(e,t){var n=e.className,r=e.theme,o=e.styles,i=e.options,a=void 0===i?[]:i,l=e.label,s=e.required,u=e.disabled,c=e.name,d=e.defaultSelectedKey,f=e.componentRef,p=e.onChange,h=JC("ChoiceGroup"),m=JC("ChoiceGroupLabel"),g=Sy(e,Cy,["onChange","className","required"]),v=_x(o,{theme:r,className:n,optionsContainIconOrImage:a.some(function(e){return!(!e.iconProps&&!e.imageSrc)})}),y=e.ariaLabelledBy||(l?m:e["aria-labelledby"]),b=ZC(e.selectedKey,d),_=b[0],C=b[1],S=z.useState(),w=S[0],k=S[1],x=z.useRef(null),E=XC(x,t),F=z.useContext(By);kx(a,_,h,f,null==F?void 0:F.registeredProviders),zy(x);var I=z.useCallback(function(e,t){var n;t&&(k(t.itemKey),null===(n=t.onFocus)||void 0===n||n.call(t,e))},[]),T=z.useCallback(function(e,t){var n;k(void 0),null===(n=null==t?void 0:t.onBlur)||void 0===n||n.call(t,e)},[]),P=z.useCallback(function(e,t){var n;t&&(C(t.itemKey),null===(n=t.onChange)||void 0===n||n.call(t,e),null==p||p(e,Sx(a,t.itemKey)))},[p,a,C]),R=z.useCallback(function(e){(function(e){return e.relatedTarget instanceof HTMLElement&&"true"===e.relatedTarget.dataset.isFocusTrapZoneBumper})(e)&&wx(a,_,h,null==F?void 0:F.registeredProviders)},[a,_,h,F]);return z.createElement("div",em({className:v.root},g,{ref:E}),z.createElement("div",em({role:"radiogroup"},y&&{"aria-labelledby":y},{onFocus:R}),l&&z.createElement(cx,{className:v.label,required:s,id:m,disabled:u},l),z.createElement("div",{className:v.flexContainer},a.map(function(e){return z.createElement(bx,em({itemKey:e.key},e,{key:e.key,onBlur:T,onFocus:I,onChange:P,focused:e.key===w,checked:e.key===_,disabled:e.disabled||u,id:Cx(e,h),labelId:e.labelId||"".concat(m,"-").concat(e.key),name:c||h,required:s}))}))))});xx.displayName="ChoiceGroup";var Ex,Fx={root:"ms-ChoiceFieldGroup",flexContainer:"ms-ChoiceFieldGroup-flexContainer"},Ix=ob(xx,function(e){var t=e.className,n=e.optionsContainIconOrImage,r=e.theme,o=H_(Fx,r);return{root:[t,o.root,r.fonts.medium,{display:"block"}],flexContainer:[o.flexContainer,n&&{display:"flex",flexDirection:"row",flexWrap:"wrap"}]}},void 0,{scope:"ChoiceGroup"}),Tx=vv(),Px="TextField",Rx=function(e){function t(t){var n=e.call(this,t)||this;n._textElement=z.createRef(),n._onFocus=function(e){n.props.onFocus&&n.props.onFocus(e),n.setState({isFocused:!0},function(){n.props.validateOnFocusIn&&n._validate(n.value)})},n._onBlur=function(e){n.props.onBlur&&n.props.onBlur(e),n.setState({isFocused:!1},function(){n.props.validateOnFocusOut&&n._validate(n.value)})},n._onRenderLabel=function(e){var t=e.label,r=e.required,o=n._classNames.subComponentStyles?n._classNames.subComponentStyles.label:void 0;return t?z.createElement(cx,{required:r,htmlFor:n._id,styles:o,disabled:e.disabled,id:n._labelId},e.label):null},n._onRenderDescription=function(e){return e.description?z.createElement("span",{className:n._classNames.description},e.description):null},n._onRevealButtonClick=function(e){n.setState(function(e){return{isRevealingPassword:!e.isRevealingPassword}})},n._onInputChange=function(e){var t,r,o=e.target.value,i=Dx(n.props,n.state)||"";void 0!==o&&o!==n._lastChangeValue&&o!==i?(n._lastChangeValue=o,null===(r=(t=n.props).onChange)||void 0===r||r.call(t,e,o),n._isControlled||n.setState({uncontrolledValue:o})):n._lastChangeValue=void 0},wy(n),n._async=new rg(n),n._fallbackId=sy(Px),n._descriptionId=sy(Px+"Description"),n._labelId=sy(Px+"Label"),n._prefixId=sy(Px+"Prefix"),n._suffixId=sy(Px+"Suffix"),n._warnControlledUsage();var r=t.defaultValue,o=void 0===r?"":r;return"number"==typeof o&&(o=String(o)),n.state={uncontrolledValue:n._isControlled?void 0:o,isFocused:!1,errorMessage:""},n._delayedValidate=n._async.debounce(n._validate,n.props.deferredValidationTime),n._lastValidation=0,n}return Xh(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return Dx(this.props,this.state)},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._adjustInputHeight(),this.props.validateOnLoad&&this._validate(this.value)},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.getSnapshotBeforeUpdate=function(e,t){return{selection:[this.selectionStart,this.selectionEnd]}},t.prototype.componentDidUpdate=function(e,t,n){var r=this.props,o=(n||{}).selection,i=void 0===o?[null,null]:o,a=i[0],l=i[1];!!e.multiline!=!!r.multiline&&t.isFocused&&(this.focus(),null!==a&&null!==l&&a>=0&&l>=0&&this.setSelectionRange(a,l)),e.value!==r.value&&(this._lastChangeValue=void 0);var s=Dx(e,t),u=this.value;s!==u&&(this._warnControlledUsage(e),this.state.errorMessage&&!r.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),Mx(r)&&this._delayedValidate(u))},t.prototype.render=function(){var e=this.props,t=e.borderless,n=e.className,r=e.disabled,o=e.invalid,i=e.iconProps,a=e.inputClassName,l=e.label,s=e.multiline,u=e.required,c=e.underlined,d=e.prefix,f=e.resizable,p=e.suffix,h=e.theme,m=e.styles,g=e.autoAdjustHeight,v=e.canRevealPassword,y=e.revealPasswordAriaLabel,b=e.type,_=e.onRenderPrefix,C=void 0===_?this._onRenderPrefix:_,S=e.onRenderSuffix,w=void 0===S?this._onRenderSuffix:S,k=e.onRenderLabel,x=void 0===k?this._onRenderLabel:k,E=e.onRenderDescription,F=void 0===E?this._onRenderDescription:E,I=this.state,T=I.isFocused,P=I.isRevealingPassword,R=this._errorMessage,D="boolean"==typeof o?o:!!R,M=!!v&&"password"===b&&function(){if("boolean"!=typeof Ex){var e=ng();if(null==e?void 0:e.navigator){var t=/Edg/.test(e.navigator.userAgent||"");Ex=!(ib()||t)}else Ex=!0}return Ex}(),O=this._classNames=Tx(m,{theme:h,className:n,disabled:r,focused:T,required:u,multiline:s,hasLabel:!!l,hasErrorMessage:D,borderless:t,resizable:f,hasIcon:!!i,underlined:c,inputClassName:a,autoAdjustHeight:g,hasRevealButton:M});return z.createElement("div",{ref:this.props.elementRef,className:O.root},z.createElement("div",{className:O.wrapper},x(this.props,this._onRenderLabel),z.createElement("div",{className:O.fieldGroup},(void 0!==d||this.props.onRenderPrefix)&&z.createElement("div",{className:O.prefix,id:this._prefixId},C(this.props,this._onRenderPrefix)),s?this._renderTextArea():this._renderInput(),i&&z.createElement(sw,em({className:O.icon},i)),M&&z.createElement("button",{"aria-label":y,className:O.revealButton,onClick:this._onRevealButtonClick,"aria-pressed":!!P,type:"button"},z.createElement("span",{className:O.revealSpan},z.createElement(sw,{className:O.revealIcon,iconName:P?"Hide":"RedEye"}))),(void 0!==p||this.props.onRenderSuffix)&&z.createElement("div",{className:O.suffix,id:this._suffixId},w(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&z.createElement("span",{id:this._descriptionId},F(this.props,this._onRenderDescription),R&&z.createElement("div",{role:"alert"},z.createElement(zg,null,this._renderErrorMessage()))))},t.prototype.focus=function(){this._textElement.current&&this._textElement.current.focus()},t.prototype.blur=function(){this._textElement.current&&this._textElement.current.blur()},t.prototype.select=function(){this._textElement.current&&this._textElement.current.select()},t.prototype.setSelectionStart=function(e){this._textElement.current&&(this._textElement.current.selectionStart=e)},t.prototype.setSelectionEnd=function(e){this._textElement.current&&(this._textElement.current.selectionEnd=e)},Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._textElement.current?this._textElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),t.prototype.setSelectionRange=function(e,t){this._textElement.current&&this._textElement.current.setSelectionRange(e,t)},t.prototype._warnControlledUsage=function(e){this._id,this.props,null!==this.props.value||this._hasWarnedNullValue||(this._hasWarnedNullValue=!0,Lg("Warning: 'value' prop on '".concat(Px,"' should not be null. Consider using an ")+"empty string to clear the component or undefined to indicate an uncontrolled component."))},Object.defineProperty(t.prototype,"_id",{get:function(){return this.props.id||this._fallbackId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_isControlled",{get:function(){return void 0!==(e=this.props)[t="value"]&&null!==e[t];var e,t},enumerable:!1,configurable:!0}),t.prototype._onRenderPrefix=function(e){var t=e.prefix;return z.createElement("span",{style:{paddingBottom:"1px"}},t)},t.prototype._onRenderSuffix=function(e){var t=e.suffix;return z.createElement("span",{style:{paddingBottom:"1px"}},t)},Object.defineProperty(t.prototype,"_errorMessage",{get:function(){var e=this.props.errorMessage;return(void 0===e?this.state.errorMessage:e)||""},enumerable:!1,configurable:!0}),t.prototype._renderErrorMessage=function(){var e=this._errorMessage;return e?"string"==typeof e?z.createElement("p",{className:this._classNames.errorMessage},z.createElement("span",{"data-automation-id":"error-message"},e)):z.createElement("div",{className:this._classNames.errorMessage,"data-automation-id":"error-message"},e):null},Object.defineProperty(t.prototype,"_isDescriptionAvailable",{get:function(){var e=this.props;return!!(e.onRenderDescription||e.description||this._errorMessage)},enumerable:!1,configurable:!0}),t.prototype._renderTextArea=function(){var e=this.props.invalid,t=void 0===e?!!this._errorMessage:e,n=Sy(this.props,yy,["defaultValue"]),r=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return z.createElement("textarea",em({id:this._id},n,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-labelledby":r,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":t,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._renderInput=function(){var e=this.props,t=e.ariaLabel,n=e.invalid,r=void 0===n?!!this._errorMessage:n,o=e.onRenderPrefix,i=e.onRenderSuffix,a=e.prefix,l=e.suffix,s=e.type,u=void 0===s?"text":s,c=[];e.label&&c.push(this._labelId),(void 0!==a||o)&&c.push(this._prefixId),(void 0!==l||i)&&c.push(this._suffixId);var d=em(em({type:this.state.isRevealingPassword?"text":u,id:this._id},Sy(this.props,vy,["defaultValue","type"])),{"aria-labelledby":this.props["aria-labelledby"]||(c.length>0?c.join(" "):void 0),ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":t,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":r,onFocus:this._onFocus,onBlur:this._onBlur}),f=function(e){return z.createElement("input",em({},e))};return(this.props.onRenderInput||f)(d,f)},t.prototype._validate=function(e){var t=this;if(this._latestValidateValue!==e||!Mx(this.props)){this._latestValidateValue=e;var n=this.props.onGetErrorMessage,r=n&&n(e||"");if(void 0!==r)if("string"!=typeof r&&"then"in r){var o=++this._lastValidation;r.then(function(n){o===t._lastValidation&&t.setState({errorMessage:n}),t._notifyAfterValidate(e,n)})}else this.setState({errorMessage:r}),this._notifyAfterValidate(e,r);else this._notifyAfterValidate(e,"")}},t.prototype._notifyAfterValidate=function(e,t){e===this.value&&this.props.onNotifyValidationResult&&this.props.onNotifyValidationResult(t,e)},t.prototype._adjustInputHeight=function(){var e,t;if(this._textElement.current&&this.props.autoAdjustHeight&&this.props.multiline){var n=null===(t=null===(e=this.props.scrollContainerRef)||void 0===e?void 0:e.current)||void 0===t?void 0:t.scrollTop,r=this._textElement.current;r.style.height="",r.style.height=r.scrollHeight+"px",n&&(this.props.scrollContainerRef.current.scrollTop=n)}},t.defaultProps={resizable:!0,deferredValidationTime:200,validateOnLoad:!0},t}(z.Component);function Dx(e,t){var n=e.value,r=void 0===n?t.uncontrolledValue:n;return"number"==typeof r?String(r):r}function Mx(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}var Ox={root:"ms-TextField",description:"ms-TextField-description",errorMessage:"ms-TextField-errorMessage",field:"ms-TextField-field",fieldGroup:"ms-TextField-fieldGroup",prefix:"ms-TextField-prefix",suffix:"ms-TextField-suffix",wrapper:"ms-TextField-wrapper",revealButton:"ms-TextField-reveal",multiline:"ms-TextField--multiline",borderless:"ms-TextField--borderless",underlined:"ms-TextField--underlined",unresizable:"ms-TextField--unresizable",required:"is-required",disabled:"is-disabled",active:"is-active"};function Ax(e){var t=e.underlined,n=e.disabled,r=e.focused,o=e.theme,i=o.palette,a=o.fonts;return function(){var e;return{root:[t&&n&&{color:i.neutralTertiary},t&&{fontSize:a.medium.fontSize,marginRight:8,paddingLeft:12,paddingRight:0,lineHeight:"22px",height:32},t&&r&&{selectors:(e={},e[R_]={height:31},e)}]}}}var Lx,Nx,Bx,zx,Hx,Vx=ob(Rx,function(e){var t,n,r,o,i,a,l,s,u,c,d,f,p=e.theme,h=e.className,m=e.disabled,g=e.focused,v=e.required,y=e.multiline,b=e.hasLabel,_=e.borderless,C=e.underlined,S=e.hasIcon,w=e.resizable,k=e.hasErrorMessage,x=e.inputClassName,E=e.autoAdjustHeight,F=e.hasRevealButton,I=p.semanticColors,T=p.effects,P=p.fonts,R=H_(Ox,p),D={background:I.disabledBackground,color:m?I.disabledText:I.inputPlaceholderText,display:"flex",alignItems:"center",padding:"0 10px",lineHeight:1,whiteSpace:"nowrap",flexShrink:0,selectors:(t={},t[R_]={background:"Window",color:m?"GrayText":"WindowText"},t)},M=[{color:I.inputPlaceholderText,opacity:1,selectors:(n={},n[R_]={color:"GrayText"},n)}],O={color:I.disabledText,selectors:(r={},r[R_]={color:"GrayText"},r)};return{root:[R.root,P.medium,v&&R.required,m&&R.disabled,g&&R.active,y&&R.multiline,_&&R.borderless,C&&R.underlined,X_,{position:"relative"},h],wrapper:[R.wrapper,C&&[{display:"flex",borderBottom:"1px solid ".concat(k?I.errorText:I.inputBorder),width:"100%"},m&&{borderBottomColor:I.disabledBackground,selectors:(o={},o[R_]=em({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)},!m&&{selectors:{":hover":{borderBottomColor:k?I.errorText:I.inputBorderHovered,selectors:(i={},i[R_]=em({borderBottomColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}}},g&&[{position:"relative"},N_(k?I.errorText:I.inputFocusBorderAlt,0,"borderBottom")]]],fieldGroup:[R.fieldGroup,X_,{border:"1px solid ".concat(I.inputBorder),borderRadius:T.roundedCorner2,background:I.inputBackground,cursor:"text",height:32,display:"flex",flexDirection:"row",alignItems:"stretch",position:"relative"},y&&{minHeight:"60px",height:"auto",display:"flex"},!g&&!m&&{selectors:{":hover":{borderColor:I.inputBorderHovered,selectors:(a={},a[R_]=em({borderColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a)}}},g&&!C&&N_(k?I.errorText:I.inputFocusBorderAlt,T.roundedCorner2),m&&{borderColor:I.disabledBackground,selectors:(l={},l[R_]=em({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),l),cursor:"default"},_&&{border:"none"},_&&g&&{border:"none",selectors:{":after":{border:"none"}}},C&&{flex:"1 1 0px",border:"none",textAlign:"left"},C&&m&&{backgroundColor:"transparent"},k&&!C&&{borderColor:I.errorText,selectors:{"&:hover":{borderColor:I.errorText}}},!b&&v&&{selectors:(s={":before":{content:"'*'",color:I.errorText,position:"absolute",top:-5,right:-10}},s[R_]={selectors:{":before":{color:"WindowText",right:-14}}},s)}],field:[P.medium,R.field,X_,{borderRadius:0,border:"none",background:"none",backgroundColor:"transparent",color:I.inputText,padding:"0 8px",width:"100%",minWidth:0,textOverflow:"ellipsis",outline:0,selectors:(u={"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"}},u[R_]={background:"Window",color:m?"GrayText":"WindowText"},u)},eC(M),y&&!w&&[R.unresizable,{resize:"none"}],y&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,paddingBottom:6,overflow:"auto",width:"100%"},y&&E&&{overflow:"hidden"},S&&!F&&{paddingRight:24},y&&S&&{paddingRight:40},m&&[{backgroundColor:I.disabledBackground,color:I.disabledText,borderColor:I.disabledBackground},eC(O)],C&&{textAlign:"left"},g&&!_&&{selectors:(c={},c[R_]={paddingLeft:11,paddingRight:11},c)},g&&y&&!_&&{selectors:(d={},d[R_]={paddingTop:4},d)},x],icon:[y&&{paddingRight:24,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:6,right:8,top:"auto",fontSize:xb.medium,lineHeight:18},m&&{color:I.disabledText}],description:[R.description,{color:I.bodySubtext,fontSize:P.xSmall.fontSize}],errorMessage:[R.errorMessage,tC.slideDownIn20,P.small,{color:I.errorText,margin:0,paddingTop:5,display:"flex",alignItems:"center"}],prefix:[R.prefix,D],suffix:[R.suffix,D],revealButton:[R.revealButton,"ms-Button","ms-Button--icon",A_(p,{inset:1}),{height:30,width:32,border:"none",padding:"0px 4px",backgroundColor:"transparent",color:I.link,selectors:{":hover":{outline:0,color:I.primaryButtonBackgroundHovered,backgroundColor:I.buttonBackgroundHovered,selectors:(f={},f[R_]={borderColor:"Highlight",color:"Highlight"},f)},":focus":{outline:0}}},S&&{marginRight:28}],revealSpan:{display:"flex",height:"100%",alignItems:"center"},revealIcon:{margin:"0px 4px",pointerEvents:"none",bottom:6,right:8,top:"auto",fontSize:xb.medium,lineHeight:18},subComponentStyles:{label:Ax(e)}}},void 0,{scope:"TextField"}),Wx=Ev(function(e){var t,n=e.semanticColors;return{backgroundColor:n.disabledBackground,color:n.disabledText,cursor:"default",selectors:(t={":after":{borderColor:n.disabledBackground}},t[R_]={color:"GrayText",selectors:{":after":{borderColor:"GrayText"}}},t)}}),Ux={selectors:(Lx={},Lx[R_]=em({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),Lx)},jx={selectors:(Nx={},Nx[R_]=em({color:"WindowText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),Nx)},Kx=Ev(function(e,t,n,r,o,i){var a,l=e.palette,s=e.semanticColors,u={textHoveredColor:s.menuItemTextHovered,textSelectedColor:l.neutralDark,textDisabledColor:s.disabledText,backgroundHoveredColor:s.menuItemBackgroundHovered,backgroundPressedColor:s.menuItemBackgroundPressed};return $m({root:[e.fonts.medium,{backgroundColor:r?u.backgroundHoveredColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:o?"none":"block",width:"100%",height:"auto",minHeight:36,lineHeight:"20px",padding:"0 8px",position:"relative",borderWidth:"1px",borderStyle:"solid",borderColor:"transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",selectors:em(em((a={},a[R_]={border:"none",borderColor:"Background"},a),!o&&{"&.ms-Checkbox":{display:"flex",alignItems:"center"}}),{"&.ms-Button--command:hover:active":{backgroundColor:u.backgroundPressedColor},".ms-Checkbox-label":{width:"100%"}})},i?[{backgroundColor:"transparent",color:u.textSelectedColor,selectors:{":hover":[{backgroundColor:u.backgroundHoveredColor},Ux]}},A_(e,{inset:-1,isFocusedOnly:!1}),Ux]:[]],rootHovered:{backgroundColor:u.backgroundHoveredColor,color:u.textHoveredColor},rootFocused:{backgroundColor:u.backgroundHoveredColor},rootDisabled:{color:u.textDisabledColor,cursor:"default"},optionText:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:"0px",maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",display:"inline-block"},optionTextWrapper:{maxWidth:"100%",display:"flex",alignItems:"center"}},t,n)}),qx=Ev(function(e,t){var n,r,o=e.semanticColors,i=e.fonts,a={buttonTextColor:o.bodySubtext,buttonTextHoveredCheckedColor:o.buttonTextChecked,buttonBackgroundHoveredColor:o.listItemBackgroundHovered,buttonBackgroundCheckedColor:o.listItemBackgroundChecked,buttonBackgroundCheckedHoveredColor:o.listItemBackgroundCheckedHovered},l={selectors:(n={},n[R_]=em({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)};return $m({root:{color:a.buttonTextColor,fontSize:i.small.fontSize,position:"absolute",top:0,height:"100%",lineHeight:30,width:32,textAlign:"center",cursor:"default",selectors:(r={},r[R_]=em({backgroundColor:"ButtonFace",borderColor:"ButtonText",color:"ButtonText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},icon:{fontSize:i.small.fontSize},rootHovered:[{backgroundColor:a.buttonBackgroundHoveredColor,color:a.buttonTextHoveredCheckedColor,cursor:"pointer"},l],rootPressed:[{backgroundColor:a.buttonBackgroundCheckedColor,color:a.buttonTextHoveredCheckedColor},l],rootChecked:[{backgroundColor:a.buttonBackgroundCheckedColor,color:a.buttonTextHoveredCheckedColor},l],rootCheckedHovered:[{backgroundColor:a.buttonBackgroundCheckedHoveredColor,color:a.buttonTextHoveredCheckedColor},l],rootDisabled:[Wx(e),{position:"absolute"}]},t)}),Gx=Ev(function(e,t,n){var r,o,i,a,l,s,u=e.semanticColors,c=e.fonts,d=e.effects,f={textColor:u.inputText,borderColor:u.inputBorder,borderHoveredColor:u.inputBorderHovered,borderPressedColor:u.inputFocusBorderAlt,borderFocusedColor:u.inputFocusBorderAlt,backgroundColor:u.inputBackground,erroredColor:u.errorText},p={headerTextColor:u.menuHeader,dividerBorderColor:u.bodyDivider},h={selectors:(r={},r[R_]={color:"GrayText"},r)},m=[{color:u.inputPlaceholderText},h],g=[{color:u.inputTextHovered},h],v=[{color:u.disabledText},h],y=em(em({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),b=N_(f.borderPressedColor,d.roundedCorner2,"border",0);return $m({container:{},label:{},labelDisabled:{},root:[e.fonts.medium,{boxShadow:"none",marginLeft:"0",paddingRight:32,paddingLeft:9,color:f.textColor,position:"relative",outline:"0",userSelect:"none",backgroundColor:f.backgroundColor,cursor:"text",display:"block",height:32,whiteSpace:"nowrap",textOverflow:"ellipsis",boxSizing:"border-box",selectors:{".ms-Label":{display:"inline-block",marginBottom:"8px"},"&.is-open":{selectors:(o={},o[R_]=y,o)},":after":{pointerEvents:"none",content:"''",position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:"1px",borderStyle:"solid",borderColor:f.borderColor,borderRadius:d.roundedCorner2}}}],rootHovered:{selectors:(i={":after":{borderColor:f.borderHoveredColor},".ms-ComboBox-Input":[{color:u.inputTextHovered},eC(g),jx]},i[R_]=em(em({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),i)},rootPressed:[{position:"relative",selectors:(a={},a[R_]=y,a)}],rootFocused:[{selectors:(l={".ms-ComboBox-Input":[{color:u.inputTextHovered},jx]},l[R_]=y,l)},b],rootDisabled:Wx(e),rootError:{selectors:{":after":{borderColor:f.erroredColor},":hover:after":{borderColor:u.inputBorderHovered}}},rootDisallowFreeForm:{},input:[eC(m),{backgroundColor:f.backgroundColor,color:f.textColor,boxSizing:"border-box",width:"100%",height:"100%",borderStyle:"none",outline:"none",font:"inherit",textOverflow:"ellipsis",padding:"0",selectors:{"::-ms-clear":{display:"none"}}},jx],inputDisabled:[Wx(e),eC(v)],errorMessage:[e.fonts.small,{color:f.erroredColor,marginTop:"5px"}],callout:{boxShadow:d.elevation8},optionsContainerWrapper:{width:n},optionsContainer:{display:"block"},screenReaderText:B_,header:[c.medium,{fontWeight:kb.semibold,color:p.headerTextColor,backgroundColor:"none",borderStyle:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(s={},s[R_]=em({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s)}],divider:{height:1,backgroundColor:p.dividerBorderColor}},t)}),$x=Ev(function(e,t,n,r,o,i,a,l){return{container:Gm(e.__shadowConfig__,"ms-ComboBox-container",t,e.container),label:Gm(e.__shadowConfig__,e.label,r&&e.labelDisabled),root:Gm(e.__shadowConfig__,"ms-ComboBox",l?e.rootError:n&&"is-open",o&&"is-required",e.root,!a&&e.rootDisallowFreeForm,l&&!i?e.rootError:!r&&i&&e.rootFocused,!r&&{selectors:{":hover":l?e.rootError:!n&&!i&&e.rootHovered,":active":l?e.rootError:e.rootPressed,":focus":l?e.rootError:e.rootFocused}},r&&["is-disabled",e.rootDisabled]),input:Gm(e.__shadowConfig__,"ms-ComboBox-Input",e.input,r&&e.inputDisabled),errorMessage:Gm(e.__shadowConfig__,e.errorMessage),callout:Gm(e.__shadowConfig__,"ms-ComboBox-callout",e.callout),optionsContainerWrapper:Gm(e.__shadowConfig__,"ms-ComboBox-optionsContainerWrapper",e.optionsContainerWrapper),optionsContainer:Gm(e.__shadowConfig__,"ms-ComboBox-optionsContainer",e.optionsContainer),header:Gm(e.__shadowConfig__,"ms-ComboBox-header",e.header),divider:Gm(e.__shadowConfig__,"ms-ComboBox-divider",e.divider),screenReaderText:Gm(e.__shadowConfig__,e.screenReaderText)}}),Qx=Ev(function(e){return{optionText:Gm(e.__shadowConfig__,"ms-ComboBox-optionText",e.optionText),root:Gm(e.__shadowConfig__,"ms-ComboBox-option",e.root,{selectors:{":hover":e.rootHovered,":focus":e.rootFocused,":active":e.rootPressed}}),optionTextWrapper:Gm(e.__shadowConfig__,e.optionTextWrapper)}});function Zx(e,t){for(var n=[],r=0,o=t;r<o.length;r++){var i=e[o[r]];i&&n.push(i)}return n}!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.SelectAll=3]="SelectAll"}(Bx||(Bx={})),function(e){e[e.backward=-1]="backward",e[e.none=0]="none",e[e.forward=1]="forward"}(zx||(zx={})),function(e){e[e.clearAll=-2]="clearAll",e[e.default=-1]="default"}(Hx||(Hx={}));var Yx=z.memo(function(e){return(0,e.render)()},function(e,t){e.render;var n=tm(e,["render"]);return t.render,Eg(n,tm(t,["render"]))}),Jx={options:[],allowFreeform:!1,allowParentArrowNavigation:!1,autoComplete:"on",buttonIconProps:{iconName:"ChevronDown"}};function Xx(e){var t=e.options,n=e.defaultSelectedKey,r=e.selectedKey,o=z.useState(function(){return iE(t,function(e,t){var n=aE(e);if(n.length)return n;return aE(t)}(n,r))}),i=o[0],a=o[1],l=z.useState(t),s=l[0],u=l[1],c=z.useState(),d=c[0],f=c[1];return z.useEffect(function(){if(void 0!==r){var e=aE(r),n=iE(t,e);a(n)}u(t)},[t,r]),z.useEffect(function(){null===r&&f(void 0)},[r]),[i,a,s,u,d,f]}var eE=z.forwardRef(function(e,t){var n=ab(Jx,e);n.ref;var r=tm(n,["ref"]),o=z.useRef(null),i=XC(o,t),a=Xx(r),l=a[0],s=a[1],u=a[2],c=a[3],d=a[4],f=a[5];return z.createElement(oE,em({},r,{hoisted:{mergedRootRef:i,rootRef:o,selectedIndices:l,setSelectedIndices:s,currentOptions:u,setCurrentOptions:c,suggestedDisplayValue:d,setSuggestedDisplayValue:f}}))});function tE(e,t){for(var n=function(e,t){void 0===t&&(t=!0);var n=[];if(e){for(var r=0;r<e.children.length;r++)n.push(e.children.item(r));t&&og(e)&&n.push.apply(n,e._virtual.children)}return n}(e),r=0;r<n.length;r++){var o=n[r];if(t(o))return o;var i=tE(o,t);if(i)return i}return null}eE.displayName="ComboBox";var nE,rE,oE=function(e){function t(t){var n=e.call(this,t)||this;return n._autofill=z.createRef(),n._comboBoxWrapper=z.createRef(),n._comboBoxMenu=z.createRef(),n._selectedElement=z.createRef(),n._overrideScrollDismiss=!1,n.focus=function(e,t){n.props.disabled||(n._autofill.current&&(t?kg(n._autofill.current):n._autofill.current.focus(),e&&n.setState({isOpen:!0})),n._hasFocus()||n.setState({focusState:"focused"}))},n.dismissMenu=function(){n.state.isOpen&&n.setState({isOpen:!1})},n._onUpdateValueInAutofillWillReceiveProps=function(){var e=n._autofill.current;return e?null===e.value||void 0===e.value?null:lE(n._currentVisibleValue):null},n._renderComboBoxWrapper=function(e,t){var r=n.props,o=r.label,i=r.disabled,a=r.ariaLabel,l=r.ariaDescribedBy,s=void 0===l?n.props["aria-describedby"]:l,u=r.required,c=r.errorMessage,d=r.buttonIconProps,f=r.isButtonAriaHidden,p=r.title,h=r.placeholder,m=r.tabIndex,g=r.autofill,v=r.iconButtonProps,y=r.hoisted.suggestedDisplayValue,b=n.state,_=b.ariaActiveDescendantValue,C=b.isOpen,S=n._hasFocus()&&n.props.multiSelect&&e?e:h,w=[n.props["aria-labelledby"],o&&n._id+"-label"].join(" ").trim(),k={"aria-labelledby":w||void 0,"aria-label":a&&!o?a:void 0},x=!!(c&&c.length>0);return z.createElement("div",{"data-ktp-target":!0,ref:n._comboBoxWrapper,id:n._id+"wrapper",className:n._classNames.root,"aria-owns":C?n._id+"-list":void 0},z.createElement(dw,em({"data-ktp-execute-target":!0,"data-is-interactable":!i,componentRef:n._autofill,id:n._id+"-input",className:n._classNames.input,type:"text",onFocus:n._onFocus,onBlur:n._onBlur,onKeyDown:n._onInputKeyDown,onKeyUp:n._onInputKeyUp,onClick:n._onAutofillClick,onTouchStart:n._onTouchStart,onInputValueChange:n._onInputChange,"aria-expanded":C,"aria-autocomplete":n._getAriaAutoCompleteValue(),role:"combobox",readOnly:i},k,{"aria-describedby":void 0!==c?sv(s,t):s,"aria-activedescendant":_,"aria-required":u,"aria-disabled":i,"aria-invalid":x,"aria-controls":C?n._id+"-list":void 0,spellCheck:!1,defaultVisibleValue:n._currentVisibleValue,suggestedDisplayValue:y,updateValueInWillReceiveProps:n._onUpdateValueInAutofillWillReceiveProps,shouldSelectFullInputValueInComponentDidUpdate:n._onShouldSelectFullInputValueInAutofillComponentDidUpdate,title:p,preventValueSelection:!n._hasFocus(),placeholder:S,tabIndex:i?-1:m},g)),z.createElement(Jk,em({className:"ms-ComboBox-CaretDown-button",styles:n._getCaretButtonStyles(),role:f?"presentation":void 0,"aria-hidden":f},f?void 0:k,{"data-is-focusable":!1,tabIndex:-1,onClick:n._onComboBoxClick,onBlur:n._onBlur,iconProps:d,disabled:i,checked:C},v)))},n._onShouldSelectFullInputValueInAutofillComponentDidUpdate=function(){return n._currentVisibleValue===n.props.hoisted.suggestedDisplayValue},n._getVisibleValue=function(){var e=n.props,t=e.text,r=e.allowFreeform,o=e.allowFreeInput,i=e.autoComplete,a=e.hoisted,l=a.suggestedDisplayValue,s=a.selectedIndices,u=a.currentOptions,c=n.state,d=c.currentPendingValueValidIndex,f=c.currentPendingValue,p=c.isOpen,h=sE(u,d);if((!p||!h)&&(t||""===t)&&null==f)return t;if(n.props.multiSelect){if(n._hasFocus()){var m=-1;return"on"===i&&h&&(m=d),n._getPendingString(f,u,m)}return n._getMultiselectDisplayString(s,u,l)}m=n._getFirstSelectedIndex();return r||o?("on"===i&&h&&(m=d),n._getPendingString(f,u,m)):h&&"on"===i?(m=d,lE(f)):!n.state.isOpen&&f?sE(u,m)?f:lE(l):sE(u,m)?dE(u[m]):lE(l)},n._onInputChange=function(e){n.props.disabled?n._handleInputWhenDisabled(null):(n.props.onInputValueChange&&n.props.onInputValueChange(e),n.props.allowFreeform||n.props.allowFreeInput?n._processInputChangeWithFreeform(e):n._processInputChangeWithoutFreeform(e))},n._onFocus=function(){var e,t;null===(t=null===(e=n._autofill.current)||void 0===e?void 0:e.inputElement)||void 0===t||t.select(),n._hasFocus()||n.setState({focusState:"focusing"})},n._onResolveOptions=function(){if(n.props.onResolveOptions){var e=n.props.onResolveOptions(rm([],n.props.hoisted.currentOptions,!0));Array.isArray(e)?n.props.hoisted.setCurrentOptions(e):e&&e.then&&(n._currentPromise=e,e.then(function(t){e===n._currentPromise&&n.props.hoisted.setCurrentOptions(t)}))}},n._onBlur=function(e){var t,r,o=sS(n.context),i=e.relatedTarget;if(null===e.relatedTarget&&(i=null==o?void 0:o.activeElement),i){var a=null===(t=n.props.hoisted.rootRef.current)||void 0===t?void 0:t.contains(i),l=null===(r=n._comboBoxMenu.current)||void 0===r?void 0:r.contains(i),s=n._comboBoxMenu.current&&lg(n._comboBoxMenu.current,function(e){return e===i},o);if(a||l||s)return s&&n._hasFocus()&&(!n.props.multiSelect||n.props.allowFreeform)&&n._submitPendingValue(e),e.preventDefault(),void e.stopPropagation()}n._hasFocus()&&(n.setState({focusState:"none"}),n.props.multiSelect&&!n.props.allowFreeform||n._submitPendingValue(e))},n._onRenderContainer=function(e,t){var r=e.onRenderList,o=e.calloutProps,i=e.dropdownWidth,a=e.dropdownMaxWidth,l=e.onRenderUpperContent,s=void 0===l?n._onRenderUpperContent:l,u=e.onRenderLowerContent,c=void 0===u?n._onRenderLowerContent:u,d=e.useComboBoxAsMenuWidth,f=e.persistMenu,p=e.shouldRestoreFocus,h=void 0===p||p,m=n.state.isOpen,g=n._id,v=d&&n._comboBoxWrapper.current?n._comboBoxWrapper.current.clientWidth+2:void 0;return z.createElement(jS,em({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHint:uC,directionalHintFixed:!1},o,{onLayerMounted:n._onLayerMounted,className:Dv(n._classNames.callout,null==o?void 0:o.className),target:n._comboBoxWrapper.current,onDismiss:n._onDismiss,onMouseDown:n._onCalloutMouseDown,onScroll:n._onScroll,setInitialFocus:!1,calloutWidth:d&&n._comboBoxWrapper.current?v&&v:i,calloutMaxWidth:a||v,hidden:f?!m:void 0,shouldRestoreFocus:h,preventDismissOnEvent:function(e){return n._preventDismissOnScrollOrResize(e)}}),s(n.props,n._onRenderUpperContent),z.createElement("div",{className:n._classNames.optionsContainerWrapper,ref:n._comboBoxMenu},null==r?void 0:r(em(em({},e),{id:g}),n._onRenderList)),c(n.props,n._onRenderLowerContent))},n._onLayerMounted=function(){n._onCalloutLayerMounted(),n._async.setTimeout(function(){n._scrollIntoView()},0),n.props.calloutProps&&n.props.calloutProps.onLayerMounted&&n.props.calloutProps.onLayerMounted()},n._onRenderLabel=function(e){var t=e.props,r=t.label,o=t.disabled,i=t.required;return r?z.createElement(cx,{id:n._id+"-label",disabled:o,required:i,className:n._classNames.label},r,e.multiselectAccessibleText&&z.createElement("span",{className:n._classNames.screenReaderText},e.multiselectAccessibleText)):null},n._onRenderList=function(e){var t=e.onRenderItem,r=void 0===t?n._onRenderItem:t,o=e.label,i=e.ariaLabel,a=e.multiSelect,l={items:[]},s=[],u=function(){var e=l.id?[z.createElement("div",{role:"group",key:l.id,"aria-labelledby":l.id},l.items)]:l.items;s=rm(rm([],s,!0),e,!0),l={items:[]}};e.options.forEach(function(e,t){!function(e,t){switch(e.itemType){case Bx.Header:l.items.length>0&&u();var o=n._id+e.key;l.items.push(r(em(em({id:o},e),{index:t}),n._onRenderItem)),l.id=o;break;case Bx.Divider:t>0&&l.items.push(r(em(em({},e),{index:t}),n._onRenderItem)),l.items.length>0&&u();break;default:l.items.push(r(em(em({},e),{index:t}),n._onRenderItem))}}(e,t)}),l.items.length>0&&u();var c=n._id;return z.createElement("div",{id:c+"-list",className:n._classNames.optionsContainer,"aria-labelledby":o&&c+"-label","aria-label":i&&!o?i:void 0,"aria-multiselectable":a?"true":void 0,role:"listbox"},s)},n._onRenderItem=function(e){switch(e.itemType){case Bx.Divider:return n._renderSeparator(e);case Bx.Header:return n._renderHeader(e);default:return n._renderOption(e)}},n._onRenderLowerContent=function(){return null},n._onRenderUpperContent=function(){return null},n._renderOption=function(e){var t,r=n.props.onRenderOption,o=void 0===r?n._onRenderOptionContent:r,i=null!==(t=e.id)&&void 0!==t?t:n._id+"-list"+e.index,a=n._isOptionSelected(e.index),l=n._isOptionChecked(e.index),s=n._isOptionIndeterminate(e.index),u=n._getCurrentOptionStyles(e),c=Qx(u),d=e.title;return z.createElement(Yx,{key:e.key,index:e.index,disabled:e.disabled,isSelected:a,isChecked:l,isIndeterminate:s,text:e.text,render:function(){return n.props.multiSelect?z.createElement(lx,{id:i,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabel?void 0:i+"-label",key:e.key,styles:u,className:"ms-ComboBox-option",onChange:n._onItemClick(e),label:e.text,checked:l,indeterminate:s,title:d,disabled:e.disabled,onRenderLabel:n._renderCheckboxLabel.bind(n,em(em({},e),{id:i+"-label"})),inputProps:em({"aria-selected":l?"true":"false",role:"option"},{"data-index":e.index,"data-is-focusable":!0})}):z.createElement(ex,{id:i,key:e.key,"data-index":e.index,styles:u,checked:a,className:"ms-ComboBox-option",onClick:n._onItemClick(e),onMouseEnter:n._onOptionMouseEnter.bind(n,e.index),onMouseMove:n._onOptionMouseMove.bind(n,e.index),onMouseLeave:n._onOptionMouseLeave,role:"option","aria-selected":a?"true":"false",ariaLabel:e.ariaLabel,disabled:e.disabled,title:d},z.createElement("span",{className:c.optionTextWrapper,ref:a?n._selectedElement:void 0},o(e,n._onRenderOptionContent)))},data:e.data})},n._onCalloutMouseDown=function(e){e.preventDefault()},n._onScroll=function(){var e;n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(n._async.clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),(null===(e=n.props.calloutProps)||void 0===e?void 0:e.onScroll)&&n.props.calloutProps.onScroll(),n._scrollIdleTimeoutId=n._async.setTimeout(function(){n._isScrollIdle=!0},250)},n._onRenderOptionContent=function(e){var t=Qx(n._getCurrentOptionStyles(e));return z.createElement("span",{className:t.optionText},e.text)},n._onRenderMultiselectOptionContent=function(e){var t=Qx(n._getCurrentOptionStyles(e));return z.createElement("span",{id:e.id,"aria-hidden":"true",className:t.optionText},e.text)},n._onDismiss=function(){var e=n.props.onMenuDismiss;e&&e(),n.props.persistMenu&&n._onCalloutLayerMounted(),n._setOpenStateAndFocusOnClose(!1,!1),n._resetSelectedIndex()},n._onAfterClearPendingInfo=function(){n._processingClearPendingInfo=!1},n._onInputKeyDown=function(e){var t=n.props,r=t.disabled,o=t.allowFreeform,i=t.allowFreeInput,a=t.allowParentArrowNavigation,l=t.autoComplete,s=t.hoisted.currentOptions,u=n.state,c=u.isOpen,d=u.currentPendingValueValidIndexOnHover;if(n._lastKeyDownWasAltOrMeta=fE(e),r)n._handleInputWhenDisabled(e);else{var f=n._getPendingSelectedIndex(!1);switch(e.which){case $g:n._autofill.current&&n._autofill.current.inputElement&&n._autofill.current.inputElement.select(),n._submitPendingValue(e),n.props.multiSelect&&c?n.setState({currentPendingValueValidIndex:f}):(c||(!o||void 0===n.state.currentPendingValue||null===n.state.currentPendingValue||n.state.currentPendingValue.length<=0)&&n.state.currentPendingValueValidIndex<0)&&n.setState({isOpen:!c});break;case Gg:return n.props.multiSelect||n._submitPendingValue(e),void(c&&n._setOpenStateAndFocusOnClose(!c,!1));case Zg:if(n._resetSelectedIndex(),!c)return;n.setState({isOpen:!1});break;case rv:if(d===Hx.clearAll&&(f=n.props.hoisted.currentOptions.length),e.altKey||e.metaKey){if(c){n._setOpenStateAndFocusOnClose(!c,!0);break}return}e.preventDefault(),n._setPendingInfoFromIndexAndDirection(f,zx.backward);break;case iv:e.altKey||e.metaKey?n._setOpenStateAndFocusOnClose(!0,!0):(d===Hx.clearAll&&(f=-1),e.preventDefault(),n._setPendingInfoFromIndexAndDirection(f,zx.forward));break;case tv:case ev:if(o||i)return;f=-1;var p=zx.forward;e.which===ev&&(f=s.length,p=zx.backward),n._setPendingInfoFromIndexAndDirection(f,p);break;case Yg:if(!o&&!i&&"off"===l)break;default:if(e.which>=112&&e.which<=123)return;if(e.keyCode===Qg||"Meta"===e.key)return;if(a&&(e.keyCode===nv||e.keyCode===ov))return;if(!o&&!i&&"on"===l){n._onInputChange(e.key);break}return}e.stopPropagation(),e.preventDefault()}},n._onInputKeyUp=function(e){var t=n.props,r=t.disabled,o=t.allowFreeform,i=t.allowFreeInput,a=t.autoComplete,l=n.state.isOpen,s=n._lastKeyDownWasAltOrMeta&&fE(e);n._lastKeyDownWasAltOrMeta=!1;var u=s&&!(eb()||Yy());r?n._handleInputWhenDisabled(e):e.which!==Yg?u&&l?n._setOpenStateAndFocusOnClose(!l,!0):("focusing"===n.state.focusState&&n.props.openOnKeyboardFocus&&n.setState({isOpen:!0}),"focused"!==n.state.focusState&&n.setState({focusState:"focused"})):o||i||"off"!==a||n._setOpenStateAndFocusOnClose(!l,!!l)},n._onOptionMouseLeave=function(){n._shouldIgnoreMouseEvent()||n.props.persistMenu&&!n.state.isOpen||n.setState({currentPendingValueValidIndexOnHover:Hx.clearAll})},n._onComboBoxClick=function(){var e=n.props.disabled,t=n.state.isOpen;e||(n._setOpenStateAndFocusOnClose(!t,!1),n.setState({focusState:"focused"}))},n._onAutofillClick=function(){var e=n.props,t=e.disabled;e.allowFreeform&&!t?n.focus(n.state.isOpen||n._processingTouch):n._onComboBoxClick()},n._onTouchStart=function(){n._comboBoxWrapper.current&&!("onpointerdown"in n._comboBoxWrapper)&&n._handleTouchAndPointerEvent()},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},wy(n),n._async=new rg(n),n._events=new Pg(n),n._id=t.id||sy("ComboBox"),n._isScrollIdle=!0,n._processingTouch=!1,n._gotMouseMove=!1,n._processingClearPendingInfo=!1,n.state={isOpen:!1,focusState:"none",currentPendingValueValidIndex:-1,currentPendingValue:void 0,currentPendingValueValidIndexOnHover:Hx.default},n}return Xh(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props.hoisted;return Zx(e.currentOptions,e.selectedIndices)},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._comboBoxWrapper.current&&!this.props.disabled&&(this._events.on(this._comboBoxWrapper.current,"focus",this._onResolveOptions,!0),"onpointerdown"in this._comboBoxWrapper.current&&this._events.on(this._comboBoxWrapper.current,"pointerdown",this._onPointerDown,!0))},t.prototype.componentDidUpdate=function(e,t){var n,r,o,i=this,a=this.props,l=a.allowFreeform,s=a.allowFreeInput,u=a.text,c=a.onMenuOpen,d=a.onMenuDismissed,f=a.hoisted,p=f.currentOptions,h=f.selectedIndices,m=this.state,g=m.currentPendingValue,v=m.currentPendingValueValidIndex,y=m.isOpen;!y||t.isOpen&&t.currentPendingValueValidIndex===v||this._async.setTimeout(function(){return i._scrollIntoView()},0);var b=sS(this.context);this._hasFocus()&&(y||t.isOpen&&!y&&this._focusInputAfterClose&&this._autofill.current&&(null==b?void 0:b.activeElement)!==this._autofill.current.inputElement)&&this.focus(void 0,!0),this._focusInputAfterClose&&(t.isOpen&&!y||this._hasFocus()&&(!y&&!this.props.multiSelect&&e.hoisted.selectedIndices&&h&&e.hoisted.selectedIndices[0]!==h[0]||!l&&!s||u!==e.text))&&this._onFocus(),this._notifyPendingValueChanged(t),y&&!t.isOpen&&(this._overrideScrollDismiss=!0,this._async.clearTimeout(this._overrideScrollDimissTimeout),this._overrideScrollDimissTimeout=this._async.setTimeout(function(){i._overrideScrollDismiss=!1},100),null==c||c()),!y&&t.isOpen&&d&&d();var _=v,C=p.map(function(e,t){return em(em({},e),{index:t})});!Eg(e.hoisted.currentOptions,p)&&g&&(_=this.props.allowFreeform||this.props.allowFreeInput?this._processInputChangeWithFreeform(g):this._updateAutocompleteIndexWithoutFreeform(g));var S=void 0;y&&this._hasFocus()&&-1!==_?S=null!==(n=C[_].id)&&void 0!==n?n:this._id+"-list"+_:y&&h.length&&(S=null!==(o=null===(r=C[h[0]])||void 0===r?void 0:r.id)&&void 0!==o?o:this._id+"-list"+h[0]),S!==this.state.ariaActiveDescendantValue&&this.setState({ariaActiveDescendantValue:S})},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this._id+"-error",t=this.props,n=t.className,r=t.disabled,o=t.required,i=t.errorMessage,a=t.onRenderContainer,l=void 0===a?this._onRenderContainer:a,s=t.onRenderLabel,u=void 0===s?this._onRenderLabel:s,c=t.onRenderList,d=void 0===c?this._onRenderList:c,f=t.onRenderItem,p=void 0===f?this._onRenderItem:f,h=t.onRenderOption,m=void 0===h?this._onRenderOptionContent:h,g=t.allowFreeform,v=t.styles,y=t.theme,b=t.persistMenu,_=t.multiSelect,C=t.hoisted,S=C.suggestedDisplayValue,w=C.selectedIndices,k=C.currentOptions,x=this.state.isOpen;this._currentVisibleValue=this._getVisibleValue();var E=_?this._getMultiselectDisplayString(w,k,S):void 0,F=Sy(this.props,Cy,["onChange","value","aria-describedby","aria-labelledby"]),I=!!(i&&i.length>0);this._classNames=this.props.getClassNames?this.props.getClassNames(y,!!x,!!r,!!o,!!this._hasFocus(),!!g,!!I,n):$x(Gx(y,v),n,!!x,!!r,!!o,!!this._hasFocus(),!!g,!!I);var T=this._renderComboBoxWrapper(E,e);return z.createElement("div",em({},F,{ref:this.props.hoisted.mergedRootRef,className:this._classNames.container}),u({props:this.props,multiselectAccessibleText:E},this._onRenderLabel),T,(b||x)&&l(em(em({},this.props),{onRenderList:d,onRenderItem:p,onRenderOption:m,options:k.map(function(e,t){return em(em({},e),{index:t})}),onDismiss:this._onDismiss}),this._onRenderContainer),I&&z.createElement("div",{role:"alert",id:e,className:this._classNames.errorMessage},i))},t.prototype._getPendingString=function(e,t,n){return null!=e?e:sE(t,n)?dE(t[n]):""},t.prototype._getMultiselectDisplayString=function(e,t,n){for(var r=[],o=0;e&&o<e.length;o++){var i=e[o];t[i].itemType!==Bx.SelectAll&&r.push(sE(t,i)?t[i].text:lE(n))}var a=this.props.multiSelectDelimiter,l=void 0===a?", ":a;return r.join(l)},t.prototype._preventDismissOnScrollOrResize=function(e){var t=this.props.calloutProps;return(null==t?void 0:t.preventDismissOnEvent)?t.preventDismissOnEvent(e):!(!this._overrideScrollDismiss||"scroll"!==e.type&&"resize"!==e.type)},t.prototype._processInputChangeWithFreeform=function(e){var t=this,n=this.props.hoisted.currentOptions,r=-1;if(""===e)return 1===(i=n.map(function(e,t){return em(em({},e),{index:t})}).filter(function(t){return uE(t)&&!t.disabled&&dE(t)===e})).length&&(r=i[0].index),this._setPendingInfo(e,r,e),r;var o=e;e=this._adjustForCaseSensitivity(e);var i,a="";if("on"===this.props.autoComplete){if((i=n.map(function(e,t){return em(em({},e),{index:t})}).filter(function(n){return uE(n)&&!n.disabled&&0===t._adjustForCaseSensitivity(dE(n)).indexOf(e)})).length>0){var l=dE(i[0]);a=this._adjustForCaseSensitivity(l)!==e?l:"",r=i[0].index}}else 1===(i=n.map(function(e,t){return em(em({},e),{index:t})}).filter(function(n){return uE(n)&&!n.disabled&&t._adjustForCaseSensitivity(dE(n))===e})).length&&(r=i[0].index);return this._setPendingInfo(o,r,a),r},t.prototype._processInputChangeWithoutFreeform=function(e){var t=this,n=this.state,r=n.currentPendingValue,o=n.currentPendingValueValidIndex;if("on"===this.props.autoComplete&&""!==e){this._autoCompleteTimeout&&(this._async.clearTimeout(this._autoCompleteTimeout),this._autoCompleteTimeout=void 0,e=lE(r)+e);var i=this._updateAutocompleteIndexWithoutFreeform(e);return this._autoCompleteTimeout=this._async.setTimeout(function(){t._autoCompleteTimeout=void 0},1e3),i}var a=o>=0?o:this._getFirstSelectedIndex();return this._setPendingInfoFromIndex(a),a},t.prototype._updateAutocompleteIndexWithoutFreeform=function(e){var t=this,n=this.props.hoisted.currentOptions,r=e;e=this._adjustForCaseSensitivity(e);var o=n.map(function(e,t){return em(em({},e),{index:t})}).filter(function(n){return uE(n)&&!n.disabled&&0===t._adjustForCaseSensitivity(n.text).indexOf(e)});return o.length>0?(this._setPendingInfo(r,o[0].index,dE(o[0])),o[0].index):-1},t.prototype._getFirstSelectedIndex=function(){var e=this.props.hoisted.selectedIndices;return(null==e?void 0:e.length)?e[0]:-1},t.prototype._getNextSelectableIndex=function(e,t){var n=this.props.hoisted.currentOptions,r=e+t;if(!sE(n,r=Math.max(0,Math.min(n.length-1,r))))return-1;var o=n[r];if(!cE(o)||!0===o.hidden){if(t===zx.none||!(r>0&&t<zx.none||r>=0&&r<n.length&&t>zx.none))return e;r=this._getNextSelectableIndex(r,t)}return r},t.prototype._setSelectedIndex=function(e,t,n){void 0===n&&(n=zx.none);var r=this.props,o=r.onChange,i=r.onPendingValueChanged,a=r.hoisted,l=a.selectedIndices,s=a.currentOptions,u=l?l.slice():[],c=s.slice();if(sE(s,e=this._getNextSelectableIndex(e,n))){if(this.props.multiSelect||u.length<1||1===u.length&&u[0]!==e){var d=em({},s[e]);if(!d||d.disabled)return;if(this.props.multiSelect)if(d.selected=void 0!==d.selected?!d.selected:u.indexOf(e)<0,d.itemType===Bx.SelectAll)u=[],d.selected?s.forEach(function(e,t){!e.disabled&&cE(e)&&(u.push(t),c[t]=em(em({},e),{selected:!0}))}):c=s.map(function(e){return em(em({},e),{selected:!1})});else{d.selected&&u.indexOf(e)<0?u.push(e):!d.selected&&u.indexOf(e)>=0&&(u=u.filter(function(t){return t!==e})),c[e]=d;var f=c.filter(function(e){return e.itemType===Bx.SelectAll})[0];if(f){var p=this._isSelectAllChecked(u),h=c.indexOf(f);p?(u.push(h),c[h]=em(em({},f),{selected:!0})):(u=u.filter(function(e){return e!==h}),c[h]=em(em({},f),{selected:!1}))}}else u[0]=e;t.persist(),this.props.selectedKey||null===this.props.selectedKey||(this.props.hoisted.setSelectedIndices(u),this.props.hoisted.setCurrentOptions(c)),this._hasPendingValue&&i&&(i(),this._hasPendingValue=!1),o&&o(t,d,e,dE(d))}this.props.multiSelect&&this.state.isOpen||this._clearPendingInfo()}},t.prototype._submitPendingValue=function(e){var t,n=this.props,r=n.onChange,o=n.allowFreeform,i=n.autoComplete,a=n.multiSelect,l=n.hoisted,s=l.currentOptions,u=this.state,c=u.currentPendingValue,d=u.currentPendingValueValidIndex,f=u.currentPendingValueValidIndexOnHover,p=this.props.hoisted.selectedIndices;if(!this._processingClearPendingInfo){if(o){if(null==c)return void(f>=0&&(this._setSelectedIndex(f,e),this._clearPendingInfo()));if(sE(s,d)){var h=this._adjustForCaseSensitivity(dE(s[d])),m=this._autofill.current,g=this._adjustForCaseSensitivity(c);if(g===h||i&&0===h.indexOf(g)&&(null==m?void 0:m.isValueSelected)&&c.length+(m.selectionEnd-m.selectionStart)===h.length||void 0!==(null===(t=null==m?void 0:m.inputElement)||void 0===t?void 0:t.value)&&this._adjustForCaseSensitivity(m.inputElement.value)===h){if(this._setSelectedIndex(d,e),a&&this.state.isOpen)return;return void this._clearPendingInfo()}}if(r)r&&r(e,void 0,void 0,c);else{var v={key:c||sy(),text:lE(c)};a&&(v.selected=!0);var y=s.concat([v]);p&&(a||(p=[]),p.push(y.length-1)),l.setCurrentOptions(y),l.setSelectedIndices(p)}}else d>=0?this._setSelectedIndex(d,e):f>=0&&this._setSelectedIndex(f,e);this._clearPendingInfo()}},t.prototype._onCalloutLayerMounted=function(){this._gotMouseMove=!1},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key;return t&&t>0?z.createElement("div",{role:"presentation",key:n,className:this._classNames.divider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOptionContent:t;return z.createElement("div",{id:e.id,key:e.key,className:this._classNames.header},n(e,this._onRenderOptionContent))},t.prototype._renderCheckboxLabel=function(e){var t=this.props.onRenderOption;return(void 0===t?this._onRenderMultiselectOptionContent:t)(e,this._onRenderMultiselectOptionContent)},t.prototype._isOptionHighlighted=function(e){var t=this.state.currentPendingValueValidIndexOnHover;return t!==Hx.clearAll&&(t>=0?t===e:this._isOptionSelected(e))},t.prototype._isOptionSelected=function(e){return this._getPendingSelectedIndex(!0)===e},t.prototype._isOptionChecked=function(e){if(this.props.multiSelect&&void 0!==e&&this.props.hoisted.selectedIndices){return this.props.hoisted.selectedIndices.indexOf(e)>=0}return!1},t.prototype._isOptionIndeterminate=function(e){var t=this.props,n=t.multiSelect,r=t.hoisted;if(n&&void 0!==e&&r.selectedIndices&&r.currentOptions){var o=r.currentOptions[e];if(o&&o.itemType===Bx.SelectAll)return r.selectedIndices.length>0&&!this._isSelectAllChecked()}return!1},t.prototype._isSelectAllChecked=function(e){var t=this.props,n=t.multiSelect,r=t.hoisted,o=r.currentOptions.find(function(e){return e.itemType===Bx.SelectAll}),i=e||r.selectedIndices;if(!n||!i||!o)return!1;var a=r.currentOptions.indexOf(o),l=i.filter(function(e){return e!==a}),s=r.currentOptions.filter(function(e){return!e.disabled&&e.itemType!==Bx.SelectAll&&cE(e)});return l.length===s.length},t.prototype._getPendingSelectedIndex=function(e){var t=this.state,n=t.currentPendingValueValidIndex,r=t.currentPendingValue;return n>=0||e&&null!=r?n:this.props.multiSelect?-1:this._getFirstSelectedIndex()},t.prototype._scrollIntoView=function(){var e=this.props,t=e.onScrollToItem,n=e.scrollSelectedToTop,r=this._getPendingSelectedIndex(!0);if(t)t(r>=0?r:this._getFirstSelectedIndex());else{var o=this._selectedElement.current;if(this.props.multiSelect&&this._comboBoxMenu.current&&(o=tE(this._comboBoxMenu.current,function(e){var t;return(null===(t=e.dataset)||void 0===t?void 0:t.index)===r.toString()})),o&&o.offsetParent){var i=!0;if(this._comboBoxMenu.current&&this._comboBoxMenu.current.offsetParent){var a=this._comboBoxMenu.current.offsetParent,l=o.offsetParent,s=l.offsetHeight,u=l.offsetTop,c=a,d=c.offsetHeight,f=c.scrollTop,p=u+s>f+d;u<f||n?(i=!1,a.scrollTo(0,u)):p&&a.scrollTo(0,u-d+s)}else o.offsetParent.scrollIntoView(i)}}},t.prototype._onItemClick=function(e){var t=this,n=this.props.onItemClick,r=e.index;return function(o){t.props.multiSelect||(t._autofill.current&&t._autofill.current.focus(),t.setState({isOpen:!1})),n&&n(o,e,r),t._setSelectedIndex(r,o)}},t.prototype._resetSelectedIndex=function(){var e=this.props.hoisted.currentOptions;this._clearPendingInfo();var t=this._getFirstSelectedIndex();t>0&&t<e.length?this.props.hoisted.setSuggestedDisplayValue(e[t].text):this.props.text&&this.props.hoisted.setSuggestedDisplayValue(this.props.text)},t.prototype._clearPendingInfo=function(){this._processingClearPendingInfo=!0,this.props.hoisted.setSuggestedDisplayValue(void 0),this.setState({currentPendingValue:void 0,currentPendingValueValidIndex:-1,currentPendingValueValidIndexOnHover:Hx.default},this._onAfterClearPendingInfo)},t.prototype._setPendingInfo=function(e,t,n){void 0===t&&(t=-1),this._processingClearPendingInfo||(this.props.hoisted.setSuggestedDisplayValue(n),this.setState({currentPendingValue:lE(e),currentPendingValueValidIndex:t,currentPendingValueValidIndexOnHover:Hx.default}))},t.prototype._setPendingInfoFromIndex=function(e){var t=this.props.hoisted.currentOptions;if(e>=0&&e<t.length){var n=t[e];this._setPendingInfo(dE(n),e,dE(n))}else this._clearPendingInfo()},t.prototype._setPendingInfoFromIndexAndDirection=function(e,t){var n=this.props.hoisted.currentOptions;t===zx.forward&&e>=n.length-1?e=-1:t===zx.backward&&e<=0&&(e=n.length);var r=this._getNextSelectableIndex(e,t);e===r?t===zx.forward?e=this._getNextSelectableIndex(-1,t):t===zx.backward&&(e=this._getNextSelectableIndex(n.length,t)):e=r,sE(n,e)&&this._setPendingInfoFromIndex(e)},t.prototype._notifyPendingValueChanged=function(e){var t=this.props.onPendingValueChanged;if(t){var n=this.props.hoisted.currentOptions,r=this.state,o=r.currentPendingValue,i=r.currentPendingValueValidIndex,a=r.currentPendingValueValidIndexOnHover,l=void 0,s=void 0;a!==e.currentPendingValueValidIndexOnHover&&sE(n,a)?l=a:i!==e.currentPendingValueValidIndex&&sE(n,i)?l=i:o!==e.currentPendingValue&&(s=o),(void 0!==l||void 0!==s||this._hasPendingValue)&&(t(void 0!==l?n[l]:void 0,l,s),this._hasPendingValue=void 0!==l||void 0!==s)}},t.prototype._setOpenStateAndFocusOnClose=function(e,t){this._focusInputAfterClose=t,this.setState({isOpen:e})},t.prototype._onOptionMouseEnter=function(e){this._shouldIgnoreMouseEvent()||this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._onOptionMouseMove=function(e){this._gotMouseMove=!0,this._isScrollIdle&&this.state.currentPendingValueValidIndexOnHover!==e&&this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._handleInputWhenDisabled=function(e){this.props.disabled&&(this.state.isOpen&&this.setState({isOpen:!1}),null!==e&&e.which!==Gg&&e.which!==Zg&&(e.which<112||e.which>123)&&(e.stopPropagation(),e.preventDefault()))},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0},500)},t.prototype._getCaretButtonStyles=function(){var e=this.props.caretDownButtonStyles;return qx(this.props.theme,e)},t.prototype._getCurrentOptionStyles=function(e){var t,n=this.props.comboBoxOptionStyles,r=e.styles,o=Kx(this.props.theme,n,r,this._isPendingOption(e),e.hidden,this._isOptionHighlighted(e.index));return o.__shadowConfig__=null===(t=this.props.styles)||void 0===t?void 0:t.__shadowConfig__,o},t.prototype._getAriaAutoCompleteValue=function(){return!this.props.disabled&&"on"===this.props.autoComplete?this.props.allowFreeform?"inline":"both":"list"},t.prototype._isPendingOption=function(e){return e&&e.index===this.state.currentPendingValueValidIndex},t.prototype._hasFocus=function(){return"none"!==this.state.focusState},t.prototype._adjustForCaseSensitivity=function(e){return this.props.caseSensitive?e:e.toLowerCase()},t.contextType=Yv,t=nm([ny("ComboBox",["theme","styles"],!0)],t)}(z.Component);function iE(e,t){if(!e||!t)return[];var n={};e.forEach(function(e,t){e.selected&&(n[t]=!0)});for(var r=function(t){var r=uv(e,function(e){return e.key===t});r>-1&&(n[r]=!0)},o=0,i=t;o<i.length;o++){r(i[o])}return Object.keys(n).map(Number).sort()}function aE(e){return void 0===e?[]:e instanceof Array?e:[e]}function lE(e){return e||""}function sE(e,t){return!!e&&t>=0&&t<e.length}function uE(e){return e.itemType!==Bx.Header&&e.itemType!==Bx.Divider&&e.itemType!==Bx.SelectAll}function cE(e){return e.itemType!==Bx.Header&&e.itemType!==Bx.Divider}function dE(e){return e.useAriaLabelAsText&&e.ariaLabel?e.ariaLabel:e.text}function fE(e){return e.which===Qg||"Meta"===e.key}!function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(nE||(nE={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(rE||(rE={}));var pE,hE=vv(),mE=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.type,n=e.size,r=e.ariaLabel,o=e.ariaLive,i=e.styles,a=e.label,l=e.theme,s=e.className,u=e.labelPosition,c=r,d=Sy(this.props,Cy,["size"]),f=n;void 0===f&&void 0!==t&&(f=t===rE.large?nE.large:nE.medium);var p=hE(i,{theme:l,size:f,className:s,labelPosition:u});return z.createElement("div",em({},d,{className:p.root}),z.createElement("div",{className:p.circle}),a&&z.createElement("div",{className:p.label},a),c&&z.createElement("div",{role:"status","aria-live":o},z.createElement(zg,null,z.createElement("div",{className:p.screenReaderText},c))))},t.defaultProps={size:nE.medium,ariaLive:"polite",labelPosition:"bottom"},t}(z.Component),gE={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},vE=Ev(function(){return Xm({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})}),yE=ob(mE,function(e){var t,n=e.theme,r=e.size,o=e.className,i=e.labelPosition,a=n.palette,l=H_(gE,n);return{root:[l.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"top"===i&&{flexDirection:"column-reverse"},"right"===i&&{flexDirection:"row"},"left"===i&&{flexDirection:"row-reverse"},o],circle:[l.circle,{boxSizing:"border-box",borderRadius:"50%",borderWidth:"1.5px",borderStyle:"solid",borderTopColor:a.themePrimary,borderRightColor:a.themeLight,borderBottomColor:a.themeLight,borderLeftColor:a.themeLight,animationName:vE(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[R_]=em({borderTopColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},r===nE.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],r===nE.small&&["ms-Spinner--small",{width:16,height:16}],r===nE.medium&&["ms-Spinner--medium",{width:20,height:20}],r===nE.large&&["ms-Spinner--large",{width:28,height:28}]],label:[l.label,n.fonts.small,{color:a.themePrimary,margin:"8px 0 0",textAlign:"center"},"top"===i&&{margin:"0 0 8px"},"right"===i&&{margin:"0 0 0 8px"},"left"===i&&{margin:"0 8px 0 0"}],screenReaderText:B_}},void 0,{scope:"Spinner"}),bE=vv(),_E=function(e){function t(t){var n=e.call(this,t)||this;wy(n);var r=n.props.allowTouchBodyScroll,o=void 0!==r&&r;return n._allowTouchBodyScroll=o,n}return Xh(t,e),t.prototype.componentDidMount=function(){var e;!this._allowTouchBodyScroll&&((e=fg())&&e.body&&!Rg&&(e.body.classList.add(Dg),e.body.addEventListener("touchmove",Og,{passive:!1,capture:!1})),Rg++)},t.prototype.componentWillUnmount=function(){!this._allowTouchBodyScroll&&function(){if(Rg>0){var e=fg();e&&e.body&&1===Rg&&(e.body.classList.remove(Dg),e.body.removeEventListener("touchmove",Og)),Rg--}}()},t.prototype.render=function(){var e=this.props,t=e.isDarkThemed,n=e.className,r=e.theme,o=e.styles,i=Sy(this.props,Cy),a=bE(o,{theme:r,className:n,isDark:t});return z.createElement("div",em({},i,{className:a.root}))},t}(z.Component),CE={root:"ms-Overlay",rootDark:"ms-Overlay--dark"},SE=ob(_E,function(e){var t,n=e.className,r=e.theme,o=e.isNone,i=e.isDark,a=r.palette,l=H_(CE,r);return{root:[l.root,r.fonts.medium,{backgroundColor:a.whiteTranslucent40,top:0,right:0,bottom:0,left:0,position:"absolute",selectors:(t={},t[R_]={border:"1px solid WindowText",opacity:0},t)},o&&{visibility:"hidden"},i&&[l.rootDark,{backgroundColor:a.blackTranslucent40}],n]}},void 0,{scope:"Overlay"}),wE=function(){function e(){this._size=0}return e.prototype.updateOptions=function(e){for(var t=[],n=[],r=0,o=0;o<e.length;o++){var i=e[o],a=i.itemType,l=i.hidden;a===Bx.Divider||a===Bx.Header?(t.push(o),n.push(o)):l?n.push(o):r++}this._size=r,this._displayOnlyOptionsCache=t,this._notSelectableOptionsCache=n,this._cachedOptions=rm([],e,!0)},Object.defineProperty(e.prototype,"optionSetSize",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cachedOptions",{get:function(){return this._cachedOptions},enumerable:!1,configurable:!0}),e.prototype.positionInSet=function(e){if(void 0!==e){for(var t=0;e>this._notSelectableOptionsCache[t];)t++;if(this._displayOnlyOptionsCache[t]===e)throw new Error("Unexpected: Option at index ".concat(e," is not a selectable element."));if(this._notSelectableOptionsCache[t]!==e)return e-t+1}},e}();!function(e){e[e.smallFluid=0]="smallFluid",e[e.smallFixedFar=1]="smallFixedFar",e[e.smallFixedNear=2]="smallFixedNear",e[e.medium=3]="medium",e[e.large=4]="large",e[e.largeFixed=5]="largeFixed",e[e.extraLarge=6]="extraLarge",e[e.custom=7]="custom",e[e.customNear=8]="customNear"}(pE||(pE={}));var kE,xE=vv();!function(e){e[e.closed=0]="closed",e[e.animatingOpen=1]="animatingOpen",e[e.open=2]="open",e[e.animatingClosed=3]="animatingClosed"}(kE||(kE={}));var EE,FE,IE,TE,PE,RE=function(e){function t(t){var n=e.call(this,t)||this;n._panel=z.createRef(),n._animationCallback=null,n._hasCustomNavigation=!(!n.props.onRenderNavigation&&!n.props.onRenderNavigationContent),n.dismiss=function(e){n.props.onDismiss&&n.isActive&&n.props.onDismiss(e),(!e||e&&!e.defaultPrevented)&&n.close()},n._allowScrollOnPanel=function(e){var t,r,o;n._resizeObserver=n._createResizeObserver(function(t){t.length>0&&t[0].target===e&&n._updateFooterPosition()}),e?(null===(t=n._resizeObserver)||void 0===t||t.observe(e),n._allowTouchBodyScroll?(r=e,o=n._events,r&&o.on(r,"touchmove",function(e){e.stopPropagation()},{passive:!1})):function(e,t){var n=ng(e);if(e&&n){var r=0,o=null,i=n.getComputedStyle(e);t.on(e,"touchstart",function(e){1===e.targetTouches.length&&(r=e.targetTouches[0].clientY)},{passive:!1}),t.on(e,"touchmove",function(e){if(1===e.targetTouches.length&&(e.stopPropagation(),o)){var t=e.targetTouches[0].clientY-r,a=Ag(e.target);a&&o!==a&&(o=a,i=n.getComputedStyle(o));var l=o.scrollTop,s="column-reverse"===(null==i?void 0:i.flexDirection);0===l&&(s?t<0:t>0)&&e.preventDefault(),o.scrollHeight-Math.abs(Math.ceil(l))<=o.clientHeight&&(s?t>0:t<0)&&e.preventDefault()}},{passive:!1}),o=e}}(e,n._events)):n._events.off(n._scrollableContent),n._scrollableContent=e},n._onRenderNavigation=function(e){if(!n.props.onRenderNavigationContent&&!n.props.onRenderNavigation&&!n.props.hasCloseButton)return null;var t=n.props.onRenderNavigationContent,r=void 0===t?n._onRenderNavigationContent:t;return z.createElement("div",{className:n._classNames.navigation},r(e,n._onRenderNavigationContent))},n._onRenderNavigationContent=function(e){var t,r=e.closeButtonAriaLabel,o=e.hasCloseButton,i=e.onRenderHeader,a=void 0===i?n._onRenderHeader:i;if(o){var l=null===(t=n._classNames.subComponentStyles)||void 0===t?void 0:t.closeButton();return z.createElement(z.Fragment,null,!n._hasCustomNavigation&&a(n.props,n._onRenderHeader,n._headerTextId),z.createElement(Jk,{styles:l,className:n._classNames.closeButton,onClick:n._onPanelClick,ariaLabel:r,title:r,"data-is-visible":!0,iconProps:{iconName:"Cancel"}}))}return null},n._onRenderHeader=function(e,t,r){var o=e.headerText,i=e.headerTextProps,a=void 0===i?{}:i;return o?z.createElement("div",{className:n._classNames.header},z.createElement("div",em({id:r,role:"heading","aria-level":1},a,{className:Dv(n._classNames.headerText,a.className)}),o)):null},n._onRenderBody=function(e){return z.createElement("div",{className:n._classNames.content},e.children)},n._onRenderFooter=function(e){var t=n.props.onRenderFooterContent,r=void 0===t?null:t;return r?z.createElement("div",{className:n._classNames.footer},z.createElement("div",{className:n._classNames.footerInner},r())):null},n._animateTo=function(e){e===kE.open&&n.props.onOpen&&n.props.onOpen(),n._animationCallback=n._async.setTimeout(function(){n.setState({visibility:e}),n._onTransitionComplete(e)},200)},n._clearExistingAnimationTimer=function(){null!==n._animationCallback&&n._async.clearTimeout(n._animationCallback)},n._onPanelClick=function(e){n.dismiss(e)},n._onTransitionComplete=function(e){n._updateFooterPosition(),e===kE.open&&n.props.onOpened&&n.props.onOpened(),e===kE.closed&&n.props.onDismissed&&n.props.onDismissed()};var r=n.props.allowTouchBodyScroll,o=void 0!==r&&r;return n._allowTouchBodyScroll=o,wy(n),n.state={isFooterSticky:!1,visibility:kE.closed,id:sy("Panel")},n}return Xh(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.isOpen?null:!e.isOpen||t.visibility!==kE.closed&&t.visibility!==kE.animatingClosed?e.isOpen||t.visibility!==kE.open&&t.visibility!==kE.animatingOpen?null:{visibility:kE.animatingClosed}:{visibility:kE.animatingOpen}},t.prototype.componentDidMount=function(){this._async=new rg(this),this._events=new Pg(this);var e=uS(this.context),t=sS(this.context);this._events.on(e,"resize",this._updateFooterPosition),this._shouldListenForOuterClick(this.props)&&this._events.on(null==t?void 0:t.body,"mousedown",this._dismissOnOuterClick,!0),this.props.isOpen&&this.setState({visibility:kE.animatingOpen})},t.prototype.componentDidUpdate=function(e,t){var n=this._shouldListenForOuterClick(this.props),r=this._shouldListenForOuterClick(e);this.state.visibility!==t.visibility&&(this._clearExistingAnimationTimer(),this.state.visibility===kE.animatingOpen?this._animateTo(kE.open):this.state.visibility===kE.animatingClosed&&this._animateTo(kE.closed));var o=sS(this.context);n&&!r?this._events.on(null==o?void 0:o.body,"mousedown",this._dismissOnOuterClick,!0):!n&&r&&this._events.off(null==o?void 0:o.body,"mousedown",this._dismissOnOuterClick,!0)},t.prototype.componentWillUnmount=function(){var e;this._async.dispose(),this._events.dispose(),null===(e=this._resizeObserver)||void 0===e||e.disconnect()},t.prototype.render=function(){var e=this.props,t=e.className,n=void 0===t?"":t,r=e.elementToFocusOnDismiss,o=e.firstFocusableSelector,i=e.focusTrapZoneProps,a=e.forceFocusInsideTrap,l=e.hasCloseButton,s=e.headerText,u=e.headerClassName,c=void 0===u?"":u,d=e.ignoreExternalFocusing,f=e.isBlocking,p=e.isFooterAtBottom,h=e.isLightDismiss,m=e.isHiddenOnDismiss,g=e.layerProps,v=e.overlayProps,y=e.popupProps,b=e.type,_=e.styles,C=e.theme,S=e.customWidth,w=e.onLightDismissClick,k=void 0===w?this._onPanelClick:w,x=e.onRenderNavigation,E=void 0===x?this._onRenderNavigation:x,F=e.onRenderHeader,I=void 0===F?this._onRenderHeader:F,T=e.onRenderBody,P=void 0===T?this._onRenderBody:T,R=e.onRenderFooter,D=void 0===R?this._onRenderFooter:R,M=this.state,O=M.isFooterSticky,A=M.visibility,L=M.id,N=b===pE.smallFixedNear||b===pE.customNear,B=pv(C)?N:!N,H=b===pE.custom||b===pE.customNear?{width:S}:{},V=Sy(this.props,Cy),W=this.isActive,U=A===kE.animatingClosed||A===kE.animatingOpen;if(this._headerTextId=s&&L+"-headerText",!W&&!U&&!m)return null;this._classNames=xE(_,{theme:C,className:n,focusTrapZoneClassName:i?i.className:void 0,hasCloseButton:l,headerClassName:c,isAnimating:U,isFooterSticky:O,isFooterAtBottom:p,isOnRightSide:B,isOpen:W,isHiddenOnDismiss:m,type:b,hasCustomNavigation:this._hasCustomNavigation});var j,K=this._classNames,q=this._allowTouchBodyScroll;return f&&W&&(j=z.createElement(SE,em({className:K.overlay,isDarkThemed:!1,onClick:h?k:void 0,allowTouchBodyScroll:q},v))),z.createElement(US,em({},g),z.createElement(iS,em({role:"dialog","aria-modal":f?"true":void 0,ariaLabelledBy:this._headerTextId?this._headerTextId:void 0,onDismiss:this.dismiss,className:K.hiddenPanel,enableAriaHiddenSiblings:!!W},y),z.createElement("div",em({"aria-hidden":!W&&U},V,{ref:this._panel,className:K.root}),j,z.createElement(ZS,em({ignoreExternalFocusing:d,forceFocusInsideTrap:!(!f||m&&!W)&&a,firstFocusableSelector:o,isClickableOutsideFocusTrap:!0},i,{className:K.main,style:H,elementToFocusOnDismiss:r}),z.createElement("div",{className:K.contentInner},z.createElement("div",{ref:this._allowScrollOnPanel,className:K.scrollableContent,"data-is-scrollable":!0},z.createElement("div",{className:K.commands,"data-is-visible":!0},E(this.props,this._onRenderNavigation)),(this._hasCustomNavigation||!l)&&I(this.props,this._onRenderHeader,this._headerTextId),P(this.props,this._onRenderBody),D(this.props,this._onRenderFooter)))))))},t.prototype.open=function(){void 0===this.props.isOpen&&(this.isActive||this.setState({visibility:kE.animatingOpen}))},t.prototype.close=function(){void 0===this.props.isOpen&&this.isActive&&this.setState({visibility:kE.animatingClosed})},Object.defineProperty(t.prototype,"isActive",{get:function(){return this.state.visibility===kE.open||this.state.visibility===kE.animatingOpen},enumerable:!1,configurable:!0}),t.prototype._createResizeObserver=function(e){var t,n=sS(this.context),r=null;return(null===(t=null==n?void 0:n.defaultView)||void 0===t?void 0:t.ResizeObserver)&&(r=new n.defaultView.ResizeObserver(e)),r},t.prototype._shouldListenForOuterClick=function(e){return!!e.isBlocking&&!!e.isOpen},t.prototype._updateFooterPosition=function(){var e=this._scrollableContent;if(e){var t=e.clientHeight,n=e.scrollHeight;this.setState({isFooterSticky:t<n})}},t.prototype._dismissOnOuterClick=function(e){var t=this._panel.current;this.isActive&&t&&!e.defaultPrevented&&(ag(t,e.target)||(this.props.onOuterClick?this.props.onOuterClick(e):this.dismiss(e)))},t.defaultProps={isHiddenOnDismiss:!1,isOpen:void 0,isBlocking:!0,hasCloseButton:!0,type:pE.smallFixedFar},t.contextType=Yv,t}(z.Component),DE={root:"ms-Panel",main:"ms-Panel-main",commands:"ms-Panel-commands",contentInner:"ms-Panel-contentInner",scrollableContent:"ms-Panel-scrollableContent",navigation:"ms-Panel-navigation",closeButton:"ms-Panel-closeButton ms-PanelAction-close",header:"ms-Panel-header",headerText:"ms-Panel-headerText",content:"ms-Panel-content",footer:"ms-Panel-footer",footerInner:"ms-Panel-footerInner",isOpen:"is-open",hasCloseButton:"ms-Panel--hasCloseButton",smallFluid:"ms-Panel--smFluid",smallFixedNear:"ms-Panel--smLeft",smallFixedFar:"ms-Panel--sm",medium:"ms-Panel--md",large:"ms-Panel--lg",largeFixed:"ms-Panel--fixed",extraLarge:"ms-Panel--xl",custom:"ms-Panel--custom",customNear:"ms-Panel--customLeft"},ME="100%",OE="auto",AE=272,LE=340,NE=592,BE=644,zE=940,HE="auto",VE=0,WE=48,UE=428,jE=176,KE=((EE={})["@media (min-width: ".concat(D_,"px)")]={width:LE},EE),qE=((FE={})["@media (min-width: ".concat(640,"px)")]={width:NE},FE["@media (min-width: ".concat(1024,"px)")]={width:BE},FE),GE=((IE={})["@media (min-width: ".concat(768,"px)")]={left:WE,width:OE},IE["@media (min-width: ".concat(M_,"px)")]={left:UE},IE),$E=((TE={})["@media (min-width: ".concat(M_,"px)")]={left:HE,width:zE},TE),QE=((PE={})["@media (min-width: ".concat(M_,"px)")]={left:jE},PE),ZE=function(e){var t;switch(e){case pE.smallFixedFar:t=em({},KE);break;case pE.medium:t=em(em({},KE),qE);break;case pE.large:t=em(em(em({},KE),qE),GE);break;case pE.largeFixed:t=em(em(em(em({},KE),qE),GE),$E);break;case pE.extraLarge:t=em(em(em(em({},KE),qE),GE),QE)}return t},YE={paddingLeft:"24px",paddingRight:"24px"},JE=ob(RE,function(e){var t,n,r,o,i=e.className,a=e.focusTrapZoneClassName,l=e.hasCloseButton,s=e.headerClassName,u=e.isAnimating,c=e.isFooterSticky,d=e.isFooterAtBottom,f=e.isOnRightSide,p=e.isOpen,h=e.isHiddenOnDismiss,m=e.hasCustomNavigation,g=e.theme,v=e.type,y=void 0===v?pE.smallFixedFar:v,b=g.effects,_=g.fonts,C=g.semanticColors,S=H_(DE,g),w=y===pE.custom||y===pE.customNear;return{root:[S.root,g.fonts.medium,p&&S.isOpen,l&&S.hasCloseButton,{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0},w&&f&&S.custom,w&&!f&&S.customNear,i],overlay:[{pointerEvents:"auto",cursor:"pointer"},p&&u&&tC.fadeIn100,!p&&u&&tC.fadeOut100],hiddenPanel:[!p&&!u&&h&&{visibility:"hidden"}],main:[S.main,{backgroundColor:C.bodyBackground,boxShadow:b.elevation64,pointerEvents:"auto",position:"absolute",display:"flex",flexDirection:"column",overflowX:"hidden",overflowY:"auto",WebkitOverflowScrolling:"touch",bottom:0,top:0,left:HE,right:VE,width:ME,selectors:em((t={},t[R_]={borderLeft:"3px solid ".concat(C.variantBorder),borderRight:"3px solid ".concat(C.variantBorder)},t),ZE(y))},y===pE.smallFluid&&{left:VE},y===pE.smallFixedNear&&{left:VE,right:HE,width:AE},y===pE.customNear&&{right:"auto",left:0},w&&{maxWidth:"100vw"},p&&u&&!f&&tC.slideRightIn40,p&&u&&f&&tC.slideLeftIn40,!p&&u&&!f&&tC.slideLeftOut40,!p&&u&&f&&tC.slideRightOut40,a],commands:[S.commands,{backgroundColor:C.bodyBackground,paddingTop:18,selectors:(n={},n["@media (min-height: ".concat(D_,"px)")]={position:"sticky",top:0,zIndex:1},n)},m&&{paddingTop:"inherit"}],navigation:[S.navigation,{display:"flex",justifyContent:"flex-end"},m&&{height:"44px"}],contentInner:[S.contentInner,{display:"flex",flexDirection:"column",flexGrow:1,overflowY:"hidden"}],header:[S.header,YE,{alignSelf:"flex-start"},l&&!m&&{flexGrow:1},m&&{flexShrink:0}],headerText:[S.headerText,_.xLarge,{color:C.bodyText,lineHeight:"27px",overflowWrap:"break-word",wordWrap:"break-word",wordBreak:"break-word",hyphens:"auto"},s],scrollableContent:[S.scrollableContent,{overflowY:"auto"},d&&{flexGrow:1,display:"inherit",flexDirection:"inherit"}],content:[S.content,YE,{paddingBottom:20},d&&{selectors:(r={},r["@media (min-height: ".concat(D_,"px)")]={flexGrow:1},r)}],footer:[S.footer,{flexShrink:0,borderTop:"1px solid transparent",transition:"opacity ".concat(p_," ").concat(f_),selectors:(o={},o["@media (min-height: ".concat(D_,"px)")]={position:"sticky",bottom:0},o)},c&&{backgroundColor:C.bodyBackground,borderTopColor:C.variantBorder}],footerInner:[S.footerInner,YE,{paddingBottom:16,paddingTop:16}],subComponentStyles:{closeButton:{root:[S.closeButton,{marginRight:14,color:g.palette.neutralSecondary,fontSize:xb.large},m&&{marginRight:0,height:"auto",width:"44px"}],rootHovered:{color:g.palette.neutralPrimary}}}}},void 0,{scope:"Panel"}),XE=vv(),eF={options:[]};var tF=z.forwardRef(function(e,t){var n=ab(eF,e),r=z.useRef(null),o=XC(t,r),i=gk(r,n.responsiveMode),a=function(e){var t,n=e.defaultSelectedKeys,r=e.selectedKeys,o=e.defaultSelectedKey,i=e.selectedKey,a=e.options,l=e.multiSelect,s=tS(a),u=z.useState([]),c=u[0],d=u[1],f=a!==s,p=tS(t=l?f&&void 0!==n?n:r:f&&void 0!==o?o:i);return z.useEffect(function(){var e=function(){return a.map(function(e,t){return e.selected?t:-1}).filter(function(e){return-1!==e})},n=function(e){return uv(a,function(t){return null!=e?t.key===e:!!t.selected||!!t.isSelected})};void 0===t&&s||t===p&&!f||d(function(){if(void 0===t)return l?e():-1!==(a=n(null))?[a]:[];if(!Array.isArray(t))return-1!==(a=n(t))?[a]:[];for(var r=[],o=0,i=t;o<i.length;o++){var a,s=i[o];-1!==(a=n(s))&&r.push(a)}return r}())},[f,l,s,p,a,t]),[c,d]}(n),l=a[0],s=a[1];return z.createElement(lF,em({},n,{responsiveMode:i,hoisted:{rootRef:o,selectedIndices:l,setSelectedIndices:s}}))});tF.displayName="DropdownBase";var nF,rF,oF,iF,aF,lF=function(e){function t(t){var n,r,o=e.call(this,t)||this;o._host=z.createRef(),o._focusZone=z.createRef(),o._dropDown=z.createRef(),o._scrollIdleDelay=250,o._sizePosCache=new wE,o._requestAnimationFrame=(n=o,function(e){r||(r=new Set,oy(n,{componentWillUnmount:function(){r.forEach(function(e){return cancelAnimationFrame(e)})}}));var t=requestAnimationFrame(function(){r.delete(t),e()});r.add(t)}),o.dismissMenu=function(){o.state.isOpen&&o.setState({isOpen:!1})},o._onChange=function(e,t,n,r,i){var a=o.props,l=a.onChange,s=a.onChanged;if(l||s){var u=i?em(em({},t[n]),{selected:!r}):t[n];l&&l(em(em({},e),{target:o._dropDown.current}),u,n),s&&s(u,n)}},o._getPlaceholder=function(){return o.props.placeholder||o.props.placeHolder},o._getTitle=function(e,t){var n=o.props.multiSelectDelimiter,r=void 0===n?", ":n;return e.map(function(e){return e.text}).join(r)},o._onRenderTitle=function(e){return z.createElement(z.Fragment,null,o._getTitle(e))},o._onRenderPlaceholder=function(e){return o._getPlaceholder()?z.createElement(z.Fragment,null,o._getPlaceholder()):null},o._onRenderContainer=function(e){var t=e.calloutProps,n=e.panelProps,r=o.props,i=r.responsiveMode,a=r.dropdownWidth,l=i<=uk.medium,s={firstFocusableTarget:"#".concat(o._listId,"1")},u=o._classNames.subComponentStyles?o._classNames.subComponentStyles.panel:void 0,c=void 0,d=void 0;return"auto"===a?d=o._dropDown.current?o._dropDown.current.clientWidth:0:c=a||(o._dropDown.current?o._dropDown.current.clientWidth:0),l?z.createElement(JE,em({closeButtonAriaLabel:"Close",focusTrapZoneProps:s,hasCloseButton:!0,isOpen:!0,isLightDismiss:!0,onDismiss:o._onDismiss,styles:u},n),o._renderFocusableList(e)):z.createElement(jS,em({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHintFixed:!1,directionalHint:uC,calloutWidth:c,calloutMinWidth:d},t,{className:o._classNames.callout,target:o._dropDown.current,onDismiss:o._onDismiss,onScroll:o._onScroll,onPositioned:o._onPositioned}),o._renderFocusableList(e))},o._onRenderCaretDown=function(e){return z.createElement(sw,{className:o._classNames.caretDown,iconName:"ChevronDown","aria-hidden":!0})},o._onRenderList=function(e){var t=e.onRenderItem,n=void 0===t?o._onRenderItem:t,r={items:[]},i=[],a=function(){var e=r.id?[z.createElement("div",{role:"group",key:r.id,"aria-labelledby":r.id},r.items)]:r.items;i=rm(rm([],i,!0),e,!0),r={items:[]}};return e.options.forEach(function(e,t){!function(e,t){switch(e.itemType){case Bx.Header:r.items.length>0&&a();var i=o._id+e.key;r.items.push(n(em(em({id:i},e),{index:t}),o._onRenderItem)),r.id=i;break;case Bx.Divider:t>0&&r.items.push(n(em(em({},e),{index:t}),o._onRenderItem)),r.items.length>0&&a();break;default:r.items.push(n(em(em({},e),{index:t}),o._onRenderItem))}}(e,t)}),r.items.length>0&&a(),z.createElement(z.Fragment,null,i)},o._onRenderItem=function(e){switch(e.itemType){case Bx.Divider:return o._renderSeparator(e);case Bx.Header:return o._renderHeader(e);default:return o._renderOption(e)}},o._renderOption=function(e){var t,n=o.props,r=n.onRenderOption,i=void 0===r?o._onRenderOption:r,a=n.hoisted.selectedIndices,l=void 0===a?[]:a,s=!(void 0===e.index||!l)&&l.indexOf(e.index)>-1,u=e.hidden?o._classNames.dropdownItemHidden:s&&!0===e.disabled?o._classNames.dropdownItemSelectedAndDisabled:s?o._classNames.dropdownItemSelected:!0===e.disabled?o._classNames.dropdownItemDisabled:o._classNames.dropdownItem,c=e.title,d=o._listId+e.index,f=null!==(t=e.id)&&void 0!==t?t:d+"-label",p=o._classNames.subComponentStyles?o._classNames.subComponentStyles.multiSelectItem:void 0;return o.props.multiSelect?z.createElement(lx,{id:d,key:e.key,disabled:e.disabled,onChange:o._onItemClick(e),inputProps:em({"aria-selected":s,onMouseEnter:o._onItemMouseEnter.bind(o,e),onMouseLeave:o._onMouseItemLeave.bind(o,e),onMouseMove:o._onItemMouseMove.bind(o,e),role:"option"},{"data-index":e.index,"data-is-focusable":!(e.disabled||e.hidden)}),label:e.text,title:c,onRenderLabel:o._onRenderItemLabel.bind(o,em(em({},e),{id:f})),className:Dv(u,"is-multi-select"),checked:s,styles:p,ariaPositionInSet:e.hidden?void 0:o._sizePosCache.positionInSet(e.index),ariaSetSize:e.hidden?void 0:o._sizePosCache.optionSetSize,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabel?void 0:f}):z.createElement(ex,{id:d,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:u,onClick:o._onItemClick(e),onMouseEnter:o._onItemMouseEnter.bind(o,e),onMouseLeave:o._onMouseItemLeave.bind(o,e),onMouseMove:o._onItemMouseMove.bind(o,e),role:"option","aria-selected":s?"true":"false",ariaLabel:e.ariaLabel,title:c,"aria-posinset":o._sizePosCache.positionInSet(e.index),"aria-setsize":o._sizePosCache.optionSetSize},i(e,o._onRenderOption))},o._onRenderOption=function(e){return z.createElement("span",{className:o._classNames.dropdownOptionText},e.text)},o._onRenderMultiselectOption=function(e){return z.createElement("span",{id:e.id,"aria-hidden":"true",className:o._classNames.dropdownOptionText},e.text)},o._onRenderItemLabel=function(e){var t=o.props.onRenderOption;return(void 0===t?o._onRenderMultiselectOption:t)(e,o._onRenderMultiselectOption)},o._onPositioned=function(e){o._focusZone.current&&o._requestAnimationFrame(function(){var e=o.props.hoisted.selectedIndices;if(o._focusZone.current)if(!o._hasBeenPositioned&&e&&e[0]&&!o.props.options[e[0]].disabled){var t=fg().getElementById("".concat(o._id,"-list").concat(e[0]));t&&o._focusZone.current.focusElement(t),o._hasBeenPositioned=!0}else o._focusZone.current.focus()}),o.state.calloutRenderEdge&&o.state.calloutRenderEdge===e.targetEdge||o.setState({calloutRenderEdge:e.targetEdge})},o._onItemClick=function(e){return function(t){e.disabled||(o.setSelectedIndex(t,e.index),o.props.multiSelect||o.setState({isOpen:!1}))}},o._onScroll=function(){var e=uS(o.context);o._isScrollIdle||void 0===o._scrollIdleTimeoutId?o._isScrollIdle=!1:(e.clearTimeout(o._scrollIdleTimeoutId),o._scrollIdleTimeoutId=void 0),o._scrollIdleTimeoutId=e.setTimeout(function(){o._isScrollIdle=!0},o._scrollIdleDelay)},o._onMouseItemLeave=function(e,t){if(!o._shouldIgnoreMouseEvent()&&o._host.current)if(o._host.current.setActive)try{o._host.current.setActive()}catch(e){}else o._host.current.focus()},o._onDismiss=function(){o.setState({isOpen:!1})},o._onDropdownBlur=function(e){o._isDisabled()||o.state.isOpen||(o.setState({hasFocus:!1}),o.props.onBlur&&o.props.onBlur(e))},o._onDropdownKeyDown=function(e){if(!o._isDisabled()&&(o._lastKeyDownWasAltOrMeta=o._isAltOrMeta(e),!o.props.onKeyDown||(o.props.onKeyDown(e),!e.defaultPrevented))){var t,n=o.props.hoisted.selectedIndices.length?o.props.hoisted.selectedIndices[0]:-1,r=e.altKey||e.metaKey,i=o.state.isOpen;switch(e.which){case $g:o.setState({isOpen:!i});break;case Zg:if(!i)return;o.setState({isOpen:!1});break;case rv:if(r){if(i){o.setState({isOpen:!1});break}return}o.props.multiSelect?o.setState({isOpen:!0}):o._isDisabled()||(t=o._moveIndex(e,-1,n-1,n));break;case iv:r&&(e.stopPropagation(),e.preventDefault()),r&&!i||o.props.multiSelect?o.setState({isOpen:!0}):o._isDisabled()||(t=o._moveIndex(e,1,n+1,n));break;case tv:o.props.multiSelect||(t=o._moveIndex(e,1,0,n));break;case ev:o.props.multiSelect||(t=o._moveIndex(e,-1,o.props.options.length-1,n));break;case Yg:break;default:return}t!==n&&(e.stopPropagation(),e.preventDefault())}},o._onDropdownKeyUp=function(e){if(!o._isDisabled()){var t=o._shouldHandleKeyUp(e),n=o.state.isOpen;o.props.onKeyUp&&(o.props.onKeyUp(e),e.defaultPrevented)||(e.which===Yg?(o.setState({isOpen:!n}),e.stopPropagation(),e.preventDefault()):t&&n&&o.setState({isOpen:!1}))}},o._onZoneKeyDown=function(e){var t,n,r;o._lastKeyDownWasAltOrMeta=o._isAltOrMeta(e);var i=e.altKey||e.metaKey;switch(e.which){case rv:i?o.setState({isOpen:!1}):o._host.current&&(r=hg(o._host.current,o._host.current.lastChild,!0));break;case tv:case ev:case Jg:case Xg:break;case iv:!i&&o._host.current&&(r=pg(o._host.current,o._host.current.firstChild,!0));break;case Zg:o.setState({isOpen:!1});break;case Gg:o.setState({isOpen:!1});var a=fg();a&&(e.shiftKey?null===(t=mg(a.body,o._dropDown.current,!1,!1,!0,!0))||void 0===t||t.focus():null===(n=gg(a.body,o._dropDown.current,!1,!1,!0,!0))||void 0===n||n.focus());break;default:return}r&&r.focus(),e.stopPropagation(),e.preventDefault()},o._onZoneKeyUp=function(e){o._shouldHandleKeyUp(e)&&o.state.isOpen&&(o.setState({isOpen:!1}),e.preventDefault())},o._onDropdownClick=function(e){if(!o.props.onClick||(o.props.onClick(e),!e.defaultPrevented)){var t=o.state.isOpen;o._isDisabled()||o._shouldOpenOnFocus()||o.setState({isOpen:!t}),o._isFocusedByClick=!1}},o._onDropdownMouseDown=function(){o._isFocusedByClick=!0},o._onFocus=function(e){if(!o._isDisabled()){o.props.onFocus&&o.props.onFocus(e);var t={hasFocus:!0};o._shouldOpenOnFocus()&&(t.isOpen=!0),o.setState(t)}},o._isDisabled=function(){var e=o.props.disabled,t=o.props.isDisabled;return void 0===e&&(e=t),e},o._onRenderLabel=function(e){var t=e.label,n=e.required,r=e.disabled,i=o._classNames.subComponentStyles?o._classNames.subComponentStyles.label:void 0;return t?z.createElement(cx,{className:o._classNames.label,id:o._labelId,required:n,styles:i,disabled:r},t):null},wy(o),t.multiSelect,t.selectedKey,t.selectedKeys,t.defaultSelectedKey,t.defaultSelectedKeys;var i=t.options;return o._id=t.id||sy("Dropdown"),o._labelId=o._id+"-label",o._listId=o._id+"-list",o._optionId=o._id+"-option",o._isScrollIdle=!0,o._hasBeenPositioned=!1,o._sizePosCache.updateOptions(i),o.state={isOpen:!1,hasFocus:!1,calloutRenderEdge:void 0},o}return Xh(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props;return Zx(e.options,e.hoisted.selectedIndices)},enumerable:!1,configurable:!0}),t.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},t.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this._hasBeenPositioned=!1,this.props.onDismiss&&this.props.onDismiss())},t.prototype.render=function(){var e=this._id,t=this.props,n=t.className,r=t.label,o=t.options,i=t.ariaLabel,a=t.required,l=t.errorMessage,s=t.styles,u=t.theme,c=t.panelProps,d=t.calloutProps,f=t.onRenderTitle,p=void 0===f?this._getTitle:f,h=t.onRenderContainer,m=void 0===h?this._onRenderContainer:h,g=t.onRenderCaretDown,v=void 0===g?this._onRenderCaretDown:g,y=t.onRenderLabel,b=void 0===y?this._onRenderLabel:y,_=t.onRenderItem,C=void 0===_?this._onRenderItem:_,S=t.hoisted.selectedIndices,w=t.responsiveMode,k=this.state,x=k.isOpen,E=k.calloutRenderEdge,F=k.hasFocus,I=t.onRenderPlaceholder||t.onRenderPlaceHolder||this._getPlaceholder;o!==this._sizePosCache.cachedOptions&&this._sizePosCache.updateOptions(o);var T=Zx(o,S),P=Sy(t,Cy),R=this._isDisabled(),D=w<=uk.medium,M=e+"-errorMessage";this._classNames=XE(s,{theme:u,className:n,hasError:!!(l&&l.length>0),hasLabel:!!r,isOpen:x,required:a,disabled:R,isRenderingPlaceholder:!T.length,panelClassName:c?c.className:void 0,calloutClassName:d?d.className:void 0,calloutRenderEdge:E});var O=!!l&&l.length>0;return z.createElement("div",{className:this._classNames.root,ref:this.props.hoisted.rootRef,"aria-owns":x&&!D?this._listId:void 0},b(this.props,this._onRenderLabel),z.createElement("div",em({"data-is-focusable":!R,"data-ktp-target":!0,ref:this._dropDown,id:e,tabIndex:R?-1:0,role:"combobox","aria-haspopup":"listbox","aria-expanded":x?"true":"false","aria-label":i,"aria-labelledby":r&&!i?sv(this._labelId,this._optionId):void 0,"aria-describedby":O?this._id+"-errorMessage":void 0,"aria-required":a,"aria-disabled":R,"aria-invalid":O,"aria-controls":x&&!D?this._listId:void 0},P,{className:this._classNames.dropdown,onBlur:this._onDropdownBlur,onKeyDown:this._onDropdownKeyDown,onKeyUp:this._onDropdownKeyUp,onClick:this._onDropdownClick,onMouseDown:this._onDropdownMouseDown,onFocus:this._onFocus}),z.createElement("span",{id:this._optionId,className:this._classNames.title,"aria-live":F?"polite":void 0,"aria-atomic":!!F||void 0},T.length?p(T,this._onRenderTitle):I(t,this._onRenderPlaceholder)),z.createElement("span",{className:this._classNames.caretDownWrapper},v(t,this._onRenderCaretDown))),x&&m(em(em({},t),{onDismiss:this._onDismiss,onRenderItem:C}),this._onRenderContainer),O&&z.createElement("div",{role:"alert",id:M,className:this._classNames.errorMessage},l))},t.prototype.focus=function(e){this._dropDown.current&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},t.prototype.setSelectedIndex=function(e,t){var n=this.props,r=n.options,o=n.selectedKey,i=n.selectedKeys,a=n.multiSelect,l=n.notifyOnReselect,s=n.hoisted.selectedIndices,u=void 0===s?[]:s,c=!!u&&u.indexOf(t)>-1,d=[];if(t=Math.max(0,Math.min(r.length-1,t)),void 0===o&&void 0===i){if(a||l||t!==u[0]){if(a)if(d=u?this._copyArray(u):[],c){var f=d.indexOf(t);f>-1&&d.splice(f,1)}else d.push(t);else d=[t];e.persist(),this.props.hoisted.setSelectedIndices(d),this._onChange(e,r,t,c,a)}}else this._onChange(e,r,t,c,a)},t.prototype._copyArray=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n];t.push(o)}return t},t.prototype._moveIndex=function(e,t,n,r){var o=this.props.options;if(r===n||0===o.length)return r;n>=o.length?n=0:n<0&&(n=o.length-1);for(var i=0;o[n].itemType===Bx.Header||o[n].itemType===Bx.Divider||o[n].disabled;){if(i>=o.length)return r;n+t<0?n=o.length:n+t>=o.length&&(n=-1),n+=t,i++}return this.setSelectedIndex(e,n),n},t.prototype._renderFocusableList=function(e){var t=e.onRenderList,n=void 0===t?this._onRenderList:t,r=e.label,o=e.ariaLabel,i=e.multiSelect;return z.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},z.createElement(Pw,{ref:this._focusZone,direction:pw.vertical,id:this._listId,className:this._classNames.dropdownItems,role:"listbox","aria-label":o,"aria-labelledby":r&&!o?this._labelId:void 0,"aria-multiselectable":i},n(e,this._onRenderList)))},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key,r=e.hidden?this._classNames.dropdownDividerHidden:this._classNames.dropdownDivider;return t>0?z.createElement("div",{role:"presentation",key:n,className:r}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOption:t,r=e.key,o=e.id,i=e.hidden?this._classNames.dropdownItemHeaderHidden:this._classNames.dropdownItemHeader;return z.createElement("div",{id:o,key:r,className:i},n(e,this._onRenderOption))},t.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},t.prototype._onItemMouseMove=function(e,t){var n=sS(this.context),r=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&n.activeElement!==r&&r.focus()},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._isAltOrMeta=function(e){return e.which===Qg||"Meta"===e.key},t.prototype._shouldHandleKeyUp=function(e){var t=this._lastKeyDownWasAltOrMeta&&this._isAltOrMeta(e);return this._lastKeyDownWasAltOrMeta=!1,!!t&&!(eb()||Yy())},t.prototype._shouldOpenOnFocus=function(){var e=this.state.hasFocus,t=this.props.openOnKeyboardFocus;return!this._isFocusedByClick&&!0===t&&!e},t.defaultProps={options:[]},t.contextType=Yv,t}(z.Component),sF={root:"ms-Dropdown-container",label:"ms-Dropdown-label",dropdown:"ms-Dropdown",title:"ms-Dropdown-title",caretDownWrapper:"ms-Dropdown-caretDownWrapper",caretDown:"ms-Dropdown-caretDown",callout:"ms-Dropdown-callout",panel:"ms-Dropdown-panel",dropdownItems:"ms-Dropdown-items",dropdownItem:"ms-Dropdown-item",dropdownDivider:"ms-Dropdown-divider",dropdownOptionText:"ms-Dropdown-optionText",dropdownItemHeader:"ms-Dropdown-header",titleIsPlaceHolder:"ms-Dropdown-titleIsPlaceHolder",titleHasError:"ms-Dropdown-title--hasError"},uF=((nF={})["".concat(R_,", ").concat("@media screen and (-ms-high-contrast: black-on-white), screen and (forced-colors: active) and (prefers-color-scheme: light)".replace("@media ",""))]=em({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),nF),cF={selectors:em((rF={},rF[R_]=(oF={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},oF[".".concat(Py," &:focus:after")]={borderColor:"HighlightText"},oF),rF[".ms-Checkbox-checkbox"]=(iF={},iF[R_]={borderColor:"HighlightText"},iF),rF),uF)},dF={selectors:(aF={},aF[R_]={borderColor:"Highlight"},aF)},fF=O_(0,D_),pF=ob(tF,function(e){var t,n,r,o,i,a,l,s,u,c,d,f,p=e.theme,h=e.hasError,m=e.hasLabel,g=e.className,v=e.isOpen,y=e.disabled,b=e.required,_=e.isRenderingPlaceholder,C=e.panelClassName,S=e.calloutClassName,w=e.calloutRenderEdge;if(!p)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var k=H_(sF,p),x=p.palette,E=p.semanticColors,F=p.effects,I=p.fonts,T={color:E.menuItemTextHovered},P={color:E.menuItemText},R={borderColor:E.errorText},D=[k.dropdownItem,{backgroundColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:"flex",alignItems:"center",padding:"0 8px",width:"100%",minHeight:36,lineHeight:20,height:0,position:"relative",border:"1px solid transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",".ms-Button-flexContainer":{width:"100%"}}],M=[k.dropdownItemHeader,em(em({},I.medium),{fontWeight:kb.semibold,color:E.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(t={},t[R_]=em({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)})],O=E.menuItemBackgroundPressed,A=function(e){var t,n;return void 0===e&&(e=!1),{selectors:(t={"&:hover":[{color:E.menuItemTextHovered,backgroundColor:e?O:E.menuItemBackgroundHovered},cF],"&.is-multi-select:hover":[{backgroundColor:e?O:"transparent"},cF],"&:active:hover":[{color:E.menuItemTextHovered,backgroundColor:e?E.menuItemBackgroundHovered:E.menuItemBackgroundPressed},cF]},t[".".concat(Py," &:focus:after, :host(.").concat(Py,") &:focus:after")]=(n={left:0,top:0,bottom:0,right:0},n[R_]={inset:"2px"},n),t[R_]={border:"none"},t)}},L=rm(rm([],D,!0),[{backgroundColor:O,color:E.menuItemTextHovered},A(!0),cF],!1),N=rm(rm([],D,!0),[{color:E.disabledText,cursor:"default",selectors:(n={},n[R_]={color:"GrayText",border:"none"},n)}],!1),B=w===nC.bottom?"".concat(F.roundedCorner2," ").concat(F.roundedCorner2," 0 0"):"0 0 ".concat(F.roundedCorner2," ").concat(F.roundedCorner2),z=w===nC.bottom?"0 0 ".concat(F.roundedCorner2," ").concat(F.roundedCorner2):"".concat(F.roundedCorner2," ").concat(F.roundedCorner2," 0 0");return{root:[k.root,g],label:k.label,dropdown:[k.dropdown,X_,I.medium,{color:E.menuItemText,borderColor:E.focusBorder,position:"relative",outline:0,userSelect:"none",selectors:(r={},r["&:hover ."+k.title]=[!y&&T,{borderColor:v?x.neutralSecondary:x.neutralPrimary},dF],r["&:focus ."+k.title]=[!y&&T,{selectors:(o={},o[R_]={color:"Highlight"},o)}],r["&:focus:after"]=[{pointerEvents:"none",content:"''",position:"absolute",boxSizing:"border-box",top:"0px",left:"0px",width:"100%",height:"100%",border:y?"none":"2px solid ".concat(x.themePrimary),borderRadius:"2px",selectors:(i={},i[R_]={color:"Highlight"},i)}],r["&:active ."+k.title]=[!y&&T,{borderColor:x.themePrimary},dF],r["&:hover ."+k.caretDown]=!y&&P,r["&:focus ."+k.caretDown]=[!y&&P,{selectors:(a={},a[R_]={color:"Highlight"},a)}],r["&:active ."+k.caretDown]=!y&&P,r["&:hover ."+k.titleIsPlaceHolder]=!y&&P,r["&:focus ."+k.titleIsPlaceHolder]=!y&&P,r["&:active ."+k.titleIsPlaceHolder]=!y&&P,r["&:hover ."+k.titleHasError]=R,r["&:active ."+k.titleHasError]=R,r)},v&&"is-open",y&&"is-disabled",b&&"is-required",b&&!m&&{selectors:(l={":before":{content:"'*'",color:E.errorText,position:"absolute",top:-5,right:-10}},l[R_]={selectors:{":after":{right:-14}}},l)}],title:[k.title,X_,{backgroundColor:E.inputBackground,borderWidth:1,borderStyle:"solid",borderColor:E.inputBorder,borderRadius:v?B:F.roundedCorner2,cursor:"pointer",display:"block",height:32,lineHeight:30,padding:"0 28px 0 8px",position:"relative",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},_&&[k.titleIsPlaceHolder,{color:E.inputPlaceholderText}],h&&[k.titleHasError,R],y&&{backgroundColor:E.disabledBackground,border:"none",color:E.disabledText,cursor:"default",selectors:(s={},s[R_]=em({border:"1px solid GrayText",color:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s)}],caretDownWrapper:[k.caretDownWrapper,{height:32,lineHeight:30,paddingTop:1,position:"absolute",right:8,top:0},!y&&{cursor:"pointer"}],caretDown:[k.caretDown,{color:x.neutralSecondary,fontSize:I.small.fontSize,pointerEvents:"none"},y&&{color:E.disabledText,selectors:(u={},u[R_]=em({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)}],errorMessage:em(em({color:E.errorText},p.fonts.small),{paddingTop:5}),callout:[k.callout,{boxShadow:F.elevation8,borderRadius:z,selectors:(c={},c[".ms-Callout-main"]={borderRadius:z},c)},S],dropdownItemsWrapper:{selectors:{"&:focus":{outline:0}}},dropdownItems:[k.dropdownItems,{display:"block"}],dropdownItem:rm(rm([],D,!0),[A()],!1),dropdownItemSelected:L,dropdownItemDisabled:N,dropdownItemSelectedAndDisabled:[L,N,{backgroundColor:"transparent"}],dropdownItemHidden:rm(rm([],D,!0),[{display:"none"}],!1),dropdownDivider:[k.dropdownDivider,{height:1,backgroundColor:E.bodyDivider}],dropdownDividerHidden:[k.dropdownDivider,{display:"none"}],dropdownOptionText:[k.dropdownOptionText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:0,maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",margin:"1px"}],dropdownItemHeader:M,dropdownItemHeaderHidden:rm(rm([],M,!0),[{display:"none"}],!1),subComponentStyles:{label:{root:{display:"inline-block"}},multiSelectItem:{root:{padding:0},label:{alignSelf:"stretch",padding:"0 8px",width:"100%"},input:{selectors:(d={},d[".".concat(Py," &:focus + label::before, :host(.").concat(Py,") &:focus + label::before")]={outlineOffset:"0px"},d)}},panel:{root:[C],main:{selectors:(f={},f[fF]={width:272},f)},contentInner:{padding:"0 0 20px"}}}}},void 0,{scope:"Dropdown"});function hF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('".concat(e,"fabric-icons-a13498cf.woff') format('woff')")},icons:{GlobalNavButton:"",ChevronDown:"",ChevronUp:"",Edit:"",Add:"",Cancel:"",More:"",Settings:"",Mail:"",Filter:"",Search:"",Share:"",BlockedSite:"",FavoriteStar:"",FavoriteStarFill:"",CheckMark:"",Delete:"",ChevronLeft:"",ChevronRight:"",Calendar:"",Megaphone:"",Undo:"",Flag:"",Page:"",Pinned:"",View:"",Clear:"",Download:"",Upload:"",Folder:"",Sort:"",AlignRight:"",AlignLeft:"",Tag:"",AddFriend:"",Info:"",SortLines:"",List:"",CircleRing:"",Heart:"",HeartFill:"",Tiles:"",Embed:"",Glimmer:"",Ascending:"",Descending:"",SortUp:"",SortDown:"",SyncToPC:"",LargeGrid:"",SkypeCheck:"",SkypeClock:"",SkypeMinus:"",ClearFilter:"",Flow:"",StatusCircleCheckmark:"",MoreVertical:""}},t)}function mF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-0"',src:"url('".concat(e,"fabric-icons-0-467ee27f.woff') format('woff')")},icons:{PageLink:"",CommentSolid:"",ChangeEntitlements:"",Installation:"",WebAppBuilderModule:"",WebAppBuilderFragment:"",WebAppBuilderSlot:"",BullseyeTargetEdit:"",WebAppBuilderFragmentCreate:"",PageData:"",PageHeaderEdit:"",ProductList:"",UnpublishContent:"",DependencyAdd:"",DependencyRemove:"",EntitlementPolicy:"",EntitlementRedemption:"",SchoolDataSyncLogo:"",PinSolid12:"",PinSolidOff12:"",AddLink:"",SharepointAppIcon16:"",DataflowsLink:"",TimePicker:"",UserWarning:"",ComplianceAudit:"",InternetSharing:"",Brightness:"",MapPin:"",Airplane:"",Tablet:"",QuickNote:"",Video:"",People:"",Phone:"",Pin:"",Shop:"",Stop:"",Link:"",AllApps:"",Zoom:"",ZoomOut:"",Microphone:"",Camera:"",Attach:"",Send:"",FavoriteList:"",PageSolid:"",Forward:"",Back:"",Refresh:"",Lock:"",ReportHacked:"",EMI:"",MiniLink:"",Blocked:"",ReadingMode:"",Favicon:"",Remove:"",Checkbox:"",CheckboxComposite:"",CheckboxFill:"",CheckboxIndeterminate:"",CheckboxCompositeReversed:"",BackToWindow:"",FullScreen:"",Print:"",Up:"",Down:"",OEM:"",Save:"",ReturnKey:"",Cloud:"",Flashlight:"",CommandPrompt:"",Sad:"",RealEstate:"",SIPMove:"",EraseTool:"",GripperTool:"",Dialpad:"",PageLeft:"",PageRight:"",MultiSelect:"",KeyboardClassic:"",Play:"",Pause:"",InkingTool:"",Emoji2:"",GripperBarHorizontal:"",System:"",Personalize:"",SearchAndApps:"",Globe:"",EaseOfAccess:"",ContactInfo:"",Unpin:"",Contact:"",Memo:"",IncomingCall:""}},t)}function gF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-1"',src:"url('".concat(e,"fabric-icons-1-4d521695.woff') format('woff')")},icons:{Paste:"",WindowsLogo:"",Error:"",GripperBarVertical:"",Unlock:"",Slideshow:"",Trim:"",AutoEnhanceOn:"",AutoEnhanceOff:"",Color:"",SaveAs:"",Light:"",Filters:"",AspectRatio:"",Contrast:"",Redo:"",Crop:"",PhotoCollection:"",Album:"",Rotate:"",PanoIndicator:"",Translate:"",RedEye:"",ViewOriginal:"",ThumbnailView:"",Package:"",Telemarketer:"",Warning:"",Financial:"",Education:"",ShoppingCart:"",Train:"",Move:"",TouchPointer:"",Merge:"",TurnRight:"",Ferry:"",Highlight:"",PowerButton:"",Tab:"",Admin:"",TVMonitor:"",Speakers:"",Game:"",HorizontalTabKey:"",UnstackSelected:"",StackIndicator:"",Nav2DMapView:"",StreetsideSplitMinimize:"",Car:"",Bus:"",EatDrink:"",SeeDo:"",LocationCircle:"",Home:"",SwitcherStartEnd:"",ParkingLocation:"",IncidentTriangle:"",Touch:"",MapDirections:"",CaretHollow:"",CaretSolid:"",History:"",Location:"",MapLayers:"",SearchNearby:"",Work:"",Recent:"",Hotel:"",Bank:"",LocationDot:"",Dictionary:"",ChromeBack:"",FolderOpen:"",PinnedFill:"",RevToggleKey:"",USB:"",Previous:"",Next:"",Sync:"",Help:"",Emoji:"",MailForward:"",ClosePane:"",OpenPane:"",PreviewLink:"",ZoomIn:"",Bookmarks:"",Document:"",ProtectedDocument:"",OpenInNewWindow:"",MailFill:"",ViewAll:"",Switch:"",Rename:"",Go:"",Remote:"",SelectAll:"",Orientation:"",Import:""}},t)}function vF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-2"',src:"url('".concat(e,"fabric-icons-2-63c99abf.woff') format('woff')")},icons:{Picture:"",ChromeClose:"",ShowResults:"",Message:"",CalendarDay:"",CalendarWeek:"",MailReplyAll:"",Read:"",Cut:"",PaymentCard:"",Copy:"",Important:"",MailReply:"",GotoToday:"",Font:"",FontColor:"",FolderFill:"",Permissions:"",DisableUpdates:"",Unfavorite:"",Italic:"",Underline:"",Bold:"",MoveToFolder:"",Dislike:"",Like:"",AlignCenter:"",OpenFile:"",ClearSelection:"",FontDecrease:"",FontIncrease:"",FontSize:"",CellPhone:"",RepeatOne:"",RepeatAll:"",Calculator:"",Library:"",PostUpdate:"",NewFolder:"",CalendarReply:"",UnsyncFolder:"",SyncFolder:"",BlockContact:"",Accept:"",BulletedList:"",Preview:"",News:"",Chat:"",Group:"",World:"",Comment:"",DockLeft:"",DockRight:"",Repair:"",Accounts:"",Street:"",RadioBullet:"",Stopwatch:"",Clock:"",WorldClock:"",AlarmClock:"",Photo:"",ActionCenter:"",Hospital:"",Timer:"",FullCircleMask:"",LocationFill:"",ChromeMinimize:"",ChromeRestore:"",Annotation:"",Fingerprint:"",Handwriting:"",ChromeFullScreen:"",Completed:"",Label:"",FlickDown:"",FlickUp:"",FlickLeft:"",FlickRight:"",MiniExpand:"",MiniContract:"",Streaming:"",MusicInCollection:"",OneDriveLogo:"",CompassNW:"",Code:"",LightningBolt:"",CalculatorMultiply:"",CalculatorAddition:"",CalculatorSubtract:"",CalculatorPercentage:"",CalculatorEqualTo:"",PrintfaxPrinterFile:"",StorageOptical:"",Communications:"",Headset:"",Health:"",Webcam2:"",FrontCamera:"",ChevronUpSmall:""}},t)}function yF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-3"',src:"url('".concat(e,"fabric-icons-3-089e217a.woff') format('woff')")},icons:{ChevronDownSmall:"",ChevronLeftSmall:"",ChevronRightSmall:"",ChevronUpMed:"",ChevronDownMed:"",ChevronLeftMed:"",ChevronRightMed:"",Devices2:"",PC1:"",PresenceChickletVideo:"",Reply:"",HalfAlpha:"",ConstructionCone:"",DoubleChevronLeftMed:"",Volume0:"",Volume1:"",Volume2:"",Volume3:"",Chart:"",Robot:"",Manufacturing:"",LockSolid:"",FitPage:"",FitWidth:"",BidiLtr:"",BidiRtl:"",RightDoubleQuote:"",Sunny:"",CloudWeather:"",Cloudy:"",PartlyCloudyDay:"",PartlyCloudyNight:"",ClearNight:"",RainShowersDay:"",Rain:"",Thunderstorms:"",RainSnow:"",Snow:"",BlowingSnow:"",Frigid:"",Fog:"",Squalls:"",Duststorm:"",Unknown:"",Precipitation:"",Ribbon:"",AreaChart:"",Assign:"",FlowChart:"",CheckList:"",Diagnostic:"",Generate:"",LineChart:"",Equalizer:"",BarChartHorizontal:"",BarChartVertical:"",Freezing:"",FunnelChart:"",Processing:"",Quantity:"",ReportDocument:"",StackColumnChart:"",SnowShowerDay:"",HailDay:"",WorkFlow:"",HourGlass:"",StoreLogoMed20:"",TimeSheet:"",TriangleSolid:"",UpgradeAnalysis:"",VideoSolid:"",RainShowersNight:"",SnowShowerNight:"",Teamwork:"",HailNight:"",PeopleAdd:"",Glasses:"",DateTime2:"",Shield:"",Header1:"",PageAdd:"",NumberedList:"",PowerBILogo:"",Info2:"",MusicInCollectionFill:"",Asterisk:"",ErrorBadge:"",CircleFill:"",Record2:"",AllAppsMirrored:"",BookmarksMirrored:"",BulletedListMirrored:"",CaretHollowMirrored:"",CaretSolidMirrored:"",ChromeBackMirrored:"",ClearSelectionMirrored:"",ClosePaneMirrored:"",DockLeftMirrored:"",DoubleChevronLeftMedMirrored:"",GoMirrored:""}},t)}function bF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-4"',src:"url('".concat(e,"fabric-icons-4-a656cc0a.woff') format('woff')")},icons:{HelpMirrored:"",ImportMirrored:"",ImportAllMirrored:"",ListMirrored:"",MailForwardMirrored:"",MailReplyMirrored:"",MailReplyAllMirrored:"",MiniContractMirrored:"",MiniExpandMirrored:"",OpenPaneMirrored:"",ParkingLocationMirrored:"",SendMirrored:"",ShowResultsMirrored:"",ThumbnailViewMirrored:"",Media:"",Devices3:"",Focus:"",VideoLightOff:"",Lightbulb:"",StatusTriangle:"",VolumeDisabled:"",Puzzle:"",EmojiNeutral:"",EmojiDisappointed:"",HomeSolid:"",Ringer:"",PDF:"",HeartBroken:"",StoreLogo16:"",MultiSelectMirrored:"",Broom:"",AddToShoppingList:"",Cocktails:"",Wines:"",Articles:"",Cycling:"",DietPlanNotebook:"",Pill:"",ExerciseTracker:"",HandsFree:"",Medical:"",Running:"",Weights:"",Trackers:"",AddNotes:"",AllCurrency:"",BarChart4:"",CirclePlus:"",Coffee:"",Cotton:"",Market:"",Money:"",PieDouble:"",PieSingle:"",RemoveFilter:"",Savings:"",Sell:"",StockDown:"",StockUp:"",Lamp:"",Source:"",MSNVideos:"",Cricket:"",Golf:"",Baseball:"",Soccer:"",MoreSports:"",AutoRacing:"",CollegeHoops:"",CollegeFootball:"",ProFootball:"",ProHockey:"",Rugby:"",SubstitutionsIn:"",Tennis:"",Arrivals:"",Design:"",Website:"",Drop:"",HistoricalWeather:"",SkiResorts:"",Snowflake:"",BusSolid:"",FerrySolid:"",AirplaneSolid:"",TrainSolid:"",Ticket:"",WifiWarning4:"",Devices4:"",AzureLogo:"",BingLogo:"",MSNLogo:"",OutlookLogoInverse:"",OfficeLogo:"",SkypeLogo:"",Door:"",EditMirrored:"",GiftCard:"",DoubleBookmark:"",StatusErrorFull:""}},t)}function _F(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-5"',src:"url('".concat(e,"fabric-icons-5-f95ba260.woff') format('woff')")},icons:{Certificate:"",FastForward:"",Rewind:"",Photo2:"",OpenSource:"",Movers:"",CloudDownload:"",Family:"",WindDirection:"",Bug:"",SiteScan:"",BrowserScreenShot:"",F12DevTools:"",CSS:"",JS:"",DeliveryTruck:"",ReminderPerson:"",ReminderGroup:"",ReminderTime:"",TabletMode:"",Umbrella:"",NetworkTower:"",CityNext:"",CityNext2:"",Section:"",OneNoteLogoInverse:"",ToggleFilled:"",ToggleBorder:"",SliderThumb:"",ToggleThumb:"",Documentation:"",Badge:"",Giftbox:"",VisualStudioLogo:"",HomeGroup:"",ExcelLogoInverse:"",WordLogoInverse:"",PowerPointLogoInverse:"",Cafe:"",SpeedHigh:"",Commitments:"",ThisPC:"",MusicNote:"",MicOff:"",PlaybackRate1x:"",EdgeLogo:"",CompletedSolid:"",AlbumRemove:"",MessageFill:"",TabletSelected:"",MobileSelected:"",LaptopSelected:"",TVMonitorSelected:"",DeveloperTools:"",Shapes:"",InsertTextBox:"",LowerBrightness:"",WebComponents:"",OfflineStorage:"",DOM:"",CloudUpload:"",ScrollUpDown:"",DateTime:"",Event:"",Cake:"",Org:"",PartyLeader:"",DRM:"",CloudAdd:"",AppIconDefault:"",Photo2Add:"",Photo2Remove:"",Calories:"",POI:"",AddTo:"",RadioBtnOff:"",RadioBtnOn:"",ExploreContent:"",Product:"",ProgressLoopInner:"",ProgressLoopOuter:"",Blocked2:"",FangBody:"",Toolbox:"",PageHeader:"",ChatInviteFriend:"",Brush:"",Shirt:"",Crown:"",Diamond:"",ScaleUp:"",QRCode:"",Feedback:"",SharepointLogoInverse:"",YammerLogo:"",Hide:"",Uneditable:"",ReturnToSession:"",OpenFolderHorizontal:"",CalendarMirrored:""}},t)}function CF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-6"',src:"url('".concat(e,"fabric-icons-6-ef6fd590.woff') format('woff')")},icons:{SwayLogoInverse:"",OutOfOffice:"",Trophy:"",ReopenPages:"",EmojiTabSymbols:"",AADLogo:"",AccessLogo:"",AdminALogoInverse32:"",AdminCLogoInverse32:"",AdminDLogoInverse32:"",AdminELogoInverse32:"",AdminLLogoInverse32:"",AdminMLogoInverse32:"",AdminOLogoInverse32:"",AdminPLogoInverse32:"",AdminSLogoInverse32:"",AdminYLogoInverse32:"",DelveLogoInverse:"",ExchangeLogoInverse:"",LyncLogo:"",OfficeVideoLogoInverse:"",SocialListeningLogo:"",VisioLogoInverse:"",Balloons:"",Cat:"",MailAlert:"",MailCheck:"",MailLowImportance:"",MailPause:"",MailRepeat:"",SecurityGroup:"",Table:"",VoicemailForward:"",VoicemailReply:"",Waffle:"",RemoveEvent:"",EventInfo:"",ForwardEvent:"",WipePhone:"",AddOnlineMeeting:"",JoinOnlineMeeting:"",RemoveLink:"",PeopleBlock:"",PeopleRepeat:"",PeopleAlert:"",PeoplePause:"",TransferCall:"",AddPhone:"",UnknownCall:"",NoteReply:"",NoteForward:"",NotePinned:"",RemoveOccurrence:"",Timeline:"",EditNote:"",CircleHalfFull:"",Room:"",Unsubscribe:"",Subscribe:"",HardDrive:"",RecurringTask:"",TaskManager:"",TaskManagerMirrored:"",Combine:"",Split:"",DoubleChevronUp:"",DoubleChevronLeft:"",DoubleChevronRight:"",TextBox:"",TextField:"",NumberField:"",Dropdown:"",PenWorkspace:"",BookingsLogo:"",ClassNotebookLogoInverse:"",DelveAnalyticsLogo:"",DocsLogoInverse:"",Dynamics365Logo:"",DynamicSMBLogo:"",OfficeAssistantLogo:"",OfficeStoreLogo:"",OneNoteEduLogoInverse:"",PlannerLogo:"",PowerApps:"",Suitcase:"",ProjectLogoInverse:"",CaretLeft8:"",CaretRight8:"",CaretUp8:"",CaretDown8:"",CaretLeftSolid8:"",CaretRightSolid8:"",CaretUpSolid8:"",CaretDownSolid8:"",ClearFormatting:"",Superscript:"",Subscript:"",Strikethrough:"",Export:"",ExportMirrored:""}},t)}function SF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-7"',src:"url('".concat(e,"fabric-icons-7-2b97bb99.woff') format('woff')")},icons:{SingleBookmark:"",SingleBookmarkSolid:"",DoubleChevronDown:"",FollowUser:"",ReplyAll:"",WorkforceManagement:"",RecruitmentManagement:"",Questionnaire:"",ManagerSelfService:"",ProductionFloorManagement:"",ProductRelease:"",ProductVariant:"",ReplyMirrored:"",ReplyAllMirrored:"",Medal:"",AddGroup:"",QuestionnaireMirrored:"",CloudImportExport:"",TemporaryUser:"",CaretSolid16:"",GroupedDescending:"",GroupedAscending:"",AwayStatus:"",MyMoviesTV:"",GenericScan:"",AustralianRules:"",WifiEthernet:"",TrackersMirrored:"",DateTimeMirrored:"",StopSolid:"",DoubleChevronUp12:"",DoubleChevronDown12:"",DoubleChevronLeft12:"",DoubleChevronRight12:"",CalendarAgenda:"",ConnectVirtualMachine:"",AddEvent:"",AssetLibrary:"",DataConnectionLibrary:"",DocLibrary:"",FormLibrary:"",FormLibraryMirrored:"",ReportLibrary:"",ReportLibraryMirrored:"",ContactCard:"",CustomList:"",CustomListMirrored:"",IssueTracking:"",IssueTrackingMirrored:"",PictureLibrary:"",OfficeAddinsLogo:"",OfflineOneDriveParachute:"",OfflineOneDriveParachuteDisabled:"",TriangleSolidUp12:"",TriangleSolidDown12:"",TriangleSolidLeft12:"",TriangleSolidRight12:"",TriangleUp12:"",TriangleDown12:"",TriangleLeft12:"",TriangleRight12:"",ArrowUpRight8:"",ArrowDownRight8:"",DocumentSet:"",GoToDashboard:"",DelveAnalytics:"",ArrowUpRightMirrored8:"",ArrowDownRightMirrored8:"",CompanyDirectory:"",OpenEnrollment:"",CompanyDirectoryMirrored:"",OneDriveAdd:"",ProfileSearch:"",Header2:"",Header3:"",Header4:"",RingerSolid:"",Eyedropper:"",MarketDown:"",CalendarWorkWeek:"",SidePanel:"",GlobeFavorite:"",CaretTopLeftSolid8:"",CaretTopRightSolid8:"",ViewAll2:"",DocumentReply:"",PlayerSettings:"",ReceiptForward:"",ReceiptReply:"",ReceiptCheck:"",Fax:"",RecurringEvent:"",ReplyAlt:"",ReplyAllAlt:"",EditStyle:"",EditMail:"",Lifesaver:"",LifesaverLock:"",InboxCheck:"",FolderSearch:""}},t)}function wF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-8"',src:"url('".concat(e,"fabric-icons-8-6fdf1528.woff') format('woff')")},icons:{CollapseMenu:"",ExpandMenu:"",Boards:"",SunAdd:"",SunQuestionMark:"",LandscapeOrientation:"",DocumentSearch:"",PublicCalendar:"",PublicContactCard:"",PublicEmail:"",PublicFolder:"",WordDocument:"",PowerPointDocument:"",ExcelDocument:"",GroupedList:"",ClassroomLogo:"",Sections:"",EditPhoto:"",Starburst:"",ShareiOS:"",AirTickets:"",PencilReply:"",Tiles2:"",SkypeCircleCheck:"",SkypeCircleClock:"",SkypeCircleMinus:"",SkypeMessage:"",ClosedCaption:"",ATPLogo:"",OfficeFormsLogoInverse:"",RecycleBin:"",EmptyRecycleBin:"",Hide2:"",Breadcrumb:"",BirthdayCake:"",TimeEntry:"",CRMProcesses:"",PageEdit:"",PageArrowRight:"",PageRemove:"",Database:"",DataManagementSettings:"",CRMServices:"",EditContact:"",ConnectContacts:"",AppIconDefaultAdd:"",AppIconDefaultList:"",ActivateOrders:"",DeactivateOrders:"",ProductCatalog:"",ScatterChart:"",AccountActivity:"",DocumentManagement:"",CRMReport:"",KnowledgeArticle:"",Relationship:"",HomeVerify:"",ZipFolder:"",SurveyQuestions:"",TextDocument:"",TextDocumentShared:"",PageCheckedOut:"",PageShared:"",SaveAndClose:"",Script:"",Archive:"",ActivityFeed:"",Compare:"",EventDate:"",ArrowUpRight:"",CaretRight:"",SetAction:"",ChatBot:"",CaretSolidLeft:"",CaretSolidDown:"",CaretSolidRight:"",CaretSolidUp:"",PowerAppsLogo:"",PowerApps2Logo:"",SearchIssue:"",SearchIssueMirrored:"",FabricAssetLibrary:"",FabricDataConnectionLibrary:"",FabricDocLibrary:"",FabricFormLibrary:"",FabricFormLibraryMirrored:"",FabricReportLibrary:"",FabricReportLibraryMirrored:"",FabricPublicFolder:"",FabricFolderSearch:"",FabricMovetoFolder:"",FabricUnsyncFolder:"",FabricSyncFolder:"",FabricOpenFolderHorizontal:"",FabricFolder:"",FabricFolderFill:"",FabricNewFolder:"",FabricPictureLibrary:"",PhotoVideoMedia:"",AddFavorite:""}},t)}function kF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-9"',src:"url('".concat(e,"fabric-icons-9-c6162b42.woff') format('woff')")},icons:{AddFavoriteFill:"",BufferTimeBefore:"",BufferTimeAfter:"",BufferTimeBoth:"",PublishContent:"",ClipboardList:"",ClipboardListMirrored:"",CannedChat:"",SkypeForBusinessLogo:"",TabCenter:"",PageCheckedin:"",PageList:"",ReadOutLoud:"",CaretBottomLeftSolid8:"",CaretBottomRightSolid8:"",FolderHorizontal:"",MicrosoftStaffhubLogo:"",GiftboxOpen:"",StatusCircleOuter:"",StatusCircleInner:"",StatusCircleRing:"",StatusTriangleOuter:"",StatusTriangleInner:"",StatusTriangleExclamation:"",StatusCircleExclamation:"",StatusCircleErrorX:"",StatusCircleInfo:"",StatusCircleBlock:"",StatusCircleBlock2:"",StatusCircleQuestionMark:"",StatusCircleSync:"",Toll:"",ExploreContentSingle:"",CollapseContent:"",CollapseContentSingle:"",InfoSolid:"",GroupList:"",ProgressRingDots:"",CaloriesAdd:"",BranchFork:"",MuteChat:"",AddHome:"",AddWork:"",MobileReport:"",ScaleVolume:"",HardDriveGroup:"",FastMode:"",ToggleLeft:"",ToggleRight:"",TriangleShape:"",RectangleShape:"",CubeShape:"",Trophy2:"",BucketColor:"",BucketColorFill:"",Taskboard:"",SingleColumn:"",DoubleColumn:"",TripleColumn:"",ColumnLeftTwoThirds:"",ColumnRightTwoThirds:"",AccessLogoFill:"",AnalyticsLogo:"",AnalyticsQuery:"",NewAnalyticsQuery:"",AnalyticsReport:"",WordLogo:"",WordLogoFill:"",ExcelLogo:"",ExcelLogoFill:"",OneNoteLogo:"",OneNoteLogoFill:"",OutlookLogo:"",OutlookLogoFill:"",PowerPointLogo:"",PowerPointLogoFill:"",PublisherLogo:"",PublisherLogoFill:"",ScheduleEventAction:"",FlameSolid:"",ServerProcesses:"",Server:"",SaveAll:"",LinkedInLogo:"",Decimals:"",SidePanelMirrored:"",ProtectRestrict:"",Blog:"",UnknownMirrored:"",PublicContactCardMirrored:"",GridViewSmall:"",GridViewMedium:"",GridViewLarge:"",Step:"",StepInsert:"",StepShared:"",StepSharedAdd:"",StepSharedInsert:"",ViewDashboard:"",ViewList:""}},t)}function xF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-10"',src:"url('".concat(e,"fabric-icons-10-c4ded8e4.woff') format('woff')")},icons:{ViewListGroup:"",ViewListTree:"",TriggerAuto:"",TriggerUser:"",PivotChart:"",StackedBarChart:"",StackedLineChart:"",BuildQueue:"",BuildQueueNew:"",UserFollowed:"",ContactLink:"",Stack:"",Bullseye:"",VennDiagram:"",FiveTileGrid:"",FocalPoint:"",Insert:"",RingerRemove:"",TeamsLogoInverse:"",TeamsLogo:"",TeamsLogoFill:"",SkypeForBusinessLogoFill:"",SharepointLogo:"",SharepointLogoFill:"",DelveLogo:"",DelveLogoFill:"",OfficeVideoLogo:"",OfficeVideoLogoFill:"",ExchangeLogo:"",ExchangeLogoFill:"",Signin:"",DocumentApproval:"",CloneToDesktop:"",InstallToDrive:"",Blur:"",Build:"",ProcessMetaTask:"",BranchFork2:"",BranchLocked:"",BranchCommit:"",BranchCompare:"",BranchMerge:"",BranchPullRequest:"",BranchSearch:"",BranchShelveset:"",RawSource:"",MergeDuplicate:"",RowsGroup:"",RowsChild:"",Deploy:"",Redeploy:"",ServerEnviroment:"",VisioDiagram:"",HighlightMappedShapes:"",TextCallout:"",IconSetsFlag:"",VisioLogo:"",VisioLogoFill:"",VisioDocument:"",TimelineProgress:"",TimelineDelivery:"",Backlog:"",TeamFavorite:"",TaskGroup:"",TaskGroupMirrored:"",ScopeTemplate:"",AssessmentGroupTemplate:"",NewTeamProject:"",CommentAdd:"",CommentNext:"",CommentPrevious:"",ShopServer:"",LocaleLanguage:"",QueryList:"",UserSync:"",UserPause:"",StreamingOff:"",ArrowTallUpLeft:"",ArrowTallUpRight:"",ArrowTallDownLeft:"",ArrowTallDownRight:"",FieldEmpty:"",FieldFilled:"",FieldChanged:"",FieldNotChanged:"",RingerOff:"",PlayResume:"",BulletedList2:"",BulletedList2Mirrored:"",ImageCrosshair:"",GitGraph:"",Repo:"",RepoSolid:"",FolderQuery:"",FolderList:"",FolderListMirrored:"",LocationOutline:"",POISolid:"",CalculatorNotEqualTo:"",BoxSubtractSolid:""}},t)}function EF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-11"',src:"url('".concat(e,"fabric-icons-11-2a8393d6.woff') format('woff')")},icons:{BoxAdditionSolid:"",BoxMultiplySolid:"",BoxPlaySolid:"",BoxCheckmarkSolid:"",CirclePauseSolid:"",CirclePause:"",MSNVideosSolid:"",CircleStopSolid:"",CircleStop:"",NavigateBack:"",NavigateBackMirrored:"",NavigateForward:"",NavigateForwardMirrored:"",UnknownSolid:"",UnknownMirroredSolid:"",CircleAddition:"",CircleAdditionSolid:"",FilePDB:"",FileTemplate:"",FileSQL:"",FileJAVA:"",FileASPX:"",FileCSS:"",FileSass:"",FileLess:"",FileHTML:"",JavaScriptLanguage:"",CSharpLanguage:"",CSharp:"",VisualBasicLanguage:"",VB:"",CPlusPlusLanguage:"",CPlusPlus:"",FSharpLanguage:"",FSharp:"",TypeScriptLanguage:"",PythonLanguage:"",PY:"",CoffeeScript:"",MarkDownLanguage:"",FullWidth:"",FullWidthEdit:"",Plug:"",PlugSolid:"",PlugConnected:"",PlugDisconnected:"",UnlockSolid:"",Variable:"",Parameter:"",CommentUrgent:"",Storyboard:"",DiffInline:"",DiffSideBySide:"",ImageDiff:"",ImagePixel:"",FileBug:"",FileCode:"",FileComment:"",BusinessHoursSign:"",FileImage:"",FileSymlink:"",AutoFillTemplate:"",WorkItem:"",WorkItemBug:"",LogRemove:"",ColumnOptions:"",Packages:"",BuildIssue:"",AssessmentGroup:"",VariableGroup:"",FullHistory:"",Wheelchair:"",SingleColumnEdit:"",DoubleColumnEdit:"",TripleColumnEdit:"",ColumnLeftTwoThirdsEdit:"",ColumnRightTwoThirdsEdit:"",StreamLogo:"",PassiveAuthentication:"",AlertSolid:"",MegaphoneSolid:"",TaskSolid:"",ConfigurationSolid:"",BugSolid:"",CrownSolid:"",Trophy2Solid:"",QuickNoteSolid:"",ConstructionConeSolid:"",PageListSolid:"",PageListMirroredSolid:"",StarburstSolid:"",ReadingModeSolid:"",SadSolid:"",HealthSolid:"",ShieldSolid:"",GiftBoxSolid:"",ShoppingCartSolid:"",MailSolid:"",ChatSolid:"",RibbonSolid:""}},t)}function FF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-12"',src:"url('".concat(e,"fabric-icons-12-7e945a1e.woff') format('woff')")},icons:{FinancialSolid:"",FinancialMirroredSolid:"",HeadsetSolid:"",PermissionsSolid:"",ParkingSolid:"",ParkingMirroredSolid:"",DiamondSolid:"",AsteriskSolid:"",OfflineStorageSolid:"",BankSolid:"",DecisionSolid:"",Parachute:"",ParachuteSolid:"",FiltersSolid:"",ColorSolid:"",ReviewSolid:"",ReviewRequestSolid:"",ReviewRequestMirroredSolid:"",ReviewResponseSolid:"",FeedbackRequestSolid:"",FeedbackRequestMirroredSolid:"",FeedbackResponseSolid:"",WorkItemBar:"",WorkItemBarSolid:"",Separator:"",NavigateExternalInline:"",PlanView:"",TimelineMatrixView:"",EngineeringGroup:"",ProjectCollection:"",CaretBottomRightCenter8:"",CaretBottomLeftCenter8:"",CaretTopRightCenter8:"",CaretTopLeftCenter8:"",DonutChart:"",ChevronUnfold10:"",ChevronFold10:"",DoubleChevronDown8:"",DoubleChevronUp8:"",DoubleChevronLeft8:"",DoubleChevronRight8:"",ChevronDownEnd6:"",ChevronUpEnd6:"",ChevronLeftEnd6:"",ChevronRightEnd6:"",ContextMenu:"",AzureAPIManagement:"",AzureServiceEndpoint:"",VSTSLogo:"",VSTSAltLogo1:"",VSTSAltLogo2:"",FileTypeSolution:"",WordLogoInverse16:"",WordLogo16:"",WordLogoFill16:"",PowerPointLogoInverse16:"",PowerPointLogo16:"",PowerPointLogoFill16:"",ExcelLogoInverse16:"",ExcelLogo16:"",ExcelLogoFill16:"",OneNoteLogoInverse16:"",OneNoteLogo16:"",OneNoteLogoFill16:"",OutlookLogoInverse16:"",OutlookLogo16:"",OutlookLogoFill16:"",PublisherLogoInverse16:"",PublisherLogo16:"",PublisherLogoFill16:"",VisioLogoInverse16:"",VisioLogo16:"",VisioLogoFill16:"",TestBeaker:"",TestBeakerSolid:"",TestExploreSolid:"",TestAutoSolid:"",TestUserSolid:"",TestImpactSolid:"",TestPlan:"",TestStep:"",TestParameter:"",TestSuite:"",TestCase:"",Sprint:"",SignOut:"",TriggerApproval:"",Rocket:"",AzureKeyVault:"",Onboarding:"",Transition:"",LikeSolid:"",DislikeSolid:"",CRMCustomerInsightsApp:"",EditCreate:"",PlayReverseResume:"",PlayReverse:"",SearchData:"",UnSetColor:"",DeclineCall:""}},t)}function IF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-13"',src:"url('".concat(e,"fabric-icons-13-c3989a02.woff') format('woff')")},icons:{RectangularClipping:"",TeamsLogo16:"",TeamsLogoFill16:"",Spacer:"",SkypeLogo16:"",SkypeForBusinessLogo16:"",SkypeForBusinessLogoFill16:"",FilterSolid:"",MailUndelivered:"",MailTentative:"",MailTentativeMirrored:"",MailReminder:"",ReceiptUndelivered:"",ReceiptTentative:"",ReceiptTentativeMirrored:"",Inbox:"",IRMReply:"",IRMReplyMirrored:"",IRMForward:"",IRMForwardMirrored:"",VoicemailIRM:"",EventAccepted:"",EventTentative:"",EventTentativeMirrored:"",EventDeclined:"",IDBadge:"",BackgroundColor:"",OfficeFormsLogoInverse16:"",OfficeFormsLogo:"",OfficeFormsLogoFill:"",OfficeFormsLogo16:"",OfficeFormsLogoFill16:"",OfficeFormsLogoInverse24:"",OfficeFormsLogo24:"",OfficeFormsLogoFill24:"",PageLock:"",NotExecuted:"",NotImpactedSolid:"",FieldReadOnly:"",FieldRequired:"",BacklogBoard:"",ExternalBuild:"",ExternalTFVC:"",ExternalXAML:"",IssueSolid:"",DefectSolid:"",LadybugSolid:"",NugetLogo:"",TFVCLogo:"",ProjectLogo32:"",ProjectLogoFill32:"",ProjectLogo16:"",ProjectLogoFill16:"",SwayLogo32:"",SwayLogoFill32:"",SwayLogo16:"",SwayLogoFill16:"",ClassNotebookLogo32:"",ClassNotebookLogoFill32:"",ClassNotebookLogo16:"",ClassNotebookLogoFill16:"",ClassNotebookLogoInverse32:"",ClassNotebookLogoInverse16:"",StaffNotebookLogo32:"",StaffNotebookLogoFill32:"",StaffNotebookLogo16:"",StaffNotebookLogoFill16:"",StaffNotebookLogoInverted32:"",StaffNotebookLogoInverted16:"",KaizalaLogo:"",TaskLogo:"",ProtectionCenterLogo32:"",GallatinLogo:"",Globe2:"",Guitar:"",Breakfast:"",Brunch:"",BeerMug:"",Vacation:"",Teeth:"",Taxi:"",Chopsticks:"",SyncOccurence:"",UnsyncOccurence:"",GIF:"",PrimaryCalendar:"",SearchCalendar:"",VideoOff:"",MicrosoftFlowLogo:"",BusinessCenterLogo:"",ToDoLogoBottom:"",ToDoLogoTop:"",EditSolid12:"",EditSolidMirrored12:"",UneditableSolid12:"",UneditableSolidMirrored12:"",UneditableMirrored:"",AdminALogo32:"",AdminALogoFill32:"",ToDoLogoInverse:""}},t)}function TF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-14"',src:"url('".concat(e,"fabric-icons-14-5cf58db8.woff') format('woff')")},icons:{Snooze:"",WaffleOffice365:"",ImageSearch:"",NewsSearch:"",VideoSearch:"",R:"",FontColorA:"",FontColorSwatch:"",LightWeight:"",NormalWeight:"",SemiboldWeight:"",GroupObject:"",UngroupObject:"",AlignHorizontalLeft:"",AlignHorizontalCenter:"",AlignHorizontalRight:"",AlignVerticalTop:"",AlignVerticalCenter:"",AlignVerticalBottom:"",HorizontalDistributeCenter:"",VerticalDistributeCenter:"",Ellipse:"",Line:"",Octagon:"",Hexagon:"",Pentagon:"",RightTriangle:"",HalfCircle:"",QuarterCircle:"",ThreeQuarterCircle:"","6PointStar":"","12PointStar":"",ArrangeBringToFront:"",ArrangeSendToBack:"",ArrangeSendBackward:"",ArrangeBringForward:"",BorderDash:"",BorderDot:"",LineStyle:"",LineThickness:"",WindowEdit:"",HintText:"",MediaAdd:"",AnchorLock:"",AutoHeight:"",ChartSeries:"",ChartXAngle:"",ChartYAngle:"",Combobox:"",LineSpacing:"",Padding:"",PaddingTop:"",PaddingBottom:"",PaddingLeft:"",PaddingRight:"",NavigationFlipper:"",AlignJustify:"",TextOverflow:"",VisualsFolder:"",VisualsStore:"",PictureCenter:"",PictureFill:"",PicturePosition:"",PictureStretch:"",PictureTile:"",Slider:"",SliderHandleSize:"",DefaultRatio:"",NumberSequence:"",GUID:"",ReportAdd:"",DashboardAdd:"",MapPinSolid:"",WebPublish:"",PieSingleSolid:"",BlockedSolid:"",DrillDown:"",DrillDownSolid:"",DrillExpand:"",DrillShow:"",SpecialEvent:"",OneDriveFolder16:"",FunctionalManagerDashboard:"",BIDashboard:"",CodeEdit:"",RenewalCurrent:"",RenewalFuture:"",SplitObject:"",BulkUpload:"",DownloadDocument:"",GreetingCard:"",Flower:"",WaitlistConfirm:"",WaitlistConfirmMirrored:"",LaptopSecure:"",DragObject:"",EntryView:"",EntryDecline:"",ContactCardSettings:"",ContactCardSettingsMirrored:""}},t)}function PF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-15"',src:"url('".concat(e,"fabric-icons-15-3807251b.woff') format('woff')")},icons:{CalendarSettings:"",CalendarSettingsMirrored:"",HardDriveLock:"",HardDriveUnlock:"",AccountManagement:"",ReportWarning:"",TransitionPop:"",TransitionPush:"",TransitionEffect:"",LookupEntities:"",ExploreData:"",AddBookmark:"",SearchBookmark:"",DrillThrough:"",MasterDatabase:"",CertifiedDatabase:"",MaximumValue:"",MinimumValue:"",VisualStudioIDELogo32:"",PasteAsText:"",PasteAsCode:"",BrowserTab:"",BrowserTabScreenshot:"",DesktopScreenshot:"",FileYML:"",ClipboardSolid:"",FabricUserFolder:"",FabricNetworkFolder:"",BullseyeTarget:"",AnalyticsView:"",Video360Generic:"",Untag:"",Leave:"",Trending12:"",Blocked12:"",Warning12:"",CheckedOutByOther12:"",CheckedOutByYou12:"",CircleShapeSolid:"",SquareShapeSolid:"",TriangleShapeSolid:"",DropShapeSolid:"",RectangleShapeSolid:"",ZoomToFit:"",InsertColumnsLeft:"",InsertColumnsRight:"",InsertRowsAbove:"",InsertRowsBelow:"",DeleteColumns:"",DeleteRows:"",DeleteRowsMirrored:"",DeleteTable:"",AccountBrowser:"",VersionControlPush:"",StackedColumnChart2:"",TripleColumnWide:"",QuadColumn:"",WhiteBoardApp16:"",WhiteBoardApp32:"",PinnedSolid:"",InsertSignatureLine:"",ArrangeByFrom:"",Phishing:"",CreateMailRule:"",PublishCourse:"",DictionaryRemove:"",UserRemove:"",UserEvent:"",Encryption:"",PasswordField:"",OpenInNewTab:"",Hide3:"",VerifiedBrandSolid:"",MarkAsProtected:"",AuthenticatorApp:"",WebTemplate:"",DefenderTVM:"",MedalSolid:"",D365TalentLearn:"",D365TalentInsight:"",D365TalentHRCore:"",BacklogList:"",ButtonControl:"",TableGroup:"",MountainClimbing:"",TagUnknown:"",TagUnknownMirror:"",TagUnknown12:"",TagUnknown12Mirror:"",Link12:"",Presentation:"",Presentation12:"",Lock12:"",BuildDefinition:"",ReleaseDefinition:"",SaveTemplate:"",UserGauge:"",BlockedSiteSolid12:"",TagSolid:"",OfficeChat:""}},t)}function RF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-16"',src:"url('".concat(e,"fabric-icons-16-9cf93f3b.woff') format('woff')")},icons:{OfficeChatSolid:"",MailSchedule:"",WarningSolid:"",Blocked2Solid:"",SkypeCircleArrow:"",SkypeArrow:"",SyncStatus:"",SyncStatusSolid:"",ProjectDocument:"",ToDoLogoOutline:"",VisioOnlineLogoFill32:"",VisioOnlineLogo32:"",VisioOnlineLogoCloud32:"",VisioDiagramSync:"",Event12:"",EventDateMissed12:"",UserOptional:"",ResponsesMenu:"",DoubleDownArrow:"",DistributeDown:"",BookmarkReport:"",FilterSettings:"",GripperDotsVertical:"",MailAttached:"",AddIn:"",LinkedDatabase:"",TableLink:"",PromotedDatabase:"",BarChartVerticalFilter:"",BarChartVerticalFilterSolid:"",MicOff2:"",MicrosoftTranslatorLogo:"",ShowTimeAs:"",FileRequest:"",WorkItemAlert:"",PowerBILogo16:"",PowerBILogoBackplate16:"",BulletedListText:"",BulletedListBullet:"",BulletedListTextMirrored:"",BulletedListBulletMirrored:"",NumberedListText:"",NumberedListNumber:"",NumberedListTextMirrored:"",NumberedListNumberMirrored:"",RemoveLinkChain:"",RemoveLinkX:"",FabricTextHighlight:"",ClearFormattingA:"",ClearFormattingEraser:"",Photo2Fill:"",IncreaseIndentText:"",IncreaseIndentArrow:"",DecreaseIndentText:"",DecreaseIndentArrow:"",IncreaseIndentTextMirrored:"",IncreaseIndentArrowMirrored:"",DecreaseIndentTextMirrored:"",DecreaseIndentArrowMirrored:"",CheckListText:"",CheckListCheck:"",CheckListTextMirrored:"",CheckListCheckMirrored:"",NumberSymbol:"",Coupon:"",VerifiedBrand:"",ReleaseGate:"",ReleaseGateCheck:"",ReleaseGateError:"",M365InvoicingLogo:"",RemoveFromShoppingList:"",ShieldAlert:"",FabricTextHighlightComposite:"",Dataflows:"",GenericScanFilled:"",DiagnosticDataBarTooltip:"",SaveToMobile:"",Orientation2:"",ScreenCast:"",ShowGrid:"",SnapToGrid:"",ContactList:"",NewMail:"",EyeShadow:"",FabricFolderConfirm:"",InformationBarriers:"",CommentActive:"",ColumnVerticalSectionEdit:"",WavingHand:"",ShakeDevice:"",SmartGlassRemote:"",Rotate90Clockwise:"",Rotate90CounterClockwise:"",CampaignTemplate:"",ChartTemplate:"",PageListFilter:"",SecondaryNav:"",ColumnVerticalSection:"",SkypeCircleSlash:"",SkypeSlash:""}},t)}function DF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-17"',src:"url('".concat(e,"fabric-icons-17-0c4ed701.woff') format('woff')")},icons:{CustomizeToolbar:"",DuplicateRow:"",RemoveFromTrash:"",MailOptions:"",Childof:"",Footer:"",Header:"",BarChartVerticalFill:"",StackedColumnChart2Fill:"",PlainText:"",AccessibiltyChecker:"",DatabaseSync:"",ReservationOrders:"",TabOneColumn:"",TabTwoColumn:"",TabThreeColumn:"",BulletedTreeList:"",MicrosoftTranslatorLogoGreen:"",MicrosoftTranslatorLogoBlue:"",InternalInvestigation:"",AddReaction:"",ContactHeart:"",VisuallyImpaired:"",EventToDoLogo:"",Variable2:"",ModelingView:"",DisconnectVirtualMachine:"",ReportLock:"",Uneditable2:"",Uneditable2Mirrored:"",BarChartVerticalEdit:"",GlobalNavButtonActive:"",PollResults:"",Rerun:"",QandA:"",QandAMirror:"",BookAnswers:"",AlertSettings:"",TrimStart:"",TrimEnd:"",TableComputed:"",DecreaseIndentLegacy:"",IncreaseIndentLegacy:"",SizeLegacy:""}},t)}pF.displayName="Dropdown";am("@fluentui/font-icons-mdl2","8.5.71");var MF="".concat("https://res.cdn.office.net/files/fabric-cdn-prod_20260113.001","/assets/icons/"),OF=ng();const AF=(e="#00BAE4",t,n="#FCFCFF")=>Qm({mainContainer:{backgroundColor:n,fontFamily:t?.family||"Proxima Nova, sans-serif",WebkitFontSmoothing:"antialiased"},topWrapper:{display:"flex",flexDirection:"column",alignItems:"center",padding:"5% 25%","@media (max-width: 768px)":{padding:"5% 10%"}},formWrapper:{backgroundColor:"#fff",minWidth:"600px",padding:"5%",border:"solid 1px #ADADAD",borderRadius:8,textAlign:"left","@media (max-width: 768px)":{minWidth:"100%",width:"100%"}},inputFieldContainer:{display:"grid",gridTemplateColumns:"minmax(0, 5fr) minmax(0, 3fr)",gap:"15px 20px",marginBottom:"20px","@media (max-width: 768px)":{gridTemplateColumns:"1fr"}},checkboxIsSharedMail:{gridColumn:"span 2",margin:"10px 0 10px 0","@media (max-width: 768px)":{gridColumn:"span 1"}},bigColumn:{gridColumn:"1 / span 1"},recaptchaWrapper:{margin:"20px 0"},finalStepContainer:{width:"100%",maxWidth:"800px",margin:"0 auto",textAlign:"center"},textBlock:{padding:"40px",backgroundColor:"#fff",borderRadius:8,border:"solid 1px #ADADAD"},primaryButton:{backgroundColor:e,selectors:{":hover":{backgroundColor:e,filter:"brightness(0.9)"},":active":{backgroundColor:e,filter:"brightness(0.85)"}}}}),LF=e=>t=>{const n=e?.family||"Proxima Nova, sans-serif";return{fieldGroup:[{backgroundColor:"#F5F5F5",border:"solid 1px #DDDDDD",borderRadius:5,height:50,fontFamily:n,WebkitFontSmoothing:"antialiased"}],subComponentStyles:{label:{root:{fontSize:e?.sizes?.body||16,fontWeight:"normal",fontFamily:n,WebkitFontSmoothing:"antialiased",textAlign:"left"}}},description:{fontSize:14}}},NF=e=>{const t=e?.family||"Proxima Nova, sans-serif";return{dropdown:{backgroundColor:"#F5F5F5",border:"none",borderRadius:5,height:50},title:{backgroundColor:"#F5F5F5",border:"solid 1px #DDDDDD",borderRadius:5,height:50,lineHeight:"48px",fontFamily:t,WebkitFontSmoothing:"antialiased"},caretDownWrapper:{height:50,lineHeight:"48px"},label:{fontSize:e?.sizes?.body||16,fontWeight:"normal",fontFamily:t,WebkitFontSmoothing:"antialiased",textAlign:"left"}}},BF=e=>{const t=e?.family||"Proxima Nova, sans-serif";return{root:{backgroundColor:"#F5F5F5",height:50,selectors:{":after":{borderRadius:5,border:"solid 1px #DDDDDD"}}},input:{backgroundColor:"#F5F5F5",height:48,lineHeight:"48px",fontFamily:t,WebkitFontSmoothing:"antialiased"},label:{fontSize:e?.sizes?.body||16,fontWeight:"normal",fontFamily:t,WebkitFontSmoothing:"antialiased",textAlign:"left"}}},zF=(e,t="#00BAE4",n)=>({root:{display:"flex",flexDirection:e?"row-reverse":"row",gap:"20px",marginBottom:"30px"},flexContainer:{display:"flex",flexDirection:"column",gap:"4px",selectors:{".ms-ChoiceFieldLabel":{fontSize:n?.sizes?.body||16},".ms-ChoiceField-field":{selectors:{":hover .ms-ChoiceField-field::before":{borderColor:t},"::before":{borderColor:"#DDDDDD"}}},".ms-ChoiceField-field.is-checked":{selectors:{"::before":{borderColor:t},"::after":{backgroundColor:t,borderColor:t}}}}}}),HF=({name:e,control:t,rules:n,defaultValue:r,...o})=>H.createElement(Bd,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{onChange:e,onBlur:t,name:n,value:r},fieldState:{error:i}})=>H.createElement(Vx,{...o,onChange:e,value:r,onBlur:t,name:n,errorMessage:i&&i.message,defaultValue:void 0})}),VF=({name:e,control:t,rules:n,defaultValue:r,setValue:o,setError:i,clearErrors:a,trigger:l,setIsValidating:s,translation:u,validateEmail:c,config:d,apiService:f,...p})=>{const[h,m]=z.useState(null),g=z.useCallback(async e=>{if(!e)return s(!1),u.EmailError;s(!0);try{let t=!1;if(c)t=await c(e);else if(d?.onValidateEmail)t=await d.onValidateEmail(e);else if(f)t=await f.validateEmail(e);else{t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e)}return s(!1),!!t||u.EmailInvalid}catch(e){return s(!1),u.EmailInvalid}},[c,d,f,u,s]),v=(e,t)=>{h&&clearTimeout(h);const n=setTimeout(async()=>{const t=await g(e);a("email"),!0!==t?i("email",{type:"manual",message:t}):a("email")},900);m(n)};return H.createElement(Bd,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{name:e,value:t,onChange:n},fieldState:{error:r}})=>H.createElement(Vx,{...p,onChange:(e,t)=>{s(!0),n(t),v(t)},onBlur:e=>{s(!0),v(t)},value:t,name:e,errorMessage:r?r.message:void 0,defaultValue:void 0})})},WF=({name:e,control:t,rules:n,defaultValue:r,primaryColor:o,...i})=>{const a=o||"#00BAE4",l=e=>({checkbox:{borderRadius:"3px",borderColor:"#DDDDDD",selectors:{":hover":{borderColor:a}},...e.checked&&{backgroundColor:a,borderColor:a}},checkmark:{color:"#fff"},label:{fontSize:16,fontWeight:"normal",fontFamily:"Proxima Nova, sans-serif",WebkitFontSmoothing:"antialiased"}});return H.createElement(Bd,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{onChange:e,name:t,value:n},fieldState:{error:r}})=>H.createElement(lx,{...i,checked:n,onChange:e,styles:l})})},UF=({name:t,control:n,rules:r,defaultValue:o,options:i,...a})=>{const l=n=>{switch(t){case e.FormModel.CompanySize:return n;case e.FormModel.OrgIndustryId:return i.find(e=>e.text===n)?.text;default:return i.find(e=>e.text===n)?.key}};return H.createElement(Bd,{name:t,control:n,rules:r,defaultValue:o||"",render:({field:{onChange:n,onBlur:r,value:o},fieldState:{error:s}})=>H.createElement(pF,{...a,options:i,selectedKey:l(o),onChange:(r,o)=>{"string"==typeof o?.key||t==e.FormModel.CompanySize||t==e.FormModel.OrgIndustryId?n(o?.key):n(o?.text)},onBlur:r,errorMessage:s&&s.message,styles:s?{...a.styles,title:{...a.styles?.title,border:"solid 1px #a4262c"}}:a.styles})})},jF=({name:e,control:t,rules:n,defaultValue:r,options:o,...i})=>H.createElement(Bd,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{onChange:e,onBlur:t,name:n,value:r},fieldState:{error:a}})=>H.createElement(eE,{...i,options:o,selectedKey:r,onChange:(t,n)=>{e("string"==typeof n?.key?n.key:n?.text)},onBlur:t,errorMessage:a&&a.message,defaultValue:void 0,allowFreeInput:!0,autoComplete:"on",styles:a?{...i.styles,root:{...i.styles?.root,selectors:{...i.styles?.root?.selectors,":after":{...i.styles?.root?.selectors?.[":after"],border:"solid 1px #a4262c"}}}}:i.styles})});var KF;e.FormDataModels=void 0,(KF=e.FormDataModels||(e.FormDataModels={})).CompanySizeDropdownOptions=[{key:1,text:"1-9"},{key:2,text:"10-24"},{key:3,text:"25-49"},{key:4,text:"50-99"},{key:5,text:"100-199"},{key:6,text:"200-299"},{key:7,text:"300-499"},{key:8,text:"500-999"},{key:9,text:"1000-2499"},{key:10,text:"2500-4999"},{key:11,text:"5000+"}],KF.IndustryOptions=[{key:1,text:"Agriculture, Forestry, Fishing, and Hunting"},{key:2,text:"Mining, Quarrying, and Oil and Gas Extraction"},{key:3,text:"Utilities"},{key:4,text:"Construction"},{key:5,text:"Manufacturing"},{key:6,text:"Wholesale Trade"},{key:7,text:"Retail Trade"},{key:8,text:"Transportation and Warehousing"},{key:9,text:"Information, Media, and Publishing"},{key:10,text:"Telecommunications"},{key:11,text:"Finance and Insurance"},{key:12,text:"Real Estate and Rental and Leasing"},{key:13,text:"Professional, Scientific, and Technical Services"},{key:14,text:"Management of Companies and Enterprises"},{key:15,text:"Administrative and Support and Waste Management and Remediation Services"},{key:16,text:"Educational Services"},{key:17,text:"Health Care and Social Assistance"},{key:18,text:"Arts, Entertainment, and Recreation"},{key:19,text:"Accommodation and Food Services"},{key:20,text:"E-commerce and Digital Services"},{key:21,text:"Defense and Aerospace"},{key:22,text:"Other Services (except Public Administration)"},{key:23,text:"Public Administration"}],KF.HearAboutOptions=[{key:1,text:"Microsoft Partner"},{key:2,text:"Search Engine"},{key:3,text:"Social Media"},{key:4,text:"Microsoft Website"},{key:5,text:"Microsoft Event"},{key:6,text:"Email Newsletter"},{key:7,text:"Colleague or Friend"},{key:8,text:"Advertisement"},{key:9,text:"Blog or Article"},{key:10,text:"Other"}];const qF=({formModels:t,isRegistering:n,control:r,setValue:o,setError:i,clearErrors:a,errors:l,trigger:s,performByPartner:u,watchFormField:c,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:y,partnerData:b,primaryColor:_})=>{const C=_||f.theme?.primaryColor||"#00BAE4",[S,w]=z.useState({}),k=t.reduce((t,n)=>{const r=((t,n,r)=>[{name:e.FormModel.CustomerPartnerName,type:e.FormType.Text,label:t.PartnerName,placeholder:t.PartnerNamePlaceholder,rules:{required:!!n&&t.PartnerNameError}},{name:e.FormModel.CustomerPartnerMail,type:e.FormType.Text,label:t.PartnerEmail,placeholder:t.PartnerEmailPlaceholder,rules:{required:!!n&&t.PartnerEmailError,pattern:{value:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,message:t.EmailInvalid}}},{name:e.FormModel.FirstName,type:e.FormType.Text,label:t.FirstName,placeholder:t.FirstNamePlaceholder,rules:{required:t.FirstNameError}},{name:e.FormModel.LastName,type:e.FormType.Text,label:t.LastName,placeholder:t.LastNamePlaceholder,rules:{required:t.LastNameError}},{name:e.FormModel.Email,type:e.FormType.AsyncText,label:t.EmailAddress,placeholder:t.EmailPlaceholder,description:t.EmailDesc,rules:{required:t.EmailError}},{name:e.FormModel.JobRole,type:e.FormType.Text,label:t.JobRole,placeholder:t.JobRolePlaceholder},{name:e.FormModel.IsSharedMail,type:e.FormType.CheckBox,label:t.IsSharedMailTerm},{name:e.FormModel.CompanyName,type:e.FormType.Text,label:t.CompanyName,placeholder:t.CompanyNamePlaceholder,rules:{required:t.CompanyNameError}},{name:e.FormModel.CompanySize,type:e.FormType.Dropdown,label:t.CompanySize},{name:e.FormModel.Country,type:e.FormType.ComboBox,label:t.Country,placeholder:t.CountryPlaceholder,rules:{required:t.CountryError}},{name:e.FormModel.PreferredLanguage,type:e.FormType.Dropdown,label:t.SelectPreferredLanguage},{name:e.FormModel.HearAbout,type:e.FormType.Dropdown,label:t.HearAbout,placeholder:t.HearAboutPlaceholder,rules:{required:t.HearAboutError},bigColumn:!0},{name:e.FormModel.OrgIndustryId,type:e.FormType.Dropdown,label:t.Industry,placeholder:t.HearAboutPlaceholder,rules:{required:t.HearAboutError},bigColumn:!0}].find(e=>e.name===r)||null)(d,u,n);return r?[...t,r]:t},[]),x=t=>{switch(t){case e.FormModel.CompanySize:return g||e.FormDataModels.CompanySizeDropdownOptions;case e.FormModel.OrgIndustryId:return v||e.FormDataModels.IndustryOptions;case e.FormModel.HearAbout:return y||e.FormDataModels.HearAboutOptions;case e.FormModel.PreferredLanguage:{const e=b?.supportedLanguages||[];return 0===e.length?Hh:Hh.filter(t=>e.includes(t.data.code))}case e.FormModel.Country:return m||[];default:return[]}};return H.createElement(H.Fragment,null,k.map(t=>((t,u)=>{const g=S[t.name]||!1;switch(t.type){case e.FormType.Text:return H.createElement(HF,{name:t.name,control:r,rules:t.rules,label:t.label,placeholder:t.placeholder,required:t.rules?.required,disabled:n,styles:LF(f.theme?.fonts),key:u});case e.FormType.AsyncText:return H.createElement("div",{key:u},H.createElement(VF,{label:t.label,placeholder:t.placeholder,control:r,setValue:o,setError:i,clearErrors:a,name:t.name,styles:LF(f.theme?.fonts),trigger:s,setIsValidating:(y=t.name,e=>{w(t=>{const n=t[y]||!1,r="function"==typeof e?e(n):e;return{...t,[y]:r}})}),translation:d,config:f,apiService:p,rules:{required:d.EmailError},required:t.rules?.required,description:t.name in l||g?void 0:t.description,disabled:n}),g&&H.createElement(yE,{label:d.ValidatingMessage,styles:{root:{alignItems:"flex-end",justifyContent:"flex-start",flexDirection:"row"},label:{marginLeft:"5px"}}}));case e.FormType.Dropdown:return H.createElement(UF,{key:u,required:void 0!==t.rules?.required,options:x(t.name),label:t.label,rules:t.rules,control:r,name:t.name,placeholder:t.placeholder,disabled:(v=t.name,v===e.FormModel.PreferredLanguage&&"AU"===c(e.FormModel.Country)&&"Microsoft"===b?.partnerName||n),className:t.bigColumn?h.bigColumn:"",styles:NF(f.theme?.fonts)});case e.FormType.ComboBox:return H.createElement(jF,{key:u,options:m||[],label:t.label,control:r,rules:t.rules,name:t.name,placeholder:t.placeholder,required:""!==t.rules?.required,disabled:n,autoComplete:"off",styles:BF(f.theme?.fonts)});case e.FormType.CheckBox:return H.createElement(WF,{key:u,name:t.name,label:t.label,rules:t.rules,disabled:n,control:r,primaryColor:C,className:h.checkboxIsSharedMail});default:return null}var v,y})(t,t.name)))};function GF(e,t){const n=Object.assign({},e);return $F(e)&&$F(t)&&Object.keys(t).forEach(r=>{$F(t[r])?r in e?n[r]=GF(e[r],t[r]):Object.assign(n,{[r]:t[r]}):Object.assign(n,{[r]:t[r]})}),n}function $F(e){return e&&"object"==typeof e&&!Array.isArray(e)}function QF(e){return!!e&&["ar","he"].includes(e.toLowerCase())}const ZF=({isRegistering:t,performByPartner:n,setPerformByPartner:r,setValue:o,setError:i,clearErrors:a,control:l,errors:s,trigger:u,watch:c,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:y,partnerData:b,primaryColor:_})=>{const C=_||"#00BAE4",S=[{key:"ByCustomer",text:d.ByCustomer},{key:"ByPartner",text:d.ByPartner}],w=y&&y.length>0,k=[n&&e.FormModel.CustomerPartnerName,n&&e.FormModel.CustomerPartnerMail,e.FormModel.FirstName,e.FormModel.LastName,e.FormModel.Email,e.FormModel.JobRole,e.FormModel.IsSharedMail,e.FormModel.CompanyName,e.FormModel.CompanySize,e.FormModel.Country,e.FormModel.PreferredLanguage,!n&&e.FormModel.CustomerPartnerName,!n&&e.FormModel.CustomerPartnerMail,e.FormModel.OrgIndustryId,!!w&&e.FormModel.HearAbout];return H.createElement(H.Fragment,null,H.createElement(Ix,{defaultSelectedKey:"ByCustomer",options:S,styles:zF(QF(b?.languageCode),C,f.theme?.fonts),onChange:(t,n)=>{o(e.FormModel.CustomerPartnerMail,""),o(e.FormModel.CustomerPartnerName,""),a(e.FormModel.CustomerPartnerMail),a(e.FormModel.CustomerPartnerName),r("ByPartner"===n?.key)}}),H.createElement("div",{className:h.inputFieldContainer},H.createElement(qF,{formModels:k,isRegistering:t,control:l,setValue:o,setError:i,clearErrors:a,errors:s,trigger:u,performByPartner:n,watchFormField:c,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:y,partnerData:b,primaryColor:C})))};var YF={exports:{}};function JF(){}function XF(){}XF.resetWarningCache=JF;YF.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:XF,resetWarningCache:JF};return n.PropTypes=n,n}();var eI=n(YF.exports),tI=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function nI(){return nI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nI.apply(this,arguments)}function rI(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oI(e,t){return oI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oI(e,t)}var iI=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(rI(t)),t.handleErrored=t.handleErrored.bind(rI(t)),t.handleChange=t.handleChange.bind(rI(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(rI(t)),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,oI(t,n);var o=r.prototype;return o.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},o.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},o.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},o.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},o.executeAsync=function(){var e=this;return new Promise(function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()})},o.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},o.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},o.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},o.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},o.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},o.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},o.componentDidMount=function(){this.explicitRender()},o.componentDidUpdate=function(){this.explicitRender()},o.handleRecaptchaRef=function(e){this.captcha=e},o.render=function(){var e=this.props;e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated;var t=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,tI);return z.createElement("div",nI({},t,{ref:this.handleRecaptchaRef}))},r}(z.Component);iI.displayName="ReCAPTCHA",iI.propTypes={sitekey:eI.string.isRequired,onChange:eI.func,grecaptcha:eI.object,theme:eI.oneOf(["dark","light"]),type:eI.oneOf(["image","audio"]),tabindex:eI.number,onExpired:eI.func,onErrored:eI.func,size:eI.oneOf(["compact","normal","invisible"]),stoken:eI.string,hl:eI.string,badge:eI.oneOf(["bottomright","bottomleft","inline"]),isolated:eI.bool},iI.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var aI={exports:{}},lI={},sI="function"==typeof Symbol&&Symbol.for,uI=sI?Symbol.for("react.element"):60103,cI=sI?Symbol.for("react.portal"):60106,dI=sI?Symbol.for("react.fragment"):60107,fI=sI?Symbol.for("react.strict_mode"):60108,pI=sI?Symbol.for("react.profiler"):60114,hI=sI?Symbol.for("react.provider"):60109,mI=sI?Symbol.for("react.context"):60110,gI=sI?Symbol.for("react.async_mode"):60111,vI=sI?Symbol.for("react.concurrent_mode"):60111,yI=sI?Symbol.for("react.forward_ref"):60112,bI=sI?Symbol.for("react.suspense"):60113,_I=sI?Symbol.for("react.suspense_list"):60120,CI=sI?Symbol.for("react.memo"):60115,SI=sI?Symbol.for("react.lazy"):60116,wI=sI?Symbol.for("react.block"):60121,kI=sI?Symbol.for("react.fundamental"):60117,xI=sI?Symbol.for("react.responder"):60118,EI=sI?Symbol.for("react.scope"):60119;function FI(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case uI:switch(e=e.type){case gI:case vI:case dI:case pI:case fI:case bI:return e;default:switch(e=e&&e.$$typeof){case mI:case yI:case SI:case CI:case hI:return e;default:return t}}case cI:return t}}}function II(e){return FI(e)===vI}lI.AsyncMode=gI,lI.ConcurrentMode=vI,lI.ContextConsumer=mI,lI.ContextProvider=hI,lI.Element=uI,lI.ForwardRef=yI,lI.Fragment=dI,lI.Lazy=SI,lI.Memo=CI,lI.Portal=cI,lI.Profiler=pI,lI.StrictMode=fI,lI.Suspense=bI,lI.isAsyncMode=function(e){return II(e)||FI(e)===gI},lI.isConcurrentMode=II,lI.isContextConsumer=function(e){return FI(e)===mI},lI.isContextProvider=function(e){return FI(e)===hI},lI.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===uI},lI.isForwardRef=function(e){return FI(e)===yI},lI.isFragment=function(e){return FI(e)===dI},lI.isLazy=function(e){return FI(e)===SI},lI.isMemo=function(e){return FI(e)===CI},lI.isPortal=function(e){return FI(e)===cI},lI.isProfiler=function(e){return FI(e)===pI},lI.isStrictMode=function(e){return FI(e)===fI},lI.isSuspense=function(e){return FI(e)===bI},lI.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===dI||e===vI||e===pI||e===fI||e===bI||e===_I||"object"==typeof e&&null!==e&&(e.$$typeof===SI||e.$$typeof===CI||e.$$typeof===hI||e.$$typeof===mI||e.$$typeof===yI||e.$$typeof===kI||e.$$typeof===xI||e.$$typeof===EI||e.$$typeof===wI)},lI.typeOf=FI,aI.exports=lI;var TI=aI.exports,PI={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},RI={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},DI={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},MI={};function OI(e){return TI.isMemo(e)?DI:MI[e.$$typeof]||PI}MI[TI.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},MI[TI.Memo]=DI;var AI=Object.defineProperty,LI=Object.getOwnPropertyNames,NI=Object.getOwnPropertySymbols,BI=Object.getOwnPropertyDescriptor,zI=Object.getPrototypeOf,HI=Object.prototype;var VI=function e(t,n,r){if("string"!=typeof n){if(HI){var o=zI(n);o&&o!==HI&&e(t,o,r)}var i=LI(n);NI&&(i=i.concat(NI(n)));for(var a=OI(t),l=OI(n),s=0;s<i.length;++s){var u=i[s];if(!(RI[u]||r&&r[u]||l&&l[u]||a&&a[u])){var c=BI(n,u);try{AI(t,u,c)}catch(e){}}}}return t},WI=n(VI);function UI(){return UI=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UI.apply(this,arguments)}var jI={},KI=0;var qI="onloadcallback";function GI(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}var $I,QI,ZI=($I=function(){var e=GI(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+qI+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+qI+"&render=explicit"},QI=(QI={callbackName:qI,globalName:"grecaptcha",attributes:GI().nonce?{nonce:GI().nonce}:{}})||{},function(e){var t=e.displayName||e.name||"Component",n=function(t){var n,r;function o(e,n){var r;return(r=t.call(this,e,n)||this).state={},r.__scriptURL="",r}r=t,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r;var i=o.prototype;return i.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+KI++),this.__scriptLoaderID},i.setupScriptURL=function(){return this.__scriptURL="function"==typeof $I?$I():$I,this.__scriptURL},i.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},i.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=jI[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[QI.callbackName]},i.componentDidMount=function(){var e=this,t=this.setupScriptURL(),n=this.asyncScriptLoaderGetScriptLoaderID(),r=QI,o=r.globalName,i=r.callbackName,a=r.scriptId;if(o&&void 0!==window[o]&&(jI[t]={loaded:!0,observers:{}}),jI[t]){var l=jI[t];return l&&(l.loaded||l.errored)?void this.asyncScriptLoaderHandleLoad(l):void(l.observers[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var s={};s[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)},jI[t]={loaded:!1,observers:s};var u=document.createElement("script");for(var c in u.src=t,u.async=!0,QI.attributes)u.setAttribute(c,QI.attributes[c]);a&&(u.id=a);var d=function(e){if(jI[t]){var n=jI[t].observers;for(var r in n)e(n[r])&&delete n[r]}};i&&"undefined"!=typeof window&&(window[i]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),u.onload=function(){var e=jI[t];e&&(e.loaded=!0,d(function(t){return!i&&(t(e),!0)}))},u.onerror=function(){var e=jI[t];e&&(e.errored=!0,d(function(t){return t(e),!0}))},document.body.appendChild(u)},i.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===QI.removeOnUnmount)for(var t=document.getElementsByTagName("script"),n=0;n<t.length;n+=1)t[n].src.indexOf(e)>-1&&t[n].parentNode&&t[n].parentNode.removeChild(t[n]);var r=jI[e];r&&(delete r.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===QI.removeOnUnmount&&delete jI[e])},i.render=function(){var t=QI.globalName,n=this.props;n.asyncScriptOnLoad;var r=n.forwardedRef,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(o[t]=void 0!==window[t]?window[t]:void 0),o.ref=r,z.createElement(e,o)},o}(z.Component),r=z.forwardRef(function(e,t){return z.createElement(n,UI({},e,{forwardedRef:t}))});return r.displayName="AsyncScriptLoader("+t+")",r.propTypes={asyncScriptOnLoad:eI.func},WI(r,e)})(iI);const YI=e=>{const{styles:t,description:n,primaryColor:r,fonts:o,...i}=e;return H.createElement("div",null,H.createElement(lx,{...i,styles:e=>{const n=((e,t,n)=>{const r=t||"#00BAE4",o=n?.family||"Proxima Nova, sans-serif",i=n?.sizes?.body||16;return{root:{margin:"10px 0 5px 0"},checkbox:{borderRadius:"3px",borderColor:"#DDDDDD",selectors:{":hover":{borderColor:r}},...e.checked&&{backgroundColor:r,borderColor:r}},checkmark:{color:"#fff"},label:{fontSize:i,fontWeight:"normal",fontFamily:o,WebkitFontSmoothing:"antialiased"},text:[{fontSize:"18px",margin:"0 4px"},e.checked&&{fontWeight:600}]}})(e,r,o);return t?GF(n,"function"==typeof t?t(e):t):n}}),n&&H.createElement("div",{style:{margin:"0 28px",cursor:"default"},className:"checkboxDescription"},n))},JI=(e,t)=>({root:{borderRadius:8,height:60,boxShadow:t?"none":"0px 2px 5px 0px #b1b1b1f2",border:"none !important",backgroundColor:e||"#00BAE4"},rootHovered:{backgroundColor:e||"#00BAE4",filter:"brightness(0.9)"},rootPressed:{backgroundColor:e||"#00BAE4",filter:"brightness(0.85)"},rootDisabled:{backgroundColor:"#cecece",color:"#fff"},textContainer:{fontSize:"18px",fontWeight:"600"},menuIcon:{fontSize:"25px",fontWeight:"700"},menuIconDisabled:{color:"#fff"},icon:{fontSize:"25px",fontWeight:"700"},iconDisabled:{color:"#fff"}}),XI=()=>z.createElement(yE,{size:nE.medium,style:{marginRight:8}}),eT=e=>{const{primaryColor:t,noShadow:n,iconProps:r,noIcon:o,iconName:i,loadingIcon:a,styles:l,...s}=e,u=void 0===i?QF()?"ChevronLeft":"ChevronRight":i,c=l?GF(JI(t,n),l):JI(t,n);return o?z.createElement(Xk,{...s,styles:c}):r?z.createElement(Xk,{...s,styles:c,iconProps:{iconName:u},disabled:a,onRenderIcon:()=>a?XI():null}):z.createElement(Xk,{...s,styles:c,menuIconProps:{iconName:u},onRenderIcon:()=>a?XI():null})},tT=({setValue:t,isRegistering:n,errors:r,translation:o,config:i,submissionError:a,primaryColor:l,partnerData:s})=>{const[u,c]=z.useState(!1),[d,f]=z.useState(!1),[p,h]=z.useState(!1),m=l||"#00BAE4",g=s?`https://${s.domain}/terms-and-conditions`:"",v=o.PrivacyStatementLink,y=v&&!/^https?:\/\//.test(v)&&s?`https://${s.domain}${v}`:v;return H.createElement("div",null,H.createElement("div",{style:{margin:"20px 0"}},H.createElement(ZI,{sitekey:"6LeSgOkgAAAAAG820G9BYrck3obgjOBn05IdJhom",onChange:e=>c(!!e)})),H.createElement(YI,{onRenderLabel:()=>H.createElement("span",{style:{margin:"0 8px",fontSize:14}},o.AcceptPrivacy," ",H.createElement("a",{href:y,target:"_blank",rel:"noopener noreferrer",style:{color:m}},o.PrivacyNotice)),styles:{root:{margin:"30px 0"}},onChange:(n,r)=>{t(e.FormModel.IsConsented,r),h(r)},disabled:n,primaryColor:m,fonts:i.theme?.fonts}),H.createElement(YI,{onRenderLabel:()=>H.createElement("span",{style:{margin:"0 8px",fontSize:14}},o.AcceptTerm," ",H.createElement("a",{href:g,target:"_blank",rel:"noopener noreferrer",style:{color:m}},o.TermCondition)),styles:{root:{margin:"30px 0"}},onChange:(n,r)=>{r?(f(!0),t(e.FormModel.ConsentedDate,new Date)):(f(!1),t(e.FormModel.ConsentedDate,void 0))},disabled:n,primaryColor:m,fonts:i.theme?.fonts}),a&&H.createElement("div",{style:{backgroundColor:"#FDE7E9",border:"1px solid #DC3545",borderRadius:4,padding:"12px 16px",marginBottom:20,color:"#DC3545",fontSize:14,display:"flex",alignItems:"center",gap:8}},H.createElement("span",{style:{fontSize:16,fontWeight:600}},"⚠"),H.createElement("span",null,a)),H.createElement(eT,{text:o.SubmitRequest,primaryColor:m,styles:{root:{display:"block",width:"100%"}},type:"submit",disabled:Object.keys(r).length>0||n||!d||!p||!u,onRenderMenuIcon:(e,t)=>n?H.createElement(yE,{size:nE.medium}):t?t():null}))},nT="ColorWidget",rT="KnownProductFrom",oT=({config:t})=>{const[n,r]=z.useState(),[o,i]=z.useState(),a=Ef(t),l=a.apiBaseUrl||"https://portal.selfserviceassessment.com",s=z.useMemo(()=>new Yh(l),[l]),u=z.useMemo(()=>new Yh(n?.domain?new URL(`https://${n?.domain}`).toString():""),[n?.domain]),c=z.useMemo(()=>AF(a.theme?.primaryColor||o?.column1,a.theme?.fonts,a.theme?.backgroundColor),[a.theme?.primaryColor,a.theme?.fonts,a.theme?.backgroundColor,o?.column1]),[d,f]=z.useState(!1),[p,h]=z.useState(!1),[m,g]=z.useState(""),[v,y]=z.useState(),[b,_]=z.useState(),[C,S]=z.useState(e.FormDataModels.CompanySizeDropdownOptions),[w,k]=z.useState(e.FormDataModels.IndustryOptions),[x,E]=z.useState(),[F,I]=z.useState(),[T,P]=z.useState(!1),[R,D]=z.useState(!1),[M,O]=z.useState(!1),[A,L]=z.useState(!1),[N,B]=z.useState(!1),[V,W]=z.useState(!1),U=T||R||M||A||N,j=z.useMemo(()=>{const e=n?.supportedLanguages?n.supportedLanguages.split(",").map(e=>e.trim()):[];return xf.isEmpty(e)?Hh:Hh.filter(t=>e.includes(t.data.code))},[n?.supportedLanguages]),K=z.useMemo(()=>{const e=a.languageCode||n?.languageCode||"en";return j.find(t=>t.data.code===e)?.text||"English"},[a.languageCode,n?.languageCode,j]),{handleSubmit:q,setValue:G,setError:$,control:Q,watch:Z,clearErrors:Y,trigger:J,formState:{errors:X}}=function(e={}){const t=H.useRef(void 0),n=H.useRef(void 0),[r,o]=H.useState({isDirty:!1,isValidating:!1,isLoading:dd(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:dd(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!dd(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:n,...o}=_f(e);t.current={...o,formState:r}}const i=t.current.control;return i._options=e,Rd(()=>{const e=i._subscribe({formState:i._proxyFormState,callback:()=>o({...i._formState}),reRenderRoot:!0});return o(e=>({...e,isReady:!0})),i._formState.isReady=!0,e},[i]),H.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),H.useEffect(()=>{e.mode&&(i._options.mode=e.mode),e.reValidateMode&&(i._options.reValidateMode=e.reValidateMode)},[i,e.mode,e.reValidateMode]),H.useEffect(()=>{e.errors&&(i._setErrors(e.errors),i._focusError())},[i,e.errors]),H.useEffect(()=>{e.shouldUnregister&&i._subjects.state.next({values:i._getWatch()})},[i,e.shouldUnregister]),H.useEffect(()=>{if(i._proxyFormState.isDirty){const e=i._getDirty();e!==r.isDirty&&i._subjects.state.next({isDirty:e})}},[i,r.isDirty]),H.useEffect(()=>{var t;e.values&&!Ad(e.values,n.current)?(i._reset(e.values,{keepFieldsRef:!0,...i._options.resetOptions}),(null===(t=i._options.resetOptions)||void 0===t?void 0:t.keepIsValid)||i._setValid(),n.current=e.values,o(e=>({...e}))):i._resetDefaultValues()},[i,e.values]),H.useEffect(()=>{i._state.mount||(i._setValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),t.current.formState=H.useMemo(()=>Pd(r,i),[i,r]),t.current}({defaultValues:{orgSizingId:1,isSharedMail:!0,isConsented:!1,consentedDate:void 0,preferredLanguage:K,assessmentProgresses:[]},mode:"all"});z.useEffect(()=>{L(!0),s.getPartnerByName(a.partnerName).then(e=>{e?r(e):W(!0)}).catch(e=>{console.error("Failed to load partner:",e),W(!0)}).finally(()=>{L(!1)})},[a.partnerName]),z.useEffect(()=>{if(!n)return;P(!0),u.getCountries().then(e=>{_(e.sort((e,t)=>e.name.localeCompare(t.name)).map(e=>({key:e.alpha2Code,text:e.name})))}).catch(e=>{console.error("Failed to load countries:",e)}).finally(()=>{P(!1)}),D(!0),u.getOrgSizes().then(e=>{S(e.filter(e=>null!=e.microsoftSizingId).sort((e,t)=>e.sortOrder-t.sortOrder).map(t=>({key:t.id,text:t.label||(t.sortOrder!==e.length-1?`${t.sizeLowerBound}-${t.sizeUpperBound}`:`${t.sizeLowerBound}+`)})))}).catch(e=>{console.error("Failed to load org sizes:",e)}).finally(()=>{D(!1)}),O(!0),u.getIndustries().then(e=>{k(e.map(e=>({key:e.id,text:e.name})))}).catch(e=>{console.error("Failed to load industries:",e)}).finally(()=>{O(!1)}),B(!0);const e=a.languageCode||n.languageCode||"en";u.getFormScreenLocalization(e,n.id).then(e=>{E(e)}).catch(e=>{console.error("Failed to load localization:",e)}).finally(()=>{B(!1)})},[u,n,a.languageCode]);const ee=Ld({control:Q,name:e.FormModel.Country});z.useEffect(()=>{"AU"===ee&&"Microsoft"===n?.partnerName&&G(e.FormModel.PreferredLanguage,"English")},[ee,G,n]);const te=z.useMemo(()=>{if(!x)return Vh.en.formScreen;const e=Vh.en.formScreen,t={},n=x;for(const[r,o]of Object.entries(e))t[r]=n[o]||o;return t},[x]);return z.useEffect(()=>{if(!n)return void i(void 0);const e=n.partnerSettings?.find(e=>e.settingKey===nT);if(e?.settingValue)try{const t=JSON.parse(e.settingValue);i(t)}catch(e){console.error("Failed to parse ColorWidget setting:",e),i(void 0)}else i(void 0)},[n]),z.useEffect(()=>{if(!n||!x)return void I(void 0);const e=n.partnerSettings?.filter(e=>e.settingKey===rT),t=e&&e.length>0?e[0].settingValue:void 0;if(!t)return void I(void 0);const r=parseInt(t,10);if(isNaN(r)||r<=0)return void I(void 0);const o=[],i=x;for(let e=1;e<=r;e++){const t=`hear_about_${e}`,n=i[t]||`Option ${e}`;o.push({key:t,text:n})}I(o)},[n,x]),m?H.createElement("div",{className:c.mainContainer},H.createElement("div",{className:c.topWrapper,style:a.customStyles?.topWrapper},H.createElement("div",{className:c.finalStepContainer},H.createElement("div",{className:c.textBlock},H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.heading,fontWeight:700}},te.ThankYou),H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.subheading,margin:"20px 0",lineHeight:"30px"}},te.ThankYouDesc),H.createElement("div",{style:{fontSize:18,margin:"20px 0",color:a.theme?.primaryColor||o?.column1||"#00BAE4",textUnderlinePosition:"under"}},m))))):H.createElement("div",{className:c.mainContainer},H.createElement("div",{className:c.topWrapper,style:a.customStyles?.topWrapper},U?H.createElement(yE,{label:"Loading form data...",styles:{root:{marginBottom:"20px"}}}):V?H.createElement("div",{style:{textAlign:"center",padding:"40px 20px",color:"#605e5c"}},H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.heading||24,fontWeight:700,marginBottom:16}},"Access Not Available"),H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.subheading||16,lineHeight:"28px"}},"Your company is not eligible to use this form. Please contact your administrator for assistance.")):H.createElement("form",{className:c.formWrapper,style:a.customStyles?.formWrapper,onSubmit:q(async t=>{f(!0),y(void 0);if(await u.checkMaintenanceStatus()){const e="System is under maintenance, please try again later";return a.onError&&a.onError(e),void f(!1)}G(e.FormModel.Partner,n),G(e.FormModel.PerfromedByPartner,p),u.addUser(Z(),n?.partnerName||"",window.location.hostname).then(t=>{const n=Z(e.FormModel.Email);g(n),a.onSuccess&&a.onSuccess(n)}).catch(e=>{const t=e?.response?.data;let n;if(t?.errors)n=Object.values(t.errors).flat().join(" ");else{const r=t?.title||e?.message||e;n=x?.[r]||r||"Registration failed"}a.onError&&a.onError(n),y(n)}).finally(()=>{f(!1)})}),noValidate:!0},H.createElement("div",{style:{textAlign:"center"}},H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.heading,fontWeight:700}},te.AppForm),H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.subheading,margin:"12px auto 24px",width:"85%",lineHeight:"30px"}},te.AppFormDesc)),H.createElement(ZF,{isRegistering:d,setPerformByPartner:h,performByPartner:p,setValue:G,setError:$,clearErrors:Y,control:Q,errors:X,trigger:J,watch:Z,translation:te,config:a,apiService:u,styles:c,countryOptions:b,orgSizingOptions:C,orgIndustryOptions:w,hearAboutOptions:F,partnerData:n,primaryColor:a.theme?.primaryColor||o?.column1}),H.createElement(tT,{setValue:G,isRegistering:d,errors:X,translation:te,config:a,submissionError:v,primaryColor:a.theme?.primaryColor||o?.column1,partnerData:n}))))};!function(e,t){var n,r;void 0===e&&(e=(null===(n=null==OF?void 0:OF.FabricConfig)||void 0===n?void 0:n.iconBaseUrl)||(null===(r=null==OF?void 0:OF.FabricConfig)||void 0===r?void 0:r.fontBaseUrl)||MF),[hF,mF,gF,vF,yF,bF,_F,CF,SF,wF,kF,xF,EF,FF,IF,TF,PF,RF,DF].forEach(function(n){return n(e,t)}),pb("trash","delete"),pb("onedrive","onedrivelogo"),pb("alertsolid12","eventdatemissed12"),pb("sixpointstar","6pointstar"),pb("twelvepointstar","12pointstar"),pb("toggleon","toggleleft"),pb("toggleoff","toggleright")}();class iT extends HTMLElement{constructor(){super(),this.root=null,this._config=null}static get observedAttributes(){return["config"]}connectedCallback(){this._config&&this.render()}disconnectedCallback(){this.root&&(this.root.unmount(),this.root=null)}attributeChangedCallback(e,t,n){if("config"===e&&t!==n)try{this._config=JSON.parse(n),this.render()}catch(e){console.error("Invalid config JSON:",e)}}set config(e){this._config=e,this.render()}render(){let e=this.querySelector("div.ssas-form-container");e||(e=document.createElement("div"),e.className="ssas-form-container",e.style.width="100%",e.style.height="100%",this.appendChild(e));let t=this._config;if(!t){const e=this.getAttribute("config");if(e)try{t=JSON.parse(e)}catch(e){return void console.error("Invalid config attribute:",e)}}t?(this.root||(this.root=V.createRoot(e)),this.root.render(H.createElement(oT,{config:t})),this.dispatchEvent(new CustomEvent("ssas-form-ready",{bubbles:!0,composed:!0,detail:{config:t}}))):console.error("No configuration provided to ssas-registration-form")}}return"undefined"==typeof window||customElements.get("ssas-registration-form")||customElements.define("ssas-registration-form",iT),e.ApiService=Yh,e.DEFAULT_TRANSLATIONS=Vh,e.EMAIL_PATTERN=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,e.LANGUAGE_OPTIONS=Hh,e.SSASFormElement=iT,e.SSASRegistrationForm=oT,e.choiceGroupStyles=zF,e.createFormStyles=AF,e.textFieldStyles=LF,e.useFormConfig=Ef,e}({});
28
+ */!function(e,n){(function(){var r,o="Expected a function",i="__lodash_hash_undefined__",a="__lodash_placeholder__",l=16,s=32,u=64,c=128,d=256,f=1/0,p=9007199254740991,h=NaN,m=4294967295,g=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",s],["partialRight",u],["rearg",d]],v="[object Arguments]",y="[object Array]",b="[object Boolean]",_="[object Date]",C="[object Error]",S="[object Function]",w="[object GeneratorFunction]",k="[object Map]",x="[object Number]",E="[object Object]",F="[object Promise]",I="[object RegExp]",T="[object Set]",P="[object String]",R="[object Symbol]",D="[object WeakMap]",M="[object ArrayBuffer]",O="[object DataView]",A="[object Float32Array]",L="[object Float64Array]",N="[object Int8Array]",B="[object Int16Array]",z="[object Int32Array]",H="[object Uint8Array]",V="[object Uint8ClampedArray]",W="[object Uint16Array]",U="[object Uint32Array]",j=/\b__p \+= '';/g,K=/\b(__p \+=) '' \+/g,q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,$=/[&<>"']/g,Q=RegExp(G.source),Z=RegExp($.source),Y=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,X=/<%=([\s\S]+?)%>/g,ee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,te=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,re=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(re.source),ie=/^\s+/,ae=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,se=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,ce=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,pe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,he=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,ye=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,_e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ce=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",ke="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xe="\\u2700-\\u27bf",Ee="a-z\\xdf-\\xf6\\xf8-\\xff",Fe="A-Z\\xc0-\\xd6\\xd8-\\xde",Ie="\\ufe0e\\ufe0f",Te="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pe="['’]",Re="["+we+"]",De="["+Te+"]",Me="["+ke+"]",Oe="\\d+",Ae="["+xe+"]",Le="["+Ee+"]",Ne="[^"+we+Te+Oe+xe+Ee+Fe+"]",Be="\\ud83c[\\udffb-\\udfff]",ze="[^"+we+"]",He="(?:\\ud83c[\\udde6-\\uddff]){2}",Ve="[\\ud800-\\udbff][\\udc00-\\udfff]",We="["+Fe+"]",Ue="\\u200d",je="(?:"+Le+"|"+Ne+")",Ke="(?:"+We+"|"+Ne+")",qe="(?:['’](?:d|ll|m|re|s|t|ve))?",Ge="(?:['’](?:D|LL|M|RE|S|T|VE))?",$e="(?:"+Me+"|"+Be+")"+"?",Qe="["+Ie+"]?",Ze=Qe+$e+("(?:"+Ue+"(?:"+[ze,He,Ve].join("|")+")"+Qe+$e+")*"),Ye="(?:"+[Ae,He,Ve].join("|")+")"+Ze,Je="(?:"+[ze+Me+"?",Me,He,Ve,Re].join("|")+")",Xe=RegExp(Pe,"g"),et=RegExp(Me,"g"),tt=RegExp(Be+"(?="+Be+")|"+Je+Ze,"g"),nt=RegExp([We+"?"+Le+"+"+qe+"(?="+[De,We,"$"].join("|")+")",Ke+"+"+Ge+"(?="+[De,We+je,"$"].join("|")+")",We+"?"+je+"+"+qe,We+"+"+Ge,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Oe,Ye].join("|"),"g"),rt=RegExp("["+Ue+we+ke+Ie+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,it=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],at=-1,lt={};lt[A]=lt[L]=lt[N]=lt[B]=lt[z]=lt[H]=lt[V]=lt[W]=lt[U]=!0,lt[v]=lt[y]=lt[M]=lt[b]=lt[O]=lt[_]=lt[C]=lt[S]=lt[k]=lt[x]=lt[E]=lt[I]=lt[T]=lt[P]=lt[D]=!1;var st={};st[v]=st[y]=st[M]=st[O]=st[b]=st[_]=st[A]=st[L]=st[N]=st[B]=st[z]=st[k]=st[x]=st[E]=st[I]=st[T]=st[P]=st[R]=st[H]=st[V]=st[W]=st[U]=!0,st[C]=st[S]=st[D]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ct=parseFloat,dt=parseInt,ft="object"==typeof t&&t&&t.Object===Object&&t,pt="object"==typeof self&&self&&self.Object===Object&&self,ht=ft||pt||Function("return this")(),mt=n&&!n.nodeType&&n,gt=mt&&e&&!e.nodeType&&e,vt=gt&&gt.exports===mt,yt=vt&&ft.process,bt=function(){try{var e=gt&&gt.require&&gt.require("util").types;return e||yt&&yt.binding&&yt.binding("util")}catch(e){}}(),_t=bt&&bt.isArrayBuffer,Ct=bt&&bt.isDate,St=bt&&bt.isMap,wt=bt&&bt.isRegExp,kt=bt&&bt.isSet,xt=bt&&bt.isTypedArray;function Et(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Ft(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function It(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Tt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Pt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Rt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Dt(e,t){return!!(null==e?0:e.length)&&Wt(e,t,0)>-1}function Mt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Ot(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function At(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Lt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Nt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Bt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var zt=qt("length");function Ht(e,t,n){var r;return n(e,function(e,n,o){if(t(e,n,o))return r=n,!1}),r}function Vt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function Wt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Vt(e,jt,n)}function Ut(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function jt(e){return e!=e}function Kt(e,t){var n=null==e?0:e.length;return n?Qt(e,t)/n:h}function qt(e){return function(t){return null==t?r:t[e]}}function Gt(e){return function(t){return null==e?r:e[t]}}function $t(e,t,n,r,o){return o(e,function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)}),n}function Qt(e,t){for(var n,o=-1,i=e.length;++o<i;){var a=t(e[o]);a!==r&&(n=n===r?a:n+a)}return n}function Zt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Yt(e){return e?e.slice(0,mn(e)+1).replace(ie,""):e}function Jt(e){return function(t){return e(t)}}function Xt(e,t){return Ot(t,function(t){return e[t]})}function en(e,t){return e.has(t)}function tn(e,t){for(var n=-1,r=e.length;++n<r&&Wt(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length;n--&&Wt(t,e[n],0)>-1;);return n}var rn=Gt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),on=Gt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function an(e){return"\\"+ut[e]}function ln(e){return rt.test(e)}function sn(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function un(e,t){return function(n){return e(t(n))}}function cn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var l=e[n];l!==t&&l!==a||(e[n]=a,i[o++]=n)}return i}function dn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function fn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function pn(e){return ln(e)?function(e){var t=tt.lastIndex=0;for(;tt.test(e);)++t;return t}(e):zt(e)}function hn(e){return ln(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.split("")}(e)}function mn(e){for(var t=e.length;t--&&ae.test(e.charAt(t)););return t}var gn=Gt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var vn=function e(t){var n,ae=(t=null==t?ht:vn.defaults(ht.Object(),t,vn.pick(ht,it))).Array,we=t.Date,ke=t.Error,xe=t.Function,Ee=t.Math,Fe=t.Object,Ie=t.RegExp,Te=t.String,Pe=t.TypeError,Re=ae.prototype,De=xe.prototype,Me=Fe.prototype,Oe=t["__core-js_shared__"],Ae=De.toString,Le=Me.hasOwnProperty,Ne=0,Be=(n=/[^.]+$/.exec(Oe&&Oe.keys&&Oe.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",ze=Me.toString,He=Ae.call(Fe),Ve=ht._,We=Ie("^"+Ae.call(Le).replace(re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue=vt?t.Buffer:r,je=t.Symbol,Ke=t.Uint8Array,qe=Ue?Ue.allocUnsafe:r,Ge=un(Fe.getPrototypeOf,Fe),$e=Fe.create,Qe=Me.propertyIsEnumerable,Ze=Re.splice,Ye=je?je.isConcatSpreadable:r,Je=je?je.iterator:r,tt=je?je.toStringTag:r,rt=function(){try{var e=pi(Fe,"defineProperty");return e({},"",{}),e}catch(e){}}(),ut=t.clearTimeout!==ht.clearTimeout&&t.clearTimeout,ft=we&&we.now!==ht.Date.now&&we.now,pt=t.setTimeout!==ht.setTimeout&&t.setTimeout,mt=Ee.ceil,gt=Ee.floor,yt=Fe.getOwnPropertySymbols,bt=Ue?Ue.isBuffer:r,zt=t.isFinite,Gt=Re.join,yn=un(Fe.keys,Fe),bn=Ee.max,_n=Ee.min,Cn=we.now,Sn=t.parseInt,wn=Ee.random,kn=Re.reverse,xn=pi(t,"DataView"),En=pi(t,"Map"),Fn=pi(t,"Promise"),In=pi(t,"Set"),Tn=pi(t,"WeakMap"),Pn=pi(Fe,"create"),Rn=Tn&&new Tn,Dn={},Mn=zi(xn),On=zi(En),An=zi(Fn),Ln=zi(In),Nn=zi(Tn),Bn=je?je.prototype:r,zn=Bn?Bn.valueOf:r,Hn=Bn?Bn.toString:r;function Vn(e){if(nl(e)&&!Ka(e)&&!(e instanceof Kn)){if(e instanceof jn)return e;if(Le.call(e,"__wrapped__"))return Hi(e)}return new jn(e)}var Wn=function(){function e(){}return function(t){if(!tl(t))return{};if($e)return $e(t);e.prototype=t;var n=new e;return e.prototype=r,n}}();function Un(){}function jn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function Kn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function $n(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Qn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new $n;++t<n;)this.add(e[t])}function Zn(e){var t=this.__data__=new Gn(e);this.size=t.size}function Yn(e,t){var n=Ka(e),r=!n&&ja(e),o=!n&&!r&&Qa(e),i=!n&&!r&&!o&&cl(e),a=n||r||o||i,l=a?Zt(e.length,Te):[],s=l.length;for(var u in e)!t&&!Le.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||_i(u,s))||l.push(u);return l}function Jn(e){var t=e.length;return t?e[Qr(0,t-1)]:r}function Xn(e,t){return Li(Ro(e),sr(t,0,e.length))}function er(e){return Li(Ro(e))}function tr(e,t,n){(n!==r&&!Va(e[t],n)||n===r&&!(t in e))&&ar(e,t,n)}function nr(e,t,n){var o=e[t];Le.call(e,t)&&Va(o,n)&&(n!==r||t in e)||ar(e,t,n)}function rr(e,t){for(var n=e.length;n--;)if(Va(e[n][0],t))return n;return-1}function or(e,t,n,r){return pr(e,function(e,o,i){t(r,e,n(e),i)}),r}function ir(e,t){return e&&Do(t,Dl(t),e)}function ar(e,t,n){"__proto__"==t&&rt?rt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function lr(e,t){for(var n=-1,o=t.length,i=ae(o),a=null==e;++n<o;)i[n]=a?r:Fl(e,t[n]);return i}function sr(e,t,n){return e==e&&(n!==r&&(e=e<=n?e:n),t!==r&&(e=e>=t?e:t)),e}function ur(e,t,n,o,i,a){var l,s=1&t,u=2&t,c=4&t;if(n&&(l=i?n(e,o,i,a):n(e)),l!==r)return l;if(!tl(e))return e;var d=Ka(e);if(d){if(l=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return Ro(e,l)}else{var f=gi(e),p=f==S||f==w;if(Qa(e))return xo(e,s);if(f==E||f==v||p&&!i){if(l=u||p?{}:yi(e),!s)return u?function(e,t){return Do(e,mi(e),t)}(e,function(e,t){return e&&Do(t,Ml(t),e)}(l,e)):function(e,t){return Do(e,hi(e),t)}(e,ir(l,e))}else{if(!st[f])return i?e:{};l=function(e,t,n){var r=e.constructor;switch(t){case M:return Eo(e);case b:case _:return new r(+e);case O:return function(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case A:case L:case N:case B:case z:case H:case V:case W:case U:return Fo(e,n);case k:return new r;case x:case P:return new r(e);case I:return function(e){var t=new e.constructor(e.source,he.exec(e));return t.lastIndex=e.lastIndex,t}(e);case T:return new r;case R:return o=e,zn?Fe(zn.call(o)):{}}var o}(e,f,s)}}a||(a=new Zn);var h=a.get(e);if(h)return h;a.set(e,l),ll(e)?e.forEach(function(r){l.add(ur(r,t,n,r,e,a))}):rl(e)&&e.forEach(function(r,o){l.set(o,ur(r,t,n,o,e,a))});var m=d?r:(c?u?ai:ii:u?Ml:Dl)(e);return It(m||e,function(r,o){m&&(r=e[o=r]),nr(l,o,ur(r,t,n,o,e,a))}),l}function cr(e,t,n){var o=n.length;if(null==e)return!o;for(e=Fe(e);o--;){var i=n[o],a=t[i],l=e[i];if(l===r&&!(i in e)||!a(l))return!1}return!0}function dr(e,t,n){if("function"!=typeof e)throw new Pe(o);return Di(function(){e.apply(r,n)},t)}function fr(e,t,n,r){var o=-1,i=Dt,a=!0,l=e.length,s=[],u=t.length;if(!l)return s;n&&(t=Ot(t,Jt(n))),r?(i=Mt,a=!1):t.length>=200&&(i=en,a=!1,t=new Qn(t));e:for(;++o<l;){var c=e[o],d=null==n?c:n(c);if(c=r||0!==c?c:0,a&&d==d){for(var f=u;f--;)if(t[f]===d)continue e;s.push(c)}else i(t,d,r)||s.push(c)}return s}Vn.templateSettings={escape:Y,evaluate:J,interpolate:X,variable:"",imports:{_:Vn}},Vn.prototype=Un.prototype,Vn.prototype.constructor=Vn,jn.prototype=Wn(Un.prototype),jn.prototype.constructor=jn,Kn.prototype=Wn(Un.prototype),Kn.prototype.constructor=Kn,qn.prototype.clear=function(){this.__data__=Pn?Pn(null):{},this.size=0},qn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},qn.prototype.get=function(e){var t=this.__data__;if(Pn){var n=t[e];return n===i?r:n}return Le.call(t,e)?t[e]:r},qn.prototype.has=function(e){var t=this.__data__;return Pn?t[e]!==r:Le.call(t,e)},qn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Pn&&t===r?i:t,this},Gn.prototype.clear=function(){this.__data__=[],this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=rr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ze.call(t,n,1),--this.size,!0)},Gn.prototype.get=function(e){var t=this.__data__,n=rr(t,e);return n<0?r:t[n][1]},Gn.prototype.has=function(e){return rr(this.__data__,e)>-1},Gn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},$n.prototype.clear=function(){this.size=0,this.__data__={hash:new qn,map:new(En||Gn),string:new qn}},$n.prototype.delete=function(e){var t=di(this,e).delete(e);return this.size-=t?1:0,t},$n.prototype.get=function(e){return di(this,e).get(e)},$n.prototype.has=function(e){return di(this,e).has(e)},$n.prototype.set=function(e,t){var n=di(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Qn.prototype.add=Qn.prototype.push=function(e){return this.__data__.set(e,i),this},Qn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Zn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Zn.prototype.get=function(e){return this.__data__.get(e)},Zn.prototype.has=function(e){return this.__data__.has(e)},Zn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Gn){var r=n.__data__;if(!En||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new $n(r)}return n.set(e,t),this.size=n.size,this};var pr=Ao(Cr),hr=Ao(Sr,!0);function mr(e,t){var n=!0;return pr(e,function(e,r,o){return n=!!t(e,r,o)}),n}function gr(e,t,n){for(var o=-1,i=e.length;++o<i;){var a=e[o],l=t(a);if(null!=l&&(s===r?l==l&&!ul(l):n(l,s)))var s=l,u=a}return u}function vr(e,t){var n=[];return pr(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}function yr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=bi),o||(o=[]);++i<a;){var l=e[i];t>0&&n(l)?t>1?yr(l,t-1,n,r,o):At(o,l):r||(o[o.length]=l)}return o}var br=Lo(),_r=Lo(!0);function Cr(e,t){return e&&br(e,t,Dl)}function Sr(e,t){return e&&_r(e,t,Dl)}function wr(e,t){return Rt(t,function(t){return Ja(e[t])})}function kr(e,t){for(var n=0,o=(t=Co(t,e)).length;null!=e&&n<o;)e=e[Bi(t[n++])];return n&&n==o?e:r}function xr(e,t,n){var r=t(e);return Ka(e)?r:At(r,n(e))}function Er(e){return null==e?e===r?"[object Undefined]":"[object Null]":tt&&tt in Fe(e)?function(e){var t=Le.call(e,tt),n=e[tt];try{e[tt]=r;var o=!0}catch(e){}var i=ze.call(e);o&&(t?e[tt]=n:delete e[tt]);return i}(e):function(e){return ze.call(e)}(e)}function Fr(e,t){return e>t}function Ir(e,t){return null!=e&&Le.call(e,t)}function Tr(e,t){return null!=e&&t in Fe(e)}function Pr(e,t,n){for(var o=n?Mt:Dt,i=e[0].length,a=e.length,l=a,s=ae(a),u=1/0,c=[];l--;){var d=e[l];l&&t&&(d=Ot(d,Jt(t))),u=_n(d.length,u),s[l]=!n&&(t||i>=120&&d.length>=120)?new Qn(l&&d):r}d=e[0];var f=-1,p=s[0];e:for(;++f<i&&c.length<u;){var h=d[f],m=t?t(h):h;if(h=n||0!==h?h:0,!(p?en(p,m):o(c,m,n))){for(l=a;--l;){var g=s[l];if(!(g?en(g,m):o(e[l],m,n)))continue e}p&&p.push(m),c.push(h)}}return c}function Rr(e,t,n){var o=null==(e=Ti(e,t=Co(t,e)))?e:e[Bi(Yi(t))];return null==o?r:Et(o,e,n)}function Dr(e){return nl(e)&&Er(e)==v}function Mr(e,t,n,o,i){return e===t||(null==e||null==t||!nl(e)&&!nl(t)?e!=e&&t!=t:function(e,t,n,o,i,a){var l=Ka(e),s=Ka(t),u=l?y:gi(e),c=s?y:gi(t),d=(u=u==v?E:u)==E,f=(c=c==v?E:c)==E,p=u==c;if(p&&Qa(e)){if(!Qa(t))return!1;l=!0,d=!1}if(p&&!d)return a||(a=new Zn),l||cl(e)?ri(e,t,n,o,i,a):function(e,t,n,r,o,i,a){switch(n){case O:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case M:return!(e.byteLength!=t.byteLength||!i(new Ke(e),new Ke(t)));case b:case _:case x:return Va(+e,+t);case C:return e.name==t.name&&e.message==t.message;case I:case P:return e==t+"";case k:var l=sn;case T:var s=1&r;if(l||(l=dn),e.size!=t.size&&!s)return!1;var u=a.get(e);if(u)return u==t;r|=2,a.set(e,t);var c=ri(l(e),l(t),r,o,i,a);return a.delete(e),c;case R:if(zn)return zn.call(e)==zn.call(t)}return!1}(e,t,u,n,o,i,a);if(!(1&n)){var h=d&&Le.call(e,"__wrapped__"),m=f&&Le.call(t,"__wrapped__");if(h||m){var g=h?e.value():e,S=m?t.value():t;return a||(a=new Zn),i(g,S,n,o,a)}}if(!p)return!1;return a||(a=new Zn),function(e,t,n,o,i,a){var l=1&n,s=ii(e),u=s.length,c=ii(t),d=c.length;if(u!=d&&!l)return!1;var f=u;for(;f--;){var p=s[f];if(!(l?p in t:Le.call(t,p)))return!1}var h=a.get(e),m=a.get(t);if(h&&m)return h==t&&m==e;var g=!0;a.set(e,t),a.set(t,e);var v=l;for(;++f<u;){var y=e[p=s[f]],b=t[p];if(o)var _=l?o(b,y,p,t,e,a):o(y,b,p,e,t,a);if(!(_===r?y===b||i(y,b,n,o,a):_)){g=!1;break}v||(v="constructor"==p)}if(g&&!v){var C=e.constructor,S=t.constructor;C==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof C&&C instanceof C&&"function"==typeof S&&S instanceof S||(g=!1)}return a.delete(e),a.delete(t),g}(e,t,n,o,i,a)}(e,t,n,o,Mr,i))}function Or(e,t,n,o){var i=n.length,a=i,l=!o;if(null==e)return!a;for(e=Fe(e);i--;){var s=n[i];if(l&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){var u=(s=n[i])[0],c=e[u],d=s[1];if(l&&s[2]){if(c===r&&!(u in e))return!1}else{var f=new Zn;if(o)var p=o(c,d,u,e,t,f);if(!(p===r?Mr(d,c,3,o,f):p))return!1}}return!0}function Ar(e){return!(!tl(e)||(t=e,Be&&Be in t))&&(Ja(e)?We:ve).test(zi(e));var t}function Lr(e){return"function"==typeof e?e:null==e?os:"object"==typeof e?Ka(e)?Wr(e[0],e[1]):Vr(e):ps(e)}function Nr(e){if(!xi(e))return yn(e);var t=[];for(var n in Fe(e))Le.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Br(e){if(!tl(e))return function(e){var t=[];if(null!=e)for(var n in Fe(e))t.push(n);return t}(e);var t=xi(e),n=[];for(var r in e)("constructor"!=r||!t&&Le.call(e,r))&&n.push(r);return n}function zr(e,t){return e<t}function Hr(e,t){var n=-1,r=Ga(e)?ae(e.length):[];return pr(e,function(e,o,i){r[++n]=t(e,o,i)}),r}function Vr(e){var t=fi(e);return 1==t.length&&t[0][2]?Fi(t[0][0],t[0][1]):function(n){return n===e||Or(n,e,t)}}function Wr(e,t){return Si(e)&&Ei(t)?Fi(Bi(e),t):function(n){var o=Fl(n,e);return o===r&&o===t?Il(n,e):Mr(t,o,3)}}function Ur(e,t,n,o,i){e!==t&&br(t,function(a,l){if(i||(i=new Zn),tl(a))!function(e,t,n,o,i,a,l){var s=Pi(e,n),u=Pi(t,n),c=l.get(u);if(c)return void tr(e,n,c);var d=a?a(s,u,n+"",e,t,l):r,f=d===r;if(f){var p=Ka(u),h=!p&&Qa(u),m=!p&&!h&&cl(u);d=u,p||h||m?Ka(s)?d=s:$a(s)?d=Ro(s):h?(f=!1,d=xo(u,!0)):m?(f=!1,d=Fo(u,!0)):d=[]:il(u)||ja(u)?(d=s,ja(s)?d=yl(s):tl(s)&&!Ja(s)||(d=yi(u))):f=!1}f&&(l.set(u,d),i(d,u,o,a,l),l.delete(u));tr(e,n,d)}(e,t,l,n,Ur,o,i);else{var s=o?o(Pi(e,l),a,l+"",e,t,i):r;s===r&&(s=a),tr(e,l,s)}},Ml)}function jr(e,t){var n=e.length;if(n)return _i(t+=t<0?n:0,n)?e[t]:r}function Kr(e,t,n){t=t.length?Ot(t,function(e){return Ka(e)?function(t){return kr(t,1===e.length?e[0]:e)}:e}):[os];var r=-1;t=Ot(t,Jt(ci()));var o=Hr(e,function(e,n,o){var i=Ot(t,function(t){return t(e)});return{criteria:i,index:++r,value:e}});return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,l=n.length;for(;++r<a;){var s=Io(o[r],i[r]);if(s)return r>=l?s:s*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)})}function qr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],l=kr(e,a);n(l,a)&&eo(i,Co(a,e),l)}return i}function Gr(e,t,n,r){var o=r?Ut:Wt,i=-1,a=t.length,l=e;for(e===t&&(t=Ro(t)),n&&(l=Ot(e,Jt(n)));++i<a;)for(var s=0,u=t[i],c=n?n(u):u;(s=o(l,c,s,r))>-1;)l!==e&&Ze.call(l,s,1),Ze.call(e,s,1);return e}function $r(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;_i(o)?Ze.call(e,o,1):po(e,o)}}return e}function Qr(e,t){return e+gt(wn()*(t-e+1))}function Zr(e,t){var n="";if(!e||t<1||t>p)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Yr(e,t){return Mi(Ii(e,t,os),e+"")}function Jr(e){return Jn(Vl(e))}function Xr(e,t){var n=Vl(e);return Li(n,sr(t,0,n.length))}function eo(e,t,n,o){if(!tl(e))return e;for(var i=-1,a=(t=Co(t,e)).length,l=a-1,s=e;null!=s&&++i<a;){var u=Bi(t[i]),c=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(i!=l){var d=s[u];(c=o?o(d,u,s):r)===r&&(c=tl(d)?d:_i(t[i+1])?[]:{})}nr(s,u,c),s=s[u]}return e}var to=Rn?function(e,t){return Rn.set(e,t),e}:os,no=rt?function(e,t){return rt(e,"toString",{configurable:!0,enumerable:!1,value:ts(t),writable:!0})}:os;function ro(e){return Li(Vl(e))}function oo(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=ae(o);++r<o;)i[r]=e[r+t];return i}function io(e,t){var n;return pr(e,function(e,r,o){return!(n=t(e,r,o))}),!!n}function ao(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!ul(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return lo(e,t,os,n)}function lo(e,t,n,o){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var l=(t=n(t))!=t,s=null===t,u=ul(t),c=t===r;i<a;){var d=gt((i+a)/2),f=n(e[d]),p=f!==r,h=null===f,m=f==f,g=ul(f);if(l)var v=o||m;else v=c?m&&(o||p):s?m&&p&&(o||!h):u?m&&p&&!h&&(o||!g):!h&&!g&&(o?f<=t:f<t);v?i=d+1:a=d}return _n(a,4294967294)}function so(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],l=t?t(a):a;if(!n||!Va(l,s)){var s=l;i[o++]=0===a?0:a}}return i}function uo(e){return"number"==typeof e?e:ul(e)?h:+e}function co(e){if("string"==typeof e)return e;if(Ka(e))return Ot(e,co)+"";if(ul(e))return Hn?Hn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function fo(e,t,n){var r=-1,o=Dt,i=e.length,a=!0,l=[],s=l;if(n)a=!1,o=Mt;else if(i>=200){var u=t?null:Yo(e);if(u)return dn(u);a=!1,o=en,s=new Qn}else s=t?[]:l;e:for(;++r<i;){var c=e[r],d=t?t(c):c;if(c=n||0!==c?c:0,a&&d==d){for(var f=s.length;f--;)if(s[f]===d)continue e;t&&s.push(d),l.push(c)}else o(s,d,n)||(s!==l&&s.push(d),l.push(c))}return l}function po(e,t){var n=-1,r=(t=Co(t,e)).length;if(!r)return!0;for(var o=null==e||"object"!=typeof e&&"function"!=typeof e;++n<r;){var i=t[n];if("string"==typeof i){if("__proto__"===i&&!Le.call(e,"__proto__"))return!1;if("constructor"===i&&n+1<r&&"string"==typeof t[n+1]&&"prototype"===t[n+1]){if(o&&0===n)continue;return!1}}}var a=Ti(e,t);return null==a||delete a[Bi(Yi(t))]}function ho(e,t,n,r){return eo(e,t,n(kr(e,t)),r)}function mo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?oo(e,r?0:i,r?i+1:o):oo(e,r?i+1:0,r?o:i)}function go(e,t){var n=e;return n instanceof Kn&&(n=n.value()),Lt(t,function(e,t){return t.func.apply(t.thisArg,At([e],t.args))},n)}function vo(e,t,n){var r=e.length;if(r<2)return r?fo(e[0]):[];for(var o=-1,i=ae(r);++o<r;)for(var a=e[o],l=-1;++l<r;)l!=o&&(i[o]=fr(i[o]||a,e[l],t,n));return fo(yr(i,1),t,n)}function yo(e,t,n){for(var o=-1,i=e.length,a=t.length,l={};++o<i;){var s=o<a?t[o]:r;n(l,e[o],s)}return l}function bo(e){return $a(e)?e:[]}function _o(e){return"function"==typeof e?e:os}function Co(e,t){return Ka(e)?e:Si(e,t)?[e]:Ni(bl(e))}var So=Yr;function wo(e,t,n){var o=e.length;return n=n===r?o:n,!t&&n>=o?e:oo(e,t,n)}var ko=ut||function(e){return ht.clearTimeout(e)};function xo(e,t){if(t)return e.slice();var n=e.length,r=qe?qe(n):new e.constructor(n);return e.copy(r),r}function Eo(e){var t=new e.constructor(e.byteLength);return new Ke(t).set(new Ke(e)),t}function Fo(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Io(e,t){if(e!==t){var n=e!==r,o=null===e,i=e==e,a=ul(e),l=t!==r,s=null===t,u=t==t,c=ul(t);if(!s&&!c&&!a&&e>t||a&&l&&u&&!s&&!c||o&&l&&u||!n&&u||!i)return 1;if(!o&&!a&&!c&&e<t||c&&n&&i&&!o&&!a||s&&n&&i||!l&&i||!u)return-1}return 0}function To(e,t,n,r){for(var o=-1,i=e.length,a=n.length,l=-1,s=t.length,u=bn(i-a,0),c=ae(s+u),d=!r;++l<s;)c[l]=t[l];for(;++o<a;)(d||o<i)&&(c[n[o]]=e[o]);for(;u--;)c[l++]=e[o++];return c}function Po(e,t,n,r){for(var o=-1,i=e.length,a=-1,l=n.length,s=-1,u=t.length,c=bn(i-l,0),d=ae(c+u),f=!r;++o<c;)d[o]=e[o];for(var p=o;++s<u;)d[p+s]=t[s];for(;++a<l;)(f||o<i)&&(d[p+n[a]]=e[o++]);return d}function Ro(e,t){var n=-1,r=e.length;for(t||(t=ae(r));++n<r;)t[n]=e[n];return t}function Do(e,t,n,o){var i=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var s=t[a],u=o?o(n[s],e[s],s,n,e):r;u===r&&(u=e[s]),i?ar(n,s,u):nr(n,s,u)}return n}function Mo(e,t){return function(n,r){var o=Ka(n)?Ft:or,i=t?t():{};return o(n,e,ci(r,2),i)}}function Oo(e){return Yr(function(t,n){var o=-1,i=n.length,a=i>1?n[i-1]:r,l=i>2?n[2]:r;for(a=e.length>3&&"function"==typeof a?(i--,a):r,l&&Ci(n[0],n[1],l)&&(a=i<3?r:a,i=1),t=Fe(t);++o<i;){var s=n[o];s&&e(t,s,o,a)}return t})}function Ao(e,t){return function(n,r){if(null==n)return n;if(!Ga(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Fe(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Lo(e){return function(t,n,r){for(var o=-1,i=Fe(t),a=r(t),l=a.length;l--;){var s=a[e?l:++o];if(!1===n(i[s],s,i))break}return t}}function No(e){return function(t){var n=ln(t=bl(t))?hn(t):r,o=n?n[0]:t.charAt(0),i=n?wo(n,1).join(""):t.slice(1);return o[e]()+i}}function Bo(e){return function(t){return Lt(Jl(jl(t).replace(Xe,"")),e,"")}}function zo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Wn(e.prototype),r=e.apply(n,t);return tl(r)?r:n}}function Ho(e){return function(t,n,o){var i=Fe(t);if(!Ga(t)){var a=ci(n,3);t=Dl(t),n=function(e){return a(i[e],e,i)}}var l=e(t,n,o);return l>-1?i[a?t[l]:l]:r}}function Vo(e){return oi(function(t){var n=t.length,i=n,a=jn.prototype.thru;for(e&&t.reverse();i--;){var l=t[i];if("function"!=typeof l)throw new Pe(o);if(a&&!s&&"wrapper"==si(l))var s=new jn([],!0)}for(i=s?i:n;++i<n;){var u=si(l=t[i]),c="wrapper"==u?li(l):r;s=c&&wi(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[si(c[0])].apply(s,c[3]):1==l.length&&wi(l)?s[u]():s.thru(l)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&Ka(r))return s.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++o<n;)i=t[o].call(this,i);return i}})}function Wo(e,t,n,o,i,a,l,s,u,d){var f=t&c,p=1&t,h=2&t,m=24&t,g=512&t,v=h?r:zo(e);return function c(){for(var y=arguments.length,b=ae(y),_=y;_--;)b[_]=arguments[_];if(m)var C=ui(c),S=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,C);if(o&&(b=To(b,o,i,m)),a&&(b=Po(b,a,l,m)),y-=S,m&&y<d){var w=cn(b,C);return Qo(e,t,Wo,c.placeholder,n,b,w,s,u,d-y)}var k=p?n:this,x=h?k[e]:e;return y=b.length,s?b=function(e,t){var n=e.length,o=_n(t.length,n),i=Ro(e);for(;o--;){var a=t[o];e[o]=_i(a,n)?i[a]:r}return e}(b,s):g&&y>1&&b.reverse(),f&&u<y&&(b.length=u),this&&this!==ht&&this instanceof c&&(x=v||zo(x)),x.apply(k,b)}}function Uo(e,t){return function(n,r){return function(e,t,n,r){return Cr(e,function(e,o,i){t(r,n(e),o,i)}),r}(n,e,t(r),{})}}function jo(e,t){return function(n,o){var i;if(n===r&&o===r)return t;if(n!==r&&(i=n),o!==r){if(i===r)return o;"string"==typeof n||"string"==typeof o?(n=co(n),o=co(o)):(n=uo(n),o=uo(o)),i=e(n,o)}return i}}function Ko(e){return oi(function(t){return t=Ot(t,Jt(ci())),Yr(function(n){var r=this;return e(t,function(e){return Et(e,r,n)})})})}function qo(e,t){var n=(t=t===r?" ":co(t)).length;if(n<2)return n?Zr(t,e):t;var o=Zr(t,mt(e/pn(t)));return ln(t)?wo(hn(o),0,e).join(""):o.slice(0,e)}function Go(e){return function(t,n,o){return o&&"number"!=typeof o&&Ci(t,n,o)&&(n=o=r),t=hl(t),n===r?(n=t,t=0):n=hl(n),function(e,t,n,r){for(var o=-1,i=bn(mt((t-e)/(n||1)),0),a=ae(i);i--;)a[r?i:++o]=e,e+=n;return a}(t,n,o=o===r?t<n?1:-1:hl(o),e)}}function $o(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=vl(t),n=vl(n)),e(t,n)}}function Qo(e,t,n,o,i,a,l,c,d,f){var p=8&t;t|=p?s:u,4&(t&=~(p?u:s))||(t&=-4);var h=[e,t,i,p?a:r,p?l:r,p?r:a,p?r:l,c,d,f],m=n.apply(r,h);return wi(e)&&Ri(m,h),m.placeholder=o,Oi(m,e,t)}function Zo(e){var t=Ee[e];return function(e,n){if(e=vl(e),(n=null==n?0:_n(ml(n),292))&&zt(e)){var r=(bl(e)+"e").split("e");return+((r=(bl(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Yo=In&&1/dn(new In([,-0]))[1]==f?function(e){return new In(e)}:us;function Jo(e){return function(t){var n=gi(t);return n==k?sn(t):n==T?fn(t):function(e,t){return Ot(t,function(t){return[t,e[t]]})}(t,e(t))}}function Xo(e,t,n,i,f,p,h,m){var g=2&t;if(!g&&"function"!=typeof e)throw new Pe(o);var v=i?i.length:0;if(v||(t&=-97,i=f=r),h=h===r?h:bn(ml(h),0),m=m===r?m:ml(m),v-=f?f.length:0,t&u){var y=i,b=f;i=f=r}var _=g?r:li(e),C=[e,t,n,i,f,y,b,p,h,m];if(_&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,l=r==c&&8==n||r==c&&n==d&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!l)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var s=t[3];if(s){var u=e[3];e[3]=u?To(u,s,t[4]):s,e[4]=u?cn(e[3],a):t[4]}(s=t[5])&&(u=e[5],e[5]=u?Po(u,s,t[6]):s,e[6]=u?cn(e[5],a):t[6]);(s=t[7])&&(e[7]=s);r&c&&(e[8]=null==e[8]?t[8]:_n(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(C,_),e=C[0],t=C[1],n=C[2],i=C[3],f=C[4],!(m=C[9]=C[9]===r?g?0:e.length:bn(C[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)S=8==t||t==l?function(e,t,n){var o=zo(e);return function i(){for(var a=arguments.length,l=ae(a),s=a,u=ui(i);s--;)l[s]=arguments[s];var c=a<3&&l[0]!==u&&l[a-1]!==u?[]:cn(l,u);return(a-=c.length)<n?Qo(e,t,Wo,i.placeholder,r,l,c,r,r,n-a):Et(this&&this!==ht&&this instanceof i?o:e,this,l)}}(e,t,m):t!=s&&33!=t||f.length?Wo.apply(r,C):function(e,t,n,r){var o=1&t,i=zo(e);return function t(){for(var a=-1,l=arguments.length,s=-1,u=r.length,c=ae(u+l),d=this&&this!==ht&&this instanceof t?i:e;++s<u;)c[s]=r[s];for(;l--;)c[s++]=arguments[++a];return Et(d,o?n:this,c)}}(e,t,n,i);else var S=function(e,t,n){var r=1&t,o=zo(e);return function t(){return(this&&this!==ht&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return Oi((_?to:Ri)(S,C),e,t)}function ei(e,t,n,o){return e===r||Va(e,Me[n])&&!Le.call(o,n)?t:e}function ti(e,t,n,o,i,a){return tl(e)&&tl(t)&&(a.set(t,e),Ur(e,t,r,ti,a),a.delete(t)),e}function ni(e){return il(e)?r:e}function ri(e,t,n,o,i,a){var l=1&n,s=e.length,u=t.length;if(s!=u&&!(l&&u>s))return!1;var c=a.get(e),d=a.get(t);if(c&&d)return c==t&&d==e;var f=-1,p=!0,h=2&n?new Qn:r;for(a.set(e,t),a.set(t,e);++f<s;){var m=e[f],g=t[f];if(o)var v=l?o(g,m,f,t,e,a):o(m,g,f,e,t,a);if(v!==r){if(v)continue;p=!1;break}if(h){if(!Bt(t,function(e,t){if(!en(h,t)&&(m===e||i(m,e,n,o,a)))return h.push(t)})){p=!1;break}}else if(m!==g&&!i(m,g,n,o,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function oi(e){return Mi(Ii(e,r,qi),e+"")}function ii(e){return xr(e,Dl,hi)}function ai(e){return xr(e,Ml,mi)}var li=Rn?function(e){return Rn.get(e)}:us;function si(e){for(var t=e.name+"",n=Dn[t],r=Le.call(Dn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ui(e){return(Le.call(Vn,"placeholder")?Vn:e).placeholder}function ci(){var e=Vn.iteratee||is;return e=e===is?Lr:e,arguments.length?e(arguments[0],arguments[1]):e}function di(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function fi(e){for(var t=Dl(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ei(o)]}return t}function pi(e,t){var n=function(e,t){return null==e?r:e[t]}(e,t);return Ar(n)?n:r}var hi=yt?function(e){return null==e?[]:(e=Fe(e),Rt(yt(e),function(t){return Qe.call(e,t)}))}:gs,mi=yt?function(e){for(var t=[];e;)At(t,hi(e)),e=Ge(e);return t}:gs,gi=Er;function vi(e,t,n){for(var r=-1,o=(t=Co(t,e)).length,i=!1;++r<o;){var a=Bi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&el(o)&&_i(a,o)&&(Ka(e)||ja(e))}function yi(e){return"function"!=typeof e.constructor||xi(e)?{}:Wn(Ge(e))}function bi(e){return Ka(e)||ja(e)||!!(Ye&&e&&e[Ye])}function _i(e,t){var n=typeof e;return!!(t=null==t?p:t)&&("number"==n||"symbol"!=n&&be.test(e))&&e>-1&&e%1==0&&e<t}function Ci(e,t,n){if(!tl(n))return!1;var r=typeof t;return!!("number"==r?Ga(n)&&_i(t,n.length):"string"==r&&t in n)&&Va(n[t],e)}function Si(e,t){if(Ka(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ul(e))||(te.test(e)||!ee.test(e)||null!=t&&e in Fe(t))}function wi(e){var t=si(e),n=Vn[t];if("function"!=typeof n||!(t in Kn.prototype))return!1;if(e===n)return!0;var r=li(n);return!!r&&e===r[0]}(xn&&gi(new xn(new ArrayBuffer(1)))!=O||En&&gi(new En)!=k||Fn&&gi(Fn.resolve())!=F||In&&gi(new In)!=T||Tn&&gi(new Tn)!=D)&&(gi=function(e){var t=Er(e),n=t==E?e.constructor:r,o=n?zi(n):"";if(o)switch(o){case Mn:return O;case On:return k;case An:return F;case Ln:return T;case Nn:return D}return t});var ki=Oe?Ja:vs;function xi(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Me)}function Ei(e){return e==e&&!tl(e)}function Fi(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==r||e in Fe(n)))}}function Ii(e,t,n){return t=bn(t===r?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=bn(r.length-t,0),a=ae(i);++o<i;)a[o]=r[t+o];o=-1;for(var l=ae(t+1);++o<t;)l[o]=r[o];return l[t]=n(a),Et(e,this,l)}}function Ti(e,t){return t.length<2?e:kr(e,oo(t,0,-1))}function Pi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ri=Ai(to),Di=pt||function(e,t){return ht.setTimeout(e,t)},Mi=Ai(no);function Oi(e,t,n){var r=t+"";return Mi(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return It(g,function(n){var r="_."+n[0];t&n[1]&&!Dt(e,r)&&e.push(r)}),e.sort()}(function(e){var t=e.match(se);return t?t[1].split(ue):[]}(r),n)))}function Ai(e){var t=0,n=0;return function(){var o=Cn(),i=16-(o-n);if(n=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Li(e,t){var n=-1,o=e.length,i=o-1;for(t=t===r?o:t;++n<t;){var a=Qr(n,i),l=e[a];e[a]=e[n],e[n]=l}return e.length=t,e}var Ni=function(e){var t=Aa(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ne,function(e,n,r,o){t.push(r?o.replace(fe,"$1"):n||e)}),t});function Bi(e){if("string"==typeof e||ul(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function zi(e){if(null!=e){try{return Ae.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Hi(e){if(e instanceof Kn)return e.clone();var t=new jn(e.__wrapped__,e.__chain__);return t.__actions__=Ro(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Vi=Yr(function(e,t){return $a(e)?fr(e,yr(t,1,$a,!0)):[]}),Wi=Yr(function(e,t){var n=Yi(t);return $a(n)&&(n=r),$a(e)?fr(e,yr(t,1,$a,!0),ci(n,2)):[]}),Ui=Yr(function(e,t){var n=Yi(t);return $a(n)&&(n=r),$a(e)?fr(e,yr(t,1,$a,!0),r,n):[]});function ji(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ml(n);return o<0&&(o=bn(r+o,0)),Vt(e,ci(t,3),o)}function Ki(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var i=o-1;return n!==r&&(i=ml(n),i=n<0?bn(o+i,0):_n(i,o-1)),Vt(e,ci(t,3),i,!0)}function qi(e){return(null==e?0:e.length)?yr(e,1):[]}function Gi(e){return e&&e.length?e[0]:r}var $i=Yr(function(e){var t=Ot(e,bo);return t.length&&t[0]===e[0]?Pr(t):[]}),Qi=Yr(function(e){var t=Yi(e),n=Ot(e,bo);return t===Yi(n)?t=r:n.pop(),n.length&&n[0]===e[0]?Pr(n,ci(t,2)):[]}),Zi=Yr(function(e){var t=Yi(e),n=Ot(e,bo);return(t="function"==typeof t?t:r)&&n.pop(),n.length&&n[0]===e[0]?Pr(n,r,t):[]});function Yi(e){var t=null==e?0:e.length;return t?e[t-1]:r}var Ji=Yr(Xi);function Xi(e,t){return e&&e.length&&t&&t.length?Gr(e,t):e}var ea=oi(function(e,t){var n=null==e?0:e.length,r=lr(e,t);return $r(e,Ot(t,function(e){return _i(e,n)?+e:e}).sort(Io)),r});function ta(e){return null==e?e:kn.call(e)}var na=Yr(function(e){return fo(yr(e,1,$a,!0))}),ra=Yr(function(e){var t=Yi(e);return $a(t)&&(t=r),fo(yr(e,1,$a,!0),ci(t,2))}),oa=Yr(function(e){var t=Yi(e);return t="function"==typeof t?t:r,fo(yr(e,1,$a,!0),r,t)});function ia(e){if(!e||!e.length)return[];var t=0;return e=Rt(e,function(e){if($a(e))return t=bn(e.length,t),!0}),Zt(t,function(t){return Ot(e,qt(t))})}function aa(e,t){if(!e||!e.length)return[];var n=ia(e);return null==t?n:Ot(n,function(e){return Et(t,r,e)})}var la=Yr(function(e,t){return $a(e)?fr(e,t):[]}),sa=Yr(function(e){return vo(Rt(e,$a))}),ua=Yr(function(e){var t=Yi(e);return $a(t)&&(t=r),vo(Rt(e,$a),ci(t,2))}),ca=Yr(function(e){var t=Yi(e);return t="function"==typeof t?t:r,vo(Rt(e,$a),r,t)}),da=Yr(ia);var fa=Yr(function(e){var t=e.length,n=t>1?e[t-1]:r;return n="function"==typeof n?(e.pop(),n):r,aa(e,n)});function pa(e){var t=Vn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var ma=oi(function(e){var t=e.length,n=t?e[0]:0,o=this.__wrapped__,i=function(t){return lr(t,e)};return!(t>1||this.__actions__.length)&&o instanceof Kn&&_i(n)?((o=o.slice(n,+n+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:r}),new jn(o,this.__chain__).thru(function(e){return t&&!e.length&&e.push(r),e})):this.thru(i)});var ga=Mo(function(e,t,n){Le.call(e,n)?++e[n]:ar(e,n,1)});var va=Ho(ji),ya=Ho(Ki);function ba(e,t){return(Ka(e)?It:pr)(e,ci(t,3))}function _a(e,t){return(Ka(e)?Tt:hr)(e,ci(t,3))}var Ca=Mo(function(e,t,n){Le.call(e,n)?e[n].push(t):ar(e,n,[t])});var Sa=Yr(function(e,t,n){var r=-1,o="function"==typeof t,i=Ga(e)?ae(e.length):[];return pr(e,function(e){i[++r]=o?Et(t,e,n):Rr(e,t,n)}),i}),wa=Mo(function(e,t,n){ar(e,n,t)});function ka(e,t){return(Ka(e)?Ot:Hr)(e,ci(t,3))}var xa=Mo(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var Ea=Yr(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ci(e,t[0],t[1])?t=[]:n>2&&Ci(t[0],t[1],t[2])&&(t=[t[0]]),Kr(e,yr(t,1),[])}),Fa=ft||function(){return ht.Date.now()};function Ia(e,t,n){return t=n?r:t,t=e&&null==t?e.length:t,Xo(e,c,r,r,r,r,t)}function Ta(e,t){var n;if("function"!=typeof t)throw new Pe(o);return e=ml(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var Pa=Yr(function(e,t,n){var r=1;if(n.length){var o=cn(n,ui(Pa));r|=s}return Xo(e,r,t,n,o)}),Ra=Yr(function(e,t,n){var r=3;if(n.length){var o=cn(n,ui(Ra));r|=s}return Xo(t,r,e,n,o)});function Da(e,t,n){var i,a,l,s,u,c,d=0,f=!1,p=!1,h=!0;if("function"!=typeof e)throw new Pe(o);function m(t){var n=i,o=a;return i=a=r,d=t,s=e.apply(o,n)}function g(e){var n=e-c;return c===r||n>=t||n<0||p&&e-d>=l}function v(){var e=Fa();if(g(e))return y(e);u=Di(v,function(e){var n=t-(e-c);return p?_n(n,l-(e-d)):n}(e))}function y(e){return u=r,h&&i?m(e):(i=a=r,s)}function b(){var e=Fa(),n=g(e);if(i=arguments,a=this,c=e,n){if(u===r)return function(e){return d=e,u=Di(v,t),f?m(e):s}(c);if(p)return ko(u),u=Di(v,t),m(c)}return u===r&&(u=Di(v,t)),s}return t=vl(t)||0,tl(n)&&(f=!!n.leading,l=(p="maxWait"in n)?bn(vl(n.maxWait)||0,t):l,h="trailing"in n?!!n.trailing:h),b.cancel=function(){u!==r&&ko(u),d=0,i=c=a=u=r},b.flush=function(){return u===r?s:y(Fa())},b}var Ma=Yr(function(e,t){return dr(e,1,t)}),Oa=Yr(function(e,t,n){return dr(e,vl(t)||0,n)});function Aa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Pe(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Aa.Cache||$n),n}function La(e){if("function"!=typeof e)throw new Pe(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Aa.Cache=$n;var Na=So(function(e,t){var n=(t=1==t.length&&Ka(t[0])?Ot(t[0],Jt(ci())):Ot(yr(t,1),Jt(ci()))).length;return Yr(function(r){for(var o=-1,i=_n(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Et(e,this,r)})}),Ba=Yr(function(e,t){var n=cn(t,ui(Ba));return Xo(e,s,r,t,n)}),za=Yr(function(e,t){var n=cn(t,ui(za));return Xo(e,u,r,t,n)}),Ha=oi(function(e,t){return Xo(e,d,r,r,r,t)});function Va(e,t){return e===t||e!=e&&t!=t}var Wa=$o(Fr),Ua=$o(function(e,t){return e>=t}),ja=Dr(function(){return arguments}())?Dr:function(e){return nl(e)&&Le.call(e,"callee")&&!Qe.call(e,"callee")},Ka=ae.isArray,qa=_t?Jt(_t):function(e){return nl(e)&&Er(e)==M};function Ga(e){return null!=e&&el(e.length)&&!Ja(e)}function $a(e){return nl(e)&&Ga(e)}var Qa=bt||vs,Za=Ct?Jt(Ct):function(e){return nl(e)&&Er(e)==_};function Ya(e){if(!nl(e))return!1;var t=Er(e);return t==C||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!il(e)}function Ja(e){if(!tl(e))return!1;var t=Er(e);return t==S||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xa(e){return"number"==typeof e&&e==ml(e)}function el(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=p}function tl(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function nl(e){return null!=e&&"object"==typeof e}var rl=St?Jt(St):function(e){return nl(e)&&gi(e)==k};function ol(e){return"number"==typeof e||nl(e)&&Er(e)==x}function il(e){if(!nl(e)||Er(e)!=E)return!1;var t=Ge(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ae.call(n)==He}var al=wt?Jt(wt):function(e){return nl(e)&&Er(e)==I};var ll=kt?Jt(kt):function(e){return nl(e)&&gi(e)==T};function sl(e){return"string"==typeof e||!Ka(e)&&nl(e)&&Er(e)==P}function ul(e){return"symbol"==typeof e||nl(e)&&Er(e)==R}var cl=xt?Jt(xt):function(e){return nl(e)&&el(e.length)&&!!lt[Er(e)]};var dl=$o(zr),fl=$o(function(e,t){return e<=t});function pl(e){if(!e)return[];if(Ga(e))return sl(e)?hn(e):Ro(e);if(Je&&e[Je])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Je]());var t=gi(e);return(t==k?sn:t==T?dn:Vl)(e)}function hl(e){return e?(e=vl(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ml(e){var t=hl(e),n=t%1;return t==t?n?t-n:t:0}function gl(e){return e?sr(ml(e),0,m):0}function vl(e){if("number"==typeof e)return e;if(ul(e))return h;if(tl(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=tl(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Yt(e);var n=ge.test(e);return n||ye.test(e)?dt(e.slice(2),n?2:8):me.test(e)?h:+e}function yl(e){return Do(e,Ml(e))}function bl(e){return null==e?"":co(e)}var _l=Oo(function(e,t){if(xi(t)||Ga(t))Do(t,Dl(t),e);else for(var n in t)Le.call(t,n)&&nr(e,n,t[n])}),Cl=Oo(function(e,t){Do(t,Ml(t),e)}),Sl=Oo(function(e,t,n,r){Do(t,Ml(t),e,r)}),wl=Oo(function(e,t,n,r){Do(t,Dl(t),e,r)}),kl=oi(lr);var xl=Yr(function(e,t){e=Fe(e);var n=-1,o=t.length,i=o>2?t[2]:r;for(i&&Ci(t[0],t[1],i)&&(o=1);++n<o;)for(var a=t[n],l=Ml(a),s=-1,u=l.length;++s<u;){var c=l[s],d=e[c];(d===r||Va(d,Me[c])&&!Le.call(e,c))&&(e[c]=a[c])}return e}),El=Yr(function(e){return e.push(r,ti),Et(Al,r,e)});function Fl(e,t,n){var o=null==e?r:kr(e,t);return o===r?n:o}function Il(e,t){return null!=e&&vi(e,t,Tr)}var Tl=Uo(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ze.call(t)),e[t]=n},ts(os)),Pl=Uo(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=ze.call(t)),Le.call(e,t)?e[t].push(n):e[t]=[n]},ci),Rl=Yr(Rr);function Dl(e){return Ga(e)?Yn(e):Nr(e)}function Ml(e){return Ga(e)?Yn(e,!0):Br(e)}var Ol=Oo(function(e,t,n){Ur(e,t,n)}),Al=Oo(function(e,t,n,r){Ur(e,t,n,r)}),Ll=oi(function(e,t){var n={};if(null==e)return n;var r=!1;t=Ot(t,function(t){return t=Co(t,e),r||(r=t.length>1),t}),Do(e,ai(e),n),r&&(n=ur(n,7,ni));for(var o=t.length;o--;)po(n,t[o]);return n});var Nl=oi(function(e,t){return null==e?{}:function(e,t){return qr(e,t,function(t,n){return Il(e,n)})}(e,t)});function Bl(e,t){if(null==e)return{};var n=Ot(ai(e),function(e){return[e]});return t=ci(t),qr(e,n,function(e,n){return t(e,n[0])})}var zl=Jo(Dl),Hl=Jo(Ml);function Vl(e){return null==e?[]:Xt(e,Dl(e))}var Wl=Bo(function(e,t,n){return t=t.toLowerCase(),e+(n?Ul(t):t)});function Ul(e){return Yl(bl(e).toLowerCase())}function jl(e){return(e=bl(e))&&e.replace(_e,rn).replace(et,"")}var Kl=Bo(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),ql=Bo(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Gl=No("toLowerCase");var $l=Bo(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var Ql=Bo(function(e,t,n){return e+(n?" ":"")+Yl(t)});var Zl=Bo(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Yl=No("toUpperCase");function Jl(e,t,n){return e=bl(e),(t=n?r:t)===r?function(e){return ot.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(ce)||[]}(e):e.match(t)||[]}var Xl=Yr(function(e,t){try{return Et(e,r,t)}catch(e){return Ya(e)?e:new ke(e)}}),es=oi(function(e,t){return It(t,function(t){t=Bi(t),ar(e,t,Pa(e[t],e))}),e});function ts(e){return function(){return e}}var ns=Vo(),rs=Vo(!0);function os(e){return e}function is(e){return Lr("function"==typeof e?e:ur(e,1))}var as=Yr(function(e,t){return function(n){return Rr(n,e,t)}}),ls=Yr(function(e,t){return function(n){return Rr(e,n,t)}});function ss(e,t,n){var r=Dl(t),o=wr(t,r);null!=n||tl(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=wr(t,Dl(t)));var i=!(tl(n)&&"chain"in n&&!n.chain),a=Ja(e);return It(o,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Ro(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,At([this.value()],arguments))})}),e}function us(){}var cs=Ko(Ot),ds=Ko(Pt),fs=Ko(Bt);function ps(e){return Si(e)?qt(Bi(e)):function(e){return function(t){return kr(t,e)}}(e)}var hs=Go(),ms=Go(!0);function gs(){return[]}function vs(){return!1}var ys=jo(function(e,t){return e+t},0),bs=Zo("ceil"),_s=jo(function(e,t){return e/t},1),Cs=Zo("floor");var Ss,ws=jo(function(e,t){return e*t},1),ks=Zo("round"),xs=jo(function(e,t){return e-t},0);return Vn.after=function(e,t){if("function"!=typeof t)throw new Pe(o);return e=ml(e),function(){if(--e<1)return t.apply(this,arguments)}},Vn.ary=Ia,Vn.assign=_l,Vn.assignIn=Cl,Vn.assignInWith=Sl,Vn.assignWith=wl,Vn.at=kl,Vn.before=Ta,Vn.bind=Pa,Vn.bindAll=es,Vn.bindKey=Ra,Vn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ka(e)?e:[e]},Vn.chain=pa,Vn.chunk=function(e,t,n){t=(n?Ci(e,t,n):t===r)?1:bn(ml(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,l=ae(mt(o/t));i<o;)l[a++]=oo(e,i,i+=t);return l},Vn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Vn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=ae(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return At(Ka(n)?Ro(n):[n],yr(t,1))},Vn.cond=function(e){var t=null==e?0:e.length,n=ci();return e=t?Ot(e,function(e){if("function"!=typeof e[1])throw new Pe(o);return[n(e[0]),e[1]]}):[],Yr(function(n){for(var r=-1;++r<t;){var o=e[r];if(Et(o[0],this,n))return Et(o[1],this,n)}})},Vn.conforms=function(e){return function(e){var t=Dl(e);return function(n){return cr(n,e,t)}}(ur(e,1))},Vn.constant=ts,Vn.countBy=ga,Vn.create=function(e,t){var n=Wn(e);return null==t?n:ir(n,t)},Vn.curry=function e(t,n,o){var i=Xo(t,8,r,r,r,r,r,n=o?r:n);return i.placeholder=e.placeholder,i},Vn.curryRight=function e(t,n,o){var i=Xo(t,l,r,r,r,r,r,n=o?r:n);return i.placeholder=e.placeholder,i},Vn.debounce=Da,Vn.defaults=xl,Vn.defaultsDeep=El,Vn.defer=Ma,Vn.delay=Oa,Vn.difference=Vi,Vn.differenceBy=Wi,Vn.differenceWith=Ui,Vn.drop=function(e,t,n){var o=null==e?0:e.length;return o?oo(e,(t=n||t===r?1:ml(t))<0?0:t,o):[]},Vn.dropRight=function(e,t,n){var o=null==e?0:e.length;return o?oo(e,0,(t=o-(t=n||t===r?1:ml(t)))<0?0:t):[]},Vn.dropRightWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!0,!0):[]},Vn.dropWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!0):[]},Vn.fill=function(e,t,n,o){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Ci(e,t,n)&&(n=0,o=i),function(e,t,n,o){var i=e.length;for((n=ml(n))<0&&(n=-n>i?0:i+n),(o=o===r||o>i?i:ml(o))<0&&(o+=i),o=n>o?0:gl(o);n<o;)e[n++]=t;return e}(e,t,n,o)):[]},Vn.filter=function(e,t){return(Ka(e)?Rt:vr)(e,ci(t,3))},Vn.flatMap=function(e,t){return yr(ka(e,t),1)},Vn.flatMapDeep=function(e,t){return yr(ka(e,t),f)},Vn.flatMapDepth=function(e,t,n){return n=n===r?1:ml(n),yr(ka(e,t),n)},Vn.flatten=qi,Vn.flattenDeep=function(e){return(null==e?0:e.length)?yr(e,f):[]},Vn.flattenDepth=function(e,t){return(null==e?0:e.length)?yr(e,t=t===r?1:ml(t)):[]},Vn.flip=function(e){return Xo(e,512)},Vn.flow=ns,Vn.flowRight=rs,Vn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Vn.functions=function(e){return null==e?[]:wr(e,Dl(e))},Vn.functionsIn=function(e){return null==e?[]:wr(e,Ml(e))},Vn.groupBy=Ca,Vn.initial=function(e){return(null==e?0:e.length)?oo(e,0,-1):[]},Vn.intersection=$i,Vn.intersectionBy=Qi,Vn.intersectionWith=Zi,Vn.invert=Tl,Vn.invertBy=Pl,Vn.invokeMap=Sa,Vn.iteratee=is,Vn.keyBy=wa,Vn.keys=Dl,Vn.keysIn=Ml,Vn.map=ka,Vn.mapKeys=function(e,t){var n={};return t=ci(t,3),Cr(e,function(e,r,o){ar(n,t(e,r,o),e)}),n},Vn.mapValues=function(e,t){var n={};return t=ci(t,3),Cr(e,function(e,r,o){ar(n,r,t(e,r,o))}),n},Vn.matches=function(e){return Vr(ur(e,1))},Vn.matchesProperty=function(e,t){return Wr(e,ur(t,1))},Vn.memoize=Aa,Vn.merge=Ol,Vn.mergeWith=Al,Vn.method=as,Vn.methodOf=ls,Vn.mixin=ss,Vn.negate=La,Vn.nthArg=function(e){return e=ml(e),Yr(function(t){return jr(t,e)})},Vn.omit=Ll,Vn.omitBy=function(e,t){return Bl(e,La(ci(t)))},Vn.once=function(e){return Ta(2,e)},Vn.orderBy=function(e,t,n,o){return null==e?[]:(Ka(t)||(t=null==t?[]:[t]),Ka(n=o?r:n)||(n=null==n?[]:[n]),Kr(e,t,n))},Vn.over=cs,Vn.overArgs=Na,Vn.overEvery=ds,Vn.overSome=fs,Vn.partial=Ba,Vn.partialRight=za,Vn.partition=xa,Vn.pick=Nl,Vn.pickBy=Bl,Vn.property=ps,Vn.propertyOf=function(e){return function(t){return null==e?r:kr(e,t)}},Vn.pull=Ji,Vn.pullAll=Xi,Vn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,ci(n,2)):e},Vn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,r,n):e},Vn.pullAt=ea,Vn.range=hs,Vn.rangeRight=ms,Vn.rearg=Ha,Vn.reject=function(e,t){return(Ka(e)?Rt:vr)(e,La(ci(t,3)))},Vn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=ci(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return $r(e,o),n},Vn.rest=function(e,t){if("function"!=typeof e)throw new Pe(o);return Yr(e,t=t===r?t:ml(t))},Vn.reverse=ta,Vn.sampleSize=function(e,t,n){return t=(n?Ci(e,t,n):t===r)?1:ml(t),(Ka(e)?Xn:Xr)(e,t)},Vn.set=function(e,t,n){return null==e?e:eo(e,t,n)},Vn.setWith=function(e,t,n,o){return o="function"==typeof o?o:r,null==e?e:eo(e,t,n,o)},Vn.shuffle=function(e){return(Ka(e)?er:ro)(e)},Vn.slice=function(e,t,n){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&Ci(e,t,n)?(t=0,n=o):(t=null==t?0:ml(t),n=n===r?o:ml(n)),oo(e,t,n)):[]},Vn.sortBy=Ea,Vn.sortedUniq=function(e){return e&&e.length?so(e):[]},Vn.sortedUniqBy=function(e,t){return e&&e.length?so(e,ci(t,2)):[]},Vn.split=function(e,t,n){return n&&"number"!=typeof n&&Ci(e,t,n)&&(t=n=r),(n=n===r?m:n>>>0)?(e=bl(e))&&("string"==typeof t||null!=t&&!al(t))&&!(t=co(t))&&ln(e)?wo(hn(e),0,n):e.split(t,n):[]},Vn.spread=function(e,t){if("function"!=typeof e)throw new Pe(o);return t=null==t?0:bn(ml(t),0),Yr(function(n){var r=n[t],o=wo(n,0,t);return r&&At(o,r),Et(e,this,o)})},Vn.tail=function(e){var t=null==e?0:e.length;return t?oo(e,1,t):[]},Vn.take=function(e,t,n){return e&&e.length?oo(e,0,(t=n||t===r?1:ml(t))<0?0:t):[]},Vn.takeRight=function(e,t,n){var o=null==e?0:e.length;return o?oo(e,(t=o-(t=n||t===r?1:ml(t)))<0?0:t,o):[]},Vn.takeRightWhile=function(e,t){return e&&e.length?mo(e,ci(t,3),!1,!0):[]},Vn.takeWhile=function(e,t){return e&&e.length?mo(e,ci(t,3)):[]},Vn.tap=function(e,t){return t(e),e},Vn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Pe(o);return tl(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Da(e,t,{leading:r,maxWait:t,trailing:i})},Vn.thru=ha,Vn.toArray=pl,Vn.toPairs=zl,Vn.toPairsIn=Hl,Vn.toPath=function(e){return Ka(e)?Ot(e,Bi):ul(e)?[e]:Ro(Ni(bl(e)))},Vn.toPlainObject=yl,Vn.transform=function(e,t,n){var r=Ka(e),o=r||Qa(e)||cl(e);if(t=ci(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:tl(e)&&Ja(i)?Wn(Ge(e)):{}}return(o?It:Cr)(e,function(e,r,o){return t(n,e,r,o)}),n},Vn.unary=function(e){return Ia(e,1)},Vn.union=na,Vn.unionBy=ra,Vn.unionWith=oa,Vn.uniq=function(e){return e&&e.length?fo(e):[]},Vn.uniqBy=function(e,t){return e&&e.length?fo(e,ci(t,2)):[]},Vn.uniqWith=function(e,t){return t="function"==typeof t?t:r,e&&e.length?fo(e,r,t):[]},Vn.unset=function(e,t){return null==e||po(e,t)},Vn.unzip=ia,Vn.unzipWith=aa,Vn.update=function(e,t,n){return null==e?e:ho(e,t,_o(n))},Vn.updateWith=function(e,t,n,o){return o="function"==typeof o?o:r,null==e?e:ho(e,t,_o(n),o)},Vn.values=Vl,Vn.valuesIn=function(e){return null==e?[]:Xt(e,Ml(e))},Vn.without=la,Vn.words=Jl,Vn.wrap=function(e,t){return Ba(_o(t),e)},Vn.xor=sa,Vn.xorBy=ua,Vn.xorWith=ca,Vn.zip=da,Vn.zipObject=function(e,t){return yo(e||[],t||[],nr)},Vn.zipObjectDeep=function(e,t){return yo(e||[],t||[],eo)},Vn.zipWith=fa,Vn.entries=zl,Vn.entriesIn=Hl,Vn.extend=Cl,Vn.extendWith=Sl,ss(Vn,Vn),Vn.add=ys,Vn.attempt=Xl,Vn.camelCase=Wl,Vn.capitalize=Ul,Vn.ceil=bs,Vn.clamp=function(e,t,n){return n===r&&(n=t,t=r),n!==r&&(n=(n=vl(n))==n?n:0),t!==r&&(t=(t=vl(t))==t?t:0),sr(vl(e),t,n)},Vn.clone=function(e){return ur(e,4)},Vn.cloneDeep=function(e){return ur(e,5)},Vn.cloneDeepWith=function(e,t){return ur(e,5,t="function"==typeof t?t:r)},Vn.cloneWith=function(e,t){return ur(e,4,t="function"==typeof t?t:r)},Vn.conformsTo=function(e,t){return null==t||cr(e,t,Dl(t))},Vn.deburr=jl,Vn.defaultTo=function(e,t){return null==e||e!=e?t:e},Vn.divide=_s,Vn.endsWith=function(e,t,n){e=bl(e),t=co(t);var o=e.length,i=n=n===r?o:sr(ml(n),0,o);return(n-=t.length)>=0&&e.slice(n,i)==t},Vn.eq=Va,Vn.escape=function(e){return(e=bl(e))&&Z.test(e)?e.replace($,on):e},Vn.escapeRegExp=function(e){return(e=bl(e))&&oe.test(e)?e.replace(re,"\\$&"):e},Vn.every=function(e,t,n){var o=Ka(e)?Pt:mr;return n&&Ci(e,t,n)&&(t=r),o(e,ci(t,3))},Vn.find=va,Vn.findIndex=ji,Vn.findKey=function(e,t){return Ht(e,ci(t,3),Cr)},Vn.findLast=ya,Vn.findLastIndex=Ki,Vn.findLastKey=function(e,t){return Ht(e,ci(t,3),Sr)},Vn.floor=Cs,Vn.forEach=ba,Vn.forEachRight=_a,Vn.forIn=function(e,t){return null==e?e:br(e,ci(t,3),Ml)},Vn.forInRight=function(e,t){return null==e?e:_r(e,ci(t,3),Ml)},Vn.forOwn=function(e,t){return e&&Cr(e,ci(t,3))},Vn.forOwnRight=function(e,t){return e&&Sr(e,ci(t,3))},Vn.get=Fl,Vn.gt=Wa,Vn.gte=Ua,Vn.has=function(e,t){return null!=e&&vi(e,t,Ir)},Vn.hasIn=Il,Vn.head=Gi,Vn.identity=os,Vn.includes=function(e,t,n,r){e=Ga(e)?e:Vl(e),n=n&&!r?ml(n):0;var o=e.length;return n<0&&(n=bn(o+n,0)),sl(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Wt(e,t,n)>-1},Vn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ml(n);return o<0&&(o=bn(r+o,0)),Wt(e,t,o)},Vn.inRange=function(e,t,n){return t=hl(t),n===r?(n=t,t=0):n=hl(n),function(e,t,n){return e>=_n(t,n)&&e<bn(t,n)}(e=vl(e),t,n)},Vn.invoke=Rl,Vn.isArguments=ja,Vn.isArray=Ka,Vn.isArrayBuffer=qa,Vn.isArrayLike=Ga,Vn.isArrayLikeObject=$a,Vn.isBoolean=function(e){return!0===e||!1===e||nl(e)&&Er(e)==b},Vn.isBuffer=Qa,Vn.isDate=Za,Vn.isElement=function(e){return nl(e)&&1===e.nodeType&&!il(e)},Vn.isEmpty=function(e){if(null==e)return!0;if(Ga(e)&&(Ka(e)||"string"==typeof e||"function"==typeof e.splice||Qa(e)||cl(e)||ja(e)))return!e.length;var t=gi(e);if(t==k||t==T)return!e.size;if(xi(e))return!Nr(e).length;for(var n in e)if(Le.call(e,n))return!1;return!0},Vn.isEqual=function(e,t){return Mr(e,t)},Vn.isEqualWith=function(e,t,n){var o=(n="function"==typeof n?n:r)?n(e,t):r;return o===r?Mr(e,t,r,n):!!o},Vn.isError=Ya,Vn.isFinite=function(e){return"number"==typeof e&&zt(e)},Vn.isFunction=Ja,Vn.isInteger=Xa,Vn.isLength=el,Vn.isMap=rl,Vn.isMatch=function(e,t){return e===t||Or(e,t,fi(t))},Vn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:r,Or(e,t,fi(t),n)},Vn.isNaN=function(e){return ol(e)&&e!=+e},Vn.isNative=function(e){if(ki(e))throw new ke("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ar(e)},Vn.isNil=function(e){return null==e},Vn.isNull=function(e){return null===e},Vn.isNumber=ol,Vn.isObject=tl,Vn.isObjectLike=nl,Vn.isPlainObject=il,Vn.isRegExp=al,Vn.isSafeInteger=function(e){return Xa(e)&&e>=-9007199254740991&&e<=p},Vn.isSet=ll,Vn.isString=sl,Vn.isSymbol=ul,Vn.isTypedArray=cl,Vn.isUndefined=function(e){return e===r},Vn.isWeakMap=function(e){return nl(e)&&gi(e)==D},Vn.isWeakSet=function(e){return nl(e)&&"[object WeakSet]"==Er(e)},Vn.join=function(e,t){return null==e?"":Gt.call(e,t)},Vn.kebabCase=Kl,Vn.last=Yi,Vn.lastIndexOf=function(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var i=o;return n!==r&&(i=(i=ml(n))<0?bn(o+i,0):_n(i,o-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Vt(e,jt,i,!0)},Vn.lowerCase=ql,Vn.lowerFirst=Gl,Vn.lt=dl,Vn.lte=fl,Vn.max=function(e){return e&&e.length?gr(e,os,Fr):r},Vn.maxBy=function(e,t){return e&&e.length?gr(e,ci(t,2),Fr):r},Vn.mean=function(e){return Kt(e,os)},Vn.meanBy=function(e,t){return Kt(e,ci(t,2))},Vn.min=function(e){return e&&e.length?gr(e,os,zr):r},Vn.minBy=function(e,t){return e&&e.length?gr(e,ci(t,2),zr):r},Vn.stubArray=gs,Vn.stubFalse=vs,Vn.stubObject=function(){return{}},Vn.stubString=function(){return""},Vn.stubTrue=function(){return!0},Vn.multiply=ws,Vn.nth=function(e,t){return e&&e.length?jr(e,ml(t)):r},Vn.noConflict=function(){return ht._===this&&(ht._=Ve),this},Vn.noop=us,Vn.now=Fa,Vn.pad=function(e,t,n){e=bl(e);var r=(t=ml(t))?pn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return qo(gt(o),n)+e+qo(mt(o),n)},Vn.padEnd=function(e,t,n){e=bl(e);var r=(t=ml(t))?pn(e):0;return t&&r<t?e+qo(t-r,n):e},Vn.padStart=function(e,t,n){e=bl(e);var r=(t=ml(t))?pn(e):0;return t&&r<t?qo(t-r,n)+e:e},Vn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Sn(bl(e).replace(ie,""),t||0)},Vn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Ci(e,t,n)&&(t=n=r),n===r&&("boolean"==typeof t?(n=t,t=r):"boolean"==typeof e&&(n=e,e=r)),e===r&&t===r?(e=0,t=1):(e=hl(e),t===r?(t=e,e=0):t=hl(t)),e>t){var o=e;e=t,t=o}if(n||e%1||t%1){var i=wn();return _n(e+i*(t-e+ct("1e-"+((i+"").length-1))),t)}return Qr(e,t)},Vn.reduce=function(e,t,n){var r=Ka(e)?Lt:$t,o=arguments.length<3;return r(e,ci(t,4),n,o,pr)},Vn.reduceRight=function(e,t,n){var r=Ka(e)?Nt:$t,o=arguments.length<3;return r(e,ci(t,4),n,o,hr)},Vn.repeat=function(e,t,n){return t=(n?Ci(e,t,n):t===r)?1:ml(t),Zr(bl(e),t)},Vn.replace=function(){var e=arguments,t=bl(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Vn.result=function(e,t,n){var o=-1,i=(t=Co(t,e)).length;for(i||(i=1,e=r);++o<i;){var a=null==e?r:e[Bi(t[o])];a===r&&(o=i,a=n),e=Ja(a)?a.call(e):a}return e},Vn.round=ks,Vn.runInContext=e,Vn.sample=function(e){return(Ka(e)?Jn:Jr)(e)},Vn.size=function(e){if(null==e)return 0;if(Ga(e))return sl(e)?pn(e):e.length;var t=gi(e);return t==k||t==T?e.size:Nr(e).length},Vn.snakeCase=$l,Vn.some=function(e,t,n){var o=Ka(e)?Bt:io;return n&&Ci(e,t,n)&&(t=r),o(e,ci(t,3))},Vn.sortedIndex=function(e,t){return ao(e,t)},Vn.sortedIndexBy=function(e,t,n){return lo(e,t,ci(n,2))},Vn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ao(e,t);if(r<n&&Va(e[r],t))return r}return-1},Vn.sortedLastIndex=function(e,t){return ao(e,t,!0)},Vn.sortedLastIndexBy=function(e,t,n){return lo(e,t,ci(n,2),!0)},Vn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=ao(e,t,!0)-1;if(Va(e[n],t))return n}return-1},Vn.startCase=Ql,Vn.startsWith=function(e,t,n){return e=bl(e),n=null==n?0:sr(ml(n),0,e.length),t=co(t),e.slice(n,n+t.length)==t},Vn.subtract=xs,Vn.sum=function(e){return e&&e.length?Qt(e,os):0},Vn.sumBy=function(e,t){return e&&e.length?Qt(e,ci(t,2)):0},Vn.template=function(e,t,n){var o=Vn.templateSettings;n&&Ci(e,t,n)&&(t=r),e=bl(e),t=Sl({},t,o,ei);var i,a,l=Sl({},t.imports,o.imports,ei),s=Dl(l),u=Xt(l,s),c=0,d=t.interpolate||Ce,f="__p += '",p=Ie((t.escape||Ce).source+"|"+d.source+"|"+(d===X?pe:Ce).source+"|"+(t.evaluate||Ce).source+"|$","g"),h="//# sourceURL="+(Le.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++at+"]")+"\n";e.replace(p,function(t,n,r,o,l,s){return r||(r=o),f+=e.slice(c,s).replace(Se,an),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),l&&(a=!0,f+="';\n"+l+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=s+t.length,t}),f+="';\n";var m=Le.call(t,"variable")&&t.variable;if(m){if(de.test(m))throw new ke("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(j,""):f).replace(K,"$1").replace(q,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var g=Xl(function(){return xe(s,h+"return "+f).apply(r,u)});if(g.source=f,Ya(g))throw g;return g},Vn.times=function(e,t){if((e=ml(e))<1||e>p)return[];var n=m,r=_n(e,m);t=ci(t),e-=m;for(var o=Zt(r,t);++n<e;)t(n);return o},Vn.toFinite=hl,Vn.toInteger=ml,Vn.toLength=gl,Vn.toLower=function(e){return bl(e).toLowerCase()},Vn.toNumber=vl,Vn.toSafeInteger=function(e){return e?sr(ml(e),-9007199254740991,p):0===e?e:0},Vn.toString=bl,Vn.toUpper=function(e){return bl(e).toUpperCase()},Vn.trim=function(e,t,n){if((e=bl(e))&&(n||t===r))return Yt(e);if(!e||!(t=co(t)))return e;var o=hn(e),i=hn(t);return wo(o,tn(o,i),nn(o,i)+1).join("")},Vn.trimEnd=function(e,t,n){if((e=bl(e))&&(n||t===r))return e.slice(0,mn(e)+1);if(!e||!(t=co(t)))return e;var o=hn(e);return wo(o,0,nn(o,hn(t))+1).join("")},Vn.trimStart=function(e,t,n){if((e=bl(e))&&(n||t===r))return e.replace(ie,"");if(!e||!(t=co(t)))return e;var o=hn(e);return wo(o,tn(o,hn(t))).join("")},Vn.truncate=function(e,t){var n=30,o="...";if(tl(t)){var i="separator"in t?t.separator:i;n="length"in t?ml(t.length):n,o="omission"in t?co(t.omission):o}var a=(e=bl(e)).length;if(ln(e)){var l=hn(e);a=l.length}if(n>=a)return e;var s=n-pn(o);if(s<1)return o;var u=l?wo(l,0,s).join(""):e.slice(0,s);if(i===r)return u+o;if(l&&(s+=u.length-s),al(i)){if(e.slice(s).search(i)){var c,d=u;for(i.global||(i=Ie(i.source,bl(he.exec(i))+"g")),i.lastIndex=0;c=i.exec(d);)var f=c.index;u=u.slice(0,f===r?s:f)}}else if(e.indexOf(co(i),s)!=s){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+o},Vn.unescape=function(e){return(e=bl(e))&&Q.test(e)?e.replace(G,gn):e},Vn.uniqueId=function(e){var t=++Ne;return bl(e)+t},Vn.upperCase=Zl,Vn.upperFirst=Yl,Vn.each=ba,Vn.eachRight=_a,Vn.first=Gi,ss(Vn,(Ss={},Cr(Vn,function(e,t){Le.call(Vn.prototype,t)||(Ss[t]=e)}),Ss),{chain:!1}),Vn.VERSION="4.17.23",It(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Vn[e].placeholder=Vn}),It(["drop","take"],function(e,t){Kn.prototype[e]=function(n){n=n===r?1:bn(ml(n),0);var o=this.__filtered__&&!t?new Kn(this):this.clone();return o.__filtered__?o.__takeCount__=_n(n,o.__takeCount__):o.__views__.push({size:_n(n,m),type:e+(o.__dir__<0?"Right":"")}),o},Kn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),It(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;Kn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ci(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),It(["head","last"],function(e,t){var n="take"+(t?"Right":"");Kn.prototype[e]=function(){return this[n](1).value()[0]}}),It(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Kn.prototype[e]=function(){return this.__filtered__?new Kn(this):this[n](1)}}),Kn.prototype.compact=function(){return this.filter(os)},Kn.prototype.find=function(e){return this.filter(e).head()},Kn.prototype.findLast=function(e){return this.reverse().find(e)},Kn.prototype.invokeMap=Yr(function(e,t){return"function"==typeof e?new Kn(this):this.map(function(n){return Rr(n,e,t)})}),Kn.prototype.reject=function(e){return this.filter(La(ci(e)))},Kn.prototype.slice=function(e,t){e=ml(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Kn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(n=(t=ml(t))<0?n.dropRight(-t):n.take(t-e)),n)},Kn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Kn.prototype.toArray=function(){return this.take(m)},Cr(Kn.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),i=Vn[o?"take"+("last"==t?"Right":""):t],a=o||/^find/.test(t);i&&(Vn.prototype[t]=function(){var t=this.__wrapped__,l=o?[1]:arguments,s=t instanceof Kn,u=l[0],c=s||Ka(t),d=function(e){var t=i.apply(Vn,At([e],l));return o&&f?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(s=c=!1);var f=this.__chain__,p=!!this.__actions__.length,h=a&&!f,m=s&&!p;if(!a&&c){t=m?t:new Kn(this);var g=e.apply(t,l);return g.__actions__.push({func:ha,args:[d],thisArg:r}),new jn(g,f)}return h&&m?e.apply(this,l):(g=this.thru(d),h?o?g.value()[0]:g.value():g)})}),It(["pop","push","shift","sort","splice","unshift"],function(e){var t=Re[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Vn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ka(o)?o:[],e)}return this[n](function(n){return t.apply(Ka(n)?n:[],e)})}}),Cr(Kn.prototype,function(e,t){var n=Vn[t];if(n){var r=n.name+"";Le.call(Dn,r)||(Dn[r]=[]),Dn[r].push({name:t,func:n})}}),Dn[Wo(r,2).name]=[{name:"wrapper",func:r}],Kn.prototype.clone=function(){var e=new Kn(this.__wrapped__);return e.__actions__=Ro(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ro(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ro(this.__views__),e},Kn.prototype.reverse=function(){if(this.__filtered__){var e=new Kn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Kn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ka(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=_n(t,e+a);break;case"takeRight":e=bn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,l=i.end,s=l-a,u=r?l:a-1,c=this.__iteratees__,d=c.length,f=0,p=_n(s,this.__takeCount__);if(!n||!r&&o==s&&p==s)return go(e,this.__actions__);var h=[];e:for(;s--&&f<p;){for(var m=-1,g=e[u+=t];++m<d;){var v=c[m],y=v.iteratee,b=v.type,_=y(g);if(2==b)g=_;else if(!_){if(1==b)continue e;break e}}h[f++]=g}return h},Vn.prototype.at=ma,Vn.prototype.chain=function(){return pa(this)},Vn.prototype.commit=function(){return new jn(this.value(),this.__chain__)},Vn.prototype.next=function(){this.__values__===r&&(this.__values__=pl(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?r:this.__values__[this.__index__++]}},Vn.prototype.plant=function(e){for(var t,n=this;n instanceof Un;){var o=Hi(n);o.__index__=0,o.__values__=r,t?i.__wrapped__=o:t=o;var i=o;n=n.__wrapped__}return i.__wrapped__=e,t},Vn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Kn){var t=e;return this.__actions__.length&&(t=new Kn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ta],thisArg:r}),new jn(t,this.__chain__)}return this.thru(ta)},Vn.prototype.toJSON=Vn.prototype.valueOf=Vn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Vn.prototype.first=Vn.prototype.head,Je&&(Vn.prototype[Je]=function(){return this}),Vn}();gt?((gt.exports=vn)._=vn,mt._=vn):ht._=vn}).call(t)}(kf,kf.exports);var xf=n(kf.exports);const Ef=e=>z.useMemo(()=>xf.merge({},wf,e),[e]);function Ff(e,t){return function(){return e.apply(t,arguments)}}const{toString:If}=Object.prototype,{getPrototypeOf:Tf}=Object,{iterator:Pf,toStringTag:Rf}=Symbol,Df=(Mf=Object.create(null),e=>{const t=If.call(e);return Mf[t]||(Mf[t]=t.slice(8,-1).toLowerCase())});var Mf;const Of=e=>(e=e.toLowerCase(),t=>Df(t)===e),Af=e=>t=>typeof t===e,{isArray:Lf}=Array,Nf=Af("undefined");function Bf(e){return null!==e&&!Nf(e)&&null!==e.constructor&&!Nf(e.constructor)&&Vf(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const zf=Of("ArrayBuffer");const Hf=Af("string"),Vf=Af("function"),Wf=Af("number"),Uf=e=>null!==e&&"object"==typeof e,jf=e=>{if("object"!==Df(e))return!1;const t=Tf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Rf in e||Pf in e)},Kf=Of("Date"),qf=Of("File"),Gf=Of("Blob"),$f=Of("FileList"),Qf=Of("URLSearchParams"),[Zf,Yf,Jf,Xf]=["ReadableStream","Request","Response","Headers"].map(Of);function ep(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),Lf(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Bf(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function tp(e,t){if(Bf(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const np="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,rp=e=>!Nf(e)&&e!==np;const op=(ip="undefined"!=typeof Uint8Array&&Tf(Uint8Array),e=>ip&&e instanceof ip);var ip;const ap=Of("HTMLFormElement"),lp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),sp=Of("RegExp"),up=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ep(n,(n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)}),Object.defineProperties(e,r)};const cp=Of("AsyncFunction"),dp=(fp="function"==typeof setImmediate,pp=Vf(np.postMessage),fp?setImmediate:pp?(hp=`axios@${Math.random()}`,mp=[],np.addEventListener("message",({source:e,data:t})=>{e===np&&t===hp&&mp.length&&mp.shift()()},!1),e=>{mp.push(e),np.postMessage(hp,"*")}):e=>setTimeout(e));var fp,pp,hp,mp;const gp="undefined"!=typeof queueMicrotask?queueMicrotask.bind(np):"undefined"!=typeof process&&process.nextTick||dp;var vp={isArray:Lf,isArrayBuffer:zf,isBuffer:Bf,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Vf(e.append)&&("formdata"===(t=Df(e))||"object"===t&&Vf(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&zf(e.buffer),t},isString:Hf,isNumber:Wf,isBoolean:e=>!0===e||!1===e,isObject:Uf,isPlainObject:jf,isEmptyObject:e=>{if(!Uf(e)||Bf(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:Zf,isRequest:Yf,isResponse:Jf,isHeaders:Xf,isUndefined:Nf,isDate:Kf,isFile:qf,isBlob:Gf,isRegExp:sp,isFunction:Vf,isStream:e=>Uf(e)&&Vf(e.pipe),isURLSearchParams:Qf,isTypedArray:op,isFileList:$f,forEach:ep,merge:function e(){const{caseless:t,skipUndefined:n}=rp(this)&&this||{},r={},o=(o,i)=>{const a=t&&tp(r,i)||i;jf(r[a])&&jf(o)?r[a]=e(r[a],o):jf(o)?r[a]=e({},o):Lf(o)?r[a]=o.slice():n&&Nf(o)||(r[a]=o)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&ep(arguments[e],o);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(ep(t,(t,r)=>{n&&Vf(t)?Object.defineProperty(e,r,{value:Ff(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const l={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&Tf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Df,kindOfTest:Of,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(Lf(e))return e;let t=e.length;if(!Wf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Pf]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:ap,hasOwnProperty:lp,hasOwnProp:lp,reduceDescriptors:up,freezeMethods:e=>{up(e,(t,n)=>{if(Vf(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];Vf(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return Lf(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:tp,global:np,isContextDefined:rp,isSpecCompliantForm:function(e){return!!(e&&Vf(e.append)&&"FormData"===e[Rf]&&e[Pf])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(Uf(e)){if(t.indexOf(e)>=0)return;if(Bf(e))return e;if(!("toJSON"in e)){t[r]=e;const o=Lf(e)?[]:{};return ep(e,(e,t)=>{const i=n(e,r+1);!Nf(i)&&(o[t]=i)}),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:cp,isThenable:e=>e&&(Uf(e)||Vf(e))&&Vf(e.then)&&Vf(e.catch),setImmediate:dp,asap:gp,isIterable:e=>null!=e&&Vf(e[Pf])};class yp extends Error{static from(e,t,n,r,o,i){const a=new yp(e.message,t||e.code,n,r,o);return a.cause=e,a.name=e.name,i&&Object.assign(a,i),a}constructor(e,t,n,r,o){super(e),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:vp.toJSONObject(this.config),code:this.code,status:this.status}}}yp.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",yp.ERR_BAD_OPTION="ERR_BAD_OPTION",yp.ECONNABORTED="ECONNABORTED",yp.ETIMEDOUT="ETIMEDOUT",yp.ERR_NETWORK="ERR_NETWORK",yp.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",yp.ERR_DEPRECATED="ERR_DEPRECATED",yp.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",yp.ERR_BAD_REQUEST="ERR_BAD_REQUEST",yp.ERR_CANCELED="ERR_CANCELED",yp.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",yp.ERR_INVALID_URL="ERR_INVALID_URL";var bp=yp;function _p(e){return vp.isPlainObject(e)||vp.isArray(e)}function Cp(e){return vp.endsWith(e,"[]")?e.slice(0,-2):e}function Sp(e,t,n){return e?e.concat(t).map(function(e,t){return e=Cp(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const wp=vp.toFlatObject(vp,{},null,function(e){return/^is[A-Z]/.test(e)});function kp(e,t,n){if(!vp.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=vp.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!vp.isUndefined(t[e])})).metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&vp.isSpecCompliantForm(t);if(!vp.isFunction(o))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(vp.isDate(e))return e.toISOString();if(vp.isBoolean(e))return e.toString();if(!l&&vp.isBlob(e))throw new bp("Blob is not supported. Use a Buffer instead.");return vp.isArrayBuffer(e)||vp.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,o){let l=e;if(e&&!o&&"object"==typeof e)if(vp.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(vp.isArray(e)&&function(e){return vp.isArray(e)&&!e.some(_p)}(e)||(vp.isFileList(e)||vp.endsWith(n,"[]"))&&(l=vp.toArray(e)))return n=Cp(n),l.forEach(function(e,r){!vp.isUndefined(e)&&null!==e&&t.append(!0===a?Sp([n],r,i):null===a?n:n+"[]",s(e))}),!1;return!!_p(e)||(t.append(Sp(o,n,i),s(e)),!1)}const c=[],d=Object.assign(wp,{defaultVisitor:u,convertValue:s,isVisitable:_p});if(!vp.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!vp.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),vp.forEach(n,function(n,i){!0===(!(vp.isUndefined(n)||null===n)&&o.call(t,n,vp.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])}),c.pop()}}(e),t}function xp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Ep(e,t){this._pairs=[],e&&kp(e,this,t)}const Fp=Ep.prototype;function Ip(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Tp(e,t,n){if(!t)return e;const r=n&&n.encode||Ip,o=vp.isFunction(n)?{serialize:n}:n,i=o&&o.serialize;let a;if(a=i?i(t,o):vp.isURLSearchParams(t)?t.toString():new Ep(t,o).toString(r),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}Fp.append=function(e,t){this._pairs.push([e,t])},Fp.toString=function(e){const t=e?function(t){return e.call(this,t,xp)}:xp;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var Pp=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){vp.forEach(this.handlers,function(t){null!==t&&e(t)})}},Rp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dp={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Ep,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Mp="undefined"!=typeof window&&"undefined"!=typeof document,Op="object"==typeof navigator&&navigator||void 0,Ap=Mp&&(!Op||["ReactNative","NativeScript","NS"].indexOf(Op.product)<0),Lp="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Np=Mp&&window.location.href||"http://localhost";var Bp={...Object.freeze({__proto__:null,hasBrowserEnv:Mp,hasStandardBrowserEnv:Ap,hasStandardBrowserWebWorkerEnv:Lp,navigator:Op,origin:Np}),...Dp};function zp(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),l=o>=e.length;if(i=!i&&vp.isArray(r)?r.length:i,l)return vp.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&vp.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&vp.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a}if(vp.isFormData(e)&&vp.isFunction(e.entries)){const n={};return vp.forEachEntry(e,(e,r)=>{t(function(e){return vp.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null}const Hp={transitional:Rp,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=vp.isObject(e);o&&vp.isHTMLForm(e)&&(e=new FormData(e));if(vp.isFormData(e))return r?JSON.stringify(zp(e)):e;if(vp.isArrayBuffer(e)||vp.isBuffer(e)||vp.isStream(e)||vp.isFile(e)||vp.isBlob(e)||vp.isReadableStream(e))return e;if(vp.isArrayBufferView(e))return e.buffer;if(vp.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return kp(e,new Bp.classes.URLSearchParams,{visitor:function(e,t,n,r){return Bp.isNode&&vp.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=vp.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return kp(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(vp.isString(e))try{return(t||JSON.parse)(e),vp.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Hp.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(vp.isResponse(e)||vp.isReadableStream(e))return e;if(e&&vp.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw bp.from(e,bp.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Bp.classes.FormData,Blob:Bp.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};vp.forEach(["delete","get","head","post","put","patch"],e=>{Hp.headers[e]={}});var Vp=Hp;const Wp=vp.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Up=Symbol("internals");function jp(e){return e&&String(e).trim().toLowerCase()}function Kp(e){return!1===e||null==e?e:vp.isArray(e)?e.map(Kp):String(e)}function qp(e,t,n,r,o){return vp.isFunction(r)?r.call(this,t,n):(o&&(t=n),vp.isString(t)?vp.isString(r)?-1!==t.indexOf(r):vp.isRegExp(r)?r.test(t):void 0:void 0)}class Gp{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=jp(t);if(!o)throw new Error("header name must be a non-empty string");const i=vp.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Kp(e))}const i=(e,t)=>vp.forEach(e,(e,n)=>o(e,n,t));if(vp.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(vp.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Wp[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(vp.isObject(e)&&vp.isIterable(e)){let n,r,o={};for(const t of e){if(!vp.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?vp.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=jp(e)){const n=vp.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(vp.isFunction(t))return t.call(this,e,n);if(vp.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=jp(e)){const n=vp.findKey(this,e);return!(!n||void 0===this[n]||t&&!qp(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=jp(e)){const o=vp.findKey(n,e);!o||t&&!qp(0,n[o],o,t)||(delete n[o],r=!0)}}return vp.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!qp(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return vp.forEach(this,(r,o)=>{const i=vp.findKey(n,o);if(i)return t[i]=Kp(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(o):String(o).trim();a!==o&&delete t[o],t[a]=Kp(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return vp.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&vp.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[Up]=this[Up]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=jp(e);t[r]||(!function(e,t){const n=vp.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})})}(n,e),t[r]=!0)}return vp.isArray(e)?e.forEach(r):r(e),this}}Gp.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),vp.reduceDescriptors(Gp.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),vp.freezeMethods(Gp);var $p=Gp;function Qp(e,t){const n=this||Vp,r=t||n,o=$p.from(r.headers);let i=r.data;return vp.forEach(e,function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Zp(e){return!(!e||!e.__CANCEL__)}var Yp=class extends bp{constructor(e,t,n){super(null==e?"canceled":e,bp.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function Jp(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new bp("Request failed with status code "+n.status,[bp.ERR_BAD_REQUEST,bp.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Xp=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(l){const s=Date.now(),u=r[a];o||(o=s),n[i]=l,r[i]=s;let c=a,d=0;for(;c!==i;)d+=n[c++],c%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),s-o<t)return;const f=u&&s-u;return f?Math.round(1e3*d/f):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const a=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),l=t-o;l>=i?a(e,t):(n=e,r||(r=setTimeout(()=>{r=null,a(n)},i-l)))},()=>n&&a(n)]}(n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,l=i-r,s=o(l);r=i;e({loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:s||void 0,estimated:s&&a&&i<=a?(a-i)/s:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},eh=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},th=e=>(...t)=>vp.asap(()=>e(...t));var nh=Bp.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Bp.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Bp.origin),Bp.navigator&&/(msie|trident)/i.test(Bp.navigator.userAgent)):()=>!0,rh=Bp.hasStandardBrowserEnv?{write(e,t,n,r,o,i,a){if("undefined"==typeof document)return;const l=[`${e}=${encodeURIComponent(t)}`];vp.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),vp.isString(r)&&l.push(`path=${r}`),vp.isString(o)&&l.push(`domain=${o}`),!0===i&&l.push("secure"),vp.isString(a)&&l.push(`SameSite=${a}`),document.cookie=l.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function oh(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const ih=e=>e instanceof $p?{...e}:e;function ah(e,t){t=t||{};const n={};function r(e,t,n,r){return vp.isPlainObject(e)&&vp.isPlainObject(t)?vp.merge.call({caseless:r},e,t):vp.isPlainObject(t)?vp.merge({},t):vp.isArray(t)?t.slice():t}function o(e,t,n,o){return vp.isUndefined(t)?vp.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!vp.isUndefined(t))return r(void 0,t)}function a(e,t){return vp.isUndefined(t)?vp.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function l(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const s={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(e,t,n)=>o(ih(e),ih(t),0,!0)};return vp.forEach(Object.keys({...e,...t}),function(r){const i=s[r]||o,a=i(e[r],t[r],r);vp.isUndefined(a)&&i!==l||(n[r]=a)}),n}var lh=e=>{const t=ah({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:l}=t;if(t.headers=a=$p.from(a),t.url=Tp(oh(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),vp.isFormData(n))if(Bp.hasStandardBrowserEnv||Bp.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(vp.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&a.set(e,n)})}if(Bp.hasStandardBrowserEnv&&(r&&vp.isFunction(r)&&(r=r(t)),r||!1!==r&&nh(t.url))){const e=o&&i&&rh.read(i);e&&a.set(o,e)}return t};var sh="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=lh(e);let o=r.data;const i=$p.from(r.headers).normalize();let a,l,s,u,c,{responseType:d,onUploadProgress:f,onDownloadProgress:p}=r;function h(){u&&u(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=$p.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Jp(function(e){t(e),h()},function(e){n(e),h()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new bp("Request aborted",bp.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){const r=t&&t.message?t.message:"Network Error",o=new bp(r,bp.ERR_NETWORK,e,m);o.event=t||null,n(o),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||Rp;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new bp(t,o.clarifyTimeoutError?bp.ETIMEDOUT:bp.ECONNABORTED,e,m)),m=null},void 0===o&&i.setContentType(null),"setRequestHeader"in m&&vp.forEach(i.toJSON(),function(e,t){m.setRequestHeader(t,e)}),vp.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),p&&([s,c]=Xp(p,!0),m.addEventListener("progress",s)),f&&m.upload&&([l,u]=Xp(f),m.upload.addEventListener("progress",l),m.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(a=t=>{m&&(n(!t||t.type?new Yp(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const v=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);v&&-1===Bp.protocols.indexOf(v)?n(new bp("Unsupported protocol "+v+":",bp.ERR_BAD_REQUEST,e)):m.send(o||null)})};var uh=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof bp?t:new Yp(t instanceof Error?t.message:t))}};let i=t&&setTimeout(()=>{i=null,o(new bp(`timeout of ${t}ms exceeded`,bp.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>e.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>vp.asap(a),l}};const ch=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},dh=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},fh=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of dh(e))yield*ch(n,t)}(e,t);let i,a=0,l=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return l(),void e.close();let i=r.byteLength;if(n){let e=a+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw l(e),e}},cancel:e=>(l(e),o.return())},{highWaterMark:2})},{isFunction:ph}=vp,hh=(({Request:e,Response:t})=>({Request:e,Response:t}))(vp.global),{ReadableStream:mh,TextEncoder:gh}=vp.global,vh=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},yh=e=>{e=vp.merge.call({skipUndefined:!0},hh,e);const{fetch:t,Request:n,Response:r}=e,o=t?ph(t):"function"==typeof fetch,i=ph(n),a=ph(r);if(!o)return!1;const l=o&&ph(mh),s=o&&("function"==typeof gh?(u=new gh,e=>u.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var u;const c=i&&l&&vh(()=>{let e=!1;const t=new n(Bp.origin,{body:new mh,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),d=a&&l&&vh(()=>vp.isReadableStream(new r("").body)),f={stream:d&&(e=>e.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!f[e]&&(f[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new bp(`Response type '${e}' is not supported`,bp.ERR_NOT_SUPPORT,n)})});const p=async(e,t)=>{const r=vp.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(vp.isBlob(e))return e.size;if(vp.isSpecCompliantForm(e)){const t=new n(Bp.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return vp.isArrayBufferView(e)||vp.isArrayBuffer(e)?e.byteLength:(vp.isURLSearchParams(e)&&(e+=""),vp.isString(e)?(await s(e)).byteLength:void 0)})(t):r};return async e=>{let{url:o,method:a,data:l,signal:s,cancelToken:u,timeout:h,onDownloadProgress:m,onUploadProgress:g,responseType:v,headers:y,withCredentials:b="same-origin",fetchOptions:_}=lh(e),C=t||fetch;v=v?(v+"").toLowerCase():"text";let S=uh([s,u&&u.toAbortSignal()],h),w=null;const k=S&&S.unsubscribe&&(()=>{S.unsubscribe()});let x;try{if(g&&c&&"get"!==a&&"head"!==a&&0!==(x=await p(y,l))){let e,t=new n(o,{method:"POST",body:l,duplex:"half"});if(vp.isFormData(l)&&(e=t.headers.get("content-type"))&&y.setContentType(e),t.body){const[e,n]=eh(x,Xp(th(g)));l=fh(t.body,65536,e,n)}}vp.isString(b)||(b=b?"include":"omit");const t=i&&"credentials"in n.prototype,s={..._,signal:S,method:a.toUpperCase(),headers:y.normalize().toJSON(),body:l,duplex:"half",credentials:t?b:void 0};w=i&&new n(o,s);let u=await(i?C(w,_):C(o,s));const h=d&&("stream"===v||"response"===v);if(d&&(m||h&&k)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=u[t]});const t=vp.toFiniteNumber(u.headers.get("content-length")),[n,o]=m&&eh(t,Xp(th(m),!0))||[];u=new r(fh(u.body,65536,n,()=>{o&&o(),k&&k()}),e)}v=v||"text";let E=await f[vp.findKey(f,v)||"text"](u,e);return!h&&k&&k(),await new Promise((t,n)=>{Jp(t,n,{data:E,headers:$p.from(u.headers),status:u.status,statusText:u.statusText,config:e,request:w})})}catch(t){if(k&&k(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new bp("Network Error",bp.ERR_NETWORK,e,w),{cause:t.cause||t});throw bp.from(t,t&&t.code,e,w)}}},bh=new Map,_h=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let a,l,s=i.length,u=bh;for(;s--;)a=i[s],l=u.get(a),void 0===l&&u.set(a,l=s?new Map:yh(t)),u=l;return l};_h();const Ch={http:null,xhr:sh,fetch:{get:_h}};vp.forEach(Ch,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const Sh=e=>`- ${e}`,wh=e=>vp.isFunction(e)||null===e||!1===e;var kh={getAdapter:function(e,t){e=vp.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let a=0;a<n;a++){let n;if(r=e[a],o=r,!wh(r)&&(o=Ch[(n=String(r)).toLowerCase()],void 0===o))throw new bp(`Unknown adapter '${n}'`);if(o&&(vp.isFunction(o)||(o=o.get(t))))break;i[n||"#"+a]=o}if(!o){const e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(Sh).join("\n"):" "+Sh(e[0]):"as no adapter specified";throw new bp("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return o},adapters:Ch};function xh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Yp(null,e)}function Eh(e){xh(e),e.headers=$p.from(e.headers),e.data=Qp.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return kh.getAdapter(e.adapter||Vp.adapter,e)(e).then(function(t){return xh(e),t.data=Qp.call(e,e.transformResponse,t),t.headers=$p.from(t.headers),t},function(t){return Zp(t)||(xh(e),t&&t.response&&(t.response.data=Qp.call(e,e.transformResponse,t.response),t.response.headers=$p.from(t.response.headers))),Promise.reject(t)})}const Fh="1.13.4",Ih={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ih[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Th={};Ih.transitional=function(e,t,n){function r(e,t){return"[Axios v"+Fh+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new bp(r(o," has been removed"+(t?" in "+t:"")),bp.ERR_DEPRECATED);return t&&!Th[o]&&(Th[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},Ih.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var Ph={assertOptions:function(e,t,n){if("object"!=typeof e)throw new bp("options must be an object",bp.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new bp("option "+i+" must be "+n,bp.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new bp("Unknown option "+i,bp.ERR_BAD_OPTION)}},validators:Ih};const Rh=Ph.validators;class Dh{constructor(e){this.defaults=e||{},this.interceptors={request:new Pp,response:new Pp}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=ah(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Ph.assertOptions(n,{silentJSONParsing:Rh.transitional(Rh.boolean),forcedJSONParsing:Rh.transitional(Rh.boolean),clarifyTimeoutError:Rh.transitional(Rh.boolean)},!1),null!=r&&(vp.isFunction(r)?t.paramsSerializer={serialize:r}:Ph.assertOptions(r,{encode:Rh.function,serialize:Rh.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Ph.assertOptions(t,{baseUrl:Rh.spelling("baseURL"),withXsrfToken:Rh.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&vp.merge(o.common,o[t.method]);o&&vp.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=$p.concat(i,o);const a=[];let l=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,a.unshift(e.fulfilled,e.rejected))});const s=[];let u;this.interceptors.response.forEach(function(e){s.push(e.fulfilled,e.rejected)});let c,d=0;if(!l){const e=[Eh.bind(this),void 0];for(e.unshift(...a),e.push(...s),c=e.length,u=Promise.resolve(t);d<c;)u=u.then(e[d++],e[d++]);return u}c=a.length;let f=t;for(;d<c;){const e=a[d++],t=a[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{u=Eh.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,c=s.length;d<c;)u=u.then(s[d++],s[d++]);return u}getUri(e){return Tp(oh((e=ah(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}vp.forEach(["delete","get","head","options"],function(e){Dh.prototype[e]=function(t,n){return this.request(ah(n||{},{method:e,url:t,data:(n||{}).data}))}}),vp.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,o){return this.request(ah(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Dh.prototype[e]=t(),Dh.prototype[e+"Form"]=t(!0)});var Mh=Dh;class Oh{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,o){n.reason||(n.reason=new Yp(e,r,o),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;const t=new Oh(function(t){e=t});return{token:t,cancel:e}}}var Ah=Oh;const Lh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Lh).forEach(([e,t])=>{Lh[t]=e});var Nh=Lh;const Bh=function e(t){const n=new Mh(t),r=Ff(Mh.prototype.request,n);return vp.extend(r,Mh.prototype,n,{allOwnKeys:!0}),vp.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(ah(t,n))},r}(Vp);Bh.Axios=Mh,Bh.CanceledError=Yp,Bh.CancelToken=Ah,Bh.isCancel=Zp,Bh.VERSION=Fh,Bh.toFormData=kp,Bh.AxiosError=bp,Bh.Cancel=Bh.CanceledError,Bh.all=function(e){return Promise.all(e)},Bh.spread=function(e){return function(t){return e.apply(null,t)}},Bh.isAxiosError=function(e){return vp.isObject(e)&&!0===e.isAxiosError},Bh.mergeConfig=ah,Bh.AxiosHeaders=$p,Bh.formToJSON=e=>zp(vp.isHTMLForm(e)?new FormData(e):e),Bh.getAdapter=kh.getAdapter,Bh.HttpStatusCode=Nh,Bh.default=Bh;var zh=Bh;const Hh=[{key:1,text:"English",data:{code:"en"}},{key:2,text:"French",data:{code:"fr"}},{key:3,text:"German",data:{code:"de"}},{key:4,text:"Italian",data:{code:"it"}},{key:5,text:"Japanese",data:{code:"ja"}},{key:6,text:"Korean",data:{code:"ko"}},{key:7,text:"Portuguese",data:{code:"pt"}},{key:8,text:"Spanish",data:{code:"es"}},{key:9,text:"Dutch",data:{code:"nl"}},{key:10,text:"Arabic",data:{code:"ar"}},{key:11,text:"Hebrew",data:{code:"he"}},{key:12,text:"Portuguese, Brazilian",data:{code:"pt-br"}},{key:13,text:"Turkish",data:{code:"tr"}},{key:14,text:"Indonesian",data:{code:"id"}},{key:15,text:"Thai",data:{code:"th"}},{key:16,text:"Vietnamese",data:{code:"vi"}},{key:17,text:"Polish",data:{code:"pl"}}],Vh={en:{formScreen:{ApplySSAS:"apply_ssas",ApplySSASDesc:"apply_ssas_desc",AppForm:"app_form",AppFormDesc:"app_from_desc",FirstName:"first_name",FirstNamePlaceholder:"first_name_placeholder",FirstNameError:"first_name_error",LastName:"last_name",LastNamePlaceholder:"last_name_placeholder",LastNameError:"last_name_error",EmailAddress:"email_address",EmailPlaceholder:"email_placeholder",EmailDesc:"email_desc",EmailError:"email_error",EmailInvalid:"email_invalid",EmailNotConnected:"email_not_connected",JobRole:"job_role",JobRolePlaceholder:"job_role_placeholder",CompanyName:"company_name",CompanyNamePlaceholder:"company_name_placeholder",CompanyNameError:"company_name_error",CompanySize:"company_size",Country:"country",CountryPlaceholder:"country_placeholder",CountryError:"country_error",AcceptTerm:"accept_term",TermCondition:"term_condition",SubmitRequest:"submit_request",ThankYou:"thank_you",ThankYouDesc:"thank_you_desc",BackToHome:"back_to_home",CompanyScore:"company_score",IsSharedMailTerm:"shared_mail_term",AcceptPrivacy:"accept_privacy",PrivacyStatementLink:"privacy_statement_link",PrivacyNotice:"privacy_notice",SelectPreferredLanguage:"select_preferred_language",ValidatingMessage:"validating_message",PartnerName:"partner_name",PartnerNamePlaceholder:"partner_name_placeholder",PartnerNameError:"partner_name_error",PartnerEmail:"partner_email",PartnerEmailPlaceholder:"partner_email_placeholder",PartnerEmailError:"partner_email_error",ByCustomer:"by_customer",ByPartner:"by_partner",HearAbout:"hear_about",HearAboutPlaceholder:"hear_about_placeholder",HearAboutError:"hear_about_error",Industry:"industry"}}},Wh="/user/add-from-partner",Uh="/user/validate",jh="/common/country-list",Kh="/app-configuration/maintenance-status",qh="/common/orgsizing-list",Gh="/common/industry-list",$h="/partner/get",Qh="/partner/get-by-guid",Zh="/localization/get";class Yh{constructor(e){this.baseUrl=e.endsWith("/")?e.slice(0,-1):e}getUrl(e){const t=this.baseUrl.includes("localhost")?"":"/api";return`${this.baseUrl}${t}${e}`}async addUser(e,t,n){return new Promise((r,o)=>{zh.post(this.getUrl(`${Wh}?partnerName=${t}&callingDomain=${n}`),e).then(t=>{t.data.isSuccess?r(e):o(t.data.error)}).catch(e=>{o(e)})})}async validateEmail(e,t){try{const n=await zh.get(this.getUrl(Uh),{params:{email:e},signal:t});if(n.data.isSuccess)return n.data.data;throw new Error(n.data.error||"Email validation failed")}catch(e){if(zh.isCancel(e))throw e;throw new Error(e.response?.data?.error||e.message||"Email validation failed")}}async getCountries(){try{const e=await zh.get(this.getUrl(jh));if(void 0!==e.data.isSuccess){if(e.data.isSuccess)return e.data.data.map(e=>({name:e.name,alpha2Code:e.alpha2Code}));throw new Error(e.data.error||"Failed to fetch countries")}if(Array.isArray(e.data))return e.data.map(e=>({name:e.name?.common||e.name,alpha2Code:e.cca2||e.alpha2Code}));throw new Error("Unexpected response format")}catch(e){throw console.error("Failed to fetch countries:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch countries")}}async checkMaintenanceStatus(){try{const e=await zh.get(this.getUrl(Kh));return!!e.data.isSuccess&&e.data.data}catch(e){return!1}}async getOrgSizes(){try{const e=await zh.get(this.getUrl(qh));if(e.data.isSuccess)return e.data.data.map(e=>({id:e.id,sizeLowerBound:e.lowerBound,sizeUpperBound:e.upperBound,sortOrder:e.sortOrder,microsoftSizingId:e.microsoftSizingId,label:void 0}));throw new Error(e.data.error||"Failed to fetch organization sizes")}catch(e){throw console.error("Failed to fetch org sizes:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch organization sizes")}}async getIndustries(){try{const e=await zh.get(this.getUrl(Gh));if(e.data.isSuccess)return e.data.data;throw new Error(e.data.error||"Failed to fetch industries")}catch(e){throw console.error("Failed to fetch industries:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch industries")}}async getPartnerByDomain(){try{let e=new URL(this.baseUrl).host;e=e.replace(/^(https?:\/\/)/,""),e=e.replace(/^www\./,"");const t=await zh.get(this.getUrl($h),{params:{domain:e}});if(t.data.isSuccess)return t.data.data;throw new Error(t.data.error||"Failed to fetch partner")}catch(e){throw console.error("Failed to fetch partner:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch partner")}}async getPartnerByGuid(e){try{const t=await zh.get(this.getUrl(Qh),{params:{guid:e}});if(t.data.isSuccess)return t.data.data;throw new Error(t.data.error||"Failed to fetch partner")}catch(e){throw console.error("Failed to fetch partner:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch partner")}}async getFormScreenLocalization(e,t){try{const n=await zh.get(this.getUrl(`${Zh}/${e}/FormScreen/${t}`));if(n.data.isSuccess)return n.data.data;throw new Error(n.data.error||"Failed to fetch localization")}catch(e){throw console.error("Failed to fetch localization:",e),new Error(e.response?.data?.error||e.message||"Failed to fetch localization")}}}var Jh=function(e,t){return Jh=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])},Jh(e,t)};function Xh(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}Jh(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var em=function(){return em=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},em.apply(this,arguments)};function tm(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function nm(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function rm(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))}"function"==typeof SuppressedError&&SuppressedError;var om={},im=void 0;try{im=window}catch(dI){}function am(e,t){if(void 0!==im){var n=im.__packages__=im.__packages__||{};if(!n[e]||!om[e])om[e]=t,(n[e]=n[e]||[]).push(t)}}am("@fluentui/set-version","6.0.0");var lm,sm="__global__",um="__shadow_dom_stylesheet__",cm={stylesheetKey:sm,inShadow:!1,window:void 0,__isShadowConfig__:!0},dm=function(e){return!(!e||!function(e){return null!==e&&"object"==typeof e&&!Array.isArray(e)}(e))&&!0===e.__isShadowConfig__};function fm(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 l=a[n];if(l&&!dm(l))if("string"==typeof l)if(l.indexOf(" ")>=0)e(l.split(" "));else{var s=i.argsFromClassName(l);s?e(s):-1===r.indexOf(l)&&r.push(l)}else Array.isArray(l)?e(l):"object"==typeof l&&o.push(l)}}(t),{classes:r,objects:o}}function pm(e){lm!==e&&(lm=e)}function hm(){return void 0===lm&&(lm="undefined"!=typeof document&&!!document.documentElement&&"rtl"===document.documentElement.getAttribute("dir")),lm}function mm(){return{rtl:hm(),shadowConfig:cm}}lm=hm();var gm,vm=0,ym=1,bm=2,_m="__stylesheet__",Cm="undefined"!=typeof navigator&&/rv:11.0/.test(navigator.userAgent),Sm={};try{Sm=window||{}}catch(nF){}var wm,km=function(){function e(e,t){var n,r,o,i,a,l;this._rules=[],this._preservedRules=[],this._counter=0,this._keyToClassName={},this._onInsertRuleCallbacks=[],this._onResetCallbacks=[],this._classNameToArgs={},this._config=em({injectionMode:"undefined"==typeof document?vm:ym,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!==(a=null==t?void 0:t.preservedRules)&&void 0!==a?a:this._preservedRules,this._rules=null!==(l=null==t?void 0:t.rules)&&void 0!==l?l:this._rules}return e.getInstance=function(t){if(gm=Sm[_m],Sm[um])return Sm[um].getInstance(t);if(!gm||gm._lastStyleElement&&gm._lastStyleElement.ownerDocument!==document){var n=(null==Sm?void 0:Sm.FabricConfig)||{},r=new e(n.mergeStyles,n.serializedStylesheet);gm=r,Sm[_m]=r}return gm},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=em(em({},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=sm);var r=this._config.injectionMode,o=r!==vm?this._getStyleElement():void 0;if(t&&this._preservedRules.push(e),o)switch(r){case ym:this._insertRuleIntoSheet(o.sheet,e);break;case bm: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;this._styleElement||(this._styleElement=this._createStyleElement(),Cm||(this._config.window||window).requestAnimationFrame(function(){e._styleElement=void 0}));return this._styleElement},e.prototype._findPlaceholderStyleTag=function(){var e=document.head;return e?e.querySelector("style[data-merge-styles]"):null},e}(),xm={};function Em(e,t){var n=e[t];"-"!==n.charAt(0)&&(e[t]=xm[n]=xm[n]||n.replace(/([A-Z])/g,"-$1").toLowerCase())}var Fm={"user-select":1};function Im(e,t){var n=function(){var e;if(!wm){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();wm=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 wm}(),r=e[t];if(Fm[r]){var o=e[t+1];Fm[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 Tm,Pm=["column-count","font-weight","flex","flex-grow","flex-shrink","fill-opacity","opacity","order","z-index","zoom"];function Rm(e,t){var n=e[t],r=e[t+1];if("number"==typeof r){var o=Pm.indexOf(n)>-1,i=n.indexOf("--")>-1,a=o||i?"":"px";e[t+1]="".concat(r).concat(a)}}var Dm="left",Mm="right",Om=((Tm={})[Dm]=Mm,Tm[Mm]=Dm,Tm),Am={"w-resize":"e-resize","sw-resize":"se-resize","nw-resize":"ne-resize"};function Lm(e,t,n){if(e.rtl){var r=t[n];if(!r)return;var o=t[n+1];if("string"==typeof o&&o.indexOf("@noflip")>=0)t[n+1]=o.replace(/\s*(?:\/\*\s*)?\@noflip\b(?:\s*\*\/)?\s*?/g,"");else if(r.indexOf(Dm)>=0)t[n]=r.replace(Dm,Mm);else if(r.indexOf(Mm)>=0)t[n]=r.replace(Mm,Dm);else if(String(o).indexOf(Dm)>=0)t[n+1]=o.replace(Dm,Mm);else if(String(o).indexOf(Mm)>=0)t[n+1]=o.replace(Mm,Dm);else if(Om[r])t[n]=Om[r];else if(Am[o])t[n+1]=Am[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[t],10);return n[0]=n[0].replace(String(r),String(-1*r)),n.join(" ")}(o,0)}}}var Nm=/\:global\((.+?)\)/g;function Bm(e){return e.indexOf(":global(")>=0||0===e.indexOf(":")}function zm(e,t){return e.indexOf(":global(")>=0?e.replace(Nm,"$1"):0===e.indexOf(":host(")?e:0===e.indexOf(":")?t+e:e.indexOf("&")<0?t+" "+e:e}function Hm(e,t,n,r,o){void 0===t&&(t={__order:[]}),0===n.indexOf("@")?Vm([r],t,n=n+"{"+e,o):n.indexOf(",")>-1?function(e){if(!Nm.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 Vm([r],t,zm(n,e),o)}):Vm([r],t,zm(n,e),o)}function Vm(e,t,n,r){void 0===t&&(t={__order:[]}),void 0===n&&(n="&");var o=t[n];o||(o={},t[n]=o,t.__order.push(n));for(var i=0,a=e;i<a.length;i++){var l=a[i];if("string"==typeof l){var s=r.argsFromClassName(l);s&&Vm(s,t,n,r)}else if(Array.isArray(l))Vm(l,t,n,r);else for(var u in l)if(l.hasOwnProperty(u)){var c=l[u];if("selectors"===u){var d=l.selectors;for(var f in d)d.hasOwnProperty(f)&&Hm(n,t,f,d[f],r)}else"object"==typeof c||Bm(u)?null!=c&&Hm(n,t,u,c,r):void 0!==c&&("margin"===u||"padding"===u?Wm(o,u,c):o[u]=c)}}return t}function Wm(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 Um(e,t){return t<=0?"":1===t?e:e+Um(e,t-1)}function jm(e,t){if(!t)return"";var n=[];for(var r in t)t.hasOwnProperty(r)&&"displayName"!==r&&void 0!==t[r]&&n.push(r,t[r]);for(var o=0;o<n.length;o+=2)Em(n,o),Rm(n,o),Lm(e,n,o),Im(n,o);for(o=1;o<n.length;o+=4)n.splice(o,1,":",n[o],";");return n.join("")}function Km(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:km.getInstance(e.shadowConfig),i=Vm(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 l=t[a];for(var s in l)l.hasOwnProperty(s)&&void 0!==l[s]&&(r=!0,n.push(s,l[s]))}return r?n.join(""):void 0}(e,i);if(a){var l={className:o.classNameFromKey(a),key:a,args:n};if(!l.className){l.className=o.getClassName(function(e){var t=e&&e["&"];return t?t.displayName:void 0}(i));for(var s=[],u=0,c=i.__order;u<c.length;u++){var d=c[u];s.push(d,jm(e,i[d]))}l.rulesToInsert=s}return l}}function qm(e,t,n,r){void 0===t&&(t=1);var o=null!=r?r:km.getInstance(n),i=e.className,a=e.key,l=e.args,s=e.rulesToInsert;if(s){for(var u=0;u<s.length;u+=2){var c=s[u+1];if(c){var d=s[u];d=d.replace(/&/g,Um(".".concat(e.className),t));var f="".concat(d,"{").concat(c,"}").concat(0===d.indexOf("@")?"}":"");o.insertRule(f)}}o.cacheClassName(i,a,l,s)}}function Gm(){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||{};dm(n[0])&&(r.shadowConfig=n[0]);r.stylesheet=km.getInstance(r.shadowConfig);var o=fm(r.stylesheet,n),i=o.classes,a=o.objects;a.length&&i.push(function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Km.apply(void 0,rm([e],t,!1));return r?(qm(r,e.specificityMultiplier,e.shadowConfig,e.stylesheet),r.className):""}(r,a));return i.join(" ")}(e,mm())}function $m(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e&&1===e.length&&e[0]&&!e[0].subComponentStyles&&!dm(e[0]))return e[0];for(var n={},r={},o=0,i=e;o<i.length;o++){var a=i[o];if(a&&!dm(a))for(var l in a)if(a.hasOwnProperty(l)){if("subComponentStyles"===l&&void 0!==a.subComponentStyles){var s=a.subComponentStyles;for(var u in s)s.hasOwnProperty(u)&&(r.hasOwnProperty(u)?r[u].push(s[u]):r[u]=[s[u]]);continue}var c=n[l],d=a[l];n[l]=void 0===c?d:rm(rm([],Array.isArray(c)?c:[c],!0),Array.isArray(d)?d:[d],!0)}}if(Object.keys(r).length>0){n.subComponentStyles={};var f=n.subComponentStyles,p=function(e){if(r.hasOwnProperty(e)){var t=r[e];f[e]=function(e){return $m.apply(void 0,t.map(function(t){return"function"==typeof t?t(e):t}))}}};for(var u in r)p(u)}return n}function Qm(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Zm(e,mm())}function Zm(e,t){var n,r={subComponentStyles:{}},o=void 0;dm(e[0])?(o=e[0],n=e[1]):n=e[0],null!=o||(o=null==t?void 0:t.shadowConfig);var i=em(em({},t),{shadowConfig:o});if(!n&&e.length<=1)return{subComponentStyles:{}};var a=km.getInstance(o);i.stylesheet=a;var l=$m.apply(void 0,e),s=[];for(var u in l)if(l.hasOwnProperty(u)){if("subComponentStyles"===u){r.subComponentStyles=l.subComponentStyles||{};continue}if("__shadowConfig__"===u)continue;var c=fm(a,l[u]),d=c.classes,f=c.objects;if(null==f?void 0:f.length)(m=Km(i||{},{displayName:u},f))&&(s.push(m),r[u]=d.concat([m.className]).join(" "));else r[u]=d.join(" ")}for(var p=0,h=s;p<h.length;p++){var m;(m=h[p])&&qm(m,null==t?void 0:t.specificityMultiplier,o)}return r}function Ym(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=[],o=0,i=t;o<i.length;o++){var a=i[o];a&&r.push("function"==typeof a?a(e):a)}return 1===r.length?r[0]:r.length?$m.apply(void 0,r):{}}function Jm(e){var t=km.getInstance(),n=jm(mm(),e);if(!t.classNameFromKey(n)){var r=t.getClassName();t.insertRule("@font-face{".concat(n,"}"),!0),t.cacheClassName(r,n,[],["font-face",n])}}function Xm(e){var t=km.getInstance(),n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r,"{",jm(mm(),e[r]),"}");var o=n.join(""),i=t.classNameFromKey(o);if(i)return i;var a=t.getClassName();return t.insertRule("@keyframes ".concat(a,"{").concat(o,"}"),!0),t.cacheClassName(a,o,[],["keyframes",o]),a}function eg(){return"undefined"!=typeof window&&!(!window.document||!window.document.createElement)}var tg=void 0;try{tg=window}catch(dI){}function ng(e){if(eg()&&void 0!==tg){var t=e;return t&&t.ownerDocument&&t.ownerDocument.defaultView?t.ownerDocument.defaultView:tg}}var rg=function(){function e(e,t){this._timeoutIds=null,this._immediateIds=null,this._intervalIds=null,this._animationFrameIds=null,this._isDisposed=!1,this._parent=e||null,this._onErrorHandler=t,this._noop=function(){}}return e.prototype.dispose=function(){var e;if(this._isDisposed=!0,this._parent=null,this._timeoutIds){for(e in this._timeoutIds)this._timeoutIds.hasOwnProperty(e)&&this.clearTimeout(parseInt(e,10));this._timeoutIds=null}if(this._immediateIds){for(e in this._immediateIds)this._immediateIds.hasOwnProperty(e)&&this.clearImmediate(parseInt(e,10));this._immediateIds=null}if(this._intervalIds){for(e in this._intervalIds)this._intervalIds.hasOwnProperty(e)&&this.clearInterval(parseInt(e,10));this._intervalIds=null}if(this._animationFrameIds){for(e in this._animationFrameIds)this._animationFrameIds.hasOwnProperty(e)&&this.cancelAnimationFrame(parseInt(e,10));this._animationFrameIds=null}},e.prototype.setTimeout=function(e,t){var n=this,r=0;return this._isDisposed||(this._timeoutIds||(this._timeoutIds={}),r=setTimeout(function(){try{n._timeoutIds&&delete n._timeoutIds[r],e.apply(n._parent)}catch(e){n._logError(e)}},t),this._timeoutIds[r]=!0),r},e.prototype.clearTimeout=function(e){this._timeoutIds&&this._timeoutIds[e]&&(clearTimeout(e),delete this._timeoutIds[e])},e.prototype.setImmediate=function(e,t){var n=this,r=0,o=ng(t);if(!this._isDisposed){this._immediateIds||(this._immediateIds={});r=o.setTimeout(function(){try{n._immediateIds&&delete n._immediateIds[r],e.apply(n._parent)}catch(e){n._logError(e)}},0),this._immediateIds[r]=!0}return r},e.prototype.clearImmediate=function(e,t){var n=ng(t);this._immediateIds&&this._immediateIds[e]&&(n.clearTimeout(e),delete this._immediateIds[e])},e.prototype.setInterval=function(e,t){var n=this,r=0;return this._isDisposed||(this._intervalIds||(this._intervalIds={}),r=setInterval(function(){try{e.apply(n._parent)}catch(e){n._logError(e)}},t),this._intervalIds[r]=!0),r},e.prototype.clearInterval=function(e){this._intervalIds&&this._intervalIds[e]&&(clearInterval(e),delete this._intervalIds[e])},e.prototype.throttle=function(e,t,n){var r=this;if(this._isDisposed)return this._noop;var o,i,a=t||0,l=!0,s=!0,u=0,c=null;n&&"boolean"==typeof n.leading&&(l=n.leading),n&&"boolean"==typeof n.trailing&&(s=n.trailing);var d=function(t){var n=Date.now(),f=n-u,p=l?a-f:a;return f>=a&&(!t||l)?(u=n,c&&(r.clearTimeout(c),c=null),o=e.apply(r._parent,i)):null===c&&s&&(c=r.setTimeout(d,p)),o};return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i=e,d(!0)}},e.prototype.debounce=function(e,t,n){var r=this;if(this._isDisposed){var o=function(){};return o.cancel=function(){},o.flush=function(){return null},o.pending=function(){return!1},o}var i,a,l=t||0,s=!1,u=!0,c=null,d=0,f=Date.now(),p=null;n&&"boolean"==typeof n.leading&&(s=n.leading),n&&"boolean"==typeof n.trailing&&(u=n.trailing),n&&"number"==typeof n.maxWait&&!isNaN(n.maxWait)&&(c=n.maxWait);var h=function(e){p&&(r.clearTimeout(p),p=null),f=e},m=function(t){h(t),i=e.apply(r._parent,a)},g=function(e){var t=Date.now(),n=!1;e&&(s&&t-d>=l&&(n=!0),d=t);var o=t-d,a=l-o,h=t-f,v=!1;return null!==c&&(h>=c&&p?v=!0:a=Math.min(a,c-h)),o>=l||v||n?m(t):null!==p&&e||!u||(p=r.setTimeout(g,a)),i},v=function(){return!!p},y=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a=e,g(!0)};return y.cancel=function(){v()&&h(Date.now())},y.flush=function(){return v()&&m(Date.now()),i},y.pending=v,y},e.prototype.requestAnimationFrame=function(e,t){var n=this,r=0,o=ng(t);if(!this._isDisposed){this._animationFrameIds||(this._animationFrameIds={});var i=function(){try{n._animationFrameIds&&delete n._animationFrameIds[r],e.apply(n._parent)}catch(e){n._logError(e)}};r=o.requestAnimationFrame?o.requestAnimationFrame(i):o.setTimeout(i,0),this._animationFrameIds[r]=!0}return r},e.prototype.cancelAnimationFrame=function(e,t){var n=ng(t);this._animationFrameIds&&this._animationFrameIds[e]&&(n.cancelAnimationFrame?n.cancelAnimationFrame(e):n.clearTimeout(e),delete this._animationFrameIds[e])},e.prototype._logError=function(e){this._onErrorHandler&&this._onErrorHandler(e)},e}();function og(e){return e&&!!e._virtual}function ig(e,t){var n,r;if(void 0===t&&(t=!0),!e)return null;var o=t&&function(e){var t;return e&&og(e)&&(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 ag(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=ig(t);if(o===e){r=!0;break}t=o}else e.contains&&(r=e.contains(t));return r}function lg(e,t,n){return null!=n||(n=document),!e||e===n.body||e instanceof Document?null:t(e)?e:lg(ig(e),t)}var sg=function(e){for(var t=e.activeElement;null==t?void 0:t.shadowRoot;)t=t.shadowRoot.activeElement;return t};var ug=function(e){var t=e.target;return t&&t.shadowRoot&&(t=e.composedPath()[0]),t},cg="data-portal-element";function dg(e,t,n){var r,o=lg(e,function(e){var n;return t===e||!!(null===(n=e.hasAttribute)||void 0===n?void 0:n.call(e,cg))},n);return null!==o&&!!(null===(r=o.hasAttribute)||void 0===r?void 0:r.call(o,cg))}function fg(e){if(eg()&&"undefined"!=typeof document){var t=e;return t&&t.ownerDocument?t.ownerDocument:document}}function pg(e,t,n,r){return gg(e,t,!0,!1,!1,n,void 0,void 0,void 0,r)}function hg(e,t,n,r){return mg(e,t,!0,!1,!0,n,void 0,void 0,r)}function mg(e,t,n,r,o,i,a,l,s){var u;if(!t||!a&&t===e)return null;var c=vg(t);if(o&&c&&(i||!_g(t)&&!Cg(t))){var d=mg(e,t.lastElementChild||s&&(null===(u=t.shadowRoot)||void 0===u?void 0:u.lastElementChild),!0,!0,!0,i,a,l,s);if(d){if(l&&bg(d,!0,s)||!l)return d;var f=mg(e,d.previousElementSibling,!0,!0,!0,i,a,l,s);if(f)return f;for(var p=d.parentElement;p&&p!==t;){var h=mg(e,p.previousElementSibling,!0,!0,!0,i,a,l,s);if(h)return h;p=p.parentElement}}}if(n&&c&&bg(t,l,s))return t;var m=mg(e,t.previousElementSibling,!0,!0,!0,i,a,l,s);return m||(r?null:mg(e,t.parentElement,!0,!1,!1,i,a,l,s))}function gg(e,t,n,r,o,i,a,l,s,u){var c;if(!t||t===e&&o&&!a)return null;var d=(s?yg:vg)(t);if(n&&d&&bg(t,l,u))return t;if(!o&&d&&(i||!_g(t)&&!Cg(t))){var f=gg(e,t.firstElementChild||u&&(null===(c=t.shadowRoot)||void 0===c?void 0:c.firstElementChild),!0,!0,!1,i,a,l,s,u);if(f)return f}if(t===e)return null;var p=gg(e,t.nextElementSibling,!0,!0,!1,i,a,l,s,u);return p||(r?null:gg(e,t.parentElement,!1,!1,!0,i,a,l,s,u))}function vg(e){if(!e||!e.getAttribute)return!1;var t=e.getAttribute("data-is-visible");return null!=t?"true"===t:0!==e.offsetHeight||null!==e.offsetParent||!0===e.isVisible}function yg(e,t){var n=null!=t?t:ng();return!!e&&vg(e)&&!e.hidden&&"hidden"!==n.getComputedStyle(e).visibility}function bg(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("data-is-focusable"):null,a=null!==o&&r>=0,l=!(!n||!e.shadowRoot)&&!!e.shadowRoot.delegatesFocus,s=!!e&&"false"!==i&&("A"===e.tagName||"BUTTON"===e.tagName||"INPUT"===e.tagName||"TEXTAREA"===e.tagName||"SELECT"===e.tagName||"true"===i||a||l);return t?-1!==r&&s:s}function _g(e){return!!(e&&e.getAttribute&&e.getAttribute("data-focuszone-id"))}function Cg(e){return!(!e||!e.getAttribute||"true"!==e.getAttribute("data-is-sub-focuszone"))}function Sg(e,t,n){return"true"!==function(e,t,n){var r=lg(e,function(e){return e.hasAttribute(t)},n);return r&&r.getAttribute(t)}(e,t,null!=n?n:fg())}var wg=void 0;function kg(e){if(e){var t=ng(e);t&&(void 0!==wg&&t.cancelAnimationFrame(wg),wg=t.requestAnimationFrame(function(){e&&e.focus(),wg=void 0}))}}function xg(e,t,n,r){return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function Eg(e,t){if(!e||!t)return!e&&!t;for(var n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||t[n]!==e[n]))return!1;for(var n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}function Fg(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Ig.apply(this,[null,e].concat(t))}function Ig(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t=t||{};for(var o=0,i=n;o<i.length;o++){var a=i[o];if(a)for(var l in a)!a.hasOwnProperty(l)||e&&!e(l)||(t[l]=a[l])}return t}var Tg,Pg=function(){function e(t){this._id=e._uniqueId++,this._parent=t,this._eventRecords=[]}return e.raise=function(t,n,r,o,i){var a,l=null!=i?i:fg();if(e._isElement(t)){if(void 0!==l&&l.createEvent){var s=l.createEvent("HTMLEvents");s.initEvent(n,o||!1,!0),Fg(s,r),a=t.dispatchEvent(s)}else if(void 0!==l&&l.createEventObject){var u=l.createEventObject(r);t.fireEvent("on"+n,u)}}else for(;t&&!1!==a;){var c=t.__events__,d=c?c[n]:null;if(d)for(var f in d)if(d.hasOwnProperty(f))for(var p=d[f],h=0;!1!==a&&h<p.length;h++){var m=p[h];m.objectCallback&&(a=m.objectCallback.call(m.parent,r))}t=o?t.parent:null}return a},e.isObserved=function(e,t){var n=e&&e.__events__;return!!n&&!!n[t]},e.isDeclared=function(e,t){var n=e&&e.__declaredEvents;return!!n&&!!n[t]},e.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},e._isElement=function(e){return!!e&&(!!e.addEventListener||"undefined"!=typeof HTMLElement&&e instanceof HTMLElement)},e.prototype.dispose=function(){this._isDisposed||(this._isDisposed=!0,this.off(),this._parent=null)},e.prototype.onAll=function(e,t,n){for(var r in t)t.hasOwnProperty(r)&&this.on(e,r,t[r],n)},e.prototype.on=function(t,n,r,o){var i=this;if(n.indexOf(",")>-1)for(var a=n.split(/[ ,]+/),l=0;l<a.length;l++)this.on(t,a[l],r,o);else{var s=this._parent,u={target:t,eventName:n,parent:s,callback:r,options:o};if((a=t.__events__=t.__events__||{})[n]=a[n]||{count:0},a[n][this._id]=a[n][this._id]||[],a[n][this._id].push(u),a[n].count++,e._isElement(t)){var c=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed){var n;try{if(!1===(n=r.apply(s,e))&&e[0]){var o=e[0];o.preventDefault&&o.preventDefault(),o.stopPropagation&&o.stopPropagation(),o.cancelBubble=!0}}catch(o){}return n}};u.elementCallback=c,t.addEventListener?t.addEventListener(n,c,o):t.attachEvent&&t.attachEvent("on"+n,c)}else{u.objectCallback=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!i._isDisposed)return r.apply(s,e)}}this._eventRecords.push(u)}},e.prototype.off=function(e,t,n,r){for(var o=0;o<this._eventRecords.length;o++){var i=this._eventRecords[o];if(!(e&&e!==i.target||t&&t!==i.eventName||n&&n!==i.callback||"boolean"==typeof r&&r!==i.options)){var a=i.target.__events__,l=a[i.eventName],s=l?l[this._id]:null;s&&(1!==s.length&&n?(l.count--,s.splice(s.indexOf(i),1)):(l.count-=s.length,delete a[i.eventName][this._id]),l.count||delete a[i.eventName]),i.elementCallback&&(i.target.removeEventListener?i.target.removeEventListener(i.eventName,i.elementCallback,i.options):i.target.detachEvent&&i.target.detachEvent("on"+i.eventName,i.elementCallback)),this._eventRecords.splice(o--,1)}}},e.prototype.raise=function(t,n,r){return e.raise(this._parent,t,n,r)},e.prototype.declare=function(e){var t=this._parent.__declaredEvents=this._parent.__declaredEvents||{};if("string"==typeof e)t[e]=!0;else for(var n=0;n<e.length;n++)t[e[n]]=!0},e._uniqueId=0,e}(),Rg=0,Dg=Gm({overflow:"hidden !important"}),Mg="data-is-scrollable",Og=function(e){e.preventDefault()};function Ag(e){for(var t=e,n=fg(e);t&&t!==n.body;){if("true"===t.getAttribute(Mg))return t;t=t.parentElement}for(t=e;t&&t!==n.body;){if("false"!==t.getAttribute(Mg)){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=ng(e)),t}function Lg(e){console&&console.warn&&console.warn(e)}function Ng(e,t,n){var r=e[n],o=t[n];(r||o)&&(e[n]=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o&&(e=o.apply(this,t)),r!==o&&(e=r.apply(this,t)),e})}function Bg(){return null}!function(e){function t(n,r){var o=e.call(this,n,r)||this;return function(e,t,n){for(var r=0,o=n.length;r<o;r++)Ng(e,t,n[r])}(o,t.prototype,["componentDidMount","shouldComponentUpdate","getSnapshotBeforeUpdate","render","componentDidUpdate","componentWillUnmount"]),o}Xh(t,e),t.prototype.componentDidUpdate=function(e,t){this._updateComponentRef(e,this.props)},t.prototype.componentDidMount=function(){this._setComponentRef(this.props.componentRef,this)},t.prototype.componentWillUnmount=function(){if(this._setComponentRef(this.props.componentRef,null),this.__disposables){for(var e=0,t=this._disposables.length;e<t;e++){var n=this.__disposables[e];n.dispose&&n.dispose()}this.__disposables=null}},Object.defineProperty(t.prototype,"className",{get:function(){if(!this.__className){var e=/function (.{1,})\(/.exec(this.constructor.toString());this.__className=e&&e.length>1?e[1]:""}return this.__className},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_disposables",{get:function(){return this.__disposables||(this.__disposables=[]),this.__disposables},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_async",{get:function(){return this.__async||(this.__async=new rg(this),this._disposables.push(this.__async)),this.__async},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_events",{get:function(){return this.__events||(this.__events=new Pg(this),this._disposables.push(this.__events)),this.__events},enumerable:!1,configurable:!0}),t.prototype._resolveRef=function(e){var t=this;return this.__resolves||(this.__resolves={}),this.__resolves[e]||(this.__resolves[e]=function(n){return t[e]=n}),this.__resolves[e]},t.prototype._updateComponentRef=function(e,t){void 0===t&&(t={}),e&&t&&e.componentRef!==t.componentRef&&(this._setComponentRef(e.componentRef,null),this._setComponentRef(t.componentRef,this))},t.prototype._warnDeprecations=function(e){this.className,this.props},t.prototype._warnMutuallyExclusive=function(e){this.className,this.props},t.prototype._warnConditionallyRequiredProps=function(e,t,n){this.className,this.props},t.prototype._setComponentRef=function(e,t){!this._skipComponentRefResolution&&e&&("function"==typeof e&&e(t),"object"==typeof e&&(e.current=t))}}(z.Component);var zg=function(e){function t(t){var n=e.call(this,t)||this;return n.state={isRendered:void 0===ng()},n}return Xh(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props.delay;this._timeoutId=window.setTimeout(function(){e.setState({isRendered:!0})},t)},t.prototype.componentWillUnmount=function(){this._timeoutId&&clearTimeout(this._timeoutId)},t.prototype.render=function(){return this.state.isRendered?z.Children.only(this.props.children):null},t.defaultProps={delay:0},t}(z.Component),Hg="__globalSettings__",Vg="__callbacks__",Wg=0,Ug=function(){function e(){}return e.getValue=function(e,t){var n=jg();return void 0===n[e]&&(n[e]="function"==typeof t?t():t),n[e]},e.setValue=function(e,t){var n=jg(),r=n[Vg],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=Kg();t||(t=e.__id__=String(Wg++)),n[t]=e},e.removeChangeListener=function(e){delete Kg()[e.__id__]},e}();function jg(){var e,t=ng()||{};return t[Hg]||(t[Hg]=((e={})[Vg]={},e)),t[Hg]}function Kg(){return jg()[Vg]}var qg=8,Gg=9,$g=13,Qg=18,Zg=27,Yg=32,Jg=33,Xg=34,ev=35,tv=36,nv=37,rv=38,ov=39,iv=40,av=function(){function e(e,t,n,r){void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=0),void 0===r&&(r=0),this.top=n,this.bottom=r,this.left=e,this.right=t}return Object.defineProperty(e.prototype,"width",{get:function(){return this.right-this.left},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.bottom-this.top},enumerable:!1,configurable:!0}),e.prototype.equals=function(e){return parseFloat(this.top.toFixed(4))===parseFloat(e.top.toFixed(4))&&parseFloat(this.bottom.toFixed(4))===parseFloat(e.bottom.toFixed(4))&&parseFloat(this.left.toFixed(4))===parseFloat(e.left.toFixed(4))&&parseFloat(this.right.toFixed(4))===parseFloat(e.right.toFixed(4))},e}();function lv(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 sv(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(function(e){return e}).join(" ").trim();return""===n?void 0:n}function uv(e,t,n){void 0===n&&(n=0);for(var r=-1,o=n;e&&o<e.length;o++)if(t(e[o],o)){r=o;break}return r}function cv(e){var t=null;try{var n=ng();t=n?n.sessionStorage.getItem(e):null}catch(e){}return t}var dv,fv="isRTL";function pv(e){if(void 0===e&&(e={}),void 0!==e.rtl)return e.rtl;if(void 0===dv){var t=cv(fv);null!==t&&function(e,t){void 0===t&&(t=!1);var n=fg();n&&n.documentElement.setAttribute("dir",e?"rtl":"ltr");t&&function(e,t){var n;try{null===(n=ng())||void 0===n||n.sessionStorage.setItem(e,t)}catch(e){}}(fv,e?"1":"0");pm(dv=e)}(dv="1"===t);var n=fg();void 0===dv&&n&&pm(dv="rtl"===(n.body&&n.body.getAttribute("dir")||n.documentElement.getAttribute("dir")))}return!!dv}var hv=0,mv=km.getInstance();mv&&mv.onReset&&mv.onReset(function(){return hv++});var gv="__retval__";function vv(e){void 0===e&&(e={});var t=new Map,n=0,r=0,o=hv;return function(i,a){var l;if(void 0===a&&(a={}),e.useStaticStyles&&"function"==typeof i&&i.__noStyleOverride__)return i(a);r++;var s=i?i.__shadowConfig__:void 0,u=s&&s.window?s.window:"__default__";t.has(u)||t.set(u,new Map);var c=t.get(u),d=a.theme,f=d&&void 0!==d.rtl?d.rtl:pv(),p=e.disableCaching;if(o!==hv&&(o=hv,t.set(u,new Map),c=t.get(u),n=0),e.disableCaching||(c=bv(t.get(u),i),c=bv(c,a)),!p&&c[gv]||(c[gv]=void 0===i?{}:Zm(["function"==typeof i?i(a):i],{shadowConfig:i.__shadowConfig__,rtl:!!f,specificityMultiplier:e.useStaticStyles?5:void 0}),p||n++),n>(e.cacheSize||50)){var h=ng();(null===(l=null==h?void 0:h.FabricConfig)||void 0===l?void 0:l.enableClassNameCacheFullWarning)&&(console.warn("Styles are being recalculated too frequently. Cache miss rate is ".concat(n,"/").concat(r,".")),console.trace()),t.get(u).clear(),n=0,e.disableCaching=!0}return c[gv]}}function yv(e,t){return t=function(e){switch(e){case void 0:return"__undefined__";case null:return"__null__";default:return e}}(t),e.has(t)||e.set(t,new Map),e.get(t)}function bv(e,t){if("function"==typeof t)if(t.__cachedInputs__)for(var n=0,r=t.__cachedInputs__;n<r.length;n++){e=yv(e,r[n])}else e=yv(e,t);else if("object"==typeof t)for(var o in t)t.hasOwnProperty(o)&&(e=yv(e,t[o]));return e}var _v=!1,Cv=0,Sv={empty:!0},wv={},kv="undefined"==typeof WeakMap?null:WeakMap;function xv(){Cv++}function Ev(e,t,n){if(void 0===t&&(t=100),void 0===n&&(n=!1),!kv)return e;if(!_v){var r=km.getInstance();r&&r.onReset&&km.getInstance().onReset(xv),_v=!0}var o,i=0,a=Cv;return function(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];var s=o;(void 0===o||a!==Cv||t>0&&i>t)&&(o=Tv(),i=0,a=Cv),s=o;for(var u=0;u<r.length;u++){var c=Iv(r[u]);s.map.has(c)||s.map.set(c,Tv()),s=s.map.get(c)}return s.hasOwnProperty("value")||(s.value=e.apply(void 0,r),i++),!n||null!==s.value&&void 0!==s.value||(s.value=e.apply(void 0,r)),s.value}}function Fv(e){if(!kv)return e;var t=new kv;return function(n){if(!n||"function"!=typeof n&&"object"!=typeof n)return e(n);if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}function Iv(e){return e?"object"==typeof e||"function"==typeof e?e:(wv[e]||(wv[e]={val:e}),wv[e]):Sv}function Tv(){return{map:kv?new kv:null}}var Pv=Fv(function(e){var t=e;return Fv(function(n){if(e===n)throw new Error("Attempted to compose a component with itself.");var r=n,o=Fv(function(e){return function(t){return z.createElement(r,em({},t,{defaultRender:e}))}});return function(e){var n=e.defaultRender;return z.createElement(t,em({},e,{defaultRender:n?o(n):r}))}})});function Rv(e,t){return Pv(e)(t)}function Dv(){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(" ")}var Mv={settings:{},scopedSettings:{},inCustomizerContext:!1},Ov=Ug.getValue("customizations",{settings:{},scopedSettings:{},inCustomizerContext:!1}),Av=[],Lv=function(){function e(){}return e.reset=function(){Ov.settings={},Ov.scopedSettings={}},e.applySettings=function(t){Ov.settings=em(em({},Ov.settings),t),e._raiseChange()},e.applyScopedSettings=function(t,n){Ov.scopedSettings[t]=em(em({},Ov.scopedSettings[t]),n),e._raiseChange()},e.getSettings=function(e,t,n){void 0===n&&(n=Mv);for(var r={},o=t&&n.scopedSettings[t]||{},i=t&&Ov.scopedSettings[t]||{},a=0,l=e;a<l.length;a++){var s=l[a];r[s]=o[s]||n.settings[s]||i[s]||Ov.settings[s]}return r},e.applyBatchedUpdates=function(t,n){e._suppressUpdates=!0;try{t()}catch(e){}e._suppressUpdates=!1,n||e._raiseChange()},e.observe=function(e){Av.push(e)},e.unobserve=function(e){Av=Av.filter(function(t){return t!==e})},e._raiseChange=function(){e._suppressUpdates||Av.forEach(function(e){return e()})},e}(),Nv=z.createContext({customizations:{inCustomizerContext:!1,settings:{},scopedSettings:{}}});function Bv(e,t){void 0===e&&(e={});var n=Hv(t)?t:function(e){return function(t){return e?em(em({},t),e):t}}(t);return n(e)}function zv(e,t){return void 0===e&&(e={}),(Hv(t)?t:function(e){void 0===e&&(e={});return function(t){var n=em({},t);for(var r in e)e.hasOwnProperty(r)&&(n[r]=em(em({},t[r]),e[r]));return n}}(t))(e)}function Hv(e){return"function"==typeof e}var Vv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onCustomizationChange=function(){return t.forceUpdate()},t}return Xh(t,e),t.prototype.componentDidMount=function(){Lv.observe(this._onCustomizationChange)},t.prototype.componentWillUnmount=function(){Lv.unobserve(this._onCustomizationChange)},t.prototype.render=function(){var e=this,t=this.props.contextTransform;return z.createElement(Nv.Consumer,null,function(n){var r=function(e,t){var n=(t||{}).customizations,r=void 0===n?{settings:{},scopedSettings:{}}:n;return{customizations:{settings:Bv(r.settings,e.settings),scopedSettings:zv(r.scopedSettings,e.scopedSettings),inCustomizerContext:!0}}}(e.props,n);return t&&(r=t(r)),z.createElement(Nv.Provider,{value:r},e.props.children)})},t}(z.Component);var Wv=function(){return!1},Uv=function(){return cm},jv=function(){return new Map},Kv=function(){},qv=z.createContext({stylesheets:new Map,useAdoptedStylesheetEx:Wv,useAdoptedStylesheet:Wv,useShadowConfig:Uv,useMergeStylesShadowRootContext:Kv,useHasMergeStylesShadowRootContext:Wv,useMergeStylesRootStylesheets:jv,useWindow:Kv,useStyled:Kv}),Gv=function(){var e=z.useContext(qv);return{useAdoptedStylesheet:e.useAdoptedStylesheet,useAdoptedStylesheetEx:e.useAdoptedStylesheetEx,useShadowConfig:e.useShadowConfig,useMergeStylesShadowRootContext:e.useMergeStylesShadowRootContext,useHasMergeStylesShadowRootContext:e.useHasMergeStylesShadowRootContext,useMergeStylesRootStylesheets:e.useMergeStylesRootStylesheets,useWindow:e.useWindow,useStyled:e.useStyled}},$v=z.createContext(void 0),Qv=function(){return z.useContext($v)},Zv=function(e){var t=e.stylesheetKey,n=e.children,r=Gv(),o=r.useAdoptedStylesheetEx,i=r.useMergeStylesRootStylesheets,a=r.useWindow,l=Qv(),s=i(),u=a();return o(sm,l,s,u),o(t,l,s,u),n(!!l)},Yv=z.createContext({window:"object"==typeof window?window:void 0}),Jv=function(){return z.useContext(Yv).window},Xv=function(){var e;return null===(e=z.useContext(Yv).window)||void 0===e?void 0:e.document},ey=Ev(function(e,t,n){return{stylesheetKey:e,inShadow:t,window:n,__isShadowConfig__:!0}}),ty=Ev(function(e,t,n){var r,o=null!==(r=null!=t?t:e)&&void 0!==r?r:{};return o.__shadowConfig__=n,o});function ny(e,t,n){return function(r){var o,i=(o=function(o){function i(e){var t=o.call(this,e)||this;return t._styleCache={},t._onSettingChanged=t._onSettingChanged.bind(t),t}return Xh(i,o),i.prototype.componentDidMount=function(){Lv.observe(this._onSettingChanged)},i.prototype.componentWillUnmount=function(){Lv.unobserve(this._onSettingChanged)},i.prototype.render=function(){var o=this;return z.createElement(Zv,{stylesheetKey:e},function(i){return z.createElement(Nv.Consumer,null,function(a){var l,s=Lv.getSettings(t,e,a.customizations),u=null!==(l=o.context.window)&&void 0!==l?l:ng(),c=ey(e,i,u),d=o.props;if(s.styles&&"function"==typeof s.styles&&(s.styles=s.styles(em(em({},s),d))),n&&s.styles){if(o._styleCache.default!==s.styles||o._styleCache.component!==d.styles){var f=$m(s.styles,d.styles);f.__shadowConfig__=c,o._styleCache.default=s.styles,o._styleCache.component=d.styles,o._styleCache.merged=f}return z.createElement(r,em({},s,d,{styles:o._styleCache.merged}))}var p=ty(s.styles,d.styles,c);return z.createElement(r,em({},s,d,{styles:p}))})})},i.prototype._onSettingChanged=function(){this.forceUpdate()},i}(z.Component),o.displayName="Customized"+e,o.contextType=Yv,o);return function(e,t){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(r,i)}}function ry(e,t){var n=function(){var e=z.useState(0),t=e[1];return function(){return t(function(e){return++e})}}(),r=z.useContext(Nv).customizations,o=r.inCustomizerContext;return z.useEffect(function(){return o||Lv.observe(n),function(){o||Lv.unobserve(n)}},[o]),Lv.getSettings(e,t,r)}function oy(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=lv(e,e[n],t[n]))}var iy="__currentId__",ay=ng()||{};void 0===ay[iy]&&(ay[iy]=0);var ly=!1;function sy(e){if(!ly){var t=km.getInstance();t&&t.onReset&&t.onReset(uy),ly=!0}return(void 0===e?"id__":e)+ay[iy]++}function uy(e){void 0===e&&(e=0),ay[iy]=e}var cy=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,l=Array.isArray(i)?i:Object.keys(i);a<l.length;a++){n[l[a]]=1}return n},dy=cy(["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"]),fy=cy(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","ref","role","style","tabIndex","title","translate","spellCheck","name"]),py=cy(fy,dy);cy(py,["form"]);var hy=cy(py,["height","loop","muted","preload","src","width"]);cy(hy,["poster"]),cy(py,["start"]),cy(py,["value"]);var my=cy(py,["download","href","hrefLang","media","rel","target","type"]),gy=cy(py,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","type","value"]),vy=cy(gy,["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"]),yy=cy(gy,["autoCapitalize","cols","dirname","form","maxLength","minLength","placeholder","readOnly","required","rows","wrap"]);cy(gy,["form","multiple","required"]),cy(py,["selected","value"]),cy(py,["cellPadding","cellSpacing"]),cy(py,["rowSpan","scope"]),cy(py,["colSpan","headers","rowSpan","scope"]),cy(py,["span"]),cy(py,["span"]),cy(py,["acceptCharset","action","encType","encType","method","noValidate","target"]),cy(py,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]);var by,_y=cy(py,["alt","crossOrigin","height","src","srcSet","useMap","width"]),Cy=py;function Sy(e,t,n){for(var r=Array.isArray(t),o={},i=0,a=Object.keys(e);i<a.length;i++){var l=a[i];!(!r&&t[l]||r&&t.indexOf(l)>=0||0===l.indexOf("data-")||0===l.indexOf("aria-"))||n&&-1!==(null==n?void 0:n.indexOf(l))||(o[l]=e[l])}return o}function wy(e){oy(e,{componentDidMount:ky,componentDidUpdate:xy,componentWillUnmount:Ey})}function ky(){Fy(this.props.componentRef,this)}function xy(e){e.componentRef!==this.props.componentRef&&(Fy(e.componentRef,null),Fy(this.props.componentRef,this))}function Ey(){Fy(this.props.componentRef,null)}function Fy(e,t){e&&("object"==typeof e?e.current=t:"function"==typeof e&&e(t))}var Iy=((by={})[rv]=1,by[iv]=1,by[nv]=1,by[ov]=1,by[tv]=1,by[ev]=1,by[Gg]=1,by[Jg]=1,by[Xg]=1,by);function Ty(e){return!!Iy[e]}var Py="ms-Fabric--isFocusVisible",Ry="ms-Fabric--isFocusHidden";function Dy(e,t){e&&(e.classList.add(t?Py:Ry),e.classList.remove(t?Ry:Py))}function My(e,t,n){var r;n?n.forEach(function(t){return Dy(t.current,e)}):Dy(null===(r=ng(t))||void 0===r?void 0:r.document.body,e)}var Oy=new WeakMap,Ay=new WeakMap;function Ly(e,t){var n,r=Oy.get(e);return n=r?r+t:1,Oy.set(e,n),n}function Ny(e){var t=Ay.get(e);if(t)return t;return t={onMouseDown:function(t){return Vy(t,e.registeredProviders)},onPointerDown:function(t){return Wy(t,e.registeredProviders)},onKeyDown:function(t){return Uy(t,e.registeredProviders)},onKeyUp:function(t){return jy(t,e.registeredProviders)}},Ay.set(e,t),t}var By=z.createContext(void 0);function zy(e){var t=z.useContext(By);z.useEffect(function(){var n,r,o,i,a=ng(null==e?void 0:e.current);if(a&&!0!==(null===(n=a.FabricConfig)||void 0===n?void 0:n.disableFocusRects)){var l,s,u,c,d=a;if((null===(r=null==t?void 0:t.providerRef)||void 0===r?void 0:r.current)&&(null===(i=null===(o=null==t?void 0:t.providerRef)||void 0===o?void 0:o.current)||void 0===i?void 0:i.addEventListener)){d=t.providerRef.current;var f=Ny(t);l=f.onMouseDown,s=f.onPointerDown,u=f.onKeyDown,c=f.onKeyUp}else l=Vy,s=Wy,u=Uy,c=jy;var p=Ly(d,1);return p<=1&&(d.addEventListener("mousedown",l,!0),d.addEventListener("pointerdown",s,!0),d.addEventListener("keydown",u,!0),d.addEventListener("keyup",c,!0)),function(){var e;a&&!0!==(null===(e=a.FabricConfig)||void 0===e?void 0:e.disableFocusRects)&&0===(p=Ly(d,-1))&&(d.removeEventListener("mousedown",l,!0),d.removeEventListener("pointerdown",s,!0),d.removeEventListener("keydown",u,!0),d.removeEventListener("keyup",c,!0))}}},[t,e])}var Hy=function(e){return zy(e.rootRef),null};function Vy(e,t){My(!1,e.target,t)}function Wy(e,t){"mouse"!==e.pointerType&&My(!1,e.target,t)}function Uy(e,t){Ty(e.which)&&My(!0,e.target,t)}function jy(e,t){Ty(e.which)&&My(!0,e.target,t)}var Ky,qy=function(e){var t=e.providerRef,n=e.layerRoot,r=z.useState([])[0],o=z.useContext(By),i=void 0!==o&&!n,a=z.useMemo(function(){return i?void 0:{providerRef:t,registeredProviders:r,registerProvider:function(e){r.push(e),null==o||o.registerProvider(e)},unregisterProvider:function(e){null==o||o.unregisterProvider(e);var t=r.indexOf(e);t>=0&&r.splice(t,1)}}},[t,r,o,i]);return z.useEffect(function(){if(a)return a.registerProvider(a.providerRef),function(){return a.unregisterProvider(a.providerRef)}},[a]),a?z.createElement(By.Provider,{value:a},e.children):z.createElement(z.Fragment,null,e.children)};var Gy="language";function $y(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++){Qy(e||{},o[r])}return e}function Qy(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:Qy(e[r]||{},o,n)}}return n.pop(),e}var Zy,Yy=function(){return!!(window&&window.navigator&&window.navigator.userAgent)&&/iPad|iPhone|iPod/i.test(window.navigator.userAgent)},Jy=["TEMPLATE","STYLE","SCRIPT"];function Xy(e){var t=fg(e);if(!t)return function(){};for(var n=[];e!==t.body&&e.parentElement;){for(var r=0,o=e.parentElement.children;r<o.length;r++){var i=o[r],a=i.getAttribute("aria-hidden");i!==e&&"true"!==(null==a?void 0:a.toLowerCase())&&-1===Jy.indexOf(i.tagName)&&n.push([i,a])}e=e.parentElement}return n.forEach(function(e){e[0].setAttribute("aria-hidden","true")}),function(){!function(e){e.forEach(function(e){var t=e[0],n=e[1];n?t.setAttribute("aria-hidden",n):t.removeAttribute("aria-hidden")})}(n),n=[]}}function eb(e){var t;if(void 0===Zy||e){var n=ng(),r=null===(t=null==n?void 0:n.navigator)||void 0===t?void 0:t.userAgent;Zy=!!r&&-1!==r.indexOf("Macintosh")}return!!Zy}var tb=Fv(function(e){return Fv(function(t){var n=Fv(function(e){return function(n){return t(n,e)}});return function(r,o){return e(r,o?n(o):t)}})});function nb(e,t){return tb(e)(t)}var rb=["theme","styles"];function ob(e,t,n,r,o){var i=(r=r||{scope:"",fields:void 0}).scope,a=r.fields,l=void 0===a?rb:a,s=z.forwardRef(function(r,o){var a=z.useRef(void 0),s=ry(l,i),u=s.styles;s.dir;var c=tm(s,["styles","dir"]),d=n?n(r):void 0,f=Gv().useStyled,p=a.current&&a.current.__cachedInputs__||[],h=r.styles;if(!a.current||u!==p[1]||h!==p[2]){var m=function(e){return Ym(e,t,u,h)};m.__cachedInputs__=[t,u,h],m.__noStyleOverride__=!u&&!h,a.current=m}return a.current.__shadowConfig__=f(i),z.createElement(e,em({ref:o},c,d,r,{styles:a.current}))});s.displayName="Styled".concat(e.displayName||e.name);var u=o?z.memo(s):s;return s.displayName&&(u.displayName=s.displayName),u}var ib=function(){var e,t=ng();return!!(null===(e=null==t?void 0:t.navigator)||void 0===e?void 0:e.userAgent)&&t.navigator.userAgent.indexOf("rv:11.0")>-1};function ab(e,t){for(var n=em({},t),r=0,o=Object.keys(e);r<o.length;r++){var i=o[r];void 0===n[i]&&(n[i]=e[i])}return n}var lb=function(e){var t={refs:[]};return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.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}(t.refs,e)||(t.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)}}}(t)),t.refs=e,t.resolver}},sb=eg()?z.useLayoutEffect:z.useEffect,ub=Ug.getValue("icons",{__options:{disableWarnings:!1,warnOnMissingIcons:!0},__remapped:{}}),cb=km.getInstance();cb&&cb.onReset&&cb.onReset(function(){for(var e in ub)ub.hasOwnProperty(e)&&ub[e].subset&&(ub[e].subset.className=void 0)});var db=function(e){return e.toLowerCase()};function fb(e,t){var n=em(em({},e),{isRegistered:!1,className:void 0}),r=e.icons;for(var o in t=t?em(em({},ub.__options),t):ub.__options,r)if(r.hasOwnProperty(o)){var i=r[o],a=db(o);ub[a]?gb(o):ub[a]={code:i,subset:n}}}function pb(e,t){ub.__remapped[db(e)]=db(t)}var hb=[],mb=void 0;function gb(e){var t=ub.__options;t.disableWarnings||(hb.push(e),void 0===mb&&(mb=setTimeout(function(){Lg("Some icons were re-registered. Applications should only call registerIcons for any given icon once. Redefining what an icon is may have unintended consequences. Duplicates include: \n"+hb.slice(0,10).join(", ")+(hb.length>10?" (+ ".concat(hb.length-10," more)"):"")),mb=void 0,hb=[]},2e3)))}function vb(e,t,n,r,o){return void 0===o&&(o=!1),function(e,t){var n="";!0===t&&(n=" /* @deprecated */");return e.listTextColor=e.listText+n,e.menuItemBackgroundChecked+=n,e.warningHighlight+=n,e.warningText=e.messageText+n,e.successText+=n,e}(yb(e,t,em({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 yb(e,t,n,r,o){var i={},a=e||{},l=a.white,s=a.black,u=a.themePrimary,c=a.themeDark,d=a.themeDarker,f=a.themeDarkAlt,p=a.themeLighter,h=a.neutralLight,m=a.neutralLighter,g=a.neutralDark,v=a.neutralQuaternary,y=a.neutralQuaternaryAlt,b=a.neutralPrimary,_=a.neutralSecondary,C=a.neutralSecondaryAlt,S=a.neutralTertiary,w=a.neutralTertiaryAlt,k=a.neutralLighterAlt,x=a.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),s&&(i.bodyTextChecked=s,i.buttonTextCheckedHovered=s),u&&(i.link=u,i.primaryButtonBackground=u,i.inputBackgroundChecked=u,i.inputIcon=u,i.inputFocusBorderAlt=u,i.menuIcon=u,i.menuHeader=u,i.accentButtonBackground=u),c&&(i.primaryButtonBackgroundPressed=c,i.inputBackgroundCheckedHovered=c,i.inputIconHovered=c),d&&(i.linkHovered=d),f&&(i.primaryButtonBackgroundHovered=f),p&&(i.inputPlaceholderBackgroundChecked=p),h&&(i.bodyBackgroundChecked=h,i.bodyFrameDivider=h,i.bodyDivider=h,i.variantBorder=h,i.buttonBackgroundCheckedHovered=h,i.buttonBackgroundPressed=h,i.listItemBackgroundChecked=h,i.listHeaderBackgroundPressed=h,i.menuItemBackgroundPressed=h,i.menuItemBackgroundChecked=h),m&&(i.bodyBackgroundHovered=m,i.buttonBackgroundHovered=m,i.buttonBackgroundDisabled=m,i.buttonBorderDisabled=m,i.primaryButtonBackgroundDisabled=m,i.disabledBackground=m,i.listItemBackgroundHovered=m,i.listHeaderBackgroundHovered=m,i.menuItemBackgroundHovered=m),v&&(i.primaryButtonTextDisabled=v,i.disabledSubtext=v),y&&(i.listItemBackgroundCheckedHovered=y),S&&(i.disabledBodyText=S,i.variantBorderHovered=(null==n?void 0:n.variantBorderHovered)||S,i.buttonTextDisabled=S,i.inputIconDisabled=S,i.disabledText=S),b&&(i.bodyText=b,i.actionLink=b,i.buttonText=b,i.inputBorderHovered=b,i.inputText=b,i.listText=b,i.menuItemText=b),k&&(i.bodyStandoutBackground=k,i.defaultStateBackground=k),g&&(i.actionLinkHovered=g,i.buttonTextHovered=g,i.buttonTextChecked=g,i.buttonTextPressed=g,i.inputTextHovered=g,i.menuItemTextHovered=g),_&&(i.bodySubtext=_,i.focusBorder=_,i.inputBorder=_,i.smallInputBorder=_,i.inputPlaceholderText=_),C&&(i.buttonBorder=C),w&&(i.disabledBodySubtext=w,i.disabledBorder=w,i.buttonBackgroundChecked=w,i.menuDivider=w),x&&(i.accentButtonBackground=x),(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),i=em(em({},i),n)}var bb,_b={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)"}(bb||(bb={}));var Cb,Sb,wb,kb,xb,Eb={elevation4:bb.depth4,elevation8:bb.depth8,elevation16:bb.depth16,elevation64:bb.depth64,roundedCorner2:"2px",roundedCorner4:"4px",roundedCorner6:"6px"},Fb={s2:"4px",s1:"8px",m:"16px",l1:"20px",l2:"32px"},Ib="cubic-bezier(.1,.9,.2,1)",Tb="cubic-bezier(.1,.25,.75,.9)",Pb="0.167s",Rb="0.267s",Db="0.367s",Mb="0.467s",Ob=Xm({from:{opacity:0},to:{opacity:1}}),Ab=Xm({from:{opacity:1},to:{opacity:0,visibility:"hidden"}}),Lb=g_(-10),Nb=g_(-20),Bb=g_(-40),zb=g_(-400),Hb=g_(10),Vb=g_(20),Wb=g_(40),Ub=g_(400),jb=v_(10),Kb=v_(20),qb=v_(-10),Gb=v_(-20),$b=y_(10),Qb=y_(20),Zb=y_(40),Yb=y_(400),Jb=y_(-10),Xb=y_(-20),e_=y_(-40),t_=y_(-400),n_=b_(-10),r_=b_(-20),o_=b_(10),i_=b_(20),a_=Xm({from:{transform:"scale3d(.98,.98,1)"},to:{transform:"scale3d(1,1,1)"}}),l_=Xm({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(.98,.98,1)"}}),s_=Xm({from:{transform:"scale3d(1.03,1.03,1)"},to:{transform:"scale3d(1,1,1)"}}),u_=Xm({from:{transform:"scale3d(1,1,1)"},to:{transform:"scale3d(1.03,1.03,1)"}}),c_=Xm({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(90deg)"}}),d_=Xm({from:{transform:"rotateZ(0deg)"},to:{transform:"rotateZ(-90deg)"}}),f_=Tb,p_=Db,h_={slideRightIn10:m_("".concat(Ob,",").concat(Lb),Db,Ib),slideRightIn20:m_("".concat(Ob,",").concat(Nb),Db,Ib),slideRightIn40:m_("".concat(Ob,",").concat(Bb),Db,Ib),slideRightIn400:m_("".concat(Ob,",").concat(zb),Db,Ib),slideLeftIn10:m_("".concat(Ob,",").concat(Hb),Db,Ib),slideLeftIn20:m_("".concat(Ob,",").concat(Vb),Db,Ib),slideLeftIn40:m_("".concat(Ob,",").concat(Wb),Db,Ib),slideLeftIn400:m_("".concat(Ob,",").concat(Ub),Db,Ib),slideUpIn10:m_("".concat(Ob,",").concat(jb),Db,Ib),slideUpIn20:m_("".concat(Ob,",").concat(Kb),Db,Ib),slideDownIn10:m_("".concat(Ob,",").concat(qb),Db,Ib),slideDownIn20:m_("".concat(Ob,",").concat(Gb),Db,Ib),slideRightOut10:m_("".concat(Ab,",").concat($b),Db,Ib),slideRightOut20:m_("".concat(Ab,",").concat(Qb),Db,Ib),slideRightOut40:m_("".concat(Ab,",").concat(Zb),Db,Ib),slideRightOut400:m_("".concat(Ab,",").concat(Yb),Db,Ib),slideLeftOut10:m_("".concat(Ab,",").concat(Jb),Db,Ib),slideLeftOut20:m_("".concat(Ab,",").concat(Xb),Db,Ib),slideLeftOut40:m_("".concat(Ab,",").concat(e_),Db,Ib),slideLeftOut400:m_("".concat(Ab,",").concat(t_),Db,Ib),slideUpOut10:m_("".concat(Ab,",").concat(n_),Db,Ib),slideUpOut20:m_("".concat(Ab,",").concat(r_),Db,Ib),slideDownOut10:m_("".concat(Ab,",").concat(o_),Db,Ib),slideDownOut20:m_("".concat(Ab,",").concat(i_),Db,Ib),scaleUpIn100:m_("".concat(Ob,",").concat(a_),Db,Ib),scaleDownIn100:m_("".concat(Ob,",").concat(s_),Db,Ib),scaleUpOut103:m_("".concat(Ab,",").concat(u_),Pb,Tb),scaleDownOut98:m_("".concat(Ab,",").concat(l_),Pb,Tb),fadeIn100:m_(Ob,Pb,Tb),fadeIn200:m_(Ob,Rb,Tb),fadeIn400:m_(Ob,Db,Tb),fadeIn500:m_(Ob,Mb,Tb),fadeOut100:m_(Ab,Pb,Tb),fadeOut200:m_(Ab,Rb,Tb),fadeOut400:m_(Ab,Db,Tb),fadeOut500:m_(Ab,Mb,Tb),rotate90deg:m_(c_,"0.1s",Tb),rotateN90deg:m_(d_,"0.1s",Tb)};function m_(e,t,n){return{animationName:e,animationDuration:t,animationTimingFunction:n,animationFillMode:"both"}}function g_(e){return Xm({from:{transform:"translate3d(".concat(e,"px,0,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function v_(e){return Xm({from:{transform:"translate3d(0,".concat(e,"px,0)"),pointerEvents:"none"},to:{transform:"translate3d(0,0,0)",pointerEvents:"auto"}})}function y_(e){return Xm({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(".concat(e,"px,0,0)")}})}function b_(e){return Xm({from:{transform:"translate3d(0,0,0)"},to:{transform:"translate3d(0,".concat(e,"px,0)")}})}!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)"}(Cb||(Cb={})),function(e){e.Arabic="'".concat(Cb.Arabic,"'"),e.ChineseSimplified="'Microsoft Yahei UI', Verdana, Simsun",e.ChineseTraditional="'Microsoft Jhenghei UI', Pmingliu",e.Cyrillic="'".concat(Cb.Cyrillic,"'"),e.EastEuropean="'".concat(Cb.EastEuropean,"'"),e.Greek="'".concat(Cb.Greek,"'"),e.Hebrew="'".concat(Cb.Hebrew,"'"),e.Hindi="'Nirmala UI'",e.Japanese="'Yu Gothic UI', 'Meiryo UI', Meiryo, 'MS Pgothic', Osaka",e.Korean="'Malgun Gothic', Gulim",e.Selawik="'".concat(Cb.Selawik,"'"),e.Thai="'Leelawadee UI Web', 'Kmer UI'",e.Vietnamese="'".concat(Cb.Vietnamese,"'"),e.WestEuropean="'".concat(Cb.WestEuropean,"'"),e.Armenian="'".concat(Cb.Armenian,"'"),e.Georgian="'".concat(Cb.Georgian,"'")}(Sb||(Sb={})),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"}(wb||(wb={})),function(e){e.light=100,e.semilight=300,e.regular=400,e.semibold=600,e.bold=700}(kb||(kb={})),function(e){e.xSmall="10px",e.small="12px",e.medium="16px",e.large="20px"}(xb||(xb={}));var __="'Segoe UI', '".concat(Cb.WestEuropean,"'"),C_={ar:Sb.Arabic,bg:Sb.Cyrillic,cs:Sb.EastEuropean,el:Sb.Greek,et:Sb.EastEuropean,he:Sb.Hebrew,hi:Sb.Hindi,hr:Sb.EastEuropean,hu:Sb.EastEuropean,ja:Sb.Japanese,kk:Sb.EastEuropean,ko:Sb.Korean,lt:Sb.EastEuropean,lv:Sb.EastEuropean,pl:Sb.EastEuropean,ru:Sb.Cyrillic,sk:Sb.EastEuropean,"sr-latn":Sb.EastEuropean,th:Sb.Thai,tr:Sb.EastEuropean,uk:Sb.Cyrillic,vi:Sb.Vietnamese,"zh-hans":Sb.ChineseSimplified,"zh-hant":Sb.ChineseTraditional,hy:Sb.Armenian,ka:Sb.Georgian};function S_(e,t,n){return{fontFamily:n,MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontSize:e,fontWeight:t}}var w_,k_,x_,E_=(w_=function(e){if(void 0===e&&(e="sessionStorage"),void 0===Ky){var t=fg(),n="localStorage"===e?function(e){var t=null;try{var n=ng();t=n?n.localStorage.getItem(e):null}catch(e){}return t}(Gy):"sessionStorage"===e?cv(Gy):void 0;n&&(Ky=n),void 0===Ky&&t&&(Ky=t.documentElement.getAttribute("lang")),void 0===Ky&&(Ky="en")}return Ky}(),k_=function(e){for(var t in C_)if(C_.hasOwnProperty(t)&&e&&0===t.indexOf(e))return C_[t];return __}(w_),x_="".concat(k_,", ").concat("'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', sans-serif"),{tiny:S_(wb.mini,kb.regular,x_),xSmall:S_(wb.xSmall,kb.regular,x_),small:S_(wb.small,kb.regular,x_),smallPlus:S_(wb.smallPlus,kb.regular,x_),medium:S_(wb.medium,kb.regular,x_),mediumPlus:S_(wb.mediumPlus,kb.regular,x_),large:S_(wb.large,kb.regular,x_),xLarge:S_(wb.xLarge,kb.semibold,x_),xLargePlus:S_(wb.xLargePlus,kb.semibold,x_),xxLarge:S_(wb.xxLarge,kb.semibold,x_),xxLargePlus:S_(wb.xxLargePlus,kb.semibold,x_),superLarge:S_(wb.superLarge,kb.semibold,x_),mega:S_(wb.mega,kb.semibold,x_)});function F_(e,t,n,r){Jm({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 I_(e,t,n,r,o){void 0===r&&(r="segoeui");var i="".concat(e,"/").concat(n,"/").concat(r);F_(t,i+"-light",kb.light,o&&o+" Light"),F_(t,i+"-semilight",kb.semilight,o&&o+" SemiLight"),F_(t,i+"-regular",kb.regular,o),F_(t,i+"-semibold",kb.semibold,o&&o+" SemiBold"),F_(t,i+"-bold",kb.bold,o&&o+" Bold")}function T_(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=$y({},e,t,{semanticColors:yb(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,l=Object.keys(i.fonts);a<l.length;a++){var s=l[a];i.fonts[s]=$y(i.fonts[s],t.defaultFontStyle,null===(o=null==t?void 0:t.fonts)||void 0===o?void 0:o[s])}return i}({palette:_b,effects:Eb,fonts:E_,spacing:Fb,isInverted:n,disableGlobalClassNames:!1,semanticColors:vb(_b,Eb,void 0,n,t),rtl:void 0},e)}!function(e){if(e){var t="".concat(e,"/fonts");I_(t,Cb.Thai,"leelawadeeui-thai","leelawadeeui"),I_(t,Cb.Arabic,"segoeui-arabic"),I_(t,Cb.Cyrillic,"segoeui-cyrillic"),I_(t,Cb.EastEuropean,"segoeui-easteuropean"),I_(t,Cb.Greek,"segoeui-greek"),I_(t,Cb.Hebrew,"segoeui-hebrew"),I_(t,Cb.Vietnamese,"segoeui-vietnamese"),I_(t,Cb.WestEuropean,"segoeui-westeuropean","segoeui","Segoe UI"),I_(t,Sb.Selawik,"selawik","selawik"),I_(t,Cb.Armenian,"segoeui-armenian"),I_(t,Cb.Georgian,"segoeui-georgian"),F_("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-semilight"),kb.light),F_("Leelawadee UI Web","".concat(t,"/leelawadeeui-thai/leelawadeeui-bold"),kb.semibold)}}(function(){var e,t,n=null===(e=ng())||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 P_,R_="@media screen and (-ms-high-contrast: active), screen and (forced-colors: active)",D_=480,M_=1366;function O_(e,t){var n="number"==typeof e?" and (min-width: ".concat(e,"px)"):"",r="number"==typeof t?" and (max-width: ".concat(t,"px)"):"";return"@media only screen".concat(n).concat(r)}function A_(e,t,n,r,o,i,a,l){return L_(e,"number"!=typeof t&&t?t:{inset:t,position:n,highContrastStyle:r,borderColor:o,outlineColor:i,isFocusedOnly:a,borderRadius:l})}function L_(e,t){var n,r;void 0===t&&(t={});var o=t.borderRadius,i=t.inset,a=void 0===i?0:i,l=t.width,s=void 0===l?1:l,u=t.position,c=void 0===u?"relative":u,d=t.highContrastStyle,f=t.borderColor,p=void 0===f?e.palette.white:f,h=t.outlineColor,m=void 0===h?e.palette.neutralSecondary:h,g=t.isFocusedOnly,v=void 0===g||g,y=t.pointerEvents;return{outline:"transparent",position:c,selectors:(n={"::-moz-focus-inner":{border:"0"}},n[".".concat(Py," &").concat(v?":focus":"",":after, :host(.").concat(Py,") &").concat(v?":focus":"",":after")]={content:'""',position:"absolute",pointerEvents:y,left:a+1,top:a+1,bottom:a+1,right:a+1,border:"".concat(s,"px solid ").concat(p),outline:"".concat(s,"px solid ").concat(m),zIndex:P_.FocusStyle,borderRadius:o,selectors:(r={},r[R_]=d,r)},n)}}!function(e){e.Nav=1,e.ScrollablePane=1,e.FocusStyle=1,e.Coachmark=1e3,e.Layer=1e6,e.KeytipLayer=1000001}(P_||(P_={}));var N_=function(e,t,n,r){var o,i,a;void 0===n&&(n="border"),void 0===r&&(r=-1);var l="borderBottom"===n;return{borderColor:e,selectors:{":after":(o={pointerEvents:"none",content:"''",position:"absolute",left:l?0:r,top:r,bottom:r,right:l?0:r},o[n]="2px solid ".concat(e),o.borderRadius=t,o.width="borderBottom"===n?"100%":void 0,o.selectors=(i={},i[R_]=(a={},a["border"===n?"borderColor":"borderBottomColor"]="Highlight",a),i),o)}}},B_={position:"absolute",width:1,height:1,margin:-1,padding:0,border:0,overflow:"hidden",whiteSpace:"nowrap"},z_=Ev(function(e,t){var n=km.getInstance();return t?Object.keys(e).reduce(function(t,r){return t[r]=n.getClassName(e[r]),t},{}):e});function H_(e,t,n){return z_(e,void 0!==n?n:t.disableGlobalClassNames)}var V_=function(){return V_=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},V_.apply(this,arguments)},W_="undefined"==typeof window?global:window,U_=W_&&W_.CSPSettings&&W_.CSPSettings.nonce,j_=function(){var e=W_.__themeState__||{theme:void 0,lastStyleElement:void 0,registeredStyles:[]};e.runState||(e=V_(V_({},e),{perf:{count:0,duration:0},runState:{flushTimer:0,mode:0,buffer:[]}}));e.registeredThemableStyles||(e=V_(V_({},e),{registeredThemableStyles:[]}));return W_.__themeState__=e,e}();function K_(e,t){j_.loadStyles?j_.loadStyles($_(e).styleString,e):function(e){if("undefined"==typeof document)return;var t=document.getElementsByTagName("head")[0],n=document.createElement("style"),r=$_(e),o=r.styleString,i=r.themable;n.setAttribute("data-load-themed-styles","true"),U_&&n.setAttribute("nonce",U_);n.appendChild(document.createTextNode(o)),j_.perf.count++,t.appendChild(n);var a=document.createEvent("HTMLEvents");a.initEvent("styleinsert",!0,!1),a.args={newStyle:n},document.dispatchEvent(a);var l={styleElement:n,themableStyle:e};i?j_.registeredThemableStyles.push(l):j_.registeredStyles.push(l)}(e)}function q_(e){j_.theme=e,function(){if(j_.theme){for(var e=[],t=0,n=j_.registeredThemableStyles;t<n.length;t++){var r=n[t];e.push(r.themableStyle)}e.length>0&&(!function(e){void 0===e&&(e=3);3!==e&&2!==e||(G_(j_.registeredStyles),j_.registeredStyles=[]);3!==e&&1!==e||(G_(j_.registeredThemableStyles),j_.registeredThemableStyles=[])}(1),K_([].concat.apply([],e)))}}()}function G_(e){e.forEach(function(e){var t=e&&e.styleElement;t&&t.parentElement&&t.parentElement.removeChild(t)})}function $_(e){var t=j_.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 "'.concat(r,'". Falling back to "').concat(i,'".')),o||i}return e.rawString}).join(""),themable:n}}var Q_=T_({}),Z_=[],Y_="theme";function J_(){var e,t,n,r=ng();(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);Q_=T_(e,t),q_(em(em(em(em({},Q_.palette),Q_.semanticColors),Q_.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,l=Object.keys(i);a<l.length;a++){var s=l[a],u=o+s.charAt(0).toUpperCase()+s.slice(1),c=i[s];"fontSize"===s&&"number"==typeof c&&(c+="px"),t[u]=c}return t}(Q_))),Lv.applySettings((n={},n[Y_]=Q_,n)),Z_.forEach(function(e){try{e(Q_)}catch(e){}})}(r.FabricConfig.legacyTheme):Lv.getSettings([Y_]).theme||((null===(n=null==r?void 0:r.FabricConfig)||void 0===n?void 0:n.theme)&&(Q_=T_(r.FabricConfig.theme)),Lv.applySettings(((e={})[Y_]=Q_,e)))}J_();var X_={boxShadow:"none",margin:0,padding:0,boxSizing:"border-box"};function eC(e){return{selectors:{"::placeholder":e,":-ms-input-placeholder":e,"::-ms-input-placeholder":e}}}var tC=function(e){var t={},n=function(n){var r;e.hasOwnProperty(n)&&Object.defineProperty(t,n,{get:function(){return void 0===r&&(r=Gm(e[n]).toString()),r},enumerable:!0,configurable:!0})};for(var r in e)n(r);return t}(h_);am("@fluentui/style-utilities","8.14.0"),J_();var nC,rC,oC,iC=0,aC=1,lC=2,sC=3,uC=4,cC=5,dC=6,fC=7,pC=8,hC=9,mC=10,gC=11,vC=12,yC=13;function bC(e,t,n){return{targetEdge:e,alignmentEdge:t,isAuto:n}}!function(e){e[e.top=1]="top",e[e.bottom=-1]="bottom",e[e.left=2]="left",e[e.right=-2]="right"}(nC||(nC={})),function(e){e[e.top=0]="top",e[e.bottom=1]="bottom",e[e.start=2]="start",e[e.end=3]="end"}(rC||(rC={}));var _C=((oC={})[iC]=bC(nC.top,nC.left),oC[aC]=bC(nC.top),oC[lC]=bC(nC.top,nC.right),oC[sC]=bC(nC.top,void 0,!0),oC[uC]=bC(nC.bottom,nC.left),oC[cC]=bC(nC.bottom),oC[dC]=bC(nC.bottom,nC.right),oC[fC]=bC(nC.bottom,void 0,!0),oC[pC]=bC(nC.left,nC.top),oC[hC]=bC(nC.left),oC[mC]=bC(nC.left,nC.bottom),oC[gC]=bC(nC.right,nC.top),oC[vC]=bC(nC.right),oC[yC]=bC(nC.right,nC.bottom),oC);function CC(e,t){return!(e.top<t.top)&&(!(e.bottom>t.bottom)&&(!(e.left<t.left)&&!(e.right>t.right)))}function SC(e,t){var n=[];return e.top<t.top&&n.push(nC.top),e.bottom>t.bottom&&n.push(nC.bottom),e.left<t.left&&n.push(nC.left),e.right>t.right&&n.push(nC.right),n}function wC(e,t){return e[nC[t]]}function kC(e,t,n){return e[nC[t]]=n,e}function xC(e,t){var n=BC(t);return(wC(e,n.positiveEdge)+wC(e,n.negativeEdge))/2}function EC(e,t){return e>0?t:-1*t}function FC(e,t){return EC(e,wC(t,e))}function IC(e,t,n){return EC(n,wC(e,n)-wC(t,n))}function TC(e,t,n,r){void 0===r&&(r=!0);var o=wC(e,t)-n,i=kC(e,t,n);return r&&(i=kC(e,-1*t,wC(e,-1*t)-o)),i}function PC(e,t,n,r){return void 0===r&&(r=0),TC(e,n,wC(t,n)+EC(n,r))}function RC(e,t,n){return FC(n,e)>FC(n,t)}function DC(e,t){for(var n=0,r=0,o=SC(e,t);r<o.length;r++){var i=o[r];n+=Math.pow(IC(e,t,i),2)}return n}function MC(e,t,n,r){return void 0===r&&(r=200),(n===nC.bottom||n===nC.top)&&IC(e,t,n)>=r}function OC(e,t,n,r,o,i,a,l,s){void 0===o&&(o=!1),void 0===a&&(a=0);var u=r.alignmentEdge,c=r.alignTargetEdge,d={elementRectangle:e,targetEdge:r.targetEdge,alignmentEdge:u};l||s||(d=function(e,t,n,r,o,i,a){void 0===o&&(o=!1),void 0===a&&(a=0);var l=[nC.left,nC.right,nC.bottom,nC.top];pv()&&(l[0]*=-1,l[1]*=-1);for(var s,u=e,c=r.targetEdge,d=r.alignmentEdge,f=c,p=d,h=0;h<4;h++){if(RC(u,n,c))return{elementRectangle:u,targetEdge:c,alignmentEdge:d};if(o&&MC(t,n,c,i)){switch(c){case nC.bottom:u.bottom=n.bottom;break;case nC.top:u.top=n.top}return{elementRectangle:u,targetEdge:c,alignmentEdge:d,forcedInBounds:!0}}var m=DC(u,n);(!s||m<s)&&(s=m,f=c,p=d),l.splice(l.indexOf(c),1),l.length>0&&(l.indexOf(-1*c)>-1?c*=-1:(d=c,c=l.slice(-1)[0]),u=NC(e,t,{targetEdge:c,alignmentEdge:d},a))}return{elementRectangle:u=NC(e,t,{targetEdge:f,alignmentEdge:p},a),targetEdge:f,alignmentEdge:p}}(e,t,n,r,o,i,a));var f=SC(d.elementRectangle,n),p=l?-d.targetEdge:void 0;if(f.length>0)if(c)if(d.alignmentEdge&&f.indexOf(-1*d.alignmentEdge)>-1){var h=function(e,t,n,r){var o=e.alignmentEdge,i=e.targetEdge,a=-1*o;return{elementRectangle:NC(e.elementRectangle,t,{targetEdge:i,alignmentEdge:a},n,r),targetEdge:i,alignmentEdge:a}}(d,t,a,s);if(CC(h.elementRectangle,n))return h;d=AC(SC(h.elementRectangle,n),d,n,p)}else d=AC(f,d,n,p);else d=AC(f,d,n,p);return d}function AC(e,t,n,r){for(var o=0,i=e;o<i.length;o++){var a=i[o],l=void 0;if(r&&r===-1*a)l=TC(t.elementRectangle,a,wC(n,a),!1),t.forcedInBounds=!0;else RC(l=PC(t.elementRectangle,n,a),n,-1*a)||(l=TC(l,-1*a,wC(n,-1*a),!1),t.forcedInBounds=!0);t.elementRectangle=l}return t}function LC(e,t,n){var r=BC(t).positiveEdge;return TC(e,r,n-(xC(e,t)-wC(e,r)))}function NC(e,t,n,r,o){void 0===r&&(r=0);var i=new av(e.left,e.right,e.top,e.bottom),a=n.alignmentEdge,l=n.targetEdge,s=o?l:-1*l;(i=o?PC(i,t,l,r):function(e,t,n,r){void 0===r&&(r=0);var o=EC(-1*n,r);return TC(e,-1*n,wC(t,n)+o)}(i,t,l,r),a)?i=PC(i,t,a):i=LC(i,s,xC(t,l));return i}function BC(e){return e===nC.top||e===nC.bottom?{positiveEdge:nC.left,negativeEdge:nC.right}:{positiveEdge:nC.top,negativeEdge:nC.bottom}}function zC(e,t,n){return n&&Math.abs(IC(e,n,t))>Math.abs(IC(e,n,-1*t))?-1*t:t}function HC(e,t,n,r,o,i,a,l){var s,u={},c=WC(t),d=i?n:-1*n,f=o||BC(n).positiveEdge;return a&&!function(e,t,n){return void 0!==n&&wC(e,t)===wC(n,t)}(e,(s=f,-1*s),r)||(f=zC(e,f,r)),u[nC[d]]=IC(e,c,d),u[nC[f]]=IC(e,c,f),l&&(u[nC[-1*d]]=IC(e,c,-1*d),u[nC[-1*f]]=IC(e,c,-1*f)),u}function VC(e,t,n){var r=xC(t,e),o=xC(n,e),i=BC(e),a=i.positiveEdge,l=i.negativeEdge;return r<=o?a:l}function WC(e){var t=e.getBoundingClientRect();return new av(t.left,t.right,t.top,t.bottom)}function UC(e,t,n,r,o,i){void 0===o&&(o=!1);var a=e.gapSpace?e.gapSpace:0,l=function(e,t){var n;if(t){if(t.preventDefault){var r=t;n=new av(r.clientX,r.clientX,r.clientY,r.clientY)}else if(t.getBoundingClientRect)n=WC(t);else{var o=t,i=o.left||o.x,a=o.top||o.y,l=o.right||i,s=o.bottom||a;n=new av(i,l,a,s)}if(!CC(n,e))for(var u=0,c=SC(n,e);u<c.length;u++){var d=c[u];n[nC[d]]=e[nC[d]]}}else n=new av(0,0,0,0);return n}(n,e.target),s=function(e,t,n,r,o){return e.isAuto&&(e.alignmentEdge=VC(e.targetEdge,t,n)),e.alignTargetEdge=o,e}(function(e,t,n){if(void 0===e&&(e=fC),n)return{alignmentEdge:n.alignmentEdge,isAuto:n.isAuto,targetEdge:n.targetEdge};var r=em({},_C[e]);return pv()?(r.alignmentEdge&&r.alignmentEdge%2==0&&(r.alignmentEdge=-1*r.alignmentEdge),void 0!==t?_C[t]:r):r}(e.directionalHint,e.directionalHintForRTL,r),l,n,e.coverTarget,e.alignTargetEdge),u=function(e,t,n,r,o,i,a,l,s){void 0===i&&(i=!1);var u=NC(e,t,r,o,s);return CC(u,n)?{elementRectangle:u,targetEdge:r.targetEdge,alignmentEdge:r.alignmentEdge}:OC(u,t,n,r,i,a,o,l,s)}(WC(t),l,n,s,a,o,i,e.directionalHintFixed,e.coverTarget);return em(em({},u),{targetRectangle:l})}function jC(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=0),function(e){return Math.sqrt(e*e*2)}(e?t:0)/2+n}function KC(e,t,n,r,o,i,a,l){void 0===o&&(o=!1);var s=null!=l?l:ng(),u=e.isBeakVisible&&e.beakWidth||0,c=jC(e.isBeakVisible,e.beakWidth,e.gapSpace),d=e;d.gapSpace=c;var f,p,h,m,g,v,y,b,_,C=e.bounds?(f=e.bounds,new av(f.left,f.right,f.top,f.bottom)):new av(0,s.innerWidth-function(e){if(void 0===Tg){var t=null!=e?e:fg(),n=t.createElement("div");n.style.setProperty("width","100px"),n.style.setProperty("height","100px"),n.style.setProperty("overflow","scroll"),n.style.setProperty("position","absolute"),n.style.setProperty("top","-9999px"),t.body.appendChild(n),Tg=n.offsetWidth-n.clientWidth,t.body.removeChild(n)}return Tg}(),0,s.innerHeight),S=UC(d,n,C,r,o,i),w=function(e,t){var n=t.targetRectangle,r=BC(t.targetEdge),o=r.positiveEdge,i=r.negativeEdge,a=xC(n,t.targetEdge),l=new av(e/2,t.elementRectangle.width-e/2,e/2,t.elementRectangle.height-e/2),s=new av(0,e,0,e);return RC(s=LC(s=TC(s,-1*t.targetEdge,-e/2),-1*t.targetEdge,a-FC(o,t.elementRectangle)),l,o)?RC(s,l,i)||(s=PC(s,l,i)):s=PC(s,l,o),s}(u,S),k=(h=w,m=C,g=-1*(p=S).targetEdge,v=new av(0,p.elementRectangle.width,0,p.elementRectangle.height),y={},b=zC(p.elementRectangle,p.alignmentEdge?p.alignmentEdge:BC(g).positiveEdge,m),_=IC(p.elementRectangle,p.targetRectangle,g)>Math.abs(wC(h,g)),y[nC[g]]=wC(h,g),y[nC[b]]=IC(h,v,b),{elementPosition:em({},y),closestEdge:VC(p.targetEdge,h,v),targetEdge:g,hideBeak:!_});return em(em({},function(e,t,n,r,o){return{elementPosition:HC(e.elementRectangle,t,e.targetEdge,n,e.alignmentEdge,r,o,e.forcedInBounds),targetEdge:e.targetEdge,alignmentEdge:e.alignmentEdge}}(S,t,C,e.coverTarget,a)),{beakPosition:k})}function qC(e,t,n,r,o){return function(e,t,n,r,o){return KC(e,t,n,r,!1,void 0,!0,null!=o?o:ng())}(e,t,n,r,o)}function GC(e){return function(e){var t,n,r,o,i=e,a=e,l=e,s=null!==(t=l.left)&&void 0!==t?t:l.x,u=null!==(n=l.top)&&void 0!==n?n:l.y,c=null!==(r=l.right)&&void 0!==r?r:s,d=null!==(o=l.bottom)&&void 0!==o?o:u;return i.stopPropagation?new av(i.clientX,i.clientX,i.clientY,i.clientY):void 0!==s&&void 0!==u?new av(s,c,u,d):WC(a)}(e)}function $C(){var e=z.useRef(void 0);return e.current||(e.current=new rg),z.useEffect(function(){return function(){var t;null===(t=e.current)||void 0===t||t.dispose(),e.current=void 0}},[]),e.current}function QC(e){var t=z.useRef(void 0);return void 0===t.current&&(t.current={value:"function"==typeof e?e():e}),t.current.value}function ZC(e,t,n){var r=z.useState(t),o=r[0],i=r[1],a=QC(void 0!==e),l=a?e:o,s=z.useRef(l),u=z.useRef(n);z.useEffect(function(){s.current=l,u.current=n});var c=QC(function(){return function(e,t){var n="function"==typeof e?e(s.current):e;u.current&&u.current(t,n),a||i(n)}});return[l,c]}function YC(e){var t=z.useRef(function(){throw new Error("Cannot call an event handler while rendering")});return sb(function(){t.current=e},[e]),QC(function(){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.current.apply(void 0,e)}})}function JC(e,t){var n=z.useRef(t);return n.current||(n.current=sy(e)),n.current}function XC(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=z.useCallback(function(t){n.current=t;for(var r=0,o=e;r<o.length;r++){var i=o[r];"function"==typeof i?i(t):i&&(i.current=t)}},rm([],e,!0));return n}function eS(e,t,n,r){var o=z.useRef(n);o.current=n,z.useEffect(function(){var n=e&&"current"in e?e.current:e;if(n&&n.addEventListener)return xg(n,t,function(e){return o.current(e)},r)},[e,t,r])}function tS(e){var t=z.useRef(void 0);return z.useEffect(function(){t.current=e}),t.current}function nS(e,t){var n,r,o,i=z.useRef(void 0),a=z.useRef(null),l=Jv();if(!e||e!==i.current||"string"==typeof e){var s=null==t?void 0:t.current;if(e)if("string"==typeof e)if(null===(n=null==s?void 0:s.getRootNode())||void 0===n?void 0:n.host)a.current=null!==(o=null===(r=null==s?void 0:s.getRootNode())||void 0===r?void 0:r.querySelector(e))&&void 0!==o?o:null;else{var u=fg(s);a.current=u?u.querySelector(e):null}else a.current="stopPropagation"in e||"getBoundingClientRect"in e?e:"current"in e?e.current:e;i.current=e}return[a,l]}function rS(e){var t=e.originalElement,n=e.containsFocus;t&&n&&t!==ng()&&setTimeout(function(){var e;null===(e=t.focus)||void 0===e||e.call(t)},0)}function oS(e,t){var n=e.onRestoreFocus,r=void 0===n?rS:n,o=z.useRef(void 0),i=z.useRef(!1);z.useEffect(function(){var e,n,a;return o.current=fg().activeElement,e=t.current,n=fg(e),(a=n&&n.activeElement)&&ag(e,a)&&(i.current=!0),function(){var e;null==r||r({originalElement:o.current,containsFocus:i.current,documentContainsFocus:(null===(e=fg())||void 0===e?void 0:e.hasFocus())||!1}),o.current=void 0}},[]),eS(t,"focus",z.useCallback(function(){i.current=!0},[]),!0),eS(t,"blur",z.useCallback(function(e){t.current&&e.relatedTarget&&!t.current.contains(e.relatedTarget)&&(i.current=!1)},[]),!0)}var iS=z.forwardRef(function(e,t){var n=ab({shouldRestoreFocus:!0,enableAriaHiddenSiblings:!0},e),r=z.useRef(void 0),o=XC(r,t);!function(e,t){var n="true"===String(e["aria-modal"]).toLowerCase()&&e.enableAriaHiddenSiblings;z.useEffect(function(){if(n&&t.current)return Xy(t.current)},[t,n])}(n,r),oS(n,r);var i=n.role,a=n.className,l=n.ariaLabel,s=n.ariaLabelledBy,u=n.ariaDescribedBy,c=n.style,d=n.children,f=n.onDismiss,p=function(e,t){var n=$C(),r=z.useState(!1),o=r[0],i=r[1];return z.useEffect(function(){return n.requestAnimationFrame(function(){var n;if(!e.style||!e.style.overflowY){var r=!1;if(t&&t.current&&(null===(n=t.current)||void 0===n?void 0:n.firstElementChild)){var a=t.current.clientHeight,l=t.current.firstElementChild.clientHeight;a>0&&l>a&&(r=l-a>1)}o!==r&&i(r)}}),function(){return n.dispose()}}),o}(n,r),h=z.useCallback(function(e){if(e.which===Zg)f&&(f(e),e.preventDefault(),e.stopPropagation())},[f]);return eS(Jv(),"keydown",h),z.createElement("div",em({ref:o},Sy(n,Cy),{className:a,role:i,"aria-label":l,"aria-labelledby":s,"aria-describedby":u,onKeyDown:h,style:em({overflowY:p?"scroll":void 0,outline:"none"},c)}),d)});iS.displayName="Popup";var aS,lS=function(){var e;return null!==(e=Jv())&&void 0!==e?e:"undefined"!=typeof window?window:void 0},sS=function(e){var t,n;return null!==(n=null===(t=null==e?void 0:e.window)||void 0===t?void 0:t.document)&&void 0!==n?n:"undefined"!=typeof document?document:void 0},uS=function(e){var t;return null!==(t=null==e?void 0:e.window)&&void 0!==t?t:"undefined"!=typeof window?window:void 0},cS=((aS={})[nC.top]=tC.slideUpIn10,aS[nC.bottom]=tC.slideDownIn10,aS[nC.left]=tC.slideLeftIn10,aS[nC.right]=tC.slideRightIn10,aS),dS=0,fS=0,pS={opacity:0,filter:"opacity(0)",pointerEvents:"none"},hS=["role","aria-roledescription"],mS={preventDismissOnLostFocus:!1,preventDismissOnScroll:!1,preventDismissOnResize:!1,isBeakVisible:!0,beakWidth:16,gapSpace:0,minPagePadding:8,directionalHint:fC},gS=vv({disableCaching:!0});function vS(e,t,n,r){var o,i=e.calloutMaxHeight,a=e.finalHeight,l=e.directionalHint,s=e.directionalHintFixed,u=e.hidden,c=e.gapSpace,d=e.beakWidth,f=e.isBeakVisible,p=e.coverTarget,h=z.useState(),m=h[0],g=h[1],v=null!==(o=null==r?void 0:r.elementPosition)&&void 0!==o?o:{},y=v.top,b=v.bottom,_=(null==n?void 0:n.current)?GC(n.current):void 0;return z.useEffect(function(){var e,n,o=null!==(e=t())&&void 0!==e?e:{},a=o.top,l=o.bottom;(null==r?void 0:r.targetEdge)===nC.top&&(null==_?void 0:_.top)&&!p&&(l=_.top-function(e,t,n){return jC(e,t,n)}(f,d,c)),"number"==typeof y&&l?n=l-y:"number"==typeof b&&"number"==typeof a&&l&&(n=l-a-b),g(!i&&!u||i&&n&&i>n?n:i||void 0)},[b,i,a,l,s,t,u,r,y,c,d,f,_,p]),m}function yS(e,t,n,r,o,i){var a,l=z.useState(),s=l[0],u=l[1],c=z.useRef(0),d=z.useRef(void 0),f=$C(),p=e.hidden,h=e.target,m=e.finalHeight,g=e.calloutMaxHeight,v=e.onPositioned,y=e.directionalHint,b=e.hideOverflow,_=e.preferScrollResizePositioning,C=lS(),S=z.useRef(void 0);S.current!==i.current&&(S.current=i.current,a=i.current?null==C?void 0:C.getComputedStyle(i.current):void 0);var w=null==a?void 0:a.overflowY;return z.useEffect(function(){if(!p){var i=f.requestAnimationFrame(function(){var i,a,l,f;if(t.current&&n){var p=em(em({},e),{target:r.current,bounds:o()}),y=n.cloneNode(!0);y.style.maxHeight=g?"".concat(g):"",y.style.visibility="hidden",null===(i=n.parentElement)||void 0===i||i.appendChild(y);var S=d.current===h?s:void 0,k=_&&!(b||"clip"===w||"hidden"===w),x=m?qC(p,t.current,y,S,C):function(e,t,n,r,o,i,a){return KC(e,t,n,r,o,i,void 0,a)}(p,t.current,y,S,k,void 0,C);null===(a=n.parentElement)||void 0===a||a.removeChild(y),!s&&x||s&&x&&(f=x,!SS((l=s).elementPosition,f.elementPosition)||!SS(l.beakPosition.elementPosition,f.beakPosition.elementPosition))&&c.current<5?(c.current++,u(x)):c.current>0&&(c.current=0,null==v||v(s))}},n);return d.current=h,function(){f.cancelAnimationFrame(i),d.current=void 0}}u(void 0),c.current=0},[p,y,f,n,g,t,r,m,o,v,s,e,h,b,_,w,C]),s}function bS(e,t,n){var r=e.hidden,o=e.setInitialFocus,i=$C(),a=!!t;z.useEffect(function(){if(!r&&o&&a&&n){var e=i.requestAnimationFrame(function(){return!!(o=gg(e=n,e,!0,!1,!1,!0,void 0,void 0,t,r))&&(kg(o),!0);var e,t,r,o},n);return function(){return i.cancelAnimationFrame(e)}}},[r,a,i,n,o])}var _S=z.memo(z.forwardRef(function(e,t){var n=ab(mS,e),r=n.styles,o=n.style,i=n.ariaLabel,a=n.ariaDescribedBy,l=n.ariaLabelledBy,s=n.className,u=n.isBeakVisible,c=n.children,d=n.beakWidth,f=n.calloutWidth,p=n.calloutMaxWidth,h=n.calloutMinWidth,m=n.doNotLayer,g=n.finalHeight,v=n.hideOverflow,y=void 0===v?!!g:v,b=n.backgroundColor,_=n.calloutMaxHeight,C=n.onScroll,S=n.shouldRestoreFocus,w=void 0===S||S,k=n.target,x=n.hidden,E=n.onLayerMounted,F=n.popupProps,I=z.useRef(null),T=XC(z.useRef(null),null==F?void 0:F.ref),P=z.useState(null),R=P[0],D=P[1],M=z.useCallback(function(e){D(e)},[]),O=XC(I,t),A=nS(n.target,{current:R}),L=A[0],N=A[1],B=function(e,t,n){var r=e.bounds,o=e.minPagePadding,i=void 0===o?mS.minPagePadding:o,a=e.target,l=z.useState(!1),s=l[0],u=l[1],c=z.useRef(void 0),d=z.useCallback(function(){if(!c.current||s){var e="function"==typeof r?n?r(a,n):void 0:r;!e&&n&&(e=function(e,t){return function(e,t){var n=void 0;if(t.getWindowSegments&&(n=t.getWindowSegments()),void 0===n||n.length<=1)return{top:0,left:0,right:t.innerWidth,bottom:t.innerHeight,width:t.innerWidth,height:t.innerHeight};var r=0,o=0;if(null!==e&&e.getBoundingClientRect){var i=e.getBoundingClientRect();r=(i.left+i.right)/2,o=(i.top+i.bottom)/2}else null!==e&&(r=e.left||e.x,o=e.top||e.y);for(var a={top:0,left:0,right:0,bottom:0,width:0,height:0},l=0,s=n;l<s.length;l++){var u=s[l];r&&u.left<=r&&u.right>=r&&o&&u.top<=o&&u.bottom>=o&&(a={top:u.top,left:u.left,right:u.right,bottom:u.bottom,width:u.width,height:u.height})}return a}(e,t)}(t.current,n),e={top:e.top+i,left:e.left+i,right:e.right-i,bottom:e.bottom-i,width:e.width-2*i,height:e.height-2*i}),c.current=e,s&&u(!1)}return c.current},[r,i,a,t,n,s]),f=$C();return eS(n,"resize",f.debounce(function(){u(!0)},500,{leading:!0})),d}(n,L,N),H=yS(n,I,R,L,B,T),V=vS(n,B,L,H),W=function(e,t,n,r,o){var i=e.hidden,a=e.onDismiss,l=e.preventDismissOnScroll,s=e.preventDismissOnResize,u=e.preventDismissOnLostFocus,c=e.dismissOnTargetClick,d=e.shouldDismissOnWindowFocus,f=e.preventDismissOnEvent,p=z.useRef(!1),h=$C(),m=QC([function(){p.current=!0},function(){p.current=!1}]),g=!!t;return z.useEffect(function(){var e=function(e){g&&!l&&v(e)},t=function(e){s||f&&f(e)||null==a||a(e)},m=function(e){u||v(e)},v=function(e){var t=e.composedPath?e.composedPath():[],i=t.length>0?t[0]:e.target,l=n.current&&!ag(n.current,i);if(l&&p.current)p.current=!1;else if(!r.current&&l||e.target!==o&&l&&(!r.current||"stopPropagation"in r.current||c||i!==r.current&&!ag(r.current,i))){if(f&&f(e))return;null==a||a(e)}},y=function(e){d&&((!f||f(e))&&(f||u)||(null==o?void 0:o.document.hasFocus())||null!==e.relatedTarget||null==a||a(e))},b=new Promise(function(n){h.setTimeout(function(){if(!i&&o){var r=[xg(o,"scroll",e,!0),xg(o,"resize",t,!0),xg(o.document.documentElement,"focus",m,!0),xg(o.document.documentElement,"click",m,!0),xg(o,"blur",y,!0)];n(function(){r.forEach(function(e){return e()})})}},0)});return function(){b.then(function(e){return e()})}},[i,h,n,r,o,a,d,c,u,s,l,g,f]),m}(n,H,I,L,N),U=W[0],j=W[1],K=(null==H?void 0:H.elementPosition.top)&&(null==H?void 0:H.elementPosition.bottom),q=em(em({},null==H?void 0:H.elementPosition),{maxHeight:V});if(K&&(q.bottom=void 0),bS(n,H,R),z.useEffect(function(){x||null==E||E()},[x]),!N)return null;var G=y,$=u&&!!k,Q=gS(r,{theme:n.theme,className:s,overflowYHidden:G,calloutWidth:f,positions:H,beakWidth:d,backgroundColor:b,calloutMaxWidth:p,calloutMinWidth:h,doNotLayer:m}),Z=em(em({maxHeight:_||"100%"},o),G&&{overflowY:"hidden"}),Y=n.hidden?{visibility:"hidden"}:void 0;return z.createElement("div",{ref:O,className:Q.container,style:Y},z.createElement("div",em({},Sy(n,Cy,hS),{className:Dv(Q.root,H&&H.targetEdge&&cS[H.targetEdge]),style:H?em({},q):pS,tabIndex:-1,ref:M}),$&&z.createElement("div",{className:Q.beak,style:CS(H)}),$&&z.createElement("div",{className:Q.beakCurtain}),z.createElement(iS,em({role:n.role,"aria-roledescription":n["aria-roledescription"],ariaDescribedBy:a,ariaLabel:i,ariaLabelledBy:l,className:Q.calloutMain,onDismiss:n.onDismiss,onMouseDown:U,onMouseUp:j,onRestoreFocus:n.onRestoreFocus,onScroll:C,shouldRestoreFocus:w,style:Z},F,{ref:T}),c)))}),function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||Eg(e,t)});function CS(e){var t,n,r=em(em({},null===(t=null==e?void 0:e.beakPosition)||void 0===t?void 0:t.elementPosition),{display:(null===(n=null==e?void 0:e.beakPosition)||void 0===n?void 0:n.hideBeak)?"none":void 0});return r.top||r.bottom||r.left||r.right||(r.left=fS,r.top=dS),r}function SS(e,t){for(var n in t)if(t.hasOwnProperty(n)){var r=e[n],o=t[n];if(void 0===r||void 0===o)return!1;if(r.toFixed(2)!==o.toFixed(2))return!1}return!0}function wS(e){return{height:e,width:e}}_S.displayName="CalloutContentBase";var kS={container:"ms-Callout-container",root:"ms-Callout",beak:"ms-Callout-beak",beakCurtain:"ms-Callout-beakCurtain",calloutMain:"ms-Callout-main"},xS=ob(_S,function(e){var t,n=e.theme,r=e.className,o=e.overflowYHidden,i=e.calloutWidth,a=e.beakWidth,l=e.backgroundColor,s=e.calloutMaxWidth,u=e.calloutMinWidth,c=e.doNotLayer,d=H_(kS,n),f=n.semanticColors,p=n.effects;return{container:[d.container,{position:"relative"}],root:[d.root,n.fonts.medium,{position:"absolute",display:"flex",zIndex:c?P_.Layer:void 0,boxSizing:"border-box",borderRadius:p.roundedCorner2,boxShadow:p.elevation16,selectors:(t={},t[R_]={borderWidth:1,borderStyle:"solid",borderColor:"WindowText"},t)},{selectors:{"&::-moz-focus-inner":{border:0},"&":{outline:"transparent"}}},r,!!i&&{width:i},!!s&&{maxWidth:s},!!u&&{minWidth:u}],beak:[d.beak,{position:"absolute",backgroundColor:f.menuBackground,boxShadow:"inherit",border:"inherit",boxSizing:"border-box",transform:"rotate(45deg)"},wS(a),l&&{backgroundColor:l}],beakCurtain:[d.beakCurtain,{position:"absolute",top:0,right:0,bottom:0,left:0,backgroundColor:f.menuBackground,borderRadius:p.roundedCorner2}],calloutMain:[d.calloutMain,{backgroundColor:f.menuBackground,overflowX:"hidden",overflowY:"auto",position:"relative",width:"100%",borderRadius:p.roundedCorner2},o&&{overflowY:"hidden"},l&&{backgroundColor:l}]}},void 0,{scope:"CalloutContent"}),ES=z.createContext(void 0),FS=function(){return function(){}};ES.Provider;var IS=vv(),TS=Ev(function(e,t){return T_(em(em({},e),{rtl:t}))}),PS=z.forwardRef(function(e,t){var n=e.className,r=e.theme,o=e.applyTheme,i=e.applyThemeToBody,a=e.styles,l=IS(a,{theme:r,applyTheme:o,className:n}),s=z.useRef(null);return function(e,t,n){var r=t.bodyThemed;z.useEffect(function(){if(e){var t=fg(n.current);if(t)return t.body.classList.add(r),function(){t.body.classList.remove(r)}}},[r,e,n])}(i,l,s),z.createElement(z.Fragment,null,function(e,t,n,r){var o=t.root,i=e.as,a=void 0===i?"div":i,l=e.dir,s=e.theme,u=Sy(e,Cy,["dir"]),c=function(e){var t=e.theme,n=e.dir,r=pv(t)?"rtl":"ltr",o=pv()?"rtl":"ltr",i=n||r;return{rootDir:i!==r||i!==o?i:n,needsTheme:i!==r}}(e),d=c.rootDir,f=c.needsTheme,p=z.createElement(qy,{providerRef:n},z.createElement(a,em({dir:d},u,{className:o,ref:XC(n,r)})));f&&(p=z.createElement(Vv,{settings:{theme:TS(s,"rtl"===l)}},p));return p}(e,l,s,t))});PS.displayName="FabricBase";var RS={fontFamily:"inherit"},DS={root:"ms-Fabric",bodyThemed:"ms-Fabric-bodyThemed"},MS=ob(PS,function(e){var t=e.applyTheme,n=e.className,r=e.preventBlanketFontInheritance,o=e.theme;return{root:[H_(DS,o).root,o.fonts.medium,{color:o.palette.neutralPrimary},!r&&{"& button":RS,"& input":RS,"& textarea":RS},t&&{color:o.semanticColors.bodyText,backgroundColor:o.semanticColors.bodyBackground},n],bodyThemed:[{backgroundColor:o.semanticColors.bodyBackground}]}},void 0,{scope:"Fabric"}),OS={},AS={},LS="fluent-default-layer-host",NS="#".concat(LS);var BS,zS=vv(),HS=z.forwardRef(function(e,t){var n,r=null!==(n=z.useContext(ES))&&void 0!==n?n:FS,o=z.useRef(null),i=XC(o,t),a=z.useRef(void 0),l=z.useRef(null),s=z.useContext(By),u=z.useState(!1),c=u[0],d=u[1],f=z.useCallback(function(e){var t,n=!!(null==(t=null==s?void 0:s.providerRef)?void 0:t.current)&&t.current.classList.contains(Py);e&&n&&e.classList.add(Py)},[s]),p=e.children,h=e.className,m=e.eventBubblingEnabled,g=e.fabricProps,v=e.hostId,y=e.insertFirst,b=e.onLayerDidMount,_=void 0===b?function(){}:b,C=e.onLayerMounted,S=void 0===C?function(){}:C,w=e.onLayerWillUnmount,k=e.styles,x=e.theme,E=XC(l,null==g?void 0:g.ref,f),F=zS(k,{theme:x,className:h,isNotHost:!v}),I=function(e,t){var n,r;void 0===t&&(t=null);var o=null!=t?t:e;if(v){var i=function(e){var t=AS[e];return t&&t[0]||void 0}(v);return i?null!==(n=i.rootRef.current)&&void 0!==n?n:null:null!==(r=o.getElementById(v))&&void 0!==r?r:null}var a=NS,l=a?o.querySelector(a):null;return l||(l=function(e,t){void 0===t&&(t=null);var n=e.createElement("div");return n.setAttribute("id",LS),n.style.cssText="position:fixed;z-index:1000000",t?t.appendChild(n):null==e||e.body.appendChild(n),n}(e,t)),l},T=function(){null==w||w();var e=a.current;a.current=void 0,e&&e.parentNode&&e.parentNode.removeChild(e)},P=function(){var e,t,n,r,i=fg(o.current),l=(null===(t=null===(e=o.current)||void 0===e?void 0:e.getRootNode())||void 0===t?void 0:t.host)?null===(n=null==o?void 0:o.current)||void 0===n?void 0:n.getRootNode():void 0;if(i&&(i||l)){var s=I(i,l);if(s){s.__tabsterElementFlags||(s.__tabsterElementFlags={}),s.__tabsterElementFlags.noDirectAriaHidden=!0,T();var u=(null!==(r=s.ownerDocument)&&void 0!==r?r:i).createElement("div");u.className=F.root,u.setAttribute(cg,"true"),function(e,t){var n=e,r=t;n._virtual||(n._virtual={children:[]});var o=n._virtual.parent;if(o&&o!==t){var i=o._virtual.children.indexOf(n);i>-1&&o._virtual.children.splice(i,1)}n._virtual.parent=r||void 0,r&&(r._virtual||(r._virtual={children:[]}),r._virtual.children.push(n))}(u,o.current),y?s.insertBefore(u,s.firstChild):s.appendChild(u),a.current=u,d(!0)}}};return sb(function(){P(),v&&function(e,t){OS[e]||(OS[e]=[]),OS[e].push(t);var n=AS[e];if(n)for(var r=0,o=n;r<o.length;r++)o[r].notifyLayersChanged()}(v,P);var e=a.current?r(a.current):void 0;return function(){e&&e(),T(),v&&function(e,t){var n=OS[e];if(n){var r=n.indexOf(t);r>=0&&(n.splice(r,1),0===n.length&&delete OS[e])}var o=AS[e];if(o)for(var i=0,a=o;i<a.length;i++)a[i].notifyLayersChanged()}(v,P)}},[v]),z.useEffect(function(){a.current&&c&&(null==S||S(),null==_||_(),d(!1))},[c,S,_]),z.createElement("span",{className:"ms-layer",ref:i},a.current&&$c.createPortal(z.createElement(qy,{layerRoot:!0,providerRef:E},z.createElement(MS,em({},!m&&function(){BS||(BS={},["onClick","onContextMenu","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOver","onMouseOut","onMouseUp","onTouchMove","onTouchStart","onTouchCancel","onTouchEnd","onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onInvalid","onSubmit"].forEach(function(e){return BS[e]=VS}));return BS}(),g,{className:Dv(F.content,null==g?void 0:g.className),ref:E}),p)),a.current))});HS.displayName="LayerBase";var VS=function(e){e.eventPhase===Event.BUBBLING_PHASE&&"mouseenter"!==e.type&&"mouseleave"!==e.type&&"touchstart"!==e.type&&"touchend"!==e.type&&e.stopPropagation()};var WS={root:"ms-Layer",rootNoHost:"ms-Layer--fixed",content:"ms-Layer-content"},US=ob(HS,function(e){var t=e.className,n=e.isNotHost,r=e.theme,o=H_(WS,r);return{root:[o.root,r.fonts.medium,n&&[o.rootNoHost,{position:"fixed",zIndex:P_.Layer,top:0,left:0,bottom:0,right:0,visibility:"hidden"}],t],content:[o.content,{visibility:"visible"}]}},void 0,{scope:"Layer",fields:["hostId","theme","styles"]}),jS=z.forwardRef(function(e,t){var n=e.layerProps,r=e.doNotLayer,o=tm(e,["layerProps","doNotLayer"]),i=z.createElement(xS,em({},o,{doNotLayer:r,ref:t}));return r?i:z.createElement(US,em({},n),i)});jS.displayName="Callout";var KS,qS,GS,$S,QS={disabled:!1,disableFirstFocus:!1,forceFocusInsideTrap:!0,isClickableOutsideFocusTrap:!1,"data-tabster":'{"uncontrolled": {"completely": true}}'},ZS=z.forwardRef(function(e,t){var n,r,o,i=z.useRef(null),a=z.useRef(null),l=z.useRef(null),s=XC(i,t),u=Xv(),c=lS(),d=!!Qv(),f=null===(n=tS(!1))||void 0===n||n,p=ab(QS,e),h=QC({hasFocus:!1,focusStackId:JC("ftz-",p.id)}),m=p.children,g=p.componentRef,v=p.disabled,y=p.disableFirstFocus,b=p.forceFocusInsideTrap,_=p.focusPreviouslyFocusedInnerElement,C=p.firstFocusableSelector,S=p.firstFocusableTarget,w=p.disableRestoreFocus,k=void 0===w?p.ignoreExternalFocusing:w,x=p.isClickableOutsideFocusTrap,E=p.enableAriaHiddenSiblings,F={"aria-hidden":!0,style:{pointerEvents:"none",position:"fixed"},tabIndex:v?-1:0,"data-is-visible":!0,"data-is-focus-trap-zone-bumper":!0},I=z.useCallback(function(e){e!==a.current&&e!==l.current&&kg(e)},[]),T=YC(function(){if(i.current){var e=h.previouslyFocusedElementInTrapZone;if(_&&e&&ag(i.current,e))I(e);else{var t=null;if("string"==typeof S)t=i.current.querySelector(S);else if(S)t=S(i.current);else if(C){var n="string"==typeof C?C:C();t=i.current.querySelector("."+n)}t||(t=gg(i.current,i.current.firstChild,!1,!1,!1,!0,void 0,void 0,void 0,d)),t&&I(t)}}}),P=function(e){if(!v&&i.current){var t,n,r,o=e===h.hasFocus?(t=i.current,n=l.current,void 0===(r=!1)&&(r=!0),mg(t,n,r,!1,!0,!0,!1,!0,d)):function(e,t,n,r,o){return void 0===r&&(r=!0),gg(e,t,r,!1,!1,n,!1,!0,void 0,o)}(i.current,a.current,!0,!1,d);o&&(o===a.current||o===l.current?T():o.focus())}},R=YC(function(e){if(ZS.focusStack=ZS.focusStack.filter(function(e){return h.focusStackId!==e}),u){var t=u.activeElement;k||"function"!=typeof(null==e?void 0:e.focus)||!ag(i.current,t)&&t!==u.body&&!t.shadowRoot||I(e)}}),D=YC(function(e){if(!v&&h.focusStackId===ZS.focusStack.slice(-1)[0]){var t=ug(e);t&&!ag(i.current,t)&&(u&&sg(u)===u.body?setTimeout(function(){u&&sg(u)===u.body&&(T(),h.hasFocus=!0)},0):(T(),h.hasFocus=!0),e.preventDefault(),e.stopPropagation())}});return z.useEffect(function(){var e=[];return b&&e.push(xg(c,"focus",D,!0)),x||e.push(xg(c,"click",D,!0)),function(){e.forEach(function(e){return e()})}},[b,x,c]),z.useEffect(function(){if(!v&&(f||b)&&i.current){ZS.focusStack.push(h.focusStackId);var e=p.elementToFocusOnDismiss||sg(u);return y||ag(i.current,e)||T(),function(){return R(e)}}},[b,v]),z.useEffect(function(){if(!v&&E)return Xy(i.current)},[v,E,i]),r=function(){delete h.previouslyFocusedElementInTrapZone},(o=z.useRef(r)).current=r,z.useEffect(function(){return function(){var e;null===(e=o.current)||void 0===e||e.call(o)}},[]),function(e,t,n){z.useImperativeHandle(e,function(){return{get previouslyFocusedElement(){return t},focus:n}},[n,t])}(g,h.previouslyFocusedElementInTrapZone,T),z.createElement("div",em({"aria-labelledby":p.ariaLabelledBy},Sy(p,Cy),{ref:s,onFocusCapture:function(e){var t;null===(t=p.onFocusCapture)||void 0===t||t.call(p,e),e.target===a.current?P(!0):e.target===l.current&&P(!1),h.hasFocus=!0,e.target!==e.currentTarget&&e.target!==a.current&&e.target!==l.current&&(h.previouslyFocusedElementInTrapZone=ug(e.nativeEvent))},onBlurCapture:function(e){var t;null===(t=p.onBlurCapture)||void 0===t||t.call(p,e);var n=e.relatedTarget;null===e.relatedTarget&&(n=sg(u)),ag(i.current,n)||(h.hasFocus=!1)}}),z.createElement("div",em({},F,{ref:a})),m,z.createElement("div",em({},F,{ref:l})))});ZS.displayName="FocusTrapZone",ZS.focusStack=[],function(e){e[e.default=0]="default",e[e.image=1]="image",e[e.Default=1e5]="Default",e[e.Image=100001]="Image"}(KS||(KS={})),function(e){e[e.center=0]="center",e[e.contain=1]="contain",e[e.cover=2]="cover",e[e.none=3]="none",e[e.centerCover=4]="centerCover",e[e.centerContain=5]="centerContain"}(qS||(qS={})),function(e){e[e.landscape=0]="landscape",e[e.portrait=1]="portrait"}(GS||(GS={})),function(e){e[e.notLoaded=0]="notLoaded",e[e.loaded=1]="loaded",e[e.error=2]="error",e[e.errorLoaded=3]="errorLoaded"}($S||($S={}));var YS=vv(),JS=/\.svg$/i;var XS=z.forwardRef(function(e,t){var n=z.useRef(void 0),r=z.useRef(void 0),o=function(e,t){var n=e.onLoadingStateChange,r=e.onLoad,o=e.onError,i=e.src,a=z.useState($S.notLoaded),l=a[0],s=a[1];sb(function(){s($S.notLoaded)},[i]),z.useEffect(function(){l===$S.notLoaded&&t.current&&(i&&t.current.naturalWidth>0&&t.current.naturalHeight>0||t.current.complete&&JS.test(i))&&s($S.loaded)}),z.useEffect(function(){null==n||n(l)},[l]);var u=z.useCallback(function(e){null==r||r(e),i&&s($S.loaded)},[i,r]),c=z.useCallback(function(e){null==o||o(e),s($S.error)},[o]);return[l,u,c]}(e,r),i=o[0],a=o[1],l=o[2],s=Sy(e,_y,["width","height"]),u=e.src,c=e.alt,d=e.width,f=e.height,p=e.shouldFadeIn,h=void 0===p||p,m=e.shouldStartVisible,g=e.className,v=e.imageFit,y=e.role,b=e.maximizeFrame,_=e.styles,C=e.theme,S=e.loading,w=function(e,t,n,r){var o=z.useRef(t),i=z.useRef(void 0);(void 0===i||o.current===$S.notLoaded&&t===$S.loaded)&&(i.current=function(e,t,n,r){var o=e.imageFit,i=e.width,a=e.height;if(void 0!==e.coverStyle)return e.coverStyle;if(t===$S.loaded&&(o===qS.cover||o===qS.contain||o===qS.centerContain||o===qS.centerCover)&&n.current&&r.current){var l=void 0;if(l="number"==typeof i&&"number"==typeof a&&o!==qS.centerContain&&o!==qS.centerCover?i/a:r.current.clientWidth/r.current.clientHeight,n.current.naturalWidth/n.current.naturalHeight>l)return GS.landscape}return GS.portrait}(e,t,n,r));return o.current=t,i.current}(e,i,r,n),k=YS(_,{theme:C,className:g,width:d,height:f,maximizeFrame:b,shouldFadeIn:h,shouldStartVisible:m,isLoaded:i===$S.loaded||i===$S.notLoaded&&e.shouldStartVisible,isLandscape:w===GS.landscape,isCenter:v===qS.center,isCenterContain:v===qS.centerContain,isCenterCover:v===qS.centerCover,isContain:v===qS.contain,isCover:v===qS.cover,isNone:v===qS.none,isError:i===$S.error,isNotImageFit:void 0===v});return z.createElement("div",{className:k.root,style:{width:d,height:f},ref:n},z.createElement("img",em({},s,{onLoad:a,onError:l,key:"fabricImage"+e.src||"",className:k.image,ref:XC(r,t),src:u,alt:c,role:y,loading:S})))});XS.displayName="ImageBase";var ew={root:"ms-Image",rootMaximizeFrame:"ms-Image--maximizeFrame",image:"ms-Image-image",imageCenter:"ms-Image-image--center",imageContain:"ms-Image-image--contain",imageCover:"ms-Image-image--cover",imageCenterContain:"ms-Image-image--centerContain",imageCenterCover:"ms-Image-image--centerCover",imageNone:"ms-Image-image--none",imageLandscape:"ms-Image-image--landscape",imagePortrait:"ms-Image-image--portrait"},tw=ob(XS,function(e){var t=e.className,n=e.width,r=e.height,o=e.maximizeFrame,i=e.isLoaded,a=e.shouldFadeIn,l=e.shouldStartVisible,s=e.isLandscape,u=e.isCenter,c=e.isContain,d=e.isCover,f=e.isCenterContain,p=e.isCenterCover,h=e.isNone,m=e.isError,g=e.isNotImageFit,v=e.theme,y=H_(ew,v),b={position:"absolute",left:"50% /* @noflip */",top:"50%",transform:"translate(-50%,-50%)"},_=ng(),C=void 0!==_&&void 0===_.navigator.msMaxTouchPoints,S=c&&s||d&&!s?{width:"100%",height:"auto"}:{width:"auto",height:"100%"};return{root:[y.root,v.fonts.medium,{overflow:"hidden"},o&&[y.rootMaximizeFrame,{height:"100%",width:"100%"}],i&&a&&!l&&tC.fadeIn400,(u||c||d||f||p)&&{position:"relative"},t],image:[y.image,{display:"block",opacity:0},i&&["is-loaded",{opacity:1}],u&&[y.imageCenter,b],c&&[y.imageContain,C&&{width:"100%",height:"100%",objectFit:"contain"},!C&&S,!C&&b],d&&[y.imageCover,C&&{width:"100%",height:"100%",objectFit:"cover"},!C&&S,!C&&b],f&&[y.imageCenterContain,s&&{maxWidth:"100%"},!s&&{maxHeight:"100%"},b],p&&[y.imageCenterCover,s&&{maxHeight:"100%"},!s&&{maxWidth:"100%"},b],h&&[y.imageNone,{width:"auto",height:"auto"}],g&&[!!n&&!r&&{height:"auto",width:"100%"},!n&&!!r&&{height:"100%",width:"auto"},!!n&&!!r&&{height:"100%",width:"100%"}],s&&y.imageLandscape,!s&&y.imagePortrait,!i&&"is-notLoaded",a&&"is-fadeIn",m&&"is-error"]}},void 0,{scope:"Image"},!0);tw.displayName="Image";var nw=Qm({root:{display:"inline-block",textDecoration:"inherit"},placeholder:["ms-Icon-placeHolder",{width:"1em"}],image:["ms-Icon-imageContainer",{overflow:"hidden"}]}),rw="ms-Icon",ow=Ev(function(e){var t=function(e){var t=void 0,n=ub.__options;if(e=e?db(e):"",e=ub.__remapped[e]||e)if(t=ub[e]){var r=t.subset;r&&r.fontFace&&(r.isRegistered||(Jm(r.fontFace),r.isRegistered=!0),r.className||(r.className=Gm(r.style,{fontFamily:r.fontFace.fontFamily,fontWeight:r.fontFace.fontWeight||"normal",fontStyle:r.fontFace.fontStyle||"normal"})))}else!n.disableWarnings&&n.warnOnMissingIcons&&Lg('The icon "'.concat(e,'" was used but not registered. See https://github.com/microsoft/fluentui/wiki/Using-icons for more information.'));return t}(e)||{subset:{},code:void 0},n=t.code,r=t.subset;return n?{children:n,iconClassName:r.className,fontFamily:r.fontFace&&r.fontFace.fontFamily,mergeImageProps:r.mergeImageProps}:null},void 0,!0),iw=function(e){var t=e.iconName,n=e.className,r=e.style,o=void 0===r?{}:r,i=ow(t)||{},a=i.iconClassName,l=i.children,s=i.fontFamily,u=i.mergeImageProps,c=Sy(e,py),d=e["aria-label"]||e.title,f=e["aria-label"]||e["aria-labelledby"]||e.title?{role:u?void 0:"img"}:{"aria-hidden":!0},p=l;return u&&"object"==typeof l&&"object"==typeof l.props&&d&&(p=z.cloneElement(l,{alt:d})),z.createElement("i",em({"data-icon-name":t},f,c,u?{title:void 0,"aria-label":void 0}:{},{className:Dv(rw,nw.root,a,!t&&nw.placeholder,n),style:em({fontFamily:s},o)}),p)};Ev(function(e,t,n){return iw({iconName:e,className:t,"aria-label":n})});var aw=vv({cacheSize:100}),lw=function(e){function t(t){var n=e.call(this,t)||this;return n._onImageLoadingStateChange=function(e){n.props.imageProps&&n.props.imageProps.onLoadingStateChange&&n.props.imageProps.onLoadingStateChange(e),e===$S.error&&n.setState({imageLoadError:!0})},n.state={imageLoadError:!1},n}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,r=e.styles,o=e.iconName,i=e.imageErrorAs,a=e.theme,l="string"==typeof o&&0===o.length,s=!!this.props.imageProps||this.props.iconType===KS.image||this.props.iconType===KS.Image,u=ow(o)||{},c=u.iconClassName,d=u.children,f=u.mergeImageProps,p=aw(r,{theme:a,className:n,iconClassName:c,isImage:s,isPlaceholder:l}),h=s?"span":"i",m=Sy(this.props,py,["aria-label"]),g=this.state.imageLoadError,v=em(em({},this.props.imageProps),{onLoadingStateChange:this._onImageLoadingStateChange}),y=g&&i||tw,b=this.props["aria-label"]||this.props.ariaLabel,_=v.alt||b||this.props.title,C=!!(_||this.props["aria-labelledby"]||v["aria-label"]||v["aria-labelledby"])?{role:s||f?void 0:"img","aria-label":s||f?void 0:_}:{"aria-hidden":!0},S=d;return f&&d&&"object"==typeof d&&_&&(S=z.cloneElement(d,{alt:_})),z.createElement(h,em({"data-icon-name":o},C,m,f?{title:void 0,"aria-label":void 0}:{},{className:p.root}),s?z.createElement(y,em({},v)):t||S)},t}(z.Component),sw=ob(lw,function(e){var t=e.className,n=e.iconClassName,r=e.isPlaceholder,o=e.isImage,i=e.styles;return{root:[r&&nw.placeholder,nw.root,o&&nw.image,n,t,i&&i.root,i&&i.imageContainer]}},void 0,{scope:"Icon"},!0);sw.displayName="Icon";var uw=function(e){var t=e.className,n=e.imageProps,r=Sy(e,py,["aria-label","aria-labelledby","title","aria-describedby"]),o=n.alt||e["aria-label"],i=o||e["aria-labelledby"]||e.title||n["aria-label"]||n["aria-labelledby"]||n.title,a={"aria-labelledby":e["aria-labelledby"],"aria-describedby":e["aria-describedby"],title:e.title},l=i?{}:{"aria-hidden":!0};return z.createElement("div",em({},l,r,{className:Dv(rw,nw.root,nw.image,t)}),z.createElement(tw,em({},a,n,{alt:i?o:""})))},cw="backward",dw=function(e){function t(t){var n=e.call(this,t)||this;return n._inputElement=z.createRef(),n._autoFillEnabled=!0,n._onCompositionStart=function(e){n.setState({isComposing:!0}),n._autoFillEnabled=!1},n._onCompositionUpdate=function(){ib()&&n._updateValue(n._getCurrentInputValue(),!0)},n._onCompositionEnd=function(e){var t=n._getCurrentInputValue();n._tryEnableAutofill(t,n.value,!1,!0),n.setState({isComposing:!1}),n._async.setTimeout(function(){n._updateValue(n._getCurrentInputValue(),!1)},0)},n._onClick=function(){n.value&&""!==n.value&&n._autoFillEnabled&&(n._autoFillEnabled=!1)},n._onKeyDown=function(e){if(n.props.onKeyDown&&n.props.onKeyDown(e),!e.nativeEvent.isComposing)switch(e.which){case qg:n._autoFillEnabled=!1;break;case nv:case ov:n._autoFillEnabled&&(n.setState(function(e){return{inputValue:n.props.suggestedDisplayValue||e.inputValue}}),n._autoFillEnabled=!1);break;default:n._autoFillEnabled||-1!==n.props.enableAutofillOnKeyPress.indexOf(e.which)&&(n._autoFillEnabled=!0)}},n._onInputChanged=function(e){var t=n._getCurrentInputValue(e);if(n.state.isComposing||n._tryEnableAutofill(t,n.value,e.nativeEvent.isComposing),!ib()||!n.state.isComposing){var r=e.nativeEvent.isComposing,o=void 0===r?n.state.isComposing:r;n._updateValue(t,o)}},n._onChanged=function(){},n._updateValue=function(e,t){if(e||e!==n.value){var r=n.props,o=r.onInputChange,i=r.onInputValueChange;o&&(e=(null==o?void 0:o(e,t))||""),n.setState({inputValue:e},function(){return null==i?void 0:i(e,t)})}},wy(n),n._async=new rg(n),n.state={inputValue:t.defaultVisibleValue||"",isComposing:!1},n}return Xh(t,e),t.getDerivedStateFromProps=function(e,t){if(e.updateValueInWillReceiveProps){var n=e.updateValueInWillReceiveProps();if(null!==n&&n!==t.inputValue&&!t.isComposing)return em(em({},t),{inputValue:n})}return null},Object.defineProperty(t.prototype,"cursorLocation",{get:function(){if(this._inputElement.current){var e=this._inputElement.current;return"forward"!==e.selectionDirection?e.selectionEnd:e.selectionStart}return-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValueSelected",{get:function(){return Boolean(this.inputElement&&this.inputElement.selectionStart!==this.inputElement.selectionEnd)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._getControlledValue()||this.state.inputValue||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._inputElement.current?this._inputElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._inputElement.current?this._inputElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inputElement",{get:function(){return this._inputElement.current},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e,t,n){var r,o=this.props,i=o.suggestedDisplayValue,a=o.shouldSelectFullInputValueInComponentDidUpdate,l=0;if(!o.preventValueSelection){var s=(null===(r=this.context)||void 0===r?void 0:r.window.document)||fg(this._inputElement.current);if(this._inputElement.current&&this._inputElement.current===(null==s?void 0:s.activeElement)&&this._autoFillEnabled&&this.value&&i&&fw(i,this.value)){var u=!1;if(a&&(u=a()),u)this._inputElement.current.setSelectionRange(0,i.length,cw);else{for(;l<this.value.length&&this.value[l].toLocaleLowerCase()===i[l].toLocaleLowerCase();)l++;l>0&&this._inputElement.current.setSelectionRange(l,i.length,cw)}}else this._inputElement.current&&(null===n||this._autoFillEnabled||this.state.isComposing||this._inputElement.current.setSelectionRange(n.start,n.end,n.dir))}},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.render=function(){var e=Sy(this.props,vy),t=em(em({},this.props.style),{fontFamily:"inherit"});return z.createElement("input",em({autoCapitalize:"off",autoComplete:"off","aria-autocomplete":"both"},e,{style:t,ref:this._inputElement,value:this._getDisplayValue(),onCompositionStart:this._onCompositionStart,onCompositionUpdate:this._onCompositionUpdate,onCompositionEnd:this._onCompositionEnd,onChange:this._onChanged,onInput:this._onInputChanged,onKeyDown:this._onKeyDown,onClick:this.props.onClick?this.props.onClick:this._onClick,"data-lpignore":!0}))},t.prototype.focus=function(){this._inputElement.current&&this._inputElement.current.focus()},t.prototype.clear=function(){this._autoFillEnabled=!0,this._updateValue("",!1),this._inputElement.current&&this._inputElement.current.setSelectionRange(0,0)},t.prototype.getSnapshotBeforeUpdate=function(){var e,t,n=this._inputElement.current;return n&&n.selectionStart!==this.value.length?{start:null!==(e=n.selectionStart)&&void 0!==e?e:n.value.length,end:null!==(t=n.selectionEnd)&&void 0!==t?t:n.value.length,dir:n.selectionDirection||"backward"}:null},t.prototype._getCurrentInputValue=function(e){return e&&e.target&&e.target.value?e.target.value:this.inputElement&&this.inputElement.value?this.inputElement.value:""},t.prototype._tryEnableAutofill=function(e,t,n,r){!n&&e&&this._inputElement.current&&this._inputElement.current.selectionStart===e.length&&!this._autoFillEnabled&&(e.length>t.length||r)&&(this._autoFillEnabled=!0)},t.prototype._getDisplayValue=function(){return this._autoFillEnabled?function(e,t){var n=e;t&&e&&fw(t,n)&&(n=t);return n}(this.value,this.props.suggestedDisplayValue):this.value},t.prototype._getControlledValue=function(){var e=this.props.value;return void 0===e||"string"==typeof e?e:(console.warn("props.value of Autofill should be a string, but it is ".concat(e," with type of ").concat(typeof e)),e.toString())},t.defaultProps={enableAutofillOnKeyPress:[iv,rv]},t.contextType=Yv,t}(z.Component);function fw(e,t){return!(!e||!t)&&0===e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())}var pw,hw=1,mw=2;!function(e){e[e.vertical=0]="vertical",e[e.horizontal=1]="horizontal",e[e.bidirectional=2]="bidirectional",e[e.domOrder=3]="domOrder"}(pw||(pw={}));var gw,vw="data-is-focusable",yw="data-focuszone-id",bw="tabindex",_w="data-no-vertical-wrap",Cw="data-no-horizontal-wrap",Sw=999999999,ww=-999999999;function kw(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 xw,Ew={},Fw=new Set,Iw=["text","number","password","email","tel","url","search","textarea"],Tw=!1,Pw=function(e){function t(n){var r,o,i,a,l=e.call(this,n)||this;l._root=z.createRef(),l._mergedRef=lb(),l._onFocus=function(e){if(!l._portalContainsElement(e.target)){var t,n=l.props,r=n.onActiveElementChanged,o=n.doNotAllowFocusEventToPropagate,i=n.stopFocusPropagation,a=n.onFocusNotification,s=n.onFocus,u=n.shouldFocusInnerElementWhenReceivedFocus,c=n.defaultTabbableElement,d=l._isImmediateDescendantOfZone(e.target);if(d)t=e.target;else for(var f=e.target;f&&f!==l._root.current;){if(bg(f,void 0,l._inShadowRoot)&&l._isImmediateDescendantOfZone(f)){t=f;break}f=ig(f,Tw)}if(u&&e.target===l._root.current){var p=c&&"function"==typeof c&&l._root.current&&c(l._root.current);p&&bg(p,void 0,l._inShadowRoot)?(t=p,p.focus()):(l.focus(!0),l._activeElement&&(t=null))}var h=!l._activeElement;t&&t!==l._activeElement&&((d||h)&&l._setFocusAlignment(t,!0,!0),l._activeElement=t,h&&l._updateTabIndexes()),r&&r(l._activeElement,e),(i||o)&&e.stopPropagation(),s?s(e):a&&a()}},l._onBlur=function(){l._setParkedFocus(!1)},l._onMouseDown=function(e){if(!l._portalContainsElement(e.target)&&!l.props.disabled){for(var t=e.target,n=[];t&&t!==l._root.current;)n.push(t),t=ig(t,Tw);for(;n.length&&((t=n.pop())&&bg(t,void 0,l._inShadowRoot)&&l._setActiveElement(t,!0),!_g(t)););}},l._onKeyDown=function(e,t){if(!l._portalContainsElement(e.target)){var n=l.props,r=n.direction,o=n.disabled,i=n.isInnerZoneKeystroke,a=n.pagingSupportDisabled,s=n.shouldEnterInnerZone;if(!(o||(l.props.onKeyDown&&l.props.onKeyDown(e),e.isDefaultPrevented()||l._getDocument().activeElement===l._root.current&&l._isInnerZone))){if((s&&s(e)||i&&i(e))&&l._isImmediateDescendantOfZone(e.target)){var u=l._getFirstInnerZone();if(u){if(!u.focus(!0))return}else{if(!Cg(e.target))return;if(!l.focusElement(gg(e.target,e.target.firstChild,!0)))return}}else{if(e.altKey)return;switch(e.which){case Yg:if(l._shouldRaiseClicksOnSpace&&l._tryInvokeClickForFocusable(e.target,e))break;return;case nv:if(r!==pw.vertical&&(l._preventDefaultWhenHandled(e),l._moveFocusLeft(t)))break;return;case ov:if(r!==pw.vertical&&(l._preventDefaultWhenHandled(e),l._moveFocusRight(t)))break;return;case rv:if(r!==pw.horizontal&&(l._preventDefaultWhenHandled(e),l._moveFocusUp()))break;return;case iv:if(r!==pw.horizontal&&(l._preventDefaultWhenHandled(e),l._moveFocusDown()))break;return;case Xg:if(!a&&l._moveFocusPaging(!0))break;return;case Jg:if(!a&&l._moveFocusPaging(!1))break;return;case Gg:if(l.props.allowTabKey||l.props.handleTabKey===hw||l.props.handleTabKey===mw&&l._isElementInput(e.target)){var c=!1;if(l._processingTabKey=!0,r!==pw.vertical&&l._shouldWrapFocus(l._activeElement,Cw))c=(pv(t)?!e.shiftKey:e.shiftKey)?l._moveFocusLeft(t):l._moveFocusRight(t);else c=e.shiftKey?l._moveFocusUp():l._moveFocusDown();if(l._processingTabKey=!1,c)break;l.props.shouldResetActiveElementWhenTabFromZone&&(l._activeElement=null)}return;case tv:if(l._isContentEditableElement(e.target)||l._isElementInput(e.target)&&!l._shouldInputLoseFocus(e.target,!1))return!1;var d=l._root.current&&l._root.current.firstChild;if(l._root.current&&d&&l.focusElement(gg(l._root.current,d,!0)))break;return;case ev:if(l._isContentEditableElement(e.target)||l._isElementInput(e.target)&&!l._shouldInputLoseFocus(e.target,!0))return!1;var f=l._root.current&&l._root.current.lastChild;if(l._root.current&&l.focusElement(mg(l._root.current,f,!0,!0,!0)))break;return;case $g:if(l._shouldRaiseClicksOnEnter&&l._tryInvokeClickForFocusable(e.target,e))break;return;default:return}}e.preventDefault(),e.stopPropagation()}}},l._getHorizontalDistanceFromCenter=function(e,t,n){var r=l._focusAlignment.left||l._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):l._shouldWrapFocus(l._activeElement,_w)?Sw:ww},wy(l),l._id=sy("FocusZone"),l._focusAlignment={left:0,top:0},l._processingTabKey=!1;var s=null===(o=null!==(r=n.shouldRaiseClicks)&&void 0!==r?r:t.defaultProps.shouldRaiseClicks)||void 0===o||o;return l._shouldRaiseClicksOnEnter=null!==(i=n.shouldRaiseClicksOnEnter)&&void 0!==i?i:s,l._shouldRaiseClicksOnSpace=null!==(a=n.shouldRaiseClicksOnSpace)&&void 0!==a?a:s,l}return Xh(t,e),t.getOuterZones=function(){return Fw.size},t._onKeyDownCapture=function(e){e.which===Gg&&Fw.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),Ew[this._id]=this,n){for(var r=ig(n,Tw);r&&r!==this._getDocument().body&&1===r.nodeType;){if(_g(r)){this._isInnerZone=!0;break}r=ig(r,Tw)}this._isInnerZone||(Fw.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&&!ag(this._root.current,this._activeElement,Tw)||this._defaultFocusElement&&!ag(this._root.current,this._defaultFocusElement,Tw))&&(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 bg(n)&&vg(n)?n:gg(e,n,!0)||mg(e,n)}(t,this._lastIndexPath);r?(this._setActiveElement(r,!0),r.focus(),this._setParkedFocus(!1)):this._setParkedFocus(!0)}},t.prototype.componentWillUnmount=function(){delete Ew[this._id],this._isInnerZone||(Fw.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,a=t.ariaLabelledBy,l=t.className,s=Sy(this.props,py),u=n||r||"div";this._evaluateFocusBeforeRender();var c,d=(void 0===c&&(c=!1),!0===c&&(Q_=T_({},c)),Q_);return z.createElement(u,em({"aria-labelledby":a,"aria-describedby":i},s,o,{className:Dv((gw||(gw=Gm({selectors:{":focus":{outline:"none"}}},"ms-FocusZone")),gw),l),ref:this._mergedRef(this.props.elementRef,this._root),"data-focuszone-id":this._id,onKeyDown:function(t){return e._onKeyDown(t,d)},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(vw)&&this._isInnerZone){var n=this._getOwnerZone(this._root.current);if(n!==this._root.current){var r=Ew[n.getAttribute(yw)];return!!r&&r.focusElement(this._root.current)}return!1}if(!e&&this._activeElement&&ag(this._root.current,this._activeElement)&&bg(this._activeElement,void 0,this._inShadowRoot)&&(!t||yg(this._activeElement)))return this._activeElement.focus(),!0;var o=this._root.current.firstChild;return this.focusElement(gg(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(mg(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=ag(e,n,!1);this._lastIndexPath=r?function(e,t){for(var n=[];t&&e&&t!==e;){var r=ig(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&&(_g(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(vw)&&"true"!==n.getAttribute("data-disable-click-on-enter"))return kw(n,t),!0;n=ig(n,Tw)}while(n!==this._root.current);return!1},t.prototype._getFirstInnerZone=function(e){if(!(e=e||this._activeElement||this._root.current))return null;if(_g(e))return Ew[e.getAttribute(yw)];for(var t=e.firstElementChild;t;){if(_g(t))return Ew[t.getAttribute(yw)];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,s=this.props.direction===pw.bidirectional;if(!o||!this._root.current)return!1;if(this._isElementInput(o)&&!this._shouldInputLoseFocus(o,e))return!1;var u=s?o.getBoundingClientRect():null;do{if(o=e?gg(this._root.current,o):mg(this._root.current,o),!s){a=o;break}if(o){var c=t(u,o.getBoundingClientRect());if(-1===c&&-1===i){a=o;break}if(c>-1&&(-1===i||c<i)&&(i=c,a=o),i>=0&&c<0)break}}while(o);if(a&&a!==this._activeElement)l=!0,this.focusElement(a);else if(this.props.isCircularNavigation&&r)return e?this.focusElement(gg(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(mg(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),l=Math.floor(r.bottom);return a<l?e._shouldWrapFocus(e._activeElement,_w)?Sw:ww:((-1===t&&a>=l||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),l=Math.floor(o.top),s=Math.floor(r.top);return a>s?e._shouldWrapFocus(e._activeElement,_w)?Sw:ww:((-1===t&&a<=s||l===t)&&(t=l,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,Cw);return!!this._moveFocus(pv(e),function(r,o){var i=-1;return(pv(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!==pw.vertical?i=r.right-o.right:n||(i=ww),i},void 0,n)&&(this._setFocusAlignment(this._activeElement,!0,!1),!0)},t.prototype._moveFocusRight=function(e){var t=this,n=this._shouldWrapFocus(this._activeElement,Cw);return!!this._moveFocus(!pv(e),function(r,o){var i=-1;return(pv(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!==pw.vertical?i=o.left-r.left:n||(i=ww),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=Ag(n);if(!r)return!1;var o=-1,i=void 0,a=-1,l=-1,s=r.clientHeight,u=n.getBoundingClientRect();do{if(n=e?gg(this._root.current,n):mg(this._root.current,n)){var c=n.getBoundingClientRect(),d=Math.floor(c.top),f=Math.floor(u.bottom),p=Math.floor(c.bottom),h=Math.floor(u.top),m=this._getHorizontalDistanceFromCenter(e,u,c);if(e&&d>f+s||!e&&p<h-s)break;m>-1&&(e&&d>a?(a=d,o=m,i=n):!e&&p<l?(l=p,o=m,i=n):(-1===o||m<=o)&&(o=m,i=n))}}while(n);var g=!1;if(i&&i!==this._activeElement)g=!0,this.focusElement(i),this._setFocusAlignment(i,!1,!0);else if(this.props.isCircularNavigation&&t)return e?this.focusElement(gg(this._root.current,this._root.current.firstElementChild,!0)):this.focusElement(mg(this._root.current,this._root.current.lastElementChild,!0,!0,!0));return g},t.prototype._setFocusAlignment=function(e,t,n){if(this.props.direction===pw.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=ig(e,Tw);t&&t!==this._root.current&&t!==this._getDocument().body;){if(_g(t))return t;t=ig(t,Tw)}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&&!ag(e,this._activeElement)&&(this._activeElement=null)),this._activeElement&&!bg(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];_g(r)?"true"===r.getAttribute(vw)&&(this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(bw)&&r.setAttribute(bw,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(bw)&&r.setAttribute(bw,"0"))):(r.getAttribute&&"false"===r.getAttribute(vw)&&r.setAttribute(bw,"-1"),bg(r,void 0,this._inShadowRoot)?this.props.disabled?r.setAttribute(bw,"-1"):this._isInnerZone||(this._activeElement||this._defaultFocusElement)&&this._activeElement!==r?"-1"!==r.getAttribute(bw)&&r.setAttribute(bw,"-1"):(this._defaultFocusElement=r,"0"!==r.getAttribute(bw)&&r.setAttribute(bw,"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&&Iw.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||Sg(e,t)},t.prototype._portalContainsElement=function(e){return e&&!!this._root.current&&dg(e,this._root.current)},t.prototype._getDocument=function(){return fg(this._root.current)},t.defaultProps={isCircularNavigation:!1,direction:pw.bidirectional,shouldRaiseClicks:!0,"data-tabster":'{"uncontrolled": {}}'},t.contextType=$v,t}(z.Component);function Rw(e){return e.canCheck?!(!e.isChecked&&!e.checked):"boolean"==typeof e.isChecked?e.isChecked:"boolean"==typeof e.checked?e.checked:null}function Dw(e){return!(!e.subMenuProps&&!e.items)}function Mw(e){return!(!e.isDisabled&&!e.disabled)}function Ow(e){return null!==Rw(e)?"menuitemcheckbox":"menuitem"}!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.Section=3]="Section"}(xw||(xw={}));var Aw,Lw=function(e){var t=e.item,n=e.classNames,r=t.iconProps;return z.createElement(sw,em({},r,{className:n.icon}))},Nw=function(e){var t=e.item;return e.hasIcons?t.onRenderIcon?t.onRenderIcon(e,Lw):Lw(e):null},Bw=function(e){var t=e.onCheckmarkClick,n=e.item,r=e.classNames,o=Rw(n);if(t){return z.createElement(sw,{iconName:!1!==n.canCheck&&o?"CheckMark":"",className:r.checkmarkIcon,onClick:function(e){return t(n,e)}})}return null},zw=function(e){var t=e.item,n=e.classNames;return t.text||t.name?z.createElement("span",{className:n.label},t.text||t.name):null},Hw=function(e){var t=e.item,n=e.classNames;return t.secondaryText?z.createElement("span",{className:n.secondaryText},t.secondaryText):null},Vw=function(e){var t=e.item,n=e.classNames,r=e.theme;return Dw(t)?z.createElement(sw,em({iconName:pv(r)?"ChevronLeft":"ChevronRight"},t.submenuIconProps,{className:n.subMenuIcon})):null},Ww=function(e){function t(t){var n=e.call(this,t)||this;return n.openSubMenu=function(){var e=n.props,t=e.item,r=e.openSubMenu,o=e.getSubmenuTarget;if(o){var i=o();Dw(t)&&r&&i&&r(t,i)}},n.dismissSubMenu=function(){var e=n.props,t=e.item,r=e.dismissSubMenu;Dw(t)&&r&&r()},n.dismissMenu=function(e){var t=n.props.dismissMenu;t&&t(void 0,e)},wy(n),n}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.item,n=e.classNames,r=t.onRenderContent||this._renderLayout;return z.createElement("div",{className:t.split?n.linkContentMenu:n.linkContent},r(this.props,{renderCheckMarkIcon:Bw,renderItemIcon:Nw,renderItemName:zw,renderSecondaryText:Hw,renderSubMenuIcon:Vw}))},t.prototype._renderLayout=function(e,t){return z.createElement(z.Fragment,null,t.renderCheckMarkIcon(e),t.renderItemIcon(e),t.renderItemName(e),t.renderSecondaryText(e),t.renderSubMenuIcon(e))},t}(z.Component),Uw=Ev(function(e){return Qm({wrapper:{display:"inline-flex",height:"100%",alignItems:"center"},divider:{width:1,height:"100%",backgroundColor:e.palette.neutralTertiaryAlt}})}),jw=36,Kw=O_(0,639),qw=Ev(function(e){var t,n,r,o,i,a=e.semanticColors,l=e.fonts,s=e.palette,u=a.menuItemBackgroundHovered,c=a.menuItemTextHovered,d=a.menuItemBackgroundPressed,f=a.bodyDivider;return $m({item:[l.medium,{color:a.bodyText,position:"relative",boxSizing:"border-box"}],divider:{display:"block",height:"1px",backgroundColor:f,position:"relative"},root:[A_(e),l.medium,{color:a.bodyText,backgroundColor:"transparent",border:"none",width:"100%",height:jw,lineHeight:jw,display:"block",cursor:"pointer",padding:"0px 8px 0 4px",textAlign:"left"}],rootDisabled:{color:a.disabledBodyText,cursor:"default",pointerEvents:"none",selectors:(t={},t[R_]={color:"GrayText",opacity:1},t)},rootHovered:{backgroundColor:u,color:c,selectors:{".ms-ContextualMenu-icon":{color:s.themeDarkAlt},".ms-ContextualMenu-submenuIcon":{color:s.neutralPrimary}}},rootFocused:{backgroundColor:s.white},rootChecked:{selectors:{".ms-ContextualMenu-checkmarkIcon":{color:s.neutralPrimary}}},rootPressed:{backgroundColor:d,selectors:{".ms-ContextualMenu-icon":{color:s.themeDark},".ms-ContextualMenu-submenuIcon":{color:s.neutralPrimary}}},rootExpanded:{backgroundColor:d,color:a.bodyTextChecked,selectors:(n={".ms-ContextualMenu-submenuIcon":(r={},r[R_]={color:"inherit"},r)},n[R_]=em({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)},linkContent:{whiteSpace:"nowrap",height:"inherit",display:"flex",alignItems:"center",maxWidth:"100%"},anchorLink:{padding:"0px 8px 0 4px",textRendering:"auto",color:"inherit",letterSpacing:"normal",wordSpacing:"normal",textTransform:"none",textIndent:"0px",textShadow:"none",textDecoration:"none",boxSizing:"border-box"},label:{margin:"0 4px",verticalAlign:"middle",display:"inline-block",flexGrow:"1",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},secondaryText:{color:e.palette.neutralSecondary,paddingLeft:"20px",textAlign:"right"},icon:{display:"inline-block",minHeight:"1px",maxHeight:jw,fontSize:xb.medium,width:xb.medium,margin:"0 4px",verticalAlign:"middle",flexShrink:"0",selectors:(o={},o[Kw]={fontSize:xb.large,width:xb.large},o)},iconColor:{color:a.menuIcon},iconDisabled:{color:a.disabledBodyText},checkmarkIcon:{color:a.bodySubtext},subMenuIcon:{height:jw,lineHeight:jw,color:s.neutralSecondary,textAlign:"center",display:"inline-block",verticalAlign:"middle",flexShrink:"0",fontSize:xb.small,selectors:(i={":hover":{color:s.neutralPrimary},":active":{color:s.neutralPrimary}},i[Kw]={fontSize:xb.medium},i)},splitButtonFlexContainer:[A_(e),{display:"flex",height:jw,flexWrap:"nowrap",justifyContent:"center",alignItems:"flex-start"}]})}),Gw="28px",$w=O_(0,639),Qw=Ev(function(e){var t;return Qm(Uw(e),{wrapper:{position:"absolute",right:28,selectors:(t={},t[$w]={right:32},t)},divider:{height:16,width:1}})}),Zw={item:"ms-ContextualMenu-item",divider:"ms-ContextualMenu-divider",root:"ms-ContextualMenu-link",isChecked:"is-checked",isExpanded:"is-expanded",isDisabled:"is-disabled",linkContent:"ms-ContextualMenu-linkContent",linkContentMenu:"ms-ContextualMenu-linkContent",icon:"ms-ContextualMenu-icon",iconColor:"ms-ContextualMenu-iconColor",checkmarkIcon:"ms-ContextualMenu-checkmarkIcon",subMenuIcon:"ms-ContextualMenu-submenuIcon",label:"ms-ContextualMenu-itemText",secondaryText:"ms-ContextualMenu-secondaryText",splitMenu:"ms-ContextualMenu-splitMenu",screenReaderText:"ms-ContextualMenu-screenReaderText"},Yw=Ev(function(e,t,n,r,o,i,a,l,s,u,c,d){var f,p,h,m,g=qw(e),v=H_(Zw,e);return Qm({item:[v.item,g.item,a],divider:[v.divider,g.divider,l],root:[v.root,g.root,r&&[v.isChecked,g.rootChecked],o&&g.anchorLink,n&&[v.isExpanded,g.rootExpanded],t&&[v.isDisabled,g.rootDisabled],!t&&!n&&[{selectors:(f={":hover":g.rootHovered,":active":g.rootPressed},f[".".concat(Py," &:focus, .").concat(Py," &:focus:hover, :host(.").concat(Py,") &:focus, :host(.").concat(Py,") &:focus:hover")]=g.rootFocused,f[".".concat(Py," &:hover, :host(.").concat(Py,") &:hover")]={background:"inherit;"},f)}],d],splitPrimary:[g.root,{width:"calc(100% - ".concat(Gw,")")},r&&["is-checked",g.rootChecked],(t||c)&&["is-disabled",g.rootDisabled],!(t||c)&&!r&&[{selectors:(p={":hover":g.rootHovered},p[":hover ~ .".concat(v.splitMenu)]=g.rootHovered,p[":active"]=g.rootPressed,p[".".concat(Py," &:focus, .").concat(Py," &:focus:hover, :host(.").concat(Py,") &:focus, :host(.").concat(Py,") &:focus:hover")]=g.rootFocused,p[".".concat(Py," &:hover, :host(.").concat(Py,") &:hover")]={background:"inherit;"},p)}]],splitMenu:[v.splitMenu,g.root,{flexBasis:"0",padding:"0 8px",minWidth:Gw},n&&["is-expanded",g.rootExpanded],t&&["is-disabled",g.rootDisabled],!t&&!n&&[{selectors:(h={":hover":g.rootHovered,":active":g.rootPressed},h[".".concat(Py," &:focus, .").concat(Py," &:focus:hover, :host(.").concat(Py,") &:focus, :host(.").concat(Py,") &:focus:hover")]=g.rootFocused,h[".".concat(Py," &:hover, :host(.").concat(Py,") &:hover")]={background:"inherit;"},h)}]],anchorLink:g.anchorLink,linkContent:[v.linkContent,g.linkContent],linkContentMenu:[v.linkContentMenu,g.linkContent,{justifyContent:"center"}],icon:[v.icon,i&&g.iconColor,g.icon,s,t&&[v.isDisabled,g.iconDisabled]],iconColor:g.iconColor,checkmarkIcon:[v.checkmarkIcon,i&&g.checkmarkIcon,g.icon,s],subMenuIcon:[v.subMenuIcon,g.subMenuIcon,u,n&&{color:e.palette.neutralPrimary},t&&[g.iconDisabled]],label:[v.label,g.label],secondaryText:[v.secondaryText,g.secondaryText],splitContainer:[g.splitButtonFlexContainer,!t&&!r&&[{selectors:(m={},m[".".concat(Py," &:focus, .").concat(Py," &:focus:hover, :host(.").concat(Py,") &:focus, :host(.").concat(Py,") &:focus:hover")]=g.rootFocused,m)}]],screenReaderText:[v.screenReaderText,g.screenReaderText,B_,{visibility:"hidden"}]})}),Jw=function(e){var t=e.theme,n=e.disabled,r=e.expanded,o=e.checked,i=e.isAnchorLink,a=e.knownIcon,l=e.itemClassName,s=e.dividerClassName,u=e.iconClassName,c=e.subMenuClassName,d=e.primaryDisabled,f=e.className;return Yw(t,n,r,o,i,a,l,s,u,c,d,f)},Xw=ob(Ww,Jw,void 0,{scope:"ContextualMenuItem"}),ek=function(e){function t(t){var n=e.call(this,t)||this;return n._onItemMouseEnter=function(e){var t=n.props,r=t.item,o=t.onItemMouseEnter;o&&o(r,e,e.currentTarget)},n._onItemClick=function(e){var t=n.props,r=t.item,o=t.onItemClickBase;o&&o(r,e,e.currentTarget)},n._onItemMouseLeave=function(e){var t=n.props,r=t.item,o=t.onItemMouseLeave;o&&o(r,e)},n._onItemKeyDown=function(e){var t=n.props,r=t.item,o=t.onItemKeyDown;o&&o(r,e)},n._onItemMouseMove=function(e){var t=n.props,r=t.item,o=t.onItemMouseMove;o&&o(r,e,e.currentTarget)},n._getSubmenuTarget=function(){},wy(n),n}return Xh(t,e),t.prototype.shouldComponentUpdate=function(e){return!Eg(e,this.props)},t}(z.Component);!function(e){e.KEYTIP_ADDED="keytipAdded",e.KEYTIP_REMOVED="keytipRemoved",e.KEYTIP_UPDATED="keytipUpdated",e.PERSISTED_KEYTIP_ADDED="persistedKeytipAdded",e.PERSISTED_KEYTIP_REMOVED="persistedKeytipRemoved",e.PERSISTED_KEYTIP_EXECUTE="persistedKeytipExecute",e.ENTER_KEYTIP_MODE="enterKeytipMode",e.EXIT_KEYTIP_MODE="exitKeytipMode"}(Aw||(Aw={}));var tk=function(){function e(){this.keytips={},this.persistedKeytips={},this.sequenceMapping={},this.inKeytipMode=!1,this.shouldEnterKeytipMode=!0,this.delayUpdatingKeytipChange=!1}return e.getInstance=function(){return this._instance},e.prototype.init=function(e){this.delayUpdatingKeytipChange=e},e.prototype.register=function(e,t){void 0===t&&(t=!1);var n=e;t||(n=this.addParentOverflow(e),this.sequenceMapping[n.keySequences.toString()]=n);var r=this._getUniqueKtp(n);if(t?this.persistedKeytips[r.uniqueID]=r:this.keytips[r.uniqueID]=r,this.inKeytipMode||!this.delayUpdatingKeytipChange){var o=t?Aw.PERSISTED_KEYTIP_ADDED:Aw.KEYTIP_ADDED;Pg.raise(this,o,{keytip:n,uniqueID:r.uniqueID})}return r.uniqueID},e.prototype.update=function(e,t){var n=this.addParentOverflow(e),r=this._getUniqueKtp(n,t),o=this.keytips[t];o&&(r.keytip.visible=o.keytip.visible,this.keytips[t]=r,delete this.sequenceMapping[o.keytip.keySequences.toString()],this.sequenceMapping[r.keytip.keySequences.toString()]=r.keytip,!this.inKeytipMode&&this.delayUpdatingKeytipChange||Pg.raise(this,Aw.KEYTIP_UPDATED,{keytip:r.keytip,uniqueID:r.uniqueID}))},e.prototype.unregister=function(e,t,n){void 0===n&&(n=!1),n?delete this.persistedKeytips[t]:delete this.keytips[t],!n&&delete this.sequenceMapping[e.keySequences.toString()];var r=n?Aw.PERSISTED_KEYTIP_REMOVED:Aw.KEYTIP_REMOVED;!this.inKeytipMode&&this.delayUpdatingKeytipChange||Pg.raise(this,r,{keytip:e,uniqueID:t})},e.prototype.enterKeytipMode=function(){Pg.raise(this,Aw.ENTER_KEYTIP_MODE)},e.prototype.exitKeytipMode=function(){Pg.raise(this,Aw.EXIT_KEYTIP_MODE)},e.prototype.getKeytips=function(){var e=this;return Object.keys(this.keytips).map(function(t){return e.keytips[t].keytip})},e.prototype.addParentOverflow=function(e){var t=rm([],e.keySequences,!0);if(t.pop(),0!==t.length){var n=this.sequenceMapping[t.toString()];if(n&&n.overflowSetSequence)return em(em({},e),{overflowSetSequence:n.overflowSetSequence})}return e},e.prototype.menuExecute=function(e,t){Pg.raise(this,Aw.PERSISTED_KEYTIP_EXECUTE,{overflowButtonSequences:e,keytipSequences:t})},e.prototype._getUniqueKtp=function(e,t){return void 0===t&&(t=sy()),{keytip:em({},e),uniqueID:t}},e._instance=new e,e}();function nk(e){return e.reduce(function(e,t){return e+"-"+t.split("").join("-")},"ktp")}function rk(e){var t=z.useRef(void 0),n=e.keytipProps?em({disabled:e.disabled},e.keytipProps):void 0,r=QC(tk.getInstance()),o=tS(e);sb(function(){t.current&&n&&((null==o?void 0:o.keytipProps)!==e.keytipProps||(null==o?void 0:o.disabled)!==e.disabled)&&r.update(n,t.current)}),sb(function(){return n&&(t.current=r.register(n)),function(){n&&r.unregister(n,t.current)}},[]);var i={ariaDescribedBy:e.ariaDescribedBy,keytipId:void 0};return n&&(i=function(e,t,n){var r=e.addParentOverflow(t),o=sv(n,function(e){var t=" ktp-layer-id";return e.length?t+" "+nk(e):t}(r.keySequences)),i=rm([],r.keySequences,!0);r.overflowSetSequence&&(i=function(e,t){var n,r,o,i=t.length,a=rm([],t,!0).pop(),l=rm([],e,!0);return n=i-1,r=a,(o=l.slice()).splice(n,0,r),o}(i,r.overflowSetSequence));var a=nk(i);return{ariaDescribedBy:o,keytipId:a}}(r,n,e.ariaDescribedBy)),i}var ok=function(e){var t,n=e.children,r=rk(tm(e,["children"])),o=r.keytipId,i=r.ariaDescribedBy;return n(((t={})["data-ktp-target"]=o,t["data-ktp-execute-target"]=o,t["aria-describedby"]=i,t))},ik=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._anchor=z.createRef(),t._getMemoizedMenuButtonKeytipProps=Ev(function(e){return em(em({},e),{hasMenu:!0})}),t._getSubmenuTarget=function(){return t._anchor.current?t._anchor.current:void 0},t._onItemClick=function(e){var n=t.props,r=n.item,o=n.onItemClick;o&&o(r,e)},t._renderAriaDescription=function(e,n){return e?z.createElement("span",{id:t._ariaDescriptionId,className:n},e):null},t}return Xh(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,o=t.index,i=t.focusableElementIndex,a=t.totalItemCount,l=t.hasCheckmarks,s=t.hasIcons,u=t.expandedMenuItemKey,c=t.onItemClick,d=t.openSubMenu,f=t.dismissSubMenu,p=t.dismissMenu,h=Xw;this.props.item.contextualMenuItemAs&&(h=Rv(this.props.item.contextualMenuItemAs,h)),this.props.contextualMenuItemAs&&(h=Rv(this.props.contextualMenuItemAs,h));var m=n.rel;n.target&&"_blank"===n.target.toLowerCase()&&(m=m||"nofollow noopener noreferrer");var g=Dw(n),v=Sy(n,my),y=Mw(n),b=n.itemProps,_=n.ariaDescription,C=n.keytipProps;C&&g&&(C=this._getMemoizedMenuButtonKeytipProps(C)),_&&(this._ariaDescriptionId=sy());var S=sv(n.ariaDescribedBy,_?this._ariaDescriptionId:void 0,v["aria-describedby"]),w={"aria-describedby":S};return z.createElement("div",null,z.createElement(ok,{keytipProps:n.keytipProps,ariaDescribedBy:S,disabled:y},function(t){return z.createElement("a",em({},w,v,t,{ref:e._anchor,href:n.href,target:n.target,rel:m,className:r.root,role:"menuitem","aria-haspopup":g||void 0,"aria-expanded":g?n.key===u:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":Mw(n),style:n.style,onClick:e._onItemClick,onMouseEnter:e._onItemMouseEnter,onMouseLeave:e._onItemMouseLeave,onMouseMove:e._onItemMouseMove,onKeyDown:g?e._onItemKeyDown:void 0}),z.createElement(h,em({componentRef:n.componentRef,item:n,classNames:r,index:o,onCheckmarkClick:l&&c?c:void 0,hasIcons:s,openSubMenu:d,dismissSubMenu:f,dismissMenu:p,getSubmenuTarget:e._getSubmenuTarget},b)),e._renderAriaDescription(_,r.screenReaderText))}))},t}(ek),ak=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._btn=z.createRef(),t._getMemoizedMenuButtonKeytipProps=Ev(function(e){return em(em({},e),{hasMenu:!0})}),t._renderAriaDescription=function(e,n){return e?z.createElement("span",{id:t._ariaDescriptionId,className:n},e):null},t._getSubmenuTarget=function(){return t._btn.current?t._btn.current:void 0},t}return Xh(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.item,r=t.classNames,o=t.index,i=t.focusableElementIndex,a=t.totalItemCount,l=t.hasCheckmarks,s=t.hasIcons,u=t.contextualMenuItemAs,c=t.expandedMenuItemKey,d=t.onItemMouseDown,f=t.onItemClick,p=t.openSubMenu,h=t.dismissSubMenu,m=t.dismissMenu,g=Xw;n.contextualMenuItemAs&&(g=Rv(n.contextualMenuItemAs,g)),u&&(g=Rv(u,g));var v=Rw(n),y=null!==v,b=Ow(n),_=Dw(n),C=n.itemProps,S=n.ariaLabel,w=n.ariaDescription,k=Sy(n,gy);delete k.disabled;var x=n.role||b;w&&(this._ariaDescriptionId=sy());var E=sv(n.ariaDescribedBy,w?this._ariaDescriptionId:void 0,k["aria-describedby"]),F={className:r.root,onClick:this._onItemClick,onKeyDown:_?this._onItemKeyDown:void 0,onMouseEnter:this._onItemMouseEnter,onMouseLeave:this._onItemMouseLeave,onMouseDown:function(e){return d?d(n,e):void 0},onMouseMove:this._onItemMouseMove,href:n.href,title:n.title,"aria-label":S,"aria-describedby":E,"aria-haspopup":_||void 0,"aria-expanded":_?n.key===c:void 0,"aria-posinset":i+1,"aria-setsize":a,"aria-disabled":Mw(n),"aria-checked":"menuitemcheckbox"!==x&&"menuitemradio"!==x||!y?void 0:!!v,"aria-selected":"menuitem"===x&&y?!!v:void 0,role:x,style:n.style},I=n.keytipProps;return I&&_&&(I=this._getMemoizedMenuButtonKeytipProps(I)),z.createElement(ok,{keytipProps:I,ariaDescribedBy:E,disabled:Mw(n)},function(t){return z.createElement("button",em({ref:e._btn},k,F,t),z.createElement(g,em({componentRef:n.componentRef,item:n,classNames:r,index:o,onCheckmarkClick:l&&f?f:void 0,hasIcons:s,openSubMenu:p,dismissSubMenu:h,dismissMenu:m,getSubmenuTarget:e._getSubmenuTarget},C)),e._renderAriaDescription(w,r.screenReaderText))})},t}(ek),lk=vv(),sk=z.forwardRef(function(e,t){var n=e.styles,r=e.theme,o=e.getClassNames,i=e.className,a=lk(n,{theme:r,getClassNames:o,className:i});return z.createElement("span",{className:a.wrapper,ref:t},z.createElement("span",{className:a.divider}))});sk.displayName="VerticalDividerBase";var uk,ck=ob(sk,function(e){var t=e.theme,n=e.getClassNames,r=e.className;if(!t)throw new Error("Theme is undefined or null.");if(n){var o=n(t);return{wrapper:[o.wrapper],divider:[o.divider]}}return{wrapper:[{display:"inline-flex",height:"100%",alignItems:"center"},r],divider:[{width:1,height:"100%",backgroundColor:t.palette.neutralTertiaryAlt}]}},void 0,{scope:"VerticalDivider"}),dk=function(e){function t(t){var n=e.call(this,t)||this;return n._getMemoizedMenuButtonKeytipProps=Ev(function(e){return em(em({},e),{hasMenu:!0})}),n._onItemKeyDown=function(e){var t=n.props,r=t.item,o=t.onItemKeyDown;e.which===$g?(n._executeItemClick(e),e.preventDefault(),e.stopPropagation()):o&&o(r,e)},n._getSubmenuTarget=function(){return n._splitButton},n._renderAriaDescription=function(e,t){return e?z.createElement("span",{id:n._ariaDescriptionId,className:t},e):null},n._onItemMouseEnterPrimary=function(e){var t=n.props,r=t.item,o=t.onItemMouseEnter;o&&o(em(em({},r),{subMenuProps:void 0,items:void 0}),e,n._splitButton)},n._onItemMouseEnterIcon=function(e){var t=n.props,r=t.item,o=t.onItemMouseEnter;o&&o(r,e,n._splitButton)},n._onItemMouseMovePrimary=function(e){var t=n.props,r=t.item,o=t.onItemMouseMove;o&&o(em(em({},r),{subMenuProps:void 0,items:void 0}),e,n._splitButton)},n._onItemMouseMoveIcon=function(e){var t=n.props,r=t.item,o=t.onItemMouseMove;o&&o(r,e,n._splitButton)},n._onIconItemClick=function(e){var t=n.props,r=t.item,o=t.onItemClickBase;o&&o(r,e,n._splitButton?n._splitButton:e.currentTarget)},n._executeItemClick=function(e){var t=n.props,r=t.item,o=t.executeItemClick,i=t.onItemClick;if(!r.disabled&&!r.isDisabled)return n._processingTouch&&!r.canCheck&&i?i(r,e):void(o&&o(r,e))},n._onTouchStart=function(e){n._splitButton&&!("onpointerdown"in n._splitButton)&&n._handleTouchAndPointerEvent(e)},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._handleTouchAndPointerEvent(e),e.preventDefault(),e.stopImmediatePropagation())},n._async=new rg(n),n._events=new Pg(n),n._dismissLabelId=sy(),n}return Xh(t,e),t.prototype.componentDidMount=function(){this._splitButton&&"onpointerdown"in this._splitButton&&this._events.on(this._splitButton,"pointerdown",this._onPointerDown,!0)},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e,t=this,n=this.props,r=n.item,o=n.classNames,i=n.index,a=n.focusableElementIndex,l=n.totalItemCount,s=n.hasCheckmarks,u=n.hasIcons,c=n.onItemMouseLeave,d=n.expandedMenuItemKey,f=Dw(r),p=r.keytipProps;p&&(p=this._getMemoizedMenuButtonKeytipProps(p));var h=r.ariaDescription;h&&(this._ariaDescriptionId=sy());var m=null!==(e=Rw(r))&&void 0!==e?e:void 0;return z.createElement(ok,{keytipProps:p,disabled:Mw(r)},function(e){return z.createElement("div",{"data-ktp-target":e["data-ktp-target"],ref:function(e){t._splitButton=e},role:Ow(r),"aria-label":r.ariaLabel,className:o.splitContainer,"aria-disabled":Mw(r),"aria-expanded":f?r.key===d:void 0,"aria-haspopup":!0,"aria-describedby":sv(r.ariaDescribedBy,h?t._ariaDescriptionId:void 0,e["aria-describedby"]),"aria-checked":m,"aria-posinset":a+1,"aria-setsize":l,onMouseEnter:t._onItemMouseEnterPrimary,onMouseLeave:c?c.bind(t,em(em({},r),{subMenuProps:null,items:null})):void 0,onMouseMove:t._onItemMouseMovePrimary,onKeyDown:t._onItemKeyDown,onClick:t._executeItemClick,onTouchStart:t._onTouchStart,tabIndex:0,"data-is-focusable":!0,"aria-roledescription":r["aria-roledescription"]},t._renderSplitPrimaryButton(r,o,i,s,u),t._renderSplitDivider(r),t._renderSplitIconButton(r,o,i,e),t._renderAriaDescription(h,o.screenReaderText))})},t.prototype._renderSplitPrimaryButton=function(e,t,n,r,o){var i=this.props,a=i.contextualMenuItemAs,l=void 0===a?Xw:a,s=i.onItemClick,u={key:e.key,disabled:Mw(e)||e.primaryDisabled,name:e.name,text:e.text||e.name,secondaryText:e.secondaryText,className:t.splitPrimary,canCheck:e.canCheck,isChecked:e.isChecked,checked:e.checked,iconProps:e.iconProps,id:this._dismissLabelId,onRenderIcon:e.onRenderIcon,data:e.data,"data-is-focusable":!1},c=e.itemProps;return z.createElement("button",em({},Sy(u,gy)),z.createElement(l,em({"data-is-focusable":!1,item:em(em({},u),{onClick:e.onClick}),classNames:t,index:n,onCheckmarkClick:r&&s?s:void 0,hasIcons:o},c)))},t.prototype._renderSplitDivider=function(e){var t=e.getSplitButtonVerticalDividerClassNames||Qw;return z.createElement(ck,{getClassNames:t})},t.prototype._renderSplitIconButton=function(e,t,n,r){var o=this.props,i=o.onItemMouseLeave,a=o.onItemMouseDown,l=o.openSubMenu,s=o.dismissSubMenu,u=o.dismissMenu,c=Xw;this.props.item.contextualMenuItemAs&&(c=Rv(this.props.item.contextualMenuItemAs,c)),this.props.contextualMenuItemAs&&(c=Rv(this.props.contextualMenuItemAs,c));var d={onClick:this._onIconItemClick,disabled:Mw(e),className:t.splitMenu,subMenuProps:e.subMenuProps,submenuIconProps:e.submenuIconProps,split:!0,key:e.key,"aria-labelledby":this._dismissLabelId},f=em(em({},Sy(d,gy)),{onMouseEnter:this._onItemMouseEnterIcon,onMouseLeave:i?i.bind(this,e):void 0,onMouseDown:function(t){return a?a(e,t):void 0},onMouseMove:this._onItemMouseMoveIcon,"data-is-focusable":!1,"data-ktp-execute-target":r["data-ktp-execute-target"],"aria-haspopup":!0}),p=e.itemProps;return z.createElement("button",em({},f),z.createElement(c,em({componentRef:e.componentRef,item:d,classNames:t,index:n,hasIcons:!1,openSubMenu:l,dismissSubMenu:s,dismissMenu:u,getSubmenuTarget:this._getSubmenuTarget},p)))},t.prototype._handleTouchAndPointerEvent=function(e){var t=this,n=this.props.onTap;n&&n(e),this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){t._processingTouch=!1,t._lastTouchTimeoutId=void 0},500)},t}(ek);!function(e){e[e.small=0]="small",e[e.medium=1]="medium",e[e.large=2]="large",e[e.xLarge=3]="xLarge",e[e.xxLarge=4]="xxLarge",e[e.xxxLarge=5]="xxxLarge",e[e.unknown=999]="unknown"}(uk||(uk={}));var fk,pk=[479,639,1023,1365,1919,99999999];function hk(){var e;return null!==(e=fk)&&void 0!==e?e:uk.large}function mk(e){try{return e.document.documentElement.clientWidth}catch(t){return e.innerWidth}}var gk=function(e,t){var n=z.useState(hk()),r=n[0],o=n[1],i=z.useCallback(function(){var t=function(e){var t=uk.small;if(!e)throw new Error("Content was rendered in a server environment without providing a default responsive mode. Call setResponsiveMode to define what the responsive mode is.");try{for(;mk(e)>pk[t];)t++}catch(e){t=hk()}return fk=t,t}(ng(e.current));r!==t&&o(t)},[e,r]);return eS(Jv(),"resize",i),z.useEffect(function(){void 0===t&&i()},[t]),null!=t?t:r},vk=z.createContext({}),yk=vv(),bk=vv(),_k={items:[],shouldFocusOnMount:!0,gapSpace:0,directionalHint:fC,beakWidth:16};function Ck(e){for(var t=0,n=0,r=e;n<r.length;n++){var o=r[n];if(o.itemType!==xw.Divider&&o.itemType!==xw.Header)t+=o.customOnRenderListLength?o.customOnRenderListLength:1}return t}function Sk(e,t){var n=null==t?void 0:t.target,r=e.subMenuProps?e.subMenuProps.items:e.items;if(r){for(var o=[],i=0,a=r;i<a.length;i++){var l=a[i];if(l.preferMenuTargetAsEventTarget){var s=l.onClick,u=tm(l,["onClick"]);o.push(em(em({},u),{onClick:Dk(s,n)}))}else o.push(l)}return o}}var wk="ContextualMenu",kk=Ev(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return Ym.apply(void 0,rm([t,Jw],e,!1))}});function xk(e,t){var n=e.hidden,r=e.items,o=e.theme,i=e.className,a=e.id,l=e.target,s=z.useState(),u=s[0],c=s[1],d=z.useState(),f=d[0],p=d[1],h=z.useState(),m=h[0],g=h[1],v=JC(wk,a),y=z.useCallback(function(){g(void 0),c(void 0),p(void 0)},[]),b=z.useCallback(function(e,t,n){var r=e.key;u!==r&&(t.focus(),g(n),c(r),p(t))},[u]);z.useEffect(function(){n&&y()},[n,y]);var _=function(e,t){var n=z.useRef(!1);z.useEffect(function(){return n.current=!0,function(){n.current=!1}},[]);var r=function(r,o){o?e(r,o):n.current&&t()};return r}(t,y);return[u,b,function(){var e=Rk(u,r),t=null;if(e&&(t={items:Sk(e,{target:l}),target:f,onDismiss:_,isSubMenu:!0,id:v,shouldFocusOnMount:!0,shouldFocusOnContainer:m,directionalHint:pv(o)?pC:gC,className:i,gapSpace:0,isBeakVisible:!1},e.subMenuProps&&Fg(t,e.subMenuProps),e.preferMenuTargetAsEventTarget)){var n=e.onItemClick;t.onItemClick=Dk(n,l)}return t},_]}function Ek(e,t,n,r){var o=e.theme,i=e.isSubMenu,a=e.focusZoneProps,l=void 0===a?{}:a,s=l.checkForNoWrap,u=l.direction,c=void 0===u?pw.vertical:u,d=z.useRef(void 0),f=function(e,n,r){var o=!1;return n(e)&&(t(e,r),e.preventDefault(),e.stopPropagation(),o=!0),o},p=function(e){return e.which===Zg||function(e){var t=pv(o)?ov:nv;return!(e.which!==t||!i||c!==pw.vertical&&(!s||Sg(e.target,"data-no-horizontal-wrap")))}(e)||e.which===rv&&(e.altKey||e.metaKey)},h=function(e){d.current=Ik(e);var t=e.which===Zg&&(eb()||Yy());return f(e,p,t)},m=function(e){var t=d.current&&Ik(e);return d.current=!1,!!t&&!(Yy()||eb())};return[h,function(e){return f(e,m,!0)},function(e){if(!h(e)&&n.current){var t=!(!e.altKey&&!e.metaKey),r=e.which===rv,o=e.which===iv;if(!t&&(r||o)){var i=r?hg(n.current,n.current.lastChild,!0):pg(n.current,n.current.firstChild,!0);i&&(i.focus(),e.preventDefault(),e.stopPropagation())}}},function(e,t){var n=pv(o)?nv:ov;e.disabled||t.which!==n&&t.which!==$g&&(t.which!==iv||!t.altKey&&!t.metaKey)||(r(e,t.currentTarget),t.preventDefault())}]}var Fk=z.memo(z.forwardRef(function(e,t){var n,r=ab(_k,e);r.ref;var o=tm(r,["ref"]),i=z.useRef(null),a=$C(),l=JC(wk,o.id),s=function(e,t){var n;return null===(n=o.onDismiss)||void 0===n?void 0:n.call(o,e,t)},u=nS(o.target,i),c=u[0],d=u[1],f=function(e,t,n){var r=e.hidden,o=e.onRestoreFocus,i=z.useRef(void 0),a=z.useCallback(function(e){var t,n;o?o(e):(null==e?void 0:e.documentContainsFocus)&&(null===(n=null===(t=i.current)||void 0===t?void 0:t.focus)||void 0===n||n.call(t))},[o]);return sb(function(){var e,o;if(r)i.current&&(a({originalElement:i.current,containsFocus:!0,documentContainsFocus:(null===(o=fg())||void 0===o?void 0:o.hasFocus())||!1}),i.current=void 0);else{var l=null==t?void 0:t.document.activeElement;(null===(e=n.current)||void 0===e?void 0:e.contains(l))||"BODY"===l.tagName||(i.current=l)}},[r,null==t?void 0:t.document.activeElement,a,n]),[a]}(o,d,i)[0],p=xk(o,s),h=p[0],m=p[1],g=p[2],v=p[3],y=function(e){var t=e.delayUpdateFocusOnHover,n=e.hidden,r=z.useRef(!t),o=z.useRef(!1);z.useEffect(function(){r.current=!t,o.current=!n&&!t&&o.current},[t,n]);var i=z.useCallback(function(){t&&(r.current=!1)},[t]);return[r,o,i]}(o),b=y[0],_=y[1],C=y[2],S=function(e){var t=z.useRef(!0),n=z.useRef(void 0);return[function(){t.current||void 0===n.current?t.current=!1:(e.clearTimeout(n.current),n.current=void 0),n.current=e.setTimeout(function(){t.current=!0},250)},t]}(a),w=S[0],k=S[1],x=function(e,t){var n=e.subMenuHoverDelay,r=void 0===n?250:n,o=z.useRef(void 0),i=function(){void 0!==o.current&&(t.clearTimeout(o.current),o.current=void 0)};return[i,function(e){o.current=t.setTimeout(function(){e(),i()},r)},o]}(o,a),E=x[0],F=x[1],I=x[2],T=gk(i,o.responsiveMode);!function(e){var t=e.hidden,n=void 0!==t&&t,r=e.onMenuDismissed,o=e.onMenuOpened,i=tS(n),a=z.useRef(o),l=z.useRef(r),s=z.useRef(e);a.current=o,l.current=r,s.current=e,z.useEffect(function(){var e,t;n&&!1===i?null===(e=l.current)||void 0===e||e.call(l,s.current):n||!1===i||null===(t=a.current)||void 0===t||t.call(a,s.current)},[n,i]),z.useEffect(function(){return function(){var e;return null===(e=l.current)||void 0===e?void 0:e.call(l,s.current)}},[])}(o);var P=Ek(o,s,i,m),R=P[0],D=P[1],M=P[2],O=P[3],A=function(e,t,n,r,o,i,a,l,s,u,c,d,f){var p=e.target,h=function(){return!t.current||!i.current},m=function(e,t,n){var r=n||t.currentTarget;e.key!==a&&(u(),void 0===a&&r.focus(),Dw(e)?(t.stopPropagation(),s(function(){r.focus(),c(e,r,!0)})):s(function(){d(t),r.focus()}))},g=function(t,n,r){var o=Sk(t,{target:p});if(u(),Dw(t)||o&&o.length){if(t.key!==a){var i="boolean"==typeof e.shouldFocusOnContainer?e.shouldFocusOnContainer:"mouse"===n.nativeEvent.pointerType;c(t,r,i)}}else v(t,n);n.stopPropagation(),n.preventDefault()},v=function(t,n){if(!t.disabled&&!t.isDisabled){t.preferMenuTargetAsEventTarget&&Mk(n,p);var r=!1;t.onClick?r=!!t.onClick(n,t):e.onItemClick&&(r=!!e.onItemClick(n,t)),!r&&n.defaultPrevented||f(n,!0)}};return[function(e,t,n){o.current&&(i.current=!0),h()||m(e,t,n)},function(e,a,l){var s=a.currentTarget;o.current&&(i.current=!0,t.current&&void 0===n.current&&s!==(null==r?void 0:r.document.activeElement)&&m(e,a,l))},function(e,t){var n;if(!h()&&(u(),void 0===a))if(l.current.setActive)try{l.current.setActive()}catch(e){}else null===(n=l.current)||void 0===n||n.focus()},function(e,t){g(e,t,t.currentTarget)},function(e,t){v(e,t),t.stopPropagation()},v,g]}(o,k,I,d,b,_,h,i,F,E,m,v,s),L=A[0],N=A[1],B=A[2],H=A[3],V=A[4],W=A[5],U=A[6],j=function(e,t,n){var r=0,o=e.items,i=e.totalItemCount,a=e.hasCheckmarks,l=e.hasIcons;return z.createElement("ul",{className:t.list,onKeyDown:R,onKeyUp:D,role:"presentation"},o.map(function(e,n){var o=K(e,n,r,i,a,l,t);if(e.itemType!==xw.Divider&&e.itemType!==xw.Header){var s=e.customOnRenderListLength?e.customOnRenderListLength:1;r+=s}return o}))},K=function(e,t,n,r,i,a,l){var s,u,c=[],d=e.iconProps||{iconName:"None"},f=e.getItemClassNames,p=e.itemProps,m=p?p.styles:void 0,g=e.itemType===xw.Divider?e.className:void 0,v=e.submenuIconProps?e.submenuIconProps.className:"";if(f)u=f(o.theme,Mw(e),h===e.key,!!Rw(e),!!e.href,"None"!==d.iconName,e.className,g,d.className,v,e.primaryDisabled);else{var y={theme:o.theme,disabled:Mw(e),expanded:h===e.key,checked:!!Rw(e),isAnchorLink:!!e.href,knownIcon:"None"!==d.iconName,itemClassName:e.className,dividerClassName:g,iconClassName:d.className,subMenuClassName:v,primaryDisabled:e.primaryDisabled};u=bk(kk(null===(s=l.subComponentStyles)||void 0===s?void 0:s.menuItem,m),y)}switch("-"!==e.text&&"-"!==e.name||(e.itemType=xw.Divider),e.itemType){case xw.Divider:c.push($(t,u));break;case xw.Header:c.push($(t,u));var b=Z(e,u,l,t,i,a);c.push(G(b,e.key||t,u,e.title));break;case xw.Section:c.push(q(e,u,l,t,i,a));break;default:var _=function(){return Q(e,u,t,n,r,i,a)},C=o.onRenderContextualMenuItem?o.onRenderContextualMenuItem(e,_):_();c.push(G(C,e.key||t,u,e.title))}return z.createElement(z.Fragment,{key:e.key},c)},q=function(e,t,n,r,o,i){var a=e.sectionProps;if(a){var s,u;if(a.title){var c=void 0,d="";if("string"==typeof a.title){var f=l+a.title.replace(/\s/g,"");c={key:"section-".concat(a.title,"-title"),itemType:xw.Header,text:a.title,id:f},d=f}else{var p=a.title.id||l+a.title.key.replace(/\s/g,"");c=em(em({},a.title),{id:p}),d=p}c&&(u={role:"group","aria-labelledby":d},s=Z(c,t,n,r,o,i))}if(a.items&&a.items.length>0){var h=0;return z.createElement("li",{role:"presentation",key:a.key||e.key||"section-".concat(r)},z.createElement("div",em({},u),z.createElement("ul",{className:n.list,role:"presentation"},a.topDivider&&$(r,t,!0,!0),s&&G(s,e.key||r,t,e.title),a.items.map(function(e,t){var r=K(e,t,h,Ck(a.items),o,i,n);if(e.itemType!==xw.Divider&&e.itemType!==xw.Header){var l=e.customOnRenderListLength?e.customOnRenderListLength:1;h+=l}return r}),a.bottomDivider&&$(r,t,!1,!0))))}}},G=function(e,t,n,r){return z.createElement("li",{role:"presentation",title:r,key:t,className:n.item},e)},$=function(e,t,n,r){return r||e>0?z.createElement("li",{role:"separator",key:"separator-"+e+(void 0===n?"":n?"-top":"-bottom"),className:t.divider,"aria-hidden":"true"}):null},Q=function(e,t,n,r,i,a,l){if(e.onRender)return e.onRender(em({"aria-posinset":r+1,"aria-setsize":i},e),s);var u={item:e,classNames:t,index:n,focusableElementIndex:r,totalItemCount:i,hasCheckmarks:a,hasIcons:l,contextualMenuItemAs:o.contextualMenuItemAs,onItemMouseEnter:L,onItemMouseLeave:B,onItemMouseMove:N,onItemMouseDown:Tk,executeItemClick:W,onItemKeyDown:O,expandedMenuItemKey:h,openSubMenu:m,dismissSubMenu:v,dismissMenu:s};if(e.href){var c=ik;return e.contextualMenuItemWrapperAs&&(c=Rv(e.contextualMenuItemWrapperAs,c)),z.createElement(c,em({},u,{onItemClick:V}))}if(e.split&&Dw(e)){var d=dk;return e.contextualMenuItemWrapperAs&&(d=Rv(e.contextualMenuItemWrapperAs,d)),z.createElement(d,em({},u,{onItemClick:H,onItemClickBase:U,onTap:E}))}var f=ak;return e.contextualMenuItemWrapperAs&&(f=Rv(e.contextualMenuItemWrapperAs,f)),z.createElement(f,em({},u,{onItemClick:H,onItemClickBase:U}))},Z=function(e,t,n,r,i,a){var l=Xw;e.contextualMenuItemAs&&(l=Rv(e.contextualMenuItemAs,l)),o.contextualMenuItemAs&&(l=Rv(o.contextualMenuItemAs,l));var s=e.itemProps,u=e.id,c=s&&Sy(s,Cy);return z.createElement("div",em({id:u,className:n.header},c,{style:e.style}),z.createElement(l,em({item:e,classNames:t,index:r,onCheckmarkClick:i?H:void 0,hasIcons:a},s)))},Y=o.isBeakVisible,J=o.items,X=o.labelElementId,ee=o.id,te=o.className,ne=o.beakWidth,re=o.directionalHint,oe=o.directionalHintForRTL,ie=o.alignTargetEdge,ae=o.gapSpace,le=o.coverTarget,se=o.ariaLabel,ue=o.doNotLayer,ce=o.target,de=o.bounds,fe=o.useTargetWidth,pe=o.useTargetAsMinWidth,he=o.directionalHintFixed,me=o.shouldFocusOnMount,ge=o.shouldFocusOnContainer,ve=o.title,ye=o.styles,be=o.theme,_e=o.calloutProps,Ce=o.onRenderSubMenu,Se=void 0===Ce?Pk:Ce,we=o.onRenderMenuList,ke=void 0===we?function(e,t){return j(e,Fe)}:we,xe=o.focusZoneProps,Ee=o.getMenuClassNames,Fe=Ee?Ee(be,te):yk(ye,{theme:be,className:te}),Ie=function e(t){for(var n=0,r=t;n<r.length;n++){var o=r[n];if(o.iconProps)return!0;if(o.itemType===xw.Section&&o.sectionProps&&e(o.sectionProps.items))return!0}return!1}(J);var Te,Pe=em(em({direction:pw.vertical,handleTabKey:hw,isCircularNavigation:!0,"data-tabster":'{"uncontrolled": {}, "focusable": { "excludeFromMover": true }}'},xe),{className:Dv(Fe.root,null===(n=o.focusZoneProps)||void 0===n?void 0:n.className)}),Re=function(e){return e.some(function(e){return!!e.canCheck||!(!e.sectionProps||!e.sectionProps.items.some(function(e){return!0===e.canCheck}))})}(J),De=h&&!0!==o.hidden?g():null;Y=void 0===Y?T<=uk.medium:Y;var Me=c.current;if((fe||pe)&&Me&&Me.offsetWidth){var Oe=Me.getBoundingClientRect().width-2;fe?Te={width:Oe}:pe&&(Te={minWidth:Oe})}if(J&&J.length>0){var Ae=Ck(J),Le=Fe.subComponentStyles?Fe.subComponentStyles.callout:void 0;return z.createElement(vk.Consumer,null,function(e){return z.createElement(jS,em({styles:Le,onRestoreFocus:f},_e,{target:ce||e.target,isBeakVisible:Y,beakWidth:ne,directionalHint:re,directionalHintForRTL:oe,gapSpace:ae,coverTarget:le,doNotLayer:ue,className:Dv("ms-ContextualMenu-Callout",_e&&_e.className),setInitialFocus:me,onDismiss:o.onDismiss||e.onDismiss,onScroll:w,bounds:de,directionalHintFixed:he,alignTargetEdge:ie,hidden:o.hidden||e.hidden,ref:t}),z.createElement("div",{style:Te,ref:i,id:ee,className:Fe.container,tabIndex:ge?0:-1,onKeyDown:M,onKeyUp:D,onFocusCapture:C,"aria-label":se,"aria-labelledby":X,role:"menu"},ve&&z.createElement("div",{className:Fe.title}," ",ve," "),J&&J.length?function(e,t){var n=o.focusZoneAs,r=void 0===n?Pw:n;return z.createElement(r,em({},t),e)}(ke({ariaLabel:se,items:J,totalItemCount:Ae,hasCheckmarks:Re,hasIcons:Ie,defaultMenuItemRenderer:function(e){return function(e,t){var n=e.index,r=e.focusableElementIndex,o=e.totalItemCount,i=e.hasCheckmarks,a=e.hasIcons;return K(e,n,r,o,i,a,t)}(e,Fe)},labelElementId:X},function(e,t){return j(e,Fe)}),Pe):null,De&&Se(De,Pk)),z.createElement(Hy,null))})}return null}),function(e,t){return!(t.shouldUpdateWhenHidden||!e.hidden||!t.hidden)||Eg(e,t)});function Ik(e){return e.which===Qg||"Meta"===e.key}function Tk(e,t){var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,e,t)}function Pk(e,t){throw Error("ContextualMenuBase: onRenderSubMenu callback is null or undefined. Please ensure to set `onRenderSubMenu` property either manually or with `styled` helper.")}function Rk(e,t){for(var n=0,r=t;n<r.length;n++){var o=r[n];if(o.itemType===xw.Section&&o.sectionProps){var i=Rk(e,o.sectionProps.items);if(i)return i}else if(o.key&&o.key===e)return o}}function Dk(e,t){return e?function(n,r){return Mk(n,t),e(n,r)}:e}function Mk(e,t){e&&t&&(e.persist(),t instanceof Event?e.target=t.target:t instanceof Element&&(e.target=t))}Fk.displayName="ContextualMenuBase";var Ok={root:"ms-ContextualMenu",container:"ms-ContextualMenu-container",list:"ms-ContextualMenu-list",header:"ms-ContextualMenu-header",title:"ms-ContextualMenu-title",isopen:"is-open"};function Ak(e){return z.createElement(Lk,em({},e))}var Lk=ob(Fk,function(e){var t=e.className,n=e.theme,r=H_(Ok,n),o=n.fonts,i=n.semanticColors,a=n.effects;return{root:[n.fonts.medium,r.root,r.isopen,{backgroundColor:i.menuBackground,minWidth:"180px"},t],container:[r.container,{selectors:{":focus":{outline:0}}}],list:[r.list,r.isopen,{listStyleType:"none",margin:"0",padding:"0"}],header:[r.header,o.small,{fontWeight:kb.semibold,color:i.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:jw,lineHeight:jw,cursor:"default",padding:"0px 6px",userSelect:"none",textAlign:"left"}],title:[r.title,{fontSize:o.mediumPlus.fontSize,paddingRight:"14px",paddingLeft:"14px",paddingBottom:"5px",paddingTop:"5px",backgroundColor:i.menuItemBackgroundPressed}],subComponentStyles:{callout:{root:{boxShadow:a.elevation8}},menuItem:{}}}},function(e){return{onRenderSubMenu:e.onRenderSubMenu?nb(e.onRenderSubMenu,Ak):Ak}},{scope:"ContextualMenu"}),Nk=Lk;Nk.displayName="ContextualMenu";var Bk={msButton:"ms-Button",msButtonHasMenu:"ms-Button--hasMenu",msButtonIcon:"ms-Button-icon",msButtonMenuIcon:"ms-Button-menuIcon",msButtonLabel:"ms-Button-label",msButtonDescription:"ms-Button-description",msButtonScreenReaderText:"ms-Button-screenReaderText",msButtonFlexContainer:"ms-Button-flexContainer",msButtonTextContainer:"ms-Button-textContainer"},zk=Ev(function(e,t,n,r,o,i,a,l,s,u,c){var d,f,p=H_(Bk,e||{}),h=u&&!c;return Qm(t.__shadowConfig__,{root:[p.msButton,t.root,r,s&&["is-checked",t.rootChecked],h&&["is-expanded",t.rootExpanded,(d={},d[":hover .".concat(p.msButtonIcon)]=t.iconExpandedHovered,d[":hover .".concat(p.msButtonMenuIcon)]=t.menuIconExpandedHovered||t.rootExpandedHovered,d[":hover"]=t.rootExpandedHovered,d)],l&&[Bk.msButtonHasMenu,t.rootHasMenu],a&&["is-disabled",t.rootDisabled],!a&&!h&&!s&&(f={":hover":t.rootHovered},f[":hover .".concat(p.msButtonLabel)]=t.labelHovered,f[":hover .".concat(p.msButtonIcon)]=t.iconHovered,f[":hover .".concat(p.msButtonDescription)]=t.descriptionHovered,f[":hover .".concat(p.msButtonMenuIcon)]=t.menuIconHovered,f[":focus"]=t.rootFocused,f[":active"]=t.rootPressed,f[":active .".concat(p.msButtonIcon)]=t.iconPressed,f[":active .".concat(p.msButtonDescription)]=t.descriptionPressed,f[":active .".concat(p.msButtonMenuIcon)]=t.menuIconPressed,f),a&&s&&[t.rootCheckedDisabled],!a&&s&&{":hover":t.rootCheckedHovered,":active":t.rootCheckedPressed},n],flexContainer:[p.msButtonFlexContainer,t.flexContainer],textContainer:[p.msButtonTextContainer,t.textContainer],icon:[p.msButtonIcon,o,t.icon,h&&t.iconExpanded,s&&t.iconChecked,a&&t.iconDisabled],label:[p.msButtonLabel,t.label,s&&t.labelChecked,a&&t.labelDisabled],menuIcon:[p.msButtonMenuIcon,i,t.menuIcon,s&&t.menuIconChecked,a&&!c&&t.menuIconDisabled,!a&&!h&&!s&&{":hover":t.menuIconHovered,":active":t.menuIconPressed},h&&["is-expanded",t.menuIconExpanded]],description:[p.msButtonDescription,t.description,s&&t.descriptionChecked,a&&t.descriptionDisabled],screenReaderText:[p.msButtonScreenReaderText,t.screenReaderText]})}),Hk="ms-SplitButton-divider",Vk=Ev(function(e,t,n,r,o){return{root:Gm(e.splitButtonMenuButton,n&&[e.splitButtonMenuButtonExpanded],t&&[e.splitButtonMenuButtonDisabled],r&&!t&&[e.splitButtonMenuButtonChecked],o&&!t&&[{":focus":e.splitButtonMenuFocused}]),splitButtonContainer:Gm(e.splitButtonContainer,!t&&r&&[e.splitButtonContainerChecked,{":hover":e.splitButtonContainerCheckedHovered}],!t&&!r&&[{":hover":e.splitButtonContainerHovered,":focus":e.splitButtonContainerFocused}],t&&e.splitButtonContainerDisabled),icon:Gm(e.splitButtonMenuIcon,t&&e.splitButtonMenuIconDisabled,!t&&o&&e.splitButtonMenuIcon),flexContainer:Gm(e.splitButtonFlexContainer),divider:Gm(Hk,e.splitButtonDivider,(o||t)&&e.splitButtonDividerDisabled)}}),Wk=function(e){function t(t){var n=e.call(this,t)||this;return n._buttonElement=z.createRef(),n._splitButtonContainer=z.createRef(),n._mergedRef=lb(),n._renderedVisibleMenu=!1,n._getMemoizedMenuButtonKeytipProps=Ev(function(e){return em(em({},e),{hasMenu:!0})}),n._onRenderIcon=function(e,t){var r=n.props.iconProps;if(r&&(void 0!==r.iconName||r.imageProps)){var o=r.className,i=r.imageProps,a=tm(r,["className","imageProps"]);if(r.styles)return z.createElement(sw,em({className:Dv(n._classNames.icon,o),imageProps:i},a));if(r.iconName)return z.createElement(iw,em({className:Dv(n._classNames.icon,o)},a));if(i)return z.createElement(uw,em({className:Dv(n._classNames.icon,o),imageProps:i},a))}return null},n._onRenderTextContents=function(){var e=n.props,t=e.text,r=e.children,o=e.secondaryText,i=void 0===o?n.props.description:o,a=e.onRenderText,l=void 0===a?n._onRenderText:a,s=e.onRenderDescription,u=void 0===s?n._onRenderDescription:s;return t||"string"==typeof r||i?z.createElement("span",{className:n._classNames.textContainer},l(n.props,n._onRenderText),u(n.props,n._onRenderDescription)):[l(n.props,n._onRenderText),u(n.props,n._onRenderDescription)]},n._onRenderText=function(){var e=n.props.text,t=n.props.children;return void 0===e&&"string"==typeof t&&(e=t),n._hasText()?z.createElement("span",{key:n._labelId,className:n._classNames.label,id:n._labelId},e):null},n._onRenderChildren=function(){var e=n.props.children;return"string"==typeof e?null:e},n._onRenderDescription=function(e){var t=e.secondaryText,r=void 0===t?n.props.description:t;return r?z.createElement("span",{key:n._descriptionId,className:n._classNames.description,id:n._descriptionId},r):null},n._onRenderAriaDescription=function(){var e=n.props.ariaDescription;return e?z.createElement("span",{className:n._classNames.screenReaderText,id:n._ariaDescriptionId},e):null},n._onRenderMenuIcon=function(e){var t=n.props.menuIconProps;return z.createElement(iw,em({iconName:"ChevronDown"},t,{className:n._classNames.menuIcon}))},n._onRenderMenu=function(e){var t=n.props.menuAs?Rv(n.props.menuAs,Nk):Nk;return z.createElement(t,em({},e))},n._onDismissMenu=function(e){var t=n.props.menuProps;t&&t.onDismiss&&t.onDismiss(e),e&&e.defaultPrevented||n._dismissMenu()},n._dismissMenu=function(){n._menuShouldFocusOnMount=void 0,n._menuShouldFocusOnContainer=void 0,n.setState({menuHidden:!0})},n._openMenu=function(e,t){void 0===t&&(t=!0),n.props.menuProps&&(n._menuShouldFocusOnContainer=e,n._menuShouldFocusOnMount=t,n._renderedVisibleMenu=!0,n.setState({menuHidden:!1}))},n._onToggleMenu=function(e){var t=!0;n.props.menuProps&&!1===n.props.menuProps.shouldFocusOnMount&&(t=!1),n.state.menuHidden?n._openMenu(e,t):n._dismissMenu()},n._onSplitContainerFocusCapture=function(e){var t=n._splitButtonContainer.current;!t||e.target&&dg(e.target,t)||t.focus()},n._onSplitButtonPrimaryClick=function(e){n.state.menuHidden||n._dismissMenu();var t=n._processingTouch&&!n.props.toggle;!t&&n.props.onClick?n.props.onClick(e):t&&n._onMenuClick(e)},n._onKeyDown=function(e){!n.props.disabled||e.which!==$g&&e.which!==Yg?n.props.disabled||(n.props.menuProps?n._onMenuKeyDown(e):void 0!==n.props.onKeyDown&&n.props.onKeyDown(e)):(e.preventDefault(),e.stopPropagation())},n._onKeyUp=function(e){n.props.disabled||void 0===n.props.onKeyUp||n.props.onKeyUp(e)},n._onKeyPress=function(e){n.props.disabled||void 0===n.props.onKeyPress||n.props.onKeyPress(e)},n._onMouseUp=function(e){n.props.disabled||void 0===n.props.onMouseUp||n.props.onMouseUp(e)},n._onMouseDown=function(e){n.props.disabled||void 0===n.props.onMouseDown||n.props.onMouseDown(e)},n._onClick=function(e){n.props.disabled||(n.props.menuProps?n._onMenuClick(e):void 0!==n.props.onClick&&n.props.onClick(e))},n._onSplitButtonContainerKeyDown=function(e){e.which===$g||e.which===Yg?n._buttonElement.current&&(n._buttonElement.current.click(),e.preventDefault(),e.stopPropagation()):n._onMenuKeyDown(e)},n._onMenuKeyDown=function(e){var t;if(!n.props.disabled){n.props.onKeyDown&&n.props.onKeyDown(e);var r=e.which===rv,o=e.which===iv;if(!e.defaultPrevented&&n._isValidMenuOpenKey(e)){var i=n.props.onMenuClick;i&&i(e,n.props),n._onToggleMenu(!1),e.preventDefault(),e.stopPropagation()}if(e.which!==$g&&e.which!==Yg||My(!0,e.target,null===(t=n.context)||void 0===t?void 0:t.registeredProviders),!e.altKey&&!e.metaKey&&(r||o))if(!n.state.menuHidden&&n.props.menuProps)(void 0!==n._menuShouldFocusOnMount?n._menuShouldFocusOnMount:n.props.menuProps.shouldFocusOnMount)||(e.preventDefault(),e.stopPropagation(),n._menuShouldFocusOnMount=!0,n.forceUpdate())}},n._onTouchStart=function(){n._isSplitButton&&n._splitButtonContainer.current&&!("onpointerdown"in n._splitButtonContainer.current)&&n._handleTouchAndPointerEvent()},n._onMenuClick=function(e){var t=n.props,r=t.onMenuClick,o=t.menuProps;r&&r(e,n.props);var i="boolean"==typeof(null==o?void 0:o.shouldFocusOnContainer)?o.shouldFocusOnContainer:"mouse"===e.nativeEvent.pointerType;e.defaultPrevented||(n._onToggleMenu(i),e.preventDefault(),e.stopPropagation())},wy(n),n._async=new rg(n),n._events=new Pg(n),n.props.split,n._labelId=sy(),n._descriptionId=sy(),n._ariaDescriptionId=sy(),n.state={menuHidden:!0},n}return Xh(t,e),Object.defineProperty(t.prototype,"_isSplitButton",{get:function(){return!!this.props.menuProps&&!!this.props.onClick&&!0===this.props.split},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this.props,n=t.ariaDescription,r=t.ariaLabel,o=t.ariaHidden,i=t.className,a=t.disabled,l=t.allowDisabledFocus,s=t.primaryDisabled,u=t.secondaryText,c=void 0===u?this.props.description:u,d=t.href,f=t.iconProps,p=t.menuIconProps,h=t.styles,m=t.checked,g=t.variantClassName,v=t.theme,y=t.toggle,b=t.getClassNames,_=t.role,C=this.state.menuHidden,S=a||s;this._classNames=b?b(v,i,g,f&&f.className,p&&p.className,S,m,!C,!!this.props.menuProps,this.props.split,!!l):zk(v,h,i,g,f&&f.className,p&&p.className,S,!!this.props.menuProps,m,!C,this.props.split);var w=this,k=w._ariaDescriptionId,x=w._labelId,E=w._descriptionId,F=!S&&!!d,I=F?"a":"button",T=Sy(Fg(F?{}:{type:"button"},this.props.rootProps,this.props),F?my:gy,["disabled"]),P=r||T["aria-label"],R=void 0;n?R=k:c&&this.props.onRenderDescription!==Bg?R=E:T["aria-describedby"]&&(R=T["aria-describedby"]);var D=void 0;T["aria-labelledby"]?D=T["aria-labelledby"]:R&&!P&&(D=this._hasText()?x:void 0);var M=!(!1===this.props["data-is-focusable"]||a&&!l||this._isSplitButton),O="menuitemcheckbox"===_||"checkbox"===_,A=O||!0===y?!!m:void 0,L=Fg(T,((e={className:this._classNames.root,ref:this._mergedRef(this.props.elementRef,this._buttonElement),disabled:S&&!l,onKeyDown:this._onKeyDown,onKeyPress:this._onKeyPress,onKeyUp:this._onKeyUp,onMouseDown:this._onMouseDown,onMouseUp:this._onMouseUp,onClick:this._onClick,"aria-label":P,"aria-labelledby":D,"aria-describedby":R,"aria-disabled":S,"data-is-focusable":M})[O?"aria-checked":"aria-pressed"]=A,e));if(o&&(L["aria-hidden"]=!0),this._isSplitButton)return this._onRenderSplitButtonContent(I,L);if(this.props.menuProps){var N=this.props.menuProps.id,B=void 0===N?"".concat(this._labelId,"-menu"):N;Fg(L,{"aria-expanded":!C,"aria-controls":C?null:B,"aria-haspopup":!0})}return this._onRenderContent(I,L)},t.prototype.componentDidMount=function(){this._isSplitButton&&this._splitButtonContainer.current&&("onpointerdown"in this._splitButtonContainer.current&&this._events.on(this._splitButtonContainer.current,"pointerdown",this._onPointerDown,!0),"onpointerup"in this._splitButtonContainer.current&&this.props.onPointerUp&&this._events.on(this._splitButtonContainer.current,"pointerup",this.props.onPointerUp,!0))},t.prototype.componentDidUpdate=function(e,t){this.props.onAfterMenuDismiss&&!t.menuHidden&&this.state.menuHidden&&this.props.onAfterMenuDismiss()},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.focus=function(){var e,t;this._isSplitButton&&this._splitButtonContainer.current?(My(!0,void 0,null===(e=this.context)||void 0===e?void 0:e.registeredProviders),this._splitButtonContainer.current.focus()):this._buttonElement.current&&(My(!0,void 0,null===(t=this.context)||void 0===t?void 0:t.registeredProviders),this._buttonElement.current.focus())},t.prototype.dismissMenu=function(){this._dismissMenu()},t.prototype.openMenu=function(e,t){this._openMenu(e,t)},t.prototype._onRenderContent=function(e,t){var n=this,r=this.props,o=e,i=r.menuIconProps,a=r.menuProps,l=r.onRenderIcon,s=void 0===l?this._onRenderIcon:l,u=r.onRenderAriaDescription,c=void 0===u?this._onRenderAriaDescription:u,d=r.onRenderChildren,f=void 0===d?this._onRenderChildren:d,p=r.onRenderMenu,h=void 0===p?this._onRenderMenu:p,m=r.onRenderMenuIcon,g=void 0===m?this._onRenderMenuIcon:m,v=r.disabled,y=r.keytipProps;y&&a&&(y=this._getMemoizedMenuButtonKeytipProps(y));var b=function(e){return z.createElement(o,em({},t,e),z.createElement("span",{className:n._classNames.flexContainer,"data-automationid":"splitbuttonprimary"},s(r,n._onRenderIcon),n._onRenderTextContents(),c(r,n._onRenderAriaDescription),f(r,n._onRenderChildren),!n._isSplitButton&&(a||i||n.props.onRenderMenuIcon)&&g(n.props,n._onRenderMenuIcon),a&&!a.doNotLayer&&n._shouldRenderMenu()&&h(n._getMenuProps(a),n._onRenderMenu)))},_=y?z.createElement(ok,{keytipProps:this._isSplitButton?void 0:y,ariaDescribedBy:t["aria-describedby"],disabled:v},function(e){return b(e)}):b();return a&&a.doNotLayer?z.createElement(z.Fragment,null,_,this._shouldRenderMenu()&&h(this._getMenuProps(a),this._onRenderMenu)):z.createElement(z.Fragment,null,_,z.createElement(Hy,null))},t.prototype._shouldRenderMenu=function(){var e=this.state.menuHidden,t=this.props,n=t.persistMenu,r=t.renderPersistedMenuHiddenOnMount;return!e||!(!n||!this._renderedVisibleMenu&&!r)},t.prototype._hasText=function(){return null!==this.props.text&&(void 0!==this.props.text||"string"==typeof this.props.children)},t.prototype._getMenuProps=function(e){var t=this.props.persistMenu,n=this.state.menuHidden;return e.ariaLabel||e.labelElementId||!this._hasText()||(e=em(em({},e),{labelElementId:this._labelId})),em(em({id:this._labelId+"-menu",directionalHint:uC},e),{shouldFocusOnContainer:this._menuShouldFocusOnContainer,shouldFocusOnMount:this._menuShouldFocusOnMount,hidden:t?n:void 0,className:Dv("ms-BaseButton-menuhost",e.className),target:this._isSplitButton?this._splitButtonContainer.current:this._buttonElement.current,onDismiss:this._onDismissMenu})},t.prototype._onRenderSplitButtonContent=function(e,t){var n=this,r=this.props,o=r.styles,i=void 0===o?{}:o,a=r.disabled,l=r.allowDisabledFocus,s=r.checked,u=r.getSplitButtonClassNames,c=r.primaryDisabled,d=r.menuProps,f=r.toggle,p=r.role,h=r.primaryActionButtonProps,m=this.props.keytipProps,g=this.state.menuHidden,v=u?u(!!a,!g,!!s,!!l):i&&Vk(i,!!a,!g,!!s,!!c);Fg(t,{onClick:void 0,onPointerDown:void 0,onPointerUp:void 0,tabIndex:-1,"data-is-focusable":!1}),m&&d&&(m=this._getMemoizedMenuButtonKeytipProps(m));var y=Sy(t,[],["disabled"]);h&&Fg(t,h);var b=function(r){return z.createElement("div",em({},y,{"data-ktp-target":r?r["data-ktp-target"]:void 0,role:p||"button","aria-disabled":a,"aria-haspopup":!0,"aria-expanded":!g,"aria-pressed":f?!!s:void 0,"aria-describedby":sv(t["aria-describedby"],r?r["aria-describedby"]:void 0),className:v&&v.splitButtonContainer,onKeyDown:n._onSplitButtonContainerKeyDown,onTouchStart:n._onTouchStart,ref:n._splitButtonContainer,"data-is-focusable":!0,onClick:a||c?void 0:n._onSplitButtonPrimaryClick,tabIndex:!a&&!c||l?0:void 0,"aria-roledescription":t["aria-roledescription"],onFocusCapture:n._onSplitContainerFocusCapture}),z.createElement("span",{style:{display:"flex",width:"100%"}},n._onRenderContent(e,t),n._onRenderSplitButtonMenuButton(v,r),n._onRenderSplitButtonDivider(v)))};return m?z.createElement(ok,{keytipProps:m,disabled:a},function(e){return b(e)}):b()},t.prototype._onRenderSplitButtonDivider=function(e){if(e&&e.divider){return z.createElement("span",{className:e.divider,"aria-hidden":!0,onClick:function(e){e.stopPropagation()}})}return null},t.prototype._onRenderSplitButtonMenuButton=function(e,n){var r=this.props,o=r.allowDisabledFocus,i=r.checked,a=r.disabled,l=r.splitButtonMenuProps,s=r.splitButtonAriaLabel,u=r.primaryDisabled,c=this.state.menuHidden,d=this.props.menuIconProps;void 0===d&&(d={iconName:"ChevronDown"});var f=em(em({},l),{styles:e,checked:i,disabled:a,allowDisabledFocus:o,onClick:this._onMenuClick,menuProps:void 0,iconProps:em(em({},d),{className:this._classNames.menuIcon}),ariaLabel:s,"aria-haspopup":!0,"aria-expanded":!c,"data-is-focusable":!1});return z.createElement(t,em({},f,{"data-ktp-execute-target":n?n["data-ktp-execute-target"]:n,onMouseDown:this._onMouseDown,tabIndex:u&&!o?0:-1}))},t.prototype._onPointerDown=function(e){var t=this.props.onPointerDown;t&&t(e),"touch"===e.pointerType&&(this._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0,e.state.menuHidden&&e.focus()},500)},t.prototype._isValidMenuOpenKey=function(e){return this.props.menuTriggerKeyCode?e.which===this.props.menuTriggerKeyCode:!!this.props.menuProps&&(e.which===iv&&(e.altKey||e.metaKey))},t.defaultProps={baseClassName:"ms-Button",styles:{},split:!1},t.contextType=By,t}(z.Component),Uk={outline:0},jk=function(e){return{fontSize:e,margin:"0 4px",height:"16px",lineHeight:"16px",textAlign:"center",flexShrink:0}},Kk=Ev(function(e){var t,n,r=e.semanticColors,o=e.effects,i=e.fonts,a=r.buttonBorder,l=r.disabledBackground,s=r.disabledText,u={left:-2,top:-2,bottom:-2,right:-2,outlineColor:"ButtonText"};return{root:[A_(e,{inset:1,highContrastStyle:u,borderColor:"transparent"}),e.fonts.medium,{border:"1px solid "+a,borderRadius:o.roundedCorner2,boxSizing:"border-box",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"0 16px",textDecoration:"none",textAlign:"center",userSelect:"none",":active > span":{position:"relative",left:0,top:0}}],rootDisabled:[A_(e,{inset:1,highContrastStyle:u,borderColor:"transparent"}),{backgroundColor:l,borderColor:l,color:s,cursor:"default",":hover":Uk,":focus":Uk}],iconDisabled:(t={color:s},t[R_]={color:"GrayText"},t),menuIconDisabled:(n={color:s},n[R_]={color:"GrayText"},n),flexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},description:{display:"block"},textContainer:{flexGrow:1,display:"block"},icon:jk(i.mediumPlus.fontSize),menuIcon:jk(i.small.fontSize),label:{margin:"0 4px",lineHeight:"100%",display:"block"},screenReaderText:B_}}),qk=Ev(function(e,t){var n,r,o,i,a,l,s,u,c,d,f,p,h,m,g,v,y,b=e.effects,_=e.palette,C=e.semanticColors,S={left:-2,top:-2,bottom:-2,right:-2,border:"none"},w={position:"absolute",width:1,right:31,top:8,bottom:8};return $m({splitButtonContainer:[A_(e,{highContrastStyle:S,inset:2,pointerEvents:"none"}),{display:"inline-flex",".ms-Button--default":{borderTopRightRadius:"0",borderBottomRightRadius:"0",borderRight:"none",flexGrow:"1"},".ms-Button--primary":(n={borderTopRightRadius:"0",borderBottomRightRadius:"0",border:"none",flexGrow:"1",":hover":{border:"none"},":active":{border:"none"}},n[R_]=em(em({color:"WindowText",backgroundColor:"Window",border:"1px solid WindowText",borderRightWidth:"0"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{":hover":{backgroundColor:"Highlight",border:"1px solid Highlight",borderRightWidth:"0",color:"HighlightText"},":active":{border:"1px solid Highlight"}}),n),".ms-Button--default + .ms-Button":(r={},r[R_]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":em({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})}},r),'.ms-Button--default + .ms-Button[aria-expanded="true"]':(o={},o[R_]={backgroundColor:"HighlightText",borderColor:"Highlight",color:"Highlight",".ms-Button-menuIcon":em({backgroundColor:"HighlightText",color:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"})},o),".ms-Button--primary + .ms-Button":(i={border:"none"},i[R_]={border:"1px solid WindowText",borderLeftWidth:"0",":hover":{borderLeftWidth:"0",backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText",".ms-Button-menuIcon":em(em({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{color:"HighlightText"})}},i),'.ms-Button--primary + .ms-Button[aria-expanded="true"]':(a={},a[R_]=em(em({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{".ms-Button-menuIcon":{color:"HighlightText"}}),a),".ms-Button.is-disabled":(l={},l[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},l)}],splitButtonContainerHovered:{".ms-Button--default.is-disabled":(s={backgroundColor:C.buttonBackgroundDisabled,color:C.buttonTextDisabled},s[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},s),".ms-Button--primary.is-disabled":(u={backgroundColor:C.primaryButtonBackgroundDisabled,color:C.primaryButtonTextDisabled},u[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},u)},splitButtonContainerChecked:{".ms-Button--primary":(c={},c[R_]=em({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),c)},splitButtonContainerCheckedHovered:{".ms-Button--primary":(d={},d[R_]=em({color:"Window",backgroundColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),d)},splitButtonContainerFocused:{outline:"none!important"},splitButtonMenuButton:(f={padding:6,height:"auto",boxSizing:"border-box",borderRadius:0,borderTopRightRadius:b.roundedCorner2,borderBottomRightRadius:b.roundedCorner2,border:"1px solid ".concat(_.neutralSecondaryAlt),borderLeft:"none",outline:"transparent",userSelect:"none",display:"inline-block",textDecoration:"none",textAlign:"center",cursor:"pointer",verticalAlign:"top",width:32,marginLeft:-1,marginTop:0,marginRight:0,marginBottom:0},f[R_]={".ms-Button-menuIcon":{color:"WindowText"}},f),splitButtonDivider:em(em({},w),(p={},p[R_]={backgroundColor:"WindowText"},p)),splitButtonDividerDisabled:em(em({},w),(h={},h[R_]={backgroundColor:"GrayText"},h)),splitButtonMenuButtonDisabled:(m={pointerEvents:"none",border:"none",":hover":{cursor:"default"},".ms-Button--primary":(g={},g[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},g),".ms-Button-menuIcon":(v={},v[R_]={color:"GrayText"},v)},m[R_]={color:"GrayText",border:"1px solid GrayText",backgroundColor:"Window"},m),splitButtonFlexContainer:{display:"flex",height:"100%",flexWrap:"nowrap",justifyContent:"center",alignItems:"center"},splitButtonContainerDisabled:(y={outline:"none",border:"none"},y[R_]=em({color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),y),splitButtonMenuFocused:em({},A_(e,{highContrastStyle:S,inset:2}))},t)});var Gk=Ev(function(e,t,n){var r=Kk(e),o=qk(e);return $m(r,{root:{minWidth:"80px",minHeight:"32px"},label:{fontWeight:kb.semibold}},n?function(e){var t,n,r,o,i,a,l,s,u,c=e.palette,d=e.semanticColors;return{root:(t={backgroundColor:d.primaryButtonBackground,border:"1px solid ".concat(d.primaryButtonBackground),color:d.primaryButtonText},t[R_]=em({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t[".".concat(Py," &:focus, :host(.").concat(Py,") &:focus")]={":after":{border:"none",outlineColor:c.white}},t),rootHovered:(n={backgroundColor:d.primaryButtonBackgroundHovered,border:"1px solid ".concat(d.primaryButtonBackgroundHovered),color:d.primaryButtonTextHovered},n[R_]={color:"Window",backgroundColor:"Highlight",borderColor:"Highlight"},n),rootPressed:(r={backgroundColor:d.primaryButtonBackgroundPressed,border:"1px solid ".concat(d.primaryButtonBackgroundPressed),color:d.primaryButtonTextPressed},r[R_]=em({color:"Window",backgroundColor:"WindowText",borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r),rootExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootChecked:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootCheckedHovered:{backgroundColor:d.primaryButtonBackgroundPressed,color:d.primaryButtonTextPressed},rootDisabled:(o={color:d.primaryButtonTextDisabled,backgroundColor:d.primaryButtonBackgroundDisabled},o[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},o),splitButtonContainer:(i={},i[R_]={border:"none"},i),splitButtonDivider:em(em({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(a={backgroundColor:c.white},a[R_]={backgroundColor:"Window"},a)),splitButtonMenuButton:(l={backgroundColor:d.primaryButtonBackground,color:d.primaryButtonText},l[R_]={backgroundColor:"Canvas"},l[":hover"]=(s={backgroundColor:d.primaryButtonBackgroundHovered},s[R_]={color:"Highlight"},s),l),splitButtonMenuButtonDisabled:{backgroundColor:d.primaryButtonBackgroundDisabled,":hover":{backgroundColor:d.primaryButtonBackgroundDisabled}},splitButtonMenuButtonChecked:{backgroundColor:d.primaryButtonBackgroundPressed,":hover":{backgroundColor:d.primaryButtonBackgroundPressed}},splitButtonMenuButtonExpanded:{backgroundColor:d.primaryButtonBackgroundPressed,":hover":{backgroundColor:d.primaryButtonBackgroundPressed}},splitButtonMenuIcon:{color:d.primaryButtonText},splitButtonMenuIconDisabled:(u={color:c.neutralTertiary},u[R_]={color:"GrayText"},u)}}(e):function(e){var t,n,r,o,i,a=e.semanticColors,l=e.palette,s=a.buttonBackground,u=a.buttonBackgroundPressed,c=a.buttonBackgroundHovered,d=a.buttonBackgroundDisabled,f=a.buttonText,p=a.buttonTextHovered,h=a.buttonTextDisabled,m=a.buttonTextChecked,g=a.buttonTextCheckedHovered;return{root:{backgroundColor:s,color:f},rootHovered:(t={backgroundColor:c,color:p},t[R_]={borderColor:"Highlight",color:"Highlight"},t),rootPressed:{backgroundColor:u,color:m},rootExpanded:{backgroundColor:u,color:m},rootChecked:{backgroundColor:u,color:m},rootCheckedHovered:{backgroundColor:u,color:g},rootDisabled:(n={color:h,backgroundColor:d},n[R_]={color:"GrayText",borderColor:"GrayText",backgroundColor:"Window"},n),splitButtonContainer:(r={},r[R_]={border:"none"},r),splitButtonMenuButton:{color:l.white,backgroundColor:"transparent",":hover":(o={backgroundColor:l.neutralLight},o[R_]={color:"Highlight"},o)},splitButtonMenuButtonDisabled:{backgroundColor:a.buttonBackgroundDisabled,":hover":{backgroundColor:a.buttonBackgroundDisabled}},splitButtonDivider:em(em({},{position:"absolute",width:1,right:31,top:8,bottom:8}),(i={backgroundColor:l.neutralTertiaryAlt},i[R_]={backgroundColor:"WindowText"},i)),splitButtonDividerDisabled:{backgroundColor:e.palette.neutralTertiaryAlt},splitButtonMenuButtonChecked:{backgroundColor:l.neutralQuaternaryAlt,":hover":{backgroundColor:l.neutralQuaternaryAlt}},splitButtonMenuButtonExpanded:{backgroundColor:l.neutralQuaternaryAlt,":hover":{backgroundColor:l.neutralQuaternaryAlt}},splitButtonMenuIcon:{color:a.buttonText},splitButtonMenuIconDisabled:{color:a.buttonTextDisabled}}}(e),o,t)}),$k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.primary,n=void 0!==t&&t,r=e.styles,o=e.theme;return z.createElement(Wk,em({},this.props,{variantClassName:n?"ms-Button--primary":"ms-Button--default",styles:Gk(o,r,n),onRenderDescription:Bg}))},t=nm([ny("DefaultButton",["theme","styles"],!0)],t)}(z.Component),Qk=Ev(function(e,t){var n,r,o;return $m(Kk(e),{root:(n={padding:"0 4px",height:"40px",color:e.palette.neutralPrimary,backgroundColor:"transparent",border:"1px solid transparent"},n[R_]={borderColor:"Window"},n),rootHovered:(r={color:e.palette.themePrimary},r[R_]={color:"Highlight"},r),iconHovered:{color:e.palette.themePrimary},rootPressed:{color:e.palette.black},rootExpanded:{color:e.palette.themePrimary},iconPressed:{color:e.palette.themeDarker},rootDisabled:(o={color:e.palette.neutralTertiary,backgroundColor:"transparent",borderColor:"transparent"},o[R_]={color:"GrayText"},o),rootChecked:{color:e.palette.black},iconChecked:{color:e.palette.themeDarker},flexContainer:{justifyContent:"flex-start"},icon:{color:e.palette.themeDarkAlt},iconDisabled:{color:"inherit"},menuIcon:{color:e.palette.neutralSecondary},textContainer:{flexGrow:0}},t)}),Zk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return z.createElement(Wk,em({},this.props,{variantClassName:"ms-Button--action ms-Button--command",styles:Qk(n,t),onRenderDescription:Bg}))},t=nm([ny("ActionButton",["theme","styles"],!0)],t)}(z.Component),Yk=Ev(function(e,t){var n,r=Kk(e),o=qk(e),i=e.palette;return $m(r,{root:{padding:"0 4px",width:"32px",height:"32px",backgroundColor:"transparent",border:"none",color:e.semanticColors.link},rootHovered:(n={color:i.themeDarkAlt,backgroundColor:i.neutralLighter},n[R_]={borderColor:"Highlight",color:"Highlight"},n),rootHasMenu:{width:"auto"},rootPressed:{color:i.themeDark,backgroundColor:i.neutralLight},rootExpanded:{color:i.themeDark,backgroundColor:i.neutralLight},rootChecked:{color:i.themeDark,backgroundColor:i.neutralLight},rootCheckedHovered:{color:i.themeDark,backgroundColor:i.neutralQuaternaryAlt},rootDisabled:{color:i.neutralTertiaryAlt}},o,t)}),Jk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.styles,n=e.theme;return z.createElement(Wk,em({},this.props,{variantClassName:"ms-Button--icon",styles:Yk(n,t),onRenderText:Bg,onRenderDescription:Bg}))},t=nm([ny("IconButton",["theme","styles"],!0)],t)}(z.Component),Xk=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(t,e),t.prototype.render=function(){return z.createElement($k,em({},this.props,{primary:!0,onRenderDescription:Bg}))},t=nm([ny("PrimaryButton",["theme","styles"],!0)],t)}(z.Component),ex=Zk,tx=vv(),nx=z.forwardRef(function(e,t){var n=e.disabled,r=e.required,o=e.inputProps,i=e.name,a=e.ariaLabel,l=e.ariaLabelledBy,s=e.ariaDescribedBy,u=e.ariaPositionInSet,c=e.ariaSetSize,d=e.title,f=e.checkmarkIconProps,p=e.styles,h=e.theme,m=e.className,g=e.boxSide,v=void 0===g?"start":g,y=JC("checkbox-",e.id),b=z.useRef(null),_=XC(b,t),C=z.useRef(null),S=ZC(e.checked,e.defaultChecked,e.onChange),w=S[0],k=S[1],x=ZC(e.indeterminate,e.defaultIndeterminate),E=x[0],F=x[1];zy(b);var I=tx(p,{theme:h,className:m,disabled:n,indeterminate:E,checked:w,reversed:"start"!==v,isUsingCustomLabelRender:!!e.onRenderLabel}),T=z.useCallback(function(e){E?(k(!!w,e),F(!1)):k(!w,e)},[k,F,E,w]),P=z.useCallback(function(e){return e&&e.label?z.createElement("span",{className:I.text,title:e.title},e.label):null},[I.text]),R=z.useCallback(function(e){if(C.current){var t=!!e;C.current.indeterminate=t,F(t)}},[F]);!function(e,t,n,r,o){z.useImperativeHandle(e.componentRef,function(){return{get checked(){return!!t},get indeterminate(){return!!n},set indeterminate(e){r(e)},focus:function(){o.current&&o.current.focus()}}},[o,t,n,r])}(e,w,E,R,C),z.useEffect(function(){return R(E)},[R,E]);var D=e.onRenderLabel||P,M=E?"mixed":void 0,O=em(em({className:I.input,type:"checkbox"},o),{checked:!!w,disabled:n,required:r,name:i,id:y,title:d,onChange:T,"aria-disabled":n,"aria-label":a,"aria-labelledby":l,"aria-describedby":s,"aria-posinset":u,"aria-setsize":c,"aria-checked":M});return z.createElement("div",{className:I.root,title:d,ref:_},z.createElement("input",em({},O,{ref:C,title:d,"data-ktp-execute-target":!0})),z.createElement("label",{className:I.label,htmlFor:y},z.createElement("div",{className:I.checkbox,"data-ktp-target":!0},z.createElement(sw,em({iconName:"CheckMark"},f,{className:I.checkmark}))),D(e,P)))});nx.displayName="CheckboxBase";var rx={root:"ms-Checkbox",label:"ms-Checkbox-label",checkbox:"ms-Checkbox-checkbox",checkmark:"ms-Checkbox-checkmark",text:"ms-Checkbox-text"},ox="20px",ix="200ms",ax="cubic-bezier(.4, 0, .23, 1)",lx=ob(nx,function(e){var t,n,r,o,i,a,l,s,u,c,d,f,p,h,m,g,v,y,b=e.className,_=e.theme,C=e.reversed,S=e.checked,w=e.disabled,k=e.isUsingCustomLabelRender,x=e.indeterminate,E=_.semanticColors,F=_.effects,I=_.palette,T=_.fonts,P=H_(rx,_),R=E.inputForegroundChecked,D=I.neutralSecondary,M=I.neutralPrimary,O=E.inputBackgroundChecked,A=E.inputBackgroundChecked,L=E.disabledBodySubtext,N=E.inputBorderHovered,B=E.inputBackgroundCheckedHovered,z=E.inputBackgroundChecked,H=E.inputBackgroundCheckedHovered,V=E.inputBackgroundCheckedHovered,W=E.inputTextHovered,U=E.disabledBodySubtext,j=E.bodyText,K=E.disabledText,q=[(t={content:'""',borderRadius:F.roundedCorner2,position:"absolute",width:10,height:10,top:4,left:4,boxSizing:"border-box",borderWidth:5,borderStyle:"solid",borderColor:w?L:O,transitionProperty:"border-width, border, border-color",transitionDuration:ix,transitionTimingFunction:ax},t[R_]={borderColor:"WindowText"},t)];return{root:[P.root,{position:"relative",display:"flex"},C&&"reversed",S&&"is-checked",!w&&"is-enabled",w&&"is-disabled",!w&&[!S&&(n={},n[":hover .".concat(P.checkbox)]=(r={borderColor:N},r[R_]={borderColor:"Highlight"},r),n[":focus .".concat(P.checkbox)]={borderColor:N},n[":hover .".concat(P.checkmark)]=(o={color:D,opacity:"1"},o[R_]={color:"Highlight"},o),n),S&&!x&&(i={},i[":hover .".concat(P.checkbox)]={background:H,borderColor:V},i[":focus .".concat(P.checkbox)]={background:H,borderColor:V},i[R_]=(a={},a[":hover .".concat(P.checkbox)]={background:"Highlight",borderColor:"Highlight"},a[":focus .".concat(P.checkbox)]={background:"Highlight"},a[":focus:hover .".concat(P.checkbox)]={background:"Highlight"},a[":focus:hover .".concat(P.checkmark)]={color:"Window"},a[":hover .".concat(P.checkmark)]={color:"Window"},a),i),x&&(l={},l[":hover .".concat(P.checkbox,", :hover .").concat(P.checkbox,":after")]=(s={borderColor:B},s[R_]={borderColor:"WindowText"},s),l[":focus .".concat(P.checkbox)]={borderColor:B},l[":hover .".concat(P.checkmark)]={opacity:"0"},l),(u={},u[":hover .".concat(P.text,", :focus .").concat(P.text)]=(c={color:W},c[R_]={color:w?"GrayText":"WindowText"},c),u)],b],input:(d={position:"absolute",background:"none",opacity:0},d[".".concat(Py," &:focus + label::before, :host(.").concat(Py,") &:focus + label::before")]=(f={outline:"1px solid "+_.palette.neutralSecondary,outlineOffset:"2px"},f[R_]={outline:"1px solid WindowText"},f),d),label:[P.label,_.fonts.medium,{display:"flex",alignItems:k?"center":"flex-start",cursor:w?"default":"pointer",position:"relative",userSelect:"none"},C&&{flexDirection:"row-reverse",justifyContent:"flex-end"},{"&::before":{position:"absolute",left:0,right:0,top:0,bottom:0,content:'""',pointerEvents:"none"}}],checkbox:[P.checkbox,(p={position:"relative",display:"flex",flexShrink:0,alignItems:"center",justifyContent:"center",height:ox,width:ox,border:"1px solid ".concat(M),borderRadius:F.roundedCorner2,boxSizing:"border-box",transitionProperty:"background, border, border-color",transitionDuration:ix,transitionTimingFunction:ax,overflow:"hidden",":after":x?q:null},p[R_]=em({borderColor:"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),p),x&&{borderColor:O},C?{marginLeft:4}:{marginRight:4},!w&&!x&&S&&(h={background:z,borderColor:A},h[R_]={background:"Highlight",borderColor:"Highlight"},h),w&&(m={borderColor:L},m[R_]={borderColor:"GrayText"},m),S&&w&&(g={background:U,borderColor:L},g[R_]={background:"Window"},g)],checkmark:[P.checkmark,(v={opacity:S&&!x?"1":"0",color:R},v[R_]=em({color:w?"GrayText":"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),v)],text:[P.text,(y={color:w?K:j,fontSize:T.medium.fontSize,lineHeight:"20px"},y[R_]=em({color:w?"GrayText":"WindowText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),y),C?{marginRight:4}:{marginLeft:4}]}},void 0,{scope:"Checkbox"}),sx=vv({cacheSize:100}),ux=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.as,n=void 0===t?"label":t,r=e.children,o=e.className,i=e.disabled,a=e.styles,l=e.required,s=e.theme,u=sx(a,{className:o,disabled:i,required:l,theme:s});return z.createElement(n,em({},Sy(this.props,Cy),{className:u.root}),r)},t}(z.Component),cx=ob(ux,function(e){var t,n=e.theme,r=e.className,o=e.disabled,i=e.required,a=n.semanticColors,l=kb.semibold,s=a.bodyText,u=a.disabledBodyText,c=a.errorText;return{root:["ms-Label",n.fonts.medium,{fontWeight:l,color:s,boxSizing:"border-box",boxShadow:"none",margin:0,display:"block",padding:"5px 0",wordWrap:"break-word",overflowWrap:"break-word"},o&&{color:u,selectors:(t={},t[R_]=em({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},i&&{selectors:{"::after":{content:"' *'",color:c,paddingRight:12}}},r]}},void 0,{scope:"Label"}),dx=vv(),fx={imageSize:{width:32,height:32}},px=function(e){var t=ab(em(em({},fx),{key:e.itemKey}),e),n=t.ariaLabel,r=t.focused,o=t.required,i=t.theme,a=t.iconProps,l=t.imageSrc,s=t.imageSize,u=t.disabled,c=t.checked,d=t.id,f=t.styles,p=t.name,h=tm(t,["ariaLabel","focused","required","theme","iconProps","imageSrc","imageSize","disabled","checked","id","styles","name"]),m=dx(f,{theme:i,hasIcon:!!a,hasImage:!!l,checked:c,disabled:u,imageIsLarge:!!l&&(s.width>71||s.height>71),imageSize:s,focused:r}),g=Sy(h,vy),v=g.className,y=tm(g,["className"]),b=function(){return z.createElement("span",{id:t.labelId,className:"ms-ChoiceFieldLabel"},t.text)},_=function(){var e=t.imageAlt,n=void 0===e?"":e,r=t.selectedImageSrc,o=(t.onRenderLabel?nb(t.onRenderLabel,b):b)(em(em({},t),{key:t.itemKey}));return z.createElement("label",{htmlFor:d,className:m.field},l&&z.createElement("div",{className:m.innerField},z.createElement("div",{className:m.imageWrapper},z.createElement(tw,em({src:l,alt:n},s))),z.createElement("div",{className:m.selectedImageWrapper},z.createElement(tw,em({src:r,alt:n},s)))),a&&z.createElement("div",{className:m.innerField},z.createElement("div",{className:m.iconWrapper},z.createElement(sw,em({},a)))),l||a?z.createElement("div",{className:m.labelWrapper},o):o)},C=t.onRenderField,S=void 0===C?_:C;return z.createElement("div",{className:m.root},z.createElement("div",{className:m.choiceFieldWrapper},z.createElement("input",em({"aria-label":n,id:d,className:Dv(m.input,v),type:"radio",name:p,disabled:u,checked:c,required:o},y,{onChange:function(e){var n;null===(n=t.onChange)||void 0===n||n.call(t,e,em(em({},t),{key:t.itemKey}))},onFocus:function(e){var n;null===(n=t.onFocus)||void 0===n||n.call(t,e,em(em({},t),{key:t.itemKey}))},onBlur:function(e){var n;null===(n=t.onBlur)||void 0===n||n.call(t,e)}})),S(em(em({},t),{key:t.itemKey}),_)))};px.displayName="ChoiceGroupOption";var hx={root:"ms-ChoiceField",choiceFieldWrapper:"ms-ChoiceField-wrapper",input:"ms-ChoiceField-input",field:"ms-ChoiceField-field",innerField:"ms-ChoiceField-innerField",imageWrapper:"ms-ChoiceField-imageWrapper",iconWrapper:"ms-ChoiceField-iconWrapper",labelWrapper:"ms-ChoiceField-labelWrapper",checked:"is-checked"},mx="200ms",gx="cubic-bezier(.4, 0, .23, 1)";function vx(e,t){var n,r;return["is-inFocus",{selectors:(n={},n[".".concat(Py," &, :host(.").concat(Py,") &")]={position:"relative",outline:"transparent",selectors:{"::-moz-focus-inner":{border:0},":after":{content:'""',top:-2,right:-2,bottom:-2,left:-2,pointerEvents:"none",border:"1px solid ".concat(e),position:"absolute",selectors:(r={},r[R_]={borderColor:"WindowText",borderWidth:t?1:2},r)}}},n)}]}function yx(e,t,n){return[t,{paddingBottom:2,transitionProperty:"opacity",transitionDuration:mx,transitionTimingFunction:"ease",selectors:{".ms-Image":{display:"inline-block",borderStyle:"none"}}},(n?!e:e)&&["is-hidden",{position:"absolute",left:0,top:0,width:"100%",height:"100%",overflow:"hidden",opacity:0}]]}var bx=ob(px,function(e){var t,n,r,o,i,a=e.theme,l=e.hasIcon,s=e.hasImage,u=e.checked,c=e.disabled,d=e.imageIsLarge,f=e.focused,p=e.imageSize,h=a.palette,m=a.semanticColors,g=a.fonts,v=H_(hx,a),y=h.neutralPrimary,b=m.inputBorderHovered,_=m.inputBackgroundChecked,C=h.themeDark,S=m.disabledBodySubtext,w=m.bodyBackground,k=h.neutralSecondary,x=m.inputBackgroundChecked,E=h.themeDark,F=m.disabledBodySubtext,I=h.neutralDark,T=m.focusBorder,P=m.inputBorderHovered,R=m.inputBackgroundChecked,D=h.themeDark,M=h.neutralLighter,O={selectors:{".ms-ChoiceFieldLabel":{color:I},":before":{borderColor:u?C:b},":after":[!l&&!s&&!u&&{content:'""',transitionProperty:"background-color",left:5,top:5,width:10,height:10,backgroundColor:k},u&&{borderColor:E,background:E}]}},A={borderColor:u?D:P,selectors:{":before":{opacity:1,borderColor:u?C:b}}},L=[{content:'""',display:"inline-block",backgroundColor:w,borderWidth:1,borderStyle:"solid",borderColor:y,width:20,height:20,fontWeight:"normal",position:"absolute",top:0,left:0,boxSizing:"border-box",transitionProperty:"border-color",transitionDuration:mx,transitionTimingFunction:gx,borderRadius:"50%"},c&&{borderColor:S,selectors:(t={},t[R_]=em({borderColor:"GrayText",background:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},u&&{borderColor:c?S:_,selectors:(n={},n[R_]={borderColor:"Highlight",background:"Window",forcedColorAdjust:"none"},n)},(l||s)&&{top:3,right:3,left:"auto",opacity:u?1:0}],N=[{content:'""',width:0,height:0,borderRadius:"50%",position:"absolute",left:10,right:0,transitionProperty:"border-width",transitionDuration:mx,transitionTimingFunction:gx,boxSizing:"border-box"},u&&{borderWidth:5,borderStyle:"solid",borderColor:c?F:x,background:x,left:5,top:5,width:10,height:10,selectors:(r={},r[R_]={borderColor:"Highlight",forcedColorAdjust:"none"},r)},u&&(l||s)&&{top:8,right:8,left:"auto"}];return{root:[v.root,a.fonts.medium,{display:"flex",alignItems:"center",boxSizing:"border-box",color:m.bodyText,minHeight:26,border:"none",position:"relative",marginTop:8,selectors:{".ms-ChoiceFieldLabel":{display:"inline-block"}}},!l&&!s&&{selectors:{".ms-ChoiceFieldLabel":{paddingLeft:"26px"}}},s&&"ms-ChoiceField--image",l&&"ms-ChoiceField--icon",(l||s)&&{display:"inline-flex",fontSize:0,margin:"0 4px 4px 0",paddingLeft:0,backgroundColor:M,height:"100%"}],choiceFieldWrapper:[v.choiceFieldWrapper,f&&vx(T,l||s)],input:[v.input,{position:"absolute",opacity:0,top:0,right:0,width:"100%",height:"100%",margin:0},c&&"is-disabled"],field:[v.field,u&&v.checked,{display:"inline-block",cursor:"pointer",marginTop:0,position:"relative",verticalAlign:"top",userSelect:"none",minHeight:20,selectors:{":hover":!c&&O,":focus":!c&&O,":before":L,":after":N}},l&&"ms-ChoiceField--icon",s&&"ms-ChoiceField-field--image",(l||s)&&{boxSizing:"content-box",cursor:"pointer",paddingTop:22,margin:0,textAlign:"center",transitionProperty:"all",transitionDuration:mx,transitionTimingFunction:"ease",border:"1px solid transparent",justifyContent:"center",alignItems:"center",display:"flex",flexDirection:"column"},u&&{borderColor:R},(l||s)&&!c&&{selectors:{":hover":A,":focus":A}},c&&{cursor:"default",selectors:{".ms-ChoiceFieldLabel":{color:m.disabledBodyText,selectors:(o={},o[R_]=em({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)}}},u&&c&&{borderColor:M}],innerField:[v.innerField,s&&{height:p.height,width:p.width},(l||s)&&{position:"relative",display:"inline-block",paddingLeft:30,paddingRight:30},(l||s)&&d&&{paddingLeft:24,paddingRight:24},(l||s)&&c&&{opacity:.25,selectors:(i={},i[R_]={color:"GrayText",opacity:1},i)}],imageWrapper:yx(!1,v.imageWrapper,u),selectedImageWrapper:yx(!0,v.imageWrapper,u),iconWrapper:[v.iconWrapper,{fontSize:32,lineHeight:32,height:32}],labelWrapper:[v.labelWrapper,g.medium,(l||s)&&{display:"block",position:"relative",margin:"4px 8px 2px 8px",height:32,lineHeight:15,maxWidth:2*p.width,overflow:"hidden",whiteSpace:"pre-wrap"}]}},void 0,{scope:"ChoiceGroupOption"}),_x=vv(),Cx=function(e,t){return"".concat(t,"-").concat(e.key)},Sx=function(e,t){return void 0===t?void 0:function(e,t){var n=uv(e,t);if(!(n<0))return e[n]}(e,function(e){return e.key===t})},wx=function(e,t,n,r,o){var i=Sx(e,t)||e.filter(function(e){return!e.disabled})[0],a=i&&(null==o?void 0:o.getElementById(Cx(i,n)));a&&(a.focus(),My(!0,a,r))},kx=function(e,t,n,r,o){var i=function(){var e;return null!==(e=Xv())&&void 0!==e?e:"undefined"!=typeof document?document:void 0}();z.useImperativeHandle(r,function(){return{get checkedOption(){return Sx(e,t)},focus:function(){wx(e,t,n,o,i)}}},[e,t,n,o,i])},xx=z.forwardRef(function(e,t){var n=e.className,r=e.theme,o=e.styles,i=e.options,a=void 0===i?[]:i,l=e.label,s=e.required,u=e.disabled,c=e.name,d=e.defaultSelectedKey,f=e.componentRef,p=e.onChange,h=JC("ChoiceGroup"),m=JC("ChoiceGroupLabel"),g=Sy(e,Cy,["onChange","className","required"]),v=_x(o,{theme:r,className:n,optionsContainIconOrImage:a.some(function(e){return!(!e.iconProps&&!e.imageSrc)})}),y=e.ariaLabelledBy||(l?m:e["aria-labelledby"]),b=ZC(e.selectedKey,d),_=b[0],C=b[1],S=z.useState(),w=S[0],k=S[1],x=z.useRef(null),E=XC(x,t),F=z.useContext(By);kx(a,_,h,f,null==F?void 0:F.registeredProviders),zy(x);var I=z.useCallback(function(e,t){var n;t&&(k(t.itemKey),null===(n=t.onFocus)||void 0===n||n.call(t,e))},[]),T=z.useCallback(function(e,t){var n;k(void 0),null===(n=null==t?void 0:t.onBlur)||void 0===n||n.call(t,e)},[]),P=z.useCallback(function(e,t){var n;t&&(C(t.itemKey),null===(n=t.onChange)||void 0===n||n.call(t,e),null==p||p(e,Sx(a,t.itemKey)))},[p,a,C]),R=z.useCallback(function(e){(function(e){return e.relatedTarget instanceof HTMLElement&&"true"===e.relatedTarget.dataset.isFocusTrapZoneBumper})(e)&&wx(a,_,h,null==F?void 0:F.registeredProviders)},[a,_,h,F]);return z.createElement("div",em({className:v.root},g,{ref:E}),z.createElement("div",em({role:"radiogroup"},y&&{"aria-labelledby":y},{onFocus:R}),l&&z.createElement(cx,{className:v.label,required:s,id:m,disabled:u},l),z.createElement("div",{className:v.flexContainer},a.map(function(e){return z.createElement(bx,em({itemKey:e.key},e,{key:e.key,onBlur:T,onFocus:I,onChange:P,focused:e.key===w,checked:e.key===_,disabled:e.disabled||u,id:Cx(e,h),labelId:e.labelId||"".concat(m,"-").concat(e.key),name:c||h,required:s}))}))))});xx.displayName="ChoiceGroup";var Ex,Fx={root:"ms-ChoiceFieldGroup",flexContainer:"ms-ChoiceFieldGroup-flexContainer"},Ix=ob(xx,function(e){var t=e.className,n=e.optionsContainIconOrImage,r=e.theme,o=H_(Fx,r);return{root:[t,o.root,r.fonts.medium,{display:"block"}],flexContainer:[o.flexContainer,n&&{display:"flex",flexDirection:"row",flexWrap:"wrap"}]}},void 0,{scope:"ChoiceGroup"}),Tx=vv(),Px="TextField",Rx=function(e){function t(t){var n=e.call(this,t)||this;n._textElement=z.createRef(),n._onFocus=function(e){n.props.onFocus&&n.props.onFocus(e),n.setState({isFocused:!0},function(){n.props.validateOnFocusIn&&n._validate(n.value)})},n._onBlur=function(e){n.props.onBlur&&n.props.onBlur(e),n.setState({isFocused:!1},function(){n.props.validateOnFocusOut&&n._validate(n.value)})},n._onRenderLabel=function(e){var t=e.label,r=e.required,o=n._classNames.subComponentStyles?n._classNames.subComponentStyles.label:void 0;return t?z.createElement(cx,{required:r,htmlFor:n._id,styles:o,disabled:e.disabled,id:n._labelId},e.label):null},n._onRenderDescription=function(e){return e.description?z.createElement("span",{className:n._classNames.description},e.description):null},n._onRevealButtonClick=function(e){n.setState(function(e){return{isRevealingPassword:!e.isRevealingPassword}})},n._onInputChange=function(e){var t,r,o=e.target.value,i=Dx(n.props,n.state)||"";void 0!==o&&o!==n._lastChangeValue&&o!==i?(n._lastChangeValue=o,null===(r=(t=n.props).onChange)||void 0===r||r.call(t,e,o),n._isControlled||n.setState({uncontrolledValue:o})):n._lastChangeValue=void 0},wy(n),n._async=new rg(n),n._fallbackId=sy(Px),n._descriptionId=sy(Px+"Description"),n._labelId=sy(Px+"Label"),n._prefixId=sy(Px+"Prefix"),n._suffixId=sy(Px+"Suffix"),n._warnControlledUsage();var r=t.defaultValue,o=void 0===r?"":r;return"number"==typeof o&&(o=String(o)),n.state={uncontrolledValue:n._isControlled?void 0:o,isFocused:!1,errorMessage:""},n._delayedValidate=n._async.debounce(n._validate,n.props.deferredValidationTime),n._lastValidation=0,n}return Xh(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return Dx(this.props,this.state)},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._adjustInputHeight(),this.props.validateOnLoad&&this._validate(this.value)},t.prototype.componentWillUnmount=function(){this._async.dispose()},t.prototype.getSnapshotBeforeUpdate=function(e,t){return{selection:[this.selectionStart,this.selectionEnd]}},t.prototype.componentDidUpdate=function(e,t,n){var r=this.props,o=(n||{}).selection,i=void 0===o?[null,null]:o,a=i[0],l=i[1];!!e.multiline!=!!r.multiline&&t.isFocused&&(this.focus(),null!==a&&null!==l&&a>=0&&l>=0&&this.setSelectionRange(a,l)),e.value!==r.value&&(this._lastChangeValue=void 0);var s=Dx(e,t),u=this.value;s!==u&&(this._warnControlledUsage(e),this.state.errorMessage&&!r.errorMessage&&this.setState({errorMessage:""}),this._adjustInputHeight(),Mx(r)&&this._delayedValidate(u))},t.prototype.render=function(){var e=this.props,t=e.borderless,n=e.className,r=e.disabled,o=e.invalid,i=e.iconProps,a=e.inputClassName,l=e.label,s=e.multiline,u=e.required,c=e.underlined,d=e.prefix,f=e.resizable,p=e.suffix,h=e.theme,m=e.styles,g=e.autoAdjustHeight,v=e.canRevealPassword,y=e.revealPasswordAriaLabel,b=e.type,_=e.onRenderPrefix,C=void 0===_?this._onRenderPrefix:_,S=e.onRenderSuffix,w=void 0===S?this._onRenderSuffix:S,k=e.onRenderLabel,x=void 0===k?this._onRenderLabel:k,E=e.onRenderDescription,F=void 0===E?this._onRenderDescription:E,I=this.state,T=I.isFocused,P=I.isRevealingPassword,R=this._errorMessage,D="boolean"==typeof o?o:!!R,M=!!v&&"password"===b&&function(){if("boolean"!=typeof Ex){var e=ng();if(null==e?void 0:e.navigator){var t=/Edg/.test(e.navigator.userAgent||"");Ex=!(ib()||t)}else Ex=!0}return Ex}(),O=this._classNames=Tx(m,{theme:h,className:n,disabled:r,focused:T,required:u,multiline:s,hasLabel:!!l,hasErrorMessage:D,borderless:t,resizable:f,hasIcon:!!i,underlined:c,inputClassName:a,autoAdjustHeight:g,hasRevealButton:M});return z.createElement("div",{ref:this.props.elementRef,className:O.root},z.createElement("div",{className:O.wrapper},x(this.props,this._onRenderLabel),z.createElement("div",{className:O.fieldGroup},(void 0!==d||this.props.onRenderPrefix)&&z.createElement("div",{className:O.prefix,id:this._prefixId},C(this.props,this._onRenderPrefix)),s?this._renderTextArea():this._renderInput(),i&&z.createElement(sw,em({className:O.icon},i)),M&&z.createElement("button",{"aria-label":y,className:O.revealButton,onClick:this._onRevealButtonClick,"aria-pressed":!!P,type:"button"},z.createElement("span",{className:O.revealSpan},z.createElement(sw,{className:O.revealIcon,iconName:P?"Hide":"RedEye"}))),(void 0!==p||this.props.onRenderSuffix)&&z.createElement("div",{className:O.suffix,id:this._suffixId},w(this.props,this._onRenderSuffix)))),this._isDescriptionAvailable&&z.createElement("span",{id:this._descriptionId},F(this.props,this._onRenderDescription),R&&z.createElement("div",{role:"alert"},z.createElement(zg,null,this._renderErrorMessage()))))},t.prototype.focus=function(){this._textElement.current&&this._textElement.current.focus()},t.prototype.blur=function(){this._textElement.current&&this._textElement.current.blur()},t.prototype.select=function(){this._textElement.current&&this._textElement.current.select()},t.prototype.setSelectionStart=function(e){this._textElement.current&&(this._textElement.current.selectionStart=e)},t.prototype.setSelectionEnd=function(e){this._textElement.current&&(this._textElement.current.selectionEnd=e)},Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._textElement.current?this._textElement.current.selectionStart:-1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectionEnd",{get:function(){return this._textElement.current?this._textElement.current.selectionEnd:-1},enumerable:!1,configurable:!0}),t.prototype.setSelectionRange=function(e,t){this._textElement.current&&this._textElement.current.setSelectionRange(e,t)},t.prototype._warnControlledUsage=function(e){this._id,this.props,null!==this.props.value||this._hasWarnedNullValue||(this._hasWarnedNullValue=!0,Lg("Warning: 'value' prop on '".concat(Px,"' should not be null. Consider using an ")+"empty string to clear the component or undefined to indicate an uncontrolled component."))},Object.defineProperty(t.prototype,"_id",{get:function(){return this.props.id||this._fallbackId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_isControlled",{get:function(){return void 0!==(e=this.props)[t="value"]&&null!==e[t];var e,t},enumerable:!1,configurable:!0}),t.prototype._onRenderPrefix=function(e){var t=e.prefix;return z.createElement("span",{style:{paddingBottom:"1px"}},t)},t.prototype._onRenderSuffix=function(e){var t=e.suffix;return z.createElement("span",{style:{paddingBottom:"1px"}},t)},Object.defineProperty(t.prototype,"_errorMessage",{get:function(){var e=this.props.errorMessage;return(void 0===e?this.state.errorMessage:e)||""},enumerable:!1,configurable:!0}),t.prototype._renderErrorMessage=function(){var e=this._errorMessage;return e?"string"==typeof e?z.createElement("p",{className:this._classNames.errorMessage},z.createElement("span",{"data-automation-id":"error-message"},e)):z.createElement("div",{className:this._classNames.errorMessage,"data-automation-id":"error-message"},e):null},Object.defineProperty(t.prototype,"_isDescriptionAvailable",{get:function(){var e=this.props;return!!(e.onRenderDescription||e.description||this._errorMessage)},enumerable:!1,configurable:!0}),t.prototype._renderTextArea=function(){var e=this.props.invalid,t=void 0===e?!!this._errorMessage:e,n=Sy(this.props,yy,["defaultValue"]),r=this.props["aria-labelledby"]||(this.props.label?this._labelId:void 0);return z.createElement("textarea",em({id:this._id},n,{ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-labelledby":r,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":t,"aria-label":this.props.ariaLabel,readOnly:this.props.readOnly,onFocus:this._onFocus,onBlur:this._onBlur}))},t.prototype._renderInput=function(){var e=this.props,t=e.ariaLabel,n=e.invalid,r=void 0===n?!!this._errorMessage:n,o=e.onRenderPrefix,i=e.onRenderSuffix,a=e.prefix,l=e.suffix,s=e.type,u=void 0===s?"text":s,c=[];e.label&&c.push(this._labelId),(void 0!==a||o)&&c.push(this._prefixId),(void 0!==l||i)&&c.push(this._suffixId);var d=em(em({type:this.state.isRevealingPassword?"text":u,id:this._id},Sy(this.props,vy,["defaultValue","type"])),{"aria-labelledby":this.props["aria-labelledby"]||(c.length>0?c.join(" "):void 0),ref:this._textElement,value:this.value||"",onInput:this._onInputChange,onChange:this._onInputChange,className:this._classNames.field,"aria-label":t,"aria-describedby":this._isDescriptionAvailable?this._descriptionId:this.props["aria-describedby"],"aria-invalid":r,onFocus:this._onFocus,onBlur:this._onBlur}),f=function(e){return z.createElement("input",em({},e))};return(this.props.onRenderInput||f)(d,f)},t.prototype._validate=function(e){var t=this;if(this._latestValidateValue!==e||!Mx(this.props)){this._latestValidateValue=e;var n=this.props.onGetErrorMessage,r=n&&n(e||"");if(void 0!==r)if("string"!=typeof r&&"then"in r){var o=++this._lastValidation;r.then(function(n){o===t._lastValidation&&t.setState({errorMessage:n}),t._notifyAfterValidate(e,n)})}else this.setState({errorMessage:r}),this._notifyAfterValidate(e,r);else this._notifyAfterValidate(e,"")}},t.prototype._notifyAfterValidate=function(e,t){e===this.value&&this.props.onNotifyValidationResult&&this.props.onNotifyValidationResult(t,e)},t.prototype._adjustInputHeight=function(){var e,t;if(this._textElement.current&&this.props.autoAdjustHeight&&this.props.multiline){var n=null===(t=null===(e=this.props.scrollContainerRef)||void 0===e?void 0:e.current)||void 0===t?void 0:t.scrollTop,r=this._textElement.current;r.style.height="",r.style.height=r.scrollHeight+"px",n&&(this.props.scrollContainerRef.current.scrollTop=n)}},t.defaultProps={resizable:!0,deferredValidationTime:200,validateOnLoad:!0},t}(z.Component);function Dx(e,t){var n=e.value,r=void 0===n?t.uncontrolledValue:n;return"number"==typeof r?String(r):r}function Mx(e){return!(e.validateOnFocusIn||e.validateOnFocusOut)}var Ox={root:"ms-TextField",description:"ms-TextField-description",errorMessage:"ms-TextField-errorMessage",field:"ms-TextField-field",fieldGroup:"ms-TextField-fieldGroup",prefix:"ms-TextField-prefix",suffix:"ms-TextField-suffix",wrapper:"ms-TextField-wrapper",revealButton:"ms-TextField-reveal",multiline:"ms-TextField--multiline",borderless:"ms-TextField--borderless",underlined:"ms-TextField--underlined",unresizable:"ms-TextField--unresizable",required:"is-required",disabled:"is-disabled",active:"is-active"};function Ax(e){var t=e.underlined,n=e.disabled,r=e.focused,o=e.theme,i=o.palette,a=o.fonts;return function(){var e;return{root:[t&&n&&{color:i.neutralTertiary},t&&{fontSize:a.medium.fontSize,marginRight:8,paddingLeft:12,paddingRight:0,lineHeight:"22px",height:32},t&&r&&{selectors:(e={},e[R_]={height:31},e)}]}}}var Lx,Nx,Bx,zx,Hx,Vx=ob(Rx,function(e){var t,n,r,o,i,a,l,s,u,c,d,f,p=e.theme,h=e.className,m=e.disabled,g=e.focused,v=e.required,y=e.multiline,b=e.hasLabel,_=e.borderless,C=e.underlined,S=e.hasIcon,w=e.resizable,k=e.hasErrorMessage,x=e.inputClassName,E=e.autoAdjustHeight,F=e.hasRevealButton,I=p.semanticColors,T=p.effects,P=p.fonts,R=H_(Ox,p),D={background:I.disabledBackground,color:m?I.disabledText:I.inputPlaceholderText,display:"flex",alignItems:"center",padding:"0 10px",lineHeight:1,whiteSpace:"nowrap",flexShrink:0,selectors:(t={},t[R_]={background:"Window",color:m?"GrayText":"WindowText"},t)},M=[{color:I.inputPlaceholderText,opacity:1,selectors:(n={},n[R_]={color:"GrayText"},n)}],O={color:I.disabledText,selectors:(r={},r[R_]={color:"GrayText"},r)};return{root:[R.root,P.medium,v&&R.required,m&&R.disabled,g&&R.active,y&&R.multiline,_&&R.borderless,C&&R.underlined,X_,{position:"relative"},h],wrapper:[R.wrapper,C&&[{display:"flex",borderBottom:"1px solid ".concat(k?I.errorText:I.inputBorder),width:"100%"},m&&{borderBottomColor:I.disabledBackground,selectors:(o={},o[R_]=em({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),o)},!m&&{selectors:{":hover":{borderBottomColor:k?I.errorText:I.inputBorderHovered,selectors:(i={},i[R_]=em({borderBottomColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),i)}}},g&&[{position:"relative"},N_(k?I.errorText:I.inputFocusBorderAlt,0,"borderBottom")]]],fieldGroup:[R.fieldGroup,X_,{border:"1px solid ".concat(I.inputBorder),borderRadius:T.roundedCorner2,background:I.inputBackground,cursor:"text",height:32,display:"flex",flexDirection:"row",alignItems:"stretch",position:"relative"},y&&{minHeight:"60px",height:"auto",display:"flex"},!g&&!m&&{selectors:{":hover":{borderColor:I.inputBorderHovered,selectors:(a={},a[R_]=em({borderColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),a)}}},g&&!C&&N_(k?I.errorText:I.inputFocusBorderAlt,T.roundedCorner2),m&&{borderColor:I.disabledBackground,selectors:(l={},l[R_]=em({borderColor:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),l),cursor:"default"},_&&{border:"none"},_&&g&&{border:"none",selectors:{":after":{border:"none"}}},C&&{flex:"1 1 0px",border:"none",textAlign:"left"},C&&m&&{backgroundColor:"transparent"},k&&!C&&{borderColor:I.errorText,selectors:{"&:hover":{borderColor:I.errorText}}},!b&&v&&{selectors:(s={":before":{content:"'*'",color:I.errorText,position:"absolute",top:-5,right:-10}},s[R_]={selectors:{":before":{color:"WindowText",right:-14}}},s)}],field:[P.medium,R.field,X_,{borderRadius:0,border:"none",background:"none",backgroundColor:"transparent",color:I.inputText,padding:"0 8px",width:"100%",minWidth:0,textOverflow:"ellipsis",outline:0,selectors:(u={"&:active, &:focus, &:hover":{outline:0},"::-ms-clear":{display:"none"}},u[R_]={background:"Window",color:m?"GrayText":"WindowText"},u)},eC(M),y&&!w&&[R.unresizable,{resize:"none"}],y&&{minHeight:"inherit",lineHeight:17,flexGrow:1,paddingTop:6,paddingBottom:6,overflow:"auto",width:"100%"},y&&E&&{overflow:"hidden"},S&&!F&&{paddingRight:24},y&&S&&{paddingRight:40},m&&[{backgroundColor:I.disabledBackground,color:I.disabledText,borderColor:I.disabledBackground},eC(O)],C&&{textAlign:"left"},g&&!_&&{selectors:(c={},c[R_]={paddingLeft:11,paddingRight:11},c)},g&&y&&!_&&{selectors:(d={},d[R_]={paddingTop:4},d)},x],icon:[y&&{paddingRight:24,alignItems:"flex-end"},{pointerEvents:"none",position:"absolute",bottom:6,right:8,top:"auto",fontSize:xb.medium,lineHeight:18},m&&{color:I.disabledText}],description:[R.description,{color:I.bodySubtext,fontSize:P.xSmall.fontSize}],errorMessage:[R.errorMessage,tC.slideDownIn20,P.small,{color:I.errorText,margin:0,paddingTop:5,display:"flex",alignItems:"center"}],prefix:[R.prefix,D],suffix:[R.suffix,D],revealButton:[R.revealButton,"ms-Button","ms-Button--icon",A_(p,{inset:1}),{height:30,width:32,border:"none",padding:"0px 4px",backgroundColor:"transparent",color:I.link,selectors:{":hover":{outline:0,color:I.primaryButtonBackgroundHovered,backgroundColor:I.buttonBackgroundHovered,selectors:(f={},f[R_]={borderColor:"Highlight",color:"Highlight"},f)},":focus":{outline:0}}},S&&{marginRight:28}],revealSpan:{display:"flex",height:"100%",alignItems:"center"},revealIcon:{margin:"0px 4px",pointerEvents:"none",bottom:6,right:8,top:"auto",fontSize:xb.medium,lineHeight:18},subComponentStyles:{label:Ax(e)}}},void 0,{scope:"TextField"}),Wx=Ev(function(e){var t,n=e.semanticColors;return{backgroundColor:n.disabledBackground,color:n.disabledText,cursor:"default",selectors:(t={":after":{borderColor:n.disabledBackground}},t[R_]={color:"GrayText",selectors:{":after":{borderColor:"GrayText"}}},t)}}),Ux={selectors:(Lx={},Lx[R_]=em({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),Lx)},jx={selectors:(Nx={},Nx[R_]=em({color:"WindowText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),Nx)},Kx=Ev(function(e,t,n,r,o,i){var a,l=e.palette,s=e.semanticColors,u={textHoveredColor:s.menuItemTextHovered,textSelectedColor:l.neutralDark,textDisabledColor:s.disabledText,backgroundHoveredColor:s.menuItemBackgroundHovered,backgroundPressedColor:s.menuItemBackgroundPressed};return $m({root:[e.fonts.medium,{backgroundColor:r?u.backgroundHoveredColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:o?"none":"block",width:"100%",height:"auto",minHeight:36,lineHeight:"20px",padding:"0 8px",position:"relative",borderWidth:"1px",borderStyle:"solid",borderColor:"transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",selectors:em(em((a={},a[R_]={border:"none",borderColor:"Background"},a),!o&&{"&.ms-Checkbox":{display:"flex",alignItems:"center"}}),{"&.ms-Button--command:hover:active":{backgroundColor:u.backgroundPressedColor},".ms-Checkbox-label":{width:"100%"}})},i?[{backgroundColor:"transparent",color:u.textSelectedColor,selectors:{":hover":[{backgroundColor:u.backgroundHoveredColor},Ux]}},A_(e,{inset:-1,isFocusedOnly:!1}),Ux]:[]],rootHovered:{backgroundColor:u.backgroundHoveredColor,color:u.textHoveredColor},rootFocused:{backgroundColor:u.backgroundHoveredColor},rootDisabled:{color:u.textDisabledColor,cursor:"default"},optionText:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:"0px",maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",display:"inline-block"},optionTextWrapper:{maxWidth:"100%",display:"flex",alignItems:"center"}},t,n)}),qx=Ev(function(e,t){var n,r,o=e.semanticColors,i=e.fonts,a={buttonTextColor:o.bodySubtext,buttonTextHoveredCheckedColor:o.buttonTextChecked,buttonBackgroundHoveredColor:o.listItemBackgroundHovered,buttonBackgroundCheckedColor:o.listItemBackgroundChecked,buttonBackgroundCheckedHoveredColor:o.listItemBackgroundCheckedHovered},l={selectors:(n={},n[R_]=em({backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),n)};return $m({root:{color:a.buttonTextColor,fontSize:i.small.fontSize,position:"absolute",top:0,height:"100%",lineHeight:30,width:32,textAlign:"center",cursor:"default",selectors:(r={},r[R_]=em({backgroundColor:"ButtonFace",borderColor:"ButtonText",color:"ButtonText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),r)},icon:{fontSize:i.small.fontSize},rootHovered:[{backgroundColor:a.buttonBackgroundHoveredColor,color:a.buttonTextHoveredCheckedColor,cursor:"pointer"},l],rootPressed:[{backgroundColor:a.buttonBackgroundCheckedColor,color:a.buttonTextHoveredCheckedColor},l],rootChecked:[{backgroundColor:a.buttonBackgroundCheckedColor,color:a.buttonTextHoveredCheckedColor},l],rootCheckedHovered:[{backgroundColor:a.buttonBackgroundCheckedHoveredColor,color:a.buttonTextHoveredCheckedColor},l],rootDisabled:[Wx(e),{position:"absolute"}]},t)}),Gx=Ev(function(e,t,n){var r,o,i,a,l,s,u=e.semanticColors,c=e.fonts,d=e.effects,f={textColor:u.inputText,borderColor:u.inputBorder,borderHoveredColor:u.inputBorderHovered,borderPressedColor:u.inputFocusBorderAlt,borderFocusedColor:u.inputFocusBorderAlt,backgroundColor:u.inputBackground,erroredColor:u.errorText},p={headerTextColor:u.menuHeader,dividerBorderColor:u.bodyDivider},h={selectors:(r={},r[R_]={color:"GrayText"},r)},m=[{color:u.inputPlaceholderText},h],g=[{color:u.inputTextHovered},h],v=[{color:u.disabledText},h],y=em(em({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),b=N_(f.borderPressedColor,d.roundedCorner2,"border",0);return $m({container:{},label:{},labelDisabled:{},root:[e.fonts.medium,{boxShadow:"none",marginLeft:"0",paddingRight:32,paddingLeft:9,color:f.textColor,position:"relative",outline:"0",userSelect:"none",backgroundColor:f.backgroundColor,cursor:"text",display:"block",height:32,whiteSpace:"nowrap",textOverflow:"ellipsis",boxSizing:"border-box",selectors:{".ms-Label":{display:"inline-block",marginBottom:"8px"},"&.is-open":{selectors:(o={},o[R_]=y,o)},":after":{pointerEvents:"none",content:"''",position:"absolute",left:0,top:0,bottom:0,right:0,borderWidth:"1px",borderStyle:"solid",borderColor:f.borderColor,borderRadius:d.roundedCorner2}}}],rootHovered:{selectors:(i={":after":{borderColor:f.borderHoveredColor},".ms-ComboBox-Input":[{color:u.inputTextHovered},eC(g),jx]},i[R_]=em(em({color:"HighlightText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),{selectors:{":after":{borderColor:"Highlight"}}}),i)},rootPressed:[{position:"relative",selectors:(a={},a[R_]=y,a)}],rootFocused:[{selectors:(l={".ms-ComboBox-Input":[{color:u.inputTextHovered},jx]},l[R_]=y,l)},b],rootDisabled:Wx(e),rootError:{selectors:{":after":{borderColor:f.erroredColor},":hover:after":{borderColor:u.inputBorderHovered}}},rootDisallowFreeForm:{},input:[eC(m),{backgroundColor:f.backgroundColor,color:f.textColor,boxSizing:"border-box",width:"100%",height:"100%",borderStyle:"none",outline:"none",font:"inherit",textOverflow:"ellipsis",padding:"0",selectors:{"::-ms-clear":{display:"none"}}},jx],inputDisabled:[Wx(e),eC(v)],errorMessage:[e.fonts.small,{color:f.erroredColor,marginTop:"5px"}],callout:{boxShadow:d.elevation8},optionsContainerWrapper:{width:n},optionsContainer:{display:"block"},screenReaderText:B_,header:[c.medium,{fontWeight:kb.semibold,color:p.headerTextColor,backgroundColor:"none",borderStyle:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(s={},s[R_]=em({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s)}],divider:{height:1,backgroundColor:p.dividerBorderColor}},t)}),$x=Ev(function(e,t,n,r,o,i,a,l){return{container:Gm(e.__shadowConfig__,"ms-ComboBox-container",t,e.container),label:Gm(e.__shadowConfig__,e.label,r&&e.labelDisabled),root:Gm(e.__shadowConfig__,"ms-ComboBox",l?e.rootError:n&&"is-open",o&&"is-required",e.root,!a&&e.rootDisallowFreeForm,l&&!i?e.rootError:!r&&i&&e.rootFocused,!r&&{selectors:{":hover":l?e.rootError:!n&&!i&&e.rootHovered,":active":l?e.rootError:e.rootPressed,":focus":l?e.rootError:e.rootFocused}},r&&["is-disabled",e.rootDisabled]),input:Gm(e.__shadowConfig__,"ms-ComboBox-Input",e.input,r&&e.inputDisabled),errorMessage:Gm(e.__shadowConfig__,e.errorMessage),callout:Gm(e.__shadowConfig__,"ms-ComboBox-callout",e.callout),optionsContainerWrapper:Gm(e.__shadowConfig__,"ms-ComboBox-optionsContainerWrapper",e.optionsContainerWrapper),optionsContainer:Gm(e.__shadowConfig__,"ms-ComboBox-optionsContainer",e.optionsContainer),header:Gm(e.__shadowConfig__,"ms-ComboBox-header",e.header),divider:Gm(e.__shadowConfig__,"ms-ComboBox-divider",e.divider),screenReaderText:Gm(e.__shadowConfig__,e.screenReaderText)}}),Qx=Ev(function(e){return{optionText:Gm(e.__shadowConfig__,"ms-ComboBox-optionText",e.optionText),root:Gm(e.__shadowConfig__,"ms-ComboBox-option",e.root,{selectors:{":hover":e.rootHovered,":focus":e.rootFocused,":active":e.rootPressed}}),optionTextWrapper:Gm(e.__shadowConfig__,e.optionTextWrapper)}});function Zx(e,t){for(var n=[],r=0,o=t;r<o.length;r++){var i=e[o[r]];i&&n.push(i)}return n}!function(e){e[e.Normal=0]="Normal",e[e.Divider=1]="Divider",e[e.Header=2]="Header",e[e.SelectAll=3]="SelectAll"}(Bx||(Bx={})),function(e){e[e.backward=-1]="backward",e[e.none=0]="none",e[e.forward=1]="forward"}(zx||(zx={})),function(e){e[e.clearAll=-2]="clearAll",e[e.default=-1]="default"}(Hx||(Hx={}));var Yx=z.memo(function(e){return(0,e.render)()},function(e,t){e.render;var n=tm(e,["render"]);return t.render,Eg(n,tm(t,["render"]))}),Jx={options:[],allowFreeform:!1,allowParentArrowNavigation:!1,autoComplete:"on",buttonIconProps:{iconName:"ChevronDown"}};function Xx(e){var t=e.options,n=e.defaultSelectedKey,r=e.selectedKey,o=z.useState(function(){return iE(t,function(e,t){var n=aE(e);if(n.length)return n;return aE(t)}(n,r))}),i=o[0],a=o[1],l=z.useState(t),s=l[0],u=l[1],c=z.useState(),d=c[0],f=c[1];return z.useEffect(function(){if(void 0!==r){var e=aE(r),n=iE(t,e);a(n)}u(t)},[t,r]),z.useEffect(function(){null===r&&f(void 0)},[r]),[i,a,s,u,d,f]}var eE=z.forwardRef(function(e,t){var n=ab(Jx,e);n.ref;var r=tm(n,["ref"]),o=z.useRef(null),i=XC(o,t),a=Xx(r),l=a[0],s=a[1],u=a[2],c=a[3],d=a[4],f=a[5];return z.createElement(oE,em({},r,{hoisted:{mergedRootRef:i,rootRef:o,selectedIndices:l,setSelectedIndices:s,currentOptions:u,setCurrentOptions:c,suggestedDisplayValue:d,setSuggestedDisplayValue:f}}))});function tE(e,t){for(var n=function(e,t){void 0===t&&(t=!0);var n=[];if(e){for(var r=0;r<e.children.length;r++)n.push(e.children.item(r));t&&og(e)&&n.push.apply(n,e._virtual.children)}return n}(e),r=0;r<n.length;r++){var o=n[r];if(t(o))return o;var i=tE(o,t);if(i)return i}return null}eE.displayName="ComboBox";var nE,rE,oE=function(e){function t(t){var n=e.call(this,t)||this;return n._autofill=z.createRef(),n._comboBoxWrapper=z.createRef(),n._comboBoxMenu=z.createRef(),n._selectedElement=z.createRef(),n._overrideScrollDismiss=!1,n.focus=function(e,t){n.props.disabled||(n._autofill.current&&(t?kg(n._autofill.current):n._autofill.current.focus(),e&&n.setState({isOpen:!0})),n._hasFocus()||n.setState({focusState:"focused"}))},n.dismissMenu=function(){n.state.isOpen&&n.setState({isOpen:!1})},n._onUpdateValueInAutofillWillReceiveProps=function(){var e=n._autofill.current;return e?null===e.value||void 0===e.value?null:lE(n._currentVisibleValue):null},n._renderComboBoxWrapper=function(e,t){var r=n.props,o=r.label,i=r.disabled,a=r.ariaLabel,l=r.ariaDescribedBy,s=void 0===l?n.props["aria-describedby"]:l,u=r.required,c=r.errorMessage,d=r.buttonIconProps,f=r.isButtonAriaHidden,p=r.title,h=r.placeholder,m=r.tabIndex,g=r.autofill,v=r.iconButtonProps,y=r.hoisted.suggestedDisplayValue,b=n.state,_=b.ariaActiveDescendantValue,C=b.isOpen,S=n._hasFocus()&&n.props.multiSelect&&e?e:h,w=[n.props["aria-labelledby"],o&&n._id+"-label"].join(" ").trim(),k={"aria-labelledby":w||void 0,"aria-label":a&&!o?a:void 0},x=!!(c&&c.length>0);return z.createElement("div",{"data-ktp-target":!0,ref:n._comboBoxWrapper,id:n._id+"wrapper",className:n._classNames.root,"aria-owns":C?n._id+"-list":void 0},z.createElement(dw,em({"data-ktp-execute-target":!0,"data-is-interactable":!i,componentRef:n._autofill,id:n._id+"-input",className:n._classNames.input,type:"text",onFocus:n._onFocus,onBlur:n._onBlur,onKeyDown:n._onInputKeyDown,onKeyUp:n._onInputKeyUp,onClick:n._onAutofillClick,onTouchStart:n._onTouchStart,onInputValueChange:n._onInputChange,"aria-expanded":C,"aria-autocomplete":n._getAriaAutoCompleteValue(),role:"combobox",readOnly:i},k,{"aria-describedby":void 0!==c?sv(s,t):s,"aria-activedescendant":_,"aria-required":u,"aria-disabled":i,"aria-invalid":x,"aria-controls":C?n._id+"-list":void 0,spellCheck:!1,defaultVisibleValue:n._currentVisibleValue,suggestedDisplayValue:y,updateValueInWillReceiveProps:n._onUpdateValueInAutofillWillReceiveProps,shouldSelectFullInputValueInComponentDidUpdate:n._onShouldSelectFullInputValueInAutofillComponentDidUpdate,title:p,preventValueSelection:!n._hasFocus(),placeholder:S,tabIndex:i?-1:m},g)),z.createElement(Jk,em({className:"ms-ComboBox-CaretDown-button",styles:n._getCaretButtonStyles(),role:f?"presentation":void 0,"aria-hidden":f},f?void 0:k,{"data-is-focusable":!1,tabIndex:-1,onClick:n._onComboBoxClick,onBlur:n._onBlur,iconProps:d,disabled:i,checked:C},v)))},n._onShouldSelectFullInputValueInAutofillComponentDidUpdate=function(){return n._currentVisibleValue===n.props.hoisted.suggestedDisplayValue},n._getVisibleValue=function(){var e=n.props,t=e.text,r=e.allowFreeform,o=e.allowFreeInput,i=e.autoComplete,a=e.hoisted,l=a.suggestedDisplayValue,s=a.selectedIndices,u=a.currentOptions,c=n.state,d=c.currentPendingValueValidIndex,f=c.currentPendingValue,p=c.isOpen,h=sE(u,d);if((!p||!h)&&(t||""===t)&&null==f)return t;if(n.props.multiSelect){if(n._hasFocus()){var m=-1;return"on"===i&&h&&(m=d),n._getPendingString(f,u,m)}return n._getMultiselectDisplayString(s,u,l)}m=n._getFirstSelectedIndex();return r||o?("on"===i&&h&&(m=d),n._getPendingString(f,u,m)):h&&"on"===i?(m=d,lE(f)):!n.state.isOpen&&f?sE(u,m)?f:lE(l):sE(u,m)?dE(u[m]):lE(l)},n._onInputChange=function(e){n.props.disabled?n._handleInputWhenDisabled(null):(n.props.onInputValueChange&&n.props.onInputValueChange(e),n.props.allowFreeform||n.props.allowFreeInput?n._processInputChangeWithFreeform(e):n._processInputChangeWithoutFreeform(e))},n._onFocus=function(){var e,t;null===(t=null===(e=n._autofill.current)||void 0===e?void 0:e.inputElement)||void 0===t||t.select(),n._hasFocus()||n.setState({focusState:"focusing"})},n._onResolveOptions=function(){if(n.props.onResolveOptions){var e=n.props.onResolveOptions(rm([],n.props.hoisted.currentOptions,!0));Array.isArray(e)?n.props.hoisted.setCurrentOptions(e):e&&e.then&&(n._currentPromise=e,e.then(function(t){e===n._currentPromise&&n.props.hoisted.setCurrentOptions(t)}))}},n._onBlur=function(e){var t,r,o=sS(n.context),i=e.relatedTarget;if(null===e.relatedTarget&&(i=null==o?void 0:o.activeElement),i){var a=null===(t=n.props.hoisted.rootRef.current)||void 0===t?void 0:t.contains(i),l=null===(r=n._comboBoxMenu.current)||void 0===r?void 0:r.contains(i),s=n._comboBoxMenu.current&&lg(n._comboBoxMenu.current,function(e){return e===i},o);if(a||l||s)return s&&n._hasFocus()&&(!n.props.multiSelect||n.props.allowFreeform)&&n._submitPendingValue(e),e.preventDefault(),void e.stopPropagation()}n._hasFocus()&&(n.setState({focusState:"none"}),n.props.multiSelect&&!n.props.allowFreeform||n._submitPendingValue(e))},n._onRenderContainer=function(e,t){var r=e.onRenderList,o=e.calloutProps,i=e.dropdownWidth,a=e.dropdownMaxWidth,l=e.onRenderUpperContent,s=void 0===l?n._onRenderUpperContent:l,u=e.onRenderLowerContent,c=void 0===u?n._onRenderLowerContent:u,d=e.useComboBoxAsMenuWidth,f=e.persistMenu,p=e.shouldRestoreFocus,h=void 0===p||p,m=n.state.isOpen,g=n._id,v=d&&n._comboBoxWrapper.current?n._comboBoxWrapper.current.clientWidth+2:void 0;return z.createElement(jS,em({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHint:uC,directionalHintFixed:!1},o,{onLayerMounted:n._onLayerMounted,className:Dv(n._classNames.callout,null==o?void 0:o.className),target:n._comboBoxWrapper.current,onDismiss:n._onDismiss,onMouseDown:n._onCalloutMouseDown,onScroll:n._onScroll,setInitialFocus:!1,calloutWidth:d&&n._comboBoxWrapper.current?v&&v:i,calloutMaxWidth:a||v,hidden:f?!m:void 0,shouldRestoreFocus:h,preventDismissOnEvent:function(e){return n._preventDismissOnScrollOrResize(e)}}),s(n.props,n._onRenderUpperContent),z.createElement("div",{className:n._classNames.optionsContainerWrapper,ref:n._comboBoxMenu},null==r?void 0:r(em(em({},e),{id:g}),n._onRenderList)),c(n.props,n._onRenderLowerContent))},n._onLayerMounted=function(){n._onCalloutLayerMounted(),n._async.setTimeout(function(){n._scrollIntoView()},0),n.props.calloutProps&&n.props.calloutProps.onLayerMounted&&n.props.calloutProps.onLayerMounted()},n._onRenderLabel=function(e){var t=e.props,r=t.label,o=t.disabled,i=t.required;return r?z.createElement(cx,{id:n._id+"-label",disabled:o,required:i,className:n._classNames.label},r,e.multiselectAccessibleText&&z.createElement("span",{className:n._classNames.screenReaderText},e.multiselectAccessibleText)):null},n._onRenderList=function(e){var t=e.onRenderItem,r=void 0===t?n._onRenderItem:t,o=e.label,i=e.ariaLabel,a=e.multiSelect,l={items:[]},s=[],u=function(){var e=l.id?[z.createElement("div",{role:"group",key:l.id,"aria-labelledby":l.id},l.items)]:l.items;s=rm(rm([],s,!0),e,!0),l={items:[]}};e.options.forEach(function(e,t){!function(e,t){switch(e.itemType){case Bx.Header:l.items.length>0&&u();var o=n._id+e.key;l.items.push(r(em(em({id:o},e),{index:t}),n._onRenderItem)),l.id=o;break;case Bx.Divider:t>0&&l.items.push(r(em(em({},e),{index:t}),n._onRenderItem)),l.items.length>0&&u();break;default:l.items.push(r(em(em({},e),{index:t}),n._onRenderItem))}}(e,t)}),l.items.length>0&&u();var c=n._id;return z.createElement("div",{id:c+"-list",className:n._classNames.optionsContainer,"aria-labelledby":o&&c+"-label","aria-label":i&&!o?i:void 0,"aria-multiselectable":a?"true":void 0,role:"listbox"},s)},n._onRenderItem=function(e){switch(e.itemType){case Bx.Divider:return n._renderSeparator(e);case Bx.Header:return n._renderHeader(e);default:return n._renderOption(e)}},n._onRenderLowerContent=function(){return null},n._onRenderUpperContent=function(){return null},n._renderOption=function(e){var t,r=n.props.onRenderOption,o=void 0===r?n._onRenderOptionContent:r,i=null!==(t=e.id)&&void 0!==t?t:n._id+"-list"+e.index,a=n._isOptionSelected(e.index),l=n._isOptionChecked(e.index),s=n._isOptionIndeterminate(e.index),u=n._getCurrentOptionStyles(e),c=Qx(u),d=e.title;return z.createElement(Yx,{key:e.key,index:e.index,disabled:e.disabled,isSelected:a,isChecked:l,isIndeterminate:s,text:e.text,render:function(){return n.props.multiSelect?z.createElement(lx,{id:i,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabel?void 0:i+"-label",key:e.key,styles:u,className:"ms-ComboBox-option",onChange:n._onItemClick(e),label:e.text,checked:l,indeterminate:s,title:d,disabled:e.disabled,onRenderLabel:n._renderCheckboxLabel.bind(n,em(em({},e),{id:i+"-label"})),inputProps:em({"aria-selected":l?"true":"false",role:"option"},{"data-index":e.index,"data-is-focusable":!0})}):z.createElement(ex,{id:i,key:e.key,"data-index":e.index,styles:u,checked:a,className:"ms-ComboBox-option",onClick:n._onItemClick(e),onMouseEnter:n._onOptionMouseEnter.bind(n,e.index),onMouseMove:n._onOptionMouseMove.bind(n,e.index),onMouseLeave:n._onOptionMouseLeave,role:"option","aria-selected":a?"true":"false",ariaLabel:e.ariaLabel,disabled:e.disabled,title:d},z.createElement("span",{className:c.optionTextWrapper,ref:a?n._selectedElement:void 0},o(e,n._onRenderOptionContent)))},data:e.data})},n._onCalloutMouseDown=function(e){e.preventDefault()},n._onScroll=function(){var e;n._isScrollIdle||void 0===n._scrollIdleTimeoutId?n._isScrollIdle=!1:(n._async.clearTimeout(n._scrollIdleTimeoutId),n._scrollIdleTimeoutId=void 0),(null===(e=n.props.calloutProps)||void 0===e?void 0:e.onScroll)&&n.props.calloutProps.onScroll(),n._scrollIdleTimeoutId=n._async.setTimeout(function(){n._isScrollIdle=!0},250)},n._onRenderOptionContent=function(e){var t=Qx(n._getCurrentOptionStyles(e));return z.createElement("span",{className:t.optionText},e.text)},n._onRenderMultiselectOptionContent=function(e){var t=Qx(n._getCurrentOptionStyles(e));return z.createElement("span",{id:e.id,"aria-hidden":"true",className:t.optionText},e.text)},n._onDismiss=function(){var e=n.props.onMenuDismiss;e&&e(),n.props.persistMenu&&n._onCalloutLayerMounted(),n._setOpenStateAndFocusOnClose(!1,!1),n._resetSelectedIndex()},n._onAfterClearPendingInfo=function(){n._processingClearPendingInfo=!1},n._onInputKeyDown=function(e){var t=n.props,r=t.disabled,o=t.allowFreeform,i=t.allowFreeInput,a=t.allowParentArrowNavigation,l=t.autoComplete,s=t.hoisted.currentOptions,u=n.state,c=u.isOpen,d=u.currentPendingValueValidIndexOnHover;if(n._lastKeyDownWasAltOrMeta=fE(e),r)n._handleInputWhenDisabled(e);else{var f=n._getPendingSelectedIndex(!1);switch(e.which){case $g:n._autofill.current&&n._autofill.current.inputElement&&n._autofill.current.inputElement.select(),n._submitPendingValue(e),n.props.multiSelect&&c?n.setState({currentPendingValueValidIndex:f}):(c||(!o||void 0===n.state.currentPendingValue||null===n.state.currentPendingValue||n.state.currentPendingValue.length<=0)&&n.state.currentPendingValueValidIndex<0)&&n.setState({isOpen:!c});break;case Gg:return n.props.multiSelect||n._submitPendingValue(e),void(c&&n._setOpenStateAndFocusOnClose(!c,!1));case Zg:if(n._resetSelectedIndex(),!c)return;n.setState({isOpen:!1});break;case rv:if(d===Hx.clearAll&&(f=n.props.hoisted.currentOptions.length),e.altKey||e.metaKey){if(c){n._setOpenStateAndFocusOnClose(!c,!0);break}return}e.preventDefault(),n._setPendingInfoFromIndexAndDirection(f,zx.backward);break;case iv:e.altKey||e.metaKey?n._setOpenStateAndFocusOnClose(!0,!0):(d===Hx.clearAll&&(f=-1),e.preventDefault(),n._setPendingInfoFromIndexAndDirection(f,zx.forward));break;case tv:case ev:if(o||i)return;f=-1;var p=zx.forward;e.which===ev&&(f=s.length,p=zx.backward),n._setPendingInfoFromIndexAndDirection(f,p);break;case Yg:if(!o&&!i&&"off"===l)break;default:if(e.which>=112&&e.which<=123)return;if(e.keyCode===Qg||"Meta"===e.key)return;if(a&&(e.keyCode===nv||e.keyCode===ov))return;if(!o&&!i&&"on"===l){n._onInputChange(e.key);break}return}e.stopPropagation(),e.preventDefault()}},n._onInputKeyUp=function(e){var t=n.props,r=t.disabled,o=t.allowFreeform,i=t.allowFreeInput,a=t.autoComplete,l=n.state.isOpen,s=n._lastKeyDownWasAltOrMeta&&fE(e);n._lastKeyDownWasAltOrMeta=!1;var u=s&&!(eb()||Yy());r?n._handleInputWhenDisabled(e):e.which!==Yg?u&&l?n._setOpenStateAndFocusOnClose(!l,!0):("focusing"===n.state.focusState&&n.props.openOnKeyboardFocus&&n.setState({isOpen:!0}),"focused"!==n.state.focusState&&n.setState({focusState:"focused"})):o||i||"off"!==a||n._setOpenStateAndFocusOnClose(!l,!!l)},n._onOptionMouseLeave=function(){n._shouldIgnoreMouseEvent()||n.props.persistMenu&&!n.state.isOpen||n.setState({currentPendingValueValidIndexOnHover:Hx.clearAll})},n._onComboBoxClick=function(){var e=n.props.disabled,t=n.state.isOpen;e||(n._setOpenStateAndFocusOnClose(!t,!1),n.setState({focusState:"focused"}))},n._onAutofillClick=function(){var e=n.props,t=e.disabled;e.allowFreeform&&!t?n.focus(n.state.isOpen||n._processingTouch):n._onComboBoxClick()},n._onTouchStart=function(){n._comboBoxWrapper.current&&!("onpointerdown"in n._comboBoxWrapper)&&n._handleTouchAndPointerEvent()},n._onPointerDown=function(e){"touch"===e.pointerType&&(n._handleTouchAndPointerEvent(),e.preventDefault(),e.stopImmediatePropagation())},wy(n),n._async=new rg(n),n._events=new Pg(n),n._id=t.id||sy("ComboBox"),n._isScrollIdle=!0,n._processingTouch=!1,n._gotMouseMove=!1,n._processingClearPendingInfo=!1,n.state={isOpen:!1,focusState:"none",currentPendingValueValidIndex:-1,currentPendingValue:void 0,currentPendingValueValidIndexOnHover:Hx.default},n}return Xh(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props.hoisted;return Zx(e.currentOptions,e.selectedIndices)},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this._comboBoxWrapper.current&&!this.props.disabled&&(this._events.on(this._comboBoxWrapper.current,"focus",this._onResolveOptions,!0),"onpointerdown"in this._comboBoxWrapper.current&&this._events.on(this._comboBoxWrapper.current,"pointerdown",this._onPointerDown,!0))},t.prototype.componentDidUpdate=function(e,t){var n,r,o,i=this,a=this.props,l=a.allowFreeform,s=a.allowFreeInput,u=a.text,c=a.onMenuOpen,d=a.onMenuDismissed,f=a.hoisted,p=f.currentOptions,h=f.selectedIndices,m=this.state,g=m.currentPendingValue,v=m.currentPendingValueValidIndex,y=m.isOpen;!y||t.isOpen&&t.currentPendingValueValidIndex===v||this._async.setTimeout(function(){return i._scrollIntoView()},0);var b=sS(this.context);this._hasFocus()&&(y||t.isOpen&&!y&&this._focusInputAfterClose&&this._autofill.current&&(null==b?void 0:b.activeElement)!==this._autofill.current.inputElement)&&this.focus(void 0,!0),this._focusInputAfterClose&&(t.isOpen&&!y||this._hasFocus()&&(!y&&!this.props.multiSelect&&e.hoisted.selectedIndices&&h&&e.hoisted.selectedIndices[0]!==h[0]||!l&&!s||u!==e.text))&&this._onFocus(),this._notifyPendingValueChanged(t),y&&!t.isOpen&&(this._overrideScrollDismiss=!0,this._async.clearTimeout(this._overrideScrollDimissTimeout),this._overrideScrollDimissTimeout=this._async.setTimeout(function(){i._overrideScrollDismiss=!1},100),null==c||c()),!y&&t.isOpen&&d&&d();var _=v,C=p.map(function(e,t){return em(em({},e),{index:t})});!Eg(e.hoisted.currentOptions,p)&&g&&(_=this.props.allowFreeform||this.props.allowFreeInput?this._processInputChangeWithFreeform(g):this._updateAutocompleteIndexWithoutFreeform(g));var S=void 0;y&&this._hasFocus()&&-1!==_?S=null!==(n=C[_].id)&&void 0!==n?n:this._id+"-list"+_:y&&h.length&&(S=null!==(o=null===(r=C[h[0]])||void 0===r?void 0:r.id)&&void 0!==o?o:this._id+"-list"+h[0]),S!==this.state.ariaActiveDescendantValue&&this.setState({ariaActiveDescendantValue:S})},t.prototype.componentWillUnmount=function(){this._async.dispose(),this._events.dispose()},t.prototype.render=function(){var e=this._id+"-error",t=this.props,n=t.className,r=t.disabled,o=t.required,i=t.errorMessage,a=t.onRenderContainer,l=void 0===a?this._onRenderContainer:a,s=t.onRenderLabel,u=void 0===s?this._onRenderLabel:s,c=t.onRenderList,d=void 0===c?this._onRenderList:c,f=t.onRenderItem,p=void 0===f?this._onRenderItem:f,h=t.onRenderOption,m=void 0===h?this._onRenderOptionContent:h,g=t.allowFreeform,v=t.styles,y=t.theme,b=t.persistMenu,_=t.multiSelect,C=t.hoisted,S=C.suggestedDisplayValue,w=C.selectedIndices,k=C.currentOptions,x=this.state.isOpen;this._currentVisibleValue=this._getVisibleValue();var E=_?this._getMultiselectDisplayString(w,k,S):void 0,F=Sy(this.props,Cy,["onChange","value","aria-describedby","aria-labelledby"]),I=!!(i&&i.length>0);this._classNames=this.props.getClassNames?this.props.getClassNames(y,!!x,!!r,!!o,!!this._hasFocus(),!!g,!!I,n):$x(Gx(y,v),n,!!x,!!r,!!o,!!this._hasFocus(),!!g,!!I);var T=this._renderComboBoxWrapper(E,e);return z.createElement("div",em({},F,{ref:this.props.hoisted.mergedRootRef,className:this._classNames.container}),u({props:this.props,multiselectAccessibleText:E},this._onRenderLabel),T,(b||x)&&l(em(em({},this.props),{onRenderList:d,onRenderItem:p,onRenderOption:m,options:k.map(function(e,t){return em(em({},e),{index:t})}),onDismiss:this._onDismiss}),this._onRenderContainer),I&&z.createElement("div",{role:"alert",id:e,className:this._classNames.errorMessage},i))},t.prototype._getPendingString=function(e,t,n){return null!=e?e:sE(t,n)?dE(t[n]):""},t.prototype._getMultiselectDisplayString=function(e,t,n){for(var r=[],o=0;e&&o<e.length;o++){var i=e[o];t[i].itemType!==Bx.SelectAll&&r.push(sE(t,i)?t[i].text:lE(n))}var a=this.props.multiSelectDelimiter,l=void 0===a?", ":a;return r.join(l)},t.prototype._preventDismissOnScrollOrResize=function(e){var t=this.props.calloutProps;return(null==t?void 0:t.preventDismissOnEvent)?t.preventDismissOnEvent(e):!(!this._overrideScrollDismiss||"scroll"!==e.type&&"resize"!==e.type)},t.prototype._processInputChangeWithFreeform=function(e){var t=this,n=this.props.hoisted.currentOptions,r=-1;if(""===e)return 1===(i=n.map(function(e,t){return em(em({},e),{index:t})}).filter(function(t){return uE(t)&&!t.disabled&&dE(t)===e})).length&&(r=i[0].index),this._setPendingInfo(e,r,e),r;var o=e;e=this._adjustForCaseSensitivity(e);var i,a="";if("on"===this.props.autoComplete){if((i=n.map(function(e,t){return em(em({},e),{index:t})}).filter(function(n){return uE(n)&&!n.disabled&&0===t._adjustForCaseSensitivity(dE(n)).indexOf(e)})).length>0){var l=dE(i[0]);a=this._adjustForCaseSensitivity(l)!==e?l:"",r=i[0].index}}else 1===(i=n.map(function(e,t){return em(em({},e),{index:t})}).filter(function(n){return uE(n)&&!n.disabled&&t._adjustForCaseSensitivity(dE(n))===e})).length&&(r=i[0].index);return this._setPendingInfo(o,r,a),r},t.prototype._processInputChangeWithoutFreeform=function(e){var t=this,n=this.state,r=n.currentPendingValue,o=n.currentPendingValueValidIndex;if("on"===this.props.autoComplete&&""!==e){this._autoCompleteTimeout&&(this._async.clearTimeout(this._autoCompleteTimeout),this._autoCompleteTimeout=void 0,e=lE(r)+e);var i=this._updateAutocompleteIndexWithoutFreeform(e);return this._autoCompleteTimeout=this._async.setTimeout(function(){t._autoCompleteTimeout=void 0},1e3),i}var a=o>=0?o:this._getFirstSelectedIndex();return this._setPendingInfoFromIndex(a),a},t.prototype._updateAutocompleteIndexWithoutFreeform=function(e){var t=this,n=this.props.hoisted.currentOptions,r=e;e=this._adjustForCaseSensitivity(e);var o=n.map(function(e,t){return em(em({},e),{index:t})}).filter(function(n){return uE(n)&&!n.disabled&&0===t._adjustForCaseSensitivity(n.text).indexOf(e)});return o.length>0?(this._setPendingInfo(r,o[0].index,dE(o[0])),o[0].index):-1},t.prototype._getFirstSelectedIndex=function(){var e=this.props.hoisted.selectedIndices;return(null==e?void 0:e.length)?e[0]:-1},t.prototype._getNextSelectableIndex=function(e,t){var n=this.props.hoisted.currentOptions,r=e+t;if(!sE(n,r=Math.max(0,Math.min(n.length-1,r))))return-1;var o=n[r];if(!cE(o)||!0===o.hidden){if(t===zx.none||!(r>0&&t<zx.none||r>=0&&r<n.length&&t>zx.none))return e;r=this._getNextSelectableIndex(r,t)}return r},t.prototype._setSelectedIndex=function(e,t,n){void 0===n&&(n=zx.none);var r=this.props,o=r.onChange,i=r.onPendingValueChanged,a=r.hoisted,l=a.selectedIndices,s=a.currentOptions,u=l?l.slice():[],c=s.slice();if(sE(s,e=this._getNextSelectableIndex(e,n))){if(this.props.multiSelect||u.length<1||1===u.length&&u[0]!==e){var d=em({},s[e]);if(!d||d.disabled)return;if(this.props.multiSelect)if(d.selected=void 0!==d.selected?!d.selected:u.indexOf(e)<0,d.itemType===Bx.SelectAll)u=[],d.selected?s.forEach(function(e,t){!e.disabled&&cE(e)&&(u.push(t),c[t]=em(em({},e),{selected:!0}))}):c=s.map(function(e){return em(em({},e),{selected:!1})});else{d.selected&&u.indexOf(e)<0?u.push(e):!d.selected&&u.indexOf(e)>=0&&(u=u.filter(function(t){return t!==e})),c[e]=d;var f=c.filter(function(e){return e.itemType===Bx.SelectAll})[0];if(f){var p=this._isSelectAllChecked(u),h=c.indexOf(f);p?(u.push(h),c[h]=em(em({},f),{selected:!0})):(u=u.filter(function(e){return e!==h}),c[h]=em(em({},f),{selected:!1}))}}else u[0]=e;t.persist(),this.props.selectedKey||null===this.props.selectedKey||(this.props.hoisted.setSelectedIndices(u),this.props.hoisted.setCurrentOptions(c)),this._hasPendingValue&&i&&(i(),this._hasPendingValue=!1),o&&o(t,d,e,dE(d))}this.props.multiSelect&&this.state.isOpen||this._clearPendingInfo()}},t.prototype._submitPendingValue=function(e){var t,n=this.props,r=n.onChange,o=n.allowFreeform,i=n.autoComplete,a=n.multiSelect,l=n.hoisted,s=l.currentOptions,u=this.state,c=u.currentPendingValue,d=u.currentPendingValueValidIndex,f=u.currentPendingValueValidIndexOnHover,p=this.props.hoisted.selectedIndices;if(!this._processingClearPendingInfo){if(o){if(null==c)return void(f>=0&&(this._setSelectedIndex(f,e),this._clearPendingInfo()));if(sE(s,d)){var h=this._adjustForCaseSensitivity(dE(s[d])),m=this._autofill.current,g=this._adjustForCaseSensitivity(c);if(g===h||i&&0===h.indexOf(g)&&(null==m?void 0:m.isValueSelected)&&c.length+(m.selectionEnd-m.selectionStart)===h.length||void 0!==(null===(t=null==m?void 0:m.inputElement)||void 0===t?void 0:t.value)&&this._adjustForCaseSensitivity(m.inputElement.value)===h){if(this._setSelectedIndex(d,e),a&&this.state.isOpen)return;return void this._clearPendingInfo()}}if(r)r&&r(e,void 0,void 0,c);else{var v={key:c||sy(),text:lE(c)};a&&(v.selected=!0);var y=s.concat([v]);p&&(a||(p=[]),p.push(y.length-1)),l.setCurrentOptions(y),l.setSelectedIndices(p)}}else d>=0?this._setSelectedIndex(d,e):f>=0&&this._setSelectedIndex(f,e);this._clearPendingInfo()}},t.prototype._onCalloutLayerMounted=function(){this._gotMouseMove=!1},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key;return t&&t>0?z.createElement("div",{role:"presentation",key:n,className:this._classNames.divider}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOptionContent:t;return z.createElement("div",{id:e.id,key:e.key,className:this._classNames.header},n(e,this._onRenderOptionContent))},t.prototype._renderCheckboxLabel=function(e){var t=this.props.onRenderOption;return(void 0===t?this._onRenderMultiselectOptionContent:t)(e,this._onRenderMultiselectOptionContent)},t.prototype._isOptionHighlighted=function(e){var t=this.state.currentPendingValueValidIndexOnHover;return t!==Hx.clearAll&&(t>=0?t===e:this._isOptionSelected(e))},t.prototype._isOptionSelected=function(e){return this._getPendingSelectedIndex(!0)===e},t.prototype._isOptionChecked=function(e){if(this.props.multiSelect&&void 0!==e&&this.props.hoisted.selectedIndices){return this.props.hoisted.selectedIndices.indexOf(e)>=0}return!1},t.prototype._isOptionIndeterminate=function(e){var t=this.props,n=t.multiSelect,r=t.hoisted;if(n&&void 0!==e&&r.selectedIndices&&r.currentOptions){var o=r.currentOptions[e];if(o&&o.itemType===Bx.SelectAll)return r.selectedIndices.length>0&&!this._isSelectAllChecked()}return!1},t.prototype._isSelectAllChecked=function(e){var t=this.props,n=t.multiSelect,r=t.hoisted,o=r.currentOptions.find(function(e){return e.itemType===Bx.SelectAll}),i=e||r.selectedIndices;if(!n||!i||!o)return!1;var a=r.currentOptions.indexOf(o),l=i.filter(function(e){return e!==a}),s=r.currentOptions.filter(function(e){return!e.disabled&&e.itemType!==Bx.SelectAll&&cE(e)});return l.length===s.length},t.prototype._getPendingSelectedIndex=function(e){var t=this.state,n=t.currentPendingValueValidIndex,r=t.currentPendingValue;return n>=0||e&&null!=r?n:this.props.multiSelect?-1:this._getFirstSelectedIndex()},t.prototype._scrollIntoView=function(){var e=this.props,t=e.onScrollToItem,n=e.scrollSelectedToTop,r=this._getPendingSelectedIndex(!0);if(t)t(r>=0?r:this._getFirstSelectedIndex());else{var o=this._selectedElement.current;if(this.props.multiSelect&&this._comboBoxMenu.current&&(o=tE(this._comboBoxMenu.current,function(e){var t;return(null===(t=e.dataset)||void 0===t?void 0:t.index)===r.toString()})),o&&o.offsetParent){var i=!0;if(this._comboBoxMenu.current&&this._comboBoxMenu.current.offsetParent){var a=this._comboBoxMenu.current.offsetParent,l=o.offsetParent,s=l.offsetHeight,u=l.offsetTop,c=a,d=c.offsetHeight,f=c.scrollTop,p=u+s>f+d;u<f||n?(i=!1,a.scrollTo(0,u)):p&&a.scrollTo(0,u-d+s)}else o.offsetParent.scrollIntoView(i)}}},t.prototype._onItemClick=function(e){var t=this,n=this.props.onItemClick,r=e.index;return function(o){t.props.multiSelect||(t._autofill.current&&t._autofill.current.focus(),t.setState({isOpen:!1})),n&&n(o,e,r),t._setSelectedIndex(r,o)}},t.prototype._resetSelectedIndex=function(){var e=this.props.hoisted.currentOptions;this._clearPendingInfo();var t=this._getFirstSelectedIndex();t>0&&t<e.length?this.props.hoisted.setSuggestedDisplayValue(e[t].text):this.props.text&&this.props.hoisted.setSuggestedDisplayValue(this.props.text)},t.prototype._clearPendingInfo=function(){this._processingClearPendingInfo=!0,this.props.hoisted.setSuggestedDisplayValue(void 0),this.setState({currentPendingValue:void 0,currentPendingValueValidIndex:-1,currentPendingValueValidIndexOnHover:Hx.default},this._onAfterClearPendingInfo)},t.prototype._setPendingInfo=function(e,t,n){void 0===t&&(t=-1),this._processingClearPendingInfo||(this.props.hoisted.setSuggestedDisplayValue(n),this.setState({currentPendingValue:lE(e),currentPendingValueValidIndex:t,currentPendingValueValidIndexOnHover:Hx.default}))},t.prototype._setPendingInfoFromIndex=function(e){var t=this.props.hoisted.currentOptions;if(e>=0&&e<t.length){var n=t[e];this._setPendingInfo(dE(n),e,dE(n))}else this._clearPendingInfo()},t.prototype._setPendingInfoFromIndexAndDirection=function(e,t){var n=this.props.hoisted.currentOptions;t===zx.forward&&e>=n.length-1?e=-1:t===zx.backward&&e<=0&&(e=n.length);var r=this._getNextSelectableIndex(e,t);e===r?t===zx.forward?e=this._getNextSelectableIndex(-1,t):t===zx.backward&&(e=this._getNextSelectableIndex(n.length,t)):e=r,sE(n,e)&&this._setPendingInfoFromIndex(e)},t.prototype._notifyPendingValueChanged=function(e){var t=this.props.onPendingValueChanged;if(t){var n=this.props.hoisted.currentOptions,r=this.state,o=r.currentPendingValue,i=r.currentPendingValueValidIndex,a=r.currentPendingValueValidIndexOnHover,l=void 0,s=void 0;a!==e.currentPendingValueValidIndexOnHover&&sE(n,a)?l=a:i!==e.currentPendingValueValidIndex&&sE(n,i)?l=i:o!==e.currentPendingValue&&(s=o),(void 0!==l||void 0!==s||this._hasPendingValue)&&(t(void 0!==l?n[l]:void 0,l,s),this._hasPendingValue=void 0!==l||void 0!==s)}},t.prototype._setOpenStateAndFocusOnClose=function(e,t){this._focusInputAfterClose=t,this.setState({isOpen:e})},t.prototype._onOptionMouseEnter=function(e){this._shouldIgnoreMouseEvent()||this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._onOptionMouseMove=function(e){this._gotMouseMove=!0,this._isScrollIdle&&this.state.currentPendingValueValidIndexOnHover!==e&&this.setState({currentPendingValueValidIndexOnHover:e})},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._handleInputWhenDisabled=function(e){this.props.disabled&&(this.state.isOpen&&this.setState({isOpen:!1}),null!==e&&e.which!==Gg&&e.which!==Zg&&(e.which<112||e.which>123)&&(e.stopPropagation(),e.preventDefault()))},t.prototype._handleTouchAndPointerEvent=function(){var e=this;void 0!==this._lastTouchTimeoutId&&(this._async.clearTimeout(this._lastTouchTimeoutId),this._lastTouchTimeoutId=void 0),this._processingTouch=!0,this._lastTouchTimeoutId=this._async.setTimeout(function(){e._processingTouch=!1,e._lastTouchTimeoutId=void 0},500)},t.prototype._getCaretButtonStyles=function(){var e=this.props.caretDownButtonStyles;return qx(this.props.theme,e)},t.prototype._getCurrentOptionStyles=function(e){var t,n=this.props.comboBoxOptionStyles,r=e.styles,o=Kx(this.props.theme,n,r,this._isPendingOption(e),e.hidden,this._isOptionHighlighted(e.index));return o.__shadowConfig__=null===(t=this.props.styles)||void 0===t?void 0:t.__shadowConfig__,o},t.prototype._getAriaAutoCompleteValue=function(){return!this.props.disabled&&"on"===this.props.autoComplete?this.props.allowFreeform?"inline":"both":"list"},t.prototype._isPendingOption=function(e){return e&&e.index===this.state.currentPendingValueValidIndex},t.prototype._hasFocus=function(){return"none"!==this.state.focusState},t.prototype._adjustForCaseSensitivity=function(e){return this.props.caseSensitive?e:e.toLowerCase()},t.contextType=Yv,t=nm([ny("ComboBox",["theme","styles"],!0)],t)}(z.Component);function iE(e,t){if(!e||!t)return[];var n={};e.forEach(function(e,t){e.selected&&(n[t]=!0)});for(var r=function(t){var r=uv(e,function(e){return e.key===t});r>-1&&(n[r]=!0)},o=0,i=t;o<i.length;o++){r(i[o])}return Object.keys(n).map(Number).sort()}function aE(e){return void 0===e?[]:e instanceof Array?e:[e]}function lE(e){return e||""}function sE(e,t){return!!e&&t>=0&&t<e.length}function uE(e){return e.itemType!==Bx.Header&&e.itemType!==Bx.Divider&&e.itemType!==Bx.SelectAll}function cE(e){return e.itemType!==Bx.Header&&e.itemType!==Bx.Divider}function dE(e){return e.useAriaLabelAsText&&e.ariaLabel?e.ariaLabel:e.text}function fE(e){return e.which===Qg||"Meta"===e.key}!function(e){e[e.xSmall=0]="xSmall",e[e.small=1]="small",e[e.medium=2]="medium",e[e.large=3]="large"}(nE||(nE={})),function(e){e[e.normal=0]="normal",e[e.large=1]="large"}(rE||(rE={}));var pE,hE=vv(),mE=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Xh(t,e),t.prototype.render=function(){var e=this.props,t=e.type,n=e.size,r=e.ariaLabel,o=e.ariaLive,i=e.styles,a=e.label,l=e.theme,s=e.className,u=e.labelPosition,c=r,d=Sy(this.props,Cy,["size"]),f=n;void 0===f&&void 0!==t&&(f=t===rE.large?nE.large:nE.medium);var p=hE(i,{theme:l,size:f,className:s,labelPosition:u});return z.createElement("div",em({},d,{className:p.root}),z.createElement("div",{className:p.circle}),a&&z.createElement("div",{className:p.label},a),c&&z.createElement("div",{role:"status","aria-live":o},z.createElement(zg,null,z.createElement("div",{className:p.screenReaderText},c))))},t.defaultProps={size:nE.medium,ariaLive:"polite",labelPosition:"bottom"},t}(z.Component),gE={root:"ms-Spinner",circle:"ms-Spinner-circle",label:"ms-Spinner-label"},vE=Ev(function(){return Xm({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}})}),yE=ob(mE,function(e){var t,n=e.theme,r=e.size,o=e.className,i=e.labelPosition,a=n.palette,l=H_(gE,n);return{root:[l.root,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"top"===i&&{flexDirection:"column-reverse"},"right"===i&&{flexDirection:"row"},"left"===i&&{flexDirection:"row-reverse"},o],circle:[l.circle,{boxSizing:"border-box",borderRadius:"50%",borderWidth:"1.5px",borderStyle:"solid",borderTopColor:a.themePrimary,borderRightColor:a.themeLight,borderBottomColor:a.themeLight,borderLeftColor:a.themeLight,animationName:vE(),animationDuration:"1.3s",animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(.53,.21,.29,.67)",selectors:(t={},t[R_]=em({borderTopColor:"Highlight"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)},r===nE.xSmall&&["ms-Spinner--xSmall",{width:12,height:12}],r===nE.small&&["ms-Spinner--small",{width:16,height:16}],r===nE.medium&&["ms-Spinner--medium",{width:20,height:20}],r===nE.large&&["ms-Spinner--large",{width:28,height:28}]],label:[l.label,n.fonts.small,{color:a.themePrimary,margin:"8px 0 0",textAlign:"center"},"top"===i&&{margin:"0 0 8px"},"right"===i&&{margin:"0 0 0 8px"},"left"===i&&{margin:"0 8px 0 0"}],screenReaderText:B_}},void 0,{scope:"Spinner"}),bE=vv(),_E=function(e){function t(t){var n=e.call(this,t)||this;wy(n);var r=n.props.allowTouchBodyScroll,o=void 0!==r&&r;return n._allowTouchBodyScroll=o,n}return Xh(t,e),t.prototype.componentDidMount=function(){var e;!this._allowTouchBodyScroll&&((e=fg())&&e.body&&!Rg&&(e.body.classList.add(Dg),e.body.addEventListener("touchmove",Og,{passive:!1,capture:!1})),Rg++)},t.prototype.componentWillUnmount=function(){!this._allowTouchBodyScroll&&function(){if(Rg>0){var e=fg();e&&e.body&&1===Rg&&(e.body.classList.remove(Dg),e.body.removeEventListener("touchmove",Og)),Rg--}}()},t.prototype.render=function(){var e=this.props,t=e.isDarkThemed,n=e.className,r=e.theme,o=e.styles,i=Sy(this.props,Cy),a=bE(o,{theme:r,className:n,isDark:t});return z.createElement("div",em({},i,{className:a.root}))},t}(z.Component),CE={root:"ms-Overlay",rootDark:"ms-Overlay--dark"},SE=ob(_E,function(e){var t,n=e.className,r=e.theme,o=e.isNone,i=e.isDark,a=r.palette,l=H_(CE,r);return{root:[l.root,r.fonts.medium,{backgroundColor:a.whiteTranslucent40,top:0,right:0,bottom:0,left:0,position:"absolute",selectors:(t={},t[R_]={border:"1px solid WindowText",opacity:0},t)},o&&{visibility:"hidden"},i&&[l.rootDark,{backgroundColor:a.blackTranslucent40}],n]}},void 0,{scope:"Overlay"}),wE=function(){function e(){this._size=0}return e.prototype.updateOptions=function(e){for(var t=[],n=[],r=0,o=0;o<e.length;o++){var i=e[o],a=i.itemType,l=i.hidden;a===Bx.Divider||a===Bx.Header?(t.push(o),n.push(o)):l?n.push(o):r++}this._size=r,this._displayOnlyOptionsCache=t,this._notSelectableOptionsCache=n,this._cachedOptions=rm([],e,!0)},Object.defineProperty(e.prototype,"optionSetSize",{get:function(){return this._size},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cachedOptions",{get:function(){return this._cachedOptions},enumerable:!1,configurable:!0}),e.prototype.positionInSet=function(e){if(void 0!==e){for(var t=0;e>this._notSelectableOptionsCache[t];)t++;if(this._displayOnlyOptionsCache[t]===e)throw new Error("Unexpected: Option at index ".concat(e," is not a selectable element."));if(this._notSelectableOptionsCache[t]!==e)return e-t+1}},e}();!function(e){e[e.smallFluid=0]="smallFluid",e[e.smallFixedFar=1]="smallFixedFar",e[e.smallFixedNear=2]="smallFixedNear",e[e.medium=3]="medium",e[e.large=4]="large",e[e.largeFixed=5]="largeFixed",e[e.extraLarge=6]="extraLarge",e[e.custom=7]="custom",e[e.customNear=8]="customNear"}(pE||(pE={}));var kE,xE=vv();!function(e){e[e.closed=0]="closed",e[e.animatingOpen=1]="animatingOpen",e[e.open=2]="open",e[e.animatingClosed=3]="animatingClosed"}(kE||(kE={}));var EE,FE,IE,TE,PE,RE=function(e){function t(t){var n=e.call(this,t)||this;n._panel=z.createRef(),n._animationCallback=null,n._hasCustomNavigation=!(!n.props.onRenderNavigation&&!n.props.onRenderNavigationContent),n.dismiss=function(e){n.props.onDismiss&&n.isActive&&n.props.onDismiss(e),(!e||e&&!e.defaultPrevented)&&n.close()},n._allowScrollOnPanel=function(e){var t,r,o;n._resizeObserver=n._createResizeObserver(function(t){t.length>0&&t[0].target===e&&n._updateFooterPosition()}),e?(null===(t=n._resizeObserver)||void 0===t||t.observe(e),n._allowTouchBodyScroll?(r=e,o=n._events,r&&o.on(r,"touchmove",function(e){e.stopPropagation()},{passive:!1})):function(e,t){var n=ng(e);if(e&&n){var r=0,o=null,i=n.getComputedStyle(e);t.on(e,"touchstart",function(e){1===e.targetTouches.length&&(r=e.targetTouches[0].clientY)},{passive:!1}),t.on(e,"touchmove",function(e){if(1===e.targetTouches.length&&(e.stopPropagation(),o)){var t=e.targetTouches[0].clientY-r,a=Ag(e.target);a&&o!==a&&(o=a,i=n.getComputedStyle(o));var l=o.scrollTop,s="column-reverse"===(null==i?void 0:i.flexDirection);0===l&&(s?t<0:t>0)&&e.preventDefault(),o.scrollHeight-Math.abs(Math.ceil(l))<=o.clientHeight&&(s?t>0:t<0)&&e.preventDefault()}},{passive:!1}),o=e}}(e,n._events)):n._events.off(n._scrollableContent),n._scrollableContent=e},n._onRenderNavigation=function(e){if(!n.props.onRenderNavigationContent&&!n.props.onRenderNavigation&&!n.props.hasCloseButton)return null;var t=n.props.onRenderNavigationContent,r=void 0===t?n._onRenderNavigationContent:t;return z.createElement("div",{className:n._classNames.navigation},r(e,n._onRenderNavigationContent))},n._onRenderNavigationContent=function(e){var t,r=e.closeButtonAriaLabel,o=e.hasCloseButton,i=e.onRenderHeader,a=void 0===i?n._onRenderHeader:i;if(o){var l=null===(t=n._classNames.subComponentStyles)||void 0===t?void 0:t.closeButton();return z.createElement(z.Fragment,null,!n._hasCustomNavigation&&a(n.props,n._onRenderHeader,n._headerTextId),z.createElement(Jk,{styles:l,className:n._classNames.closeButton,onClick:n._onPanelClick,ariaLabel:r,title:r,"data-is-visible":!0,iconProps:{iconName:"Cancel"}}))}return null},n._onRenderHeader=function(e,t,r){var o=e.headerText,i=e.headerTextProps,a=void 0===i?{}:i;return o?z.createElement("div",{className:n._classNames.header},z.createElement("div",em({id:r,role:"heading","aria-level":1},a,{className:Dv(n._classNames.headerText,a.className)}),o)):null},n._onRenderBody=function(e){return z.createElement("div",{className:n._classNames.content},e.children)},n._onRenderFooter=function(e){var t=n.props.onRenderFooterContent,r=void 0===t?null:t;return r?z.createElement("div",{className:n._classNames.footer},z.createElement("div",{className:n._classNames.footerInner},r())):null},n._animateTo=function(e){e===kE.open&&n.props.onOpen&&n.props.onOpen(),n._animationCallback=n._async.setTimeout(function(){n.setState({visibility:e}),n._onTransitionComplete(e)},200)},n._clearExistingAnimationTimer=function(){null!==n._animationCallback&&n._async.clearTimeout(n._animationCallback)},n._onPanelClick=function(e){n.dismiss(e)},n._onTransitionComplete=function(e){n._updateFooterPosition(),e===kE.open&&n.props.onOpened&&n.props.onOpened(),e===kE.closed&&n.props.onDismissed&&n.props.onDismissed()};var r=n.props.allowTouchBodyScroll,o=void 0!==r&&r;return n._allowTouchBodyScroll=o,wy(n),n.state={isFooterSticky:!1,visibility:kE.closed,id:sy("Panel")},n}return Xh(t,e),t.getDerivedStateFromProps=function(e,t){return void 0===e.isOpen?null:!e.isOpen||t.visibility!==kE.closed&&t.visibility!==kE.animatingClosed?e.isOpen||t.visibility!==kE.open&&t.visibility!==kE.animatingOpen?null:{visibility:kE.animatingClosed}:{visibility:kE.animatingOpen}},t.prototype.componentDidMount=function(){this._async=new rg(this),this._events=new Pg(this);var e=uS(this.context),t=sS(this.context);this._events.on(e,"resize",this._updateFooterPosition),this._shouldListenForOuterClick(this.props)&&this._events.on(null==t?void 0:t.body,"mousedown",this._dismissOnOuterClick,!0),this.props.isOpen&&this.setState({visibility:kE.animatingOpen})},t.prototype.componentDidUpdate=function(e,t){var n=this._shouldListenForOuterClick(this.props),r=this._shouldListenForOuterClick(e);this.state.visibility!==t.visibility&&(this._clearExistingAnimationTimer(),this.state.visibility===kE.animatingOpen?this._animateTo(kE.open):this.state.visibility===kE.animatingClosed&&this._animateTo(kE.closed));var o=sS(this.context);n&&!r?this._events.on(null==o?void 0:o.body,"mousedown",this._dismissOnOuterClick,!0):!n&&r&&this._events.off(null==o?void 0:o.body,"mousedown",this._dismissOnOuterClick,!0)},t.prototype.componentWillUnmount=function(){var e;this._async.dispose(),this._events.dispose(),null===(e=this._resizeObserver)||void 0===e||e.disconnect()},t.prototype.render=function(){var e=this.props,t=e.className,n=void 0===t?"":t,r=e.elementToFocusOnDismiss,o=e.firstFocusableSelector,i=e.focusTrapZoneProps,a=e.forceFocusInsideTrap,l=e.hasCloseButton,s=e.headerText,u=e.headerClassName,c=void 0===u?"":u,d=e.ignoreExternalFocusing,f=e.isBlocking,p=e.isFooterAtBottom,h=e.isLightDismiss,m=e.isHiddenOnDismiss,g=e.layerProps,v=e.overlayProps,y=e.popupProps,b=e.type,_=e.styles,C=e.theme,S=e.customWidth,w=e.onLightDismissClick,k=void 0===w?this._onPanelClick:w,x=e.onRenderNavigation,E=void 0===x?this._onRenderNavigation:x,F=e.onRenderHeader,I=void 0===F?this._onRenderHeader:F,T=e.onRenderBody,P=void 0===T?this._onRenderBody:T,R=e.onRenderFooter,D=void 0===R?this._onRenderFooter:R,M=this.state,O=M.isFooterSticky,A=M.visibility,L=M.id,N=b===pE.smallFixedNear||b===pE.customNear,B=pv(C)?N:!N,H=b===pE.custom||b===pE.customNear?{width:S}:{},V=Sy(this.props,Cy),W=this.isActive,U=A===kE.animatingClosed||A===kE.animatingOpen;if(this._headerTextId=s&&L+"-headerText",!W&&!U&&!m)return null;this._classNames=xE(_,{theme:C,className:n,focusTrapZoneClassName:i?i.className:void 0,hasCloseButton:l,headerClassName:c,isAnimating:U,isFooterSticky:O,isFooterAtBottom:p,isOnRightSide:B,isOpen:W,isHiddenOnDismiss:m,type:b,hasCustomNavigation:this._hasCustomNavigation});var j,K=this._classNames,q=this._allowTouchBodyScroll;return f&&W&&(j=z.createElement(SE,em({className:K.overlay,isDarkThemed:!1,onClick:h?k:void 0,allowTouchBodyScroll:q},v))),z.createElement(US,em({},g),z.createElement(iS,em({role:"dialog","aria-modal":f?"true":void 0,ariaLabelledBy:this._headerTextId?this._headerTextId:void 0,onDismiss:this.dismiss,className:K.hiddenPanel,enableAriaHiddenSiblings:!!W},y),z.createElement("div",em({"aria-hidden":!W&&U},V,{ref:this._panel,className:K.root}),j,z.createElement(ZS,em({ignoreExternalFocusing:d,forceFocusInsideTrap:!(!f||m&&!W)&&a,firstFocusableSelector:o,isClickableOutsideFocusTrap:!0},i,{className:K.main,style:H,elementToFocusOnDismiss:r}),z.createElement("div",{className:K.contentInner},z.createElement("div",{ref:this._allowScrollOnPanel,className:K.scrollableContent,"data-is-scrollable":!0},z.createElement("div",{className:K.commands,"data-is-visible":!0},E(this.props,this._onRenderNavigation)),(this._hasCustomNavigation||!l)&&I(this.props,this._onRenderHeader,this._headerTextId),P(this.props,this._onRenderBody),D(this.props,this._onRenderFooter)))))))},t.prototype.open=function(){void 0===this.props.isOpen&&(this.isActive||this.setState({visibility:kE.animatingOpen}))},t.prototype.close=function(){void 0===this.props.isOpen&&this.isActive&&this.setState({visibility:kE.animatingClosed})},Object.defineProperty(t.prototype,"isActive",{get:function(){return this.state.visibility===kE.open||this.state.visibility===kE.animatingOpen},enumerable:!1,configurable:!0}),t.prototype._createResizeObserver=function(e){var t,n=sS(this.context),r=null;return(null===(t=null==n?void 0:n.defaultView)||void 0===t?void 0:t.ResizeObserver)&&(r=new n.defaultView.ResizeObserver(e)),r},t.prototype._shouldListenForOuterClick=function(e){return!!e.isBlocking&&!!e.isOpen},t.prototype._updateFooterPosition=function(){var e=this._scrollableContent;if(e){var t=e.clientHeight,n=e.scrollHeight;this.setState({isFooterSticky:t<n})}},t.prototype._dismissOnOuterClick=function(e){var t=this._panel.current;this.isActive&&t&&!e.defaultPrevented&&(ag(t,e.target)||(this.props.onOuterClick?this.props.onOuterClick(e):this.dismiss(e)))},t.defaultProps={isHiddenOnDismiss:!1,isOpen:void 0,isBlocking:!0,hasCloseButton:!0,type:pE.smallFixedFar},t.contextType=Yv,t}(z.Component),DE={root:"ms-Panel",main:"ms-Panel-main",commands:"ms-Panel-commands",contentInner:"ms-Panel-contentInner",scrollableContent:"ms-Panel-scrollableContent",navigation:"ms-Panel-navigation",closeButton:"ms-Panel-closeButton ms-PanelAction-close",header:"ms-Panel-header",headerText:"ms-Panel-headerText",content:"ms-Panel-content",footer:"ms-Panel-footer",footerInner:"ms-Panel-footerInner",isOpen:"is-open",hasCloseButton:"ms-Panel--hasCloseButton",smallFluid:"ms-Panel--smFluid",smallFixedNear:"ms-Panel--smLeft",smallFixedFar:"ms-Panel--sm",medium:"ms-Panel--md",large:"ms-Panel--lg",largeFixed:"ms-Panel--fixed",extraLarge:"ms-Panel--xl",custom:"ms-Panel--custom",customNear:"ms-Panel--customLeft"},ME="100%",OE="auto",AE=272,LE=340,NE=592,BE=644,zE=940,HE="auto",VE=0,WE=48,UE=428,jE=176,KE=((EE={})["@media (min-width: ".concat(D_,"px)")]={width:LE},EE),qE=((FE={})["@media (min-width: ".concat(640,"px)")]={width:NE},FE["@media (min-width: ".concat(1024,"px)")]={width:BE},FE),GE=((IE={})["@media (min-width: ".concat(768,"px)")]={left:WE,width:OE},IE["@media (min-width: ".concat(M_,"px)")]={left:UE},IE),$E=((TE={})["@media (min-width: ".concat(M_,"px)")]={left:HE,width:zE},TE),QE=((PE={})["@media (min-width: ".concat(M_,"px)")]={left:jE},PE),ZE=function(e){var t;switch(e){case pE.smallFixedFar:t=em({},KE);break;case pE.medium:t=em(em({},KE),qE);break;case pE.large:t=em(em(em({},KE),qE),GE);break;case pE.largeFixed:t=em(em(em(em({},KE),qE),GE),$E);break;case pE.extraLarge:t=em(em(em(em({},KE),qE),GE),QE)}return t},YE={paddingLeft:"24px",paddingRight:"24px"},JE=ob(RE,function(e){var t,n,r,o,i=e.className,a=e.focusTrapZoneClassName,l=e.hasCloseButton,s=e.headerClassName,u=e.isAnimating,c=e.isFooterSticky,d=e.isFooterAtBottom,f=e.isOnRightSide,p=e.isOpen,h=e.isHiddenOnDismiss,m=e.hasCustomNavigation,g=e.theme,v=e.type,y=void 0===v?pE.smallFixedFar:v,b=g.effects,_=g.fonts,C=g.semanticColors,S=H_(DE,g),w=y===pE.custom||y===pE.customNear;return{root:[S.root,g.fonts.medium,p&&S.isOpen,l&&S.hasCloseButton,{pointerEvents:"none",position:"absolute",top:0,left:0,right:0,bottom:0},w&&f&&S.custom,w&&!f&&S.customNear,i],overlay:[{pointerEvents:"auto",cursor:"pointer"},p&&u&&tC.fadeIn100,!p&&u&&tC.fadeOut100],hiddenPanel:[!p&&!u&&h&&{visibility:"hidden"}],main:[S.main,{backgroundColor:C.bodyBackground,boxShadow:b.elevation64,pointerEvents:"auto",position:"absolute",display:"flex",flexDirection:"column",overflowX:"hidden",overflowY:"auto",WebkitOverflowScrolling:"touch",bottom:0,top:0,left:HE,right:VE,width:ME,selectors:em((t={},t[R_]={borderLeft:"3px solid ".concat(C.variantBorder),borderRight:"3px solid ".concat(C.variantBorder)},t),ZE(y))},y===pE.smallFluid&&{left:VE},y===pE.smallFixedNear&&{left:VE,right:HE,width:AE},y===pE.customNear&&{right:"auto",left:0},w&&{maxWidth:"100vw"},p&&u&&!f&&tC.slideRightIn40,p&&u&&f&&tC.slideLeftIn40,!p&&u&&!f&&tC.slideLeftOut40,!p&&u&&f&&tC.slideRightOut40,a],commands:[S.commands,{backgroundColor:C.bodyBackground,paddingTop:18,selectors:(n={},n["@media (min-height: ".concat(D_,"px)")]={position:"sticky",top:0,zIndex:1},n)},m&&{paddingTop:"inherit"}],navigation:[S.navigation,{display:"flex",justifyContent:"flex-end"},m&&{height:"44px"}],contentInner:[S.contentInner,{display:"flex",flexDirection:"column",flexGrow:1,overflowY:"hidden"}],header:[S.header,YE,{alignSelf:"flex-start"},l&&!m&&{flexGrow:1},m&&{flexShrink:0}],headerText:[S.headerText,_.xLarge,{color:C.bodyText,lineHeight:"27px",overflowWrap:"break-word",wordWrap:"break-word",wordBreak:"break-word",hyphens:"auto"},s],scrollableContent:[S.scrollableContent,{overflowY:"auto"},d&&{flexGrow:1,display:"inherit",flexDirection:"inherit"}],content:[S.content,YE,{paddingBottom:20},d&&{selectors:(r={},r["@media (min-height: ".concat(D_,"px)")]={flexGrow:1},r)}],footer:[S.footer,{flexShrink:0,borderTop:"1px solid transparent",transition:"opacity ".concat(p_," ").concat(f_),selectors:(o={},o["@media (min-height: ".concat(D_,"px)")]={position:"sticky",bottom:0},o)},c&&{backgroundColor:C.bodyBackground,borderTopColor:C.variantBorder}],footerInner:[S.footerInner,YE,{paddingBottom:16,paddingTop:16}],subComponentStyles:{closeButton:{root:[S.closeButton,{marginRight:14,color:g.palette.neutralSecondary,fontSize:xb.large},m&&{marginRight:0,height:"auto",width:"44px"}],rootHovered:{color:g.palette.neutralPrimary}}}}},void 0,{scope:"Panel"}),XE=vv(),eF={options:[]};var tF=z.forwardRef(function(e,t){var n=ab(eF,e),r=z.useRef(null),o=XC(t,r),i=gk(r,n.responsiveMode),a=function(e){var t,n=e.defaultSelectedKeys,r=e.selectedKeys,o=e.defaultSelectedKey,i=e.selectedKey,a=e.options,l=e.multiSelect,s=tS(a),u=z.useState([]),c=u[0],d=u[1],f=a!==s,p=tS(t=l?f&&void 0!==n?n:r:f&&void 0!==o?o:i);return z.useEffect(function(){var e=function(){return a.map(function(e,t){return e.selected?t:-1}).filter(function(e){return-1!==e})},n=function(e){return uv(a,function(t){return null!=e?t.key===e:!!t.selected||!!t.isSelected})};void 0===t&&s||t===p&&!f||d(function(){if(void 0===t)return l?e():-1!==(a=n(null))?[a]:[];if(!Array.isArray(t))return-1!==(a=n(t))?[a]:[];for(var r=[],o=0,i=t;o<i.length;o++){var a,s=i[o];-1!==(a=n(s))&&r.push(a)}return r}())},[f,l,s,p,a,t]),[c,d]}(n),l=a[0],s=a[1];return z.createElement(lF,em({},n,{responsiveMode:i,hoisted:{rootRef:o,selectedIndices:l,setSelectedIndices:s}}))});tF.displayName="DropdownBase";var nF,rF,oF,iF,aF,lF=function(e){function t(t){var n,r,o=e.call(this,t)||this;o._host=z.createRef(),o._focusZone=z.createRef(),o._dropDown=z.createRef(),o._scrollIdleDelay=250,o._sizePosCache=new wE,o._requestAnimationFrame=(n=o,function(e){r||(r=new Set,oy(n,{componentWillUnmount:function(){r.forEach(function(e){return cancelAnimationFrame(e)})}}));var t=requestAnimationFrame(function(){r.delete(t),e()});r.add(t)}),o.dismissMenu=function(){o.state.isOpen&&o.setState({isOpen:!1})},o._onChange=function(e,t,n,r,i){var a=o.props,l=a.onChange,s=a.onChanged;if(l||s){var u=i?em(em({},t[n]),{selected:!r}):t[n];l&&l(em(em({},e),{target:o._dropDown.current}),u,n),s&&s(u,n)}},o._getPlaceholder=function(){return o.props.placeholder||o.props.placeHolder},o._getTitle=function(e,t){var n=o.props.multiSelectDelimiter,r=void 0===n?", ":n;return e.map(function(e){return e.text}).join(r)},o._onRenderTitle=function(e){return z.createElement(z.Fragment,null,o._getTitle(e))},o._onRenderPlaceholder=function(e){return o._getPlaceholder()?z.createElement(z.Fragment,null,o._getPlaceholder()):null},o._onRenderContainer=function(e){var t=e.calloutProps,n=e.panelProps,r=o.props,i=r.responsiveMode,a=r.dropdownWidth,l=i<=uk.medium,s={firstFocusableTarget:"#".concat(o._listId,"1")},u=o._classNames.subComponentStyles?o._classNames.subComponentStyles.panel:void 0,c=void 0,d=void 0;return"auto"===a?d=o._dropDown.current?o._dropDown.current.clientWidth:0:c=a||(o._dropDown.current?o._dropDown.current.clientWidth:0),l?z.createElement(JE,em({closeButtonAriaLabel:"Close",focusTrapZoneProps:s,hasCloseButton:!0,isOpen:!0,isLightDismiss:!0,onDismiss:o._onDismiss,styles:u},n),o._renderFocusableList(e)):z.createElement(jS,em({isBeakVisible:!1,gapSpace:0,doNotLayer:!1,directionalHintFixed:!1,directionalHint:uC,calloutWidth:c,calloutMinWidth:d},t,{className:o._classNames.callout,target:o._dropDown.current,onDismiss:o._onDismiss,onScroll:o._onScroll,onPositioned:o._onPositioned}),o._renderFocusableList(e))},o._onRenderCaretDown=function(e){return z.createElement(sw,{className:o._classNames.caretDown,iconName:"ChevronDown","aria-hidden":!0})},o._onRenderList=function(e){var t=e.onRenderItem,n=void 0===t?o._onRenderItem:t,r={items:[]},i=[],a=function(){var e=r.id?[z.createElement("div",{role:"group",key:r.id,"aria-labelledby":r.id},r.items)]:r.items;i=rm(rm([],i,!0),e,!0),r={items:[]}};return e.options.forEach(function(e,t){!function(e,t){switch(e.itemType){case Bx.Header:r.items.length>0&&a();var i=o._id+e.key;r.items.push(n(em(em({id:i},e),{index:t}),o._onRenderItem)),r.id=i;break;case Bx.Divider:t>0&&r.items.push(n(em(em({},e),{index:t}),o._onRenderItem)),r.items.length>0&&a();break;default:r.items.push(n(em(em({},e),{index:t}),o._onRenderItem))}}(e,t)}),r.items.length>0&&a(),z.createElement(z.Fragment,null,i)},o._onRenderItem=function(e){switch(e.itemType){case Bx.Divider:return o._renderSeparator(e);case Bx.Header:return o._renderHeader(e);default:return o._renderOption(e)}},o._renderOption=function(e){var t,n=o.props,r=n.onRenderOption,i=void 0===r?o._onRenderOption:r,a=n.hoisted.selectedIndices,l=void 0===a?[]:a,s=!(void 0===e.index||!l)&&l.indexOf(e.index)>-1,u=e.hidden?o._classNames.dropdownItemHidden:s&&!0===e.disabled?o._classNames.dropdownItemSelectedAndDisabled:s?o._classNames.dropdownItemSelected:!0===e.disabled?o._classNames.dropdownItemDisabled:o._classNames.dropdownItem,c=e.title,d=o._listId+e.index,f=null!==(t=e.id)&&void 0!==t?t:d+"-label",p=o._classNames.subComponentStyles?o._classNames.subComponentStyles.multiSelectItem:void 0;return o.props.multiSelect?z.createElement(lx,{id:d,key:e.key,disabled:e.disabled,onChange:o._onItemClick(e),inputProps:em({"aria-selected":s,onMouseEnter:o._onItemMouseEnter.bind(o,e),onMouseLeave:o._onMouseItemLeave.bind(o,e),onMouseMove:o._onItemMouseMove.bind(o,e),role:"option"},{"data-index":e.index,"data-is-focusable":!(e.disabled||e.hidden)}),label:e.text,title:c,onRenderLabel:o._onRenderItemLabel.bind(o,em(em({},e),{id:f})),className:Dv(u,"is-multi-select"),checked:s,styles:p,ariaPositionInSet:e.hidden?void 0:o._sizePosCache.positionInSet(e.index),ariaSetSize:e.hidden?void 0:o._sizePosCache.optionSetSize,ariaLabel:e.ariaLabel,ariaLabelledBy:e.ariaLabel?void 0:f}):z.createElement(ex,{id:d,key:e.key,"data-index":e.index,"data-is-focusable":!e.disabled,disabled:e.disabled,className:u,onClick:o._onItemClick(e),onMouseEnter:o._onItemMouseEnter.bind(o,e),onMouseLeave:o._onMouseItemLeave.bind(o,e),onMouseMove:o._onItemMouseMove.bind(o,e),role:"option","aria-selected":s?"true":"false",ariaLabel:e.ariaLabel,title:c,"aria-posinset":o._sizePosCache.positionInSet(e.index),"aria-setsize":o._sizePosCache.optionSetSize},i(e,o._onRenderOption))},o._onRenderOption=function(e){return z.createElement("span",{className:o._classNames.dropdownOptionText},e.text)},o._onRenderMultiselectOption=function(e){return z.createElement("span",{id:e.id,"aria-hidden":"true",className:o._classNames.dropdownOptionText},e.text)},o._onRenderItemLabel=function(e){var t=o.props.onRenderOption;return(void 0===t?o._onRenderMultiselectOption:t)(e,o._onRenderMultiselectOption)},o._onPositioned=function(e){o._focusZone.current&&o._requestAnimationFrame(function(){var e=o.props.hoisted.selectedIndices;if(o._focusZone.current)if(!o._hasBeenPositioned&&e&&e[0]&&!o.props.options[e[0]].disabled){var t=fg().getElementById("".concat(o._id,"-list").concat(e[0]));t&&o._focusZone.current.focusElement(t),o._hasBeenPositioned=!0}else o._focusZone.current.focus()}),o.state.calloutRenderEdge&&o.state.calloutRenderEdge===e.targetEdge||o.setState({calloutRenderEdge:e.targetEdge})},o._onItemClick=function(e){return function(t){e.disabled||(o.setSelectedIndex(t,e.index),o.props.multiSelect||o.setState({isOpen:!1}))}},o._onScroll=function(){var e=uS(o.context);o._isScrollIdle||void 0===o._scrollIdleTimeoutId?o._isScrollIdle=!1:(e.clearTimeout(o._scrollIdleTimeoutId),o._scrollIdleTimeoutId=void 0),o._scrollIdleTimeoutId=e.setTimeout(function(){o._isScrollIdle=!0},o._scrollIdleDelay)},o._onMouseItemLeave=function(e,t){if(!o._shouldIgnoreMouseEvent()&&o._host.current)if(o._host.current.setActive)try{o._host.current.setActive()}catch(e){}else o._host.current.focus()},o._onDismiss=function(){o.setState({isOpen:!1})},o._onDropdownBlur=function(e){o._isDisabled()||o.state.isOpen||(o.setState({hasFocus:!1}),o.props.onBlur&&o.props.onBlur(e))},o._onDropdownKeyDown=function(e){if(!o._isDisabled()&&(o._lastKeyDownWasAltOrMeta=o._isAltOrMeta(e),!o.props.onKeyDown||(o.props.onKeyDown(e),!e.defaultPrevented))){var t,n=o.props.hoisted.selectedIndices.length?o.props.hoisted.selectedIndices[0]:-1,r=e.altKey||e.metaKey,i=o.state.isOpen;switch(e.which){case $g:o.setState({isOpen:!i});break;case Zg:if(!i)return;o.setState({isOpen:!1});break;case rv:if(r){if(i){o.setState({isOpen:!1});break}return}o.props.multiSelect?o.setState({isOpen:!0}):o._isDisabled()||(t=o._moveIndex(e,-1,n-1,n));break;case iv:r&&(e.stopPropagation(),e.preventDefault()),r&&!i||o.props.multiSelect?o.setState({isOpen:!0}):o._isDisabled()||(t=o._moveIndex(e,1,n+1,n));break;case tv:o.props.multiSelect||(t=o._moveIndex(e,1,0,n));break;case ev:o.props.multiSelect||(t=o._moveIndex(e,-1,o.props.options.length-1,n));break;case Yg:break;default:return}t!==n&&(e.stopPropagation(),e.preventDefault())}},o._onDropdownKeyUp=function(e){if(!o._isDisabled()){var t=o._shouldHandleKeyUp(e),n=o.state.isOpen;o.props.onKeyUp&&(o.props.onKeyUp(e),e.defaultPrevented)||(e.which===Yg?(o.setState({isOpen:!n}),e.stopPropagation(),e.preventDefault()):t&&n&&o.setState({isOpen:!1}))}},o._onZoneKeyDown=function(e){var t,n,r;o._lastKeyDownWasAltOrMeta=o._isAltOrMeta(e);var i=e.altKey||e.metaKey;switch(e.which){case rv:i?o.setState({isOpen:!1}):o._host.current&&(r=hg(o._host.current,o._host.current.lastChild,!0));break;case tv:case ev:case Jg:case Xg:break;case iv:!i&&o._host.current&&(r=pg(o._host.current,o._host.current.firstChild,!0));break;case Zg:o.setState({isOpen:!1});break;case Gg:o.setState({isOpen:!1});var a=fg();a&&(e.shiftKey?null===(t=mg(a.body,o._dropDown.current,!1,!1,!0,!0))||void 0===t||t.focus():null===(n=gg(a.body,o._dropDown.current,!1,!1,!0,!0))||void 0===n||n.focus());break;default:return}r&&r.focus(),e.stopPropagation(),e.preventDefault()},o._onZoneKeyUp=function(e){o._shouldHandleKeyUp(e)&&o.state.isOpen&&(o.setState({isOpen:!1}),e.preventDefault())},o._onDropdownClick=function(e){if(!o.props.onClick||(o.props.onClick(e),!e.defaultPrevented)){var t=o.state.isOpen;o._isDisabled()||o._shouldOpenOnFocus()||o.setState({isOpen:!t}),o._isFocusedByClick=!1}},o._onDropdownMouseDown=function(){o._isFocusedByClick=!0},o._onFocus=function(e){if(!o._isDisabled()){o.props.onFocus&&o.props.onFocus(e);var t={hasFocus:!0};o._shouldOpenOnFocus()&&(t.isOpen=!0),o.setState(t)}},o._isDisabled=function(){var e=o.props.disabled,t=o.props.isDisabled;return void 0===e&&(e=t),e},o._onRenderLabel=function(e){var t=e.label,n=e.required,r=e.disabled,i=o._classNames.subComponentStyles?o._classNames.subComponentStyles.label:void 0;return t?z.createElement(cx,{className:o._classNames.label,id:o._labelId,required:n,styles:i,disabled:r},t):null},wy(o),t.multiSelect,t.selectedKey,t.selectedKeys,t.defaultSelectedKey,t.defaultSelectedKeys;var i=t.options;return o._id=t.id||sy("Dropdown"),o._labelId=o._id+"-label",o._listId=o._id+"-list",o._optionId=o._id+"-option",o._isScrollIdle=!0,o._hasBeenPositioned=!1,o._sizePosCache.updateOptions(i),o.state={isOpen:!1,hasFocus:!1,calloutRenderEdge:void 0},o}return Xh(t,e),Object.defineProperty(t.prototype,"selectedOptions",{get:function(){var e=this.props;return Zx(e.options,e.hoisted.selectedIndices)},enumerable:!1,configurable:!0}),t.prototype.componentWillUnmount=function(){clearTimeout(this._scrollIdleTimeoutId)},t.prototype.componentDidUpdate=function(e,t){!0===t.isOpen&&!1===this.state.isOpen&&(this._gotMouseMove=!1,this._hasBeenPositioned=!1,this.props.onDismiss&&this.props.onDismiss())},t.prototype.render=function(){var e=this._id,t=this.props,n=t.className,r=t.label,o=t.options,i=t.ariaLabel,a=t.required,l=t.errorMessage,s=t.styles,u=t.theme,c=t.panelProps,d=t.calloutProps,f=t.onRenderTitle,p=void 0===f?this._getTitle:f,h=t.onRenderContainer,m=void 0===h?this._onRenderContainer:h,g=t.onRenderCaretDown,v=void 0===g?this._onRenderCaretDown:g,y=t.onRenderLabel,b=void 0===y?this._onRenderLabel:y,_=t.onRenderItem,C=void 0===_?this._onRenderItem:_,S=t.hoisted.selectedIndices,w=t.responsiveMode,k=this.state,x=k.isOpen,E=k.calloutRenderEdge,F=k.hasFocus,I=t.onRenderPlaceholder||t.onRenderPlaceHolder||this._getPlaceholder;o!==this._sizePosCache.cachedOptions&&this._sizePosCache.updateOptions(o);var T=Zx(o,S),P=Sy(t,Cy),R=this._isDisabled(),D=w<=uk.medium,M=e+"-errorMessage";this._classNames=XE(s,{theme:u,className:n,hasError:!!(l&&l.length>0),hasLabel:!!r,isOpen:x,required:a,disabled:R,isRenderingPlaceholder:!T.length,panelClassName:c?c.className:void 0,calloutClassName:d?d.className:void 0,calloutRenderEdge:E});var O=!!l&&l.length>0;return z.createElement("div",{className:this._classNames.root,ref:this.props.hoisted.rootRef,"aria-owns":x&&!D?this._listId:void 0},b(this.props,this._onRenderLabel),z.createElement("div",em({"data-is-focusable":!R,"data-ktp-target":!0,ref:this._dropDown,id:e,tabIndex:R?-1:0,role:"combobox","aria-haspopup":"listbox","aria-expanded":x?"true":"false","aria-label":i,"aria-labelledby":r&&!i?sv(this._labelId,this._optionId):void 0,"aria-describedby":O?this._id+"-errorMessage":void 0,"aria-required":a,"aria-disabled":R,"aria-invalid":O,"aria-controls":x&&!D?this._listId:void 0},P,{className:this._classNames.dropdown,onBlur:this._onDropdownBlur,onKeyDown:this._onDropdownKeyDown,onKeyUp:this._onDropdownKeyUp,onClick:this._onDropdownClick,onMouseDown:this._onDropdownMouseDown,onFocus:this._onFocus}),z.createElement("span",{id:this._optionId,className:this._classNames.title,"aria-live":F?"polite":void 0,"aria-atomic":!!F||void 0},T.length?p(T,this._onRenderTitle):I(t,this._onRenderPlaceholder)),z.createElement("span",{className:this._classNames.caretDownWrapper},v(t,this._onRenderCaretDown))),x&&m(em(em({},t),{onDismiss:this._onDismiss,onRenderItem:C}),this._onRenderContainer),O&&z.createElement("div",{role:"alert",id:M,className:this._classNames.errorMessage},l))},t.prototype.focus=function(e){this._dropDown.current&&(this._dropDown.current.focus(),e&&this.setState({isOpen:!0}))},t.prototype.setSelectedIndex=function(e,t){var n=this.props,r=n.options,o=n.selectedKey,i=n.selectedKeys,a=n.multiSelect,l=n.notifyOnReselect,s=n.hoisted.selectedIndices,u=void 0===s?[]:s,c=!!u&&u.indexOf(t)>-1,d=[];if(t=Math.max(0,Math.min(r.length-1,t)),void 0===o&&void 0===i){if(a||l||t!==u[0]){if(a)if(d=u?this._copyArray(u):[],c){var f=d.indexOf(t);f>-1&&d.splice(f,1)}else d.push(t);else d=[t];e.persist(),this.props.hoisted.setSelectedIndices(d),this._onChange(e,r,t,c,a)}}else this._onChange(e,r,t,c,a)},t.prototype._copyArray=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n];t.push(o)}return t},t.prototype._moveIndex=function(e,t,n,r){var o=this.props.options;if(r===n||0===o.length)return r;n>=o.length?n=0:n<0&&(n=o.length-1);for(var i=0;o[n].itemType===Bx.Header||o[n].itemType===Bx.Divider||o[n].disabled;){if(i>=o.length)return r;n+t<0?n=o.length:n+t>=o.length&&(n=-1),n+=t,i++}return this.setSelectedIndex(e,n),n},t.prototype._renderFocusableList=function(e){var t=e.onRenderList,n=void 0===t?this._onRenderList:t,r=e.label,o=e.ariaLabel,i=e.multiSelect;return z.createElement("div",{className:this._classNames.dropdownItemsWrapper,onKeyDown:this._onZoneKeyDown,onKeyUp:this._onZoneKeyUp,ref:this._host,tabIndex:0},z.createElement(Pw,{ref:this._focusZone,direction:pw.vertical,id:this._listId,className:this._classNames.dropdownItems,role:"listbox","aria-label":o,"aria-labelledby":r&&!o?this._labelId:void 0,"aria-multiselectable":i},n(e,this._onRenderList)))},t.prototype._renderSeparator=function(e){var t=e.index,n=e.key,r=e.hidden?this._classNames.dropdownDividerHidden:this._classNames.dropdownDivider;return t>0?z.createElement("div",{role:"presentation",key:n,className:r}):null},t.prototype._renderHeader=function(e){var t=this.props.onRenderOption,n=void 0===t?this._onRenderOption:t,r=e.key,o=e.id,i=e.hidden?this._classNames.dropdownItemHeaderHidden:this._classNames.dropdownItemHeader;return z.createElement("div",{id:o,key:r,className:i},n(e,this._onRenderOption))},t.prototype._onItemMouseEnter=function(e,t){this._shouldIgnoreMouseEvent()||t.currentTarget.focus()},t.prototype._onItemMouseMove=function(e,t){var n=sS(this.context),r=t.currentTarget;this._gotMouseMove=!0,this._isScrollIdle&&n.activeElement!==r&&r.focus()},t.prototype._shouldIgnoreMouseEvent=function(){return!this._isScrollIdle||!this._gotMouseMove},t.prototype._isAltOrMeta=function(e){return e.which===Qg||"Meta"===e.key},t.prototype._shouldHandleKeyUp=function(e){var t=this._lastKeyDownWasAltOrMeta&&this._isAltOrMeta(e);return this._lastKeyDownWasAltOrMeta=!1,!!t&&!(eb()||Yy())},t.prototype._shouldOpenOnFocus=function(){var e=this.state.hasFocus,t=this.props.openOnKeyboardFocus;return!this._isFocusedByClick&&!0===t&&!e},t.defaultProps={options:[]},t.contextType=Yv,t}(z.Component),sF={root:"ms-Dropdown-container",label:"ms-Dropdown-label",dropdown:"ms-Dropdown",title:"ms-Dropdown-title",caretDownWrapper:"ms-Dropdown-caretDownWrapper",caretDown:"ms-Dropdown-caretDown",callout:"ms-Dropdown-callout",panel:"ms-Dropdown-panel",dropdownItems:"ms-Dropdown-items",dropdownItem:"ms-Dropdown-item",dropdownDivider:"ms-Dropdown-divider",dropdownOptionText:"ms-Dropdown-optionText",dropdownItemHeader:"ms-Dropdown-header",titleIsPlaceHolder:"ms-Dropdown-titleIsPlaceHolder",titleHasError:"ms-Dropdown-title--hasError"},uF=((nF={})["".concat(R_,", ").concat("@media screen and (-ms-high-contrast: black-on-white), screen and (forced-colors: active) and (prefers-color-scheme: light)".replace("@media ",""))]=em({},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),nF),cF={selectors:em((rF={},rF[R_]=(oF={backgroundColor:"Highlight",borderColor:"Highlight",color:"HighlightText"},oF[".".concat(Py," &:focus:after")]={borderColor:"HighlightText"},oF),rF[".ms-Checkbox-checkbox"]=(iF={},iF[R_]={borderColor:"HighlightText"},iF),rF),uF)},dF={selectors:(aF={},aF[R_]={borderColor:"Highlight"},aF)},fF=O_(0,D_),pF=ob(tF,function(e){var t,n,r,o,i,a,l,s,u,c,d,f,p=e.theme,h=e.hasError,m=e.hasLabel,g=e.className,v=e.isOpen,y=e.disabled,b=e.required,_=e.isRenderingPlaceholder,C=e.panelClassName,S=e.calloutClassName,w=e.calloutRenderEdge;if(!p)throw new Error("theme is undefined or null in base Dropdown getStyles function.");var k=H_(sF,p),x=p.palette,E=p.semanticColors,F=p.effects,I=p.fonts,T={color:E.menuItemTextHovered},P={color:E.menuItemText},R={borderColor:E.errorText},D=[k.dropdownItem,{backgroundColor:"transparent",boxSizing:"border-box",cursor:"pointer",display:"flex",alignItems:"center",padding:"0 8px",width:"100%",minHeight:36,lineHeight:20,height:0,position:"relative",border:"1px solid transparent",borderRadius:0,wordWrap:"break-word",overflowWrap:"break-word",textAlign:"left",".ms-Button-flexContainer":{width:"100%"}}],M=[k.dropdownItemHeader,em(em({},I.medium),{fontWeight:kb.semibold,color:E.menuHeader,background:"none",backgroundColor:"transparent",border:"none",height:36,lineHeight:36,cursor:"default",padding:"0 8px",userSelect:"none",textAlign:"left",selectors:(t={},t[R_]=em({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),t)})],O=E.menuItemBackgroundPressed,A=function(e){var t,n;return void 0===e&&(e=!1),{selectors:(t={"&:hover":[{color:E.menuItemTextHovered,backgroundColor:e?O:E.menuItemBackgroundHovered},cF],"&.is-multi-select:hover":[{backgroundColor:e?O:"transparent"},cF],"&:active:hover":[{color:E.menuItemTextHovered,backgroundColor:e?E.menuItemBackgroundHovered:E.menuItemBackgroundPressed},cF]},t[".".concat(Py," &:focus:after, :host(.").concat(Py,") &:focus:after")]=(n={left:0,top:0,bottom:0,right:0},n[R_]={inset:"2px"},n),t[R_]={border:"none"},t)}},L=rm(rm([],D,!0),[{backgroundColor:O,color:E.menuItemTextHovered},A(!0),cF],!1),N=rm(rm([],D,!0),[{color:E.disabledText,cursor:"default",selectors:(n={},n[R_]={color:"GrayText",border:"none"},n)}],!1),B=w===nC.bottom?"".concat(F.roundedCorner2," ").concat(F.roundedCorner2," 0 0"):"0 0 ".concat(F.roundedCorner2," ").concat(F.roundedCorner2),z=w===nC.bottom?"0 0 ".concat(F.roundedCorner2," ").concat(F.roundedCorner2):"".concat(F.roundedCorner2," ").concat(F.roundedCorner2," 0 0");return{root:[k.root,g],label:k.label,dropdown:[k.dropdown,X_,I.medium,{color:E.menuItemText,borderColor:E.focusBorder,position:"relative",outline:0,userSelect:"none",selectors:(r={},r["&:hover ."+k.title]=[!y&&T,{borderColor:v?x.neutralSecondary:x.neutralPrimary},dF],r["&:focus ."+k.title]=[!y&&T,{selectors:(o={},o[R_]={color:"Highlight"},o)}],r["&:focus:after"]=[{pointerEvents:"none",content:"''",position:"absolute",boxSizing:"border-box",top:"0px",left:"0px",width:"100%",height:"100%",border:y?"none":"2px solid ".concat(x.themePrimary),borderRadius:"2px",selectors:(i={},i[R_]={color:"Highlight"},i)}],r["&:active ."+k.title]=[!y&&T,{borderColor:x.themePrimary},dF],r["&:hover ."+k.caretDown]=!y&&P,r["&:focus ."+k.caretDown]=[!y&&P,{selectors:(a={},a[R_]={color:"Highlight"},a)}],r["&:active ."+k.caretDown]=!y&&P,r["&:hover ."+k.titleIsPlaceHolder]=!y&&P,r["&:focus ."+k.titleIsPlaceHolder]=!y&&P,r["&:active ."+k.titleIsPlaceHolder]=!y&&P,r["&:hover ."+k.titleHasError]=R,r["&:active ."+k.titleHasError]=R,r)},v&&"is-open",y&&"is-disabled",b&&"is-required",b&&!m&&{selectors:(l={":before":{content:"'*'",color:E.errorText,position:"absolute",top:-5,right:-10}},l[R_]={selectors:{":after":{right:-14}}},l)}],title:[k.title,X_,{backgroundColor:E.inputBackground,borderWidth:1,borderStyle:"solid",borderColor:E.inputBorder,borderRadius:v?B:F.roundedCorner2,cursor:"pointer",display:"block",height:32,lineHeight:30,padding:"0 28px 0 8px",position:"relative",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},_&&[k.titleIsPlaceHolder,{color:E.inputPlaceholderText}],h&&[k.titleHasError,R],y&&{backgroundColor:E.disabledBackground,border:"none",color:E.disabledText,cursor:"default",selectors:(s={},s[R_]=em({border:"1px solid GrayText",color:"GrayText",backgroundColor:"Window"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),s)}],caretDownWrapper:[k.caretDownWrapper,{height:32,lineHeight:30,paddingTop:1,position:"absolute",right:8,top:0},!y&&{cursor:"pointer"}],caretDown:[k.caretDown,{color:x.neutralSecondary,fontSize:I.small.fontSize,pointerEvents:"none"},y&&{color:E.disabledText,selectors:(u={},u[R_]=em({color:"GrayText"},{forcedColorAdjust:"none",MsHighContrastAdjust:"none"}),u)}],errorMessage:em(em({color:E.errorText},p.fonts.small),{paddingTop:5}),callout:[k.callout,{boxShadow:F.elevation8,borderRadius:z,selectors:(c={},c[".ms-Callout-main"]={borderRadius:z},c)},S],dropdownItemsWrapper:{selectors:{"&:focus":{outline:0}}},dropdownItems:[k.dropdownItems,{display:"block"}],dropdownItem:rm(rm([],D,!0),[A()],!1),dropdownItemSelected:L,dropdownItemDisabled:N,dropdownItemSelectedAndDisabled:[L,N,{backgroundColor:"transparent"}],dropdownItemHidden:rm(rm([],D,!0),[{display:"none"}],!1),dropdownDivider:[k.dropdownDivider,{height:1,backgroundColor:E.bodyDivider}],dropdownDividerHidden:[k.dropdownDivider,{display:"none"}],dropdownOptionText:[k.dropdownOptionText,{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",minWidth:0,maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",margin:"1px"}],dropdownItemHeader:M,dropdownItemHeaderHidden:rm(rm([],M,!0),[{display:"none"}],!1),subComponentStyles:{label:{root:{display:"inline-block"}},multiSelectItem:{root:{padding:0},label:{alignSelf:"stretch",padding:"0 8px",width:"100%"},input:{selectors:(d={},d[".".concat(Py," &:focus + label::before, :host(.").concat(Py,") &:focus + label::before")]={outlineOffset:"0px"},d)}},panel:{root:[C],main:{selectors:(f={},f[fF]={width:272},f)},contentInner:{padding:"0 0 20px"}}}}},void 0,{scope:"Dropdown"});function hF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons"',src:"url('".concat(e,"fabric-icons-a13498cf.woff') format('woff')")},icons:{GlobalNavButton:"",ChevronDown:"",ChevronUp:"",Edit:"",Add:"",Cancel:"",More:"",Settings:"",Mail:"",Filter:"",Search:"",Share:"",BlockedSite:"",FavoriteStar:"",FavoriteStarFill:"",CheckMark:"",Delete:"",ChevronLeft:"",ChevronRight:"",Calendar:"",Megaphone:"",Undo:"",Flag:"",Page:"",Pinned:"",View:"",Clear:"",Download:"",Upload:"",Folder:"",Sort:"",AlignRight:"",AlignLeft:"",Tag:"",AddFriend:"",Info:"",SortLines:"",List:"",CircleRing:"",Heart:"",HeartFill:"",Tiles:"",Embed:"",Glimmer:"",Ascending:"",Descending:"",SortUp:"",SortDown:"",SyncToPC:"",LargeGrid:"",SkypeCheck:"",SkypeClock:"",SkypeMinus:"",ClearFilter:"",Flow:"",StatusCircleCheckmark:"",MoreVertical:""}},t)}function mF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-0"',src:"url('".concat(e,"fabric-icons-0-467ee27f.woff') format('woff')")},icons:{PageLink:"",CommentSolid:"",ChangeEntitlements:"",Installation:"",WebAppBuilderModule:"",WebAppBuilderFragment:"",WebAppBuilderSlot:"",BullseyeTargetEdit:"",WebAppBuilderFragmentCreate:"",PageData:"",PageHeaderEdit:"",ProductList:"",UnpublishContent:"",DependencyAdd:"",DependencyRemove:"",EntitlementPolicy:"",EntitlementRedemption:"",SchoolDataSyncLogo:"",PinSolid12:"",PinSolidOff12:"",AddLink:"",SharepointAppIcon16:"",DataflowsLink:"",TimePicker:"",UserWarning:"",ComplianceAudit:"",InternetSharing:"",Brightness:"",MapPin:"",Airplane:"",Tablet:"",QuickNote:"",Video:"",People:"",Phone:"",Pin:"",Shop:"",Stop:"",Link:"",AllApps:"",Zoom:"",ZoomOut:"",Microphone:"",Camera:"",Attach:"",Send:"",FavoriteList:"",PageSolid:"",Forward:"",Back:"",Refresh:"",Lock:"",ReportHacked:"",EMI:"",MiniLink:"",Blocked:"",ReadingMode:"",Favicon:"",Remove:"",Checkbox:"",CheckboxComposite:"",CheckboxFill:"",CheckboxIndeterminate:"",CheckboxCompositeReversed:"",BackToWindow:"",FullScreen:"",Print:"",Up:"",Down:"",OEM:"",Save:"",ReturnKey:"",Cloud:"",Flashlight:"",CommandPrompt:"",Sad:"",RealEstate:"",SIPMove:"",EraseTool:"",GripperTool:"",Dialpad:"",PageLeft:"",PageRight:"",MultiSelect:"",KeyboardClassic:"",Play:"",Pause:"",InkingTool:"",Emoji2:"",GripperBarHorizontal:"",System:"",Personalize:"",SearchAndApps:"",Globe:"",EaseOfAccess:"",ContactInfo:"",Unpin:"",Contact:"",Memo:"",IncomingCall:""}},t)}function gF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-1"',src:"url('".concat(e,"fabric-icons-1-4d521695.woff') format('woff')")},icons:{Paste:"",WindowsLogo:"",Error:"",GripperBarVertical:"",Unlock:"",Slideshow:"",Trim:"",AutoEnhanceOn:"",AutoEnhanceOff:"",Color:"",SaveAs:"",Light:"",Filters:"",AspectRatio:"",Contrast:"",Redo:"",Crop:"",PhotoCollection:"",Album:"",Rotate:"",PanoIndicator:"",Translate:"",RedEye:"",ViewOriginal:"",ThumbnailView:"",Package:"",Telemarketer:"",Warning:"",Financial:"",Education:"",ShoppingCart:"",Train:"",Move:"",TouchPointer:"",Merge:"",TurnRight:"",Ferry:"",Highlight:"",PowerButton:"",Tab:"",Admin:"",TVMonitor:"",Speakers:"",Game:"",HorizontalTabKey:"",UnstackSelected:"",StackIndicator:"",Nav2DMapView:"",StreetsideSplitMinimize:"",Car:"",Bus:"",EatDrink:"",SeeDo:"",LocationCircle:"",Home:"",SwitcherStartEnd:"",ParkingLocation:"",IncidentTriangle:"",Touch:"",MapDirections:"",CaretHollow:"",CaretSolid:"",History:"",Location:"",MapLayers:"",SearchNearby:"",Work:"",Recent:"",Hotel:"",Bank:"",LocationDot:"",Dictionary:"",ChromeBack:"",FolderOpen:"",PinnedFill:"",RevToggleKey:"",USB:"",Previous:"",Next:"",Sync:"",Help:"",Emoji:"",MailForward:"",ClosePane:"",OpenPane:"",PreviewLink:"",ZoomIn:"",Bookmarks:"",Document:"",ProtectedDocument:"",OpenInNewWindow:"",MailFill:"",ViewAll:"",Switch:"",Rename:"",Go:"",Remote:"",SelectAll:"",Orientation:"",Import:""}},t)}function vF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-2"',src:"url('".concat(e,"fabric-icons-2-63c99abf.woff') format('woff')")},icons:{Picture:"",ChromeClose:"",ShowResults:"",Message:"",CalendarDay:"",CalendarWeek:"",MailReplyAll:"",Read:"",Cut:"",PaymentCard:"",Copy:"",Important:"",MailReply:"",GotoToday:"",Font:"",FontColor:"",FolderFill:"",Permissions:"",DisableUpdates:"",Unfavorite:"",Italic:"",Underline:"",Bold:"",MoveToFolder:"",Dislike:"",Like:"",AlignCenter:"",OpenFile:"",ClearSelection:"",FontDecrease:"",FontIncrease:"",FontSize:"",CellPhone:"",RepeatOne:"",RepeatAll:"",Calculator:"",Library:"",PostUpdate:"",NewFolder:"",CalendarReply:"",UnsyncFolder:"",SyncFolder:"",BlockContact:"",Accept:"",BulletedList:"",Preview:"",News:"",Chat:"",Group:"",World:"",Comment:"",DockLeft:"",DockRight:"",Repair:"",Accounts:"",Street:"",RadioBullet:"",Stopwatch:"",Clock:"",WorldClock:"",AlarmClock:"",Photo:"",ActionCenter:"",Hospital:"",Timer:"",FullCircleMask:"",LocationFill:"",ChromeMinimize:"",ChromeRestore:"",Annotation:"",Fingerprint:"",Handwriting:"",ChromeFullScreen:"",Completed:"",Label:"",FlickDown:"",FlickUp:"",FlickLeft:"",FlickRight:"",MiniExpand:"",MiniContract:"",Streaming:"",MusicInCollection:"",OneDriveLogo:"",CompassNW:"",Code:"",LightningBolt:"",CalculatorMultiply:"",CalculatorAddition:"",CalculatorSubtract:"",CalculatorPercentage:"",CalculatorEqualTo:"",PrintfaxPrinterFile:"",StorageOptical:"",Communications:"",Headset:"",Health:"",Webcam2:"",FrontCamera:"",ChevronUpSmall:""}},t)}function yF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-3"',src:"url('".concat(e,"fabric-icons-3-089e217a.woff') format('woff')")},icons:{ChevronDownSmall:"",ChevronLeftSmall:"",ChevronRightSmall:"",ChevronUpMed:"",ChevronDownMed:"",ChevronLeftMed:"",ChevronRightMed:"",Devices2:"",PC1:"",PresenceChickletVideo:"",Reply:"",HalfAlpha:"",ConstructionCone:"",DoubleChevronLeftMed:"",Volume0:"",Volume1:"",Volume2:"",Volume3:"",Chart:"",Robot:"",Manufacturing:"",LockSolid:"",FitPage:"",FitWidth:"",BidiLtr:"",BidiRtl:"",RightDoubleQuote:"",Sunny:"",CloudWeather:"",Cloudy:"",PartlyCloudyDay:"",PartlyCloudyNight:"",ClearNight:"",RainShowersDay:"",Rain:"",Thunderstorms:"",RainSnow:"",Snow:"",BlowingSnow:"",Frigid:"",Fog:"",Squalls:"",Duststorm:"",Unknown:"",Precipitation:"",Ribbon:"",AreaChart:"",Assign:"",FlowChart:"",CheckList:"",Diagnostic:"",Generate:"",LineChart:"",Equalizer:"",BarChartHorizontal:"",BarChartVertical:"",Freezing:"",FunnelChart:"",Processing:"",Quantity:"",ReportDocument:"",StackColumnChart:"",SnowShowerDay:"",HailDay:"",WorkFlow:"",HourGlass:"",StoreLogoMed20:"",TimeSheet:"",TriangleSolid:"",UpgradeAnalysis:"",VideoSolid:"",RainShowersNight:"",SnowShowerNight:"",Teamwork:"",HailNight:"",PeopleAdd:"",Glasses:"",DateTime2:"",Shield:"",Header1:"",PageAdd:"",NumberedList:"",PowerBILogo:"",Info2:"",MusicInCollectionFill:"",Asterisk:"",ErrorBadge:"",CircleFill:"",Record2:"",AllAppsMirrored:"",BookmarksMirrored:"",BulletedListMirrored:"",CaretHollowMirrored:"",CaretSolidMirrored:"",ChromeBackMirrored:"",ClearSelectionMirrored:"",ClosePaneMirrored:"",DockLeftMirrored:"",DoubleChevronLeftMedMirrored:"",GoMirrored:""}},t)}function bF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-4"',src:"url('".concat(e,"fabric-icons-4-a656cc0a.woff') format('woff')")},icons:{HelpMirrored:"",ImportMirrored:"",ImportAllMirrored:"",ListMirrored:"",MailForwardMirrored:"",MailReplyMirrored:"",MailReplyAllMirrored:"",MiniContractMirrored:"",MiniExpandMirrored:"",OpenPaneMirrored:"",ParkingLocationMirrored:"",SendMirrored:"",ShowResultsMirrored:"",ThumbnailViewMirrored:"",Media:"",Devices3:"",Focus:"",VideoLightOff:"",Lightbulb:"",StatusTriangle:"",VolumeDisabled:"",Puzzle:"",EmojiNeutral:"",EmojiDisappointed:"",HomeSolid:"",Ringer:"",PDF:"",HeartBroken:"",StoreLogo16:"",MultiSelectMirrored:"",Broom:"",AddToShoppingList:"",Cocktails:"",Wines:"",Articles:"",Cycling:"",DietPlanNotebook:"",Pill:"",ExerciseTracker:"",HandsFree:"",Medical:"",Running:"",Weights:"",Trackers:"",AddNotes:"",AllCurrency:"",BarChart4:"",CirclePlus:"",Coffee:"",Cotton:"",Market:"",Money:"",PieDouble:"",PieSingle:"",RemoveFilter:"",Savings:"",Sell:"",StockDown:"",StockUp:"",Lamp:"",Source:"",MSNVideos:"",Cricket:"",Golf:"",Baseball:"",Soccer:"",MoreSports:"",AutoRacing:"",CollegeHoops:"",CollegeFootball:"",ProFootball:"",ProHockey:"",Rugby:"",SubstitutionsIn:"",Tennis:"",Arrivals:"",Design:"",Website:"",Drop:"",HistoricalWeather:"",SkiResorts:"",Snowflake:"",BusSolid:"",FerrySolid:"",AirplaneSolid:"",TrainSolid:"",Ticket:"",WifiWarning4:"",Devices4:"",AzureLogo:"",BingLogo:"",MSNLogo:"",OutlookLogoInverse:"",OfficeLogo:"",SkypeLogo:"",Door:"",EditMirrored:"",GiftCard:"",DoubleBookmark:"",StatusErrorFull:""}},t)}function _F(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-5"',src:"url('".concat(e,"fabric-icons-5-f95ba260.woff') format('woff')")},icons:{Certificate:"",FastForward:"",Rewind:"",Photo2:"",OpenSource:"",Movers:"",CloudDownload:"",Family:"",WindDirection:"",Bug:"",SiteScan:"",BrowserScreenShot:"",F12DevTools:"",CSS:"",JS:"",DeliveryTruck:"",ReminderPerson:"",ReminderGroup:"",ReminderTime:"",TabletMode:"",Umbrella:"",NetworkTower:"",CityNext:"",CityNext2:"",Section:"",OneNoteLogoInverse:"",ToggleFilled:"",ToggleBorder:"",SliderThumb:"",ToggleThumb:"",Documentation:"",Badge:"",Giftbox:"",VisualStudioLogo:"",HomeGroup:"",ExcelLogoInverse:"",WordLogoInverse:"",PowerPointLogoInverse:"",Cafe:"",SpeedHigh:"",Commitments:"",ThisPC:"",MusicNote:"",MicOff:"",PlaybackRate1x:"",EdgeLogo:"",CompletedSolid:"",AlbumRemove:"",MessageFill:"",TabletSelected:"",MobileSelected:"",LaptopSelected:"",TVMonitorSelected:"",DeveloperTools:"",Shapes:"",InsertTextBox:"",LowerBrightness:"",WebComponents:"",OfflineStorage:"",DOM:"",CloudUpload:"",ScrollUpDown:"",DateTime:"",Event:"",Cake:"",Org:"",PartyLeader:"",DRM:"",CloudAdd:"",AppIconDefault:"",Photo2Add:"",Photo2Remove:"",Calories:"",POI:"",AddTo:"",RadioBtnOff:"",RadioBtnOn:"",ExploreContent:"",Product:"",ProgressLoopInner:"",ProgressLoopOuter:"",Blocked2:"",FangBody:"",Toolbox:"",PageHeader:"",ChatInviteFriend:"",Brush:"",Shirt:"",Crown:"",Diamond:"",ScaleUp:"",QRCode:"",Feedback:"",SharepointLogoInverse:"",YammerLogo:"",Hide:"",Uneditable:"",ReturnToSession:"",OpenFolderHorizontal:"",CalendarMirrored:""}},t)}function CF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-6"',src:"url('".concat(e,"fabric-icons-6-ef6fd590.woff') format('woff')")},icons:{SwayLogoInverse:"",OutOfOffice:"",Trophy:"",ReopenPages:"",EmojiTabSymbols:"",AADLogo:"",AccessLogo:"",AdminALogoInverse32:"",AdminCLogoInverse32:"",AdminDLogoInverse32:"",AdminELogoInverse32:"",AdminLLogoInverse32:"",AdminMLogoInverse32:"",AdminOLogoInverse32:"",AdminPLogoInverse32:"",AdminSLogoInverse32:"",AdminYLogoInverse32:"",DelveLogoInverse:"",ExchangeLogoInverse:"",LyncLogo:"",OfficeVideoLogoInverse:"",SocialListeningLogo:"",VisioLogoInverse:"",Balloons:"",Cat:"",MailAlert:"",MailCheck:"",MailLowImportance:"",MailPause:"",MailRepeat:"",SecurityGroup:"",Table:"",VoicemailForward:"",VoicemailReply:"",Waffle:"",RemoveEvent:"",EventInfo:"",ForwardEvent:"",WipePhone:"",AddOnlineMeeting:"",JoinOnlineMeeting:"",RemoveLink:"",PeopleBlock:"",PeopleRepeat:"",PeopleAlert:"",PeoplePause:"",TransferCall:"",AddPhone:"",UnknownCall:"",NoteReply:"",NoteForward:"",NotePinned:"",RemoveOccurrence:"",Timeline:"",EditNote:"",CircleHalfFull:"",Room:"",Unsubscribe:"",Subscribe:"",HardDrive:"",RecurringTask:"",TaskManager:"",TaskManagerMirrored:"",Combine:"",Split:"",DoubleChevronUp:"",DoubleChevronLeft:"",DoubleChevronRight:"",TextBox:"",TextField:"",NumberField:"",Dropdown:"",PenWorkspace:"",BookingsLogo:"",ClassNotebookLogoInverse:"",DelveAnalyticsLogo:"",DocsLogoInverse:"",Dynamics365Logo:"",DynamicSMBLogo:"",OfficeAssistantLogo:"",OfficeStoreLogo:"",OneNoteEduLogoInverse:"",PlannerLogo:"",PowerApps:"",Suitcase:"",ProjectLogoInverse:"",CaretLeft8:"",CaretRight8:"",CaretUp8:"",CaretDown8:"",CaretLeftSolid8:"",CaretRightSolid8:"",CaretUpSolid8:"",CaretDownSolid8:"",ClearFormatting:"",Superscript:"",Subscript:"",Strikethrough:"",Export:"",ExportMirrored:""}},t)}function SF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-7"',src:"url('".concat(e,"fabric-icons-7-2b97bb99.woff') format('woff')")},icons:{SingleBookmark:"",SingleBookmarkSolid:"",DoubleChevronDown:"",FollowUser:"",ReplyAll:"",WorkforceManagement:"",RecruitmentManagement:"",Questionnaire:"",ManagerSelfService:"",ProductionFloorManagement:"",ProductRelease:"",ProductVariant:"",ReplyMirrored:"",ReplyAllMirrored:"",Medal:"",AddGroup:"",QuestionnaireMirrored:"",CloudImportExport:"",TemporaryUser:"",CaretSolid16:"",GroupedDescending:"",GroupedAscending:"",AwayStatus:"",MyMoviesTV:"",GenericScan:"",AustralianRules:"",WifiEthernet:"",TrackersMirrored:"",DateTimeMirrored:"",StopSolid:"",DoubleChevronUp12:"",DoubleChevronDown12:"",DoubleChevronLeft12:"",DoubleChevronRight12:"",CalendarAgenda:"",ConnectVirtualMachine:"",AddEvent:"",AssetLibrary:"",DataConnectionLibrary:"",DocLibrary:"",FormLibrary:"",FormLibraryMirrored:"",ReportLibrary:"",ReportLibraryMirrored:"",ContactCard:"",CustomList:"",CustomListMirrored:"",IssueTracking:"",IssueTrackingMirrored:"",PictureLibrary:"",OfficeAddinsLogo:"",OfflineOneDriveParachute:"",OfflineOneDriveParachuteDisabled:"",TriangleSolidUp12:"",TriangleSolidDown12:"",TriangleSolidLeft12:"",TriangleSolidRight12:"",TriangleUp12:"",TriangleDown12:"",TriangleLeft12:"",TriangleRight12:"",ArrowUpRight8:"",ArrowDownRight8:"",DocumentSet:"",GoToDashboard:"",DelveAnalytics:"",ArrowUpRightMirrored8:"",ArrowDownRightMirrored8:"",CompanyDirectory:"",OpenEnrollment:"",CompanyDirectoryMirrored:"",OneDriveAdd:"",ProfileSearch:"",Header2:"",Header3:"",Header4:"",RingerSolid:"",Eyedropper:"",MarketDown:"",CalendarWorkWeek:"",SidePanel:"",GlobeFavorite:"",CaretTopLeftSolid8:"",CaretTopRightSolid8:"",ViewAll2:"",DocumentReply:"",PlayerSettings:"",ReceiptForward:"",ReceiptReply:"",ReceiptCheck:"",Fax:"",RecurringEvent:"",ReplyAlt:"",ReplyAllAlt:"",EditStyle:"",EditMail:"",Lifesaver:"",LifesaverLock:"",InboxCheck:"",FolderSearch:""}},t)}function wF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-8"',src:"url('".concat(e,"fabric-icons-8-6fdf1528.woff') format('woff')")},icons:{CollapseMenu:"",ExpandMenu:"",Boards:"",SunAdd:"",SunQuestionMark:"",LandscapeOrientation:"",DocumentSearch:"",PublicCalendar:"",PublicContactCard:"",PublicEmail:"",PublicFolder:"",WordDocument:"",PowerPointDocument:"",ExcelDocument:"",GroupedList:"",ClassroomLogo:"",Sections:"",EditPhoto:"",Starburst:"",ShareiOS:"",AirTickets:"",PencilReply:"",Tiles2:"",SkypeCircleCheck:"",SkypeCircleClock:"",SkypeCircleMinus:"",SkypeMessage:"",ClosedCaption:"",ATPLogo:"",OfficeFormsLogoInverse:"",RecycleBin:"",EmptyRecycleBin:"",Hide2:"",Breadcrumb:"",BirthdayCake:"",TimeEntry:"",CRMProcesses:"",PageEdit:"",PageArrowRight:"",PageRemove:"",Database:"",DataManagementSettings:"",CRMServices:"",EditContact:"",ConnectContacts:"",AppIconDefaultAdd:"",AppIconDefaultList:"",ActivateOrders:"",DeactivateOrders:"",ProductCatalog:"",ScatterChart:"",AccountActivity:"",DocumentManagement:"",CRMReport:"",KnowledgeArticle:"",Relationship:"",HomeVerify:"",ZipFolder:"",SurveyQuestions:"",TextDocument:"",TextDocumentShared:"",PageCheckedOut:"",PageShared:"",SaveAndClose:"",Script:"",Archive:"",ActivityFeed:"",Compare:"",EventDate:"",ArrowUpRight:"",CaretRight:"",SetAction:"",ChatBot:"",CaretSolidLeft:"",CaretSolidDown:"",CaretSolidRight:"",CaretSolidUp:"",PowerAppsLogo:"",PowerApps2Logo:"",SearchIssue:"",SearchIssueMirrored:"",FabricAssetLibrary:"",FabricDataConnectionLibrary:"",FabricDocLibrary:"",FabricFormLibrary:"",FabricFormLibraryMirrored:"",FabricReportLibrary:"",FabricReportLibraryMirrored:"",FabricPublicFolder:"",FabricFolderSearch:"",FabricMovetoFolder:"",FabricUnsyncFolder:"",FabricSyncFolder:"",FabricOpenFolderHorizontal:"",FabricFolder:"",FabricFolderFill:"",FabricNewFolder:"",FabricPictureLibrary:"",PhotoVideoMedia:"",AddFavorite:""}},t)}function kF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-9"',src:"url('".concat(e,"fabric-icons-9-c6162b42.woff') format('woff')")},icons:{AddFavoriteFill:"",BufferTimeBefore:"",BufferTimeAfter:"",BufferTimeBoth:"",PublishContent:"",ClipboardList:"",ClipboardListMirrored:"",CannedChat:"",SkypeForBusinessLogo:"",TabCenter:"",PageCheckedin:"",PageList:"",ReadOutLoud:"",CaretBottomLeftSolid8:"",CaretBottomRightSolid8:"",FolderHorizontal:"",MicrosoftStaffhubLogo:"",GiftboxOpen:"",StatusCircleOuter:"",StatusCircleInner:"",StatusCircleRing:"",StatusTriangleOuter:"",StatusTriangleInner:"",StatusTriangleExclamation:"",StatusCircleExclamation:"",StatusCircleErrorX:"",StatusCircleInfo:"",StatusCircleBlock:"",StatusCircleBlock2:"",StatusCircleQuestionMark:"",StatusCircleSync:"",Toll:"",ExploreContentSingle:"",CollapseContent:"",CollapseContentSingle:"",InfoSolid:"",GroupList:"",ProgressRingDots:"",CaloriesAdd:"",BranchFork:"",MuteChat:"",AddHome:"",AddWork:"",MobileReport:"",ScaleVolume:"",HardDriveGroup:"",FastMode:"",ToggleLeft:"",ToggleRight:"",TriangleShape:"",RectangleShape:"",CubeShape:"",Trophy2:"",BucketColor:"",BucketColorFill:"",Taskboard:"",SingleColumn:"",DoubleColumn:"",TripleColumn:"",ColumnLeftTwoThirds:"",ColumnRightTwoThirds:"",AccessLogoFill:"",AnalyticsLogo:"",AnalyticsQuery:"",NewAnalyticsQuery:"",AnalyticsReport:"",WordLogo:"",WordLogoFill:"",ExcelLogo:"",ExcelLogoFill:"",OneNoteLogo:"",OneNoteLogoFill:"",OutlookLogo:"",OutlookLogoFill:"",PowerPointLogo:"",PowerPointLogoFill:"",PublisherLogo:"",PublisherLogoFill:"",ScheduleEventAction:"",FlameSolid:"",ServerProcesses:"",Server:"",SaveAll:"",LinkedInLogo:"",Decimals:"",SidePanelMirrored:"",ProtectRestrict:"",Blog:"",UnknownMirrored:"",PublicContactCardMirrored:"",GridViewSmall:"",GridViewMedium:"",GridViewLarge:"",Step:"",StepInsert:"",StepShared:"",StepSharedAdd:"",StepSharedInsert:"",ViewDashboard:"",ViewList:""}},t)}function xF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-10"',src:"url('".concat(e,"fabric-icons-10-c4ded8e4.woff') format('woff')")},icons:{ViewListGroup:"",ViewListTree:"",TriggerAuto:"",TriggerUser:"",PivotChart:"",StackedBarChart:"",StackedLineChart:"",BuildQueue:"",BuildQueueNew:"",UserFollowed:"",ContactLink:"",Stack:"",Bullseye:"",VennDiagram:"",FiveTileGrid:"",FocalPoint:"",Insert:"",RingerRemove:"",TeamsLogoInverse:"",TeamsLogo:"",TeamsLogoFill:"",SkypeForBusinessLogoFill:"",SharepointLogo:"",SharepointLogoFill:"",DelveLogo:"",DelveLogoFill:"",OfficeVideoLogo:"",OfficeVideoLogoFill:"",ExchangeLogo:"",ExchangeLogoFill:"",Signin:"",DocumentApproval:"",CloneToDesktop:"",InstallToDrive:"",Blur:"",Build:"",ProcessMetaTask:"",BranchFork2:"",BranchLocked:"",BranchCommit:"",BranchCompare:"",BranchMerge:"",BranchPullRequest:"",BranchSearch:"",BranchShelveset:"",RawSource:"",MergeDuplicate:"",RowsGroup:"",RowsChild:"",Deploy:"",Redeploy:"",ServerEnviroment:"",VisioDiagram:"",HighlightMappedShapes:"",TextCallout:"",IconSetsFlag:"",VisioLogo:"",VisioLogoFill:"",VisioDocument:"",TimelineProgress:"",TimelineDelivery:"",Backlog:"",TeamFavorite:"",TaskGroup:"",TaskGroupMirrored:"",ScopeTemplate:"",AssessmentGroupTemplate:"",NewTeamProject:"",CommentAdd:"",CommentNext:"",CommentPrevious:"",ShopServer:"",LocaleLanguage:"",QueryList:"",UserSync:"",UserPause:"",StreamingOff:"",ArrowTallUpLeft:"",ArrowTallUpRight:"",ArrowTallDownLeft:"",ArrowTallDownRight:"",FieldEmpty:"",FieldFilled:"",FieldChanged:"",FieldNotChanged:"",RingerOff:"",PlayResume:"",BulletedList2:"",BulletedList2Mirrored:"",ImageCrosshair:"",GitGraph:"",Repo:"",RepoSolid:"",FolderQuery:"",FolderList:"",FolderListMirrored:"",LocationOutline:"",POISolid:"",CalculatorNotEqualTo:"",BoxSubtractSolid:""}},t)}function EF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-11"',src:"url('".concat(e,"fabric-icons-11-2a8393d6.woff') format('woff')")},icons:{BoxAdditionSolid:"",BoxMultiplySolid:"",BoxPlaySolid:"",BoxCheckmarkSolid:"",CirclePauseSolid:"",CirclePause:"",MSNVideosSolid:"",CircleStopSolid:"",CircleStop:"",NavigateBack:"",NavigateBackMirrored:"",NavigateForward:"",NavigateForwardMirrored:"",UnknownSolid:"",UnknownMirroredSolid:"",CircleAddition:"",CircleAdditionSolid:"",FilePDB:"",FileTemplate:"",FileSQL:"",FileJAVA:"",FileASPX:"",FileCSS:"",FileSass:"",FileLess:"",FileHTML:"",JavaScriptLanguage:"",CSharpLanguage:"",CSharp:"",VisualBasicLanguage:"",VB:"",CPlusPlusLanguage:"",CPlusPlus:"",FSharpLanguage:"",FSharp:"",TypeScriptLanguage:"",PythonLanguage:"",PY:"",CoffeeScript:"",MarkDownLanguage:"",FullWidth:"",FullWidthEdit:"",Plug:"",PlugSolid:"",PlugConnected:"",PlugDisconnected:"",UnlockSolid:"",Variable:"",Parameter:"",CommentUrgent:"",Storyboard:"",DiffInline:"",DiffSideBySide:"",ImageDiff:"",ImagePixel:"",FileBug:"",FileCode:"",FileComment:"",BusinessHoursSign:"",FileImage:"",FileSymlink:"",AutoFillTemplate:"",WorkItem:"",WorkItemBug:"",LogRemove:"",ColumnOptions:"",Packages:"",BuildIssue:"",AssessmentGroup:"",VariableGroup:"",FullHistory:"",Wheelchair:"",SingleColumnEdit:"",DoubleColumnEdit:"",TripleColumnEdit:"",ColumnLeftTwoThirdsEdit:"",ColumnRightTwoThirdsEdit:"",StreamLogo:"",PassiveAuthentication:"",AlertSolid:"",MegaphoneSolid:"",TaskSolid:"",ConfigurationSolid:"",BugSolid:"",CrownSolid:"",Trophy2Solid:"",QuickNoteSolid:"",ConstructionConeSolid:"",PageListSolid:"",PageListMirroredSolid:"",StarburstSolid:"",ReadingModeSolid:"",SadSolid:"",HealthSolid:"",ShieldSolid:"",GiftBoxSolid:"",ShoppingCartSolid:"",MailSolid:"",ChatSolid:"",RibbonSolid:""}},t)}function FF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-12"',src:"url('".concat(e,"fabric-icons-12-7e945a1e.woff') format('woff')")},icons:{FinancialSolid:"",FinancialMirroredSolid:"",HeadsetSolid:"",PermissionsSolid:"",ParkingSolid:"",ParkingMirroredSolid:"",DiamondSolid:"",AsteriskSolid:"",OfflineStorageSolid:"",BankSolid:"",DecisionSolid:"",Parachute:"",ParachuteSolid:"",FiltersSolid:"",ColorSolid:"",ReviewSolid:"",ReviewRequestSolid:"",ReviewRequestMirroredSolid:"",ReviewResponseSolid:"",FeedbackRequestSolid:"",FeedbackRequestMirroredSolid:"",FeedbackResponseSolid:"",WorkItemBar:"",WorkItemBarSolid:"",Separator:"",NavigateExternalInline:"",PlanView:"",TimelineMatrixView:"",EngineeringGroup:"",ProjectCollection:"",CaretBottomRightCenter8:"",CaretBottomLeftCenter8:"",CaretTopRightCenter8:"",CaretTopLeftCenter8:"",DonutChart:"",ChevronUnfold10:"",ChevronFold10:"",DoubleChevronDown8:"",DoubleChevronUp8:"",DoubleChevronLeft8:"",DoubleChevronRight8:"",ChevronDownEnd6:"",ChevronUpEnd6:"",ChevronLeftEnd6:"",ChevronRightEnd6:"",ContextMenu:"",AzureAPIManagement:"",AzureServiceEndpoint:"",VSTSLogo:"",VSTSAltLogo1:"",VSTSAltLogo2:"",FileTypeSolution:"",WordLogoInverse16:"",WordLogo16:"",WordLogoFill16:"",PowerPointLogoInverse16:"",PowerPointLogo16:"",PowerPointLogoFill16:"",ExcelLogoInverse16:"",ExcelLogo16:"",ExcelLogoFill16:"",OneNoteLogoInverse16:"",OneNoteLogo16:"",OneNoteLogoFill16:"",OutlookLogoInverse16:"",OutlookLogo16:"",OutlookLogoFill16:"",PublisherLogoInverse16:"",PublisherLogo16:"",PublisherLogoFill16:"",VisioLogoInverse16:"",VisioLogo16:"",VisioLogoFill16:"",TestBeaker:"",TestBeakerSolid:"",TestExploreSolid:"",TestAutoSolid:"",TestUserSolid:"",TestImpactSolid:"",TestPlan:"",TestStep:"",TestParameter:"",TestSuite:"",TestCase:"",Sprint:"",SignOut:"",TriggerApproval:"",Rocket:"",AzureKeyVault:"",Onboarding:"",Transition:"",LikeSolid:"",DislikeSolid:"",CRMCustomerInsightsApp:"",EditCreate:"",PlayReverseResume:"",PlayReverse:"",SearchData:"",UnSetColor:"",DeclineCall:""}},t)}function IF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-13"',src:"url('".concat(e,"fabric-icons-13-c3989a02.woff') format('woff')")},icons:{RectangularClipping:"",TeamsLogo16:"",TeamsLogoFill16:"",Spacer:"",SkypeLogo16:"",SkypeForBusinessLogo16:"",SkypeForBusinessLogoFill16:"",FilterSolid:"",MailUndelivered:"",MailTentative:"",MailTentativeMirrored:"",MailReminder:"",ReceiptUndelivered:"",ReceiptTentative:"",ReceiptTentativeMirrored:"",Inbox:"",IRMReply:"",IRMReplyMirrored:"",IRMForward:"",IRMForwardMirrored:"",VoicemailIRM:"",EventAccepted:"",EventTentative:"",EventTentativeMirrored:"",EventDeclined:"",IDBadge:"",BackgroundColor:"",OfficeFormsLogoInverse16:"",OfficeFormsLogo:"",OfficeFormsLogoFill:"",OfficeFormsLogo16:"",OfficeFormsLogoFill16:"",OfficeFormsLogoInverse24:"",OfficeFormsLogo24:"",OfficeFormsLogoFill24:"",PageLock:"",NotExecuted:"",NotImpactedSolid:"",FieldReadOnly:"",FieldRequired:"",BacklogBoard:"",ExternalBuild:"",ExternalTFVC:"",ExternalXAML:"",IssueSolid:"",DefectSolid:"",LadybugSolid:"",NugetLogo:"",TFVCLogo:"",ProjectLogo32:"",ProjectLogoFill32:"",ProjectLogo16:"",ProjectLogoFill16:"",SwayLogo32:"",SwayLogoFill32:"",SwayLogo16:"",SwayLogoFill16:"",ClassNotebookLogo32:"",ClassNotebookLogoFill32:"",ClassNotebookLogo16:"",ClassNotebookLogoFill16:"",ClassNotebookLogoInverse32:"",ClassNotebookLogoInverse16:"",StaffNotebookLogo32:"",StaffNotebookLogoFill32:"",StaffNotebookLogo16:"",StaffNotebookLogoFill16:"",StaffNotebookLogoInverted32:"",StaffNotebookLogoInverted16:"",KaizalaLogo:"",TaskLogo:"",ProtectionCenterLogo32:"",GallatinLogo:"",Globe2:"",Guitar:"",Breakfast:"",Brunch:"",BeerMug:"",Vacation:"",Teeth:"",Taxi:"",Chopsticks:"",SyncOccurence:"",UnsyncOccurence:"",GIF:"",PrimaryCalendar:"",SearchCalendar:"",VideoOff:"",MicrosoftFlowLogo:"",BusinessCenterLogo:"",ToDoLogoBottom:"",ToDoLogoTop:"",EditSolid12:"",EditSolidMirrored12:"",UneditableSolid12:"",UneditableSolidMirrored12:"",UneditableMirrored:"",AdminALogo32:"",AdminALogoFill32:"",ToDoLogoInverse:""}},t)}function TF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-14"',src:"url('".concat(e,"fabric-icons-14-5cf58db8.woff') format('woff')")},icons:{Snooze:"",WaffleOffice365:"",ImageSearch:"",NewsSearch:"",VideoSearch:"",R:"",FontColorA:"",FontColorSwatch:"",LightWeight:"",NormalWeight:"",SemiboldWeight:"",GroupObject:"",UngroupObject:"",AlignHorizontalLeft:"",AlignHorizontalCenter:"",AlignHorizontalRight:"",AlignVerticalTop:"",AlignVerticalCenter:"",AlignVerticalBottom:"",HorizontalDistributeCenter:"",VerticalDistributeCenter:"",Ellipse:"",Line:"",Octagon:"",Hexagon:"",Pentagon:"",RightTriangle:"",HalfCircle:"",QuarterCircle:"",ThreeQuarterCircle:"","6PointStar":"","12PointStar":"",ArrangeBringToFront:"",ArrangeSendToBack:"",ArrangeSendBackward:"",ArrangeBringForward:"",BorderDash:"",BorderDot:"",LineStyle:"",LineThickness:"",WindowEdit:"",HintText:"",MediaAdd:"",AnchorLock:"",AutoHeight:"",ChartSeries:"",ChartXAngle:"",ChartYAngle:"",Combobox:"",LineSpacing:"",Padding:"",PaddingTop:"",PaddingBottom:"",PaddingLeft:"",PaddingRight:"",NavigationFlipper:"",AlignJustify:"",TextOverflow:"",VisualsFolder:"",VisualsStore:"",PictureCenter:"",PictureFill:"",PicturePosition:"",PictureStretch:"",PictureTile:"",Slider:"",SliderHandleSize:"",DefaultRatio:"",NumberSequence:"",GUID:"",ReportAdd:"",DashboardAdd:"",MapPinSolid:"",WebPublish:"",PieSingleSolid:"",BlockedSolid:"",DrillDown:"",DrillDownSolid:"",DrillExpand:"",DrillShow:"",SpecialEvent:"",OneDriveFolder16:"",FunctionalManagerDashboard:"",BIDashboard:"",CodeEdit:"",RenewalCurrent:"",RenewalFuture:"",SplitObject:"",BulkUpload:"",DownloadDocument:"",GreetingCard:"",Flower:"",WaitlistConfirm:"",WaitlistConfirmMirrored:"",LaptopSecure:"",DragObject:"",EntryView:"",EntryDecline:"",ContactCardSettings:"",ContactCardSettingsMirrored:""}},t)}function PF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-15"',src:"url('".concat(e,"fabric-icons-15-3807251b.woff') format('woff')")},icons:{CalendarSettings:"",CalendarSettingsMirrored:"",HardDriveLock:"",HardDriveUnlock:"",AccountManagement:"",ReportWarning:"",TransitionPop:"",TransitionPush:"",TransitionEffect:"",LookupEntities:"",ExploreData:"",AddBookmark:"",SearchBookmark:"",DrillThrough:"",MasterDatabase:"",CertifiedDatabase:"",MaximumValue:"",MinimumValue:"",VisualStudioIDELogo32:"",PasteAsText:"",PasteAsCode:"",BrowserTab:"",BrowserTabScreenshot:"",DesktopScreenshot:"",FileYML:"",ClipboardSolid:"",FabricUserFolder:"",FabricNetworkFolder:"",BullseyeTarget:"",AnalyticsView:"",Video360Generic:"",Untag:"",Leave:"",Trending12:"",Blocked12:"",Warning12:"",CheckedOutByOther12:"",CheckedOutByYou12:"",CircleShapeSolid:"",SquareShapeSolid:"",TriangleShapeSolid:"",DropShapeSolid:"",RectangleShapeSolid:"",ZoomToFit:"",InsertColumnsLeft:"",InsertColumnsRight:"",InsertRowsAbove:"",InsertRowsBelow:"",DeleteColumns:"",DeleteRows:"",DeleteRowsMirrored:"",DeleteTable:"",AccountBrowser:"",VersionControlPush:"",StackedColumnChart2:"",TripleColumnWide:"",QuadColumn:"",WhiteBoardApp16:"",WhiteBoardApp32:"",PinnedSolid:"",InsertSignatureLine:"",ArrangeByFrom:"",Phishing:"",CreateMailRule:"",PublishCourse:"",DictionaryRemove:"",UserRemove:"",UserEvent:"",Encryption:"",PasswordField:"",OpenInNewTab:"",Hide3:"",VerifiedBrandSolid:"",MarkAsProtected:"",AuthenticatorApp:"",WebTemplate:"",DefenderTVM:"",MedalSolid:"",D365TalentLearn:"",D365TalentInsight:"",D365TalentHRCore:"",BacklogList:"",ButtonControl:"",TableGroup:"",MountainClimbing:"",TagUnknown:"",TagUnknownMirror:"",TagUnknown12:"",TagUnknown12Mirror:"",Link12:"",Presentation:"",Presentation12:"",Lock12:"",BuildDefinition:"",ReleaseDefinition:"",SaveTemplate:"",UserGauge:"",BlockedSiteSolid12:"",TagSolid:"",OfficeChat:""}},t)}function RF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-16"',src:"url('".concat(e,"fabric-icons-16-9cf93f3b.woff') format('woff')")},icons:{OfficeChatSolid:"",MailSchedule:"",WarningSolid:"",Blocked2Solid:"",SkypeCircleArrow:"",SkypeArrow:"",SyncStatus:"",SyncStatusSolid:"",ProjectDocument:"",ToDoLogoOutline:"",VisioOnlineLogoFill32:"",VisioOnlineLogo32:"",VisioOnlineLogoCloud32:"",VisioDiagramSync:"",Event12:"",EventDateMissed12:"",UserOptional:"",ResponsesMenu:"",DoubleDownArrow:"",DistributeDown:"",BookmarkReport:"",FilterSettings:"",GripperDotsVertical:"",MailAttached:"",AddIn:"",LinkedDatabase:"",TableLink:"",PromotedDatabase:"",BarChartVerticalFilter:"",BarChartVerticalFilterSolid:"",MicOff2:"",MicrosoftTranslatorLogo:"",ShowTimeAs:"",FileRequest:"",WorkItemAlert:"",PowerBILogo16:"",PowerBILogoBackplate16:"",BulletedListText:"",BulletedListBullet:"",BulletedListTextMirrored:"",BulletedListBulletMirrored:"",NumberedListText:"",NumberedListNumber:"",NumberedListTextMirrored:"",NumberedListNumberMirrored:"",RemoveLinkChain:"",RemoveLinkX:"",FabricTextHighlight:"",ClearFormattingA:"",ClearFormattingEraser:"",Photo2Fill:"",IncreaseIndentText:"",IncreaseIndentArrow:"",DecreaseIndentText:"",DecreaseIndentArrow:"",IncreaseIndentTextMirrored:"",IncreaseIndentArrowMirrored:"",DecreaseIndentTextMirrored:"",DecreaseIndentArrowMirrored:"",CheckListText:"",CheckListCheck:"",CheckListTextMirrored:"",CheckListCheckMirrored:"",NumberSymbol:"",Coupon:"",VerifiedBrand:"",ReleaseGate:"",ReleaseGateCheck:"",ReleaseGateError:"",M365InvoicingLogo:"",RemoveFromShoppingList:"",ShieldAlert:"",FabricTextHighlightComposite:"",Dataflows:"",GenericScanFilled:"",DiagnosticDataBarTooltip:"",SaveToMobile:"",Orientation2:"",ScreenCast:"",ShowGrid:"",SnapToGrid:"",ContactList:"",NewMail:"",EyeShadow:"",FabricFolderConfirm:"",InformationBarriers:"",CommentActive:"",ColumnVerticalSectionEdit:"",WavingHand:"",ShakeDevice:"",SmartGlassRemote:"",Rotate90Clockwise:"",Rotate90CounterClockwise:"",CampaignTemplate:"",ChartTemplate:"",PageListFilter:"",SecondaryNav:"",ColumnVerticalSection:"",SkypeCircleSlash:"",SkypeSlash:""}},t)}function DF(e,t){void 0===e&&(e=""),fb({style:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontStyle:"normal",fontWeight:"normal",speak:"none"},fontFace:{fontFamily:'"FabricMDL2Icons-17"',src:"url('".concat(e,"fabric-icons-17-0c4ed701.woff') format('woff')")},icons:{CustomizeToolbar:"",DuplicateRow:"",RemoveFromTrash:"",MailOptions:"",Childof:"",Footer:"",Header:"",BarChartVerticalFill:"",StackedColumnChart2Fill:"",PlainText:"",AccessibiltyChecker:"",DatabaseSync:"",ReservationOrders:"",TabOneColumn:"",TabTwoColumn:"",TabThreeColumn:"",BulletedTreeList:"",MicrosoftTranslatorLogoGreen:"",MicrosoftTranslatorLogoBlue:"",InternalInvestigation:"",AddReaction:"",ContactHeart:"",VisuallyImpaired:"",EventToDoLogo:"",Variable2:"",ModelingView:"",DisconnectVirtualMachine:"",ReportLock:"",Uneditable2:"",Uneditable2Mirrored:"",BarChartVerticalEdit:"",GlobalNavButtonActive:"",PollResults:"",Rerun:"",QandA:"",QandAMirror:"",BookAnswers:"",AlertSettings:"",TrimStart:"",TrimEnd:"",TableComputed:"",DecreaseIndentLegacy:"",IncreaseIndentLegacy:"",SizeLegacy:""}},t)}pF.displayName="Dropdown";am("@fluentui/font-icons-mdl2","8.5.71");var MF="".concat("https://res.cdn.office.net/files/fabric-cdn-prod_20260113.001","/assets/icons/"),OF=ng();const AF=(e="#00BAE4",t,n="#FCFCFF")=>Qm({mainContainer:{backgroundColor:n,fontFamily:t?.family||"Proxima Nova, sans-serif",WebkitFontSmoothing:"antialiased"},topWrapper:{display:"flex",flexDirection:"column",alignItems:"center",padding:"5% 25%","@media (max-width: 768px)":{padding:"5% 10%"}},formWrapper:{backgroundColor:"#fff",minWidth:"600px",padding:"5%",border:"solid 1px #ADADAD",borderRadius:8,textAlign:"left","@media (max-width: 768px)":{minWidth:"100%",width:"100%"}},inputFieldContainer:{display:"grid",gridTemplateColumns:"minmax(0, 5fr) minmax(0, 3fr)",gap:"15px 20px",marginBottom:"20px","@media (max-width: 768px)":{gridTemplateColumns:"1fr"}},checkboxIsSharedMail:{gridColumn:"span 2",margin:"10px 0 10px 0","@media (max-width: 768px)":{gridColumn:"span 1"}},bigColumn:{gridColumn:"1 / span 1"},recaptchaWrapper:{margin:"20px 0"},finalStepContainer:{width:"100%",maxWidth:"800px",margin:"0 auto",textAlign:"center"},textBlock:{padding:"40px",backgroundColor:"#fff",borderRadius:8,border:"solid 1px #ADADAD"},primaryButton:{backgroundColor:e,selectors:{":hover":{backgroundColor:e,filter:"brightness(0.9)"},":active":{backgroundColor:e,filter:"brightness(0.85)"}}}}),LF=e=>t=>{const n=e?.family||"Proxima Nova, sans-serif";return{fieldGroup:[{backgroundColor:"#F5F5F5",border:"solid 1px #DDDDDD",borderRadius:5,height:50,fontFamily:n,WebkitFontSmoothing:"antialiased"}],subComponentStyles:{label:{root:{fontSize:e?.sizes?.body||16,fontWeight:"normal",fontFamily:n,WebkitFontSmoothing:"antialiased",textAlign:"left"}}},description:{fontSize:14}}},NF=e=>{const t=e?.family||"Proxima Nova, sans-serif";return{dropdown:{backgroundColor:"#F5F5F5",border:"none",borderRadius:5,height:50},title:{backgroundColor:"#F5F5F5",border:"solid 1px #DDDDDD",borderRadius:5,height:50,lineHeight:"48px",fontFamily:t,WebkitFontSmoothing:"antialiased"},caretDownWrapper:{height:50,lineHeight:"48px"},label:{fontSize:e?.sizes?.body||16,fontWeight:"normal",fontFamily:t,WebkitFontSmoothing:"antialiased",textAlign:"left"}}},BF=e=>{const t=e?.family||"Proxima Nova, sans-serif";return{root:{backgroundColor:"#F5F5F5",height:50,selectors:{":after":{borderRadius:5,border:"solid 1px #DDDDDD"}}},input:{backgroundColor:"#F5F5F5",height:48,lineHeight:"48px",fontFamily:t,WebkitFontSmoothing:"antialiased"},label:{fontSize:e?.sizes?.body||16,fontWeight:"normal",fontFamily:t,WebkitFontSmoothing:"antialiased",textAlign:"left"}}},zF=(e,t="#00BAE4",n)=>({root:{display:"flex",flexDirection:e?"row-reverse":"row",gap:"20px",marginBottom:"30px"},flexContainer:{display:"flex",flexDirection:"column",gap:"4px",selectors:{".ms-ChoiceFieldLabel":{fontSize:n?.sizes?.body||16},".ms-ChoiceField-field":{selectors:{":hover .ms-ChoiceField-field::before":{borderColor:t},"::before":{borderColor:"#DDDDDD"}}},".ms-ChoiceField-field.is-checked":{selectors:{"::before":{borderColor:t},"::after":{backgroundColor:t,borderColor:t}}}}}}),HF=({name:e,control:t,rules:n,defaultValue:r,...o})=>H.createElement(Bd,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{onChange:e,onBlur:t,name:n,value:r},fieldState:{error:i}})=>H.createElement(Vx,{...o,onChange:e,value:r,onBlur:t,name:n,errorMessage:i&&i.message,defaultValue:void 0})}),VF=({name:e,control:t,rules:n,defaultValue:r,setValue:o,setError:i,clearErrors:a,trigger:l,setIsValidating:s,translation:u,validateEmail:c,config:d,apiService:f,...p})=>{const[h,m]=z.useState(null),g=z.useCallback(async e=>{if(!e)return s(!1),u.EmailError;s(!0);try{let t=!1;if(c)t=await c(e);else if(d?.onValidateEmail)t=await d.onValidateEmail(e);else if(f)t=await f.validateEmail(e);else{t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e)}return s(!1),!!t||u.EmailInvalid}catch(e){return s(!1),u.EmailInvalid}},[c,d,f,u,s]),v=(e,t)=>{h&&clearTimeout(h);const n=setTimeout(async()=>{const t=await g(e);a("email"),!0!==t?i("email",{type:"manual",message:t}):a("email")},900);m(n)};return H.createElement(Bd,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{name:e,value:t,onChange:n},fieldState:{error:r}})=>H.createElement(Vx,{...p,onChange:(e,t)=>{s(!0),n(t),v(t)},onBlur:e=>{s(!0),v(t)},value:t,name:e,errorMessage:r?r.message:void 0,defaultValue:void 0})})},WF=({name:e,control:t,rules:n,defaultValue:r,primaryColor:o,...i})=>{const a=o||"#00BAE4",l=e=>({checkbox:{borderRadius:"3px",borderColor:"#DDDDDD",selectors:{":hover":{borderColor:a}},...e.checked&&{backgroundColor:a,borderColor:a}},checkmark:{color:"#fff"},label:{fontSize:16,fontWeight:"normal",fontFamily:"Proxima Nova, sans-serif",WebkitFontSmoothing:"antialiased"}});return H.createElement(Bd,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{onChange:e,name:t,value:n},fieldState:{error:r}})=>H.createElement(lx,{...i,checked:n,onChange:e,styles:l})})},UF=({name:t,control:n,rules:r,defaultValue:o,options:i,...a})=>{const l=n=>{switch(t){case e.FormModel.CompanySize:return n;case e.FormModel.OrgIndustryId:return i.find(e=>e.text===n)?.text;default:return i.find(e=>e.text===n)?.key}};return H.createElement(Bd,{name:t,control:n,rules:r,defaultValue:o||"",render:({field:{onChange:n,onBlur:r,value:o},fieldState:{error:s}})=>H.createElement(pF,{...a,options:i,selectedKey:l(o),onChange:(r,o)=>{"string"==typeof o?.key||t==e.FormModel.CompanySize||t==e.FormModel.OrgIndustryId?n(o?.key):n(o?.text)},onBlur:r,errorMessage:s&&s.message,styles:s?{...a.styles,title:{...a.styles?.title,border:"solid 1px #a4262c"}}:a.styles})})},jF=({name:e,control:t,rules:n,defaultValue:r,options:o,...i})=>H.createElement(Bd,{name:e,control:t,rules:n,defaultValue:r||"",render:({field:{onChange:e,onBlur:t,name:n,value:r},fieldState:{error:a}})=>H.createElement(eE,{...i,options:o,selectedKey:r,onChange:(t,n)=>{e("string"==typeof n?.key?n.key:n?.text)},onBlur:t,errorMessage:a&&a.message,defaultValue:void 0,allowFreeInput:!0,autoComplete:"on",styles:a?{...i.styles,root:{...i.styles?.root,selectors:{...i.styles?.root?.selectors,":after":{...i.styles?.root?.selectors?.[":after"],border:"solid 1px #a4262c"}}}}:i.styles})});var KF;e.FormDataModels=void 0,(KF=e.FormDataModels||(e.FormDataModels={})).CompanySizeDropdownOptions=[{key:1,text:"1-9"},{key:2,text:"10-24"},{key:3,text:"25-49"},{key:4,text:"50-99"},{key:5,text:"100-199"},{key:6,text:"200-299"},{key:7,text:"300-499"},{key:8,text:"500-999"},{key:9,text:"1000-2499"},{key:10,text:"2500-4999"},{key:11,text:"5000+"}],KF.IndustryOptions=[{key:1,text:"Agriculture, Forestry, Fishing, and Hunting"},{key:2,text:"Mining, Quarrying, and Oil and Gas Extraction"},{key:3,text:"Utilities"},{key:4,text:"Construction"},{key:5,text:"Manufacturing"},{key:6,text:"Wholesale Trade"},{key:7,text:"Retail Trade"},{key:8,text:"Transportation and Warehousing"},{key:9,text:"Information, Media, and Publishing"},{key:10,text:"Telecommunications"},{key:11,text:"Finance and Insurance"},{key:12,text:"Real Estate and Rental and Leasing"},{key:13,text:"Professional, Scientific, and Technical Services"},{key:14,text:"Management of Companies and Enterprises"},{key:15,text:"Administrative and Support and Waste Management and Remediation Services"},{key:16,text:"Educational Services"},{key:17,text:"Health Care and Social Assistance"},{key:18,text:"Arts, Entertainment, and Recreation"},{key:19,text:"Accommodation and Food Services"},{key:20,text:"E-commerce and Digital Services"},{key:21,text:"Defense and Aerospace"},{key:22,text:"Other Services (except Public Administration)"},{key:23,text:"Public Administration"}],KF.HearAboutOptions=[{key:1,text:"Microsoft Partner"},{key:2,text:"Search Engine"},{key:3,text:"Social Media"},{key:4,text:"Microsoft Website"},{key:5,text:"Microsoft Event"},{key:6,text:"Email Newsletter"},{key:7,text:"Colleague or Friend"},{key:8,text:"Advertisement"},{key:9,text:"Blog or Article"},{key:10,text:"Other"}];const qF=({formModels:t,isRegistering:n,control:r,setValue:o,setError:i,clearErrors:a,errors:l,trigger:s,performByPartner:u,watchFormField:c,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:y,partnerData:b,primaryColor:_})=>{const C=_||f.theme?.primaryColor||"#00BAE4",[S,w]=z.useState({}),k=t.reduce((t,n)=>{const r=((t,n,r)=>[{name:e.FormModel.CustomerPartnerName,type:e.FormType.Text,label:t.PartnerName,placeholder:t.PartnerNamePlaceholder,rules:{required:!!n&&t.PartnerNameError}},{name:e.FormModel.CustomerPartnerMail,type:e.FormType.Text,label:t.PartnerEmail,placeholder:t.PartnerEmailPlaceholder,rules:{required:!!n&&t.PartnerEmailError,pattern:{value:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,message:t.EmailInvalid}}},{name:e.FormModel.FirstName,type:e.FormType.Text,label:t.FirstName,placeholder:t.FirstNamePlaceholder,rules:{required:t.FirstNameError}},{name:e.FormModel.LastName,type:e.FormType.Text,label:t.LastName,placeholder:t.LastNamePlaceholder,rules:{required:t.LastNameError}},{name:e.FormModel.Email,type:e.FormType.AsyncText,label:t.EmailAddress,placeholder:t.EmailPlaceholder,description:t.EmailDesc,rules:{required:t.EmailError}},{name:e.FormModel.JobRole,type:e.FormType.Text,label:t.JobRole,placeholder:t.JobRolePlaceholder},{name:e.FormModel.IsSharedMail,type:e.FormType.CheckBox,label:t.IsSharedMailTerm},{name:e.FormModel.CompanyName,type:e.FormType.Text,label:t.CompanyName,placeholder:t.CompanyNamePlaceholder,rules:{required:t.CompanyNameError}},{name:e.FormModel.CompanySize,type:e.FormType.Dropdown,label:t.CompanySize},{name:e.FormModel.Country,type:e.FormType.ComboBox,label:t.Country,placeholder:t.CountryPlaceholder,rules:{required:t.CountryError}},{name:e.FormModel.PreferredLanguage,type:e.FormType.Dropdown,label:t.SelectPreferredLanguage},{name:e.FormModel.HearAbout,type:e.FormType.Dropdown,label:t.HearAbout,placeholder:t.HearAboutPlaceholder,rules:{required:t.HearAboutError},bigColumn:!0},{name:e.FormModel.OrgIndustryId,type:e.FormType.Dropdown,label:t.Industry,placeholder:t.HearAboutPlaceholder,rules:{required:t.HearAboutError},bigColumn:!0}].find(e=>e.name===r)||null)(d,u,n);return r?[...t,r]:t},[]),x=t=>{switch(t){case e.FormModel.CompanySize:return g||e.FormDataModels.CompanySizeDropdownOptions;case e.FormModel.OrgIndustryId:return v||e.FormDataModels.IndustryOptions;case e.FormModel.HearAbout:return y||e.FormDataModels.HearAboutOptions;case e.FormModel.PreferredLanguage:{const e=b?.supportedLanguages||[];return 0===e.length?Hh:Hh.filter(t=>e.includes(t.data.code))}case e.FormModel.Country:return m||[];default:return[]}};return H.createElement(H.Fragment,null,k.map(t=>((t,u)=>{const g=S[t.name]||!1;switch(t.type){case e.FormType.Text:return H.createElement(HF,{name:t.name,control:r,rules:t.rules,label:t.label,placeholder:t.placeholder,required:t.rules?.required,disabled:n,styles:LF(f.theme?.fonts),key:u});case e.FormType.AsyncText:return H.createElement("div",{key:u},H.createElement(VF,{label:t.label,placeholder:t.placeholder,control:r,setValue:o,setError:i,clearErrors:a,name:t.name,styles:LF(f.theme?.fonts),trigger:s,setIsValidating:(y=t.name,e=>{w(t=>{const n=t[y]||!1,r="function"==typeof e?e(n):e;return{...t,[y]:r}})}),translation:d,config:f,apiService:p,rules:{required:d.EmailError},required:t.rules?.required,description:t.name in l||g?void 0:t.description,disabled:n}),g&&H.createElement(yE,{label:d.ValidatingMessage,styles:{root:{alignItems:"flex-end",justifyContent:"flex-start",flexDirection:"row"},label:{marginLeft:"5px"}}}));case e.FormType.Dropdown:return H.createElement(UF,{key:u,required:void 0!==t.rules?.required,options:x(t.name),label:t.label,rules:t.rules,control:r,name:t.name,placeholder:t.placeholder,disabled:(v=t.name,v===e.FormModel.PreferredLanguage&&"AU"===c(e.FormModel.Country)&&"Microsoft"===b?.partnerName||n),className:t.bigColumn?h.bigColumn:"",styles:NF(f.theme?.fonts)});case e.FormType.ComboBox:return H.createElement(jF,{key:u,options:m||[],label:t.label,control:r,rules:t.rules,name:t.name,placeholder:t.placeholder,required:""!==t.rules?.required,disabled:n,autoComplete:"off",styles:BF(f.theme?.fonts)});case e.FormType.CheckBox:return H.createElement(WF,{key:u,name:t.name,label:t.label,rules:t.rules,disabled:n,control:r,primaryColor:C,className:h.checkboxIsSharedMail});default:return null}var v,y})(t,t.name)))};function GF(e,t){const n=Object.assign({},e);return $F(e)&&$F(t)&&Object.keys(t).forEach(r=>{$F(t[r])?r in e?n[r]=GF(e[r],t[r]):Object.assign(n,{[r]:t[r]}):Object.assign(n,{[r]:t[r]})}),n}function $F(e){return e&&"object"==typeof e&&!Array.isArray(e)}function QF(e){return!!e&&["ar","he"].includes(e.toLowerCase())}const ZF=({isRegistering:t,performByPartner:n,setPerformByPartner:r,setValue:o,setError:i,clearErrors:a,control:l,errors:s,trigger:u,watch:c,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:y,partnerData:b,primaryColor:_})=>{const C=_||"#00BAE4",S=[{key:"ByCustomer",text:d.ByCustomer},{key:"ByPartner",text:d.ByPartner}],w=y&&y.length>0,k=[n&&e.FormModel.CustomerPartnerName,n&&e.FormModel.CustomerPartnerMail,e.FormModel.FirstName,e.FormModel.LastName,e.FormModel.Email,e.FormModel.JobRole,e.FormModel.IsSharedMail,e.FormModel.CompanyName,e.FormModel.CompanySize,e.FormModel.Country,e.FormModel.PreferredLanguage,!n&&e.FormModel.CustomerPartnerName,!n&&e.FormModel.CustomerPartnerMail,e.FormModel.OrgIndustryId,!!w&&e.FormModel.HearAbout];return H.createElement(H.Fragment,null,H.createElement(Ix,{defaultSelectedKey:"ByCustomer",options:S,styles:zF(QF(b?.languageCode),C,f.theme?.fonts),onChange:(t,n)=>{o(e.FormModel.CustomerPartnerMail,""),o(e.FormModel.CustomerPartnerName,""),a(e.FormModel.CustomerPartnerMail),a(e.FormModel.CustomerPartnerName),r("ByPartner"===n?.key)}}),H.createElement("div",{className:h.inputFieldContainer},H.createElement(qF,{formModels:k,isRegistering:t,control:l,setValue:o,setError:i,clearErrors:a,errors:s,trigger:u,performByPartner:n,watchFormField:c,translation:d,config:f,apiService:p,styles:h,countryOptions:m,orgSizingOptions:g,orgIndustryOptions:v,hearAboutOptions:y,partnerData:b,primaryColor:C})))};var YF={exports:{}};function JF(){}function XF(){}XF.resetWarningCache=JF;YF.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:XF,resetWarningCache:JF};return n.PropTypes=n,n}();var eI=n(YF.exports),tI=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function nI(){return nI=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nI.apply(this,arguments)}function rI(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oI(e,t){return oI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oI(e,t)}var iI=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(rI(t)),t.handleErrored=t.handleErrored.bind(rI(t)),t.handleChange=t.handleChange.bind(rI(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(rI(t)),t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,oI(t,n);var o=r.prototype;return o.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},o.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},o.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},o.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},o.executeAsync=function(){var e=this;return new Promise(function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()})},o.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},o.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},o.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},o.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},o.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},o.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},o.componentDidMount=function(){this.explicitRender()},o.componentDidUpdate=function(){this.explicitRender()},o.handleRecaptchaRef=function(e){this.captcha=e},o.render=function(){var e=this.props;e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated;var t=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,tI);return z.createElement("div",nI({},t,{ref:this.handleRecaptchaRef}))},r}(z.Component);iI.displayName="ReCAPTCHA",iI.propTypes={sitekey:eI.string.isRequired,onChange:eI.func,grecaptcha:eI.object,theme:eI.oneOf(["dark","light"]),type:eI.oneOf(["image","audio"]),tabindex:eI.number,onExpired:eI.func,onErrored:eI.func,size:eI.oneOf(["compact","normal","invisible"]),stoken:eI.string,hl:eI.string,badge:eI.oneOf(["bottomright","bottomleft","inline"]),isolated:eI.bool},iI.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var aI={exports:{}},lI={},sI="function"==typeof Symbol&&Symbol.for,uI=sI?Symbol.for("react.element"):60103,cI=sI?Symbol.for("react.portal"):60106,dI=sI?Symbol.for("react.fragment"):60107,fI=sI?Symbol.for("react.strict_mode"):60108,pI=sI?Symbol.for("react.profiler"):60114,hI=sI?Symbol.for("react.provider"):60109,mI=sI?Symbol.for("react.context"):60110,gI=sI?Symbol.for("react.async_mode"):60111,vI=sI?Symbol.for("react.concurrent_mode"):60111,yI=sI?Symbol.for("react.forward_ref"):60112,bI=sI?Symbol.for("react.suspense"):60113,_I=sI?Symbol.for("react.suspense_list"):60120,CI=sI?Symbol.for("react.memo"):60115,SI=sI?Symbol.for("react.lazy"):60116,wI=sI?Symbol.for("react.block"):60121,kI=sI?Symbol.for("react.fundamental"):60117,xI=sI?Symbol.for("react.responder"):60118,EI=sI?Symbol.for("react.scope"):60119;function FI(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case uI:switch(e=e.type){case gI:case vI:case dI:case pI:case fI:case bI:return e;default:switch(e=e&&e.$$typeof){case mI:case yI:case SI:case CI:case hI:return e;default:return t}}case cI:return t}}}function II(e){return FI(e)===vI}lI.AsyncMode=gI,lI.ConcurrentMode=vI,lI.ContextConsumer=mI,lI.ContextProvider=hI,lI.Element=uI,lI.ForwardRef=yI,lI.Fragment=dI,lI.Lazy=SI,lI.Memo=CI,lI.Portal=cI,lI.Profiler=pI,lI.StrictMode=fI,lI.Suspense=bI,lI.isAsyncMode=function(e){return II(e)||FI(e)===gI},lI.isConcurrentMode=II,lI.isContextConsumer=function(e){return FI(e)===mI},lI.isContextProvider=function(e){return FI(e)===hI},lI.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===uI},lI.isForwardRef=function(e){return FI(e)===yI},lI.isFragment=function(e){return FI(e)===dI},lI.isLazy=function(e){return FI(e)===SI},lI.isMemo=function(e){return FI(e)===CI},lI.isPortal=function(e){return FI(e)===cI},lI.isProfiler=function(e){return FI(e)===pI},lI.isStrictMode=function(e){return FI(e)===fI},lI.isSuspense=function(e){return FI(e)===bI},lI.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===dI||e===vI||e===pI||e===fI||e===bI||e===_I||"object"==typeof e&&null!==e&&(e.$$typeof===SI||e.$$typeof===CI||e.$$typeof===hI||e.$$typeof===mI||e.$$typeof===yI||e.$$typeof===kI||e.$$typeof===xI||e.$$typeof===EI||e.$$typeof===wI)},lI.typeOf=FI,aI.exports=lI;var TI=aI.exports,PI={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},RI={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},DI={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},MI={};function OI(e){return TI.isMemo(e)?DI:MI[e.$$typeof]||PI}MI[TI.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},MI[TI.Memo]=DI;var AI=Object.defineProperty,LI=Object.getOwnPropertyNames,NI=Object.getOwnPropertySymbols,BI=Object.getOwnPropertyDescriptor,zI=Object.getPrototypeOf,HI=Object.prototype;var VI=function e(t,n,r){if("string"!=typeof n){if(HI){var o=zI(n);o&&o!==HI&&e(t,o,r)}var i=LI(n);NI&&(i=i.concat(NI(n)));for(var a=OI(t),l=OI(n),s=0;s<i.length;++s){var u=i[s];if(!(RI[u]||r&&r[u]||l&&l[u]||a&&a[u])){var c=BI(n,u);try{AI(t,u,c)}catch(e){}}}}return t},WI=n(VI);function UI(){return UI=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},UI.apply(this,arguments)}var jI={},KI=0;var qI="onloadcallback";function GI(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}var $I,QI,ZI=($I=function(){var e=GI(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+qI+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+qI+"&render=explicit"},QI=(QI={callbackName:qI,globalName:"grecaptcha",attributes:GI().nonce?{nonce:GI().nonce}:{}})||{},function(e){var t=e.displayName||e.name||"Component",n=function(t){var n,r;function o(e,n){var r;return(r=t.call(this,e,n)||this).state={},r.__scriptURL="",r}r=t,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r;var i=o.prototype;return i.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+KI++),this.__scriptLoaderID},i.setupScriptURL=function(){return this.__scriptURL="function"==typeof $I?$I():$I,this.__scriptURL},i.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},i.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=jI[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[QI.callbackName]},i.componentDidMount=function(){var e=this,t=this.setupScriptURL(),n=this.asyncScriptLoaderGetScriptLoaderID(),r=QI,o=r.globalName,i=r.callbackName,a=r.scriptId;if(o&&void 0!==window[o]&&(jI[t]={loaded:!0,observers:{}}),jI[t]){var l=jI[t];return l&&(l.loaded||l.errored)?void this.asyncScriptLoaderHandleLoad(l):void(l.observers[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var s={};s[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)},jI[t]={loaded:!1,observers:s};var u=document.createElement("script");for(var c in u.src=t,u.async=!0,QI.attributes)u.setAttribute(c,QI.attributes[c]);a&&(u.id=a);var d=function(e){if(jI[t]){var n=jI[t].observers;for(var r in n)e(n[r])&&delete n[r]}};i&&"undefined"!=typeof window&&(window[i]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),u.onload=function(){var e=jI[t];e&&(e.loaded=!0,d(function(t){return!i&&(t(e),!0)}))},u.onerror=function(){var e=jI[t];e&&(e.errored=!0,d(function(t){return t(e),!0}))},document.body.appendChild(u)},i.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===QI.removeOnUnmount)for(var t=document.getElementsByTagName("script"),n=0;n<t.length;n+=1)t[n].src.indexOf(e)>-1&&t[n].parentNode&&t[n].parentNode.removeChild(t[n]);var r=jI[e];r&&(delete r.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===QI.removeOnUnmount&&delete jI[e])},i.render=function(){var t=QI.globalName,n=this.props;n.asyncScriptOnLoad;var r=n.forwardedRef,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(o[t]=void 0!==window[t]?window[t]:void 0),o.ref=r,z.createElement(e,o)},o}(z.Component),r=z.forwardRef(function(e,t){return z.createElement(n,UI({},e,{forwardedRef:t}))});return r.displayName="AsyncScriptLoader("+t+")",r.propTypes={asyncScriptOnLoad:eI.func},WI(r,e)})(iI);const YI=e=>{const{styles:t,description:n,primaryColor:r,fonts:o,...i}=e;return H.createElement("div",null,H.createElement(lx,{...i,styles:e=>{const n=((e,t,n)=>{const r=t||"#00BAE4",o=n?.family||"Proxima Nova, sans-serif",i=n?.sizes?.body||16;return{root:{margin:"10px 0 5px 0"},checkbox:{borderRadius:"3px",borderColor:"#DDDDDD",selectors:{":hover":{borderColor:r}},...e.checked&&{backgroundColor:r,borderColor:r}},checkmark:{color:"#fff"},label:{fontSize:i,fontWeight:"normal",fontFamily:o,WebkitFontSmoothing:"antialiased"},text:[{fontSize:"18px",margin:"0 4px"},e.checked&&{fontWeight:600}]}})(e,r,o);return t?GF(n,"function"==typeof t?t(e):t):n}}),n&&H.createElement("div",{style:{margin:"0 28px",cursor:"default"},className:"checkboxDescription"},n))},JI=(e,t)=>({root:{borderRadius:8,height:60,boxShadow:t?"none":"0px 2px 5px 0px #b1b1b1f2",border:"none !important",backgroundColor:e||"#00BAE4"},rootHovered:{backgroundColor:e||"#00BAE4",filter:"brightness(0.9)"},rootPressed:{backgroundColor:e||"#00BAE4",filter:"brightness(0.85)"},rootDisabled:{backgroundColor:"#cecece",color:"#fff"},textContainer:{fontSize:"18px",fontWeight:"600"},menuIcon:{fontSize:"25px",fontWeight:"700"},menuIconDisabled:{color:"#fff"},icon:{fontSize:"25px",fontWeight:"700"},iconDisabled:{color:"#fff"}}),XI=()=>z.createElement(yE,{size:nE.medium,style:{marginRight:8}}),eT=e=>{const{primaryColor:t,noShadow:n,iconProps:r,noIcon:o,iconName:i,loadingIcon:a,styles:l,...s}=e,u=void 0===i?QF()?"ChevronLeft":"ChevronRight":i,c=l?GF(JI(t,n),l):JI(t,n);return o?z.createElement(Xk,{...s,styles:c}):r?z.createElement(Xk,{...s,styles:c,iconProps:{iconName:u},disabled:a,onRenderIcon:()=>a?XI():null}):z.createElement(Xk,{...s,styles:c,menuIconProps:{iconName:u},onRenderIcon:()=>a?XI():null})},tT=({setValue:t,isRegistering:n,errors:r,translation:o,config:i,submissionError:a,primaryColor:l,partnerData:s})=>{const[u,c]=z.useState(!1),[d,f]=z.useState(!1),[p,h]=z.useState(!1),m=l||"#00BAE4",g=s?`https://${s.domain}/terms-and-conditions`:"",v=o.PrivacyStatementLink,y=v&&!/^https?:\/\//.test(v)&&s?`https://${s.domain}${v}`:v;return H.createElement("div",null,H.createElement("div",{style:{margin:"20px 0"}},H.createElement(ZI,{sitekey:"6LeSgOkgAAAAAG820G9BYrck3obgjOBn05IdJhom",onChange:e=>c(!!e)})),H.createElement(YI,{onRenderLabel:()=>H.createElement("span",{style:{margin:"0 8px",fontSize:14}},o.AcceptPrivacy," ",H.createElement("a",{href:y,target:"_blank",rel:"noopener noreferrer",style:{color:m}},o.PrivacyNotice)),styles:{root:{margin:"30px 0"}},onChange:(n,r)=>{t(e.FormModel.IsConsented,r),h(r)},disabled:n,primaryColor:m,fonts:i.theme?.fonts}),H.createElement(YI,{onRenderLabel:()=>H.createElement("span",{style:{margin:"0 8px",fontSize:14}},o.AcceptTerm," ",H.createElement("a",{href:g,target:"_blank",rel:"noopener noreferrer",style:{color:m}},o.TermCondition)),styles:{root:{margin:"30px 0"}},onChange:(n,r)=>{r?(f(!0),t(e.FormModel.ConsentedDate,new Date)):(f(!1),t(e.FormModel.ConsentedDate,void 0))},disabled:n,primaryColor:m,fonts:i.theme?.fonts}),a&&H.createElement("div",{style:{backgroundColor:"#FDE7E9",border:"1px solid #DC3545",borderRadius:4,padding:"12px 16px",marginBottom:20,color:"#DC3545",fontSize:14,display:"flex",alignItems:"center",gap:8}},H.createElement("span",{style:{fontSize:16,fontWeight:600}},"⚠"),H.createElement("span",null,a)),H.createElement(eT,{text:o.SubmitRequest,primaryColor:m,styles:{root:{display:"block",width:"100%"}},type:"submit",disabled:Object.keys(r).length>0||n||!d||!p||!u,onRenderMenuIcon:(e,t)=>n?H.createElement(yE,{size:nE.medium}):t?t():null}))},nT="ColorWidget",rT="KnownProductFrom",oT=({config:t})=>{const[n,r]=z.useState(),[o,i]=z.useState(),a=Ef(t),l=a.apiBaseUrl||"https://portal.selfserviceassessment.com",s=z.useMemo(()=>new Yh(l),[l]),u=z.useMemo(()=>new Yh(n?.domain?new URL(`https://${n?.domain}`).toString():""),[n?.domain]),c=z.useMemo(()=>AF(a.theme?.primaryColor||o?.column1,a.theme?.fonts,a.theme?.backgroundColor),[a.theme?.primaryColor,a.theme?.fonts,a.theme?.backgroundColor,o?.column1]),[d,f]=z.useState(!1),[p,h]=z.useState(!1),[m,g]=z.useState(""),[v,y]=z.useState(),[b,_]=z.useState(),[C,S]=z.useState(e.FormDataModels.CompanySizeDropdownOptions),[w,k]=z.useState(e.FormDataModels.IndustryOptions),[x,E]=z.useState(),[F,I]=z.useState(),[T,P]=z.useState(!1),[R,D]=z.useState(!1),[M,O]=z.useState(!1),[A,L]=z.useState(!1),[N,B]=z.useState(!1),[V,W]=z.useState(!1),U=T||R||M||A||N,j=z.useMemo(()=>{const e=n?.supportedLanguages?n.supportedLanguages.split(",").map(e=>e.trim()):[];return xf.isEmpty(e)?Hh:Hh.filter(t=>e.includes(t.data.code))},[n?.supportedLanguages]),K=z.useMemo(()=>{const e=a.languageCode||n?.languageCode||"en";return j.find(t=>t.data.code===e)?.text||"English"},[a.languageCode,n?.languageCode,j]),{handleSubmit:q,setValue:G,setError:$,control:Q,watch:Z,clearErrors:Y,trigger:J,formState:{errors:X}}=function(e={}){const t=H.useRef(void 0),n=H.useRef(void 0),[r,o]=H.useState({isDirty:!1,isValidating:!1,isLoading:dd(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:dd(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!dd(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:n,...o}=_f(e);t.current={...o,formState:r}}const i=t.current.control;return i._options=e,Rd(()=>{const e=i._subscribe({formState:i._proxyFormState,callback:()=>o({...i._formState}),reRenderRoot:!0});return o(e=>({...e,isReady:!0})),i._formState.isReady=!0,e},[i]),H.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),H.useEffect(()=>{e.mode&&(i._options.mode=e.mode),e.reValidateMode&&(i._options.reValidateMode=e.reValidateMode)},[i,e.mode,e.reValidateMode]),H.useEffect(()=>{e.errors&&(i._setErrors(e.errors),i._focusError())},[i,e.errors]),H.useEffect(()=>{e.shouldUnregister&&i._subjects.state.next({values:i._getWatch()})},[i,e.shouldUnregister]),H.useEffect(()=>{if(i._proxyFormState.isDirty){const e=i._getDirty();e!==r.isDirty&&i._subjects.state.next({isDirty:e})}},[i,r.isDirty]),H.useEffect(()=>{var t;e.values&&!Ad(e.values,n.current)?(i._reset(e.values,{keepFieldsRef:!0,...i._options.resetOptions}),(null===(t=i._options.resetOptions)||void 0===t?void 0:t.keepIsValid)||i._setValid(),n.current=e.values,o(e=>({...e}))):i._resetDefaultValues()},[i,e.values]),H.useEffect(()=>{i._state.mount||(i._setValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),t.current.formState=H.useMemo(()=>Pd(r,i),[i,r]),t.current}({defaultValues:{orgSizingId:1,isSharedMail:!0,isConsented:!1,consentedDate:void 0,preferredLanguage:K,assessmentProgresses:[]},mode:"all"});z.useEffect(()=>{L(!0),s.getPartnerByGuid(a.partnerGuid).then(e=>{e?r(e):W(!0)}).catch(e=>{console.error("Failed to load partner:",e),W(!0)}).finally(()=>{L(!1)})},[a.partnerGuid,s]),z.useEffect(()=>{if(!n)return;P(!0),u.getCountries().then(e=>{_(e.sort((e,t)=>e.name.localeCompare(t.name)).map(e=>({key:e.alpha2Code,text:e.name})))}).catch(e=>{console.error("Failed to load countries:",e)}).finally(()=>{P(!1)}),D(!0),u.getOrgSizes().then(e=>{S(e.filter(e=>null!=e.microsoftSizingId).sort((e,t)=>e.sortOrder-t.sortOrder).map(t=>({key:t.id,text:t.label||(t.sortOrder!==e.length-1?`${t.sizeLowerBound}-${t.sizeUpperBound}`:`${t.sizeLowerBound}+`)})))}).catch(e=>{console.error("Failed to load org sizes:",e)}).finally(()=>{D(!1)}),O(!0),u.getIndustries().then(e=>{k(e.map(e=>({key:e.id,text:e.name})))}).catch(e=>{console.error("Failed to load industries:",e)}).finally(()=>{O(!1)}),B(!0);const e=a.languageCode||n.languageCode||"en";u.getFormScreenLocalization(e,n.id).then(e=>{E(e)}).catch(e=>{console.error("Failed to load localization:",e)}).finally(()=>{B(!1)})},[u,n,a.languageCode]);const ee=Ld({control:Q,name:e.FormModel.Country});z.useEffect(()=>{"AU"===ee&&"Microsoft"===n?.partnerName&&G(e.FormModel.PreferredLanguage,"English")},[ee,G,n]);const te=z.useMemo(()=>{if(!x)return Vh.en.formScreen;const e=Vh.en.formScreen,t={},n=x;for(const[r,o]of Object.entries(e))t[r]=n[o]||o;return t},[x]);return z.useEffect(()=>{if(!n)return void i(void 0);const e=n.partnerSettings?.find(e=>e.settingKey===nT);if(e?.settingValue)try{const t=JSON.parse(e.settingValue);i(t)}catch(e){console.error("Failed to parse ColorWidget setting:",e),i(void 0)}else i(void 0)},[n]),z.useEffect(()=>{if(!n||!x)return void I(void 0);const e=n.partnerSettings?.filter(e=>e.settingKey===rT),t=e&&e.length>0?e[0].settingValue:void 0;if(!t)return void I(void 0);const r=parseInt(t,10);if(isNaN(r)||r<=0)return void I(void 0);const o=[],i=x;for(let e=1;e<=r;e++){const t=`hear_about_${e}`,n=i[t]||`Option ${e}`;o.push({key:t,text:n})}I(o)},[n,x]),m?H.createElement("div",{className:c.mainContainer},H.createElement("div",{className:c.topWrapper,style:a.customStyles?.topWrapper},H.createElement("div",{className:c.finalStepContainer},H.createElement("div",{className:c.textBlock},H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.heading,fontWeight:700}},te.ThankYou),H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.subheading,margin:"20px 0",lineHeight:"30px"}},te.ThankYouDesc),H.createElement("div",{style:{fontSize:18,margin:"20px 0",color:a.theme?.primaryColor||o?.column1||"#00BAE4",textUnderlinePosition:"under"}},m))))):H.createElement("div",{className:c.mainContainer},H.createElement("div",{className:c.topWrapper,style:a.customStyles?.topWrapper},U?H.createElement(yE,{label:"Loading form data...",styles:{root:{marginBottom:"20px"}}}):V?H.createElement("div",{style:{textAlign:"center",padding:"40px 20px",color:"#605e5c"}},H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.heading||24,fontWeight:700,marginBottom:16}},"Access Not Available"),H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.subheading||16,lineHeight:"28px"}},"Your company is not eligible to use this form. Please contact your administrator for assistance.")):H.createElement("form",{className:c.formWrapper,style:a.customStyles?.formWrapper,onSubmit:q(async t=>{f(!0),y(void 0);if(await u.checkMaintenanceStatus()){const e="System is under maintenance, please try again later";return a.onError&&a.onError(e),void f(!1)}G(e.FormModel.Partner,n),G(e.FormModel.PerfromedByPartner,p),u.addUser(Z(),n?.partnerName||"",window.location.hostname).then(t=>{const n=Z(e.FormModel.Email);g(n),a.onSuccess&&a.onSuccess(n)}).catch(e=>{const t=e?.response?.data;let n;if(t?.errors)n=Object.values(t.errors).flat().join(" ");else{const r=t?.title||e?.message||e;n=x?.[r]||r||"Registration failed"}a.onError&&a.onError(n),y(n)}).finally(()=>{f(!1)})}),noValidate:!0},H.createElement("div",{style:{textAlign:"center"}},H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.heading,fontWeight:700}},te.AppForm),H.createElement("div",{style:{fontSize:a.theme?.fonts?.sizes?.subheading,margin:"12px auto 24px",width:"85%",lineHeight:"30px"}},te.AppFormDesc)),H.createElement(ZF,{isRegistering:d,setPerformByPartner:h,performByPartner:p,setValue:G,setError:$,clearErrors:Y,control:Q,errors:X,trigger:J,watch:Z,translation:te,config:a,apiService:u,styles:c,countryOptions:b,orgSizingOptions:C,orgIndustryOptions:w,hearAboutOptions:F,partnerData:n,primaryColor:a.theme?.primaryColor||o?.column1}),H.createElement(tT,{setValue:G,isRegistering:d,errors:X,translation:te,config:a,submissionError:v,primaryColor:a.theme?.primaryColor||o?.column1,partnerData:n}))))};!function(e,t){var n,r;void 0===e&&(e=(null===(n=null==OF?void 0:OF.FabricConfig)||void 0===n?void 0:n.iconBaseUrl)||(null===(r=null==OF?void 0:OF.FabricConfig)||void 0===r?void 0:r.fontBaseUrl)||MF),[hF,mF,gF,vF,yF,bF,_F,CF,SF,wF,kF,xF,EF,FF,IF,TF,PF,RF,DF].forEach(function(n){return n(e,t)}),pb("trash","delete"),pb("onedrive","onedrivelogo"),pb("alertsolid12","eventdatemissed12"),pb("sixpointstar","6pointstar"),pb("twelvepointstar","12pointstar"),pb("toggleon","toggleleft"),pb("toggleoff","toggleright")}();class iT extends HTMLElement{constructor(){super(),this.root=null,this._config=null}static get observedAttributes(){return["config"]}connectedCallback(){this._config&&this.render()}disconnectedCallback(){this.root&&(this.root.unmount(),this.root=null)}attributeChangedCallback(e,t,n){if("config"===e&&t!==n)try{this._config=JSON.parse(n),this.render()}catch(e){console.error("Invalid config JSON:",e)}}set config(e){this._config=e,this.render()}render(){let e=this.querySelector("div.ssas-form-container");e||(e=document.createElement("div"),e.className="ssas-form-container",e.style.width="100%",e.style.height="100%",this.appendChild(e));let t=this._config;if(!t){const e=this.getAttribute("config");if(e)try{t=JSON.parse(e)}catch(e){return void console.error("Invalid config attribute:",e)}}t?(this.root||(this.root=V.createRoot(e)),this.root.render(H.createElement(oT,{config:t})),this.dispatchEvent(new CustomEvent("ssas-form-ready",{bubbles:!0,composed:!0,detail:{config:t}}))):console.error("No configuration provided to ssas-registration-form")}}return"undefined"==typeof window||customElements.get("ssas-registration-form")||customElements.define("ssas-registration-form",iT),e.ApiService=Yh,e.DEFAULT_TRANSLATIONS=Vh,e.EMAIL_PATTERN=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/,e.LANGUAGE_OPTIONS=Hh,e.SSASFormElement=iT,e.SSASRegistrationForm=oT,e.choiceGroupStyles=zF,e.createFormStyles=AF,e.textFieldStyles=LF,e.useFormConfig=Ef,e}({});
29
29
  //# sourceMappingURL=web-component.min.js.map