@spfx-extensions/package 1.6.3 → 1.6.5
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.
- package/config/config-scripts/rename-solution.mjs +1 -4
- package/config/package-solution.json +2 -2
- package/dist/8d1029da-85e6-48cc-aaaf-37a5bbc0b9be.manifest.json +2 -2
- package/dist/d6ca1fc2-0591-4c6d-8a25-cae3262c017b.manifest.json +2 -2
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/Extension_8d1029da-85e6-48cc-aaaf-37a5bbc0b9be.xml +1 -1
- package/dist/debug/83e13c11-682e-4eaa-9ae0-74617ca28f96/WebPart_d6ca1fc2-0591-4c6d-8a25-cae3262c017b.xml +1 -1
- package/dist/debug/AppManifest.xml +1 -1
- package/dist/debug/ClientSideAssets/{spfx-extension-application-customizer_a3a347c8bd029396ec50.js → spfx-extension-application-customizer_5b1b100aec47d72d7987.js} +2 -2
- package/dist/{spfx-extensionloader-web-part_3b393b3ec530c336b801.js → debug/ClientSideAssets/spfx-extensionloader-web-part_2268d0967478752fd3d9.js} +1 -1
- package/dist/debug/ClientSideAssets/spfx-extensions-classiccustomaction.js +1 -1
- package/dist/debug/ClientSideAssets/spfx-extensions-classicwrapper.js +1 -1
- package/dist/debug/ClientSideAssets/spfx-extensions-core.js +1 -1
- package/dist/debug/ClientSideAssets/spfx-extensions-coreconfigurator.js +45 -45
- package/dist/debug/ClientSideAssets/spfx-extensions-loader_ddc8f623e76ec6c32de9.js +2 -0
- package/dist/debug/ClientSideAssets.xml +1 -1
- package/dist/debug/ClientSideAssets.xml.config.xml +1 -1
- package/dist/debug/_rels/ClientSideAssets.xml.rels +1 -1
- package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml +1 -1
- package/dist/debug/feature_83e13c11-682e-4eaa-9ae0-74617ca28f96.xml.config.xml +1 -1
- package/dist/deploy/sp-fx-extensions.sppkg +0 -0
- package/dist/{spfx-extension-application-customizer_a3a347c8bd029396ec50.js → spfx-extension-application-customizer_5b1b100aec47d72d7987.js} +2 -2
- package/dist/{debug/ClientSideAssets/spfx-extensionloader-web-part_3b393b3ec530c336b801.js → spfx-extensionloader-web-part_2268d0967478752fd3d9.js} +1 -1
- package/dist/spfx-extensions-classiccustomaction.js +1 -1
- package/dist/spfx-extensions-classicwrapper.js +1 -1
- package/dist/spfx-extensions-core.js +1 -1
- package/dist/spfx-extensions-coreconfigurator.js +45 -45
- package/dist/spfx-extensions-loader_ddc8f623e76ec6c32de9.js +2 -0
- package/package.json +4 -4
- package/dist/debug/ClientSideAssets/spfx-extensions-loader_6e8eb68a4b27d7c6f742.js +0 -2
- package/dist/spfx-extensions-loader_6e8eb68a4b27d7c6f742.js +0 -2
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
var IF=Object.create;var{getPrototypeOf:$F,defineProperty:Lh,getOwnPropertyNames:YF}=Object;var XF=Object.prototype.hasOwnProperty;function KF(a){return this[a]}var jF,NF,w8=(a,l,c)=>{var o=a!=null&&typeof a==="object";if(o){var r=l?jF??=/*@__PURE__*/new WeakMap:NF??=/*@__PURE__*/new WeakMap,e=r.get(a);if(e)return e}c=a!=null?IF($F(a)):{};let h=l||!a||!a.__esModule?Lh(c,"default",{value:a,enumerable:!0}):c;for(let Z of YF(a))if(!XF.call(h,Z))Lh(h,Z,{get:KF.bind(a,Z),enumerable:!0});if(o)r.set(a,h);return h};var _7=(a,l)=>()=>(l||a((l={exports:{}}).exports,l),l.exports);var ax=(a)=>a;function lx(a,l){this[a]=ax.bind(null,l)}var Ch=(a,l)=>{for(var c in l)Lh(a,c,{get:l[c],enumerable:!0,configurable:!0,set:lx.bind(l,c)})};var dm=_7((yR)=>{(function(){function a(){if(s=!1,P){var x=yR.unstable_now();t1=x;var B=!0;try{a:{u=!1,V&&(V=!1,L(W),W=-1),m=!0;var k=A;try{l:{e(x);for(p=c(d);p!==null&&!(p.expirationTime>x&&Z());){var $=p.callback;if(typeof $==="function"){p.callback=null,A=p.priorityLevel;var E=$(p.expirationTime<=x);if(x=yR.unstable_now(),typeof E==="function"){p.callback=E,e(x),B=!0;break l}p===c(d)&&o(d),e(x)}else o(d);p=c(d)}if(p!==null)B=!0;else{var d1=c(M);d1!==null&&t(h,d1.startTime-x),B=!1}}break a}finally{p=null,A=k,m=!1}B=void 0}}finally{B?N():P=!1}}}function l(x,B){var k=x.length;x.push(B);a:for(;0<k;){var $=k-1>>>1,E=x[$];if(0<r(E,B))x[$]=B,x[k]=E,k=$;else break a}}function c(x){return x.length===0?null:x[0]}function o(x){if(x.length===0)return null;var B=x[0],k=x.pop();if(k!==B){x[0]=k;a:for(var $=0,E=x.length,d1=E>>>1;$<d1;){var s1=2*($+1)-1,T=x[s1],O=s1+1,F1=x[O];if(0>r(T,k))O<E&&0>r(F1,T)?(x[$]=F1,x[O]=k,$=O):(x[$]=T,x[s1]=k,$=s1);else if(O<E&&0>r(F1,k))x[$]=F1,x[O]=k,$=O;else break a}}return B}function r(x,B){var k=x.sortIndex-B.sortIndex;return k!==0?k:x.id-B.id}function e(x){for(var B=c(M);B!==null;){if(B.callback===null)o(M);else if(B.startTime<=x)o(M),B.sortIndex=B.expirationTime,l(d,B);else break;B=c(M)}}function h(x){if(V=!1,e(x),!u)if(c(d)!==null)u=!0,P||(P=!0,N());else{var B=c(M);B!==null&&t(h,B.startTime-x)}}function Z(){return s?!0:yR.unstable_now()-t1<r1?!1:!0}function t(x,B){W=F(function(){x(yR.unstable_now())},B)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),yR.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var i=performance;yR.unstable_now=function(){return i.now()}}else{var n=Date,v=n.now();yR.unstable_now=function(){return n.now()-v}}var d=[],M=[],_=1,p=null,A=3,m=!1,u=!1,V=!1,s=!1,F=typeof setTimeout==="function"?setTimeout:null,L=typeof clearTimeout==="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null,P=!1,W=-1,r1=5,t1=-1;if(typeof C==="function")var N=function(){C(a)};else if(typeof MessageChannel<"u"){var R=new MessageChannel,w=R.port2;R.port1.onmessage=a,N=function(){w.postMessage(null)}}else N=function(){F(a,0)};yR.unstable_IdlePriority=5,yR.unstable_ImmediatePriority=1,yR.unstable_LowPriority=4,yR.unstable_NormalPriority=3,yR.unstable_Profiling=null,yR.unstable_UserBlockingPriority=2,yR.unstable_cancelCallback=function(x){x.callback=null},yR.unstable_forceFrameRate=function(x){0>x||125<x?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):r1=0<x?Math.floor(1000/x):5},yR.unstable_getCurrentPriorityLevel=function(){return A},yR.unstable_next=function(x){switch(A){case 1:case 2:case 3:var B=3;break;default:B=A}var k=A;A=B;try{return x()}finally{A=k}},yR.unstable_requestPaint=function(){s=!0},yR.unstable_runWithPriority=function(x,B){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var k=A;A=x;try{return B()}finally{A=k}},yR.unstable_scheduleCallback=function(x,B,k){var $=yR.unstable_now();switch(typeof k==="object"&&k!==null?(k=k.delay,k=typeof k==="number"&&0<k?$+k:$):k=$,x){case 1:var E=-1;break;case 2:E=250;break;case 5:E=1073741823;break;case 4:E=1e4;break;default:E=5000}return E=k+E,x={id:_++,callback:B,priorityLevel:x,startTime:k,expirationTime:E,sortIndex:-1},k>$?(x.sortIndex=k,l(M,x),c(d)===null&&x===c(M)&&(V?(L(W),W=-1):V=!0,t(h,k-$))):(x.sortIndex=E,l(d,x),u||m||(u=!0,P||(P=!0,N()))),x},yR.unstable_shouldYield=Z,yR.unstable_wrapCallback=function(x){var B=A;return function(){var k=A;A=B;try{return x.apply(this,arguments)}finally{A=k}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var rn=_7((uO)=>{(function(){var a=typeof Symbol==="function"&&Symbol.for,l=a?Symbol.for("react.element"):60103,c=a?Symbol.for("react.portal"):60106,o=a?Symbol.for("react.fragment"):60107,r=a?Symbol.for("react.strict_mode"):60108,e=a?Symbol.for("react.profiler"):60114,h=a?Symbol.for("react.provider"):60109,Z=a?Symbol.for("react.context"):60110,t=a?Symbol.for("react.async_mode"):60111,i=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,d=a?Symbol.for("react.suspense_list"):60120,M=a?Symbol.for("react.memo"):60115,_=a?Symbol.for("react.lazy"):60116,p=a?Symbol.for("react.block"):60121,A=a?Symbol.for("react.fundamental"):60117,m=a?Symbol.for("react.responder"):60118,u=a?Symbol.for("react.scope"):60119;function V(n1){return typeof n1==="string"||typeof n1==="function"||n1===o||n1===i||n1===e||n1===r||n1===v||n1===d||typeof n1==="object"&&n1!==null&&(n1.$$typeof===_||n1.$$typeof===M||n1.$$typeof===h||n1.$$typeof===Z||n1.$$typeof===n||n1.$$typeof===A||n1.$$typeof===m||n1.$$typeof===u||n1.$$typeof===p)}function s(n1){if(typeof n1==="object"&&n1!==null){var L5=n1.$$typeof;switch(L5){case l:var T3=n1.type;switch(T3){case t:case i:case o:case e:case r:case v:return T3;default:var R8=T3&&T3.$$typeof;switch(R8){case Z:case n:case _:case M:case h:return R8;default:return L5}}case c:return L5}}return}var F=t,L=i,C=Z,P=h,W=l,r1=n,t1=o,N=_,R=M,w=c,x=e,B=r,k=v,$=!1;function E(n1){if(!$)$=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");return d1(n1)||s(n1)===t}function d1(n1){return s(n1)===i}function s1(n1){return s(n1)===Z}function T(n1){return s(n1)===h}function O(n1){return typeof n1==="object"&&n1!==null&&n1.$$typeof===l}function F1(n1){return s(n1)===n}function R1(n1){return s(n1)===o}function r5(n1){return s(n1)===_}function g5(n1){return s(n1)===M}function O3(n1){return s(n1)===c}function P3(n1){return s(n1)===e}function P4(n1){return s(n1)===r}function M7(n1){return s(n1)===v}uO.AsyncMode=F,uO.ConcurrentMode=L,uO.ContextConsumer=C,uO.ContextProvider=P,uO.Element=W,uO.ForwardRef=r1,uO.Fragment=t1,uO.Lazy=N,uO.Memo=R,uO.Portal=w,uO.Profiler=x,uO.StrictMode=B,uO.Suspense=k,uO.isAsyncMode=E,uO.isConcurrentMode=d1,uO.isContextConsumer=s1,uO.isContextProvider=T,uO.isElement=O,uO.isForwardRef=F1,uO.isFragment=R1,uO.isLazy=r5,uO.isMemo=g5,uO.isPortal=O3,uO.isProfiler=P3,uO.isStrictMode=P4,uO.isSuspense=M7,uO.isValidElementType=V,uO.typeOf=s})()});var Ff=_7((cj1,ff)=>{var Vf=Object.getOwnPropertySymbols,sO=Object.prototype.hasOwnProperty,VO=Object.prototype.propertyIsEnumerable;function fO(a){if(a===null||a===void 0)throw TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function FO(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;var l={};for(var c=0;c<10;c++)l["_"+String.fromCharCode(c)]=c;var o=Object.getOwnPropertyNames(l).map(function(e){return l[e]});if(o.join("")!=="0123456789")return!1;var r={};if("abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),Object.keys(Object.assign({},r)).join("")!=="abcdefghijklmnopqrst")return!1;return!0}catch(e){return!1}}ff.exports=FO()?Object.assign:function(a,l){var c,o=fO(a),r;for(var e=1;e<arguments.length;e++){c=Object(arguments[e]);for(var h in c)if(sO.call(c,h))o[h]=c[h];if(Vf){r=Vf(c);for(var Z=0;Z<r.length;Z++)if(VO.call(c,r[Z]))o[r[Z]]=c[r[Z]]}}return o}});var en=_7((oj1,xf)=>{var xO="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";xf.exports=xO});var hn=_7((rj1,gf)=>{gf.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var Rf=_7((ej1,Cf)=>{var Zn=function(){};tn=en(),Oc={},vn=hn(),Zn=function(a){var l="Warning: "+a;if(typeof console<"u")console.error(l);try{throw Error(l)}catch(c){}};var tn,Oc,vn;function Lf(a,l,c,o,r){for(var e in a)if(vn(a,e)){var h;try{if(typeof a[e]!=="function"){var Z=Error((o||"React class")+": "+c+" type `"+e+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[e]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Z.name="Invariant Violation",Z}h=a[e](l,e,o,c,null,tn)}catch(i){h=i}if(h&&!(h instanceof Error))Zn((o||"React class")+": type specification of "+c+" `"+e+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(h instanceof Error&&!(h.message in Oc)){Oc[h.message]=!0;var t=r?r():"";Zn("Failed "+c+" type: "+h.message+(t!=null?t:""))}}}Lf.resetWarningCache=function(){Oc={}};Cf.exports=Lf});var Uf=_7((hj1,Gf)=>{var Sf=w8(rn()),gO=Ff(),x8=en(),nn=hn(),wf=Rf(),g8=function(){};g8=function(a){var l="Warning: "+a;if(typeof console<"u")console.error(l);try{throw Error(l)}catch(c){}};function hh(){return null}Gf.exports=function(a,l){var c=typeof Symbol==="function"&&Symbol.iterator,o="@@iterator";function r(R){var w=R&&(c&&R[c]||R[o]);if(typeof w==="function")return w}var e="<<anonymous>>",h={array:n("array"),bigint:n("bigint"),bool:n("boolean"),func:n("function"),number:n("number"),object:n("object"),string:n("string"),symbol:n("symbol"),any:v(),arrayOf:d,element:M(),elementType:_(),instanceOf:p,node:V(),objectOf:m,oneOf:A,oneOfType:u,shape:F,exact:L};function Z(R,w){if(R===w)return R!==0||1/R===1/w;else return R!==R&&w!==w}function t(R,w){this.message=R,this.data=w&&typeof w==="object"?w:{},this.stack=""}t.prototype=Error.prototype;function i(R){var w={},x=0;function B($,E,d1,s1,T,O,F1){if(s1=s1||e,O=O||d1,F1!==x8){if(l){var R1=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 R1.name="Invariant Violation",R1}else if(typeof console<"u"){var r5=s1+":"+d1;if(!w[r5]&&x<3)g8("You are manually calling a React.PropTypes validation function for the `"+O+"` prop on `"+s1+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),w[r5]=!0,x++}}if(E[d1]==null){if($){if(E[d1]===null)return new t("The "+T+" `"+O+"` is marked as required "+("in `"+s1+"`, but its value is `null`."));return new t("The "+T+" `"+O+"` is marked as required in "+("`"+s1+"`, but its value is `undefined`."))}return null}else return R(E,d1,s1,T,O)}var k=B.bind(null,!1);return k.isRequired=B.bind(null,!0),k}function n(R){function w(x,B,k,$,E,d1){var s1=x[B],T=W(s1);if(T!==R){var O=r1(s1);return new t("Invalid "+$+" `"+E+"` of type "+("`"+O+"` supplied to `"+k+"`, expected ")+("`"+R+"`."),{expectedType:R})}return null}return i(w)}function v(){return i(hh)}function d(R){function w(x,B,k,$,E){if(typeof R!=="function")return new t("Property `"+E+"` of component `"+k+"` has invalid PropType notation inside arrayOf.");var d1=x[B];if(!Array.isArray(d1)){var s1=W(d1);return new t("Invalid "+$+" `"+E+"` of type "+("`"+s1+"` supplied to `"+k+"`, expected an array."))}for(var T=0;T<d1.length;T++){var O=R(d1,T,k,$,E+"["+T+"]",x8);if(O instanceof Error)return O}return null}return i(w)}function M(){function R(w,x,B,k,$){var E=w[x];if(!a(E)){var d1=W(E);return new t("Invalid "+k+" `"+$+"` of type "+("`"+d1+"` supplied to `"+B+"`, expected a single ReactElement."))}return null}return i(R)}function _(){function R(w,x,B,k,$){var E=w[x];if(!Sf.isValidElementType(E)){var d1=W(E);return new t("Invalid "+k+" `"+$+"` of type "+("`"+d1+"` supplied to `"+B+"`, expected a single ReactElement type."))}return null}return i(R)}function p(R){function w(x,B,k,$,E){if(!(x[B]instanceof R)){var d1=R.name||e,s1=N(x[B]);return new t("Invalid "+$+" `"+E+"` of type "+("`"+s1+"` supplied to `"+k+"`, expected ")+("instance of `"+d1+"`."))}return null}return i(w)}function A(R){if(!Array.isArray(R)){if(arguments.length>1)g8("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).");else g8("Invalid argument supplied to oneOf, expected an array.");return hh}function w(x,B,k,$,E){var d1=x[B];for(var s1=0;s1<R.length;s1++)if(Z(d1,R[s1]))return null;var T=JSON.stringify(R,function(F1,R1){var r5=r1(R1);if(r5==="symbol")return String(R1);return R1});return new t("Invalid "+$+" `"+E+"` of value `"+String(d1)+"` "+("supplied to `"+k+"`, expected one of "+T+"."))}return i(w)}function m(R){function w(x,B,k,$,E){if(typeof R!=="function")return new t("Property `"+E+"` of component `"+k+"` has invalid PropType notation inside objectOf.");var d1=x[B],s1=W(d1);if(s1!=="object")return new t("Invalid "+$+" `"+E+"` of type "+("`"+s1+"` supplied to `"+k+"`, expected an object."));for(var T in d1)if(nn(d1,T)){var O=R(d1,T,k,$,E+"."+T,x8);if(O instanceof Error)return O}return null}return i(w)}function u(R){if(!Array.isArray(R))return g8("Invalid argument supplied to oneOfType, expected an instance of array."),hh;for(var w=0;w<R.length;w++){var x=R[w];if(typeof x!=="function")return g8("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+t1(x)+" at index "+w+"."),hh}function B(k,$,E,d1,s1){var T=[];for(var O=0;O<R.length;O++){var F1=R[O],R1=F1(k,$,E,d1,s1,x8);if(R1==null)return null;if(R1.data&&nn(R1.data,"expectedType"))T.push(R1.data.expectedType)}var r5=T.length>0?", expected one of type ["+T.join(", ")+"]":"";return new t("Invalid "+d1+" `"+s1+"` supplied to "+("`"+E+"`"+r5+"."))}return i(B)}function V(){function R(w,x,B,k,$){if(!C(w[x]))return new t("Invalid "+k+" `"+$+"` supplied to "+("`"+B+"`, expected a ReactNode."));return null}return i(R)}function s(R,w,x,B,k){return new t((R||"React class")+": "+w+" type `"+x+"."+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+k+"`.")}function F(R){function w(x,B,k,$,E){var d1=x[B],s1=W(d1);if(s1!=="object")return new t("Invalid "+$+" `"+E+"` of type `"+s1+"` "+("supplied to `"+k+"`, expected `object`."));for(var T in R){var O=R[T];if(typeof O!=="function")return s(k,$,E,T,r1(O));var F1=O(d1,T,k,$,E+"."+T,x8);if(F1)return F1}return null}return i(w)}function L(R){function w(x,B,k,$,E){var d1=x[B],s1=W(d1);if(s1!=="object")return new t("Invalid "+$+" `"+E+"` of type `"+s1+"` "+("supplied to `"+k+"`, expected `object`."));var T=gO({},x[B],R);for(var O in T){var F1=R[O];if(nn(R,O)&&typeof F1!=="function")return s(k,$,E,O,r1(F1));if(!F1)return new t("Invalid "+$+" `"+E+"` key `"+O+"` supplied to `"+k+"`.\nBad object: "+JSON.stringify(x[B],null," ")+`
|
|
2
|
-
Valid keys: `+JSON.stringify(Object.keys(R),null," "));var R1=F1(d1,O,k,$,E+"."+O,x8);if(R1)return R1}return null}return i(w)}function C(R){switch(typeof R){case"number":case"string":case"undefined":return!0;case"boolean":return!R;case"object":if(Array.isArray(R))return R.every(C);if(R===null||a(R))return!0;var w=r(R);if(w){var x=w.call(R),B;if(w!==R.entries){while(!(B=x.next()).done)if(!C(B.value))return!1}else while(!(B=x.next()).done){var k=B.value;if(k){if(!C(k[1]))return!1}}}else return!1;return!0;default:return!1}}function P(R,w){if(R==="symbol")return!0;if(!w)return!1;if(w["@@toStringTag"]==="Symbol")return!0;if(typeof Symbol==="function"&&w instanceof Symbol)return!0;return!1}function W(R){var w=typeof R;if(Array.isArray(R))return"array";if(R instanceof RegExp)return"object";if(P(w,R))return"symbol";return w}function r1(R){if(typeof R>"u"||R===null)return""+R;var w=W(R);if(w==="object"){if(R instanceof Date)return"date";else if(R instanceof RegExp)return"regexp"}return w}function t1(R){var w=r1(R);switch(w){case"array":case"object":return"an "+w;case"boolean":case"date":case"regexp":return"a "+w;default:return w}}function N(R){if(!R.constructor||!R.constructor.name)return e;return R.constructor.name}return h.checkPropTypes=wf,h.resetWarningCache=wf.resetWarningCache,h.PropTypes=h,h}});var Bf=_7((Zj1,Df)=>{var Mn=w8(rn());dn=!0,Df.exports=Uf()(Mn.isElement,dn);var dn});var Ef=_7((OO)=>{OO.__esModule=!0;OO.default=function(a,l){if(a&&l){var c=Array.isArray(l)?l:l.split(",");if(c.length===0)return!0;var o=a.name||"",r=(a.type||"").toLowerCase(),e=r.replace(/\/.*$/,"");return c.some(function(h){var Z=h.trim().toLowerCase();if(Z.charAt(0)===".")return o.toLowerCase().endsWith(Z);else if(Z.endsWith("/*"))return e===Z.replace(/\/.*$/,"");return r===Z})}return!0}});var G8,p1,yn,Uh,$7,Dn,On,Pn,Tn,Dh,Rh,wh,En,Qc={},Jc=[],cx=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,U8=Array.isArray;function k2(a,l){for(var c in l)a[c]=l[c];return a}function Bh(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function c1(a,l,c){var o,r,e,h={};for(e in l)e=="key"?o=l[e]:e=="ref"?r=l[e]:h[e]=l[e];if(arguments.length>2&&(h.children=arguments.length>3?G8.call(arguments,2):c),typeof a=="function"&&a.defaultProps!=null)for(e in a.defaultProps)h[e]===void 0&&(h[e]=a.defaultProps[e]);return S8(a,h,o,r,null)}function S8(a,l,c,o,r){var e={type:a,props:l,key:c,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:r==null?++yn:r,__i:-1,__u:0};return r==null&&p1.vnode!=null&&p1.vnode(e),e}function h5(){return{current:null}}function i1(a){return a.children}function e5(a,l){this.props=a,this.context=l}function E4(a,l){if(l==null)return a.__?E4(a.__,a.__i+1):null;for(var c;l<a.__k.length;l++)if((c=a.__k[l])!=null&&c.__e!=null)return c.__e;return typeof a.type=="function"?E4(a):null}function ox(a){if(a.__P&&a.__d){var l=a.__v,c=l.__e,o=[],r=[],e=k2({},l);e.__v=l.__v+1,p1.vnode&&p1.vnode(e),kh(a.__P,e,l,a.__n,a.__P.namespaceURI,32&l.__u?[c]:null,o,c==null?E4(l):c,!!(32&l.__u),r),e.__v=l.__v,e.__.__k[e.__i]=e,zn(o,e,r),l.__e=l.__=null,e.__e!=c&&qn(e)}}function qn(a){if((a=a.__)!=null&&a.__c!=null)return a.__e=a.__c.base=null,a.__k.some(function(l){if(l!=null&&l.__e!=null)return a.__e=a.__c.base=l.__e}),qn(a)}function Sh(a){(!a.__d&&(a.__d=!0)&&$7.push(a)&&!Ic.__r++||Dn!=p1.debounceRendering)&&((Dn=p1.debounceRendering)||On)(Ic)}function Ic(){try{for(var a,l=1;$7.length;)$7.length>l&&$7.sort(Pn),a=$7.shift(),l=$7.length,ox(a)}finally{$7.length=Ic.__r=0}}function Wn(a,l,c,o,r,e,h,Z,t,i,n){var v,d,M,_,p,A,m,u=o&&o.__k||Jc,V=l.length;for(t=rx(c,l,u,t,V),v=0;v<V;v++)(M=c.__k[v])!=null&&(d=M.__i!=-1&&u[M.__i]||Qc,M.__i=v,A=kh(a,M,d,r,e,h,Z,t,i,n),_=M.__e,M.ref&&d.ref!=M.ref&&(d.ref&&yh(d.ref,null,M),n.push(M.ref,M.__c||_,M)),p==null&&_!=null&&(p=_),(m=!!(4&M.__u))||d.__k===M.__k?t=bn(M,t,a,m):typeof M.type=="function"&&A!==void 0?t=A:_&&(t=_.nextSibling),M.__u&=-7);return c.__e=p,t}function rx(a,l,c,o,r){var e,h,Z,t,i,n=c.length,v=n,d=0;for(a.__k=Array(r),e=0;e<r;e++)(h=l[e])!=null&&typeof h!="boolean"&&typeof h!="function"?(typeof h=="string"||typeof h=="number"||typeof h=="bigint"||h.constructor==String?h=a.__k[e]=S8(null,h,null,null,null):U8(h)?h=a.__k[e]=S8(i1,{children:h},null,null,null):h.constructor===void 0&&h.__b>0?h=a.__k[e]=S8(h.type,h.props,h.key,h.ref?h.ref:null,h.__v):a.__k[e]=h,t=e+d,h.__=a,h.__b=a.__b+1,Z=null,(i=h.__i=ex(h,c,t,v))!=-1&&(v--,(Z=c[i])&&(Z.__u|=2)),Z==null||Z.__v==null?(i==-1&&(r>n?d--:r<n&&d++),typeof h.type!="function"&&(h.__u|=4)):i!=t&&(i==t-1?d--:i==t+1?d++:(i>t?d--:d++,h.__u|=4))):a.__k[e]=null;if(v)for(e=0;e<n;e++)(Z=c[e])!=null&&(2&Z.__u)==0&&(Z.__e==o&&(o=E4(Z)),Jn(Z,Z));return o}function bn(a,l,c,o){var r,e;if(typeof a.type=="function"){for(r=a.__k,e=0;r&&e<r.length;e++)r[e]&&(r[e].__=a,l=bn(r[e],l,c,o));return l}a.__e!=l&&(o&&(l&&a.type&&!l.parentNode&&(l=E4(a)),c.insertBefore(a.__e,l||null)),l=a.__e);do l=l&&l.nextSibling;while(l!=null&&l.nodeType==8);return l}function y2(a,l){return l=l||[],a==null||typeof a=="boolean"||(U8(a)?a.some(function(c){y2(c,l)}):l.push(a)),l}function ex(a,l,c,o){var r,e,h,Z=a.key,t=a.type,i=l[c],n=i!=null&&(2&i.__u)==0;if(i===null&&Z==null||n&&Z==i.key&&t==i.type)return c;if(o>(n?1:0)){for(r=c-1,e=c+1;r>=0||e<l.length;)if((i=l[h=r>=0?r--:e++])!=null&&(2&i.__u)==0&&Z==i.key&&t==i.type)return h}return-1}function Bn(a,l,c){l[0]=="-"?a.setProperty(l,c==null?"":c):a[l]=c==null?"":typeof c!="number"||cx.test(l)?c:c+"px"}function zc(a,l,c,o,r){var e,h;a:if(l=="style")if(typeof c=="string")a.style.cssText=c;else{if(typeof o=="string"&&(a.style.cssText=o=""),o)for(l in o)c&&l in c||Bn(a.style,l,"");if(c)for(l in c)o&&c[l]==o[l]||Bn(a.style,l,c[l])}else if(l[0]=="o"&&l[1]=="n")e=l!=(l=l.replace(Tn,"$1")),h=l.toLowerCase(),l=h in a||l=="onFocusOut"||l=="onFocusIn"?h.slice(2):l.slice(2),a.l||(a.l={}),a.l[l+e]=c,c?o?c.u=o.u:(c.u=Dh,a.addEventListener(l,e?wh:Rh,e)):a.removeEventListener(l,e?wh:Rh,e);else{if(r=="http://www.w3.org/2000/svg")l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(l!="width"&&l!="height"&&l!="href"&&l!="list"&&l!="form"&&l!="tabIndex"&&l!="download"&&l!="rowSpan"&&l!="colSpan"&&l!="role"&&l!="popover"&&l in a)try{a[l]=c==null?"":c;break a}catch(Z){}typeof c=="function"||(c==null||c===!1&&l[4]!="-"?a.removeAttribute(l):a.setAttribute(l,l=="popover"&&c==1?"":c))}}function kn(a){return function(l){if(this.l){var c=this.l[l.type+a];if(l.t==null)l.t=Dh++;else if(l.t<c.u)return;return c(p1.event?p1.event(l):l)}}}function kh(a,l,c,o,r,e,h,Z,t,i){var n,v,d,M,_,p,A,m,u,V,s,F,L,C,P,W=l.type;if(l.constructor!==void 0)return null;128&c.__u&&(t=!!(32&c.__u),e=[Z=l.__e=c.__e]),(n=p1.__b)&&n(l);a:if(typeof W=="function")try{if(m=l.props,u=W.prototype&&W.prototype.render,V=(n=W.contextType)&&o[n.__c],s=n?V?V.props.value:n.__:o,c.__c?A=(v=l.__c=c.__c).__=v.__E:(u?l.__c=v=new W(m,s):(l.__c=v=new e5(m,s),v.constructor=W,v.render=Zx),V&&V.sub(v),v.state||(v.state={}),v.__n=o,d=v.__d=!0,v.__h=[],v._sb=[]),u&&v.__s==null&&(v.__s=v.state),u&&W.getDerivedStateFromProps!=null&&(v.__s==v.state&&(v.__s=k2({},v.__s)),k2(v.__s,W.getDerivedStateFromProps(m,v.__s))),M=v.props,_=v.state,v.__v=l,d)u&&W.getDerivedStateFromProps==null&&v.componentWillMount!=null&&v.componentWillMount(),u&&v.componentDidMount!=null&&v.__h.push(v.componentDidMount);else{if(u&&W.getDerivedStateFromProps==null&&m!==M&&v.componentWillReceiveProps!=null&&v.componentWillReceiveProps(m,s),l.__v==c.__v||!v.__e&&v.shouldComponentUpdate!=null&&v.shouldComponentUpdate(m,v.__s,s)===!1){l.__v!=c.__v&&(v.props=m,v.state=v.__s,v.__d=!1),l.__e=c.__e,l.__k=c.__k,l.__k.some(function(r1){r1&&(r1.__=l)}),Jc.push.apply(v.__h,v._sb),v._sb=[],v.__h.length&&h.push(v);break a}v.componentWillUpdate!=null&&v.componentWillUpdate(m,v.__s,s),u&&v.componentDidUpdate!=null&&v.__h.push(function(){v.componentDidUpdate(M,_,p)})}if(v.context=s,v.props=m,v.__P=a,v.__e=!1,F=p1.__r,L=0,u)v.state=v.__s,v.__d=!1,F&&F(l),n=v.render(v.props,v.state,v.context),Jc.push.apply(v.__h,v._sb),v._sb=[];else do v.__d=!1,F&&F(l),n=v.render(v.props,v.state,v.context),v.state=v.__s;while(v.__d&&++L<25);v.state=v.__s,v.getChildContext!=null&&(o=k2(k2({},o),v.getChildContext())),u&&!d&&v.getSnapshotBeforeUpdate!=null&&(p=v.getSnapshotBeforeUpdate(M,_)),C=n!=null&&n.type===i1&&n.key==null?Qn(n.props.children):n,Z=Wn(a,U8(C)?C:[C],l,c,o,r,e,h,Z,t,i),v.base=l.__e,l.__u&=-161,v.__h.length&&h.push(v),A&&(v.__E=v.__=null)}catch(r1){if(l.__v=null,t||e!=null)if(r1.then){for(l.__u|=t?160:128;Z&&Z.nodeType==8&&Z.nextSibling;)Z=Z.nextSibling;e[e.indexOf(Z)]=null,l.__e=Z}else{for(P=e.length;P--;)Bh(e[P]);Gh(l)}else l.__e=c.__e,l.__k=c.__k,r1.then||Gh(l);p1.__e(r1,l,c)}else e==null&&l.__v==c.__v?(l.__k=c.__k,l.__e=c.__e):Z=l.__e=hx(c.__e,l,c,o,r,e,h,t,i);return(n=p1.diffed)&&n(l),128&l.__u?void 0:Z}function Gh(a){a&&(a.__c&&(a.__c.__e=!0),a.__k&&a.__k.some(Gh))}function zn(a,l,c){for(var o=0;o<c.length;o++)yh(c[o],c[++o],c[++o]);p1.__c&&p1.__c(l,a),a.some(function(r){try{a=r.__h,r.__h=[],a.some(function(e){e.call(r)})}catch(e){p1.__e(e,r.__v)}})}function Qn(a){return typeof a!="object"||a==null||a.__b>0?a:U8(a)?a.map(Qn):k2({},a)}function hx(a,l,c,o,r,e,h,Z,t){var i,n,v,d,M,_,p,A=c.props||Qc,m=l.props,u=l.type;if(u=="svg"?r="http://www.w3.org/2000/svg":u=="math"?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),e!=null){for(i=0;i<e.length;i++)if((M=e[i])&&"setAttribute"in M==!!u&&(u?M.localName==u:M.nodeType==3)){a=M,e[i]=null;break}}if(a==null){if(u==null)return document.createTextNode(m);a=document.createElementNS(r,u,m.is&&m),Z&&(p1.__m&&p1.__m(l,e),Z=!1),e=null}if(u==null)A===m||Z&&a.data==m||(a.data=m);else{if(e=e&&G8.call(a.childNodes),!Z&&e!=null)for(A={},i=0;i<a.attributes.length;i++)A[(M=a.attributes[i]).name]=M.value;for(i in A)M=A[i],i=="dangerouslySetInnerHTML"?v=M:i=="children"||(i in m)||i=="value"&&("defaultValue"in m)||i=="checked"&&("defaultChecked"in m)||zc(a,i,null,M,r);for(i in m)M=m[i],i=="children"?d=M:i=="dangerouslySetInnerHTML"?n=M:i=="value"?_=M:i=="checked"?p=M:Z&&typeof M!="function"||A[i]===M||zc(a,i,M,A[i],r);if(n)Z||v&&(n.__html==v.__html||n.__html==a.innerHTML)||(a.innerHTML=n.__html),l.__k=[];else if(v&&(a.innerHTML=""),Wn(l.type=="template"?a.content:a,U8(d)?d:[d],l,c,o,u=="foreignObject"?"http://www.w3.org/1999/xhtml":r,e,h,e?e[0]:c.__k&&E4(c,0),Z,t),e!=null)for(i=e.length;i--;)Bh(e[i]);Z||(i="value",u=="progress"&&_==null?a.removeAttribute("value"):_!=null&&(_!==a[i]||u=="progress"&&!_||u=="option"&&_!=A[i])&&zc(a,i,_,A[i],r),i="checked",p!=null&&p!=a[i]&&zc(a,i,p,A[i],r))}return a}function yh(a,l,c){try{if(typeof a=="function"){var o=typeof a.__u=="function";o&&a.__u(),o&&l==null||(a.__u=a(l))}else a.current=l}catch(r){p1.__e(r,c)}}function Jn(a,l,c){var o,r;if(p1.unmount&&p1.unmount(a),(o=a.ref)&&(o.current&&o.current!=a.__e||yh(o,null,l)),(o=a.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){p1.__e(e,l)}o.base=o.__P=null}if(o=a.__k)for(r=0;r<o.length;r++)o[r]&&Jn(o[r],l,c||typeof a.type!="function");c||Bh(a.__e),a.__c=a.__=a.__e=void 0}function Zx(a,l,c){return this.constructor(a,c)}function A7(a,l,c){var o,r,e,h;l==document&&(l=document.documentElement),p1.__&&p1.__(a,l),r=(o=typeof c=="function")?null:c&&c.__k||l.__k,e=[],h=[],kh(l,a=(!o&&c||l).__k=c1(i1,null,[a]),r||Qc,Qc,l.namespaceURI,!o&&c?[c]:r?null:l.firstChild?G8.call(l.childNodes):null,e,!o&&c?c:r?r.__e:l.firstChild,o,h),zn(e,a,h)}function Oh(a,l){A7(a,l,Oh)}function In(a,l,c){var o,r,e,h,Z=k2({},a.props);for(e in a.type&&a.type.defaultProps&&(h=a.type.defaultProps),l)e=="key"?o=l[e]:e=="ref"?r=l[e]:Z[e]=l[e]===void 0&&h!=null?h[e]:l[e];return arguments.length>2&&(Z.children=arguments.length>3?G8.call(arguments,2):c),S8(a.type,Z,o||a.key,r||a.ref,null)}function e1(a){function l(c){var o,r;return this.getChildContext||(o=/*@__PURE__*/new Set,(r={})[l.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&o.forEach(function(h){h.__e=!0,Sh(h)})},this.sub=function(e){o.add(e);var h=e.componentWillUnmount;e.componentWillUnmount=function(){o&&o.delete(e),h&&h.call(e)}}),c.children}return l.__c="__cC"+En++,l.__=a,l.Provider=l.__l=(l.Consumer=function(c,o){return c.children(o)}).contextType=l,l}G8=Jc.slice,p1={__e:function(a,l,c,o){for(var r,e,h;l=l.__;)if((r=l.__c)&&!r.__)try{if((e=r.constructor)&&e.getDerivedStateFromError!=null&&(r.setState(e.getDerivedStateFromError(a)),h=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(a,o||{}),h=r.__d),h)return r.__E=r}catch(Z){a=Z}throw a}},yn=0,Uh=function(a){return a!=null&&a.constructor===void 0},e5.prototype.setState=function(a,l){var c;c=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=k2({},this.state),typeof a=="function"&&(a=a(k2({},c),this.props)),a&&k2(c,a),a!=null&&this.__v&&(l&&this._sb.push(l),Sh(this))},e5.prototype.forceUpdate=function(a){this.__v&&(this.__e=!0,a&&this.__h.push(a),Sh(this))},e5.prototype.render=i1,$7=[],On=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Pn=function(a,l){return a.__v.__b-l.__v.__b},Ic.__r=0,Tn=/(PointerCapture)$|Capture$/i,Dh=0,Rh=kn(!1),wh=kn(!0),En=0;var Ph=typeof window>"u"?global:window;function $n(a,l){if(!Ph[Symbol.for("@griffel/"+a)])Ph[Symbol.for("@griffel/"+a)]=l;return Ph[Symbol.for("@griffel/"+a)]}var Y7=/*@__PURE__*/$n("DEBUG_RESET_CLASSES",{}),X7=/*@__PURE__*/$n("DEFINITION_LOOKUP_TABLE",{}),E3="data-make-styles-bucket",Th="data-priority",B8="f",Yn="r",D8=7,y5="___",Eh="_",$c=y5.length+D8+Eh.length+D8,Xn=0,qh=1,Kn={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},q4="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function O2(a){var l=0,c,o=0,r=a.length;for(;r>=4;++o,r-=4)c=a.charCodeAt(o)&255|(a.charCodeAt(++o)&255)<<8|(a.charCodeAt(++o)&255)<<16|(a.charCodeAt(++o)&255)<<24,c=(c&65535)*1540483477+((c>>>16)*59797<<16),c^=c>>>24,l=(c&65535)*1540483477+((c>>>16)*59797<<16)^(l&65535)*1540483477+((l>>>16)*59797<<16);switch(r){case 3:l^=(a.charCodeAt(o+2)&255)<<16;case 2:l^=(a.charCodeAt(o+1)&255)<<8;case 1:l^=a.charCodeAt(o)&255,l=(l&65535)*1540483477+((l>>>16)*59797<<16)}return l^=l>>>13,l=(l&65535)*1540483477+((l>>>16)*59797<<16),((l^l>>>15)>>>0).toString(36)}function jn(a){let l=a.length;if(l===D8)return a;for(let c=l;c<D8;c++)a+="0";return a}function Yc(a,l,c=[]){return y5+jn(O2(a+l))+Eh+jn(O2(c.join("")))}function Wh(a,l){let c="",o="";for(let r in a){let e=a[r];if(e===0){o+=r+" ";continue}let h=Array.isArray(e),Z=l==="rtl"?(h?e[1]:e)+" ":(h?e[0]:e)+" ";c+=Z,o+=Z}return[c.slice(0,-1),o.slice(0,-1)]}function W4(a,l){let c={};for(let o in a){let[r,e]=Wh(a[o],l);if(e===""){c[o]="";continue}let h=Yc(e,l),Z=h+(r===""?"":" "+r);X7[h]=[a[o],l],c[o]=Z}return c}var k8={};function S(){let a=null,l="",c="",o=Array(arguments.length),r="";for(let d=0;d<arguments.length;d++){let M=arguments[d];if(typeof M==="string"&&M!==""){let _=M.indexOf(y5);if(_===-1)M.split(" ").forEach((p)=>{if(p.startsWith(Yn)&&Y7[p])if(r)console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${M} & ${l}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
|
|
3
|
-
Source string: ${M}`);else r=p}),l+=M+" ";else{let p=M.substr(_
|
|
4
|
-
`),l=xx(a);if(l===void 0)return;let c=nd(l);return c===null||c===void 0?void 0:c.loc}function xx(a){for(let l=a.length-1;l>=0;--l)if(a[l].includes("at getSourceURLfromError"))return a[l+3];return}var b4=()=>{let a={};return function(c,o){if(a[c.id]===void 0)c.insertCSSRules(o),a[c.id]=!0}};function Ih(a){return a.reduce(function(l,c){var o=c[0],r=c[1];return l[o]=r,l[r]=o,l},{})}function dd(a){return typeof a==="boolean"}function Md(a){return typeof a==="function"}function z4(a){return typeof a==="number"}function pd(a){return a===null||typeof a>"u"}function _d(a){return a&&typeof a==="object"}function Ad(a){return typeof a==="string"}function O8(a,l){return a.indexOf(l)!==-1}function md(a){if(parseFloat(a)===0)return a;if(a[0]==="-")return a.slice(1);return"-"+a}function Q4(a,l,c,o){return l+md(c)+o}function Hd(a){var l=a.indexOf(".");if(l===-1)a=100-parseFloat(a)+"%";else{var c=a.length-l-2;a=100-parseFloat(a),a=a.toFixed(c)+"%"}return a}function $h(a){return a.replace(/ +/g," ").split(" ").map(function(l){return l.trim()}).filter(Boolean).reduce(function(l,c){var{list:o,state:r}=l,e=(c.match(/\(/g)||[]).length,h=(c.match(/\)/g)||[]).length;if(r.parensDepth>0)o[o.length-1]=o[o.length-1]+" "+c;else o.push(c);return r.parensDepth+=e-h,{list:o,state:r}},{list:[],state:{parensDepth:0}}).list}function Qh(a){var l=$h(a);if(l.length<=3||l.length>4)return a;var c=l[0],o=l[1],r=l[2],e=l[3];return[c,e,r,o].join(" ")}function ud(a){return!dd(a)&&!pd(a)}function sd(a){var l=[],c=0,o=0,r=!1;while(o<a.length)if(!r&&a[o]===",")l.push(a.substring(c,o).trim()),o++,c=o;else if(a[o]==="(")r=!0,o++;else if(a[o]===")")r=!1,o++;else o++;if(c!=o)l.push(a.substring(c,o+1));return l}var b={padding:function(l){var c=l.value;if(z4(c))return c;return Qh(c)},textShadow:function(l){var c=l.value,o=sd(c).map(function(r){return r.replace(/(^|\s)(-*)([.|\d]+)/,function(e,h,Z,t){if(t==="0")return e;var i=Z===""?"-":"";return""+h+i+t})});return o.join(",")},borderColor:function(l){var c=l.value;return Qh(c)},borderRadius:function(l){var c=l.value;if(z4(c))return c;if(O8(c,"/")){var o=c.split("/"),r=o[0],e=o[1],h=b.borderRadius({value:r.trim()}),Z=b.borderRadius({value:e.trim()});return h+" / "+Z}var t=$h(c);switch(t.length){case 2:return t.reverse().join(" ");case 4:{var i=t[0],n=t[1],v=t[2],d=t[3];return[n,i,d,v].join(" ")}default:return c}},background:function(l){var{value:c,valuesToConvert:o,isRtl:r,bgImgDirectionRegex:e,bgPosDirectionRegex:h}=l;if(z4(c))return c;var Z=c.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return c=c.replace(Z,b.backgroundPosition({value:Z,valuesToConvert:o,isRtl:r,bgPosDirectionRegex:h})),b.backgroundImage({value:c,valuesToConvert:o,bgImgDirectionRegex:e})},backgroundImage:function(l){var{value:c,valuesToConvert:o,bgImgDirectionRegex:r}=l;if(!O8(c,"url(")&&!O8(c,"linear-gradient("))return c;return c.replace(r,function(e,h,Z){return e.replace(Z,o[Z])})},backgroundPosition:function(l){var{value:c,valuesToConvert:o,isRtl:r,bgPosDirectionRegex:e}=l;return c.replace(r?/^((-|\d|\.)+%)/:null,function(h,Z){return Hd(Z)}).replace(e,function(h){return o[h]})},backgroundPositionX:function(l){var{value:c,valuesToConvert:o,isRtl:r,bgPosDirectionRegex:e}=l;if(z4(c))return c;return b.backgroundPosition({value:c,valuesToConvert:o,isRtl:r,bgPosDirectionRegex:e})},transition:function(l){var{value:c,propertiesToConvert:o}=l;return c.split(/,\s*/g).map(function(r){var e=r.split(" ");return e[0]=o[e[0]]||e[0],e.join(" ")}).join(", ")},transitionProperty:function(l){var{value:c,propertiesToConvert:o}=l;return c.split(/,\s*/g).map(function(r){return o[r]||r}).join(", ")},transform:function(l){var c=l.value,o="[^\\u0020-\\u007e]",r="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",e="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+o+"|"+r+")")+("(?:[_a-z0-9-]|"+o+"|"+r+")")+"*")+")?")+")|(?:inherit|auto))",h=new RegExp("(translateX\\s*\\(\\s*)"+e+"(\\s*\\))","gi"),Z=new RegExp("(translate\\s*\\(\\s*)"+e+"((?:\\s*,\\s*"+e+"){0,1}\\s*\\))","gi"),t=new RegExp("(translate3d\\s*\\(\\s*)"+e+"((?:\\s*,\\s*"+e+"){0,2}\\s*\\))","gi"),i=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+e+"(\\s*\\))","gi");return c.replace(h,Q4).replace(Z,Q4).replace(t,Q4).replace(i,Q4)}};b.objectPosition=b.backgroundPosition;b.margin=b.padding;b.borderWidth=b.padding;b.boxShadow=b.textShadow;b.webkitBoxShadow=b.boxShadow;b.mozBoxShadow=b.boxShadow;b.WebkitBoxShadow=b.boxShadow;b.MozBoxShadow=b.boxShadow;b.borderStyle=b.borderColor;b.webkitTransform=b.transform;b.mozTransform=b.transform;b.WebkitTransform=b.transform;b.MozTransform=b.transform;b.transformOrigin=b.backgroundPosition;b.webkitTransformOrigin=b.transformOrigin;b.mozTransformOrigin=b.transformOrigin;b.WebkitTransformOrigin=b.transformOrigin;b.MozTransformOrigin=b.transformOrigin;b.webkitTransition=b.transition;b.mozTransition=b.transition;b.WebkitTransition=b.transition;b.MozTransition=b.transition;b.webkitTransitionProperty=b.transitionProperty;b.mozTransitionProperty=b.transitionProperty;b.WebkitTransitionProperty=b.transitionProperty;b.MozTransitionProperty=b.transitionProperty;b["text-shadow"]=b.textShadow;b["border-color"]=b.borderColor;b["border-radius"]=b.borderRadius;b["background-image"]=b.backgroundImage;b["background-position"]=b.backgroundPosition;b["background-position-x"]=b.backgroundPositionX;b["object-position"]=b.objectPosition;b["border-width"]=b.padding;b["box-shadow"]=b.textShadow;b["-webkit-box-shadow"]=b.textShadow;b["-moz-box-shadow"]=b.textShadow;b["border-style"]=b.borderColor;b["-webkit-transform"]=b.transform;b["-moz-transform"]=b.transform;b["transform-origin"]=b.transformOrigin;b["-webkit-transform-origin"]=b.transformOrigin;b["-moz-transform-origin"]=b.transformOrigin;b["-webkit-transition"]=b.transition;b["-moz-transition"]=b.transition;b["transition-property"]=b.transitionProperty;b["-webkit-transition-property"]=b.transitionProperty;b["-moz-transition-property"]=b.transitionProperty;var Yh=Ih([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),Vd=["content"],Jh=Ih([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),gx=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),Lx=new RegExp("(left)|(right)");function Kc(a){return Object.keys(a).reduce(function(l,c){var o=a[c];if(Ad(o))o=o.trim();if(O8(Vd,c))return l[c]=o,l;var r=P8(c,o),e=r.key,h=r.value;return l[e]=h,l},Array.isArray(a)?[]:{})}function P8(a,l){var c=/\/\*\s?@noflip\s?\*\//.test(l),o=c?a:fd(a),r=c?l:Fd(o,l);return{key:o,value:r}}function fd(a){return Yh[a]||a}function Fd(a,l){if(!ud(l))return l;if(_d(l))return Kc(l);var c=z4(l),o=Md(l),r=c||o?l:l.replace(/ !important.*?$/,""),e=!c&&r.length!==l.length,h=b[a],Z;if(h)Z=h({value:r,valuesToConvert:Jh,propertiesToConvert:Yh,isRtl:!0,bgImgDirectionRegex:gx,bgPosDirectionRegex:Lx});else Z=Jh[r]||r;if(e)return Z+" !important";return Z}var Cx=/[A-Z]/g,Rx=/^ms-/,Xh={};function wx(a){return"-"+a.toLowerCase()}function K7(a){if(Object.prototype.hasOwnProperty.call(Xh,a))return Xh[a];if(a.substr(0,2)==="--")return a;let l=a.replace(Cx,wx);return Xh[a]=Rx.test(l)?"-"+l:l}function jc(a){if(a.charAt(0)==="&")return a.slice(1);return a}var J4="-moz-",P5="-webkit-",Nc="comm",j7="rule",I4="decl";var xd="@media",gd="@import";var Ld="@supports";var Cd="@namespace",Rd="@keyframes";var ao="@layer";var Kh=Math.abs,$4=String.fromCharCode,jh=Object.assign;function wd(a,l){return A0(a,0)^45?(((l<<2^A0(a,0))<<2^A0(a,1))<<2^A0(a,2))<<2^A0(a,3):0}function lo(a){return a.trim()}function co(a,l){return(a=l.exec(a))?a[0]:a}function E0(a,l,c){return a.replace(l,c)}function oo(a,l,c){return a.indexOf(l,c)}function A0(a,l){return a.charCodeAt(l)|0}function H7(a,l,c){return a.slice(l,c)}function $0(a){return a.length}function ro(a){return a.length}function u7(a,l){return l.push(a),a}function Nh(a,l){return a.map(l).join("")}var eo=1,Y4=1,Sd=0,C5=0,c0=0,X4="";function T8(a,l,c,o,r,e,h,Z){return{value:a,root:l,parent:c,type:o,props:r,children:e,line:eo,column:Y4,length:h,return:"",siblings:Z}}function ho(a,l){return jh(T8("",null,null,"",null,null,0,a.siblings),a,{length:-a.length},l)}function Gd(){return c0}function Ud(){if(c0=C5>0?A0(X4,--C5):0,Y4--,c0===10)Y4=1,eo--;return c0}function R5(){if(c0=C5<Sd?A0(X4,C5++):0,Y4++,c0===10)Y4=1,eo++;return c0}function s7(){return A0(X4,C5)}function E8(){return C5}function Zo(a,l){return H7(X4,a,l)}function q3(a){switch(a){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function lZ(a){return eo=Y4=1,Sd=$0(X4=a),C5=0,[]}function cZ(a){return X4="",a}function q8(a){return lo(Zo(C5-1,aZ(a===91?a+2:a===40?a+1:a)))}function Dd(a){return cZ(Sx(lZ(a)))}function Bd(a){while(c0=s7())if(c0<33)R5();else break;return q3(a)>2||q3(c0)>3?"":" "}function Sx(a){while(R5())switch(q3(c0)){case 0:u7(oZ(C5-1),a);break;case 2:u7(q8(c0),a);break;default:u7($4(c0),a)}return a}function kd(a,l){while(--l&&R5())if(c0<48||c0>102||c0>57&&c0<65||c0>70&&c0<97)break;return Zo(a,E8()+(l<6&&s7()==32&&R5()==32))}function aZ(a){while(R5())switch(c0){case a:return C5;case 34:case 39:if(a!==34&&a!==39)aZ(c0);break;case 40:if(a===41)aZ(a);break;case 92:R5();break}return C5}function yd(a,l){while(R5())if(a+c0===57)break;else if(a+c0===84&&s7()===47)break;return"/*"+Zo(l,C5-1)+"*"+$4(a===47?a:R5())}function oZ(a){while(!q3(s7()))R5();return Zo(a,C5)}function io(a){return cZ(to("",null,null,null,[""],a=lZ(a),0,[0],a))}function to(a,l,c,o,r,e,h,Z,t){var i=0,n=0,v=h,d=0,M=0,_=0,p=1,A=1,m=1,u=0,V="",s=r,F=e,L=o,C=V;while(A)switch(_=u,u=R5()){case 40:if(_!=108&&A0(C,v-1)==58){if(oo(C+=E0(q8(u),"&","&\f"),"&\f",Kh(i?Z[i-1]:0))!=-1)m=-1;break}case 34:case 39:case 91:C+=q8(u);break;case 9:case 10:case 13:case 32:C+=Bd(_);break;case 92:C+=kd(E8()-1,7);continue;case 47:switch(s7()){case 42:case 47:if(u7(Gx(yd(R5(),E8()),l,c,t),t),(q3(_||1)==5||q3(s7()||1)==5)&&$0(C)&&H7(C,-1,void 0)!==" ")C+=" ";break;default:C+="/"}break;case 123*p:Z[i++]=$0(C)*m;case 125*p:case 59:case 0:switch(u){case 0:case 125:A=0;case 59+n:if(m==-1)C=E0(C,/\f/g,"");if(M>0&&($0(C)-v||p===0&&_===47))u7(M>32?Pd(C+";",o,c,v-1,t):Pd(E0(C," ","")+";",o,c,v-2,t),t);break;case 59:C+=";";default:if(u7(L=Od(C,l,c,i,n,r,Z,V,s=[],F=[],v,e),e),u===123)if(n===0)to(C,l,L,L,s,e,v,Z,F);else{switch(d){case 99:if(A0(C,3)===110)break;case 108:if(A0(C,2)===97)break;default:n=0;case 100:case 109:case 115:}if(n)to(a,L,L,o&&u7(Od(a,L,L,0,0,r,Z,V,r,s=[],v,F),F),r,F,v,Z,o?s:F);else to(C,L,L,L,[""],F,0,Z,F)}}i=n=M=0,p=m=1,V=C="",v=h;break;case 58:v=1+$0(C),M=_;default:if(p<1){if(u==123)--p;else if(u==125&&p++==0&&Ud()==125)continue}switch(C+=$4(u),u*p){case 38:m=n>0?1:(C+="\f",-1);break;case 44:Z[i++]=($0(C)-1)*m,m=1;break;case 64:if(s7()===45)C+=q8(R5());d=s7(),n=v=$0(V=C+=oZ(E8())),u++;break;case 45:if(_===45&&$0(C)==2)p=0}}return e}function Od(a,l,c,o,r,e,h,Z,t,i,n,v){var d=r-1,M=r===0?e:[""],_=ro(M);for(var p=0,A=0,m=0;p<o;++p)for(var u=0,V=H7(a,d+1,d=Kh(A=h[p])),s=a;u<_;++u)if(s=lo(A>0?M[u]+" "+V:E0(V,/&\f/g,M[u])))t[m++]=s;return T8(a,l,c,r===0?j7:Z,t,i,n,v)}function Gx(a,l,c,o){return T8(a,l,c,Nc,$4(Gd()),H7(a,2,-2),0,o)}function Pd(a,l,c,o,r){return T8(a,l,c,I4,H7(a,0,o),H7(a,o+1,-1),o,r)}function V7(a,l){var c="";for(var o=0;o<a.length;o++)c+=l(a[o],o,a,l)||"";return c}function vo(a,l,c,o){switch(a.type){case ao:if(a.children.length)break;case gd:case Cd:case I4:return a.return=a.return||a.value;case Nc:return"";case Rd:return a.return=a.value+"{"+V7(a.children,o)+"}";case j7:if(!$0(a.value=a.props.join(",")))return""}return $0(c=V7(a.children,o))?a.return=a.value+"{"+c+"}":""}function no(a){var l=ro(a);return function(c,o,r,e){var h="";for(var Z=0;Z<l;Z++)h+=a[Z](c,o,r,e)||"";return h}}function Mo(a){return function(l){if(!l.root){if(l=l.return)a(l)}}}var Td=(a)=>{switch(a.type){case j7:if(typeof a.props==="string")throw Error(`"element.props" has type "string" (${JSON.stringify(a.props,null,2)}), it's not expected. Please report a bug if it happens.`);a.props=a.props.map((l)=>{if(l.indexOf(":global(")===-1)return l;return Dd(l).reduce((c,o,r,e)=>{if(o==="")return c;if(o===":"&&e[r+1]==="global"){let h=e[r+2].slice(1,-1)+" ";return c.unshift(h),e[r+1]="",e[r+2]="",c}return c.push(o),c},[]).join("")})}};function Ed(a,l,c){switch(wd(a,l)){case 5103:return P5+"print-"+a+a;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return P5+a+a;case 4215:if(A0(a,9)===102)return P5+a+a;if(A0(a,l+1)===116)return P5+a+a;break;case 4789:return J4+a+a;case 5349:case 4246:case 6968:return P5+a+J4+a+a;case 6187:if(!co(a,/grab/))return E0(E0(E0(a,/(zoom-|grab)/,P5+"$1"),/(image-set)/,P5+"$1"),a,"")+a;case 5495:case 3959:return E0(a,/(image-set\([^]*)/,P5+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return E0(a,/(.+)-inline(.+)/,P5+"$1$2")+a;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if($0(a)-1-l>6)switch(A0(a,l+1)){case 102:if(A0(a,l+3)===108)return E0(a,/(.+:)(.+)-([^]+)/,"$1"+P5+"$2-$3$1"+J4+(A0(a,l+3)==108?"$3":"$2-$3"))+a;case 115:return~oo(a,"stretch")?Ed(E0(a,"stretch","fill-available"),l)+a:a}break}return a}function po(a,l,c,o){if(a.length>-1){if(!a.return)switch(a.type){case I4:a.return=Ed(a.value,a.length);return;case j7:if(a.length)return Nh(a.props,function(r){switch(co(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return V7([ho(a,{props:[E0(r,/:(read-\w+)/,":"+J4+"$1")]})],o);case"::placeholder":return V7([ho(a,{props:[E0(r,/:(plac\w+)/,":"+P5+"input-$1")]}),ho(a,{props:[E0(r,/:(plac\w+)/,":"+J4+"$1")]})],o)}return""})}}return}function qd(a){switch(a.type){case"@container":case xd:case Ld:case ao:return!0}return!1}var Wd=(a)=>{if(qd(a)&&Array.isArray(a.children))a.children.sort((l,c)=>l.props[0]>c.props[0]?1:-1)};function Ux(){}function bd(a,l){let c=[];return V7(io(a),no([Td,l?Wd:Ux,po,vo,Mo((o)=>c.push(o))])),c}var Dx=/,( *[^ &])/g;function Bx(a){return"&"+jc(a.replace(Dx,",&$1"))}function zd(a,l,c){let o=l;if(c.length>0)o=c.reduceRight((r,e)=>{return`${Bx(e)} { ${r} }`},l);return`${a}{${o}}`}function rZ(a,l){let{className:c,selectors:o,property:r,rtlClassName:e,rtlProperty:h,rtlValue:Z,value:t}=a,{container:i,layer:n,media:v,supports:d}=l,M=`.${c}`,_=Array.isArray(t)?`${t.map((A)=>`${K7(r)}: ${A}`).join(";")};`:`${K7(r)}: ${t};`,p=zd(M,_,o);if(h&&e){let A=`.${e}`,m=Array.isArray(Z)?`${Z.map((u)=>`${K7(h)}: ${u}`).join(";")};`:`${K7(h)}: ${Z};`;p+=zd(A,m,o)}if(v)p=`@media ${v} { ${p} }`;if(n)p=`@layer ${n} { ${p} }`;if(d)p=`@supports ${d} { ${p} }`;if(i)p=`@container ${i} { ${p} }`;return bd(p,!0)}function Qd(a){let l="";for(let c in a){let o=a[c];if(typeof o==="string"||typeof o==="number"){l+=K7(c)+":"+o+";";continue}if(Array.isArray(o))for(let r of o)l+=K7(c)+":"+r+";"}return l}function eZ(a){let l="";for(let c in a)l+=`${c}{${Qd(a[c])}}`;return l}function hZ(a,l){let c=`@keyframes ${a} {${l}}`,o=[];return V7(io(c),no([vo,po,Mo((r)=>o.push(r))])),o}var Jd={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function ZZ(a,l){if(a.length===0)return l;return`${a} and ${l}`}function Id(a){return a.substr(0,6)==="@media"}function $d(a){return a.substr(0,6)==="@layer"}var kx=/^(:|\[|>|&)/;function Yd(a){return kx.test(a)}function Xd(a){return a.substr(0,9)==="@supports"}function Kd(a){return a.substring(0,10)==="@container"}function jd(a){return a!=null&&typeof a==="object"&&Array.isArray(a)===!1}var Nd={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function tZ(a,l){if(l.media)return"m";if(l.layer||l.supports)return"t";if(l.container)return"c";if(a.length>0){let c=a[0].trim();if(c.charCodeAt(0)===58)return Nd[c.slice(4,8)]||Nd[c.slice(3,5)]||"d"}return"d"}function _o(a,l){return a?l+a:a}function iZ(a){return _o(a.container,"c")+_o(a.media,"m")+_o(a.layer,"l")+_o(a.supports,"s")}function Ao(a,l,c){let o=a+iZ(c)+l,r=O2(o),e=r.charCodeAt(0);if(e>=48&&e<=57)return String.fromCharCode(e+17)+r.slice(1);return r}function W8({property:a,selector:l,salt:c,value:o},r){return B8+O2(c+l+iZ(r)+a+o.trim())}function aM(a){return a===q4}function mo(a){return a.replace(/>\s+/g,">")}function Ho(...a){if(typeof document<"u")console.error(...a)}function lM(a,l){Ho(/*@__PURE__*/(()=>{let o=JSON.stringify(l,null,2),r=["@griffel/react: A rule was not resolved to CSS properly. Please check your `makeStyles` or `makeResetStyles` calls for following:"," ".repeat(2)+"makeStyles({"," ".repeat(4)+"[slot]: {"," ".repeat(6)+`"${a}": ${o.split(`
|
|
1
|
+
var QF=Object.create;var{getPrototypeOf:JF,defineProperty:Lh,getOwnPropertyNames:IF}=Object;var $F=Object.prototype.hasOwnProperty;function YF(a){return this[a]}var XF,KF,w8=(a,l,c)=>{var o=a!=null&&typeof a==="object";if(o){var r=l?XF??=/*@__PURE__*/new WeakMap:KF??=/*@__PURE__*/new WeakMap,e=r.get(a);if(e)return e}c=a!=null?QF(JF(a)):{};let h=l||!a||!a.__esModule?Lh(c,"default",{value:a,enumerable:!0}):c;for(let Z of IF(a))if(!$F.call(h,Z))Lh(h,Z,{get:YF.bind(a,Z),enumerable:!0});if(o)r.set(a,h);return h};var _7=(a,l)=>()=>(l||a((l={exports:{}}).exports,l),l.exports);var jF=(a)=>a;function NF(a,l){this[a]=jF.bind(null,l)}var Ch=(a,l)=>{for(var c in l)Lh(a,c,{get:l[c],enumerable:!0,configurable:!0,set:NF.bind(l,c)})};var im=_7((BR)=>{(function(){function a(){if(s=!1,P){var x=BR.unstable_now();t1=x;var B=!0;try{a:{u=!1,V&&(V=!1,L(W),W=-1),m=!0;var k=A;try{l:{e(x);for(p=c(d);p!==null&&!(p.expirationTime>x&&Z());){var $=p.callback;if(typeof $==="function"){p.callback=null,A=p.priorityLevel;var E=$(p.expirationTime<=x);if(x=BR.unstable_now(),typeof E==="function"){p.callback=E,e(x),B=!0;break l}p===c(d)&&o(d),e(x)}else o(d);p=c(d)}if(p!==null)B=!0;else{var d1=c(M);d1!==null&&t(h,d1.startTime-x),B=!1}}break a}finally{p=null,A=k,m=!1}B=void 0}}finally{B?N():P=!1}}}function l(x,B){var k=x.length;x.push(B);a:for(;0<k;){var $=k-1>>>1,E=x[$];if(0<r(E,B))x[$]=B,x[k]=E,k=$;else break a}}function c(x){return x.length===0?null:x[0]}function o(x){if(x.length===0)return null;var B=x[0],k=x.pop();if(k!==B){x[0]=k;a:for(var $=0,E=x.length,d1=E>>>1;$<d1;){var s1=2*($+1)-1,T=x[s1],O=s1+1,F1=x[O];if(0>r(T,k))O<E&&0>r(F1,T)?(x[$]=F1,x[O]=k,$=O):(x[$]=T,x[s1]=k,$=s1);else if(O<E&&0>r(F1,k))x[$]=F1,x[O]=k,$=O;else break a}}return B}function r(x,B){var k=x.sortIndex-B.sortIndex;return k!==0?k:x.id-B.id}function e(x){for(var B=c(M);B!==null;){if(B.callback===null)o(M);else if(B.startTime<=x)o(M),B.sortIndex=B.expirationTime,l(d,B);else break;B=c(M)}}function h(x){if(V=!1,e(x),!u)if(c(d)!==null)u=!0,P||(P=!0,N());else{var B=c(M);B!==null&&t(h,B.startTime-x)}}function Z(){return s?!0:BR.unstable_now()-t1<r1?!1:!0}function t(x,B){W=F(function(){x(BR.unstable_now())},B)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),BR.unstable_now=void 0,typeof performance==="object"&&typeof performance.now==="function"){var i=performance;BR.unstable_now=function(){return i.now()}}else{var n=Date,v=n.now();BR.unstable_now=function(){return n.now()-v}}var d=[],M=[],_=1,p=null,A=3,m=!1,u=!1,V=!1,s=!1,F=typeof setTimeout==="function"?setTimeout:null,L=typeof clearTimeout==="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null,P=!1,W=-1,r1=5,t1=-1;if(typeof C==="function")var N=function(){C(a)};else if(typeof MessageChannel<"u"){var R=new MessageChannel,w=R.port2;R.port1.onmessage=a,N=function(){w.postMessage(null)}}else N=function(){F(a,0)};BR.unstable_IdlePriority=5,BR.unstable_ImmediatePriority=1,BR.unstable_LowPriority=4,BR.unstable_NormalPriority=3,BR.unstable_Profiling=null,BR.unstable_UserBlockingPriority=2,BR.unstable_cancelCallback=function(x){x.callback=null},BR.unstable_forceFrameRate=function(x){0>x||125<x?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):r1=0<x?Math.floor(1000/x):5},BR.unstable_getCurrentPriorityLevel=function(){return A},BR.unstable_next=function(x){switch(A){case 1:case 2:case 3:var B=3;break;default:B=A}var k=A;A=B;try{return x()}finally{A=k}},BR.unstable_requestPaint=function(){s=!0},BR.unstable_runWithPriority=function(x,B){switch(x){case 1:case 2:case 3:case 4:case 5:break;default:x=3}var k=A;A=x;try{return B()}finally{A=k}},BR.unstable_scheduleCallback=function(x,B,k){var $=BR.unstable_now();switch(typeof k==="object"&&k!==null?(k=k.delay,k=typeof k==="number"&&0<k?$+k:$):k=$,x){case 1:var E=-1;break;case 2:E=250;break;case 5:E=1073741823;break;case 4:E=1e4;break;default:E=5000}return E=k+E,x={id:_++,callback:B,priorityLevel:x,startTime:k,expirationTime:E,sortIndex:-1},k>$?(x.sortIndex=k,l(M,x),c(d)===null&&x===c(M)&&(V?(L(W),W=-1):V=!0,t(h,k-$))):(x.sortIndex=E,l(d,x),u||m||(u=!0,P||(P=!0,N()))),x},BR.unstable_shouldYield=Z,BR.unstable_wrapCallback=function(x){var B=A;return function(){var k=A;A=B;try{return x.apply(this,arguments)}finally{A=k}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var ln=_7((MO)=>{(function(){var a=typeof Symbol==="function"&&Symbol.for,l=a?Symbol.for("react.element"):60103,c=a?Symbol.for("react.portal"):60106,o=a?Symbol.for("react.fragment"):60107,r=a?Symbol.for("react.strict_mode"):60108,e=a?Symbol.for("react.profiler"):60114,h=a?Symbol.for("react.provider"):60109,Z=a?Symbol.for("react.context"):60110,t=a?Symbol.for("react.async_mode"):60111,i=a?Symbol.for("react.concurrent_mode"):60111,n=a?Symbol.for("react.forward_ref"):60112,v=a?Symbol.for("react.suspense"):60113,d=a?Symbol.for("react.suspense_list"):60120,M=a?Symbol.for("react.memo"):60115,_=a?Symbol.for("react.lazy"):60116,p=a?Symbol.for("react.block"):60121,A=a?Symbol.for("react.fundamental"):60117,m=a?Symbol.for("react.responder"):60118,u=a?Symbol.for("react.scope"):60119;function V(n1){return typeof n1==="string"||typeof n1==="function"||n1===o||n1===i||n1===e||n1===r||n1===v||n1===d||typeof n1==="object"&&n1!==null&&(n1.$$typeof===_||n1.$$typeof===M||n1.$$typeof===h||n1.$$typeof===Z||n1.$$typeof===n||n1.$$typeof===A||n1.$$typeof===m||n1.$$typeof===u||n1.$$typeof===p)}function s(n1){if(typeof n1==="object"&&n1!==null){var L5=n1.$$typeof;switch(L5){case l:var T3=n1.type;switch(T3){case t:case i:case o:case e:case r:case v:return T3;default:var R8=T3&&T3.$$typeof;switch(R8){case Z:case n:case _:case M:case h:return R8;default:return L5}}case c:return L5}}return}var F=t,L=i,C=Z,P=h,W=l,r1=n,t1=o,N=_,R=M,w=c,x=e,B=r,k=v,$=!1;function E(n1){if(!$)$=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.");return d1(n1)||s(n1)===t}function d1(n1){return s(n1)===i}function s1(n1){return s(n1)===Z}function T(n1){return s(n1)===h}function O(n1){return typeof n1==="object"&&n1!==null&&n1.$$typeof===l}function F1(n1){return s(n1)===n}function R1(n1){return s(n1)===o}function r5(n1){return s(n1)===_}function g5(n1){return s(n1)===M}function O3(n1){return s(n1)===c}function P3(n1){return s(n1)===e}function P4(n1){return s(n1)===r}function M7(n1){return s(n1)===v}MO.AsyncMode=F,MO.ConcurrentMode=L,MO.ContextConsumer=C,MO.ContextProvider=P,MO.Element=W,MO.ForwardRef=r1,MO.Fragment=t1,MO.Lazy=N,MO.Memo=R,MO.Portal=w,MO.Profiler=x,MO.StrictMode=B,MO.Suspense=k,MO.isAsyncMode=E,MO.isConcurrentMode=d1,MO.isContextConsumer=s1,MO.isContextProvider=T,MO.isElement=O,MO.isForwardRef=F1,MO.isFragment=R1,MO.isLazy=r5,MO.isMemo=g5,MO.isPortal=O3,MO.isProfiler=P3,MO.isStrictMode=P4,MO.isSuspense=M7,MO.isValidElementType=V,MO.typeOf=s})()});var Vf=_7((hj1,sf)=>{var uf=Object.getOwnPropertySymbols,pO=Object.prototype.hasOwnProperty,_O=Object.prototype.propertyIsEnumerable;function AO(a){if(a===null||a===void 0)throw TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function mO(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;var l={};for(var c=0;c<10;c++)l["_"+String.fromCharCode(c)]=c;var o=Object.getOwnPropertyNames(l).map(function(e){return l[e]});if(o.join("")!=="0123456789")return!1;var r={};if("abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),Object.keys(Object.assign({},r)).join("")!=="abcdefghijklmnopqrst")return!1;return!0}catch(e){return!1}}sf.exports=mO()?Object.assign:function(a,l){var c,o=AO(a),r;for(var e=1;e<arguments.length;e++){c=Object(arguments[e]);for(var h in c)if(pO.call(c,h))o[h]=c[h];if(uf){r=uf(c);for(var Z=0;Z<r.length;Z++)if(_O.call(c,r[Z]))o[r[Z]]=c[r[Z]]}}return o}});var cn=_7((Zj1,ff)=>{var HO="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";ff.exports=HO});var on=_7((tj1,Ff)=>{Ff.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var Lf=_7((ij1,gf)=>{var rn=function(){};en=cn(),yc={},hn=on(),rn=function(a){var l="Warning: "+a;if(typeof console<"u")console.error(l);try{throw Error(l)}catch(c){}};var en,yc,hn;function xf(a,l,c,o,r){for(var e in a)if(hn(a,e)){var h;try{if(typeof a[e]!=="function"){var Z=Error((o||"React class")+": "+c+" type `"+e+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[e]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Z.name="Invariant Violation",Z}h=a[e](l,e,o,c,null,en)}catch(i){h=i}if(h&&!(h instanceof Error))rn((o||"React class")+": type specification of "+c+" `"+e+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).");if(h instanceof Error&&!(h.message in yc)){yc[h.message]=!0;var t=r?r():"";rn("Failed "+c+" type: "+h.message+(t!=null?t:""))}}}xf.resetWarningCache=function(){yc={}};gf.exports=xf});var Sf=_7((vj1,wf)=>{var Rf=w8(ln()),uO=Vf(),x8=cn(),Zn=on(),Cf=Lf(),g8=function(){};g8=function(a){var l="Warning: "+a;if(typeof console<"u")console.error(l);try{throw Error(l)}catch(c){}};function hh(){return null}wf.exports=function(a,l){var c=typeof Symbol==="function"&&Symbol.iterator,o="@@iterator";function r(R){var w=R&&(c&&R[c]||R[o]);if(typeof w==="function")return w}var e="<<anonymous>>",h={array:n("array"),bigint:n("bigint"),bool:n("boolean"),func:n("function"),number:n("number"),object:n("object"),string:n("string"),symbol:n("symbol"),any:v(),arrayOf:d,element:M(),elementType:_(),instanceOf:p,node:V(),objectOf:m,oneOf:A,oneOfType:u,shape:F,exact:L};function Z(R,w){if(R===w)return R!==0||1/R===1/w;else return R!==R&&w!==w}function t(R,w){this.message=R,this.data=w&&typeof w==="object"?w:{},this.stack=""}t.prototype=Error.prototype;function i(R){var w={},x=0;function B($,E,d1,s1,T,O,F1){if(s1=s1||e,O=O||d1,F1!==x8){if(l){var R1=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 R1.name="Invariant Violation",R1}else if(typeof console<"u"){var r5=s1+":"+d1;if(!w[r5]&&x<3)g8("You are manually calling a React.PropTypes validation function for the `"+O+"` prop on `"+s1+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),w[r5]=!0,x++}}if(E[d1]==null){if($){if(E[d1]===null)return new t("The "+T+" `"+O+"` is marked as required "+("in `"+s1+"`, but its value is `null`."));return new t("The "+T+" `"+O+"` is marked as required in "+("`"+s1+"`, but its value is `undefined`."))}return null}else return R(E,d1,s1,T,O)}var k=B.bind(null,!1);return k.isRequired=B.bind(null,!0),k}function n(R){function w(x,B,k,$,E,d1){var s1=x[B],T=W(s1);if(T!==R){var O=r1(s1);return new t("Invalid "+$+" `"+E+"` of type "+("`"+O+"` supplied to `"+k+"`, expected ")+("`"+R+"`."),{expectedType:R})}return null}return i(w)}function v(){return i(hh)}function d(R){function w(x,B,k,$,E){if(typeof R!=="function")return new t("Property `"+E+"` of component `"+k+"` has invalid PropType notation inside arrayOf.");var d1=x[B];if(!Array.isArray(d1)){var s1=W(d1);return new t("Invalid "+$+" `"+E+"` of type "+("`"+s1+"` supplied to `"+k+"`, expected an array."))}for(var T=0;T<d1.length;T++){var O=R(d1,T,k,$,E+"["+T+"]",x8);if(O instanceof Error)return O}return null}return i(w)}function M(){function R(w,x,B,k,$){var E=w[x];if(!a(E)){var d1=W(E);return new t("Invalid "+k+" `"+$+"` of type "+("`"+d1+"` supplied to `"+B+"`, expected a single ReactElement."))}return null}return i(R)}function _(){function R(w,x,B,k,$){var E=w[x];if(!Rf.isValidElementType(E)){var d1=W(E);return new t("Invalid "+k+" `"+$+"` of type "+("`"+d1+"` supplied to `"+B+"`, expected a single ReactElement type."))}return null}return i(R)}function p(R){function w(x,B,k,$,E){if(!(x[B]instanceof R)){var d1=R.name||e,s1=N(x[B]);return new t("Invalid "+$+" `"+E+"` of type "+("`"+s1+"` supplied to `"+k+"`, expected ")+("instance of `"+d1+"`."))}return null}return i(w)}function A(R){if(!Array.isArray(R)){if(arguments.length>1)g8("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).");else g8("Invalid argument supplied to oneOf, expected an array.");return hh}function w(x,B,k,$,E){var d1=x[B];for(var s1=0;s1<R.length;s1++)if(Z(d1,R[s1]))return null;var T=JSON.stringify(R,function(F1,R1){var r5=r1(R1);if(r5==="symbol")return String(R1);return R1});return new t("Invalid "+$+" `"+E+"` of value `"+String(d1)+"` "+("supplied to `"+k+"`, expected one of "+T+"."))}return i(w)}function m(R){function w(x,B,k,$,E){if(typeof R!=="function")return new t("Property `"+E+"` of component `"+k+"` has invalid PropType notation inside objectOf.");var d1=x[B],s1=W(d1);if(s1!=="object")return new t("Invalid "+$+" `"+E+"` of type "+("`"+s1+"` supplied to `"+k+"`, expected an object."));for(var T in d1)if(Zn(d1,T)){var O=R(d1,T,k,$,E+"."+T,x8);if(O instanceof Error)return O}return null}return i(w)}function u(R){if(!Array.isArray(R))return g8("Invalid argument supplied to oneOfType, expected an instance of array."),hh;for(var w=0;w<R.length;w++){var x=R[w];if(typeof x!=="function")return g8("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+t1(x)+" at index "+w+"."),hh}function B(k,$,E,d1,s1){var T=[];for(var O=0;O<R.length;O++){var F1=R[O],R1=F1(k,$,E,d1,s1,x8);if(R1==null)return null;if(R1.data&&Zn(R1.data,"expectedType"))T.push(R1.data.expectedType)}var r5=T.length>0?", expected one of type ["+T.join(", ")+"]":"";return new t("Invalid "+d1+" `"+s1+"` supplied to "+("`"+E+"`"+r5+"."))}return i(B)}function V(){function R(w,x,B,k,$){if(!C(w[x]))return new t("Invalid "+k+" `"+$+"` supplied to "+("`"+B+"`, expected a ReactNode."));return null}return i(R)}function s(R,w,x,B,k){return new t((R||"React class")+": "+w+" type `"+x+"."+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+k+"`.")}function F(R){function w(x,B,k,$,E){var d1=x[B],s1=W(d1);if(s1!=="object")return new t("Invalid "+$+" `"+E+"` of type `"+s1+"` "+("supplied to `"+k+"`, expected `object`."));for(var T in R){var O=R[T];if(typeof O!=="function")return s(k,$,E,T,r1(O));var F1=O(d1,T,k,$,E+"."+T,x8);if(F1)return F1}return null}return i(w)}function L(R){function w(x,B,k,$,E){var d1=x[B],s1=W(d1);if(s1!=="object")return new t("Invalid "+$+" `"+E+"` of type `"+s1+"` "+("supplied to `"+k+"`, expected `object`."));var T=uO({},x[B],R);for(var O in T){var F1=R[O];if(Zn(R,O)&&typeof F1!=="function")return s(k,$,E,O,r1(F1));if(!F1)return new t("Invalid "+$+" `"+E+"` key `"+O+"` supplied to `"+k+"`.\nBad object: "+JSON.stringify(x[B],null," ")+`
|
|
2
|
+
Valid keys: `+JSON.stringify(Object.keys(R),null," "));var R1=F1(d1,O,k,$,E+"."+O,x8);if(R1)return R1}return null}return i(w)}function C(R){switch(typeof R){case"number":case"string":case"undefined":return!0;case"boolean":return!R;case"object":if(Array.isArray(R))return R.every(C);if(R===null||a(R))return!0;var w=r(R);if(w){var x=w.call(R),B;if(w!==R.entries){while(!(B=x.next()).done)if(!C(B.value))return!1}else while(!(B=x.next()).done){var k=B.value;if(k){if(!C(k[1]))return!1}}}else return!1;return!0;default:return!1}}function P(R,w){if(R==="symbol")return!0;if(!w)return!1;if(w["@@toStringTag"]==="Symbol")return!0;if(typeof Symbol==="function"&&w instanceof Symbol)return!0;return!1}function W(R){var w=typeof R;if(Array.isArray(R))return"array";if(R instanceof RegExp)return"object";if(P(w,R))return"symbol";return w}function r1(R){if(typeof R>"u"||R===null)return""+R;var w=W(R);if(w==="object"){if(R instanceof Date)return"date";else if(R instanceof RegExp)return"regexp"}return w}function t1(R){var w=r1(R);switch(w){case"array":case"object":return"an "+w;case"boolean":case"date":case"regexp":return"a "+w;default:return w}}function N(R){if(!R.constructor||!R.constructor.name)return e;return R.constructor.name}return h.checkPropTypes=Cf,h.resetWarningCache=Cf.resetWarningCache,h.PropTypes=h,h}});var Uf=_7((nj1,Gf)=>{var vn=w8(ln());tn=!0,Gf.exports=Sf()(vn.isElement,tn);var tn});var Pf=_7((GO)=>{GO.__esModule=!0;GO.default=function(a,l){if(a&&l){var c=Array.isArray(l)?l:l.split(",");if(c.length===0)return!0;var o=a.name||"",r=(a.type||"").toLowerCase(),e=r.replace(/\/.*$/,"");return c.some(function(h){var Z=h.trim().toLowerCase();if(Z.charAt(0)===".")return o.toLowerCase().endsWith(Z);else if(Z.endsWith("/*"))return e===Z.replace(/\/.*$/,"");return r===Z})}return!0}});var G8,p1,Dn,Uh,$7,Sn,Bn,kn,yn,Dh,Rh,wh,On,zc={},Qc=[],ax=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,U8=Array.isArray;function B2(a,l){for(var c in l)a[c]=l[c];return a}function Bh(a){a&&a.parentNode&&a.parentNode.removeChild(a)}function c1(a,l,c){var o,r,e,h={};for(e in l)e=="key"?o=l[e]:e=="ref"?r=l[e]:h[e]=l[e];if(arguments.length>2&&(h.children=arguments.length>3?G8.call(arguments,2):c),typeof a=="function"&&a.defaultProps!=null)for(e in a.defaultProps)h[e]===void 0&&(h[e]=a.defaultProps[e]);return S8(a,h,o,r,null)}function S8(a,l,c,o,r){var e={type:a,props:l,key:c,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:r==null?++Dn:r,__i:-1,__u:0};return r==null&&p1.vnode!=null&&p1.vnode(e),e}function h5(){return{current:null}}function i1(a){return a.children}function e5(a,l){this.props=a,this.context=l}function E4(a,l){if(l==null)return a.__?E4(a.__,a.__i+1):null;for(var c;l<a.__k.length;l++)if((c=a.__k[l])!=null&&c.__e!=null)return c.__e;return typeof a.type=="function"?E4(a):null}function lx(a){if(a.__P&&a.__d){var l=a.__v,c=l.__e,o=[],r=[],e=B2({},l);e.__v=l.__v+1,p1.vnode&&p1.vnode(e),kh(a.__P,e,l,a.__n,a.__P.namespaceURI,32&l.__u?[c]:null,o,c==null?E4(l):c,!!(32&l.__u),r),e.__v=l.__v,e.__.__k[e.__i]=e,qn(o,e,r),l.__e=l.__=null,e.__e!=c&&Pn(e)}}function Pn(a){if((a=a.__)!=null&&a.__c!=null)return a.__e=a.__c.base=null,a.__k.some(function(l){if(l!=null&&l.__e!=null)return a.__e=a.__c.base=l.__e}),Pn(a)}function Sh(a){(!a.__d&&(a.__d=!0)&&$7.push(a)&&!Jc.__r++||Sn!=p1.debounceRendering)&&((Sn=p1.debounceRendering)||Bn)(Jc)}function Jc(){try{for(var a,l=1;$7.length;)$7.length>l&&$7.sort(kn),a=$7.shift(),l=$7.length,lx(a)}finally{$7.length=Jc.__r=0}}function Tn(a,l,c,o,r,e,h,Z,t,i,n){var v,d,M,_,p,A,m,u=o&&o.__k||Qc,V=l.length;for(t=cx(c,l,u,t,V),v=0;v<V;v++)(M=c.__k[v])!=null&&(d=M.__i!=-1&&u[M.__i]||zc,M.__i=v,A=kh(a,M,d,r,e,h,Z,t,i,n),_=M.__e,M.ref&&d.ref!=M.ref&&(d.ref&&yh(d.ref,null,M),n.push(M.ref,M.__c||_,M)),p==null&&_!=null&&(p=_),(m=!!(4&M.__u))||d.__k===M.__k?t=En(M,t,a,m):typeof M.type=="function"&&A!==void 0?t=A:_&&(t=_.nextSibling),M.__u&=-7);return c.__e=p,t}function cx(a,l,c,o,r){var e,h,Z,t,i,n=c.length,v=n,d=0;for(a.__k=Array(r),e=0;e<r;e++)(h=l[e])!=null&&typeof h!="boolean"&&typeof h!="function"?(typeof h=="string"||typeof h=="number"||typeof h=="bigint"||h.constructor==String?h=a.__k[e]=S8(null,h,null,null,null):U8(h)?h=a.__k[e]=S8(i1,{children:h},null,null,null):h.constructor===void 0&&h.__b>0?h=a.__k[e]=S8(h.type,h.props,h.key,h.ref?h.ref:null,h.__v):a.__k[e]=h,t=e+d,h.__=a,h.__b=a.__b+1,Z=null,(i=h.__i=ox(h,c,t,v))!=-1&&(v--,(Z=c[i])&&(Z.__u|=2)),Z==null||Z.__v==null?(i==-1&&(r>n?d--:r<n&&d++),typeof h.type!="function"&&(h.__u|=4)):i!=t&&(i==t-1?d--:i==t+1?d++:(i>t?d--:d++,h.__u|=4))):a.__k[e]=null;if(v)for(e=0;e<n;e++)(Z=c[e])!=null&&(2&Z.__u)==0&&(Z.__e==o&&(o=E4(Z)),bn(Z,Z));return o}function En(a,l,c,o){var r,e;if(typeof a.type=="function"){for(r=a.__k,e=0;r&&e<r.length;e++)r[e]&&(r[e].__=a,l=En(r[e],l,c,o));return l}a.__e!=l&&(o&&(l&&a.type&&!l.parentNode&&(l=E4(a)),c.insertBefore(a.__e,l||null)),l=a.__e);do l=l&&l.nextSibling;while(l!=null&&l.nodeType==8);return l}function k2(a,l){return l=l||[],a==null||typeof a=="boolean"||(U8(a)?a.some(function(c){k2(c,l)}):l.push(a)),l}function ox(a,l,c,o){var r,e,h,Z=a.key,t=a.type,i=l[c],n=i!=null&&(2&i.__u)==0;if(i===null&&Z==null||n&&Z==i.key&&t==i.type)return c;if(o>(n?1:0)){for(r=c-1,e=c+1;r>=0||e<l.length;)if((i=l[h=r>=0?r--:e++])!=null&&(2&i.__u)==0&&Z==i.key&&t==i.type)return h}return-1}function Gn(a,l,c){l[0]=="-"?a.setProperty(l,c==null?"":c):a[l]=c==null?"":typeof c!="number"||ax.test(l)?c:c+"px"}function bc(a,l,c,o,r){var e,h;a:if(l=="style")if(typeof c=="string")a.style.cssText=c;else{if(typeof o=="string"&&(a.style.cssText=o=""),o)for(l in o)c&&l in c||Gn(a.style,l,"");if(c)for(l in c)o&&c[l]==o[l]||Gn(a.style,l,c[l])}else if(l[0]=="o"&&l[1]=="n")e=l!=(l=l.replace(yn,"$1")),h=l.toLowerCase(),l=h in a||l=="onFocusOut"||l=="onFocusIn"?h.slice(2):l.slice(2),a.l||(a.l={}),a.l[l+e]=c,c?o?c.u=o.u:(c.u=Dh,a.addEventListener(l,e?wh:Rh,e)):a.removeEventListener(l,e?wh:Rh,e);else{if(r=="http://www.w3.org/2000/svg")l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(l!="width"&&l!="height"&&l!="href"&&l!="list"&&l!="form"&&l!="tabIndex"&&l!="download"&&l!="rowSpan"&&l!="colSpan"&&l!="role"&&l!="popover"&&l in a)try{a[l]=c==null?"":c;break a}catch(Z){}typeof c=="function"||(c==null||c===!1&&l[4]!="-"?a.removeAttribute(l):a.setAttribute(l,l=="popover"&&c==1?"":c))}}function Un(a){return function(l){if(this.l){var c=this.l[l.type+a];if(l.t==null)l.t=Dh++;else if(l.t<c.u)return;return c(p1.event?p1.event(l):l)}}}function kh(a,l,c,o,r,e,h,Z,t,i){var n,v,d,M,_,p,A,m,u,V,s,F,L,C,P,W=l.type;if(l.constructor!==void 0)return null;128&c.__u&&(t=!!(32&c.__u),e=[Z=l.__e=c.__e]),(n=p1.__b)&&n(l);a:if(typeof W=="function")try{if(m=l.props,u=W.prototype&&W.prototype.render,V=(n=W.contextType)&&o[n.__c],s=n?V?V.props.value:n.__:o,c.__c?A=(v=l.__c=c.__c).__=v.__E:(u?l.__c=v=new W(m,s):(l.__c=v=new e5(m,s),v.constructor=W,v.render=ex),V&&V.sub(v),v.state||(v.state={}),v.__n=o,d=v.__d=!0,v.__h=[],v._sb=[]),u&&v.__s==null&&(v.__s=v.state),u&&W.getDerivedStateFromProps!=null&&(v.__s==v.state&&(v.__s=B2({},v.__s)),B2(v.__s,W.getDerivedStateFromProps(m,v.__s))),M=v.props,_=v.state,v.__v=l,d)u&&W.getDerivedStateFromProps==null&&v.componentWillMount!=null&&v.componentWillMount(),u&&v.componentDidMount!=null&&v.__h.push(v.componentDidMount);else{if(u&&W.getDerivedStateFromProps==null&&m!==M&&v.componentWillReceiveProps!=null&&v.componentWillReceiveProps(m,s),l.__v==c.__v||!v.__e&&v.shouldComponentUpdate!=null&&v.shouldComponentUpdate(m,v.__s,s)===!1){l.__v!=c.__v&&(v.props=m,v.state=v.__s,v.__d=!1),l.__e=c.__e,l.__k=c.__k,l.__k.some(function(r1){r1&&(r1.__=l)}),Qc.push.apply(v.__h,v._sb),v._sb=[],v.__h.length&&h.push(v);break a}v.componentWillUpdate!=null&&v.componentWillUpdate(m,v.__s,s),u&&v.componentDidUpdate!=null&&v.__h.push(function(){v.componentDidUpdate(M,_,p)})}if(v.context=s,v.props=m,v.__P=a,v.__e=!1,F=p1.__r,L=0,u)v.state=v.__s,v.__d=!1,F&&F(l),n=v.render(v.props,v.state,v.context),Qc.push.apply(v.__h,v._sb),v._sb=[];else do v.__d=!1,F&&F(l),n=v.render(v.props,v.state,v.context),v.state=v.__s;while(v.__d&&++L<25);v.state=v.__s,v.getChildContext!=null&&(o=B2(B2({},o),v.getChildContext())),u&&!d&&v.getSnapshotBeforeUpdate!=null&&(p=v.getSnapshotBeforeUpdate(M,_)),C=n!=null&&n.type===i1&&n.key==null?Wn(n.props.children):n,Z=Tn(a,U8(C)?C:[C],l,c,o,r,e,h,Z,t,i),v.base=l.__e,l.__u&=-161,v.__h.length&&h.push(v),A&&(v.__E=v.__=null)}catch(r1){if(l.__v=null,t||e!=null)if(r1.then){for(l.__u|=t?160:128;Z&&Z.nodeType==8&&Z.nextSibling;)Z=Z.nextSibling;e[e.indexOf(Z)]=null,l.__e=Z}else{for(P=e.length;P--;)Bh(e[P]);Gh(l)}else l.__e=c.__e,l.__k=c.__k,r1.then||Gh(l);p1.__e(r1,l,c)}else e==null&&l.__v==c.__v?(l.__k=c.__k,l.__e=c.__e):Z=l.__e=rx(c.__e,l,c,o,r,e,h,t,i);return(n=p1.diffed)&&n(l),128&l.__u?void 0:Z}function Gh(a){a&&(a.__c&&(a.__c.__e=!0),a.__k&&a.__k.some(Gh))}function qn(a,l,c){for(var o=0;o<c.length;o++)yh(c[o],c[++o],c[++o]);p1.__c&&p1.__c(l,a),a.some(function(r){try{a=r.__h,r.__h=[],a.some(function(e){e.call(r)})}catch(e){p1.__e(e,r.__v)}})}function Wn(a){return typeof a!="object"||a==null||a.__b>0?a:U8(a)?a.map(Wn):B2({},a)}function rx(a,l,c,o,r,e,h,Z,t){var i,n,v,d,M,_,p,A=c.props||zc,m=l.props,u=l.type;if(u=="svg"?r="http://www.w3.org/2000/svg":u=="math"?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),e!=null){for(i=0;i<e.length;i++)if((M=e[i])&&"setAttribute"in M==!!u&&(u?M.localName==u:M.nodeType==3)){a=M,e[i]=null;break}}if(a==null){if(u==null)return document.createTextNode(m);a=document.createElementNS(r,u,m.is&&m),Z&&(p1.__m&&p1.__m(l,e),Z=!1),e=null}if(u==null)A===m||Z&&a.data==m||(a.data=m);else{if(e=e&&G8.call(a.childNodes),!Z&&e!=null)for(A={},i=0;i<a.attributes.length;i++)A[(M=a.attributes[i]).name]=M.value;for(i in A)M=A[i],i=="dangerouslySetInnerHTML"?v=M:i=="children"||(i in m)||i=="value"&&("defaultValue"in m)||i=="checked"&&("defaultChecked"in m)||bc(a,i,null,M,r);for(i in m)M=m[i],i=="children"?d=M:i=="dangerouslySetInnerHTML"?n=M:i=="value"?_=M:i=="checked"?p=M:Z&&typeof M!="function"||A[i]===M||bc(a,i,M,A[i],r);if(n)Z||v&&(n.__html==v.__html||n.__html==a.innerHTML)||(a.innerHTML=n.__html),l.__k=[];else if(v&&(a.innerHTML=""),Tn(l.type=="template"?a.content:a,U8(d)?d:[d],l,c,o,u=="foreignObject"?"http://www.w3.org/1999/xhtml":r,e,h,e?e[0]:c.__k&&E4(c,0),Z,t),e!=null)for(i=e.length;i--;)Bh(e[i]);Z||(i="value",u=="progress"&&_==null?a.removeAttribute("value"):_!=null&&(_!==a[i]||u=="progress"&&!_||u=="option"&&_!=A[i])&&bc(a,i,_,A[i],r),i="checked",p!=null&&p!=a[i]&&bc(a,i,p,A[i],r))}return a}function yh(a,l,c){try{if(typeof a=="function"){var o=typeof a.__u=="function";o&&a.__u(),o&&l==null||(a.__u=a(l))}else a.current=l}catch(r){p1.__e(r,c)}}function bn(a,l,c){var o,r;if(p1.unmount&&p1.unmount(a),(o=a.ref)&&(o.current&&o.current!=a.__e||yh(o,null,l)),(o=a.__c)!=null){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){p1.__e(e,l)}o.base=o.__P=null}if(o=a.__k)for(r=0;r<o.length;r++)o[r]&&bn(o[r],l,c||typeof a.type!="function");c||Bh(a.__e),a.__c=a.__=a.__e=void 0}function ex(a,l,c){return this.constructor(a,c)}function A7(a,l,c){var o,r,e,h;l==document&&(l=document.documentElement),p1.__&&p1.__(a,l),r=(o=typeof c=="function")?null:c&&c.__k||l.__k,e=[],h=[],kh(l,a=(!o&&c||l).__k=c1(i1,null,[a]),r||zc,zc,l.namespaceURI,!o&&c?[c]:r?null:l.firstChild?G8.call(l.childNodes):null,e,!o&&c?c:r?r.__e:l.firstChild,o,h),qn(e,a,h)}function Oh(a,l){A7(a,l,Oh)}function zn(a,l,c){var o,r,e,h,Z=B2({},a.props);for(e in a.type&&a.type.defaultProps&&(h=a.type.defaultProps),l)e=="key"?o=l[e]:e=="ref"?r=l[e]:Z[e]=l[e]===void 0&&h!=null?h[e]:l[e];return arguments.length>2&&(Z.children=arguments.length>3?G8.call(arguments,2):c),S8(a.type,Z,o||a.key,r||a.ref,null)}function e1(a){function l(c){var o,r;return this.getChildContext||(o=/*@__PURE__*/new Set,(r={})[l.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&o.forEach(function(h){h.__e=!0,Sh(h)})},this.sub=function(e){o.add(e);var h=e.componentWillUnmount;e.componentWillUnmount=function(){o&&o.delete(e),h&&h.call(e)}}),c.children}return l.__c="__cC"+On++,l.__=a,l.Provider=l.__l=(l.Consumer=function(c,o){return c.children(o)}).contextType=l,l}G8=Qc.slice,p1={__e:function(a,l,c,o){for(var r,e,h;l=l.__;)if((r=l.__c)&&!r.__)try{if((e=r.constructor)&&e.getDerivedStateFromError!=null&&(r.setState(e.getDerivedStateFromError(a)),h=r.__d),r.componentDidCatch!=null&&(r.componentDidCatch(a,o||{}),h=r.__d),h)return r.__E=r}catch(Z){a=Z}throw a}},Dn=0,Uh=function(a){return a!=null&&a.constructor===void 0},e5.prototype.setState=function(a,l){var c;c=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=B2({},this.state),typeof a=="function"&&(a=a(B2({},c),this.props)),a&&B2(c,a),a!=null&&this.__v&&(l&&this._sb.push(l),Sh(this))},e5.prototype.forceUpdate=function(a){this.__v&&(this.__e=!0,a&&this.__h.push(a),Sh(this))},e5.prototype.render=i1,$7=[],Bn=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,kn=function(a,l){return a.__v.__b-l.__v.__b},Jc.__r=0,yn=/(PointerCapture)$|Capture$/i,Dh=0,Rh=Un(!1),wh=Un(!0),On=0;var Ph=typeof window>"u"?global:window;function Qn(a,l){if(!Ph[Symbol.for("@griffel/"+a)])Ph[Symbol.for("@griffel/"+a)]=l;return Ph[Symbol.for("@griffel/"+a)]}var Y7=/*@__PURE__*/Qn("DEBUG_RESET_CLASSES",{}),X7=/*@__PURE__*/Qn("DEFINITION_LOOKUP_TABLE",{}),E3="data-make-styles-bucket",Th="data-priority",B8="f",Jn="r",D8=7,y5="___",Eh="_",Ic=y5.length+D8+Eh.length+D8,In=0,qh=1,$n={all:1,borderColor:1,borderStyle:1,borderWidth:1,borderBlock:1,borderBlockEnd:1,borderBlockStart:1,borderInline:1,borderInlineEnd:1,borderInlineStart:1},q4="DO_NOT_USE_DIRECTLY: @griffel/reset-value";function y2(a){var l=0,c,o=0,r=a.length;for(;r>=4;++o,r-=4)c=a.charCodeAt(o)&255|(a.charCodeAt(++o)&255)<<8|(a.charCodeAt(++o)&255)<<16|(a.charCodeAt(++o)&255)<<24,c=(c&65535)*1540483477+((c>>>16)*59797<<16),c^=c>>>24,l=(c&65535)*1540483477+((c>>>16)*59797<<16)^(l&65535)*1540483477+((l>>>16)*59797<<16);switch(r){case 3:l^=(a.charCodeAt(o+2)&255)<<16;case 2:l^=(a.charCodeAt(o+1)&255)<<8;case 1:l^=a.charCodeAt(o)&255,l=(l&65535)*1540483477+((l>>>16)*59797<<16)}return l^=l>>>13,l=(l&65535)*1540483477+((l>>>16)*59797<<16),((l^l>>>15)>>>0).toString(36)}function Yn(a){let l=a.length;if(l===D8)return a;for(let c=l;c<D8;c++)a+="0";return a}function $c(a,l,c=[]){return y5+Yn(y2(a+l))+Eh+Yn(y2(c.join("")))}function Wh(a,l){let c="",o="";for(let r in a){let e=a[r];if(e===0){o+=r+" ";continue}let h=Array.isArray(e),Z=l==="rtl"?(h?e[1]:e)+" ":(h?e[0]:e)+" ";c+=Z,o+=Z}return[c.slice(0,-1),o.slice(0,-1)]}function W4(a,l){let c={};for(let o in a){let[r,e]=Wh(a[o],l);if(e===""){c[o]="";continue}let h=$c(e,l),Z=h+(r===""?"":" "+r);X7[h]=[a[o],l],c[o]=Z}return c}var k8={};function S(){let a=null,l="",c="",o=Array(arguments.length),r="";for(let d=0;d<arguments.length;d++){let M=arguments[d];if(typeof M==="string"&&M!==""){let _=M.indexOf(y5);if(_===-1)M.split(" ").forEach((p)=>{if(p.startsWith(Jn)&&Y7[p])if(r)console.error(`mergeClasses(): a passed string contains multiple classes produced by makeResetStyles (${M} & ${l}, this will lead to non-deterministic behavior. Learn more:https://griffel.js.org/react/api/make-reset-styles#limitations
|
|
3
|
+
Source string: ${M}`);else r=p}),l+=M+" ";else{let p=M.substr(_,Ic);if(_>0)l+=M.slice(0,_);c+=p,o[d]=p}if(M.indexOf(y5,_+1)!==-1)console.error(`mergeClasses(): a passed string contains multiple identifiers of atomic classes (classes that start with "${y5}"), it's possible that passed classes were concatenated in a wrong way. Source string: ${M}`)}}if(c==="")return l.slice(0,-1);let e=k8[c];if(e!==void 0)return l+e;let h=[];for(let d=0;d<arguments.length;d++){let M=o[d];if(M){let _=X7[M];if(_){if(h.push(_[In]),a!==null&&a!==_[qh])console.error(`mergeClasses(): a passed string contains an identifier (${M}) that has different direction (dir="${_[1]?"rtl":"ltr"}") setting than other classes. This is not supported. Source string: ${arguments[d]}`);a=_[qh]}else console.error(`mergeClasses(): a passed string contains an identifier (${M}) that does not match any entry in cache. Source string: ${arguments[d]}`)}}let Z=Object.assign.apply(Object,[{}].concat(h)),[t,i]=Wh(Z,a),n=$c(i,a,o),v=n+" "+t;return k8[c]=v,X7[n]=[Z,a],l+v}var Xn={},Kn=/*@__PURE__*/new Set,O5={getChildrenSequences:(a)=>{let l=Object.keys(k8).find((c)=>k8[c].startsWith(a));if(l)return l.split(y5).filter((c)=>c.length).map((c)=>y5+c);return[]},addCSSRule:(a)=>{Kn.add(a)},addSequenceDetails:(a,l)=>{Object.entries(a).forEach(([c,o])=>{Xn[o.substring(0,Ic)]={slotName:c,sourceURL:l}})},getCSSRules:()=>{return Array.from(Kn)},getSequenceDetails:(a)=>{return Xn[a]}};function jn(a,l){return Array.isArray(a)?l==="rtl"?a[1]:a[0]:a||""}function Nn(a,l,c,o){let r=a[0],e=a[1];return Object.entries(r).map(([h,Z])=>{let t=jn(Z,e),i;if(c&&l){let n=c.find(({className:v})=>v===t);if(!n&&l[0][h])i=jn(l[0][h],l[1]);else if(n&&l[0][h])i=(o?o.filter(({debugClassNames:d})=>d.filter(({className:M})=>M===t).length>0).length>0:!1)?n.className:n.overriddenBy;else if(!n&&!l[0][h])i=void 0;else if(n&&!l[0][h])i=void 0}return{className:t,overriddenBy:i}})}function bh(a,l){let c=X7[a];if(c===void 0)return;let o=l?X7[l.sequenceHash]:void 0,r=Nn(c,o,l===null||l===void 0?void 0:l.debugClassNames,l===null||l===void 0?void 0:l.children),e={sequenceHash:a,direction:c[1],children:[],debugClassNames:r};if(O5.getChildrenSequences(e.sequenceHash).reverse().forEach((Z)=>{let t=bh(Z,e);if(t)e.children.push(t)}),!e.children.length)e.rules={},e.debugClassNames.forEach(({className:Z})=>{let t=O5.getSequenceDetails(a);if(t)e.slot=t.slotName,e.sourceURL=t.sourceURL;let i=O5.getCSSRules().find((n)=>{return n.includes(Z)});e.rules[Z]=i});return e}function ad(a){if(Y7[a]===void 0)return;let o={sequenceHash:a,direction:"ltr",children:[],debugClassNames:[{className:a}]};o.rules={},o.slot="makeResetStyles()";let[{className:r}]=o.debugClassNames,e=O5.getCSSRules().filter((h)=>{return h.includes(`.${r}`)});return o.rules[r]=e.join(""),o}function ld(a,l){let c=a?bh(a):void 0,o=l?ad(l):void 0;if(!c&&!o)return;if(!c)return o;if(!o)return c;return{sequenceHash:c.sequenceHash+o.sequenceHash,direction:c.direction,children:[c,o],debugClassNames:[...c.debugClassNames,...o.debugClassNames]}}function cd(a){let l=a.defaultView;if(!l||l.__GRIFFEL_DEVTOOLS__)return;let c={getInfo:(o)=>{let r,e;for(let h of o.classList){if(h.startsWith(y5))r=h;if(Y7[h])e=h}return ld(r,e)}};Object.defineProperty(l,"__GRIFFEL_DEVTOOLS__",{configurable:!1,enumerable:!1,get(){return c}})}var m7=/*@__PURE__*/(()=>{var a;try{return Boolean(typeof window<"u"&&((a=window.sessionStorage)===null||a===void 0?void 0:a.getItem("__GRIFFEL_DEVTOOLS__")))}catch(l){return!1}})();function od(a){if(!Array.isArray(a))return[a];if(a.length>2)throw Error("CSS Bucket contains an entry with greater than 2 items, please report this to https://github.com/microsoft/griffel/issues");return a}function rd(a,l,c,o){let r=[];if(o[E3]=l,o[Th]=String(c),a)for(let h in o)a.setAttribute(h,o[h]);function e(h){if(a===null||a===void 0?void 0:a.sheet)return a.sheet.insertRule(h,a.sheet.cssRules.length);return r.push(h)}return{elementAttributes:o,insertRule:e,element:a,bucketName:l,cssRules(){if(a===null||a===void 0?void 0:a.sheet)return Array.from(a.sheet.cssRules).map((h)=>h.cssText);return r}}}var hx=["r","d","l","v","w","f","i","h","a","s","k","t","m","c"],ed=/*@__PURE__*/hx.reduce((a,l,c)=>{return a[l]=c,a},{});function Zx(a,l,c){return(a==="m"?a+l:a)+c}function hd(a,l,c,o,r={}){var e,h;let Z=a==="m",t=(e=r.m)!==null&&e!==void 0?e:"0",i=(h=r.p)!==null&&h!==void 0?h:0,n=Zx(a,t,i);if(!o.stylesheets[n]){let v=l&&l.createElement("style"),d=rd(v,a,i,Object.assign({},o.styleElementAttributes,Z&&{media:t}));if(o.stylesheets[n]=d,(l===null||l===void 0?void 0:l.head)&&v)l.head.insertBefore(v,ix(l,c,a,o,r))}return o.stylesheets[n]}function tx(a,l,c){var o,r;let e=l+((o=c.m)!==null&&o!==void 0?o:""),h=a.getAttribute(E3)+((r=a.media)!==null&&r!==void 0?r:"");return e===h}function ix(a,l,c,o,r={}){var e,h;let Z=ed[c],t=(e=r.m)!==null&&e!==void 0?e:"",i=(h=r.p)!==null&&h!==void 0?h:0,n=(p)=>Z-ed[p.getAttribute(E3)],v=a.head.querySelectorAll(`[${E3}]`);if(c==="m"){let p=a.head.querySelectorAll(`[${E3}="${c}"]`);if(p.length)v=p,n=(A)=>o.compareMediaQueries(t,A.media)}let d=(p)=>{if(tx(p,c,r))return i-Number(p.getAttribute("data-priority"));return n(p)},M=v.length,_=M-1;while(_>=0){let p=v.item(_);if(d(p)>0)return p.nextSibling;_--}if(M>0)return v.item(0);return l?l.nextSibling:null}var vx=/*@__PURE__*/["-moz-placeholder","-moz-focus-inner","-moz-focusring","-ms-input-placeholder","-moz-read-write","-moz-read-only"].join("|"),nx=/*@__PURE__*/new RegExp(`:(${vx})`);function zh(a,l){try{a.insertRule(l)}catch(c){if(!nx.test(l))console.error(`There was a problem inserting the following rule: "${l}"`,c)}}var dx=0,Zd=(a,l)=>a<l?-1:a>l?1:0;function y8(a=typeof document>"u"?void 0:document,l={}){let{classNameHashSalt:c,unstable_filterCSSRule:o,insertionPoint:r,styleElementAttributes:e,compareMediaQueries:h=Zd}=l,Z={classNameHashSalt:c,insertionCache:{},stylesheets:{},styleElementAttributes:Object.freeze(e),compareMediaQueries:h,id:`d${dx++}`,insertCSSRules(t){for(let i in t){let n=t[i];for(let v=0,d=n.length;v<d;v++){let[M,_]=od(n[v]),p=hd(i,a,r||null,Z,_);if(Z.insertionCache[M])continue;if(Z.insertionCache[M]=i,m7)O5.addCSSRule(M);if(o){if(o(M))zh(p,M)}else zh(p,M)}}}};if(a&&!0&&m7)cd(a);return Z}function td(a){return Ax(a)||ux(a)||Vx(a)}var Mx=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)?\)?\s*$/i,px=/^\s*at ()((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)\s*$/i,_x=/\((\S*)\)/;function Ax(a){let l=Mx.exec(a)||px.exec(a);if(!l)return null;let c=l[2],o=c&&c.indexOf("native")===0,r=c&&c.indexOf("eval")===0,e=_x.exec(c);if(r&&e!=null)c=e[1];return{loc:!o?l[2]:null,name:l[1]||"<unknown>"}}var mx=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)\s*$/i,Hx=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function ux(a){let l=mx.exec(a);if(!l)return null;let c=l[3],o=c&&c.indexOf(" > eval")>-1,r=Hx.exec(c);if(o&&r!=null)c=r[1];return{loc:l[3],name:l[1]||"<unknown>"}}var sx=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?)\s*$/i;function Vx(a){let l=sx.exec(a);if(!l)return null;return{loc:l[3],name:l[1]||"<unknown>"}}function Yc(){let a=String(Error().stack).split(`
|
|
4
|
+
`),l=fx(a);if(l===void 0)return;let c=td(l);return c===null||c===void 0?void 0:c.loc}function fx(a){for(let l=a.length-1;l>=0;--l)if(a[l].includes("at getSourceURLfromError"))return a[l+3];return}var b4=()=>{let a={};return function(c,o){if(a[c.id]===void 0)c.insertCSSRules(o),a[c.id]=!0}};function Ih(a){return a.reduce(function(l,c){var o=c[0],r=c[1];return l[o]=r,l[r]=o,l},{})}function id(a){return typeof a==="boolean"}function vd(a){return typeof a==="function"}function z4(a){return typeof a==="number"}function nd(a){return a===null||typeof a>"u"}function dd(a){return a&&typeof a==="object"}function Md(a){return typeof a==="string"}function O8(a,l){return a.indexOf(l)!==-1}function pd(a){if(parseFloat(a)===0)return a;if(a[0]==="-")return a.slice(1);return"-"+a}function Q4(a,l,c,o){return l+pd(c)+o}function _d(a){var l=a.indexOf(".");if(l===-1)a=100-parseFloat(a)+"%";else{var c=a.length-l-2;a=100-parseFloat(a),a=a.toFixed(c)+"%"}return a}function $h(a){return a.replace(/ +/g," ").split(" ").map(function(l){return l.trim()}).filter(Boolean).reduce(function(l,c){var{list:o,state:r}=l,e=(c.match(/\(/g)||[]).length,h=(c.match(/\)/g)||[]).length;if(r.parensDepth>0)o[o.length-1]=o[o.length-1]+" "+c;else o.push(c);return r.parensDepth+=e-h,{list:o,state:r}},{list:[],state:{parensDepth:0}}).list}function Qh(a){var l=$h(a);if(l.length<=3||l.length>4)return a;var c=l[0],o=l[1],r=l[2],e=l[3];return[c,e,r,o].join(" ")}function Ad(a){return!id(a)&&!nd(a)}function md(a){var l=[],c=0,o=0,r=!1;while(o<a.length)if(!r&&a[o]===",")l.push(a.substring(c,o).trim()),o++,c=o;else if(a[o]==="(")r=!0,o++;else if(a[o]===")")r=!1,o++;else o++;if(c!=o)l.push(a.substring(c,o+1));return l}var b={padding:function(l){var c=l.value;if(z4(c))return c;return Qh(c)},textShadow:function(l){var c=l.value,o=md(c).map(function(r){return r.replace(/(^|\s)(-*)([.|\d]+)/,function(e,h,Z,t){if(t==="0")return e;var i=Z===""?"-":"";return""+h+i+t})});return o.join(",")},borderColor:function(l){var c=l.value;return Qh(c)},borderRadius:function(l){var c=l.value;if(z4(c))return c;if(O8(c,"/")){var o=c.split("/"),r=o[0],e=o[1],h=b.borderRadius({value:r.trim()}),Z=b.borderRadius({value:e.trim()});return h+" / "+Z}var t=$h(c);switch(t.length){case 2:return t.reverse().join(" ");case 4:{var i=t[0],n=t[1],v=t[2],d=t[3];return[n,i,d,v].join(" ")}default:return c}},background:function(l){var{value:c,valuesToConvert:o,isRtl:r,bgImgDirectionRegex:e,bgPosDirectionRegex:h}=l;if(z4(c))return c;var Z=c.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return c=c.replace(Z,b.backgroundPosition({value:Z,valuesToConvert:o,isRtl:r,bgPosDirectionRegex:h})),b.backgroundImage({value:c,valuesToConvert:o,bgImgDirectionRegex:e})},backgroundImage:function(l){var{value:c,valuesToConvert:o,bgImgDirectionRegex:r}=l;if(!O8(c,"url(")&&!O8(c,"linear-gradient("))return c;return c.replace(r,function(e,h,Z){return e.replace(Z,o[Z])})},backgroundPosition:function(l){var{value:c,valuesToConvert:o,isRtl:r,bgPosDirectionRegex:e}=l;return c.replace(r?/^((-|\d|\.)+%)/:null,function(h,Z){return _d(Z)}).replace(e,function(h){return o[h]})},backgroundPositionX:function(l){var{value:c,valuesToConvert:o,isRtl:r,bgPosDirectionRegex:e}=l;if(z4(c))return c;return b.backgroundPosition({value:c,valuesToConvert:o,isRtl:r,bgPosDirectionRegex:e})},transition:function(l){var{value:c,propertiesToConvert:o}=l;return c.split(/,\s*/g).map(function(r){var e=r.split(" ");return e[0]=o[e[0]]||e[0],e.join(" ")}).join(", ")},transitionProperty:function(l){var{value:c,propertiesToConvert:o}=l;return c.split(/,\s*/g).map(function(r){return o[r]||r}).join(", ")},transform:function(l){var c=l.value,o="[^\\u0020-\\u007e]",r="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",e="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+o+"|"+r+")")+("(?:[_a-z0-9-]|"+o+"|"+r+")")+"*")+")?")+")|(?:inherit|auto))",h=new RegExp("(translateX\\s*\\(\\s*)"+e+"(\\s*\\))","gi"),Z=new RegExp("(translate\\s*\\(\\s*)"+e+"((?:\\s*,\\s*"+e+"){0,1}\\s*\\))","gi"),t=new RegExp("(translate3d\\s*\\(\\s*)"+e+"((?:\\s*,\\s*"+e+"){0,2}\\s*\\))","gi"),i=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+e+"(\\s*\\))","gi");return c.replace(h,Q4).replace(Z,Q4).replace(t,Q4).replace(i,Q4)}};b.objectPosition=b.backgroundPosition;b.margin=b.padding;b.borderWidth=b.padding;b.boxShadow=b.textShadow;b.webkitBoxShadow=b.boxShadow;b.mozBoxShadow=b.boxShadow;b.WebkitBoxShadow=b.boxShadow;b.MozBoxShadow=b.boxShadow;b.borderStyle=b.borderColor;b.webkitTransform=b.transform;b.mozTransform=b.transform;b.WebkitTransform=b.transform;b.MozTransform=b.transform;b.transformOrigin=b.backgroundPosition;b.webkitTransformOrigin=b.transformOrigin;b.mozTransformOrigin=b.transformOrigin;b.WebkitTransformOrigin=b.transformOrigin;b.MozTransformOrigin=b.transformOrigin;b.webkitTransition=b.transition;b.mozTransition=b.transition;b.WebkitTransition=b.transition;b.MozTransition=b.transition;b.webkitTransitionProperty=b.transitionProperty;b.mozTransitionProperty=b.transitionProperty;b.WebkitTransitionProperty=b.transitionProperty;b.MozTransitionProperty=b.transitionProperty;b["text-shadow"]=b.textShadow;b["border-color"]=b.borderColor;b["border-radius"]=b.borderRadius;b["background-image"]=b.backgroundImage;b["background-position"]=b.backgroundPosition;b["background-position-x"]=b.backgroundPositionX;b["object-position"]=b.objectPosition;b["border-width"]=b.padding;b["box-shadow"]=b.textShadow;b["-webkit-box-shadow"]=b.textShadow;b["-moz-box-shadow"]=b.textShadow;b["border-style"]=b.borderColor;b["-webkit-transform"]=b.transform;b["-moz-transform"]=b.transform;b["transform-origin"]=b.transformOrigin;b["-webkit-transform-origin"]=b.transformOrigin;b["-moz-transform-origin"]=b.transformOrigin;b["-webkit-transition"]=b.transition;b["-moz-transition"]=b.transition;b["transition-property"]=b.transitionProperty;b["-webkit-transition-property"]=b.transitionProperty;b["-moz-transition-property"]=b.transitionProperty;var Yh=Ih([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),Hd=["content"],Jh=Ih([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),Fx=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),xx=new RegExp("(left)|(right)");function Xc(a){return Object.keys(a).reduce(function(l,c){var o=a[c];if(Md(o))o=o.trim();if(O8(Hd,c))return l[c]=o,l;var r=P8(c,o),e=r.key,h=r.value;return l[e]=h,l},Array.isArray(a)?[]:{})}function P8(a,l){var c=/\/\*\s?@noflip\s?\*\//.test(l),o=c?a:ud(a),r=c?l:sd(o,l);return{key:o,value:r}}function ud(a){return Yh[a]||a}function sd(a,l){if(!Ad(l))return l;if(dd(l))return Xc(l);var c=z4(l),o=vd(l),r=c||o?l:l.replace(/ !important.*?$/,""),e=!c&&r.length!==l.length,h=b[a],Z;if(h)Z=h({value:r,valuesToConvert:Jh,propertiesToConvert:Yh,isRtl:!0,bgImgDirectionRegex:Fx,bgPosDirectionRegex:xx});else Z=Jh[r]||r;if(e)return Z+" !important";return Z}var gx=/[A-Z]/g,Lx=/^ms-/,Xh={};function Cx(a){return"-"+a.toLowerCase()}function K7(a){if(Object.prototype.hasOwnProperty.call(Xh,a))return Xh[a];if(a.substr(0,2)==="--")return a;let l=a.replace(gx,Cx);return Xh[a]=Lx.test(l)?"-"+l:l}function Kc(a){if(a.charAt(0)==="&")return a.slice(1);return a}var J4="-moz-",P5="-webkit-",jc="comm",j7="rule",I4="decl";var Vd="@media",fd="@import";var Fd="@supports";var xd="@namespace",gd="@keyframes";var Nc="@layer";var Kh=Math.abs,$4=String.fromCharCode,jh=Object.assign;function Ld(a,l){return A0(a,0)^45?(((l<<2^A0(a,0))<<2^A0(a,1))<<2^A0(a,2))<<2^A0(a,3):0}function ao(a){return a.trim()}function lo(a,l){return(a=l.exec(a))?a[0]:a}function E0(a,l,c){return a.replace(l,c)}function co(a,l,c){return a.indexOf(l,c)}function A0(a,l){return a.charCodeAt(l)|0}function H7(a,l,c){return a.slice(l,c)}function $0(a){return a.length}function oo(a){return a.length}function u7(a,l){return l.push(a),a}function Nh(a,l){return a.map(l).join("")}var ro=1,Y4=1,Cd=0,C5=0,c0=0,X4="";function T8(a,l,c,o,r,e,h,Z){return{value:a,root:l,parent:c,type:o,props:r,children:e,line:ro,column:Y4,length:h,return:"",siblings:Z}}function eo(a,l){return jh(T8("",null,null,"",null,null,0,a.siblings),a,{length:-a.length},l)}function Rd(){return c0}function wd(){if(c0=C5>0?A0(X4,--C5):0,Y4--,c0===10)Y4=1,ro--;return c0}function R5(){if(c0=C5<Cd?A0(X4,C5++):0,Y4++,c0===10)Y4=1,ro++;return c0}function s7(){return A0(X4,C5)}function E8(){return C5}function ho(a,l){return H7(X4,a,l)}function q3(a){switch(a){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function lZ(a){return ro=Y4=1,Cd=$0(X4=a),C5=0,[]}function cZ(a){return X4="",a}function q8(a){return ao(ho(C5-1,aZ(a===91?a+2:a===40?a+1:a)))}function Sd(a){return cZ(Rx(lZ(a)))}function Gd(a){while(c0=s7())if(c0<33)R5();else break;return q3(a)>2||q3(c0)>3?"":" "}function Rx(a){while(R5())switch(q3(c0)){case 0:u7(oZ(C5-1),a);break;case 2:u7(q8(c0),a);break;default:u7($4(c0),a)}return a}function Ud(a,l){while(--l&&R5())if(c0<48||c0>102||c0>57&&c0<65||c0>70&&c0<97)break;return ho(a,E8()+(l<6&&s7()==32&&R5()==32))}function aZ(a){while(R5())switch(c0){case a:return C5;case 34:case 39:if(a!==34&&a!==39)aZ(c0);break;case 40:if(a===41)aZ(a);break;case 92:R5();break}return C5}function Dd(a,l){while(R5())if(a+c0===57)break;else if(a+c0===84&&s7()===47)break;return"/*"+ho(l,C5-1)+"*"+$4(a===47?a:R5())}function oZ(a){while(!q3(s7()))R5();return ho(a,C5)}function to(a){return cZ(Zo("",null,null,null,[""],a=lZ(a),0,[0],a))}function Zo(a,l,c,o,r,e,h,Z,t){var i=0,n=0,v=h,d=0,M=0,_=0,p=1,A=1,m=1,u=0,V="",s=r,F=e,L=o,C=V;while(A)switch(_=u,u=R5()){case 40:if(_!=108&&A0(C,v-1)==58){if(co(C+=E0(q8(u),"&","&\f"),"&\f",Kh(i?Z[i-1]:0))!=-1)m=-1;break}case 34:case 39:case 91:C+=q8(u);break;case 9:case 10:case 13:case 32:C+=Gd(_);break;case 92:C+=Ud(E8()-1,7);continue;case 47:switch(s7()){case 42:case 47:if(u7(wx(Dd(R5(),E8()),l,c,t),t),(q3(_||1)==5||q3(s7()||1)==5)&&$0(C)&&H7(C,-1,void 0)!==" ")C+=" ";break;default:C+="/"}break;case 123*p:Z[i++]=$0(C)*m;case 125*p:case 59:case 0:switch(u){case 0:case 125:A=0;case 59+n:if(m==-1)C=E0(C,/\f/g,"");if(M>0&&($0(C)-v||p===0&&_===47))u7(M>32?kd(C+";",o,c,v-1,t):kd(E0(C," ","")+";",o,c,v-2,t),t);break;case 59:C+=";";default:if(u7(L=Bd(C,l,c,i,n,r,Z,V,s=[],F=[],v,e),e),u===123)if(n===0)Zo(C,l,L,L,s,e,v,Z,F);else{switch(d){case 99:if(A0(C,3)===110)break;case 108:if(A0(C,2)===97)break;default:n=0;case 100:case 109:case 115:}if(n)Zo(a,L,L,o&&u7(Bd(a,L,L,0,0,r,Z,V,r,s=[],v,F),F),r,F,v,Z,o?s:F);else Zo(C,L,L,L,[""],F,0,Z,F)}}i=n=M=0,p=m=1,V=C="",v=h;break;case 58:v=1+$0(C),M=_;default:if(p<1){if(u==123)--p;else if(u==125&&p++==0&&wd()==125)continue}switch(C+=$4(u),u*p){case 38:m=n>0?1:(C+="\f",-1);break;case 44:Z[i++]=($0(C)-1)*m,m=1;break;case 64:if(s7()===45)C+=q8(R5());d=s7(),n=v=$0(V=C+=oZ(E8())),u++;break;case 45:if(_===45&&$0(C)==2)p=0}}return e}function Bd(a,l,c,o,r,e,h,Z,t,i,n,v){var d=r-1,M=r===0?e:[""],_=oo(M);for(var p=0,A=0,m=0;p<o;++p)for(var u=0,V=H7(a,d+1,d=Kh(A=h[p])),s=a;u<_;++u)if(s=ao(A>0?M[u]+" "+V:E0(V,/&\f/g,M[u])))t[m++]=s;return T8(a,l,c,r===0?j7:Z,t,i,n,v)}function wx(a,l,c,o){return T8(a,l,c,jc,$4(Rd()),H7(a,2,-2),0,o)}function kd(a,l,c,o,r){return T8(a,l,c,I4,H7(a,0,o),H7(a,o+1,-1),o,r)}function V7(a,l){var c="";for(var o=0;o<a.length;o++)c+=l(a[o],o,a,l)||"";return c}function io(a,l,c,o){switch(a.type){case Nc:if(a.children.length)break;case fd:case xd:case I4:return a.return=a.return||a.value;case jc:return"";case gd:return a.return=a.value+"{"+V7(a.children,o)+"}";case j7:if(!$0(a.value=a.props.join(",")))return""}return $0(c=V7(a.children,o))?a.return=a.value+"{"+c+"}":""}function vo(a){var l=oo(a);return function(c,o,r,e){var h="";for(var Z=0;Z<l;Z++)h+=a[Z](c,o,r,e)||"";return h}}function no(a){return function(l){if(!l.root){if(l=l.return)a(l)}}}var yd=(a)=>{switch(a.type){case j7:if(typeof a.props==="string")throw Error(`"element.props" has type "string" (${JSON.stringify(a.props,null,2)}), it's not expected. Please report a bug if it happens.`);a.props=a.props.map((l)=>{if(l.indexOf(":global(")===-1)return l;return Sd(l).reduce((c,o,r,e)=>{if(o==="")return c;if(o===":"&&e[r+1]==="global"){let h=e[r+2].slice(1,-1)+" ";return c.unshift(h),e[r+1]="",e[r+2]="",c}return c.push(o),c},[]).join("")})}};function Od(a,l,c){switch(Ld(a,l)){case 5103:return P5+"print-"+a+a;case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:return P5+a+a;case 4215:if(A0(a,9)===102)return P5+a+a;if(A0(a,l+1)===116)return P5+a+a;break;case 4789:return J4+a+a;case 5349:case 4246:case 6968:return P5+a+J4+a+a;case 6187:if(!lo(a,/grab/))return E0(E0(E0(a,/(zoom-|grab)/,P5+"$1"),/(image-set)/,P5+"$1"),a,"")+a;case 5495:case 3959:return E0(a,/(image-set\([^]*)/,P5+"$1$`$1");case 4095:case 3583:case 4068:case 2532:return E0(a,/(.+)-inline(.+)/,P5+"$1$2")+a;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if($0(a)-1-l>6)switch(A0(a,l+1)){case 102:if(A0(a,l+3)===108)return E0(a,/(.+:)(.+)-([^]+)/,"$1"+P5+"$2-$3$1"+J4+(A0(a,l+3)==108?"$3":"$2-$3"))+a;case 115:return~co(a,"stretch")?Od(E0(a,"stretch","fill-available"),l)+a:a}break}return a}function Mo(a,l,c,o){if(a.length>-1){if(!a.return)switch(a.type){case I4:a.return=Od(a.value,a.length);return;case j7:if(a.length)return Nh(a.props,function(r){switch(lo(r,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return V7([eo(a,{props:[E0(r,/:(read-\w+)/,":"+J4+"$1")]})],o);case"::placeholder":return V7([eo(a,{props:[E0(r,/:(plac\w+)/,":"+P5+"input-$1")]}),eo(a,{props:[E0(r,/:(plac\w+)/,":"+J4+"$1")]})],o)}return""})}}return}function Pd(a){switch(a.type){case"@container":case Vd:case Fd:case Nc:return!0}return!1}var Td=(a)=>{if(Pd(a)&&Array.isArray(a.children))a.children.sort((l,c)=>l.props[0]>c.props[0]?1:-1)};function Sx(){}function Ed(a,l){let c=[];return V7(to(a),vo([yd,l?Td:Sx,Mo,io,no((o)=>c.push(o))])),c}var Gx=/,( *[^ &])/g;function Ux(a){return"&"+Kc(a.replace(Gx,",&$1"))}function qd(a,l,c){let o=l;if(c.length>0)o=c.reduceRight((r,e)=>{return`${Ux(e)} { ${r} }`},l);return`${a}{${o}}`}function rZ(a,l){let{className:c,selectors:o,property:r,rtlClassName:e,rtlProperty:h,rtlValue:Z,value:t}=a,{container:i,layer:n,media:v,supports:d}=l,M=`.${c}`,_=Array.isArray(t)?`${t.map((A)=>`${K7(r)}: ${A}`).join(";")};`:`${K7(r)}: ${t};`,p=qd(M,_,o);if(h&&e){let A=`.${e}`,m=Array.isArray(Z)?`${Z.map((u)=>`${K7(h)}: ${u}`).join(";")};`:`${K7(h)}: ${Z};`;p+=qd(A,m,o)}if(v)p=`@media ${v} { ${p} }`;if(n)p=`@layer ${n} { ${p} }`;if(d)p=`@supports ${d} { ${p} }`;if(i)p=`@container ${i} { ${p} }`;return Ed(p,!0)}function Wd(a){let l="";for(let c in a){let o=a[c];if(typeof o==="string"||typeof o==="number"){l+=K7(c)+":"+o+";";continue}if(Array.isArray(o))for(let r of o)l+=K7(c)+":"+r+";"}return l}function eZ(a){let l="";for(let c in a)l+=`${c}{${Wd(a[c])}}`;return l}function hZ(a,l){let c=`@keyframes ${a} {${l}}`,o=[];return V7(to(c),vo([io,Mo,no((r)=>o.push(r))])),o}var bd={animation:[-1,["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimeline","animationTimingFunction"]],animationRange:[-1,["animationRangeEnd","animationRangeStart"]],background:[-2,["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"]],backgroundPosition:[-1,["backgroundPositionX","backgroundPositionY"]],border:[-2,["borderBottom","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderTop","borderTopColor","borderTopStyle","borderTopWidth"]],borderBottom:[-1,["borderBottomColor","borderBottomStyle","borderBottomWidth"]],borderImage:[-1,["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"]],borderLeft:[-1,["borderLeftColor","borderLeftStyle","borderLeftWidth"]],borderRadius:[-1,["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"]],borderRight:[-1,["borderRightColor","borderRightStyle","borderRightWidth"]],borderTop:[-1,["borderTopColor","borderTopStyle","borderTopWidth"]],caret:[-1,["caretColor","caretShape"]],columnRule:[-1,["columnRuleColor","columnRuleStyle","columnRuleWidth"]],columns:[-1,["columnCount","columnWidth"]],containIntrinsicSize:[-1,["containIntrinsicHeight","containIntrinsicWidth"]],container:[-1,["containerName","containerType"]],flex:[-1,["flexBasis","flexGrow","flexShrink"]],flexFlow:[-1,["flexDirection","flexWrap"]],font:[-1,["fontFamily","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","lineHeight"]],gap:[-1,["columnGap","rowGap"]],grid:[-1,["columnGap","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumnGap","gridRowGap","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","rowGap"]],gridArea:[-1,["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"]],gridColumn:[-1,["gridColumnEnd","gridColumnStart"]],gridRow:[-1,["gridRowEnd","gridRowStart"]],gridTemplate:[-1,["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"]],inset:[-1,["bottom","left","right","top"]],insetBlock:[-1,["insetBlockEnd","insetBlockStart"]],insetInline:[-1,["insetInlineEnd","insetInlineStart"]],listStyle:[-1,["listStyleImage","listStylePosition","listStyleType"]],margin:[-1,["marginBottom","marginLeft","marginRight","marginTop"]],marginBlock:[-1,["marginBlockEnd","marginBlockStart"]],marginInline:[-1,["marginInlineEnd","marginInlineStart"]],mask:[-1,["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize"]],maskBorder:[-1,["maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth"]],offset:[-1,["offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate"]],outline:[-1,["outlineColor","outlineStyle","outlineWidth"]],overflow:[-1,["overflowX","overflowY"]],overscrollBehavior:[-1,["overscrollBehaviorX","overscrollBehaviorY"]],padding:[-1,["paddingBottom","paddingLeft","paddingRight","paddingTop"]],paddingBlock:[-1,["paddingBlockEnd","paddingBlockStart"]],paddingInline:[-1,["paddingInlineEnd","paddingInlineStart"]],placeContent:[-1,["alignContent","justifyContent"]],placeItems:[-1,["alignItems","justifyItems"]],placeSelf:[-1,["alignSelf","justifySelf"]],scrollMargin:[-1,["scrollMarginBottom","scrollMarginLeft","scrollMarginRight","scrollMarginTop"]],scrollMarginBlock:[-1,["scrollMarginBlockEnd","scrollMarginBlockStart"]],scrollMarginInline:[-1,["scrollMarginInlineEnd","scrollMarginInlineStart"]],scrollPadding:[-1,["scrollPaddingBottom","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop"]],scrollPaddingBlock:[-1,["scrollPaddingBlockEnd","scrollPaddingBlockStart"]],scrollPaddingInline:[-1,["scrollPaddingInlineEnd","scrollPaddingInlineStart"]],scrollTimeline:[-1,["scrollTimelineAxis","scrollTimelineName"]],textDecoration:[-1,["textDecorationColor","textDecorationLine","textDecorationStyle","textDecorationThickness"]],textEmphasis:[-1,["textEmphasisColor","textEmphasisStyle"]],transition:[-1,["transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"]],viewTimeline:[-1,["viewTimelineAxis","viewTimelineName"]]};function ZZ(a,l){if(a.length===0)return l;return`${a} and ${l}`}function zd(a){return a.substr(0,6)==="@media"}function Qd(a){return a.substr(0,6)==="@layer"}var Dx=/^(:|\[|>|&)/;function Jd(a){return Dx.test(a)}function Id(a){return a.substr(0,9)==="@supports"}function $d(a){return a.substring(0,10)==="@container"}function Yd(a){return a!=null&&typeof a==="object"&&Array.isArray(a)===!1}var Xd={"us-w":"w","us-v":"i",nk:"l",si:"v",cu:"f",ve:"h",ti:"a"};function tZ(a,l){if(l.media)return"m";if(l.layer||l.supports)return"t";if(l.container)return"c";if(a.length>0){let c=a[0].trim();if(c.charCodeAt(0)===58)return Xd[c.slice(4,8)]||Xd[c.slice(3,5)]||"d"}return"d"}function po(a,l){return a?l+a:a}function iZ(a){return po(a.container,"c")+po(a.media,"m")+po(a.layer,"l")+po(a.supports,"s")}function _o(a,l,c){let o=a+iZ(c)+l,r=y2(o),e=r.charCodeAt(0);if(e>=48&&e<=57)return String.fromCharCode(e+17)+r.slice(1);return r}function W8({property:a,selector:l,salt:c,value:o},r){return B8+y2(c+l+iZ(r)+a+o.trim())}function Kd(a){return a===q4}function Ao(a){return a.replace(/>\s+/g,">")}function mo(...a){if(typeof document<"u")console.error(...a)}function jd(a,l){mo(/*@__PURE__*/(()=>{let o=JSON.stringify(l,null,2),r=["@griffel/react: A rule was not resolved to CSS properly. Please check your `makeStyles` or `makeResetStyles` calls for following:"," ".repeat(2)+"makeStyles({"," ".repeat(4)+"[slot]: {"," ".repeat(6)+`"${a}": ${o.split(`
|
|
5
5
|
`).map((e,h)=>" ".repeat(h===0?0:6)+e).join(`
|
|
6
6
|
`)}`," ".repeat(4)+"}"," ".repeat(2)+"})",""];if(a.indexOf("&")===-1)r.push("It looks that you're are using a nested selector, but it is missing an ampersand placeholder where the generated class name should be injected."),r.push(`Try to update a property to include it i.e "${a}" => "&${a}".`);else r.push(""),r.push("If it's not obvious what triggers a problem, please report an issue at https://github.com/microsoft/griffel/issues");return r.join(`
|
|
7
|
-
`)})())}function
|
|
8
|
-
`))())}function
|
|
7
|
+
`)})())}function Nd(a,l){mo(/*@__PURE__*/(()=>[`@griffel/react: You are using unsupported shorthand CSS property "${a}". Please check your "makeStyles" calls, there *should not* be following:`," ".repeat(2)+"makeStyles({"," ".repeat(4)+`[slot]: { ${a}: "${l}" }`," ".repeat(2)+"})","","Learn why CSS shorthands are not supported: https://aka.ms/griffel-css-shorthands"].join(`
|
|
8
|
+
`))())}function aM(a){return bd[a]}function lM(a){var l;return(l=a===null||a===void 0?void 0:a[0])!==null&&l!==void 0?l:0}function vZ(a,l,c,o){a[l]=o?[c,o]:c}function cM(a,l){if(l.length>0)return[a,Object.fromEntries(l)];return a}function nZ(a,l,c,o,r,e){var h;let Z=[];if(e!==0)Z.push(["p",e]);if(l==="m"&&r)Z.push(["m",r]);if((h=a[l])!==null&&h!==void 0||(a[l]=[]),c)a[l].push(cM(c,Z));if(o)a[l].push(cM(o,Z))}function O2(a,l="",c=[],o={container:"",layer:"",media:"",supports:""},r={},e={},h){for(let Z in a){if($n.hasOwnProperty(Z)){Nd(Z,a[Z]);continue}let t=a[Z];if(t==null)continue;if(Kd(t)){let i=Ao(c.join("")),n=_o(i,Z,o);vZ(r,n,0,void 0);continue}if(typeof t==="string"||typeof t==="number"){let i=Ao(c.join("")),n=aM(Z);if(n){let s=n[1],F=Object.fromEntries(s.map((L)=>[L,q4]));O2(F,l,c,o,r,e)}let v=_o(i,Z,o),d=W8({value:t.toString(),salt:l,selector:i,property:Z},o),M=h&&{key:Z,value:h}||P8(Z,t),_=M.key!==Z||M.value!==t,p=_?W8({value:M.value.toString(),property:M.key,salt:l,selector:i},o):void 0,A=_?{rtlClassName:p,rtlProperty:M.key,rtlValue:M.value}:void 0,m=tZ(c,o),[u,V]=rZ(Object.assign({className:d,selectors:c,property:Z,value:t},A),o);vZ(r,v,d,p),nZ(e,m,u,V,o.media,lM(n))}else if(Z==="animationName"){let i=Array.isArray(t)?t:[t],n=[],v=[];for(let d of i){let M=eZ(d),_=eZ(Xc(d)),p=B8+y2(M),A,m=hZ(p,M),u=[];if(M===_)A=p;else A=B8+y2(_),u=hZ(A,_);for(let V=0;V<m.length;V++)nZ(e,"k",m[V],u[V],o.media,0);n.push(p),v.push(A)}O2({animationName:n.join(", ")},l,c,o,r,e,v.join(", "))}else if(Array.isArray(t)){if(t.length===0){console.warn(`makeStyles(): An empty array was passed as input to "${Z}", the property will be omitted in the styles.`);continue}let i=Ao(c.join("")),n=aM(Z);if(n){let F=n[1],L=Object.fromEntries(F.map((C)=>[C,q4]));O2(L,l,c,o,r,e)}let v=_o(i,Z,o),d=W8({value:t.map((F)=>(F!==null&&F!==void 0?F:"").toString()).join(";"),salt:l,selector:i,property:Z},o),M=t.map((F)=>P8(Z,F));if(!!M.some((F)=>F.key!==M[0].key)){console.error("makeStyles(): mixing CSS fallback values which result in multiple CSS properties in RTL is not supported.");continue}let p=M[0].key!==Z||M.some((F,L)=>F.value!==t[L]),A=p?W8({value:M.map((F)=>{var L;return((L=F===null||F===void 0?void 0:F.value)!==null&&L!==void 0?L:"").toString()}).join(";"),salt:l,property:M[0].key,selector:i},o):void 0,m=p?{rtlClassName:A,rtlProperty:M[0].key,rtlValue:M.map((F)=>F.value)}:void 0,u=tZ(c,o),[V,s]=rZ(Object.assign({className:d,selectors:c,property:Z,value:t},m),o);vZ(r,v,d,A),nZ(e,u,V,s,o.media,lM(n))}else if(Yd(t))if(Jd(Z))O2(t,l,c.concat(Kc(Z)),o,r,e);else if(zd(Z)){let i=ZZ(o.media,Z.slice(6).trim());O2(t,l,c,Object.assign({},o,{media:i}),r,e)}else if(Qd(Z)){let i=(o.layer?`${o.layer}.`:"")+Z.slice(6).trim();O2(t,l,c,Object.assign({},o,{layer:i}),r,e)}else if(Id(Z)){let i=ZZ(o.supports,Z.slice(9).trim());O2(t,l,c,Object.assign({},o,{supports:i}),r,e)}else if($d(Z)){let i=Z.slice(10).trim();O2(t,l,c,Object.assign({},o,{container:i}),r,e)}else jd(Z,t)}return[r,e]}function oM(a,l=""){let c={},o={};for(let r in a){let e=a[r],[h,Z]=O2(e,l);c[r]=h,Object.keys(Z).forEach((t)=>{o[t]=(o[t]||[]).concat(Z[t])})}return[c,o]}function dZ(a,l=b4){let c=l(),o=null,r=null,e=null,h=null,Z;if(m7)Z=Yc();let t;function i(n){let{dir:v,renderer:d}=n;if(o===null){if([o,r]=oM(a,d.classNameHashSalt),d.classNameHashSalt){if(t!==d.classNameHashSalt)console.error(["@griffel/core:",`
|
|
9
9
|
|
|
10
|
-
`,'A provided renderer has different "classNameHashSalt".',"This is not supported and WILL cause issues with classnames generation.",'Ensure that all renderers created with "createDOMRenderer()" have the same "classNameHashSalt".'].join(" "));t=d.classNameHashSalt}}let M=v==="ltr";if(M){if(e===null)e=W4(o,v)}else if(h===null)h=W4(o,v);c(d,r);let _=M?e:h;if(m7)O5.addSequenceDetails(_,Z);return _}return i}function b8(a,l,c=b4){let o=c(),r=null,e=null,h;if(m7)h=Xc();function Z(t){let{dir:i,renderer:n}=t,v=i==="ltr";if(v){if(r===null)r=W4(a,i)}else if(e===null)e=W4(a,i);o(n,l);let d=v?r:e;if(m7)O5.addSequenceDetails(d,h);return d}return Z}function MZ(a,l,c,o=b4){let r=o();function e(h){let{dir:Z,renderer:t}=h,i=Z==="ltr"?a:l||a;return r(t,Array.isArray(c)?{r:c}:c),Y7[i]=1,i}return e}function ZM(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}var f={};Ch(f,{version:()=>LZ,useTransition:()=>FZ,useSyncExternalStore:()=>sZ,useState:()=>h1,useRef:()=>y,useReducer:()=>a2,useMemo:()=>v1,useLayoutEffect:()=>T2,useInsertionEffect:()=>xZ,useImperativeHandle:()=>Y0,useId:()=>Vo,useErrorBoundary:()=>AZ,useEffect:()=>X,useDeferredValue:()=>fZ,useDebugValue:()=>so,useContext:()=>l1,useCallback:()=>Q,unstable_batchedUpdates:()=>Q8,unmountComponentAtNode:()=>PM,startTransition:()=>VZ,render:()=>UM,memo:()=>Fo,lazy:()=>SM,isValidElement:()=>Z5,isMemo:()=>OM,isFragment:()=>yM,isElement:()=>qM,hydrate:()=>DM,forwardRef:()=>z,flushSync:()=>EM,findDOMNode:()=>TM,default:()=>CZ,createRef:()=>h5,createPortal:()=>xo,createFactory:()=>kM,createElement:()=>c1,createContext:()=>e1,cloneElement:()=>b3,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>BM,SuspenseList:()=>j4,Suspense:()=>z8,StrictMode:()=>i1,PureComponent:()=>fo,Fragment:()=>i1,Component:()=>e5,Children:()=>T5});var f7,Q1,pZ,tM,K4=0,AM=[],o0=p1,iM=o0.__b,vM=o0.__r,nM=o0.diffed,dM=o0.__c,MM=o0.unmount,pM=o0.__;function W3(a,l){o0.__h&&o0.__h(Q1,a,K4||l),K4=0;var c=Q1.__H||(Q1.__H={__:[],__h:[]});return a>=c.__.length&&c.__.push({}),c.__[a]}function h1(a){return K4=1,a2(mM,a)}function a2(a,l,c){var o=W3(f7++,2);if(o.t=a,!o.__c&&(o.__=[c?c(l):mM(void 0,l),function(Z){var t=o.__N?o.__N[0]:o.__[0],i=o.t(t,Z);t!==i&&(o.__N=[i,o.__[1]],o.__c.setState({}))}],o.__c=Q1,!Q1.__f)){var r=function(Z,t,i){if(!o.__c.__H)return!0;var n=o.__c.__H.__.filter(function(d){return d.__c});if(n.every(function(d){return!d.__N}))return!e||e.call(this,Z,t,i);var v=o.__c.props!==Z;return n.some(function(d){if(d.__N){var M=d.__[0];d.__=d.__N,d.__N=void 0,M!==d.__[0]&&(v=!0)}}),e&&e.call(this,Z,t,i)||v};Q1.__f=!0;var{shouldComponentUpdate:e,componentWillUpdate:h}=Q1;Q1.componentWillUpdate=function(Z,t,i){if(this.__e){var n=e;e=void 0,r(Z,t,i),e=n}h&&h.call(this,Z,t,i)},Q1.shouldComponentUpdate=r}return o.__N||o.__}function X(a,l){var c=W3(f7++,3);!o0.__s&&mZ(c.__H,l)&&(c.__=a,c.u=l,Q1.__H.__h.push(c))}function T2(a,l){var c=W3(f7++,4);!o0.__s&&mZ(c.__H,l)&&(c.__=a,c.u=l,Q1.__h.push(c))}function y(a){return K4=5,v1(function(){return{current:a}},[])}function Y0(a,l,c){K4=6,T2(function(){if(typeof a=="function"){var o=a(l());return function(){a(null),o&&typeof o=="function"&&o()}}if(a)return a.current=l(),function(){return a.current=null}},c==null?c:c.concat(a))}function v1(a,l){var c=W3(f7++,7);return mZ(c.__H,l)&&(c.__=a(),c.__H=l,c.__h=a),c.__}function Q(a,l){return K4=8,v1(function(){return a},l)}function l1(a){var l=Q1.context[a.__c],c=W3(f7++,9);return c.c=a,l?(c.__==null&&(c.__=!0,l.sub(Q1)),l.props.value):a.__}function so(a,l){o0.useDebugValue&&o0.useDebugValue(l?l(a):a)}function AZ(a){var l=W3(f7++,10),c=h1();return l.__=a,Q1.componentDidCatch||(Q1.componentDidCatch=function(o,r){l.__&&l.__(o,r),c[1](o)}),[c[0],function(){c[1](void 0)}]}function Vo(){var a=W3(f7++,11);if(!a.__){for(var l=Q1.__v;l!==null&&!l.__m&&l.__!==null;)l=l.__;var c=l.__m||(l.__m=[0,0]);a.__="P"+c[0]+"-"+c[1]++}return a.__}function yx(){for(var a;a=AM.shift();){var l=a.__H;if(a.__P&&l)try{l.__h.some(uo),l.__h.some(_Z),l.__h=[]}catch(c){l.__h=[],o0.__e(c,a.__v)}}}o0.__b=function(a){Q1=null,iM&&iM(a)},o0.__=function(a,l){a&&l.__k&&l.__k.__m&&(a.__m=l.__k.__m),pM&&pM(a,l)},o0.__r=function(a){vM&&vM(a),f7=0;var l=(Q1=a.__c).__H;l&&(pZ===Q1?(l.__h=[],Q1.__h=[],l.__.some(function(c){c.__N&&(c.__=c.__N),c.u=c.__N=void 0})):(l.__h.some(uo),l.__h.some(_Z),l.__h=[],f7=0)),pZ=Q1},o0.diffed=function(a){nM&&nM(a);var l=a.__c;l&&l.__H&&(l.__H.__h.length&&(AM.push(l)!==1&&tM===o0.requestAnimationFrame||((tM=o0.requestAnimationFrame)||Ox)(yx)),l.__H.__.some(function(c){c.u&&(c.__H=c.u),c.u=void 0})),pZ=Q1=null},o0.__c=function(a,l){l.some(function(c){try{c.__h.some(uo),c.__h=c.__h.filter(function(o){return!o.__||_Z(o)})}catch(o){l.some(function(r){r.__h&&(r.__h=[])}),l=[],o0.__e(o,c.__v)}}),dM&&dM(a,l)},o0.unmount=function(a){MM&&MM(a);var l,c=a.__c;c&&c.__H&&(c.__H.__.some(function(o){try{uo(o)}catch(r){l=r}}),c.__H=void 0,l&&o0.__e(l,c.__v))};var _M=typeof requestAnimationFrame=="function";function Ox(a){var l,c=function(){clearTimeout(o),_M&&cancelAnimationFrame(l),setTimeout(a)},o=setTimeout(c,35);_M&&(l=requestAnimationFrame(c))}function uo(a){var l=Q1,c=a.__c;typeof c=="function"&&(a.__c=void 0,c()),Q1=l}function _Z(a){var l=Q1;a.__c=a.__(),Q1=l}function mZ(a,l){return!a||a.length!==l.length||l.some(function(c,o){return c!==a[o]})}function mM(a,l){return typeof l=="function"?l(a):l}function LM(a,l){for(var c in l)a[c]=l[c];return a}function uZ(a,l){for(var c in a)if(c!=="__source"&&!(c in l))return!0;for(var o in l)if(o!=="__source"&&a[o]!==l[o])return!0;return!1}function sZ(a,l){var c=l(),o=h1({t:{__:c,u:l}}),r=o[0].t,e=o[1];return T2(function(){r.__=c,r.u=l,HZ(r)&&e({t:r})},[a,c,l]),X(function(){return HZ(r)&&e({t:r}),a(function(){HZ(r)&&e({t:r})})},[a]),c}function HZ(a){try{return!((l=a.__)===(c=a.u())&&(l!==0||1/l==1/c)||l!=l&&c!=c)}catch(o){return!0}var l,c}function VZ(a){a()}function fZ(a){return a}function FZ(){return[!1,VZ]}var xZ=T2;function fo(a,l){this.props=a,this.context=l}function Fo(a,l){function c(r){var e=this.props.ref;return e!=r.ref&&e&&(typeof e=="function"?e(null):e.current=null),l?!l(this.props,r)||e!=r.ref:uZ(this.props,r)}function o(r){return this.shouldComponentUpdate=c,c1(a,r)}return o.displayName="Memo("+(a.displayName||a.name)+")",o.__f=o.prototype.isReactComponent=!0,o.type=a,o}(fo.prototype=new e5).isPureReactComponent=!0,fo.prototype.shouldComponentUpdate=function(a,l){return uZ(this.props,a)||uZ(this.state,l)};var HM=p1.__b;p1.__b=function(a){a.type&&a.type.__f&&a.ref&&(a.props.ref=a.ref,a.ref=null),HM&&HM(a)};var Px=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function z(a){function l(c){var o=LM({},c);return delete o.ref,a(o,c.ref||null)}return l.$$typeof=Px,l.render=a,l.prototype.isReactComponent=l.__f=!0,l.displayName="ForwardRef("+(a.displayName||a.name)+")",l}var uM=function(a,l){return a==null?null:y2(y2(a).map(l))},T5={map:uM,forEach:uM,count:function(a){return a?y2(a).length:0},only:function(a){var l=y2(a);if(l.length!==1)throw"Children.only";return l[0]},toArray:y2},Tx=p1.__e;p1.__e=function(a,l,c,o){if(a.then){for(var r,e=l;e=e.__;)if((r=e.__c)&&r.__c)return l.__e==null&&(l.__e=c.__e,l.__k=c.__k),r.__c(a,l)}Tx(a,l,c,o)};var sM=p1.unmount;function CM(a,l,c){return a&&(a.__c&&a.__c.__H&&(a.__c.__H.__.forEach(function(o){typeof o.__c=="function"&&o.__c()}),a.__c.__H=null),(a=LM({},a)).__c!=null&&(a.__c.__P===c&&(a.__c.__P=l),a.__c.__e=!0,a.__c=null),a.__k=a.__k&&a.__k.map(function(o){return CM(o,l,c)})),a}function RM(a,l,c){return a&&c&&(a.__v=null,a.__k=a.__k&&a.__k.map(function(o){return RM(o,l,c)}),a.__c&&a.__c.__P===l&&(a.__e&&c.appendChild(a.__e),a.__c.__e=!0,a.__c.__P=c)),a}function z8(){this.__u=0,this.o=null,this.__b=null}function wM(a){var l=a.__&&a.__.__c;return l&&l.__a&&l.__a(a)}function SM(a){var l,c,o,r=null;function e(h){if(l||(l=a()).then(function(Z){Z&&(r=Z.default||Z),o=!0},function(Z){c=Z,o=!0}),c)throw c;if(!o)throw l;return r?c1(r,h):null}return e.displayName="Lazy",e.__f=!0,e}function j4(){this.i=null,this.l=null}p1.unmount=function(a){var l=a.__c;l&&(l.__z=!0),l&&l.__R&&l.__R(),l&&32&a.__u&&(a.type=null),sM&&sM(a)},(z8.prototype=new e5).__c=function(a,l){var c=l.__c,o=this;o.o==null&&(o.o=[]),o.o.push(c);var r=wM(o.__v),e=!1,h=function(){e||o.__z||(e=!0,c.__R=null,r?r(t):t())};c.__R=h;var Z=c.__P;c.__P=null;var t=function(){if(!--o.__u){if(o.state.__a){var i=o.state.__a;o.__v.__k[0]=RM(i,i.__c.__P,i.__c.__O)}var n;for(o.setState({__a:o.__b=null});n=o.o.pop();)n.__P=Z,n.forceUpdate()}};o.__u++||32&l.__u||o.setState({__a:o.__b=o.__v.__k[0]}),a.then(h,h)},z8.prototype.componentWillUnmount=function(){this.o=[]},z8.prototype.render=function(a,l){if(this.__b){if(this.__v.__k){var c=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=CM(this.__b,c,o.__O=o.__P)}this.__b=null}var r=l.__a&&c1(i1,null,a.fallback);return r&&(r.__u&=-33),[c1(i1,null,l.__a?null:a.children),r]};var VM=function(a,l,c){if(++c[1]===c[0]&&a.l.delete(l),a.props.revealOrder&&(a.props.revealOrder[0]!=="t"||!a.l.size))for(c=a.i;c;){for(;c.length>3;)c.pop()();if(c[1]<c[0])break;a.i=c=c[2]}};function Ex(a){return this.getChildContext=function(){return a.context},a.children}function qx(a){var l=this,c=a.h;if(l.componentWillUnmount=function(){A7(null,l.v),l.v=null,l.h=null},l.h&&l.h!==c&&l.componentWillUnmount(),!l.v){for(var o=l.__v;o!==null&&!o.__m&&o.__!==null;)o=o.__;l.h=c,l.v={nodeType:1,parentNode:c,childNodes:[],__k:{__m:o.__m},contains:function(){return!0},namespaceURI:c.namespaceURI,insertBefore:function(r,e){this.childNodes.push(r),l.h.insertBefore(r,e)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),l.h.removeChild(r)}}}A7(c1(Ex,{context:l.context},a.__v),l.v)}function xo(a,l){var c=c1(qx,{__v:a,h:l});return c.containerInfo=l,c}(j4.prototype=new e5).__a=function(a){var l=this,c=wM(l.__v),o=l.l.get(a);return o[0]++,function(r){var e=function(){l.props.revealOrder?(o.push(r),VM(l,a,o)):r()};c?c(e):e()}},j4.prototype.render=function(a){this.i=null,this.l=/*@__PURE__*/new Map;var l=y2(a.children);a.revealOrder&&a.revealOrder[0]==="b"&&l.reverse();for(var c=l.length;c--;)this.l.set(l[c],this.i=[1,0,this.i]);return a.children},j4.prototype.componentDidUpdate=j4.prototype.componentDidMount=function(){var a=this;this.l.forEach(function(l,c){VM(a,c,l)})};var GM=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Wx=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,bx=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,zx=/[A-Z0-9]/g,Qx=typeof document<"u",Jx=function(a){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(a)};function UM(a,l,c){return l.__k==null&&(l.textContent=""),A7(a,l),typeof c=="function"&&c(),a?a.__c:null}function DM(a,l,c){return Oh(a,l),typeof c=="function"&&c(),a?a.__c:null}e5.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(a){Object.defineProperty(e5.prototype,a,{configurable:!0,get:function(){return this["UNSAFE_"+a]},set:function(l){Object.defineProperty(this,a,{configurable:!0,writable:!0,value:l})}})});var fM=p1.event;p1.event=function(a){return fM&&(a=fM(a)),a.persist=function(){},a.isPropagationStopped=function(){return this.cancelBubble},a.isDefaultPrevented=function(){return this.defaultPrevented},a.nativeEvent=a};var gZ,Ix={configurable:!0,get:function(){return this.class}},FM=p1.vnode;p1.vnode=function(a){typeof a.type=="string"&&function(l){var{props:c,type:o}=l,r={},e=o.indexOf("-")==-1;for(var h in c){var Z=c[h];if(!(h==="value"&&("defaultValue"in c)&&Z==null||Qx&&h==="children"&&o==="noscript"||h==="class"||h==="className")){var t=h.toLowerCase();h==="defaultValue"&&"value"in c&&c.value==null?h="value":h==="download"&&Z===!0?Z="":t==="translate"&&Z==="no"?Z=!1:t[0]==="o"&&t[1]==="n"?t==="ondoubleclick"?h="ondblclick":t!=="onchange"||o!=="input"&&o!=="textarea"||Jx(c.type)?t==="onfocus"?h="onfocusin":t==="onblur"?h="onfocusout":bx.test(h)&&(h=t):t=h="oninput":e&&Wx.test(h)?h=h.replace(zx,"-$&").toLowerCase():Z===null&&(Z=void 0),t==="oninput"&&r[h=t]&&(h="oninputCapture"),r[h]=Z}}o=="select"&&(r.multiple&&Array.isArray(r.value)&&(r.value=y2(c.children).forEach(function(i){i.props.selected=r.value.indexOf(i.props.value)!=-1})),r.defaultValue!=null&&(r.value=y2(c.children).forEach(function(i){i.props.selected=r.multiple?r.defaultValue.indexOf(i.props.value)!=-1:r.defaultValue==i.props.value}))),c.class&&!c.className?(r.class=c.class,Object.defineProperty(r,"className",Ix)):c.className&&(r.class=r.className=c.className),l.props=r}(a),a.$$typeof=GM,FM&&FM(a)};var xM=p1.__r;p1.__r=function(a){xM&&xM(a),gZ=a.__c};var gM=p1.diffed;p1.diffed=function(a){gM&&gM(a);var{props:l,__e:c}=a;c!=null&&a.type==="textarea"&&"value"in l&&l.value!==c.value&&(c.value=l.value==null?"":l.value),gZ=null};var BM={ReactCurrentDispatcher:{current:{readContext:function(a){return gZ.__n[a.__c].props.value},useCallback:Q,useContext:l1,useDebugValue:so,useDeferredValue:fZ,useEffect:X,useId:Vo,useImperativeHandle:Y0,useInsertionEffect:xZ,useLayoutEffect:T2,useMemo:v1,useReducer:a2,useRef:y,useState:h1,useSyncExternalStore:sZ,useTransition:FZ}}},LZ="18.3.1";function kM(a){return c1.bind(null,a)}function Z5(a){return!!a&&a.$$typeof===GM}function yM(a){return Z5(a)&&a.type===i1}function OM(a){return!!a&&typeof a.displayName=="string"&&a.displayName.indexOf("Memo(")==0}function b3(a){return Z5(a)?In.apply(null,arguments):a}function PM(a){return!!a.__k&&(A7(null,a),!0)}function TM(a){return a&&(a.base||a.nodeType===1&&a)||null}var Q8=function(a,l){return a(l)},EM=function(a,l){var c=p1.debounceRendering;p1.debounceRendering=function(r){return r()};var o=a(l);return p1.debounceRendering=c,o},qM=Z5,CZ={useState:h1,useId:Vo,useReducer:a2,useEffect:X,useLayoutEffect:T2,useInsertionEffect:xZ,useTransition:FZ,useDeferredValue:fZ,useSyncExternalStore:sZ,startTransition:VZ,useRef:y,useImperativeHandle:Y0,useMemo:v1,useCallback:Q,useContext:l1,useDebugValue:so,version:"18.3.1",Children:T5,render:UM,hydrate:DM,unmountComponentAtNode:PM,createPortal:xo,createElement:c1,createContext:e1,createFactory:kM,cloneElement:b3,createRef:h5,Fragment:i1,isValidElement:Z5,isElement:qM,isFragment:yM,isMemo:OM,findDOMNode:TM,Component:e5,PureComponent:fo,memo:Fo,forwardRef:z,flushSync:EM,unstable_batchedUpdates:Q8,StrictMode:i1,Suspense:z8,SuspenseList:j4,lazy:SM,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:BM};var RZ=f.useInsertionEffect?f.useInsertionEffect:void 0;var N4=()=>{let a={};return function(c,o){if(RZ&&ZM()){RZ(()=>{c.insertCSSRules(o)},[c,o]);return}if(a[c.id]===void 0)c.insertCSSRules(o),a[c.id]=!0}};var $x=/*@__PURE__*/e1(/*@__PURE__*/y8());function l2(){return l1($x)}var WM=/*@__PURE__*/e1("ltr"),wZ=({children:a,dir:l})=>{return/*@__PURE__*/c1(WM.Provider,{value:l},a)};function a6(){return l1(WM)}function Yx(){try{return f["".concat("__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE")].H}catch(a){}try{return f["".concat("__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED")].ReactCurrentDispatcher.current}catch(a){}}function bM(){try{let a=Yx();if(a===null||a===void 0)return!1;return a.useContext({}),!0}catch(a){return!1}}function l6(a){let l=dZ(a,N4);if(bM())throw Error(["makeStyles(): this function cannot be called in component's scope.","All makeStyles() calls should be top level i.e. in a root scope of a file."].join(" "));return function(){let o=a6(),r=l2();return l({dir:o,renderer:r})}}function D(a,l){let c=b8(a,l,N4);return function(){let r=a6(),e=l2();return c({dir:r,renderer:e})}}function j(a,l,c){let o=MZ(a,l,c,N4);return function(){let e=a6(),h=l2();return o({dir:e,renderer:h})}}var cg={"<":"\\3C ",">":"\\3E "};function og(a){return a.replace(/[<>]/g,(l)=>cg[l])}function J8(a,l){if(l){let c=Object.keys(l).reduce((o,r)=>{return`${o}--${r}: ${l[r]}; `},"");return`${a} { ${og(c)} }`}return`${a} {}`}var U={};Ch(U,{resolveShorthand:()=>SZ,optional:()=>rg,always:()=>go});var F7=Symbol.for("fui.slotRenderFunction"),X0=Symbol.for("fui.slotElementType"),c6=Symbol.for("fui.slotClassNameProp");function go(a,l){let{defaultProps:c,elementType:o}=l,r=SZ(a),e={...c,...r,[X0]:o,[c6]:(r===null||r===void 0?void 0:r.className)||(c===null||c===void 0?void 0:c.className)};if(r&&typeof r.children==="function")e[F7]=r.children,e.children=c===null||c===void 0?void 0:c.children;return e}function rg(a,l){if(a===null||a===void 0&&!l.renderByDefault)return;return go(a,l)}function SZ(a){if(typeof a==="string"||typeof a==="number"||eg(a)||Z5(a))return{children:a};if(a&&typeof a!=="object")console.error(`@fluentui/react-utilities [slot.${SZ.name}]:
|
|
10
|
+
`,'A provided renderer has different "classNameHashSalt".',"This is not supported and WILL cause issues with classnames generation.",'Ensure that all renderers created with "createDOMRenderer()" have the same "classNameHashSalt".'].join(" "));t=d.classNameHashSalt}}let M=v==="ltr";if(M){if(e===null)e=W4(o,v)}else if(h===null)h=W4(o,v);c(d,r);let _=M?e:h;if(m7)O5.addSequenceDetails(_,Z);return _}return i}function b8(a,l,c=b4){let o=c(),r=null,e=null,h;if(m7)h=Yc();function Z(t){let{dir:i,renderer:n}=t,v=i==="ltr";if(v){if(r===null)r=W4(a,i)}else if(e===null)e=W4(a,i);o(n,l);let d=v?r:e;if(m7)O5.addSequenceDetails(d,h);return d}return Z}function MZ(a,l,c,o=b4){let r=o();function e(h){let{dir:Z,renderer:t}=h,i=Z==="ltr"?a:l||a;return r(t,Array.isArray(c)?{r:c}:c),Y7[i]=1,i}return e}function rM(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}var f={};Ch(f,{version:()=>LZ,useTransition:()=>FZ,useSyncExternalStore:()=>sZ,useState:()=>h1,useRef:()=>y,useReducer:()=>N5,useMemo:()=>v1,useLayoutEffect:()=>P2,useInsertionEffect:()=>xZ,useImperativeHandle:()=>Y0,useId:()=>so,useErrorBoundary:()=>AZ,useEffect:()=>X,useDeferredValue:()=>fZ,useDebugValue:()=>uo,useContext:()=>l1,useCallback:()=>Q,unstable_batchedUpdates:()=>Q8,unmountComponentAtNode:()=>kM,startTransition:()=>VZ,render:()=>wM,memo:()=>fo,lazy:()=>CM,isValidElement:()=>Z5,isMemo:()=>BM,isFragment:()=>DM,isElement:()=>PM,hydrate:()=>SM,forwardRef:()=>z,flushSync:()=>OM,findDOMNode:()=>yM,default:()=>CZ,createRef:()=>h5,createPortal:()=>Fo,createFactory:()=>UM,createElement:()=>c1,createContext:()=>e1,cloneElement:()=>b3,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>GM,SuspenseList:()=>j4,Suspense:()=>z8,StrictMode:()=>i1,PureComponent:()=>Vo,Fragment:()=>i1,Component:()=>e5,Children:()=>T5});var f7,Q1,pZ,eM,K4=0,MM=[],o0=p1,hM=o0.__b,ZM=o0.__r,tM=o0.diffed,iM=o0.__c,vM=o0.unmount,nM=o0.__;function W3(a,l){o0.__h&&o0.__h(Q1,a,K4||l),K4=0;var c=Q1.__H||(Q1.__H={__:[],__h:[]});return a>=c.__.length&&c.__.push({}),c.__[a]}function h1(a){return K4=1,N5(pM,a)}function N5(a,l,c){var o=W3(f7++,2);if(o.t=a,!o.__c&&(o.__=[c?c(l):pM(void 0,l),function(Z){var t=o.__N?o.__N[0]:o.__[0],i=o.t(t,Z);t!==i&&(o.__N=[i,o.__[1]],o.__c.setState({}))}],o.__c=Q1,!Q1.__f)){var r=function(Z,t,i){if(!o.__c.__H)return!0;var n=o.__c.__H.__.filter(function(d){return d.__c});if(n.every(function(d){return!d.__N}))return!e||e.call(this,Z,t,i);var v=o.__c.props!==Z;return n.some(function(d){if(d.__N){var M=d.__[0];d.__=d.__N,d.__N=void 0,M!==d.__[0]&&(v=!0)}}),e&&e.call(this,Z,t,i)||v};Q1.__f=!0;var{shouldComponentUpdate:e,componentWillUpdate:h}=Q1;Q1.componentWillUpdate=function(Z,t,i){if(this.__e){var n=e;e=void 0,r(Z,t,i),e=n}h&&h.call(this,Z,t,i)},Q1.shouldComponentUpdate=r}return o.__N||o.__}function X(a,l){var c=W3(f7++,3);!o0.__s&&mZ(c.__H,l)&&(c.__=a,c.u=l,Q1.__H.__h.push(c))}function P2(a,l){var c=W3(f7++,4);!o0.__s&&mZ(c.__H,l)&&(c.__=a,c.u=l,Q1.__h.push(c))}function y(a){return K4=5,v1(function(){return{current:a}},[])}function Y0(a,l,c){K4=6,P2(function(){if(typeof a=="function"){var o=a(l());return function(){a(null),o&&typeof o=="function"&&o()}}if(a)return a.current=l(),function(){return a.current=null}},c==null?c:c.concat(a))}function v1(a,l){var c=W3(f7++,7);return mZ(c.__H,l)&&(c.__=a(),c.__H=l,c.__h=a),c.__}function Q(a,l){return K4=8,v1(function(){return a},l)}function l1(a){var l=Q1.context[a.__c],c=W3(f7++,9);return c.c=a,l?(c.__==null&&(c.__=!0,l.sub(Q1)),l.props.value):a.__}function uo(a,l){o0.useDebugValue&&o0.useDebugValue(l?l(a):a)}function AZ(a){var l=W3(f7++,10),c=h1();return l.__=a,Q1.componentDidCatch||(Q1.componentDidCatch=function(o,r){l.__&&l.__(o,r),c[1](o)}),[c[0],function(){c[1](void 0)}]}function so(){var a=W3(f7++,11);if(!a.__){for(var l=Q1.__v;l!==null&&!l.__m&&l.__!==null;)l=l.__;var c=l.__m||(l.__m=[0,0]);a.__="P"+c[0]+"-"+c[1]++}return a.__}function Bx(){for(var a;a=MM.shift();){var l=a.__H;if(a.__P&&l)try{l.__h.some(Ho),l.__h.some(_Z),l.__h=[]}catch(c){l.__h=[],o0.__e(c,a.__v)}}}o0.__b=function(a){Q1=null,hM&&hM(a)},o0.__=function(a,l){a&&l.__k&&l.__k.__m&&(a.__m=l.__k.__m),nM&&nM(a,l)},o0.__r=function(a){ZM&&ZM(a),f7=0;var l=(Q1=a.__c).__H;l&&(pZ===Q1?(l.__h=[],Q1.__h=[],l.__.some(function(c){c.__N&&(c.__=c.__N),c.u=c.__N=void 0})):(l.__h.some(Ho),l.__h.some(_Z),l.__h=[],f7=0)),pZ=Q1},o0.diffed=function(a){tM&&tM(a);var l=a.__c;l&&l.__H&&(l.__H.__h.length&&(MM.push(l)!==1&&eM===o0.requestAnimationFrame||((eM=o0.requestAnimationFrame)||kx)(Bx)),l.__H.__.some(function(c){c.u&&(c.__H=c.u),c.u=void 0})),pZ=Q1=null},o0.__c=function(a,l){l.some(function(c){try{c.__h.some(Ho),c.__h=c.__h.filter(function(o){return!o.__||_Z(o)})}catch(o){l.some(function(r){r.__h&&(r.__h=[])}),l=[],o0.__e(o,c.__v)}}),iM&&iM(a,l)},o0.unmount=function(a){vM&&vM(a);var l,c=a.__c;c&&c.__H&&(c.__H.__.some(function(o){try{Ho(o)}catch(r){l=r}}),c.__H=void 0,l&&o0.__e(l,c.__v))};var dM=typeof requestAnimationFrame=="function";function kx(a){var l,c=function(){clearTimeout(o),dM&&cancelAnimationFrame(l),setTimeout(a)},o=setTimeout(c,35);dM&&(l=requestAnimationFrame(c))}function Ho(a){var l=Q1,c=a.__c;typeof c=="function"&&(a.__c=void 0,c()),Q1=l}function _Z(a){var l=Q1;a.__c=a.__(),Q1=l}function mZ(a,l){return!a||a.length!==l.length||l.some(function(c,o){return c!==a[o]})}function pM(a,l){return typeof l=="function"?l(a):l}function FM(a,l){for(var c in l)a[c]=l[c];return a}function uZ(a,l){for(var c in a)if(c!=="__source"&&!(c in l))return!0;for(var o in l)if(o!=="__source"&&a[o]!==l[o])return!0;return!1}function sZ(a,l){var c=l(),o=h1({t:{__:c,u:l}}),r=o[0].t,e=o[1];return P2(function(){r.__=c,r.u=l,HZ(r)&&e({t:r})},[a,c,l]),X(function(){return HZ(r)&&e({t:r}),a(function(){HZ(r)&&e({t:r})})},[a]),c}function HZ(a){try{return!((l=a.__)===(c=a.u())&&(l!==0||1/l==1/c)||l!=l&&c!=c)}catch(o){return!0}var l,c}function VZ(a){a()}function fZ(a){return a}function FZ(){return[!1,VZ]}var xZ=P2;function Vo(a,l){this.props=a,this.context=l}function fo(a,l){function c(r){var e=this.props.ref;return e!=r.ref&&e&&(typeof e=="function"?e(null):e.current=null),l?!l(this.props,r)||e!=r.ref:uZ(this.props,r)}function o(r){return this.shouldComponentUpdate=c,c1(a,r)}return o.displayName="Memo("+(a.displayName||a.name)+")",o.__f=o.prototype.isReactComponent=!0,o.type=a,o}(Vo.prototype=new e5).isPureReactComponent=!0,Vo.prototype.shouldComponentUpdate=function(a,l){return uZ(this.props,a)||uZ(this.state,l)};var _M=p1.__b;p1.__b=function(a){a.type&&a.type.__f&&a.ref&&(a.props.ref=a.ref,a.ref=null),_M&&_M(a)};var yx=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function z(a){function l(c){var o=FM({},c);return delete o.ref,a(o,c.ref||null)}return l.$$typeof=yx,l.render=a,l.prototype.isReactComponent=l.__f=!0,l.displayName="ForwardRef("+(a.displayName||a.name)+")",l}var AM=function(a,l){return a==null?null:k2(k2(a).map(l))},T5={map:AM,forEach:AM,count:function(a){return a?k2(a).length:0},only:function(a){var l=k2(a);if(l.length!==1)throw"Children.only";return l[0]},toArray:k2},Ox=p1.__e;p1.__e=function(a,l,c,o){if(a.then){for(var r,e=l;e=e.__;)if((r=e.__c)&&r.__c)return l.__e==null&&(l.__e=c.__e,l.__k=c.__k),r.__c(a,l)}Ox(a,l,c,o)};var mM=p1.unmount;function xM(a,l,c){return a&&(a.__c&&a.__c.__H&&(a.__c.__H.__.forEach(function(o){typeof o.__c=="function"&&o.__c()}),a.__c.__H=null),(a=FM({},a)).__c!=null&&(a.__c.__P===c&&(a.__c.__P=l),a.__c.__e=!0,a.__c=null),a.__k=a.__k&&a.__k.map(function(o){return xM(o,l,c)})),a}function gM(a,l,c){return a&&c&&(a.__v=null,a.__k=a.__k&&a.__k.map(function(o){return gM(o,l,c)}),a.__c&&a.__c.__P===l&&(a.__e&&c.appendChild(a.__e),a.__c.__e=!0,a.__c.__P=c)),a}function z8(){this.__u=0,this.o=null,this.__b=null}function LM(a){var l=a.__&&a.__.__c;return l&&l.__a&&l.__a(a)}function CM(a){var l,c,o,r=null;function e(h){if(l||(l=a()).then(function(Z){Z&&(r=Z.default||Z),o=!0},function(Z){c=Z,o=!0}),c)throw c;if(!o)throw l;return r?c1(r,h):null}return e.displayName="Lazy",e.__f=!0,e}function j4(){this.i=null,this.l=null}p1.unmount=function(a){var l=a.__c;l&&(l.__z=!0),l&&l.__R&&l.__R(),l&&32&a.__u&&(a.type=null),mM&&mM(a)},(z8.prototype=new e5).__c=function(a,l){var c=l.__c,o=this;o.o==null&&(o.o=[]),o.o.push(c);var r=LM(o.__v),e=!1,h=function(){e||o.__z||(e=!0,c.__R=null,r?r(t):t())};c.__R=h;var Z=c.__P;c.__P=null;var t=function(){if(!--o.__u){if(o.state.__a){var i=o.state.__a;o.__v.__k[0]=gM(i,i.__c.__P,i.__c.__O)}var n;for(o.setState({__a:o.__b=null});n=o.o.pop();)n.__P=Z,n.forceUpdate()}};o.__u++||32&l.__u||o.setState({__a:o.__b=o.__v.__k[0]}),a.then(h,h)},z8.prototype.componentWillUnmount=function(){this.o=[]},z8.prototype.render=function(a,l){if(this.__b){if(this.__v.__k){var c=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=xM(this.__b,c,o.__O=o.__P)}this.__b=null}var r=l.__a&&c1(i1,null,a.fallback);return r&&(r.__u&=-33),[c1(i1,null,l.__a?null:a.children),r]};var HM=function(a,l,c){if(++c[1]===c[0]&&a.l.delete(l),a.props.revealOrder&&(a.props.revealOrder[0]!=="t"||!a.l.size))for(c=a.i;c;){for(;c.length>3;)c.pop()();if(c[1]<c[0])break;a.i=c=c[2]}};function Px(a){return this.getChildContext=function(){return a.context},a.children}function Tx(a){var l=this,c=a.h;if(l.componentWillUnmount=function(){A7(null,l.v),l.v=null,l.h=null},l.h&&l.h!==c&&l.componentWillUnmount(),!l.v){for(var o=l.__v;o!==null&&!o.__m&&o.__!==null;)o=o.__;l.h=c,l.v={nodeType:1,parentNode:c,childNodes:[],__k:{__m:o.__m},contains:function(){return!0},namespaceURI:c.namespaceURI,insertBefore:function(r,e){this.childNodes.push(r),l.h.insertBefore(r,e)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),l.h.removeChild(r)}}}A7(c1(Px,{context:l.context},a.__v),l.v)}function Fo(a,l){var c=c1(Tx,{__v:a,h:l});return c.containerInfo=l,c}(j4.prototype=new e5).__a=function(a){var l=this,c=LM(l.__v),o=l.l.get(a);return o[0]++,function(r){var e=function(){l.props.revealOrder?(o.push(r),HM(l,a,o)):r()};c?c(e):e()}},j4.prototype.render=function(a){this.i=null,this.l=/*@__PURE__*/new Map;var l=k2(a.children);a.revealOrder&&a.revealOrder[0]==="b"&&l.reverse();for(var c=l.length;c--;)this.l.set(l[c],this.i=[1,0,this.i]);return a.children},j4.prototype.componentDidUpdate=j4.prototype.componentDidMount=function(){var a=this;this.l.forEach(function(l,c){HM(a,c,l)})};var RM=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,Ex=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,qx=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Wx=/[A-Z0-9]/g,bx=typeof document<"u",zx=function(a){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(a)};function wM(a,l,c){return l.__k==null&&(l.textContent=""),A7(a,l),typeof c=="function"&&c(),a?a.__c:null}function SM(a,l,c){return Oh(a,l),typeof c=="function"&&c(),a?a.__c:null}e5.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(a){Object.defineProperty(e5.prototype,a,{configurable:!0,get:function(){return this["UNSAFE_"+a]},set:function(l){Object.defineProperty(this,a,{configurable:!0,writable:!0,value:l})}})});var uM=p1.event;p1.event=function(a){return uM&&(a=uM(a)),a.persist=function(){},a.isPropagationStopped=function(){return this.cancelBubble},a.isDefaultPrevented=function(){return this.defaultPrevented},a.nativeEvent=a};var gZ,Qx={configurable:!0,get:function(){return this.class}},sM=p1.vnode;p1.vnode=function(a){typeof a.type=="string"&&function(l){var{props:c,type:o}=l,r={},e=o.indexOf("-")==-1;for(var h in c){var Z=c[h];if(!(h==="value"&&("defaultValue"in c)&&Z==null||bx&&h==="children"&&o==="noscript"||h==="class"||h==="className")){var t=h.toLowerCase();h==="defaultValue"&&"value"in c&&c.value==null?h="value":h==="download"&&Z===!0?Z="":t==="translate"&&Z==="no"?Z=!1:t[0]==="o"&&t[1]==="n"?t==="ondoubleclick"?h="ondblclick":t!=="onchange"||o!=="input"&&o!=="textarea"||zx(c.type)?t==="onfocus"?h="onfocusin":t==="onblur"?h="onfocusout":qx.test(h)&&(h=t):t=h="oninput":e&&Ex.test(h)?h=h.replace(Wx,"-$&").toLowerCase():Z===null&&(Z=void 0),t==="oninput"&&r[h=t]&&(h="oninputCapture"),r[h]=Z}}o=="select"&&(r.multiple&&Array.isArray(r.value)&&(r.value=k2(c.children).forEach(function(i){i.props.selected=r.value.indexOf(i.props.value)!=-1})),r.defaultValue!=null&&(r.value=k2(c.children).forEach(function(i){i.props.selected=r.multiple?r.defaultValue.indexOf(i.props.value)!=-1:r.defaultValue==i.props.value}))),c.class&&!c.className?(r.class=c.class,Object.defineProperty(r,"className",Qx)):c.className&&(r.class=r.className=c.className),l.props=r}(a),a.$$typeof=RM,sM&&sM(a)};var VM=p1.__r;p1.__r=function(a){VM&&VM(a),gZ=a.__c};var fM=p1.diffed;p1.diffed=function(a){fM&&fM(a);var{props:l,__e:c}=a;c!=null&&a.type==="textarea"&&"value"in l&&l.value!==c.value&&(c.value=l.value==null?"":l.value),gZ=null};var GM={ReactCurrentDispatcher:{current:{readContext:function(a){return gZ.__n[a.__c].props.value},useCallback:Q,useContext:l1,useDebugValue:uo,useDeferredValue:fZ,useEffect:X,useId:so,useImperativeHandle:Y0,useInsertionEffect:xZ,useLayoutEffect:P2,useMemo:v1,useReducer:N5,useRef:y,useState:h1,useSyncExternalStore:sZ,useTransition:FZ}}},LZ="18.3.1";function UM(a){return c1.bind(null,a)}function Z5(a){return!!a&&a.$$typeof===RM}function DM(a){return Z5(a)&&a.type===i1}function BM(a){return!!a&&typeof a.displayName=="string"&&a.displayName.indexOf("Memo(")==0}function b3(a){return Z5(a)?zn.apply(null,arguments):a}function kM(a){return!!a.__k&&(A7(null,a),!0)}function yM(a){return a&&(a.base||a.nodeType===1&&a)||null}var Q8=function(a,l){return a(l)},OM=function(a,l){var c=p1.debounceRendering;p1.debounceRendering=function(r){return r()};var o=a(l);return p1.debounceRendering=c,o},PM=Z5,CZ={useState:h1,useId:so,useReducer:N5,useEffect:X,useLayoutEffect:P2,useInsertionEffect:xZ,useTransition:FZ,useDeferredValue:fZ,useSyncExternalStore:sZ,startTransition:VZ,useRef:y,useImperativeHandle:Y0,useMemo:v1,useCallback:Q,useContext:l1,useDebugValue:uo,version:"18.3.1",Children:T5,render:wM,hydrate:SM,unmountComponentAtNode:kM,createPortal:Fo,createElement:c1,createContext:e1,createFactory:UM,cloneElement:b3,createRef:h5,Fragment:i1,isValidElement:Z5,isElement:PM,isFragment:DM,isMemo:BM,findDOMNode:yM,Component:e5,PureComponent:Vo,memo:fo,forwardRef:z,flushSync:OM,unstable_batchedUpdates:Q8,StrictMode:i1,Suspense:z8,SuspenseList:j4,lazy:CM,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:GM};var RZ=f.useInsertionEffect?f.useInsertionEffect:void 0;var N4=()=>{let a={};return function(c,o){if(RZ&&rM()){RZ(()=>{c.insertCSSRules(o)},[c,o]);return}if(a[c.id]===void 0)c.insertCSSRules(o),a[c.id]=!0}};var Jx=/*@__PURE__*/e1(/*@__PURE__*/y8());function a2(){return l1(Jx)}var TM=/*@__PURE__*/e1("ltr"),wZ=({children:a,dir:l})=>{return/*@__PURE__*/c1(TM.Provider,{value:l},a)};function a6(){return l1(TM)}function Ix(){try{return f["".concat("__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE")].H}catch(a){}try{return f["".concat("__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED")].ReactCurrentDispatcher.current}catch(a){}}function EM(){try{let a=Ix();if(a===null||a===void 0)return!1;return a.useContext({}),!0}catch(a){return!1}}function l6(a){let l=dZ(a,N4);if(EM())throw Error(["makeStyles(): this function cannot be called in component's scope.","All makeStyles() calls should be top level i.e. in a root scope of a file."].join(" "));return function(){let o=a6(),r=a2();return l({dir:o,renderer:r})}}function D(a,l){let c=b8(a,l,N4);return function(){let r=a6(),e=a2();return c({dir:r,renderer:e})}}function j(a,l,c){let o=MZ(a,l,c,N4);return function(){let e=a6(),h=a2();return o({dir:e,renderer:h})}}var ag={"<":"\\3C ",">":"\\3E "};function lg(a){return a.replace(/[<>]/g,(l)=>ag[l])}function J8(a,l){if(l){let c=Object.keys(l).reduce((o,r)=>{return`${o}--${r}: ${l[r]}; `},"");return`${a} { ${lg(c)} }`}return`${a} {}`}var U={};Ch(U,{resolveShorthand:()=>SZ,optional:()=>cg,always:()=>xo});var F7=Symbol.for("fui.slotRenderFunction"),X0=Symbol.for("fui.slotElementType"),c6=Symbol.for("fui.slotClassNameProp");function xo(a,l){let{defaultProps:c,elementType:o}=l,r=SZ(a),e={...c,...r,[X0]:o,[c6]:(r===null||r===void 0?void 0:r.className)||(c===null||c===void 0?void 0:c.className)};if(r&&typeof r.children==="function")e[F7]=r.children,e.children=c===null||c===void 0?void 0:c.children;return e}function cg(a,l){if(a===null||a===void 0&&!l.renderByDefault)return;return xo(a,l)}function SZ(a){if(typeof a==="string"||typeof a==="number"||og(a)||Z5(a))return{children:a};if(a&&typeof a!=="object")console.error(`@fluentui/react-utilities [slot.${SZ.name}]:
|
|
11
11
|
A slot got an invalid value "${a}" (${typeof a}).
|
|
12
12
|
A valid value for a slot is a slot shorthand or slot properties object.
|
|
13
|
-
Slot shorthands can be strings, numbers, arrays or JSX elements`);return a}var
|
|
13
|
+
Slot shorthands can be strings, numbers, arrays or JSX elements`);return a}var og=(a)=>typeof a==="object"&&a!==null&&(Symbol.iterator in a);function o6(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&!Z5(a)}function z3(a){return Boolean(a===null||a===void 0?void 0:a.hasOwnProperty(X0))}function J(a){{let l=a;for(let c of Object.keys(l.components)){let o=l[c];if(o===void 0)continue;if(!z3(o))l[c]=xo(o,{elementType:l.components[c]}),console.warn(`@fluentui/react-utilities [${J.name}]:
|
|
14
14
|
"state.${c}" is not a slot!
|
|
15
15
|
Be sure to create slots properly by using "slot.always" or "slot.optional".`);else{let{[X0]:r}=o;if(r!==l.components[c])o[X0]=l.components[c],console.warn(`@fluentui/react-utilities [${J.name}]:
|
|
16
16
|
"state.${c}" element type differs from "state.components.${c}",
|
|
17
17
|
${r} !== ${l.components[c]}.
|
|
18
|
-
Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`)}}}}var X1=(...a)=>{let l={};for(let c of a){let o=Array.isArray(c)?c:Object.keys(c);for(let r of o)l[r]=1}return l},
|
|
18
|
+
Be sure to create slots properly by using "slot.always" or "slot.optional" with the correct elementType.`)}}}}var X1=(...a)=>{let l={};for(let c of a){let o=Array.isArray(c)?c:Object.keys(c);for(let r of o)l[r]=1}return l},rg=X1(["onAuxClick","onAnimationEnd","onAnimationStart","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"]),eg=X1(["accessKey","children","className","contentEditable","dir","draggable","hidden","htmlFor","id","lang","popover","focusgroup","ref","role","style","tabIndex","title","translate","spellCheck","name"]),hg=X1(["itemID","itemProp","itemRef","itemScope","itemType"]),n0=X1(eg,rg,hg),qM=X1(n0,["form"]),GZ=X1(n0,["height","loop","muted","preload","src","width"]),WM=X1(GZ,["poster"]),bM=X1(n0,["start"]),zM=X1(n0,["value"]),QM=X1(n0,["download","href","hrefLang","media","referrerPolicy","rel","target","type"]),JM=X1(n0,["dateTime"]),I8=X1(n0,["autoFocus","disabled","form","formAction","formEncType","formMethod","formNoValidate","formTarget","popoverTarget","popoverTargetAction","type","value"]),IM=X1(I8,["accept","alt","autoCorrect","autoCapitalize","autoComplete","checked","dirname","form","height","inputMode","list","max","maxLength","min","minLength","multiple","pattern","placeholder","readOnly","required","src","step","size","type","value","width"]),$M=X1(I8,["autoCapitalize","cols","dirname","form","maxLength","placeholder","readOnly","required","rows","wrap"]),YM=X1(I8,["form","multiple","required"]),XM=X1(n0,["selected","value"]),KM=X1(n0,["cellPadding","cellSpacing"]),jM=n0,NM=X1(n0,["colSpan","rowSpan","scope"]),ap=X1(n0,["colSpan","headers","rowSpan","scope"]),lp=X1(n0,["span"]),cp=X1(n0,["span"]),op=X1(n0,["disabled","form"]),rp=X1(n0,["acceptCharset","action","encType","encType","method","noValidate","target"]),ep=X1(n0,["allow","allowFullScreen","allowPaymentRequest","allowTransparency","csp","height","importance","referrerPolicy","sandbox","src","srcDoc","width"]),hp=X1(n0,["alt","crossOrigin","height","src","srcSet","useMap","width"]),Zp=X1(n0,["open","onCancel","onClose"]);function tp(a,l,c){let o=Array.isArray(l),r={},e=Object.keys(a);for(let h of e)if((!o&&l[h]||o&&l.indexOf(h)>=0||h.indexOf("data-")===0||h.indexOf("aria-")===0)&&(!c||(c===null||c===void 0?void 0:c.indexOf(h))===-1))r[h]=a[h];return r}var Zg={label:qM,audio:GZ,video:WM,ol:bM,li:zM,a:QM,button:I8,input:IM,textarea:$M,select:YM,option:XM,table:KM,tr:jM,th:NM,td:ap,colGroup:lp,col:cp,fieldset:op,form:rp,iframe:ep,img:hp,time:JM,dialog:Zp};function $8(a,l,c){let o=a&&Zg[a]||n0;return o.as=1,tp(l,o,c)}var E2=({primarySlotTagName:a,props:l,excludedPropNames:c})=>{return{root:{style:l.style,className:l.className},primary:$8(a,l,[...c||[],"style","className"])}};var o1=(a,l,c)=>{var o;return $8((o=l.as)!==null&&o!==void 0?o:a,l,c)};function go(a,l){let c=y(void 0),o=Q((e,h)=>{if(c.current!==void 0)l(c.current);return c.current=a(e,h),c.current},[l,a]),r=Q(()=>{if(c.current!==void 0)l(c.current),c.current=void 0},[l]);return X(()=>r,[r]),[o,r]}var r6=e1(void 0),Y8=r6.Provider;var ip=e1(void 0),tg="",X8=ip.Provider;function K8(){var a;return(a=l1(ip))!==null&&a!==void 0?a:tg}var ig=e1(void 0);var j8=ig.Provider;var np=e1(void 0),vg={targetDocument:typeof document==="object"?document:void 0,dir:"ltr"},N8=np.Provider;function M1(){var a;return(a=l1(np))!==null&&a!==void 0?a:vg}var UZ=e1(void 0),Lo=UZ.Provider;function e6(){var a;return(a=l1(UZ))!==null&&a!==void 0?a:{}}var Q3=e1(void 0),ng=()=>{},aa=Q3.Provider,I=(a)=>{var l,c;return(c=(l=l1(Q3))===null||l===void 0?void 0:l[a])!==null&&c!==void 0?c:ng};var DZ=e1(void 0),Co=DZ.Provider;function h6(){return l1(DZ)}var dp=e1(void 0),dg=dp.Provider;function BZ(){return l1(dp)}var Mp=e1(void 0),kZ=Mp.Provider;function la(){var a;return(a=l1(Mp))!==null&&a!==void 0?a:{announce:()=>{return}}}var Mg=(a)=>{return a(0),0},pg=(a)=>a;function ca(){let{targetDocument:a}=M1(),l=a===null||a===void 0?void 0:a.defaultView,c=l?l.requestAnimationFrame:Mg,o=l?l.cancelAnimationFrame:pg;return go(c,o)}function _g(a){return typeof a==="function"}var q0=(a)=>{if(a.state!==void 0&&a.defaultState!==void 0)console.error(`@fluentui/react-utilities [useControllableState]:
|
|
19
19
|
A component must be either controlled or uncontrolled (specify either the state or the defaultState, but not both).
|
|
20
20
|
Decide between using a controlled or uncontrolled component and remove one of this props.
|
|
21
21
|
More info: https://reactjs.org/link/controlled-components
|
|
22
|
-
${Error().stack}`);let[l,c]=h1(()=>{if(a.defaultState===void 0)return a.initialState;return
|
|
22
|
+
${Error().stack}`);let[l,c]=h1(()=>{if(a.defaultState===void 0)return a.initialState;return Ag(a.defaultState)?a.defaultState():a.defaultState}),o=y(a.state);X(()=>{o.current=a.state},[a.state]);let r=Q((e)=>{if(_g(e))e(o.current)},[]);return mg(a.state)?[a.state,r]:[l,c]};function Ag(a){return typeof a==="function"}var mg=(a)=>{let[l]=h1(()=>a!==void 0);return X(()=>{if(l!==(a!==void 0)){let c=Error();console.error(`@fluentui/react-utilities [useControllableState]:
|
|
23
23
|
A component is changing ${l?"a controlled value to be uncontrolled":"an uncontrolled value to be controlled"}. This is likely caused by the value changing from ${l?"defined to an undefined":"undefined to a defined"} value, which should not happen.
|
|
24
24
|
Decide between using a controlled or uncontrolled input element for the lifetime of the component.
|
|
25
25
|
More info: https://reactjs.org/link/controlled-components
|
|
26
|
-
${c.stack}`)}},[l,a]),l};function N7(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}var yZ={current:0},
|
|
26
|
+
${c.stack}`)}},[l,a]),l};function N7(){return typeof window<"u"&&!!(window.document&&window.document.createElement)}var yZ={current:0},pp=/*@__PURE__*/e1(void 0);function OZ(){var a;return(a=l1(pp))!==null&&a!==void 0?a:yZ}var P1=N7()?P2:X;var Y=(a)=>{let l=y(()=>{throw Error("Cannot call an event handler while rendering")});return P1(()=>{l.current=a},[a]),Q((...c)=>{let o=l.current;return o(...c)},[l])};function Z6(){let a=y(!0);return X(()=>{if(a.current)a.current=!1},[]),a.current}function t6(){return N5((a)=>a+1,0)[1]}var _p=e1(void 0),Ap=_p.Provider;function sg(){return l1(_p)||""}function J1(a="fui-",l){let c=OZ(),o=sg(),r=f.useId;if(r){let e=r(),h=v1(()=>e.replace(/:/g,""),[e]);return l||`${o}${a}${h}`}return v1(()=>{if(l)return l;return`${o}${a}${++c.current}`},[o,a,l,c])}function g1(...a){let l=Q((c)=>{l.current=c;for(let o of a){if(typeof o==="string")console.error(`@fluentui/react-utilities [useMergedRefs]:
|
|
27
27
|
This hook does not support the usage of string refs. Please use React.useRef instead.
|
|
28
28
|
|
|
29
29
|
For more info on 'React.useRef', see https://react.dev/reference/react/useRef.
|
|
30
|
-
For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-string-refs.`);if(typeof o==="function")o(c);else if(o)o.current=c}},[...a]);return l}var
|
|
30
|
+
For more info on string refs, see https://react.dev/blog/2024/04/25/react-19-upgrade-guide#removed-string-refs.`);if(typeof o==="function")o(c);else if(o)o.current=c}},[...a]);return l}var mp=(a,l)=>!!(a===null||a===void 0?void 0:a.contains(l)),i6=(a)=>{let{targetDocument:l}=M1(),c=l===null||l===void 0?void 0:l.defaultView,{refs:o,callback:r,element:e,disabled:h,disabledFocusOnIframe:Z,contains:t=mp}=a,i=y(void 0);fg({element:e,disabled:Z||h,callback:r,refs:o,contains:t});let n=y(!1),v=Y((M)=>{if(n.current){n.current=!1;return}let _=M.composedPath()[0];if(o.every((A)=>!t(A.current||null,_))&&!h)r(M)}),d=Y((M)=>{n.current=o.some((_)=>t(_.current||null,M.target))});X(()=>{if(h)return;let M=Vg(c),_=(p)=>{if(p===M){M=void 0;return}v(p)};return e===null||e===void 0||e.addEventListener("click",_,!0),e===null||e===void 0||e.addEventListener("touchstart",_,!0),e===null||e===void 0||e.addEventListener("contextmenu",_,!0),e===null||e===void 0||e.addEventListener("mousedown",d,!0),i.current=c===null||c===void 0?void 0:c.setTimeout(()=>{M=void 0},1),()=>{e===null||e===void 0||e.removeEventListener("click",_,!0),e===null||e===void 0||e.removeEventListener("touchstart",_,!0),e===null||e===void 0||e.removeEventListener("contextmenu",_,!0),e===null||e===void 0||e.removeEventListener("mousedown",d,!0),c===null||c===void 0||c.clearTimeout(i.current),M=void 0}},[v,e,h,d,c])},Vg=(a)=>{if(a){var l,c;if(typeof a.window==="object"&&a.window===a)return a.event;var o;return(o=(c=a.ownerDocument)===null||c===void 0?void 0:(l=c.defaultView)===null||l===void 0?void 0:l.event)!==null&&o!==void 0?o:void 0}return},PZ="fuiframefocus",fg=(a)=>{let{disabled:l,element:c,callback:o,contains:r=mp,pollDuration:e=100,refs:h}=a,Z=y(void 0),t=Y((i)=>{if(h.every((v)=>!r(v.current||null,i.target))&&!l)o(i)});X(()=>{if(l)return;return c===null||c===void 0||c.addEventListener(PZ,t,!0),()=>{c===null||c===void 0||c.removeEventListener(PZ,t,!0)}},[c,l,t]),X(()=>{var i;if(l)return;return Z.current=c===null||c===void 0?void 0:(i=c.defaultView)===null||i===void 0?void 0:i.setInterval(()=>{let n=c===null||c===void 0?void 0:c.activeElement;if((n===null||n===void 0?void 0:n.tagName)==="IFRAME"||(n===null||n===void 0?void 0:n.tagName)==="WEBVIEW"){let v=new CustomEvent(PZ,{bubbles:!0});n.dispatchEvent(v)}},e),()=>{var n;c===null||c===void 0||(n=c.defaultView)===null||n===void 0||n.clearInterval(Z.current)}},[c,l,e])};var Ro=(a)=>{let{refs:l,callback:c,element:o,disabled:r,contains:e}=a,h=Y((Z)=>{let t=e||((v,d)=>!!(v===null||v===void 0?void 0:v.contains(d))),i=Z.composedPath()[0];if(l.every((v)=>!t(v.current||null,i))&&!r)c(Z)});X(()=>{if(r)return;return o===null||o===void 0||o.addEventListener("wheel",h),o===null||o===void 0||o.addEventListener("touchmove",h),()=>{o===null||o===void 0||o.removeEventListener("wheel",h),o===null||o===void 0||o.removeEventListener("touchmove",h)}},[h,o,r])};var wo=(a)=>{let l=y(null);return X(()=>{l.current=a},[a]),l.current};var Fg=(a)=>-1,xg=(a)=>{return};function E5(){let{targetDocument:a}=M1(),l=a===null||a===void 0?void 0:a.defaultView,c=l?l.setTimeout:Fg,o=l?l.clearTimeout:xg;return go(c,o)}var Lg=parseInt(LZ,10)>=19;function a3(a){if(!a)return;if(Lg)return a.props.ref;return a.ref}function T1(a,l){return(...c)=>{a===null||a===void 0||a(...c),l===null||l===void 0||l(...c)}}function G1(a,l){var c;let o=a;var r;return Boolean((o===null||o===void 0?void 0:(c=o.ownerDocument)===null||c===void 0?void 0:c.defaultView)&&o instanceof o.ownerDocument.defaultView[(r=l===null||l===void 0?void 0:l.constructorName)!==null&&r!==void 0?r:"HTMLElement"])}function v6(a){let l=[],c=0,o=(d,M)=>{let _=l[d];l[d]=l[M],l[M]=_},r=(d)=>{let M=d,_=Cg(d),p=Rg(d);if(_<c&&a(l[_],l[M])<0)M=_;if(p<c&&a(l[p],l[M])<0)M=p;if(M!==d)o(M,d),r(M)};return{all:()=>{return l.slice(0,c)},clear:()=>{c=0},contains:(d)=>{let M=l.indexOf(d);return M>=0&&M<c},dequeue:()=>{if(c===0)throw Error("Priority queue empty");let d=l[0];return l[0]=l[--c],r(0),d},enqueue:(d)=>{l[c++]=d;let M=c-1,_=Hp(M);while(M>0&&a(l[_],l[M])>0)o(_,M),M=_,_=Hp(M)},peek:()=>{if(c===0)return null;return l[0]},remove:(d)=>{let M=l.indexOf(d);if(M===-1||M>=c)return;l[M]=l[--c],r(M)},size:()=>c}}var Cg=(a)=>{return 2*a+1},Rg=(a)=>{return 2*a+2},Hp=(a)=>{return Math.floor((a-1)/2)};function So(a){return Boolean(a.type.isFluentTriggerComponent)}function n6(a,l){if(typeof a==="function")return a(l);else if(a)return up(a,l);return a||null}function up(a,l){if(!Z5(a)||a.type===i1)throw Error("A trigger element must be a single element for this component. Please ensure that you're not using React Fragments.");if(So(a)){let c=up(a.props.children,l);return b3(a,void 0,c)}else return b3(a,l)}function J3(a){if(!Z5(a))return null;return So(a)?J3(a.props.children):a}function sp(a){return a&&!!a._virtual}function Bg(a){return sp(a)?a._virtual.parent||null:null}function d6(a,l={}){if(!a)return null;if(!l.skipVirtual){let o=Bg(a);if(o)return o}let c=a.parentNode;if(c&&c.nodeType===11)return c.host;return c}function oa(a,l){if(!a||!l)return!1;if(a===l)return!0;else{let c=/*@__PURE__*/new WeakSet;while(l){let o=d6(l,{skipVirtual:c.has(l)});if(c.add(l),o===a)return!0;l=o}}return!1}function ra(a,l){if(!a)return;Object.assign(a,{_virtual:{parent:l}})}function Vp(a,l){return{...l,[X0]:a}}function fp(a){if(typeof a==="object"&&a!==null&&a.$$typeof===void 0)console.error(`@fluentui/react-jsx-runtime:
|
|
31
31
|
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ${a}.
|
|
32
32
|
|
|
33
33
|
If this happened in a slot of Fluent UI component, you might be facing package resolution issues.
|
|
34
34
|
Please make sure you don't have multiple versions of "@fluentui/react-utilities" installed in your dependencies or sub-dependencies.
|
|
35
|
-
You can check this by searching up for matching entries in a lockfile produced by your package manager (yarn.lock, pnpm-lock.yaml or package-lock.json).`)}function TZ(a,l){return function(o,r,e,h,Z){if(z3(r))return l(xp(o,r),null,e,h,Z);if(z3(o))return l(o,r,e,h,Z);return gp(o),a(o,r,e,h,Z)}}function Uo(a){let{as:l,[c6]:c,[X0]:o,[F7]:r,...e}=a,h=e,Z=typeof o==="string"?l!==null&&l!==void 0?l:o:o;if(typeof Z!=="string"&&l)h.as=l;return{elementType:Z,props:h,renderFunction:r}}var qZ={};Ch(qZ,{jsxs:()=>H,jsxTemplate:()=>qg,jsxEscape:()=>Cp,jsxDEV:()=>H,jsxAttr:()=>bg,jsx:()=>H,Fragment:()=>i1});var Og=/["&<]/;function EZ(a){if(a.length===0||Og.test(a)===!1)return a;for(var l=0,c=0,o="",r="";c<a.length;c++){switch(a.charCodeAt(c)){case 34:r=""";break;case 38:r="&";break;case 60:r="<";break;default:continue}c!==l&&(o+=a.slice(l,c)),o+=r,l=c+1}return c!==l&&(o+=a.slice(l,c)),o}var Pg=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Tg=0,Eg=Array.isArray;function H(a,l,c,o,r,e){l||(l={});var h,Z,t=l;if("ref"in t)for(Z in t={},l)Z=="ref"?h=l[Z]:t[Z]=l[Z];var i={type:a,props:t,key:c,ref:h,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Tg,__i:-1,__u:0,__source:r,__self:e};if(typeof a=="function"&&(h=a.defaultProps))for(Z in h)t[Z]===void 0&&(t[Z]=h[Z]);return p1.vnode&&p1.vnode(i),i}function qg(a){var l=H(i1,{tpl:a,exprs:[].slice.call(arguments,1)});return l.key=l.__v,l}var Lp={},Wg=/[A-Z]/g;function bg(a,l){if(p1.attr){var c=p1.attr(a,l);if(typeof c=="string")return c}if(l=function(t){return t!==null&&typeof t=="object"&&typeof t.valueOf=="function"?t.valueOf():t}(l),a==="ref"||a==="key")return"";if(a==="style"&&typeof l=="object"){var o="";for(var r in l){var e=l[r];if(e!=null&&e!==""){var h=r[0]=="-"?r:Lp[r]||(Lp[r]=r.replace(Wg,"-$&").toLowerCase()),Z=";";typeof e!="number"||h.startsWith("--")||Pg.test(h)||(Z="px;"),o=o+h+":"+e+Z}}return a+'="'+EZ(o)+'"'}return l==null||l===!1||typeof l=="function"||typeof l=="object"?"":l===!0?a:a+'="'+EZ(""+l)+'"'}function Cp(a){if(a==null||typeof a=="boolean"||typeof a=="function")return null;if(typeof a=="object"){if(a.constructor===void 0)return a;if(Eg(a)){for(var l=0;l<a.length;l++)a[l]=Cp(a[l]);return a}}return EZ(""+a)}var W2=qZ;var Rp=(a,l,c)=>{let{elementType:o,renderFunction:r,props:e}=Uo(a),h={...e,...l};if(r)return W2.jsx(i1,{children:r(o,h)},c);return W2.jsx(o,h,c)};var wp=(a,l,c)=>{let{elementType:o,renderFunction:r,props:e}=Uo(a),h={...e,...l};if(r)return W2.jsx(i1,{children:r(o,{...h,children:W2.jsxs(i1,{children:h.children},void 0)})},c);return W2.jsxs(o,h,c)};var g=TZ(W2.jsx,Rp),_1=TZ(W2.jsxs,wp);var Sp=e1(void 0),zg={},WZ=Sp.Provider,bZ=()=>{let a=l1(Sp);return a!==null&&a!==void 0?a:zg};var ea=(a,l)=>{return J(a),/*@__PURE__*/g(N8,{value:l.provider,children:/*@__PURE__*/g(Y8,{value:l.theme,children:/*@__PURE__*/g(X8,{value:l.themeClassName,children:/*@__PURE__*/g(aa,{value:l.customStyleHooks_unstable,children:/*@__PURE__*/g(j8,{value:l.tooltip,children:/*@__PURE__*/g(wZ,{dir:l.textDirection,children:/*@__PURE__*/g(WZ,{value:l.iconDirection,children:/*@__PURE__*/g(Co,{value:l.overrides_unstable,children:/*@__PURE__*/_1(a.root,{children:[N7()?null:/*@__PURE__*/g("style",{dangerouslySetInnerHTML:{__html:a.serverStyleProps.cssRule},...a.serverStyleProps.attributes}),a.root.children]})})})})})})})})})};var Qg=typeof WeakRef<"u",Gp=class{constructor(a){if(Qg&&typeof a==="object")this._weakRef=new WeakRef(a);else this._instance=a}deref(){var a,l;let c;if(this._weakRef){if(c=(a=this._weakRef)==null?void 0:a.deref(),!c)delete this._weakRef}else if(c=this._instance,(l=c==null?void 0:c.isDisposed)==null?void 0:l.call(c))delete this._instance;return c}},M5="keyborg:focusin",M6="keyborg:focusout";function Jg(a){let l=a.HTMLElement,c=l.prototype.focus,o=!1;return l.prototype.focus=function(){o=!0},a.document.createElement("button").focus(),l.prototype.focus=c,o}var zZ=!1;function c2(a){let l=a.focus;if(l.__keyborgNativeFocus)l.__keyborgNativeFocus.call(a);else a.focus()}function Ig(a){let l=a;if(!zZ)zZ=Jg(l);let c=l.HTMLElement.prototype.focus;if(c.__keyborgNativeFocus)return;l.HTMLElement.prototype.focus=t;let o=/*@__PURE__*/new Set,r=(n)=>{let v=n.target;if(!v)return;let d=new CustomEvent(M6,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:n}});v.dispatchEvent(d)},e=(n)=>{let v=n.target;if(!v)return;let d=n.composedPath()[0],M=/*@__PURE__*/new Set;while(d)if(d.nodeType===Node.DOCUMENT_FRAGMENT_NODE)M.add(d),d=d.host;else d=d.parentNode;for(let _ of o){let p=_.deref();if(!p||!M.has(p)){if(o.delete(_),p)p.removeEventListener("focusin",e,!0),p.removeEventListener("focusout",r,!0)}}h(v,n.relatedTarget||void 0)},h=(n,v,d)=>{var M;let _=n.shadowRoot;if(_){for(let m of o)if(m.deref()===_)return;_.addEventListener("focusin",e,!0),_.addEventListener("focusout",r,!0),o.add(new Gp(_));return}let p={relatedTarget:v,originalEvent:d},A=new CustomEvent(M5,{cancelable:!0,bubbles:!0,composed:!0,detail:p});if(A.details=p,zZ||Z.lastFocusedProgrammatically)p.isFocusedProgrammatically=n===((M=Z.lastFocusedProgrammatically)==null?void 0:M.deref()),Z.lastFocusedProgrammatically=void 0;n.dispatchEvent(A)},Z=l.__keyborgData={focusInHandler:e,focusOutHandler:r,shadowTargets:o};l.document.addEventListener("focusin",l.__keyborgData.focusInHandler,!0),l.document.addEventListener("focusout",l.__keyborgData.focusOutHandler,!0);function t(){let n=l.__keyborgData;if(n)n.lastFocusedProgrammatically=new Gp(this);return c.apply(this,arguments)}let i=l.document.activeElement;while(i&&i.shadowRoot)h(i),i=i.shadowRoot.activeElement;t.__keyborgNativeFocus=c}function $g(a){let l=a,c=l.HTMLElement.prototype,o=c.focus.__keyborgNativeFocus,r=l.__keyborgData;if(r){l.document.removeEventListener("focusin",r.focusInHandler,!0),l.document.removeEventListener("focusout",r.focusOutHandler,!0);for(let e of r.shadowTargets){let h=e.deref();if(h)h.removeEventListener("focusin",r.focusInHandler,!0),h.removeEventListener("focusout",r.focusOutHandler,!0)}r.shadowTargets.clear(),delete l.__keyborgData}if(o)c.focus=o}var Yg=500,Up=0,Xg=class{constructor(a,l){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=(o)=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;let r=o.detail;if(!r.relatedTarget)return;if(r.isFocusedProgrammatically||r.isFocusedProgrammatically===void 0)return;this.isNavigatingWithKeyboard=!0},this._onMouseDown=(o)=>{if(o.buttons===0||o.clientX===0&&o.clientY===0&&o.screenX===0&&o.screenY===0)return;this._onMouseOrTouch()},this._onMouseOrTouch=()=>{let o=this._win;if(o){if(this._isMouseOrTouchUsedTimer)o.clearTimeout(this._isMouseOrTouchUsedTimer);this._isMouseOrTouchUsedTimer=o.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1000)}this.isNavigatingWithKeyboard=!1},this._onKeyDown=(o)=>{if(this.isNavigatingWithKeyboard){if(this._shouldDismissKeyboardNavigation(o))this._scheduleDismiss()}else if(this._shouldTriggerKeyboardNavigation(o))this.isNavigatingWithKeyboard=!0},this.id="c"+ ++Up,this._win=a;let c=a.document;if(l){let{triggerKeys:o,dismissKeys:r}=l;if(o==null?void 0:o.length)this._triggerKeys=new Set(o);if(r==null?void 0:r.length)this._dismissKeys=new Set(r)}c.addEventListener(M5,this._onFocusIn,!0),c.addEventListener("mousedown",this._onMouseDown,!0),a.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener("touchstart",this._onMouseOrTouch,!0),c.addEventListener("touchend",this._onMouseOrTouch,!0),c.addEventListener("touchcancel",this._onMouseOrTouch,!0),Ig(a)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(a){if(this._isNavigatingWithKeyboard_DO_NOT_USE!==a)this._isNavigatingWithKeyboard_DO_NOT_USE=a,this.update()}dispose(){let a=this._win;if(a){if(this._isMouseOrTouchUsedTimer)a.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0;if(this._dismissTimer)a.clearTimeout(this._dismissTimer),this._dismissTimer=void 0;$g(a);let l=a.document;l.removeEventListener(M5,this._onFocusIn,!0),l.removeEventListener("mousedown",this._onMouseDown,!0),a.removeEventListener("keydown",this._onKeyDown,!0),l.removeEventListener("touchstart",this._onMouseOrTouch,!0),l.removeEventListener("touchend",this._onMouseOrTouch,!0),l.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var a,l;let c=(l=(a=this._win)==null?void 0:a.__keyborg)==null?void 0:l.refs;if(c)for(let o of Object.keys(c))QZ.update(c[o],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(a){var l;if(a.key==="Tab")return!0;let c=(l=this._win)==null?void 0:l.document.activeElement,o=!this._triggerKeys||this._triggerKeys.has(a.keyCode),r=c&&(c.tagName==="INPUT"||c.tagName==="TEXTAREA"||c.isContentEditable);return o&&!r}_shouldDismissKeyboardNavigation(a){var l;return(l=this._dismissKeys)==null?void 0:l.has(a.keyCode)}_scheduleDismiss(){let a=this._win;if(a){if(this._dismissTimer)a.clearTimeout(this._dismissTimer),this._dismissTimer=void 0;let l=a.document.activeElement;this._dismissTimer=a.setTimeout(()=>{this._dismissTimer=void 0;let c=a.document.activeElement;if(l&&c&&l===c)this.isNavigatingWithKeyboard=!1},Yg)}}},QZ=class a{constructor(l,c){this._cb=[],this._id="k"+ ++Up,this._win=l;let o=l.__keyborg;if(o)this._core=o.core,o.refs[this._id]=this;else this._core=new Xg(l,c),l.__keyborg={core:this._core,refs:{[this._id]:this}}}static create(l,c){return new a(l,c)}static dispose(l){l.dispose()}static update(l,c){l._cb.forEach((o)=>o(c))}dispose(){var l;let c=(l=this._win)==null?void 0:l.__keyborg;if(c==null?void 0:c.refs[this._id]){if(delete c.refs[this._id],Object.keys(c.refs).length===0)c.core.dispose(),delete this._win.__keyborg}else console.error(`Keyborg instance ${this._id} is being disposed incorrectly.`);this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var l;return!!((l=this._core)==null?void 0:l.isNavigatingWithKeyboard)}subscribe(l){this._cb.push(l)}unsubscribe(l){let c=this._cb.indexOf(l);if(c>=0)this._cb.splice(c,1)}setVal(l){if(this._core)this._core.isNavigatingWithKeyboard=l}};function l3(a,l){return QZ.create(a,l)}function c3(a){QZ.dispose(a)}/*!
|
|
35
|
+
You can check this by searching up for matching entries in a lockfile produced by your package manager (yarn.lock, pnpm-lock.yaml or package-lock.json).`)}function TZ(a,l){return function(o,r,e,h,Z){if(z3(r))return l(Vp(o,r),null,e,h,Z);if(z3(o))return l(o,r,e,h,Z);return fp(o),a(o,r,e,h,Z)}}function Go(a){let{as:l,[c6]:c,[X0]:o,[F7]:r,...e}=a,h=e,Z=typeof o==="string"?l!==null&&l!==void 0?l:o:o;if(typeof Z!=="string"&&l)h.as=l;return{elementType:Z,props:h,renderFunction:r}}var qZ={};Ch(qZ,{jsxs:()=>H,jsxTemplate:()=>Tg,jsxEscape:()=>xp,jsxDEV:()=>H,jsxAttr:()=>qg,jsx:()=>H,Fragment:()=>i1});var kg=/["&<]/;function EZ(a){if(a.length===0||kg.test(a)===!1)return a;for(var l=0,c=0,o="",r="";c<a.length;c++){switch(a.charCodeAt(c)){case 34:r=""";break;case 38:r="&";break;case 60:r="<";break;default:continue}c!==l&&(o+=a.slice(l,c)),o+=r,l=c+1}return c!==l&&(o+=a.slice(l,c)),o}var yg=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Og=0,Pg=Array.isArray;function H(a,l,c,o,r,e){l||(l={});var h,Z,t=l;if("ref"in t)for(Z in t={},l)Z=="ref"?h=l[Z]:t[Z]=l[Z];var i={type:a,props:t,key:c,ref:h,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Og,__i:-1,__u:0,__source:r,__self:e};if(typeof a=="function"&&(h=a.defaultProps))for(Z in h)t[Z]===void 0&&(t[Z]=h[Z]);return p1.vnode&&p1.vnode(i),i}function Tg(a){var l=H(i1,{tpl:a,exprs:[].slice.call(arguments,1)});return l.key=l.__v,l}var Fp={},Eg=/[A-Z]/g;function qg(a,l){if(p1.attr){var c=p1.attr(a,l);if(typeof c=="string")return c}if(l=function(t){return t!==null&&typeof t=="object"&&typeof t.valueOf=="function"?t.valueOf():t}(l),a==="ref"||a==="key")return"";if(a==="style"&&typeof l=="object"){var o="";for(var r in l){var e=l[r];if(e!=null&&e!==""){var h=r[0]=="-"?r:Fp[r]||(Fp[r]=r.replace(Eg,"-$&").toLowerCase()),Z=";";typeof e!="number"||h.startsWith("--")||yg.test(h)||(Z="px;"),o=o+h+":"+e+Z}}return a+'="'+EZ(o)+'"'}return l==null||l===!1||typeof l=="function"||typeof l=="object"?"":l===!0?a:a+'="'+EZ(""+l)+'"'}function xp(a){if(a==null||typeof a=="boolean"||typeof a=="function")return null;if(typeof a=="object"){if(a.constructor===void 0)return a;if(Pg(a)){for(var l=0;l<a.length;l++)a[l]=xp(a[l]);return a}}return EZ(""+a)}var q2=qZ;var gp=(a,l,c)=>{let{elementType:o,renderFunction:r,props:e}=Go(a),h={...e,...l};if(r)return q2.jsx(i1,{children:r(o,h)},c);return q2.jsx(o,h,c)};var Lp=(a,l,c)=>{let{elementType:o,renderFunction:r,props:e}=Go(a),h={...e,...l};if(r)return q2.jsx(i1,{children:r(o,{...h,children:q2.jsxs(i1,{children:h.children},void 0)})},c);return q2.jsxs(o,h,c)};var g=TZ(q2.jsx,gp),_1=TZ(q2.jsxs,Lp);var Cp=e1(void 0),Wg={},WZ=Cp.Provider,bZ=()=>{let a=l1(Cp);return a!==null&&a!==void 0?a:Wg};var ea=(a,l)=>{return J(a),/*@__PURE__*/g(N8,{value:l.provider,children:/*@__PURE__*/g(Y8,{value:l.theme,children:/*@__PURE__*/g(X8,{value:l.themeClassName,children:/*@__PURE__*/g(aa,{value:l.customStyleHooks_unstable,children:/*@__PURE__*/g(j8,{value:l.tooltip,children:/*@__PURE__*/g(wZ,{dir:l.textDirection,children:/*@__PURE__*/g(WZ,{value:l.iconDirection,children:/*@__PURE__*/g(Lo,{value:l.overrides_unstable,children:/*@__PURE__*/_1(a.root,{children:[N7()?null:/*@__PURE__*/g("style",{dangerouslySetInnerHTML:{__html:a.serverStyleProps.cssRule},...a.serverStyleProps.attributes}),a.root.children]})})})})})})})})})};var bg=typeof WeakRef<"u",Rp=class{constructor(a){if(bg&&typeof a==="object")this._weakRef=new WeakRef(a);else this._instance=a}deref(){var a,l;let c;if(this._weakRef){if(c=(a=this._weakRef)==null?void 0:a.deref(),!c)delete this._weakRef}else if(c=this._instance,(l=c==null?void 0:c.isDisposed)==null?void 0:l.call(c))delete this._instance;return c}},M5="keyborg:focusin",M6="keyborg:focusout";function zg(a){let l=a.HTMLElement,c=l.prototype.focus,o=!1;return l.prototype.focus=function(){o=!0},a.document.createElement("button").focus(),l.prototype.focus=c,o}var zZ=!1;function l2(a){let l=a.focus;if(l.__keyborgNativeFocus)l.__keyborgNativeFocus.call(a);else a.focus()}function Qg(a){let l=a;if(!zZ)zZ=zg(l);let c=l.HTMLElement.prototype.focus;if(c.__keyborgNativeFocus)return;l.HTMLElement.prototype.focus=t;let o=/*@__PURE__*/new Set,r=(n)=>{let v=n.target;if(!v)return;let d=new CustomEvent(M6,{cancelable:!0,bubbles:!0,composed:!0,detail:{originalEvent:n}});v.dispatchEvent(d)},e=(n)=>{let v=n.target;if(!v)return;let d=n.composedPath()[0],M=/*@__PURE__*/new Set;while(d)if(d.nodeType===Node.DOCUMENT_FRAGMENT_NODE)M.add(d),d=d.host;else d=d.parentNode;for(let _ of o){let p=_.deref();if(!p||!M.has(p)){if(o.delete(_),p)p.removeEventListener("focusin",e,!0),p.removeEventListener("focusout",r,!0)}}h(v,n.relatedTarget||void 0)},h=(n,v,d)=>{var M;let _=n.shadowRoot;if(_){for(let m of o)if(m.deref()===_)return;_.addEventListener("focusin",e,!0),_.addEventListener("focusout",r,!0),o.add(new Rp(_));return}let p={relatedTarget:v,originalEvent:d},A=new CustomEvent(M5,{cancelable:!0,bubbles:!0,composed:!0,detail:p});if(A.details=p,zZ||Z.lastFocusedProgrammatically)p.isFocusedProgrammatically=n===((M=Z.lastFocusedProgrammatically)==null?void 0:M.deref()),Z.lastFocusedProgrammatically=void 0;n.dispatchEvent(A)},Z=l.__keyborgData={focusInHandler:e,focusOutHandler:r,shadowTargets:o};l.document.addEventListener("focusin",l.__keyborgData.focusInHandler,!0),l.document.addEventListener("focusout",l.__keyborgData.focusOutHandler,!0);function t(){let n=l.__keyborgData;if(n)n.lastFocusedProgrammatically=new Rp(this);return c.apply(this,arguments)}let i=l.document.activeElement;while(i&&i.shadowRoot)h(i),i=i.shadowRoot.activeElement;t.__keyborgNativeFocus=c}function Jg(a){let l=a,c=l.HTMLElement.prototype,o=c.focus.__keyborgNativeFocus,r=l.__keyborgData;if(r){l.document.removeEventListener("focusin",r.focusInHandler,!0),l.document.removeEventListener("focusout",r.focusOutHandler,!0);for(let e of r.shadowTargets){let h=e.deref();if(h)h.removeEventListener("focusin",r.focusInHandler,!0),h.removeEventListener("focusout",r.focusOutHandler,!0)}r.shadowTargets.clear(),delete l.__keyborgData}if(o)c.focus=o}var Ig=500,wp=0,$g=class{constructor(a,l){this._isNavigatingWithKeyboard_DO_NOT_USE=!1,this._onFocusIn=(o)=>{if(this._isMouseOrTouchUsedTimer)return;if(this.isNavigatingWithKeyboard)return;let r=o.detail;if(!r.relatedTarget)return;if(r.isFocusedProgrammatically||r.isFocusedProgrammatically===void 0)return;this.isNavigatingWithKeyboard=!0},this._onMouseDown=(o)=>{if(o.buttons===0||o.clientX===0&&o.clientY===0&&o.screenX===0&&o.screenY===0)return;this._onMouseOrTouch()},this._onMouseOrTouch=()=>{let o=this._win;if(o){if(this._isMouseOrTouchUsedTimer)o.clearTimeout(this._isMouseOrTouchUsedTimer);this._isMouseOrTouchUsedTimer=o.setTimeout(()=>{delete this._isMouseOrTouchUsedTimer},1000)}this.isNavigatingWithKeyboard=!1},this._onKeyDown=(o)=>{if(this.isNavigatingWithKeyboard){if(this._shouldDismissKeyboardNavigation(o))this._scheduleDismiss()}else if(this._shouldTriggerKeyboardNavigation(o))this.isNavigatingWithKeyboard=!0},this.id="c"+ ++wp,this._win=a;let c=a.document;if(l){let{triggerKeys:o,dismissKeys:r}=l;if(o==null?void 0:o.length)this._triggerKeys=new Set(o);if(r==null?void 0:r.length)this._dismissKeys=new Set(r)}c.addEventListener(M5,this._onFocusIn,!0),c.addEventListener("mousedown",this._onMouseDown,!0),a.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener("touchstart",this._onMouseOrTouch,!0),c.addEventListener("touchend",this._onMouseOrTouch,!0),c.addEventListener("touchcancel",this._onMouseOrTouch,!0),Qg(a)}get isNavigatingWithKeyboard(){return this._isNavigatingWithKeyboard_DO_NOT_USE}set isNavigatingWithKeyboard(a){if(this._isNavigatingWithKeyboard_DO_NOT_USE!==a)this._isNavigatingWithKeyboard_DO_NOT_USE=a,this.update()}dispose(){let a=this._win;if(a){if(this._isMouseOrTouchUsedTimer)a.clearTimeout(this._isMouseOrTouchUsedTimer),this._isMouseOrTouchUsedTimer=void 0;if(this._dismissTimer)a.clearTimeout(this._dismissTimer),this._dismissTimer=void 0;Jg(a);let l=a.document;l.removeEventListener(M5,this._onFocusIn,!0),l.removeEventListener("mousedown",this._onMouseDown,!0),a.removeEventListener("keydown",this._onKeyDown,!0),l.removeEventListener("touchstart",this._onMouseOrTouch,!0),l.removeEventListener("touchend",this._onMouseOrTouch,!0),l.removeEventListener("touchcancel",this._onMouseOrTouch,!0),delete this._win}}isDisposed(){return!!this._win}update(){var a,l;let c=(l=(a=this._win)==null?void 0:a.__keyborg)==null?void 0:l.refs;if(c)for(let o of Object.keys(c))QZ.update(c[o],this.isNavigatingWithKeyboard)}_shouldTriggerKeyboardNavigation(a){var l;if(a.key==="Tab")return!0;let c=(l=this._win)==null?void 0:l.document.activeElement,o=!this._triggerKeys||this._triggerKeys.has(a.keyCode),r=c&&(c.tagName==="INPUT"||c.tagName==="TEXTAREA"||c.isContentEditable);return o&&!r}_shouldDismissKeyboardNavigation(a){var l;return(l=this._dismissKeys)==null?void 0:l.has(a.keyCode)}_scheduleDismiss(){let a=this._win;if(a){if(this._dismissTimer)a.clearTimeout(this._dismissTimer),this._dismissTimer=void 0;let l=a.document.activeElement;this._dismissTimer=a.setTimeout(()=>{this._dismissTimer=void 0;let c=a.document.activeElement;if(l&&c&&l===c)this.isNavigatingWithKeyboard=!1},Ig)}}},QZ=class a{constructor(l,c){this._cb=[],this._id="k"+ ++wp,this._win=l;let o=l.__keyborg;if(o)this._core=o.core,o.refs[this._id]=this;else this._core=new $g(l,c),l.__keyborg={core:this._core,refs:{[this._id]:this}}}static create(l,c){return new a(l,c)}static dispose(l){l.dispose()}static update(l,c){l._cb.forEach((o)=>o(c))}dispose(){var l;let c=(l=this._win)==null?void 0:l.__keyborg;if(c==null?void 0:c.refs[this._id]){if(delete c.refs[this._id],Object.keys(c.refs).length===0)c.core.dispose(),delete this._win.__keyborg}else console.error(`Keyborg instance ${this._id} is being disposed incorrectly.`);this._cb=[],delete this._core,delete this._win}isNavigatingWithKeyboard(){var l;return!!((l=this._core)==null?void 0:l.isNavigatingWithKeyboard)}subscribe(l){this._cb.push(l)}unsubscribe(l){let c=this._cb.indexOf(l);if(c>=0)this._cb.splice(c,1)}setVal(l){if(this._core)this._core.isNavigatingWithKeyboard=l}};function l3(a,l){return QZ.create(a,l)}function c3(a){QZ.dispose(a)}/*!
|
|
36
36
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
37
37
|
* Licensed under the MIT License.
|
|
38
38
|
*//*!
|
|
39
39
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
40
40
|
* Licensed under the MIT License.
|
|
41
|
-
*/var
|
|
41
|
+
*/var W2="data-tabster",Wp="data-tabster-dummy",bp=`:is(${/*@__PURE__*/["a[href]","button","input","select","textarea","*[tabindex]","*[contenteditable]","details > summary","audio[controls]","video[controls]"].join(", ")}):not(:disabled)`,x7={EscapeGroupper:1,Restorer:2,Deloser:3};var o3={Invisible:0,PartiallyVisible:1,Visible:2},L7={Source:0,Target:1},q5={Both:0,Vertical:1,Horizontal:2,Grid:3,GridLinear:4},d0={ArrowUp:1,ArrowDown:2,ArrowLeft:3,ArrowRight:4,PageUp:5,PageDown:6,Home:7,End:8},Za={Unlimited:0,Limited:1,LimitedTrapFocus:2},Sp={Enter:1,Escape:2},Yg={Auto:0,Inside:1,Outside:2};/*!
|
|
42
42
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
43
43
|
* Licensed under the MIT License.
|
|
44
|
-
*/function W0(a,l){var c;return(c=a.storageEntry(l))===null||c===void 0?void 0:c.tabster}function
|
|
44
|
+
*/function W0(a,l){var c;return(c=a.storageEntry(l))===null||c===void 0?void 0:c.tabster}function zp(a,l,c){var o,r,e;let h=c||a._noop?void 0:l.getAttribute(W2),Z=a.storageEntry(l),t;if(h)if(h!==((o=Z===null||Z===void 0?void 0:Z.attr)===null||o===void 0?void 0:o.string))try{let d=JSON.parse(h);if(typeof d!=="object")throw Error(`Value is not a JSON object, got '${h}'.`);t={string:h,object:d}}catch(d){console.error(`data-tabster attribute error: ${d}`,l)}else return;else if(!Z)return;if(!Z)Z=a.storageEntry(l,!0);if(!Z.tabster)Z.tabster={};let i=Z.tabster||{},n=((r=Z.attr)===null||r===void 0?void 0:r.object)||{},v=(t===null||t===void 0?void 0:t.object)||{};for(let d of Object.keys(n))if(!v[d]){if(d==="root"){let M=i[d];if(M)a.root.onRoot(M,!0)}switch(d){case"deloser":case"root":case"groupper":case"modalizer":case"restorer":case"mover":let M=i[d];if(M)M.dispose(),delete i[d];break;case"observed":if(delete i[d],a.observedElement)a.observedElement.onObservedElementUpdate(l);break;case"focusable":case"outline":case"uncontrolled":case"sys":delete i[d];break}}for(let d of Object.keys(v)){let M=v.sys;switch(d){case"deloser":if(i.deloser)i.deloser.setProps(v.deloser);else if(a.deloser)i.deloser=a.deloser.createDeloser(l,v.deloser);else console.error("Deloser API used before initialization, please call `getDeloser()`");break;case"root":if(i.root)i.root.setProps(v.root);else i.root=a.root.createRoot(l,v.root,M);a.root.onRoot(i.root);break;case"modalizer":{let _,p=a.modalizer;if(i.modalizer){let A=v.modalizer,m=A.id;if(m&&((e=n===null||n===void 0?void 0:n.modalizer)===null||e===void 0?void 0:e.id)!==m)i.modalizer.dispose(),_=A;else i.modalizer.setProps(A)}else if(p)_=v.modalizer;else console.error("Modalizer API used before initialization, please call `getModalizer()`");if(p&&_)i.modalizer=p.createModalizer(l,_,M)}break;case"restorer":if(i.restorer)i.restorer.setProps(v.restorer);else if(a.restorer){if(v.restorer)i.restorer=a.restorer.createRestorer(l,v.restorer)}else console.error("Restorer API used before initialization, please call `getRestorer()`");break;case"focusable":i.focusable=v.focusable;break;case"groupper":if(i.groupper)i.groupper.setProps(v.groupper);else if(a.groupper)i.groupper=a.groupper.createGroupper(l,v.groupper,M);else console.error("Groupper API used before initialization, please call `getGroupper()`");break;case"mover":if(i.mover)i.mover.setProps(v.mover);else if(a.mover)i.mover=a.mover.createMover(l,v.mover,M);else console.error("Mover API used before initialization, please call `getMover()`");break;case"observed":if(a.observedElement)i.observed=v.observed,a.observedElement.onObservedElementUpdate(l);else console.error("ObservedElement API used before initialization, please call `getObservedElement()`");break;case"uncontrolled":i.uncontrolled=v.uncontrolled;break;case"outline":if(a.outline)i.outline=v.outline;else console.error("Outline API used before initialization, please call `getOutline()`");break;case"sys":i.sys=v.sys;break;default:console.error(`Unknown key '${d}' in data-tabster attribute value.`)}}if(t)Z.attr=t;else{if(Object.keys(i).length===0)delete Z.tabster,delete Z.attr;a.storageEntry(l,!1)}}/*!
|
|
45
45
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
46
46
|
* Licensed under the MIT License.
|
|
47
|
-
*/var
|
|
47
|
+
*/var Xg="tabster:focusin",Kg="tabster:focusout",jg="tabster:movefocus";var Ng="tabster:modalizer:active",aL="tabster:modalizer:inactive";var lL="tabster:mover:state",Gp="tabster:mover:movefocus",Up="tabster:mover:memorized-element",Dp="tabster:groupper:movefocus",KZ="tabster:restorer:restore-focus",cL="tabster:root:focus",oL="tabster:root:blur",rL=typeof CustomEvent<"u"?CustomEvent:function(){};class b2 extends rL{constructor(a,l){super(a,{bubbles:!0,cancelable:!0,composed:!0,detail:l});this.details=l}}class Qp extends b2{constructor(a){super(Xg,a)}}class Jp extends b2{constructor(a){super(Kg,a)}}class g7 extends b2{constructor(a){super(jg,a)}}class jZ extends b2{constructor(a){super(lL,a)}}class Ip extends b2{constructor(a){super(Ng,a)}}class $p extends b2{constructor(a){super(aL,a)}}class NZ extends b2{constructor(){super(KZ)}}class Yp extends b2{constructor(a){super(cL,a)}}class Xp extends b2{constructor(a){super(oL,a)}}/*!
|
|
48
48
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
49
49
|
* Licensed under the MIT License.
|
|
50
|
-
*/var
|
|
50
|
+
*/var eL=(a)=>new MutationObserver(a),hL=(a,l,c,o)=>a.createTreeWalker(l,c,o),ZL=(a)=>a?a.parentNode:null,tL=(a)=>a?a.parentElement:null,iL=(a,l)=>!!(l&&(a===null||a===void 0?void 0:a.contains(l))),vL=(a)=>a.activeElement,nL=(a,l)=>a.querySelector(l),dL=(a,l)=>Array.prototype.slice.call(a.querySelectorAll(l),0),ML=(a,l)=>a.getElementById(l),pL=(a)=>(a===null||a===void 0?void 0:a.firstChild)||null,_L=(a)=>(a===null||a===void 0?void 0:a.lastChild)||null,AL=(a)=>(a===null||a===void 0?void 0:a.nextSibling)||null,mL=(a)=>(a===null||a===void 0?void 0:a.previousSibling)||null,HL=(a)=>(a===null||a===void 0?void 0:a.firstElementChild)||null,uL=(a)=>(a===null||a===void 0?void 0:a.lastElementChild)||null,sL=(a)=>(a===null||a===void 0?void 0:a.nextElementSibling)||null,VL=(a)=>(a===null||a===void 0?void 0:a.previousElementSibling)||null,fL=(a,l)=>a.appendChild(l),FL=(a,l,c)=>a.insertBefore(l,c),xL=(a)=>{var l;return((l=a.ownerDocument)===null||l===void 0?void 0:l.getSelection())||null},gL=(a,l)=>a.ownerDocument.getElementsByName(l),q={createMutationObserver:eL,createTreeWalker:hL,getParentNode:ZL,getParentElement:tL,nodeContains:iL,getActiveElement:vL,querySelector:nL,querySelectorAll:dL,getElementById:ML,getFirstChild:pL,getLastChild:_L,getNextSibling:AL,getPreviousSibling:mL,getFirstElementChild:HL,getLastElementChild:uL,getNextElementSibling:sL,getPreviousElementSibling:VL,appendChild:fL,insertBefore:FL,getSelection:xL,getElementsByName:gL};function LL(a){for(let l of Object.keys(a))q[l]=a[l]}/*!
|
|
51
51
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
52
52
|
* Licensed under the MIT License.
|
|
53
|
-
*/var at,Op=typeof DOMRect<"u"?DOMRect:class{constructor(a,l,c,o){this.left=a||0,this.top=l||0,this.right=(a||0)+(c||0),this.bottom=(l||0)+(o||0)}},wL=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),at=!1}catch(a){at=!0}var JZ=100;function C7(a){let l=a(),c=l.__tabsterInstanceContext;if(!c)c={elementByUId:{},basics:{Promise:l.Promise||void 0,WeakRef:l.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},l.__tabsterInstanceContext=c;return c}function SL(a){let l=a.__tabsterInstanceContext;if(l){if(l.elementByUId={},delete l.WeakRef,l.containerBoundingRectCache={},l.containerBoundingRectCacheTimer)a.clearTimeout(l.containerBoundingRectCacheTimer);if(l.fakeWeakRefsTimer)a.clearTimeout(l.fakeWeakRefsTimer);l.fakeWeakRefs=[],delete a.__tabsterInstanceContext}}function GL(a){let l=a.__tabsterInstanceContext;return new((l===null||l===void 0?void 0:l.basics.WeakMap)||WeakMap)}function UL(a){return!!a.querySelector(Jp)}class ot{constructor(a){this._target=a}deref(){return this._target}static cleanup(a,l){if(!a._target)return!0;if(l||!et(a._target.ownerDocument,a._target))return delete a._target,!0;return!1}}class p5{constructor(a,l,c){let o=C7(a),r;if(o.WeakRef)r=new o.WeakRef(l);else r=new ot(l),o.fakeWeakRefs.push(r);this._ref=r,this._data=c}get(){let a=this._ref,l;if(a){if(l=a.deref(),!l)delete this._ref}return l}getData(){return this._data}}function a_(a,l){let c=C7(a);c.fakeWeakRefs=c.fakeWeakRefs.filter((o)=>!ot.cleanup(o,l))}function l_(a){let l=C7(a);if(!l.fakeWeakRefsStarted)l.fakeWeakRefsStarted=!0,l.WeakRef=PL(l);if(!l.fakeWeakRefsTimer)l.fakeWeakRefsTimer=a().setTimeout(()=>{l.fakeWeakRefsTimer=void 0,a_(a),l_(a)},120000)}function DL(a){let l=C7(a);if(l.fakeWeakRefsStarted=!1,l.fakeWeakRefsTimer)a().clearTimeout(l.fakeWeakRefsTimer),l.fakeWeakRefsTimer=void 0,l.fakeWeakRefs=[]}function rt(a,l,c){if(l.nodeType!==Node.ELEMENT_NODE)return;let o=at?c:{acceptNode:c};return q.createTreeWalker(a,l,NodeFilter.SHOW_ELEMENT,o,!1)}function c_(a,l){let c=l.__tabsterCacheId,o=C7(a),r=c?o.containerBoundingRectCache[c]:void 0;if(r)return r.rect;let e=l.ownerDocument&&l.ownerDocument.documentElement;if(!e)return new Op;let h=0,Z=0,t=e.clientWidth,i=e.clientHeight;if(l!==e){let v=l.getBoundingClientRect();h=Math.max(h,v.left),Z=Math.max(Z,v.top),t=Math.min(t,v.right),i=Math.min(i,v.bottom)}let n=new Op(h<t?h:-1,Z<i?Z:-1,h<t?t-h:0,Z<i?i-Z:0);if(!c)c="r-"+ ++o.lastContainerBoundingRectCacheId,l.__tabsterCacheId=c;if(o.containerBoundingRectCache[c]={rect:n,element:l},!o.containerBoundingRectCacheTimer)o.containerBoundingRectCacheTimer=window.setTimeout(()=>{o.containerBoundingRectCacheTimer=void 0;for(let v of Object.keys(o.containerBoundingRectCache))delete o.containerBoundingRectCache[v].element.__tabsterCacheId;o.containerBoundingRectCache={}},50);return n}function Pp(a,l,c){let o=o_(l);if(!o)return!1;let r=c_(a,o),e=l.getBoundingClientRect(),h=e.height*(1-c),Z=Math.max(0,r.top-e.top),t=Math.max(0,e.bottom-r.bottom),i=Z+t;return i===0||i<=h}function BL(a,l,c){let o=o_(l);if(o){let r=c_(a,o),e=l.getBoundingClientRect();if(c)o.scrollTop+=e.top-r.top;else o.scrollTop+=e.bottom-r.bottom}}function o_(a){let l=a.ownerDocument;if(l){for(let c=q.getParentElement(a);c;c=q.getParentElement(c))if(c.scrollWidth>c.clientWidth||c.scrollHeight>c.clientHeight)return c;return l.documentElement}return null}function kL(a){a.__shouldIgnoreFocus=!0}function r_(a){return!!a.__shouldIgnoreFocus}function yL(a){let l=new Uint32Array(4);if(a.crypto&&a.crypto.getRandomValues)a.crypto.getRandomValues(l);else if(a.msCrypto&&a.msCrypto.getRandomValues)a.msCrypto.getRandomValues(l);else for(let o=0;o<l.length;o++)l[o]=4294967295*Math.random();let c=[];for(let o=0;o<l.length;o++)c.push(l[o].toString(36));return c.push("|"),c.push((++wL).toString(36)),c.push("|"),c.push(Date.now().toString(36)),c.join("")}function Do(a,l){let c=C7(a),o=l.__tabsterElementUID;if(!o)o=l.__tabsterElementUID=yL(a());if(!c.elementByUId[o]&&et(l.ownerDocument,l))c.elementByUId[o]=new p5(a,l);return o}function Tp(a,l){let c=C7(a);for(let o of Object.keys(c.elementByUId)){let r=c.elementByUId[o],e=r&&r.get();if(e&&l){if(!q.nodeContains(l,e))continue}delete c.elementByUId[o]}}function et(a,l){return q.nodeContains(a===null||a===void 0?void 0:a.body,l)}function e_(a,l){let c=a.matches||a.matchesSelector||a.msMatchesSelector||a.webkitMatchesSelector;return c&&c.call(a,l)}function OL(a){let l=C7(a);if(l.basics.Promise)return l.basics.Promise;throw Error("No Promise defined.")}function PL(a){return a.basics.WeakRef}var TL=0;class A6{constructor(a,l,c){let o=a.getWindow;this._tabster=a,this._element=new p5(o,l),this._props={...c},this.id="i"+ ++TL}getElement(){return this._element.get()}getProps(){return this._props}setProps(a){this._props={...a}}}class ha{constructor(a,l,c,o,r){var e;this._focusIn=(i)=>{if(this._fixedTarget){let v=this._fixedTarget.get();if(v)c2(v);return}let n=this.input;if(this.onFocusIn&&n){let v=i.relatedTarget;this.onFocusIn(this,this._isBackward(!0,n,v),v)}},this._focusOut=(i)=>{if(this._fixedTarget)return;this.useDefaultAction=!1;let n=this.input;if(this.onFocusOut&&n){let v=i.relatedTarget;this.onFocusOut(this,this._isBackward(!1,n,v),v)}};let h=a(),Z=h.document.createElement("i");Z.tabIndex=0,Z.setAttribute("role","none"),Z.setAttribute(Qp,""),Z.setAttribute("aria-hidden","true");let t=Z.style;if(t.position="fixed",t.width=t.height="1px",t.opacity="0.001",t.zIndex="-1",t.setProperty("content-visibility","hidden"),kL(Z),this.input=Z,this.isFirst=c.isFirst,this.isOutside=l,this._isPhantom=(e=c.isPhantom)!==null&&e!==void 0?e:!1,this._fixedTarget=r,Z.addEventListener("focusin",this._focusIn),Z.addEventListener("focusout",this._focusOut),Z.__tabsterDummyContainer=o,this._isPhantom)this._disposeTimer=h.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{if(this._disposeTimer)h.clearTimeout(this._disposeTimer),delete this._disposeTimer;delete this._clearDisposeTimeout}}dispose(){var a;if(this._clearDisposeTimeout)this._clearDisposeTimeout();let l=this.input;if(!l)return;delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,l.removeEventListener("focusin",this._focusIn),l.removeEventListener("focusout",this._focusOut),delete l.__tabsterDummyContainer,(a=q.getParentNode(l))===null||a===void 0||a.removeChild(l)}setTopLeft(a,l){var c;let o=(c=this.input)===null||c===void 0?void 0:c.style;if(o)o.top=`${a}px`,o.left=`${l}px`}_isBackward(a,l,c){return a&&!c?!this.isFirst:!!(c&&l.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_FOLLOWING)}}var Bo={Root:1,Modalizer:2,Mover:3,Groupper:4};class I3{constructor(a,l,c,o,r,e){this._element=l,this._instance=new Z_(a,l,this,c,o,r,e)}_setHandlers(a,l){this._onFocusIn=a,this._onFocusOut=l}moveOut(a){var l;(l=this._instance)===null||l===void 0||l.moveOut(a)}moveOutWithDefaultAction(a,l){var c;(c=this._instance)===null||c===void 0||c.moveOutWithDefaultAction(a,l)}getHandler(a){return a?this._onFocusIn:this._onFocusOut}setTabbable(a){var l;(l=this._instance)===null||l===void 0||l.setTabbable(this,a)}dispose(){if(this._instance)this._instance.dispose(this),delete this._instance;delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(a,l,c,o,r){let h=new ha(a.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(h){let Z,t;if(l.tagName==="BODY")Z=l,t=c&&o||!c&&!o?q.getFirstElementChild(l):null;else{if(c&&(!o||o&&!a.focusable.isFocusable(l,!1,!0,!0)))Z=l,t=o?l.firstElementChild:null;else Z=q.getParentElement(l),t=c&&o||!c&&!o?l:q.getNextElementSibling(l);let i,n;do if(i=c&&o||!c&&!o?q.getPreviousElementSibling(t):t,n=_6(i),n===l)t=c&&o||!c&&!o?i:q.getNextElementSibling(i);else n=null;while(n)}if(Z===null||Z===void 0?void 0:Z.dispatchEvent(new g7({by:"root",owner:Z,next:null,relatedEvent:r})))q.insertBefore(Z,h,t),c2(h)}}static addPhantomDummyWithTarget(a,l,c,o){let e=new ha(a.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new p5(a.getWindow,o)).input;if(e){let h,Z;if(UL(l)&&!c)h=l,Z=q.getFirstElementChild(l);else h=q.getParentElement(l),Z=c?l:q.getNextElementSibling(l);if(h)q.insertBefore(h,e,Z)}}}function r3(a,l){var c;let o={1:"Root",2:"Modalizer",3:"Mover",4:"Groupper"};(c=a.input)===null||c===void 0||c.setAttribute(Qp,[`isFirst=${a.isFirst}`,`isOutside=${a.isOutside}`,...l.map((r)=>`(${o[r.priority]}, tabbable=${r.tabbable})`)].join(", "))}class h_{constructor(a){this._updateQueue=/*@__PURE__*/new Set,this._lastUpdateQueueTime=0,this._changedParents=/*@__PURE__*/new WeakSet,this._dummyElements=[],this._dummyCallbacks=/*@__PURE__*/new WeakMap,this._domChanged=(l)=>{var c;if(this._changedParents.has(l))return;if(this._changedParents.add(l),this._updateDummyInputsTimer)return;this._updateDummyInputsTimer=(c=this._win)===null||c===void 0?void 0:c.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(let o of this._dummyElements){let r=o.get();if(r){let e=this._dummyCallbacks.get(r);if(e){let h=q.getParentNode(r);if(!h||this._changedParents.has(h))e()}}}this._changedParents=/*@__PURE__*/new WeakSet},JZ)},this._win=a}add(a,l){if(!this._dummyCallbacks.has(a)&&this._win)this._dummyElements.push(new p5(this._win,a)),this._dummyCallbacks.set(a,l),this.domChanged=this._domChanged}remove(a){if(this._dummyElements=this._dummyElements.filter((l)=>{let c=l.get();return c&&c!==a}),this._dummyCallbacks.delete(a),this._dummyElements.length===0)delete this.domChanged}dispose(){var a;let l=(a=this._win)===null||a===void 0?void 0:a.call(this);if(this._updateTimer)l===null||l===void 0||l.clearTimeout(this._updateTimer),delete this._updateTimer;if(this._updateDummyInputsTimer)l===null||l===void 0||l.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer;this._changedParents=/*@__PURE__*/new WeakSet,this._dummyCallbacks=/*@__PURE__*/new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(a){if(!this._win)return;this._updateQueue.add(a),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions()}_scheduledUpdatePositions(){var a;if(this._updateTimer)return;this._updateTimer=(a=this._win)===null||a===void 0?void 0:a.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+JZ<=Date.now()){let l=/*@__PURE__*/new Map,c=[];for(let o of this._updateQueue)c.push(o(l));this._updateQueue.clear();for(let o of c)o();l.clear()}else this._scheduledUpdatePositions()},JZ)}}class Z_{constructor(a,l,c,o,r,e,h){this._wrappers=[],this._isOutside=!1,this._transformElements=/*@__PURE__*/new Set,this._onFocusIn=(d,M,_)=>{this._onFocus(!0,d,M,_)},this._onFocusOut=(d,M,_)=>{this._onFocus(!1,d,M,_)},this.moveOut=(d)=>{var M;let _=this._firstDummy,p=this._lastDummy;if(_&&p){this._ensurePosition();let A=_.input,m=p.input,u=(M=this._element)===null||M===void 0?void 0:M.get();if(A&&m&&u){let V;if(d)A.tabIndex=0,V=A;else m.tabIndex=0,V=m;if(V)c2(V)}}},this.moveOutWithDefaultAction=(d,M)=>{var _;let p=this._firstDummy,A=this._lastDummy;if(p&&A){this._ensurePosition();let m=p.input,u=A.input,V=(_=this._element)===null||_===void 0?void 0:_.get();if(m&&u&&V){let s;if(d)if(!p.isOutside&&this._tabster.focusable.isFocusable(V,!0,!0,!0))s=V;else p.useDefaultAction=!0,m.tabIndex=0,s=m;else A.useDefaultAction=!0,u.tabIndex=0,s=u;if(s&&V.dispatchEvent(new g7({by:"root",owner:V,next:null,relatedEvent:M})))c2(s)}}},this.setTabbable=(d,M)=>{var _,p;for(let m of this._wrappers)if(m.manager===d){m.tabbable=M;break}let A=this._getCurrent();if(A){let m=A.tabbable?0:-1,u=(_=this._firstDummy)===null||_===void 0?void 0:_.input;if(u)u.tabIndex=m;if(u=(p=this._lastDummy)===null||p===void 0?void 0:p.input,u)u.tabIndex=m}this._firstDummy&&r3(this._firstDummy,this._wrappers),this._lastDummy&&r3(this._lastDummy,this._wrappers)},this._addDummyInputs=()=>{if(this._addTimer)return;this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._firstDummy&&r3(this._firstDummy,this._wrappers),this._lastDummy&&r3(this._lastDummy,this._wrappers),this._addTransformOffsets()},0)},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=(d)=>{var M,_;let p=((M=this._firstDummy)===null||M===void 0?void 0:M.input)||((_=this._lastDummy)===null||_===void 0?void 0:_.input),A=this._transformElements,m=/*@__PURE__*/new Set,u=0,V=0,s=this._getWindow();for(let F=p;F&&F.nodeType===Node.ELEMENT_NODE;F=q.getParentElement(F)){let L=d.get(F);if(L===void 0){let C=s.getComputedStyle(F).transform;if(C&&C!=="none")L={scrollTop:F.scrollTop,scrollLeft:F.scrollLeft};d.set(F,L||null)}if(L){if(m.add(F),!A.has(F))F.addEventListener("scroll",this._addTransformOffsets);u+=L.scrollTop,V+=L.scrollLeft}}for(let F of A)if(!m.has(F))F.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=m,()=>{var F,L;(F=this._firstDummy)===null||F===void 0||F.setTopLeft(u,V),(L=this._lastDummy)===null||L===void 0||L.setTopLeft(u,V)}};let Z=l.get();if(!Z)throw Error("No element");this._tabster=a,this._getWindow=a.getWindow,this._callForDefaultAction=h;let t=Z.__tabsterDummy;if((t||this)._wrappers.push({manager:c,priority:o,tabbable:!0}),t)return this._firstDummy&&r3(this._firstDummy,t._wrappers),this._lastDummy&&r3(this._lastDummy,t._wrappers),t;Z.__tabsterDummy=this;let i=r===null||r===void 0?void 0:r.dummyInputsPosition,n=Z.tagName;this._isOutside=!i?(e||n==="UL"||n==="OL"||n==="TABLE")&&!(n==="LI"||n==="TD"||n==="TH"):i===Kg.Outside,this._firstDummy=new ha(this._getWindow,this._isOutside,{isFirst:!0},l),this._lastDummy=new ha(this._getWindow,this._isOutside,{isFirst:!1},l);let v=this._firstDummy.input;v&&a._dummyObserver.add(v,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=l,this._addDummyInputs()}dispose(a,l){var c,o,r,e;let h=this._wrappers=this._wrappers.filter((Z)=>Z.manager!==a&&!l);if(this._firstDummy&&r3(this._firstDummy,h),this._lastDummy&&r3(this._lastDummy,h),h.length===0){delete((c=this._element)===null||c===void 0?void 0:c.get()).__tabsterDummy;for(let i of this._transformElements)i.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();let Z=this._getWindow();if(this._addTimer)Z.clearTimeout(this._addTimer),delete this._addTimer;let t=(o=this._firstDummy)===null||o===void 0?void 0:o.input;t&&this._tabster._dummyObserver.remove(t),(r=this._firstDummy)===null||r===void 0||r.dispose(),(e=this._lastDummy)===null||e===void 0||e.dispose()}}_onFocus(a,l,c,o){var r;let e=this._getCurrent();if(e&&(!l.useDefaultAction||this._callForDefaultAction))(r=e.manager.getHandler(a))===null||r===void 0||r(l,c,o)}_getCurrent(){return this._wrappers.sort((a,l)=>{if(a.tabbable!==l.tabbable)return a.tabbable?-1:1;return a.priority-l.priority}),this._wrappers[0]}_ensurePosition(){var a,l,c;let o=(a=this._element)===null||a===void 0?void 0:a.get(),r=(l=this._firstDummy)===null||l===void 0?void 0:l.input,e=(c=this._lastDummy)===null||c===void 0?void 0:c.input;if(!o||!r||!e)return;if(this._isOutside){let h=q.getParentNode(o);if(h){let Z=q.getNextSibling(o);if(Z!==e)q.insertBefore(h,e,Z);if(q.getPreviousElementSibling(o)!==r)q.insertBefore(h,r,o)}}else{if(q.getLastElementChild(o)!==e)q.appendChild(o,e);let h=q.getFirstElementChild(o);if(h&&h!==r&&h.parentNode)q.insertBefore(h.parentNode,r,h)}}}function t_(a){let l=null;for(let c=q.getLastElementChild(a);c;c=q.getLastElementChild(c))l=c;return l||void 0}function EL(a,l){let c=a,o=null;while(c&&!o)o=l?q.getPreviousElementSibling(c):q.getNextElementSibling(c),c=q.getParentElement(c);return o||void 0}function IZ(a,l,c,o){let r=a.storageEntry(l,!0),e=!1;if(!r.aug){if(o===void 0)return e;r.aug={}}if(o===void 0){if(c in r.aug){let h=r.aug[c];if(delete r.aug[c],h===null)l.removeAttribute(c);else l.setAttribute(c,h);e=!0}}else{let h;if(!(c in r.aug))h=l.getAttribute(c);if(h!==void 0&&h!==o){if(r.aug[c]=h,o===null)l.removeAttribute(c);else l.setAttribute(c,o);e=!0}}if(o===void 0&&Object.keys(r.aug).length===0)delete r.aug,a.storageEntry(l,!1);return e}function qL(a){var l,c;let o=a.ownerDocument,r=(l=o.defaultView)===null||l===void 0?void 0:l.getComputedStyle(a);if(a.offsetParent===null&&o.body!==a&&(r===null||r===void 0?void 0:r.position)!=="fixed")return!0;if((r===null||r===void 0?void 0:r.visibility)==="hidden")return!0;if((r===null||r===void 0?void 0:r.position)==="fixed"){if(r.display==="none")return!0;if(((c=a.parentElement)===null||c===void 0?void 0:c.offsetParent)===null&&o.body!==a.parentElement)return!0}return!1}function lt(a){return a.tagName==="INPUT"&&!!a.name&&a.type==="radio"}function WL(a){if(!lt(a))return;let l=a.name,c=Array.from(q.getElementsByName(a,l)),o;return c=c.filter((r)=>{if(lt(r)){if(r.checked)o=r;return!0}return!1}),{name:l,buttons:new Set(c),checked:o}}function _6(a){var l;return((l=a===null||a===void 0?void 0:a.__tabsterDummyContainer)===null||l===void 0?void 0:l.get())||null}/*!
|
|
53
|
+
*/var at,Bp=typeof DOMRect<"u"?DOMRect:class{constructor(a,l,c,o){this.left=a||0,this.top=l||0,this.right=(a||0)+(c||0),this.bottom=(l||0)+(o||0)}},CL=0;try{document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT),at=!1}catch(a){at=!0}var JZ=100;function C7(a){let l=a(),c=l.__tabsterInstanceContext;if(!c)c={elementByUId:{},basics:{Promise:l.Promise||void 0,WeakRef:l.WeakRef||void 0},containerBoundingRectCache:{},lastContainerBoundingRectCacheId:0,fakeWeakRefs:[],fakeWeakRefsStarted:!1},l.__tabsterInstanceContext=c;return c}function RL(a){let l=a.__tabsterInstanceContext;if(l){if(l.elementByUId={},delete l.WeakRef,l.containerBoundingRectCache={},l.containerBoundingRectCacheTimer)a.clearTimeout(l.containerBoundingRectCacheTimer);if(l.fakeWeakRefsTimer)a.clearTimeout(l.fakeWeakRefsTimer);l.fakeWeakRefs=[],delete a.__tabsterInstanceContext}}function wL(a){let l=a.__tabsterInstanceContext;return new((l===null||l===void 0?void 0:l.basics.WeakMap)||WeakMap)}function SL(a){return!!a.querySelector(bp)}class ot{constructor(a){this._target=a}deref(){return this._target}static cleanup(a,l){if(!a._target)return!0;if(l||!et(a._target.ownerDocument,a._target))return delete a._target,!0;return!1}}class p5{constructor(a,l,c){let o=C7(a),r;if(o.WeakRef)r=new o.WeakRef(l);else r=new ot(l),o.fakeWeakRefs.push(r);this._ref=r,this._data=c}get(){let a=this._ref,l;if(a){if(l=a.deref(),!l)delete this._ref}return l}getData(){return this._data}}function Kp(a,l){let c=C7(a);c.fakeWeakRefs=c.fakeWeakRefs.filter((o)=>!ot.cleanup(o,l))}function jp(a){let l=C7(a);if(!l.fakeWeakRefsStarted)l.fakeWeakRefsStarted=!0,l.WeakRef=yL(l);if(!l.fakeWeakRefsTimer)l.fakeWeakRefsTimer=a().setTimeout(()=>{l.fakeWeakRefsTimer=void 0,Kp(a),jp(a)},120000)}function GL(a){let l=C7(a);if(l.fakeWeakRefsStarted=!1,l.fakeWeakRefsTimer)a().clearTimeout(l.fakeWeakRefsTimer),l.fakeWeakRefsTimer=void 0,l.fakeWeakRefs=[]}function rt(a,l,c){if(l.nodeType!==Node.ELEMENT_NODE)return;let o=at?c:{acceptNode:c};return q.createTreeWalker(a,l,NodeFilter.SHOW_ELEMENT,o,!1)}function Np(a,l){let c=l.__tabsterCacheId,o=C7(a),r=c?o.containerBoundingRectCache[c]:void 0;if(r)return r.rect;let e=l.ownerDocument&&l.ownerDocument.documentElement;if(!e)return new Bp;let h=0,Z=0,t=e.clientWidth,i=e.clientHeight;if(l!==e){let v=l.getBoundingClientRect();h=Math.max(h,v.left),Z=Math.max(Z,v.top),t=Math.min(t,v.right),i=Math.min(i,v.bottom)}let n=new Bp(h<t?h:-1,Z<i?Z:-1,h<t?t-h:0,Z<i?i-Z:0);if(!c)c="r-"+ ++o.lastContainerBoundingRectCacheId,l.__tabsterCacheId=c;if(o.containerBoundingRectCache[c]={rect:n,element:l},!o.containerBoundingRectCacheTimer)o.containerBoundingRectCacheTimer=window.setTimeout(()=>{o.containerBoundingRectCacheTimer=void 0;for(let v of Object.keys(o.containerBoundingRectCache))delete o.containerBoundingRectCache[v].element.__tabsterCacheId;o.containerBoundingRectCache={}},50);return n}function kp(a,l,c){let o=a_(l);if(!o)return!1;let r=Np(a,o),e=l.getBoundingClientRect(),h=e.height*(1-c),Z=Math.max(0,r.top-e.top),t=Math.max(0,e.bottom-r.bottom),i=Z+t;return i===0||i<=h}function UL(a,l,c){let o=a_(l);if(o){let r=Np(a,o),e=l.getBoundingClientRect();if(c)o.scrollTop+=e.top-r.top;else o.scrollTop+=e.bottom-r.bottom}}function a_(a){let l=a.ownerDocument;if(l){for(let c=q.getParentElement(a);c;c=q.getParentElement(c))if(c.scrollWidth>c.clientWidth||c.scrollHeight>c.clientHeight)return c;return l.documentElement}return null}function DL(a){a.__shouldIgnoreFocus=!0}function l_(a){return!!a.__shouldIgnoreFocus}function BL(a){let l=new Uint32Array(4);if(a.crypto&&a.crypto.getRandomValues)a.crypto.getRandomValues(l);else if(a.msCrypto&&a.msCrypto.getRandomValues)a.msCrypto.getRandomValues(l);else for(let o=0;o<l.length;o++)l[o]=4294967295*Math.random();let c=[];for(let o=0;o<l.length;o++)c.push(l[o].toString(36));return c.push("|"),c.push((++CL).toString(36)),c.push("|"),c.push(Date.now().toString(36)),c.join("")}function Uo(a,l){let c=C7(a),o=l.__tabsterElementUID;if(!o)o=l.__tabsterElementUID=BL(a());if(!c.elementByUId[o]&&et(l.ownerDocument,l))c.elementByUId[o]=new p5(a,l);return o}function yp(a,l){let c=C7(a);for(let o of Object.keys(c.elementByUId)){let r=c.elementByUId[o],e=r&&r.get();if(e&&l){if(!q.nodeContains(l,e))continue}delete c.elementByUId[o]}}function et(a,l){return q.nodeContains(a===null||a===void 0?void 0:a.body,l)}function c_(a,l){let c=a.matches||a.matchesSelector||a.msMatchesSelector||a.webkitMatchesSelector;return c&&c.call(a,l)}function kL(a){let l=C7(a);if(l.basics.Promise)return l.basics.Promise;throw Error("No Promise defined.")}function yL(a){return a.basics.WeakRef}var OL=0;class A6{constructor(a,l,c){let o=a.getWindow;this._tabster=a,this._element=new p5(o,l),this._props={...c},this.id="i"+ ++OL}getElement(){return this._element.get()}getProps(){return this._props}setProps(a){this._props={...a}}}class ha{constructor(a,l,c,o,r){var e;this._focusIn=(i)=>{if(this._fixedTarget){let v=this._fixedTarget.get();if(v)l2(v);return}let n=this.input;if(this.onFocusIn&&n){let v=i.relatedTarget;this.onFocusIn(this,this._isBackward(!0,n,v),v)}},this._focusOut=(i)=>{if(this._fixedTarget)return;this.useDefaultAction=!1;let n=this.input;if(this.onFocusOut&&n){let v=i.relatedTarget;this.onFocusOut(this,this._isBackward(!1,n,v),v)}};let h=a(),Z=h.document.createElement("i");Z.tabIndex=0,Z.setAttribute("role","none"),Z.setAttribute(Wp,""),Z.setAttribute("aria-hidden","true");let t=Z.style;if(t.position="fixed",t.width=t.height="1px",t.opacity="0.001",t.zIndex="-1",t.setProperty("content-visibility","hidden"),DL(Z),this.input=Z,this.isFirst=c.isFirst,this.isOutside=l,this._isPhantom=(e=c.isPhantom)!==null&&e!==void 0?e:!1,this._fixedTarget=r,Z.addEventListener("focusin",this._focusIn),Z.addEventListener("focusout",this._focusOut),Z.__tabsterDummyContainer=o,this._isPhantom)this._disposeTimer=h.setTimeout(()=>{delete this._disposeTimer,this.dispose()},0),this._clearDisposeTimeout=()=>{if(this._disposeTimer)h.clearTimeout(this._disposeTimer),delete this._disposeTimer;delete this._clearDisposeTimeout}}dispose(){var a;if(this._clearDisposeTimeout)this._clearDisposeTimeout();let l=this.input;if(!l)return;delete this._fixedTarget,delete this.onFocusIn,delete this.onFocusOut,delete this.input,l.removeEventListener("focusin",this._focusIn),l.removeEventListener("focusout",this._focusOut),delete l.__tabsterDummyContainer,(a=q.getParentNode(l))===null||a===void 0||a.removeChild(l)}setTopLeft(a,l){var c;let o=(c=this.input)===null||c===void 0?void 0:c.style;if(o)o.top=`${a}px`,o.left=`${l}px`}_isBackward(a,l,c){return a&&!c?!this.isFirst:!!(c&&l.compareDocumentPosition(c)&Node.DOCUMENT_POSITION_FOLLOWING)}}var Do={Root:1,Modalizer:2,Mover:3,Groupper:4};class I3{constructor(a,l,c,o,r,e){this._element=l,this._instance=new r_(a,l,this,c,o,r,e)}_setHandlers(a,l){this._onFocusIn=a,this._onFocusOut=l}moveOut(a){var l;(l=this._instance)===null||l===void 0||l.moveOut(a)}moveOutWithDefaultAction(a,l){var c;(c=this._instance)===null||c===void 0||c.moveOutWithDefaultAction(a,l)}getHandler(a){return a?this._onFocusIn:this._onFocusOut}setTabbable(a){var l;(l=this._instance)===null||l===void 0||l.setTabbable(this,a)}dispose(){if(this._instance)this._instance.dispose(this),delete this._instance;delete this._onFocusIn,delete this._onFocusOut}static moveWithPhantomDummy(a,l,c,o,r){let h=new ha(a.getWindow,!0,{isPhantom:!0,isFirst:!0}).input;if(h){let Z,t;if(l.tagName==="BODY")Z=l,t=c&&o||!c&&!o?q.getFirstElementChild(l):null;else{if(c&&(!o||o&&!a.focusable.isFocusable(l,!1,!0,!0)))Z=l,t=o?l.firstElementChild:null;else Z=q.getParentElement(l),t=c&&o||!c&&!o?l:q.getNextElementSibling(l);let i,n;do if(i=c&&o||!c&&!o?q.getPreviousElementSibling(t):t,n=_6(i),n===l)t=c&&o||!c&&!o?i:q.getNextElementSibling(i);else n=null;while(n)}if(Z===null||Z===void 0?void 0:Z.dispatchEvent(new g7({by:"root",owner:Z,next:null,relatedEvent:r})))q.insertBefore(Z,h,t),l2(h)}}static addPhantomDummyWithTarget(a,l,c,o){let e=new ha(a.getWindow,!0,{isPhantom:!0,isFirst:!0},void 0,new p5(a.getWindow,o)).input;if(e){let h,Z;if(SL(l)&&!c)h=l,Z=q.getFirstElementChild(l);else h=q.getParentElement(l),Z=c?l:q.getNextElementSibling(l);if(h)q.insertBefore(h,e,Z)}}}function r3(a,l){var c;let o={1:"Root",2:"Modalizer",3:"Mover",4:"Groupper"};(c=a.input)===null||c===void 0||c.setAttribute(Wp,[`isFirst=${a.isFirst}`,`isOutside=${a.isOutside}`,...l.map((r)=>`(${o[r.priority]}, tabbable=${r.tabbable})`)].join(", "))}class o_{constructor(a){this._updateQueue=/*@__PURE__*/new Set,this._lastUpdateQueueTime=0,this._changedParents=/*@__PURE__*/new WeakSet,this._dummyElements=[],this._dummyCallbacks=/*@__PURE__*/new WeakMap,this._domChanged=(l)=>{var c;if(this._changedParents.has(l))return;if(this._changedParents.add(l),this._updateDummyInputsTimer)return;this._updateDummyInputsTimer=(c=this._win)===null||c===void 0?void 0:c.call(this).setTimeout(()=>{delete this._updateDummyInputsTimer;for(let o of this._dummyElements){let r=o.get();if(r){let e=this._dummyCallbacks.get(r);if(e){let h=q.getParentNode(r);if(!h||this._changedParents.has(h))e()}}}this._changedParents=/*@__PURE__*/new WeakSet},JZ)},this._win=a}add(a,l){if(!this._dummyCallbacks.has(a)&&this._win)this._dummyElements.push(new p5(this._win,a)),this._dummyCallbacks.set(a,l),this.domChanged=this._domChanged}remove(a){if(this._dummyElements=this._dummyElements.filter((l)=>{let c=l.get();return c&&c!==a}),this._dummyCallbacks.delete(a),this._dummyElements.length===0)delete this.domChanged}dispose(){var a;let l=(a=this._win)===null||a===void 0?void 0:a.call(this);if(this._updateTimer)l===null||l===void 0||l.clearTimeout(this._updateTimer),delete this._updateTimer;if(this._updateDummyInputsTimer)l===null||l===void 0||l.clearTimeout(this._updateDummyInputsTimer),delete this._updateDummyInputsTimer;this._changedParents=/*@__PURE__*/new WeakSet,this._dummyCallbacks=/*@__PURE__*/new WeakMap,this._dummyElements=[],this._updateQueue.clear(),delete this.domChanged,delete this._win}updatePositions(a){if(!this._win)return;this._updateQueue.add(a),this._lastUpdateQueueTime=Date.now(),this._scheduledUpdatePositions()}_scheduledUpdatePositions(){var a;if(this._updateTimer)return;this._updateTimer=(a=this._win)===null||a===void 0?void 0:a.call(this).setTimeout(()=>{if(delete this._updateTimer,this._lastUpdateQueueTime+JZ<=Date.now()){let l=/*@__PURE__*/new Map,c=[];for(let o of this._updateQueue)c.push(o(l));this._updateQueue.clear();for(let o of c)o();l.clear()}else this._scheduledUpdatePositions()},JZ)}}class r_{constructor(a,l,c,o,r,e,h){this._wrappers=[],this._isOutside=!1,this._transformElements=/*@__PURE__*/new Set,this._onFocusIn=(d,M,_)=>{this._onFocus(!0,d,M,_)},this._onFocusOut=(d,M,_)=>{this._onFocus(!1,d,M,_)},this.moveOut=(d)=>{var M;let _=this._firstDummy,p=this._lastDummy;if(_&&p){this._ensurePosition();let A=_.input,m=p.input,u=(M=this._element)===null||M===void 0?void 0:M.get();if(A&&m&&u){let V;if(d)A.tabIndex=0,V=A;else m.tabIndex=0,V=m;if(V)l2(V)}}},this.moveOutWithDefaultAction=(d,M)=>{var _;let p=this._firstDummy,A=this._lastDummy;if(p&&A){this._ensurePosition();let m=p.input,u=A.input,V=(_=this._element)===null||_===void 0?void 0:_.get();if(m&&u&&V){let s;if(d)if(!p.isOutside&&this._tabster.focusable.isFocusable(V,!0,!0,!0))s=V;else p.useDefaultAction=!0,m.tabIndex=0,s=m;else A.useDefaultAction=!0,u.tabIndex=0,s=u;if(s&&V.dispatchEvent(new g7({by:"root",owner:V,next:null,relatedEvent:M})))l2(s)}}},this.setTabbable=(d,M)=>{var _,p;for(let m of this._wrappers)if(m.manager===d){m.tabbable=M;break}let A=this._getCurrent();if(A){let m=A.tabbable?0:-1,u=(_=this._firstDummy)===null||_===void 0?void 0:_.input;if(u)u.tabIndex=m;if(u=(p=this._lastDummy)===null||p===void 0?void 0:p.input,u)u.tabIndex=m}this._firstDummy&&r3(this._firstDummy,this._wrappers),this._lastDummy&&r3(this._lastDummy,this._wrappers)},this._addDummyInputs=()=>{if(this._addTimer)return;this._addTimer=this._getWindow().setTimeout(()=>{delete this._addTimer,this._ensurePosition(),this._firstDummy&&r3(this._firstDummy,this._wrappers),this._lastDummy&&r3(this._lastDummy,this._wrappers),this._addTransformOffsets()},0)},this._addTransformOffsets=()=>{this._tabster._dummyObserver.updatePositions(this._computeTransformOffsets)},this._computeTransformOffsets=(d)=>{var M,_;let p=((M=this._firstDummy)===null||M===void 0?void 0:M.input)||((_=this._lastDummy)===null||_===void 0?void 0:_.input),A=this._transformElements,m=/*@__PURE__*/new Set,u=0,V=0,s=this._getWindow();for(let F=p;F&&F.nodeType===Node.ELEMENT_NODE;F=q.getParentElement(F)){let L=d.get(F);if(L===void 0){let C=s.getComputedStyle(F).transform;if(C&&C!=="none")L={scrollTop:F.scrollTop,scrollLeft:F.scrollLeft};d.set(F,L||null)}if(L){if(m.add(F),!A.has(F))F.addEventListener("scroll",this._addTransformOffsets);u+=L.scrollTop,V+=L.scrollLeft}}for(let F of A)if(!m.has(F))F.removeEventListener("scroll",this._addTransformOffsets);return this._transformElements=m,()=>{var F,L;(F=this._firstDummy)===null||F===void 0||F.setTopLeft(u,V),(L=this._lastDummy)===null||L===void 0||L.setTopLeft(u,V)}};let Z=l.get();if(!Z)throw Error("No element");this._tabster=a,this._getWindow=a.getWindow,this._callForDefaultAction=h;let t=Z.__tabsterDummy;if((t||this)._wrappers.push({manager:c,priority:o,tabbable:!0}),t)return this._firstDummy&&r3(this._firstDummy,t._wrappers),this._lastDummy&&r3(this._lastDummy,t._wrappers),t;Z.__tabsterDummy=this;let i=r===null||r===void 0?void 0:r.dummyInputsPosition,n=Z.tagName;this._isOutside=!i?(e||n==="UL"||n==="OL"||n==="TABLE")&&!(n==="LI"||n==="TD"||n==="TH"):i===Yg.Outside,this._firstDummy=new ha(this._getWindow,this._isOutside,{isFirst:!0},l),this._lastDummy=new ha(this._getWindow,this._isOutside,{isFirst:!1},l);let v=this._firstDummy.input;v&&a._dummyObserver.add(v,this._addDummyInputs),this._firstDummy.onFocusIn=this._onFocusIn,this._firstDummy.onFocusOut=this._onFocusOut,this._lastDummy.onFocusIn=this._onFocusIn,this._lastDummy.onFocusOut=this._onFocusOut,this._element=l,this._addDummyInputs()}dispose(a,l){var c,o,r,e;let h=this._wrappers=this._wrappers.filter((Z)=>Z.manager!==a&&!l);if(this._firstDummy&&r3(this._firstDummy,h),this._lastDummy&&r3(this._lastDummy,h),h.length===0){delete((c=this._element)===null||c===void 0?void 0:c.get()).__tabsterDummy;for(let i of this._transformElements)i.removeEventListener("scroll",this._addTransformOffsets);this._transformElements.clear();let Z=this._getWindow();if(this._addTimer)Z.clearTimeout(this._addTimer),delete this._addTimer;let t=(o=this._firstDummy)===null||o===void 0?void 0:o.input;t&&this._tabster._dummyObserver.remove(t),(r=this._firstDummy)===null||r===void 0||r.dispose(),(e=this._lastDummy)===null||e===void 0||e.dispose()}}_onFocus(a,l,c,o){var r;let e=this._getCurrent();if(e&&(!l.useDefaultAction||this._callForDefaultAction))(r=e.manager.getHandler(a))===null||r===void 0||r(l,c,o)}_getCurrent(){return this._wrappers.sort((a,l)=>{if(a.tabbable!==l.tabbable)return a.tabbable?-1:1;return a.priority-l.priority}),this._wrappers[0]}_ensurePosition(){var a,l,c;let o=(a=this._element)===null||a===void 0?void 0:a.get(),r=(l=this._firstDummy)===null||l===void 0?void 0:l.input,e=(c=this._lastDummy)===null||c===void 0?void 0:c.input;if(!o||!r||!e)return;if(this._isOutside){let h=q.getParentNode(o);if(h){let Z=q.getNextSibling(o);if(Z!==e)q.insertBefore(h,e,Z);if(q.getPreviousElementSibling(o)!==r)q.insertBefore(h,r,o)}}else{if(q.getLastElementChild(o)!==e)q.appendChild(o,e);let h=q.getFirstElementChild(o);if(h&&h!==r&&h.parentNode)q.insertBefore(h.parentNode,r,h)}}}function e_(a){let l=null;for(let c=q.getLastElementChild(a);c;c=q.getLastElementChild(c))l=c;return l||void 0}function PL(a,l){let c=a,o=null;while(c&&!o)o=l?q.getPreviousElementSibling(c):q.getNextElementSibling(c),c=q.getParentElement(c);return o||void 0}function IZ(a,l,c,o){let r=a.storageEntry(l,!0),e=!1;if(!r.aug){if(o===void 0)return e;r.aug={}}if(o===void 0){if(c in r.aug){let h=r.aug[c];if(delete r.aug[c],h===null)l.removeAttribute(c);else l.setAttribute(c,h);e=!0}}else{let h;if(!(c in r.aug))h=l.getAttribute(c);if(h!==void 0&&h!==o){if(r.aug[c]=h,o===null)l.removeAttribute(c);else l.setAttribute(c,o);e=!0}}if(o===void 0&&Object.keys(r.aug).length===0)delete r.aug,a.storageEntry(l,!1);return e}function TL(a){var l,c;let o=a.ownerDocument,r=(l=o.defaultView)===null||l===void 0?void 0:l.getComputedStyle(a);if(a.offsetParent===null&&o.body!==a&&(r===null||r===void 0?void 0:r.position)!=="fixed")return!0;if((r===null||r===void 0?void 0:r.visibility)==="hidden")return!0;if((r===null||r===void 0?void 0:r.position)==="fixed"){if(r.display==="none")return!0;if(((c=a.parentElement)===null||c===void 0?void 0:c.offsetParent)===null&&o.body!==a.parentElement)return!0}return!1}function lt(a){return a.tagName==="INPUT"&&!!a.name&&a.type==="radio"}function EL(a){if(!lt(a))return;let l=a.name,c=Array.from(q.getElementsByName(a,l)),o;return c=c.filter((r)=>{if(lt(r)){if(r.checked)o=r;return!0}return!1}),{name:l,buttons:new Set(c),checked:o}}function _6(a){var l;return((l=a===null||a===void 0?void 0:a.__tabsterDummyContainer)===null||l===void 0?void 0:l.get())||null}/*!
|
|
54
54
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
55
55
|
* Licensed under the MIT License.
|
|
56
|
-
*/function ta(a,l){let c=JSON.stringify(a);if(l===!0)return c;return{[
|
|
56
|
+
*/function ta(a,l){let c=JSON.stringify(a);if(l===!0)return c;return{[W2]:c}}function qL(a,l){for(let c of Object.keys(l)){let o=l[c];if(o)a[c]=o;else delete a[c]}}function WL(a,l,c){let o;if(c){let r=a.getAttribute(W2);if(r)try{o=JSON.parse(r)}catch(e){console.error(`data-tabster attribute error: ${e}`,a)}}if(!o)o={};if(qL(o,l),Object.keys(o).length>0)a.setAttribute(W2,ta(o,!0));else a.removeAttribute(W2)}/*!
|
|
57
57
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
58
58
|
* Licensed under the MIT License.
|
|
59
|
-
*/function
|
|
59
|
+
*/function Op(a,l,c){{let o=a.get();if(o)if(l)o.style.removeProperty("--tabster-root");else o.style.setProperty("--tabster-root",c+",")}}class ct extends I3{constructor(a,l,c,o){super(a,l,Do.Root,o,void 0,!0);this._onDummyInputFocus=(r)=>{var e;if(r.useDefaultAction)this._setFocused(!1);else{this._tabster.keyboardNavigation.setNavigatingWithKeyboard(!0);let h=this._element.get();if(h){this._setFocused(!0);let Z=this._tabster.focusedElement.getFirstOrLastTabbable(r.isFirst,{container:h,ignoreAccessibility:!0});if(Z){l2(Z);return}}(e=r.input)===null||e===void 0||e.blur()}},this._setHandlers(this._onDummyInputFocus),this._tabster=a,this._setFocused=c}}class h_ extends A6{constructor(a,l,c,o,r){super(a,l,o);this._isFocused=!1,this._setFocused=(t)=>{var i;if(this._setFocusedTimer)this._tabster.getWindow().clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer;if(this._isFocused===t)return;let n=this._element.get();if(n)if(t)this._isFocused=!0,(i=this._dummyManager)===null||i===void 0||i.setTabbable(!1),n.dispatchEvent(new Yp({element:n}));else this._setFocusedTimer=this._tabster.getWindow().setTimeout(()=>{var v;delete this._setFocusedTimer,this._isFocused=!1,(v=this._dummyManager)===null||v===void 0||v.setTabbable(!0),n.dispatchEvent(new Xp({element:n}))},0)},this._onFocusIn=(t)=>{let i=this._tabster.getParent,n=this._element.get(),v=t.composedPath()[0];do{if(v===n){this._setFocused(!0);return}v=v&&i(v)}while(v)},this._onFocusOut=()=>{this._setFocused(!1)},this._onDispose=c;let e=a.getWindow;if(this.uid=Uo(e,l),this._sys=r,a.controlTab||a.rootDummyInputs)this.addDummyInputs();let Z=e().document;Z.addEventListener(M5,this._onFocusIn),Z.addEventListener(M6,this._onFocusOut),this._add()}addDummyInputs(){if(!this._dummyManager)this._dummyManager=new ct(this._tabster,this._element,this._setFocused,this._sys)}dispose(){var a;this._onDispose(this);let l=this._tabster.getWindow(),c=l.document;if(c.removeEventListener(M5,this._onFocusIn),c.removeEventListener(M6,this._onFocusOut),this._setFocusedTimer)l.clearTimeout(this._setFocusedTimer),delete this._setFocusedTimer;(a=this._dummyManager)===null||a===void 0||a.dispose(),this._remove()}moveOutWithDefaultAction(a,l){let c=this._dummyManager;if(c)c.moveOutWithDefaultAction(a,l);else{let o=this.getElement();if(o)ct.moveWithPhantomDummy(this._tabster,o,!0,a,l)}}_add(){Op(this._element,!1,this.uid)}_remove(){Op(this._element,!0)}}class E1{constructor(a,l){this._autoRootWaiting=!1,this._roots={},this._forceDummy=!1,this.rootById={},this._autoRootCreate=()=>{var c;let o=this._win().document,r=o.body;if(r){this._autoRootUnwait(o);let e=this._autoRoot;if(e)return WL(r,{root:e},!0),zp(this._tabster,r),(c=W0(this._tabster,r))===null||c===void 0?void 0:c.root}else if(!this._autoRootWaiting)this._autoRootWaiting=!0,o.addEventListener("readystatechange",this._autoRootCreate);return},this._onRootDispose=(c)=>{delete this._roots[c.id]},this._tabster=a,this._win=a.getWindow,this._autoRoot=l,a.queueInit(()=>{if(this._autoRoot)this._autoRootCreate()})}_autoRootUnwait(a){a.removeEventListener("readystatechange",this._autoRootCreate),this._autoRootWaiting=!1}dispose(){let a=this._win();this._autoRootUnwait(a.document),delete this._autoRoot,Object.keys(this._roots).forEach((l)=>{if(this._roots[l])this._roots[l].dispose(),delete this._roots[l]}),this.rootById={}}createRoot(a,l,c){let o=new h_(this._tabster,a,this._onRootDispose,l,c);if(this._roots[o.id]=o,this._forceDummy)o.addDummyInputs();return o}addDummyInputs(){this._forceDummy=!0;let a=this._roots;for(let l of Object.keys(a))a[l].addDummyInputs()}static getRootByUId(a,l){let c=a().__tabsterInstance;return c&&c.root.rootById[l]}static getTabsterContext(a,l,c={}){var o,r,e,h;if(!l.ownerDocument)return;let{checkRtl:Z,referenceElement:t}=c,i=a.getParent;a.drainInitQueue();let n,v,d,M,_=!1,p,A,m,u,V=t||l,s={};while(V&&(!n||Z)){let L=W0(a,V);if(Z&&m===void 0){let t1=V.dir;if(t1)m=t1.toLowerCase()==="rtl"}if(!L){V=i(V);continue}let C=V.tagName;if((L.uncontrolled||C==="IFRAME"||C==="WEBVIEW")&&a.focusable.isVisible(V))u=V;if(!M&&((o=L.focusable)===null||o===void 0?void 0:o.excludeFromMover)&&!d)_=!0;let{modalizer:P,groupper:W,mover:r1}=L;if(!v&&P)v=P;if(!d&&W&&(!v||P))if(v){if(!W.isActive()&&W.getProps().tabbability&&v.userId!==((r=a.modalizer)===null||r===void 0?void 0:r.activeId))v=void 0,d=W;A=W}else d=W;if(!M&&r1&&(!v||P)&&(!W||V!==l)&&V.contains(l))M=r1,p=!!d&&d!==W;if(L.root)n=L.root;if((e=L.focusable)===null||e===void 0?void 0:e.ignoreKeydown)Object.assign(s,L.focusable.ignoreKeydown);V=i(V)}if(!n){let L=a.root;if(L._autoRoot){if((h=l.ownerDocument)===null||h===void 0?void 0:h.body)n=L._autoRootCreate()}}if(d&&!M)p=!0;if(!n){if(v||d||M)console.error("Tabster Root is required for Mover, Groupper and Modalizer to work.")}return n?{root:n,modalizer:v,groupper:d,mover:M,groupperBeforeMover:p,modalizerInGroupper:A,rtl:Z?!!m:void 0,uncontrolled:u,excludedFromMover:_,ignoreKeydown:(L)=>!!s[L.key]}:void 0}static getRoot(a,l){var c;let o=a.getParent;for(let r=l;r;r=o(r)){let e=(c=W0(a,r))===null||c===void 0?void 0:c.root;if(e)return e}return}onRoot(a,l){if(l)delete this.rootById[a.uid];else this.rootById[a.uid]=a}}/*!
|
|
60
60
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
61
61
|
* Licensed under the MIT License.
|
|
62
62
|
*//*!
|
|
@@ -68,28 +68,28 @@ You can check this by searching up for matching entries in a lockfile produced b
|
|
|
68
68
|
*//*!
|
|
69
69
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
70
70
|
* Licensed under the MIT License.
|
|
71
|
-
*/class
|
|
71
|
+
*/class Z_{constructor(a){this._tabster=a}dispose(){}getProps(a){let l=W0(this._tabster,a);return l&&l.focusable||{}}isFocusable(a,l,c,o){if(c_(a,bp)&&(l||a.tabIndex!==-1))return(c||this.isVisible(a))&&(o||this.isAccessible(a));return!1}isVisible(a){if(!a.ownerDocument||a.nodeType!==Node.ELEMENT_NODE)return!1;if(TL(a))return!1;let l=a.ownerDocument.body.getBoundingClientRect();if(l.width===0&&l.height===0)return!1;return!0}isAccessible(a){var l;for(let c=a;c;c=q.getParentElement(c)){let o=W0(this._tabster,c);if(this._isHidden(c))return!1;if(!((l=o===null||o===void 0?void 0:o.focusable)===null||l===void 0?void 0:l.ignoreAriaDisabled)&&this._isDisabled(c))return!1}return!0}_isDisabled(a){return a.hasAttribute("disabled")}_isHidden(a){var l;let c=a.getAttribute("aria-hidden");if(c&&c.toLowerCase()==="true"){if(!((l=this._tabster.modalizer)===null||l===void 0?void 0:l.isAugmented(a)))return!0}return!1}findFirst(a,l){return this.findElement({...a},l)}findLast(a,l){return this.findElement({isBackward:!0,...a},l)}findNext(a,l){return this.findElement({...a},l)}findPrev(a,l){return this.findElement({...a,isBackward:!0},l)}findDefault(a,l){return this.findElement({...a,acceptCondition:(c)=>this.isFocusable(c,a.includeProgrammaticallyFocusable)&&!!this.getProps(c).isDefault},l)||null}findAll(a){return this._findElements(!0,a)||[]}findElement(a,l){let c=this._findElements(!1,a,l);return c?c[0]:c}_findElements(a,l,c){var o,r,e;let{container:h,currentElement:Z=null,includeProgrammaticallyFocusable:t,useActiveModalizer:i,ignoreAccessibility:n,modalizerId:v,isBackward:d,onElement:M}=l;if(!c)c={};let _=[],{acceptCondition:p}=l,A=!!p;if(!h)return null;if(!p)p=(s)=>this.isFocusable(s,t,!1,n);let m={container:h,modalizerUserId:v===void 0&&i?(o=this._tabster.modalizer)===null||o===void 0?void 0:o.activeId:v||((e=(r=E1.getTabsterContext(this._tabster,h))===null||r===void 0?void 0:r.modalizer)===null||e===void 0?void 0:e.userId),from:Z||h,isBackward:d,isFindAll:a,acceptCondition:p,hasCustomCondition:A,includeProgrammaticallyFocusable:t,ignoreAccessibility:n,cachedGrouppers:{},cachedRadioGroups:{}},u=rt(h.ownerDocument,h,(s)=>this._acceptElement(s,m));if(!u)return null;let V=(s)=>{var F,L;let C=(F=m.foundElement)!==null&&F!==void 0?F:m.foundBackward;if(C)_.push(C);if(a){if(C){if(m.found=!1,delete m.foundElement,delete m.foundBackward,delete m.fromCtx,m.from=C,M&&!M(C))return!1}return!!(C||s)}else{if(C&&c)c.uncontrolled=(L=E1.getTabsterContext(this._tabster,C))===null||L===void 0?void 0:L.uncontrolled;return!!(s&&!C)}};if(!Z)c.outOfDOMOrder=!0;if(Z&&q.nodeContains(h,Z))u.currentNode=Z;else if(d){let s=e_(h);if(!s)return null;if(this._acceptElement(s,m)===NodeFilter.FILTER_ACCEPT&&!V(!0)){if(m.skippedFocusable)c.outOfDOMOrder=!0;return _}u.currentNode=s}do if(d)u.previousNode();else u.nextNode();while(V());if(m.skippedFocusable)c.outOfDOMOrder=!0;return _.length?_:null}_acceptElement(a,l){var c,o,r;if(l.found)return NodeFilter.FILTER_ACCEPT;let e=l.foundBackward;if(e&&(a===e||!q.nodeContains(e,a)))return l.found=!0,l.foundElement=e,NodeFilter.FILTER_ACCEPT;let h=l.container;if(a===h)return NodeFilter.FILTER_SKIP;if(!q.nodeContains(h,a))return NodeFilter.FILTER_REJECT;if(_6(a))return NodeFilter.FILTER_REJECT;if(q.nodeContains(l.rejectElementsFrom,a))return NodeFilter.FILTER_REJECT;let Z=l.currentCtx=E1.getTabsterContext(this._tabster,a);if(!Z)return NodeFilter.FILTER_SKIP;if(l_(a)){if(this.isFocusable(a,void 0,!0,!0))l.skippedFocusable=!0;return NodeFilter.FILTER_SKIP}if(!l.hasCustomCondition&&(a.tagName==="IFRAME"||a.tagName==="WEBVIEW"))if(this.isVisible(a)&&((c=Z.modalizer)===null||c===void 0?void 0:c.userId)===((o=this._tabster.modalizer)===null||o===void 0?void 0:o.activeId))return l.found=!0,l.rejectElementsFrom=l.foundElement=a,NodeFilter.FILTER_ACCEPT;else return NodeFilter.FILTER_REJECT;if(!l.ignoreAccessibility&&!this.isAccessible(a)){if(this.isFocusable(a,!1,!0,!0))l.skippedFocusable=!0;return NodeFilter.FILTER_REJECT}let t,i=l.fromCtx;if(!i)i=l.fromCtx=E1.getTabsterContext(this._tabster,l.from);let n=i===null||i===void 0?void 0:i.mover,v=Z.groupper,d=Z.mover;if(t=(r=this._tabster.modalizer)===null||r===void 0?void 0:r.acceptElement(a,l),t!==void 0)l.skippedFocusable=!0;if(t===void 0&&(v||d||n)){let M=v===null||v===void 0?void 0:v.getElement(),_=n===null||n===void 0?void 0:n.getElement(),p=d===null||d===void 0?void 0:d.getElement();if(p&&q.nodeContains(_,p)&&q.nodeContains(h,_)&&(!M||!d||q.nodeContains(_,M)))d=n,p=_;if(M){if(M===h||!q.nodeContains(h,M))v=void 0;else if(!q.nodeContains(M,a))return NodeFilter.FILTER_REJECT}if(p){if(!q.nodeContains(h,p))d=void 0;else if(!q.nodeContains(p,a))return NodeFilter.FILTER_REJECT}if(v&&d)if(p&&M&&!q.nodeContains(M,p))d=void 0;else v=void 0;if(v)t=v.acceptElement(a,l);if(d)t=d.acceptElement(a,l)}if(t===void 0){if(t=l.acceptCondition(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,t===NodeFilter.FILTER_SKIP&&this.isFocusable(a,!1,!0,!0))l.skippedFocusable=!0}if(t===NodeFilter.FILTER_ACCEPT&&!l.found){if(!l.isFindAll&<(a)&&!a.checked){let M=a.name,_=l.cachedRadioGroups[M];if(!_){if(_=EL(a),_)l.cachedRadioGroups[M]=_}if((_===null||_===void 0?void 0:_.checked)&&_.checked!==a)return NodeFilter.FILTER_SKIP}if(l.isBackward)l.foundBackward=a,t=NodeFilter.FILTER_SKIP;else l.found=!0,l.foundElement=a}return t}}/*!
|
|
72
72
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
73
73
|
* Licensed under the MIT License.
|
|
74
74
|
*/var Z0={Tab:"Tab",Enter:"Enter",Escape:"Escape",PageUp:"PageUp",PageDown:"PageDown",End:"End",Home:"Home",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown"};/*!
|
|
75
75
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
76
76
|
* Licensed under the MIT License.
|
|
77
|
-
*/function
|
|
77
|
+
*/function bL(a,l){var c;let o=a.getParent,r=l;do{let e=(c=W0(a,r))===null||c===void 0?void 0:c.uncontrolled;if(e&&a.uncontrolled.isUncontrolledCompletely(r,!!e.completely))return r;r=o(r)}while(r);return}var Pp={[x7.Restorer]:0,[x7.Deloser]:1,[x7.EscapeGroupper]:2};class t0 extends ht{constructor(a,l){super();this._init=()=>{let c=this._win(),o=c.document;o.addEventListener(M5,this._onFocusIn,!0),o.addEventListener(M6,this._onFocusOut,!0),c.addEventListener("keydown",this._onKeyDown,!0);let r=q.getActiveElement(o);if(r&&r!==o.body)this._setFocusedElement(r);this.subscribe(this._onChanged)},this._onFocusIn=(c)=>{let o=c.composedPath()[0];if(o)this._setFocusedElement(o,c.detail.relatedTarget,c.detail.isFocusedProgrammatically)},this._onFocusOut=(c)=>{var o;this._setFocusedElement(void 0,(o=c.detail)===null||o===void 0?void 0:o.originalEvent.relatedTarget)},this._validateFocusedElement=(c)=>{},this._onKeyDown=(c)=>{if(c.key!==Z0.Tab||c.ctrlKey)return;let o=this.getVal();if(!o||!o.ownerDocument||o.contentEditable==="true")return;let r=this._tabster,e=r.controlTab,h=E1.getTabsterContext(r,o);if(!h||h.ignoreKeydown(c))return;let Z=c.shiftKey,t=t0.findNextTabbable(r,h,void 0,o,void 0,Z,!0),i=h.root.getElement();if(!i)return;let n=t===null||t===void 0?void 0:t.element,v=bL(r,o);if(n){let d=t.uncontrolled;if(h.uncontrolled||q.nodeContains(d,o)){if(!t.outOfDOMOrder&&d===h.uncontrolled||v&&!q.nodeContains(v,n))return;I3.addPhantomDummyWithTarget(r,o,Z,n);return}if(d&&r.focusable.isVisible(d)||n.tagName==="IFRAME"&&r.focusable.isVisible(n)){if(i.dispatchEvent(new g7({by:"root",owner:i,next:n,relatedEvent:c})))I3.moveWithPhantomDummy(r,d!==null&&d!==void 0?d:n,!1,Z,c);return}if(e||(t===null||t===void 0?void 0:t.outOfDOMOrder)){if(i.dispatchEvent(new g7({by:"root",owner:i,next:n,relatedEvent:c})))c.preventDefault(),c.stopImmediatePropagation(),l2(n)}}else if(!v&&i.dispatchEvent(new g7({by:"root",owner:i,next:null,relatedEvent:c})))h.root.moveOutWithDefaultAction(Z,c)},this._onChanged=(c,o)=>{var r,e;if(c)c.dispatchEvent(new Qp(o));else{let h=(r=this._lastVal)===null||r===void 0?void 0:r.get();if(h){let Z={...o},t=E1.getTabsterContext(this._tabster,h),i=(e=t===null||t===void 0?void 0:t.modalizer)===null||e===void 0?void 0:e.userId;if(i)Z.modalizerId=i;h.dispatchEvent(new Jp(Z))}}},this._tabster=a,this._win=l,a.queueInit(this._init)}dispose(){super.dispose();let a=this._win(),l=a.document;l.removeEventListener(M5,this._onFocusIn,!0),l.removeEventListener(M6,this._onFocusOut,!0),a.removeEventListener("keydown",this._onKeyDown,!0),this.unsubscribe(this._onChanged);let c=this._asyncFocus;if(c)a.clearTimeout(c.timeout),delete this._asyncFocus;delete t0._lastResetElement,delete this._nextVal,delete this._lastVal}static forgetMemorized(a,l){var c,o;let r=t0._lastResetElement,e=r&&r.get();if(e&&q.nodeContains(l,e))delete t0._lastResetElement;if(e=(o=(c=a._nextVal)===null||c===void 0?void 0:c.element)===null||o===void 0?void 0:o.get(),e&&q.nodeContains(l,e))delete a._nextVal;if(r=a._lastVal,e=r&&r.get(),e&&q.nodeContains(l,e))delete a._lastVal}getFocusedElement(){return this.getVal()}getLastFocusedElement(){var a;let l=(a=this._lastVal)===null||a===void 0?void 0:a.get();if(!l||l&&!et(l.ownerDocument,l))this._lastVal=l=void 0;return l}focus(a,l,c,o){if(!this._tabster.focusable.isFocusable(a,l,!1,c))return!1;return a.focus({preventScroll:o}),!0}focusDefault(a){let l=this._tabster.focusable.findDefault({container:a});if(l)return this._tabster.focusedElement.focus(l),!0;return!1}getFirstOrLastTabbable(a,l){var c;let{container:o,ignoreAccessibility:r}=l,e;if(o){let h=E1.getTabsterContext(this._tabster,o);if(h)e=(c=t0.findNextTabbable(this._tabster,h,o,void 0,void 0,!a,r))===null||c===void 0?void 0:c.element}if(e&&!q.nodeContains(o,e))e=void 0;return e||void 0}_focusFirstOrLast(a,l){let c=this.getFirstOrLastTabbable(a,l);if(c)return this.focus(c,!1,!0),!0;return!1}focusFirst(a){return this._focusFirstOrLast(!0,a)}focusLast(a){return this._focusFirstOrLast(!1,a)}resetFocus(a){if(!this._tabster.focusable.isVisible(a))return!1;if(!this._tabster.focusable.isFocusable(a,!0,!0,!0)){let l=a.getAttribute("tabindex"),c=a.getAttribute("aria-hidden");a.tabIndex=-1,a.setAttribute("aria-hidden","true"),t0._lastResetElement=new p5(this._win,a),this.focus(a,!0,!0),this._setOrRemoveAttribute(a,"tabindex",l),this._setOrRemoveAttribute(a,"aria-hidden",c)}else this.focus(a);return!0}requestAsyncFocus(a,l,c){let o=this._tabster.getWindow(),r=this._asyncFocus;if(r){if(Pp[a]>Pp[r.source])return;o.clearTimeout(r.timeout)}this._asyncFocus={source:a,callback:l,timeout:o.setTimeout(()=>{this._asyncFocus=void 0,l()},c)}}cancelAsyncFocus(a){let l=this._asyncFocus;if((l===null||l===void 0?void 0:l.source)===a)this._tabster.getWindow().clearTimeout(l.timeout),this._asyncFocus=void 0}_setOrRemoveAttribute(a,l,c){if(c===null)a.removeAttribute(l);else a.setAttribute(l,c)}_setFocusedElement(a,l,c){var o,r;if(this._tabster._noop)return;let e={relatedTarget:l};if(a){let Z=(o=t0._lastResetElement)===null||o===void 0?void 0:o.get();if(t0._lastResetElement=void 0,Z===a||l_(a))return;e.isFocusedProgrammatically=c;let t=E1.getTabsterContext(this._tabster,a),i=(r=t===null||t===void 0?void 0:t.modalizer)===null||r===void 0?void 0:r.userId;if(i)e.modalizerId=i}let h=this._nextVal={element:a?new p5(this._win,a):void 0,detail:e};if(a&&a!==this._val)this._validateFocusedElement(a);if(this._nextVal===h)this.setVal(a,e);this._nextVal=void 0}setVal(a,l){if(super.setVal(a,l),a)this._lastVal=new p5(this._win,a)}static findNextTabbable(a,l,c,o,r,e,h){let Z=c||l.root.getElement();if(!Z)return null;let t=null,i=t0._isTabbingTimer,n=a.getWindow();if(i)n.clearTimeout(i);t0.isTabbing=!0,t0._isTabbingTimer=n.setTimeout(()=>{delete t0._isTabbingTimer,t0.isTabbing=!1},0);let{modalizer:v,groupper:d,mover:M}=l,_=(p)=>{if(t=p.findNextTabbable(o,r,e,h),o&&!(t===null||t===void 0?void 0:t.element)){let A=p!==v&&q.getParentElement(p.getElement());if(A){let m=E1.getTabsterContext(a,o,{referenceElement:A});if(m){let u=p.getElement(),V=e?u:u&&e_(u)||u;if(V){if(t=t0.findNextTabbable(a,m,c,V,A,e,h),t)t.outOfDOMOrder=!0}}}}};if(d&&M)_(l.groupperBeforeMover?d:M);else if(d)_(d);else if(M)_(M);else if(v)_(v);else{let p={container:Z,currentElement:o,referenceElement:r,ignoreAccessibility:h,useActiveModalizer:!0},A={};t={element:a.focusable[e?"findPrev":"findNext"](p,A),outOfDOMOrder:A.outOfDOMOrder,uncontrolled:A.uncontrolled}}return t}}t0.isTabbing=!1;/*!
|
|
78
78
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
79
79
|
* Licensed under the MIT License.
|
|
80
|
-
*/class
|
|
80
|
+
*/class t_ extends I3{constructor(a,l,c,o){super(c,a,Do.Groupper,o,!0);this._setHandlers((r,e,h)=>{var Z,t;let i=a.get(),n=r.input;if(i&&n){let v=E1.getTabsterContext(c,n);if(v){let d;if(d=(Z=l.findNextTabbable(h||void 0,void 0,e,!0))===null||Z===void 0?void 0:Z.element,!d)d=(t=t0.findNextTabbable(c,v,void 0,r.isOutside?n:PL(i,!e),void 0,e,!0))===null||t===void 0?void 0:t.element;if(d)l2(d)}}})}}class i_ extends A6{constructor(a,l,c,o,r){super(a,l,o);if(this._shouldTabInside=!1,this.makeTabbable(!1),this._onDispose=c,!a.controlTab)this.dummyManager=new t_(this._element,this,a,r)}dispose(){var a;this._onDispose(this);let l=this._element.get();if((a=this.dummyManager)===null||a===void 0||a.dispose(),delete this.dummyManager,l)Tp(this._element,!0);delete this._first}findNextTabbable(a,l,c,o){let r=this.getElement();if(!r)return null;let e=_6(a)===r;if(!this._shouldTabInside&&a&&q.nodeContains(r,a)&&!e)return{element:void 0,outOfDOMOrder:!0};let h=this.getFirst(!0);if(!a||!q.nodeContains(r,a)||e)return{element:h,outOfDOMOrder:!0};let Z=this._tabster,t=null,i=!1,n;if(this._shouldTabInside&&h){let v={container:r,currentElement:a,referenceElement:l,ignoreAccessibility:o,useActiveModalizer:!0},d={};if(t=Z.focusable[c?"findPrev":"findNext"](v,d),i=!!d.outOfDOMOrder,!t&&this._props.tabbability===Za.LimitedTrapFocus)t=Z.focusable[c?"findLast":"findFirst"]({container:r,ignoreAccessibility:o,useActiveModalizer:!0},d),i=!0;n=d.uncontrolled}return{element:t,uncontrolled:n,outOfDOMOrder:i}}makeTabbable(a){this._shouldTabInside=a||!this._props.tabbability,Tp(this._element,!this._shouldTabInside)}isActive(a){var l;let c=this.getElement()||null,o=!0;for(let e=q.getParentElement(c);e;e=q.getParentElement(e)){let h=(l=W0(this._tabster,e))===null||l===void 0?void 0:l.groupper;if(h){if(!h._shouldTabInside)o=!1}}let r=o?this._props.tabbability?this._shouldTabInside:!1:void 0;if(r&&a){let e=this._tabster.focusedElement.getFocusedElement();if(e)r=e!==this.getFirst(!0)}return r}getFirst(a){var l;let c=this.getElement(),o;if(c){if(a&&this._tabster.focusable.isFocusable(c))return c;if(o=(l=this._first)===null||l===void 0?void 0:l.get(),!o){if(o=this._tabster.focusable.findFirst({container:c,useActiveModalizer:!0})||void 0,o)this.setFirst(o)}}return o}setFirst(a){if(a)this._first=new p5(this._tabster.getWindow,a);else delete this._first}acceptElement(a,l){let c=l.cachedGrouppers,o=q.getParentElement(this.getElement()),r=o&&E1.getTabsterContext(this._tabster,o),e=r===null||r===void 0?void 0:r.groupper,h=(r===null||r===void 0?void 0:r.groupperBeforeMover)?e:void 0,Z,t=(v)=>{let d=c[v.id],M;if(d)M=d.isActive;else M=this.isActive(!0),d=c[v.id]={isActive:M};return M};if(h){if(Z=h.getElement(),!t(h)&&Z&&l.container!==Z&&q.nodeContains(l.container,Z))return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT}let i=t(this),n=this.getElement();if(n){if(i!==!0){if(n===a&&e){if(!Z)Z=e.getElement();if(Z&&!t(e)&&q.nodeContains(l.container,Z)&&Z!==l.container)return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT}if(n!==a&&q.nodeContains(n,a))return l.skippedFocusable=!0,NodeFilter.FILTER_REJECT;let v=c[this.id],d;if("first"in v)d=v.first;else d=v.first=this.getFirst(!0);if(d&&l.acceptCondition(d))if(l.rejectElementsFrom=n,l.skippedFocusable=!0,d!==l.from)return l.found=!0,l.foundElement=d,NodeFilter.FILTER_ACCEPT;else return NodeFilter.FILTER_REJECT}}return}}class v_{constructor(a,l){this._current={},this._grouppers={},this._init=()=>{let c=this._win();this._tabster.focusedElement.subscribeFirst(this._onFocus);let o=c.document,r=q.getActiveElement(o);if(r)this._onFocus(r);o.addEventListener("mousedown",this._onMouseDown,!0),c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(Dp,this._onMoveFocus)},this._onGroupperDispose=(c)=>{delete this._grouppers[c.id]},this._onFocus=(c)=>{if(c)this._updateCurrent(c)},this._onMouseDown=(c)=>{let o=c.target;while(o&&!this._tabster.focusable.isFocusable(o))o=this._tabster.getParent(o);if(o)this._updateCurrent(o)},this._onKeyDown=(c)=>{if(c.key!==Z0.Enter&&c.key!==Z0.Escape)return;if(c.ctrlKey||c.altKey||c.shiftKey||c.metaKey)return;let o=this._tabster.focusedElement.getFocusedElement();if(o)this.handleKeyPress(o,c)},this._onMoveFocus=(c)=>{var o;let r=c.composedPath()[0],e=(o=c.detail)===null||o===void 0?void 0:o.action;if(r&&e!==void 0&&!c.defaultPrevented){if(e===Sp.Enter)this._enterGroupper(r);else this._escapeGroupper(r);c.stopImmediatePropagation()}},this._tabster=a,this._win=l,a.queueInit(this._init)}dispose(){let a=this._win();if(this._tabster.focusedElement.cancelAsyncFocus(x7.EscapeGroupper),this._current={},this._updateTimer)a.clearTimeout(this._updateTimer),delete this._updateTimer;this._tabster.focusedElement.unsubscribe(this._onFocus),a.document.removeEventListener("mousedown",this._onMouseDown,!0),a.removeEventListener("keydown",this._onKeyDown,!0),a.removeEventListener(Dp,this._onMoveFocus),Object.keys(this._grouppers).forEach((l)=>{if(this._grouppers[l])this._grouppers[l].dispose(),delete this._grouppers[l]})}createGroupper(a,l,c){let o=this._tabster,r=new i_(o,a,this._onGroupperDispose,l,c);this._grouppers[r.id]=r;let e=o.focusedElement.getFocusedElement();if(e&&q.nodeContains(a,e)&&!this._updateTimer)this._updateTimer=this._win().setTimeout(()=>{if(delete this._updateTimer,e===o.focusedElement.getFocusedElement())this._updateCurrent(e)},0);return r}forgetCurrentGrouppers(){this._current={}}_updateCurrent(a){var l;if(this._updateTimer)this._win().clearTimeout(this._updateTimer),delete this._updateTimer;let c=this._tabster,o={};for(let r=c.getParent(a);r;r=c.getParent(r)){let e=(l=W0(c,r))===null||l===void 0?void 0:l.groupper;if(e){o[e.id]=!0,this._current[e.id]=e;let h=e.isActive()||a!==r&&(!e.getProps().delegated||e.getFirst(!1)!==a);e.makeTabbable(h)}}for(let r of Object.keys(this._current)){let e=this._current[r];if(!(e.id in o))e.makeTabbable(!1),e.setFirst(void 0),delete this._current[r]}}_enterGroupper(a,l){let c=this._tabster,o=E1.getTabsterContext(c,a),r=(o===null||o===void 0?void 0:o.groupper)||(o===null||o===void 0?void 0:o.modalizerInGroupper),e=r===null||r===void 0?void 0:r.getElement();if(r&&e&&(a===e||r.getProps().delegated&&a===r.getFirst(!1))){let h=c.focusable.findNext({container:e,currentElement:a,useActiveModalizer:!0});if(h&&(!l||l&&e.dispatchEvent(new g7({by:"groupper",owner:e,next:h,relatedEvent:l})))){if(l)l.preventDefault(),l.stopImmediatePropagation();return h.focus(),h}}return null}_escapeGroupper(a,l,c){let o=this._tabster,r=E1.getTabsterContext(o,a),e=(r===null||r===void 0?void 0:r.groupper)||(r===null||r===void 0?void 0:r.modalizerInGroupper),h=e===null||e===void 0?void 0:e.getElement();if(e&&h&&q.nodeContains(h,a)){let Z;if(a!==h||c)Z=e.getFirst(!0);else{let t=q.getParentElement(h),i=t?E1.getTabsterContext(o,t):void 0;e=i===null||i===void 0?void 0:i.groupper,Z=e===null||e===void 0?void 0:e.getFirst(!0)}if(Z&&(!l||l&&h.dispatchEvent(new g7({by:"groupper",owner:h,next:Z,relatedEvent:l})))){if(e)e.makeTabbable(!1);return Z.focus(),Z}}return null}moveFocus(a,l){return l===Sp.Enter?this._enterGroupper(a):this._escapeGroupper(a)}handleKeyPress(a,l,c){let o=this._tabster,r=E1.getTabsterContext(o,a);if(r&&((r===null||r===void 0?void 0:r.groupper)||(r===null||r===void 0?void 0:r.modalizerInGroupper))){if(o.focusedElement.cancelAsyncFocus(x7.EscapeGroupper),r.ignoreKeydown(l))return;if(l.key===Z0.Enter)this._enterGroupper(a,l);else if(l.key===Z0.Escape){let e=o.focusedElement.getFocusedElement();o.focusedElement.requestAsyncFocus(x7.EscapeGroupper,()=>{if(e!==o.focusedElement.getFocusedElement()&&(c&&!e||!c))return;this._escapeGroupper(a,l,c)},0)}}}}function Tp(a,l){{let c=a.get();if(c)if(l)c.style.removeProperty("--tabster-groupper");else c.style.setProperty("--tabster-groupper","unlimited")}}/*!
|
|
81
81
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
82
82
|
* Licensed under the MIT License.
|
|
83
|
-
*/class
|
|
83
|
+
*/class n_ extends ht{constructor(a){super();this._onChange=(l)=>{this.setVal(l,void 0)},this._keyborg=l3(a()),this._keyborg.subscribe(this._onChange)}dispose(){if(super.dispose(),this._keyborg)this._keyborg.unsubscribe(this._onChange),c3(this._keyborg),delete this._keyborg}setNavigatingWithKeyboard(a){var l;(l=this._keyborg)===null||l===void 0||l.setVal(a)}isNavigatingWithKeyboard(){var a;return!!((a=this._keyborg)===null||a===void 0?void 0:a.isNavigatingWithKeyboard())}}/*!
|
|
84
84
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
85
85
|
* Licensed under the MIT License.
|
|
86
|
-
*/var
|
|
86
|
+
*/var zL=0,$Z="aria-hidden";function YZ(a,l,c,o,r,e){{let h=a.get();if(h)if(l)h.style.removeProperty("--tabster-modalizer");else h.style.setProperty("--tabster-modalizer",c+","+o+","+(r?"active":"inactive")+",,"+(e?`focused(${e})`:"not-focused"))}}class d_ extends I3{constructor(a,l,c){super(l,a,Do.Modalizer,c);this._setHandlers((o,r)=>{var e,h;let Z=a.get(),t=Z&&((e=E1.getRoot(l,Z))===null||e===void 0?void 0:e.getElement()),i=o.input,n;if(t&&i){let v=_6(i),d=E1.getTabsterContext(l,v||i);if(d)n=(h=t0.findNextTabbable(l,d,t,i,void 0,r,!0))===null||h===void 0?void 0:h.element;if(n)l2(n)}})}}class M_ extends A6{constructor(a,l,c,o,r,e){super(a,l,o);if(this._wasFocused=0,this.userId=o.id,this._onDispose=c,this._activeElements=e,!a.controlTab)this.dummyManager=new d_(this._element,a,r);YZ(this._element,!1,this.id,this.userId,this._isActive,this._wasFocused)}makeActive(a){if(this._isActive!==a){this._isActive=a;let l=this.getElement();if(l){let c=this._activeElements,o=c.map((r)=>r.get()).indexOf(l);if(a){if(o<0)c.push(new p5(this._tabster.getWindow,l))}else if(o>=0)c.splice(o,1)}YZ(this._element,!1,this.id,this.userId,this._isActive,this._wasFocused),this._dispatchEvent(a)}}focused(a){if(!a)this._wasFocused=++zL;return this._wasFocused}setProps(a){if(a.id)this.userId=a.id;this._props={...a}}dispose(){var a;this.makeActive(!1),this._onDispose(this),(a=this.dummyManager)===null||a===void 0||a.dispose(),delete this.dummyManager,this._activeElements=[],this._remove()}isActive(){return!!this._isActive}contains(a){return q.nodeContains(this.getElement(),a)}findNextTabbable(a,l,c,o){var r,e;if(!this.getElement())return null;let Z=this._tabster,t=null,i=!1,n,v=a&&((r=E1.getRoot(Z,a))===null||r===void 0?void 0:r.getElement());if(v){let d={container:v,currentElement:a,referenceElement:l,ignoreAccessibility:o,useActiveModalizer:!0},M={};if(t=Z.focusable[c?"findPrev":"findNext"](d,M),!t&&this._props.isTrapped&&((e=Z.modalizer)===null||e===void 0?void 0:e.activeId)){if(t=Z.focusable[c?"findLast":"findFirst"]({container:v,ignoreAccessibility:o,useActiveModalizer:!0},M),t===null)t=a;i=!0}else i=!!M.outOfDOMOrder;n=M.uncontrolled}return{element:t,uncontrolled:n,outOfDOMOrder:i}}_dispatchEvent(a,l){let c=this.getElement(),o=!1;if(c){let r=l?this._activeElements.map((e)=>e.get()):[c];for(let e of r)if(e){let h={id:this.userId,element:c},Z=a?new Ip(h):new $p(h);if(e.dispatchEvent(Z),Z.defaultPrevented)o=!0}}return o}_remove(){YZ(this._element,!0)}}class p_{constructor(a,l,c){if(this._onModalizerDispose=(r)=>{let{id:e,userId:h}=r,Z=this._parts[h];if(delete this._modalizers[e],Z){if(delete Z[e],Object.keys(Z).length===0){delete this._parts[h];let t=this._activationHistory,i=[],n;for(let v=t.length;v--;){let d=t[v];if(d===h)continue;if(d!==n){if(n=d,d||i.length>0)i.unshift(d)}}if(this._activationHistory=i,this.activeId===h){let v=i[0],d=v?Object.values(this._parts[v])[0]:void 0;this.setActive(d)}}}},this._onKeyDown=(r)=>{var e;if(r.key!==Z0.Escape)return;let h=this._tabster,Z=h.focusedElement.getFocusedElement();if(Z){let t=E1.getTabsterContext(h,Z),i=t===null||t===void 0?void 0:t.modalizer;if(t&&!t.groupper&&(i===null||i===void 0?void 0:i.isActive())&&!t.ignoreKeydown(r)){let n=i.userId;if(n){let v=this._parts[n];if(v){let d=Object.keys(v).map((M)=>{var _;let p=v[M],A=p.getElement(),m;if(A)m=(_=W0(h,A))===null||_===void 0?void 0:_.groupper;return p&&A&&m?{el:A,focusedSince:p.focused(!0)}:{focusedSince:0}}).filter((M)=>M.focusedSince>0).sort((M,_)=>M.focusedSince>_.focusedSince?-1:M.focusedSince<_.focusedSince?1:0);if(d.length){let M=d[0].el;if(M)(e=h.groupper)===null||e===void 0||e.handleKeyPress(M,r,!0)}}}}}},this._onFocus=(r,e)=>{var h;let Z=this._tabster,t=r&&E1.getTabsterContext(Z,r);if(!t||!r)return;let i=this._augMap;for(let M=r;M;M=q.getParentElement(M))if(i.has(M))i.delete(M),IZ(Z,M,$Z);let n=t.modalizer,v=W0(Z,r),d=v===null||v===void 0?void 0:v.modalizer;if(d){if(d.focused(),d.userId===this.activeId&&v.groupper){let M=Z.getParent(r),_=M&&((h=E1.getTabsterContext(Z,M))===null||h===void 0?void 0:h.modalizer);if(_)n=_;else{this.setActive(void 0);return}}}if(n===null||n===void 0||n.focused(),(n===null||n===void 0?void 0:n.userId)===this.activeId){this.currentIsOthersAccessible=n===null||n===void 0?void 0:n.getProps().isOthersAccessible;return}if(e.isFocusedProgrammatically||this.currentIsOthersAccessible||(n===null||n===void 0?void 0:n.getProps().isAlwaysAccessible))this.setActive(n);else{let M=this._win();M.clearTimeout(this._restoreModalizerFocusTimer),this._restoreModalizerFocusTimer=M.setTimeout(()=>this._restoreModalizerFocus(r),100)}},this._tabster=a,this._win=a.getWindow,this._modalizers={},this._parts={},this._augMap=/*@__PURE__*/new WeakMap,this._aug=[],this._alwaysAccessibleSelector=l,this._accessibleCheck=c,this._activationHistory=[],this.activeElements=[],!a.controlTab)a.root.addDummyInputs();this._win().addEventListener("keydown",this._onKeyDown,!0),a.queueInit(()=>{this._tabster.focusedElement.subscribe(this._onFocus)})}dispose(){let a=this._win();a.removeEventListener("keydown",this._onKeyDown,!0),Object.keys(this._modalizers).forEach((l)=>{if(this._modalizers[l])this._modalizers[l].dispose(),delete this._modalizers[l]}),a.clearTimeout(this._restoreModalizerFocusTimer),a.clearTimeout(this._hiddenUpdateTimer),this._parts={},delete this.activeId,this.activeElements=[],this._augMap=/*@__PURE__*/new WeakMap,this._aug=[],this._tabster.focusedElement.unsubscribe(this._onFocus)}createModalizer(a,l,c){var o;let r=new M_(this._tabster,a,this._onModalizerDispose,l,c,this.activeElements),e=r.id,h=l.id;this._modalizers[e]=r;let Z=this._parts[h];if(!Z)Z=this._parts[h]={};Z[e]=r;let t=(o=this._tabster.focusedElement.getFocusedElement())!==null&&o!==void 0?o:null;if(a!==t&&q.nodeContains(a,t))if(h!==this.activeId)this.setActive(r);else r.makeActive(!0);return r}isAugmented(a){return this._augMap.has(a)}hiddenUpdate(){if(this._hiddenUpdateTimer)return;this._hiddenUpdateTimer=this._win().setTimeout(()=>{delete this._hiddenUpdateTimer,this._hiddenUpdate()},250)}setActive(a){let l=a===null||a===void 0?void 0:a.userId,c=this.activeId;if(c===l)return;if(this.activeId=l,c){let r=this._parts[c];if(r)for(let e of Object.keys(r))r[e].makeActive(!1)}if(l){let r=this._parts[l];if(r)for(let e of Object.keys(r))r[e].makeActive(!0)}this.currentIsOthersAccessible=a===null||a===void 0?void 0:a.getProps().isOthersAccessible,this.hiddenUpdate();let o=this._activationHistory;if(o[0]!==l&&(l!==void 0||o.length>0))o.unshift(l)}focus(a,l,c){let o=this._tabster,r=E1.getTabsterContext(o,a),e=r===null||r===void 0?void 0:r.modalizer;if(e){this.setActive(e);let h=e.getProps(),Z=e.getElement();if(Z){if(l===void 0)l=h.isNoFocusFirst;if(!l&&o.keyboardNavigation.isNavigatingWithKeyboard()&&o.focusedElement.focusFirst({container:Z}))return!0;if(c===void 0)c=h.isNoFocusDefault;if(!c&&o.focusedElement.focusDefault(Z))return!0;o.focusedElement.resetFocus(Z)}}else console.error("Element is not in Modalizer.",a);return!1}activate(a){var l;let c=a?(l=E1.getTabsterContext(this._tabster,a))===null||l===void 0?void 0:l.modalizer:void 0;if(!a||c)return this.setActive(c),!0;return!1}acceptElement(a,l){var c;let o=l.modalizerUserId,r=(c=l.currentCtx)===null||c===void 0?void 0:c.modalizer;if(o)for(let h of this.activeElements){let Z=h.get();if(Z&&(q.nodeContains(a,Z)||Z===a))return NodeFilter.FILTER_SKIP}let e=o===(r===null||r===void 0?void 0:r.userId)||!o&&(r===null||r===void 0?void 0:r.getProps().isAlwaysAccessible)?void 0:NodeFilter.FILTER_SKIP;if(e!==void 0)l.skippedFocusable=!0;return e}_hiddenUpdate(){var a;let l=this._tabster,c=l.getWindow().document.body,o=this.activeId,r=this._parts,e=[],h=[],Z=this._alwaysAccessibleSelector,t=Z?Array.from(q.querySelectorAll(c,Z)):[],i=[];for(let A of Object.keys(r)){let m=r[A];for(let u of Object.keys(m)){let V=m[u],s=V.getElement(),L=V.getProps().isAlwaysAccessible;if(s)if(A===o){if(i.push(s),!this.currentIsOthersAccessible)e.push(s)}else if(L)t.push(s);else h.push(s)}}let n=this._augMap,v=e.length>0?[...e,...t]:void 0,d=[],M=/*@__PURE__*/new WeakMap,_=(A,m)=>{var u;let V=A.tagName;if(V==="SCRIPT"||V==="STYLE")return;let s=!1;if(n.has(A))if(m)s=!0;else n.delete(A),IZ(l,A,$Z);else if(m&&!((u=this._accessibleCheck)===null||u===void 0?void 0:u.call(this,A,i))&&IZ(l,A,$Z,"true"))n.set(A,!0),s=!0;if(s)d.push(new p5(l.getWindow,A)),M.set(A,!0)},p=(A)=>{var m;for(let u=q.getFirstElementChild(A);u;u=q.getNextElementSibling(u)){let V=!1,s=!1,F=!1;if(v){let L=l.getParent(u);for(let C of v){if(u===C){V=!0;break}if(q.nodeContains(u,C)){s=!0;break}else if(q.nodeContains(C,L))F=!0}if(s||((m=u.__tabsterElementFlags)===null||m===void 0?void 0:m.noDirectAriaHidden))p(u);else if(!V&&!F)_(u,!0)}else _(u,!1)}};if(!v)t.forEach((A)=>_(A,!1));if(h.forEach((A)=>_(A,!0)),c)p(c);(a=this._aug)===null||a===void 0||a.map((A)=>A.get()).forEach((A)=>{if(A&&!M.get(A))_(A,!1)}),this._aug=d,this._augMap=M}_restoreModalizerFocus(a){var l;let c=a===null||a===void 0?void 0:a.ownerDocument;if(!a||!c)return;let o=this._tabster.focusedElement.getFocusedElement(),r=o&&((l=E1.getTabsterContext(this._tabster,o))===null||l===void 0?void 0:l.modalizer);if(!o||o&&(r===null||r===void 0?void 0:r.userId)===this.activeId)return;let e=this._tabster,h=E1.getTabsterContext(e,a),Z=h===null||h===void 0?void 0:h.modalizer,t=this.activeId;if(!Z&&!t||Z&&t===Z.userId)return;let i=h===null||h===void 0?void 0:h.root.getElement();if(i){let n=e.focusable.findFirst({container:i,useActiveModalizer:!0});if(n){if(a.compareDocumentPosition(n)&document.DOCUMENT_POSITION_PRECEDING){if(n=e.focusable.findLast({container:i,useActiveModalizer:!0}),!n)throw Error("Something went wrong.")}e.focusedElement.focus(n);return}}a.blur()}}/*!
|
|
87
87
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
88
88
|
* Licensed under the MIT License.
|
|
89
|
-
*/var IL=/*@__PURE__*/["input","textarea","*[contenteditable]"].join(", ");class H_ extends I3{constructor(a,l,c,o){super(l,a,Bo.Mover,o);this._onFocusDummyInput=(r)=>{var e,h;let Z=this._element.get(),t=r.input;if(Z&&t){let i=E1.getTabsterContext(this._tabster,Z),n;if(i)n=(e=t0.findNextTabbable(this._tabster,i,void 0,t,void 0,!r.isFirst,!0))===null||e===void 0?void 0:e.element;let v=(h=this._getMemorized())===null||h===void 0?void 0:h.get();if(v&&this._tabster.focusable.isFocusable(v))n=v;if(n)c2(n)}},this._tabster=l,this._getMemorized=c,this._setHandlers(this._onFocusDummyInput)}}var XZ=1,bp=2,zp=3;class u_ extends A6{constructor(a,l,c,o,r){var e;super(a,l,o);if(this._visible={},this._onIntersection=(Z)=>{for(let t of Z){let i=t.target,n=Do(this._win,i),v,d=this._fullyVisible;if(t.intersectionRatio>=0.25){if(v=t.intersectionRatio>=0.75?o3.Visible:o3.PartiallyVisible,v===o3.Visible)d=n}else v=o3.Invisible;if(this._visible[n]!==v){if(v===void 0){if(delete this._visible[n],d===n)delete this._fullyVisible}else this._visible[n]=v,this._fullyVisible=d;let M=this.getState(i);if(M)i.dispatchEvent(new jZ(M))}}},this._win=a.getWindow,this.visibilityTolerance=(e=o.visibilityTolerance)!==null&&e!==void 0?e:0.8,this._props.trackState||this._props.visibilityAware)this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,0.25,0.5,0.75,1]}),this._observeState();this._onDispose=c;let h=()=>o.memorizeCurrent?this._current:void 0;if(!a.controlTab)this.dummyManager=new H_(this._element,a,h,r)}dispose(){var a;if(this._onDispose(this),this._intersectionObserver)this._intersectionObserver.disconnect(),delete this._intersectionObserver;if(delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve)this._unobserve(),delete this._unobserve;let l=this._win();if(this._setCurrentTimer)l.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer;if(this._updateTimer)l.clearTimeout(this._updateTimer),delete this._updateTimer;(a=this.dummyManager)===null||a===void 0||a.dispose(),delete this.dummyManager}setCurrent(a){if(a)this._current=new p5(this._win,a);else this._current=void 0;if((this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer)this._setCurrentTimer=this._win().setTimeout(()=>{var l;delete this._setCurrentTimer;let c=[];if(this._current!==this._prevCurrent)c.push(this._current),c.push(this._prevCurrent),this._prevCurrent=this._current;for(let o of c){let r=o===null||o===void 0?void 0:o.get();if(r&&((l=this._allElements)===null||l===void 0?void 0:l.get(r))===this){let e=this._props;if(r&&(e.visibilityAware!==void 0||e.trackState)){let h=this.getState(r);if(h)r.dispatchEvent(new jZ(h))}}}})}getCurrent(){var a;return((a=this._current)===null||a===void 0?void 0:a.get())||null}findNextTabbable(a,l,c,o){let r=this.getElement(),e=r&&_6(a)===r;if(!r)return null;let h=null,Z=!1,t;if(this._props.tabbable||e||a&&!q.nodeContains(r,a)){let i={currentElement:a,referenceElement:l,container:r,ignoreAccessibility:o,useActiveModalizer:!0},n={};h=this._tabster.focusable[c?"findPrev":"findNext"](i,n),Z=!!n.outOfDOMOrder,t=n.uncontrolled}return{element:h,uncontrolled:t,outOfDOMOrder:Z}}acceptElement(a,l){var c,o;if(!t0.isTabbing)return((c=l.currentCtx)===null||c===void 0?void 0:c.excludedFromMover)?NodeFilter.FILTER_REJECT:void 0;let{memorizeCurrent:r,visibilityAware:e,hasDefault:h=!0}=this._props,Z=this.getElement();if(Z&&(r||e||h)&&(!q.nodeContains(Z,l.from)||_6(l.from)===Z)){let t;if(r){let i=(o=this._current)===null||o===void 0?void 0:o.get();if(i&&l.acceptCondition(i))t=i}if(!t&&h)t=this._tabster.focusable.findDefault({container:Z,useActiveModalizer:!0});if(!t&&e)t=this._tabster.focusable.findElement({container:Z,useActiveModalizer:!0,isBackward:l.isBackward,acceptCondition:(i)=>{var n;let v=Do(this._win,i),d=this._visible[v];return Z!==i&&!!((n=this._allElements)===null||n===void 0?void 0:n.get(i))&&l.acceptCondition(i)&&(d===o3.Visible||d===o3.PartiallyVisible&&(e===o3.PartiallyVisible||!this._fullyVisible))}});if(t)return l.found=!0,l.foundElement=t,l.rejectElementsFrom=Z,l.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}return}_observeState(){let a=this.getElement();if(this._unobserve||!a||typeof MutationObserver>"u")return;let l=this._win(),c=this._allElements=/*@__PURE__*/new WeakMap,o=this._tabster.focusable,r=this._updateQueue=[],e=q.createMutationObserver((d)=>{for(let M of d){let{target:_,removedNodes:p,addedNodes:A}=M;if(M.type==="attributes"){if(M.attributeName==="tabindex")r.push({element:_,type:bp})}else{for(let m=0;m<p.length;m++)r.push({element:p[m],type:zp});for(let m=0;m<A.length;m++)r.push({element:A[m],type:XZ})}}n()}),h=(d,M)=>{var _,p;let A=c.get(d);if(A&&M)(_=this._intersectionObserver)===null||_===void 0||_.unobserve(d),c.delete(d);if(!A&&!M)c.set(d,this),(p=this._intersectionObserver)===null||p===void 0||p.observe(d)},Z=(d)=>{let M=o.isFocusable(d);if(c.get(d)){if(!M)h(d,!0)}else if(M)h(d)},t=(d)=>{let{mover:M}=v(d);if(M&&M!==this)if(M.getElement()===d&&o.isFocusable(d))h(d);else return;let _=rt(l.document,d,(p)=>{let{mover:A,groupper:m}=v(p);if(A&&A!==this)return NodeFilter.FILTER_REJECT;let u=m===null||m===void 0?void 0:m.getFirst(!0);if(m&&m.getElement()!==p&&u&&u!==p)return NodeFilter.FILTER_REJECT;if(o.isFocusable(p))h(p);return NodeFilter.FILTER_SKIP});if(_){_.currentNode=d;while(_.nextNode());}},i=(d)=>{if(c.get(d))h(d,!0);for(let _=q.getFirstElementChild(d);_;_=q.getNextElementSibling(_))i(_)},n=()=>{if(!this._updateTimer&&r.length)this._updateTimer=l.setTimeout(()=>{delete this._updateTimer;for(let{element:d,type:M}of r)switch(M){case bp:Z(d);break;case XZ:t(d);break;case zp:i(d);break}r=this._updateQueue=[]},0)},v=(d)=>{let M={};for(let _=d;_;_=q.getParentElement(_)){let p=W0(this._tabster,_);if(p){if(p.groupper&&!M.groupper)M.groupper=p.groupper;if(p.mover){M.mover=p.mover;break}}}return M};r.push({element:a,type:XZ}),n(),e.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{e.disconnect()}}getState(a){let l=Do(this._win,a);if(l in this._visible){let c=this._visible[l]||o3.Invisible;return{isCurrent:this._current?this._current.get()===a:void 0,visibility:c}}return}}function $L(a,l,c,o,r,e,h,Z){let t=c<r?r-c:h<a?a-h:0,i=o<e?e-o:Z<l?l-Z:0;return t===0?i:i===0?t:Math.sqrt(t*t+i*i)}class s_{constructor(a,l){this._init=()=>{let c=this._win();c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(Bp,this._onMoveFocus),c.addEventListener(kp,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=(c)=>{delete this._movers[c.id]},this._onFocus=(c)=>{var o;let r=c,e=c;for(let h=q.getParentElement(c);h;h=q.getParentElement(h)){let Z=(o=W0(this._tabster,h))===null||o===void 0?void 0:o.mover;if(Z)Z.setCurrent(e),r=void 0;if(!r&&this._tabster.focusable.isFocusable(h))r=e=h}},this._onKeyDown=async(c)=>{var o;if(this._ignoredInputTimer)this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer;if((o=this._ignoredInputResolve)===null||o===void 0||o.call(this,!1),c.ctrlKey||c.altKey||c.shiftKey||c.metaKey)return;let r=c.key,e;if(r===Z0.ArrowDown)e=d0.ArrowDown;else if(r===Z0.ArrowRight)e=d0.ArrowRight;else if(r===Z0.ArrowUp)e=d0.ArrowUp;else if(r===Z0.ArrowLeft)e=d0.ArrowLeft;else if(r===Z0.PageDown)e=d0.PageDown;else if(r===Z0.PageUp)e=d0.PageUp;else if(r===Z0.Home)e=d0.Home;else if(r===Z0.End)e=d0.End;if(!e)return;let h=this._tabster.focusedElement.getFocusedElement();if(!h||await this._isIgnoredInput(h,r))return;this._moveFocus(h,e,c)},this._onMoveFocus=(c)=>{var o;let r=c.composedPath()[0],e=(o=c.detail)===null||o===void 0?void 0:o.key;if(r&&e!==void 0&&!c.defaultPrevented)this._moveFocus(r,e),c.stopImmediatePropagation()},this._onMemorizedElement=(c)=>{var o;let r=c.composedPath()[0],e=(o=c.detail)===null||o===void 0?void 0:o.memorizedElement;if(r){let h=E1.getTabsterContext(this._tabster,r),Z=h===null||h===void 0?void 0:h.mover;if(Z){if(e&&!q.nodeContains(Z.getElement(),e))e=void 0;Z.setCurrent(e),c.stopImmediatePropagation()}}},this._tabster=a,this._win=l,this._movers={},a.queueInit(this._init)}dispose(){var a;let l=this._win();if(this._tabster.focusedElement.unsubscribe(this._onFocus),(a=this._ignoredInputResolve)===null||a===void 0||a.call(this,!1),this._ignoredInputTimer)l.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer;l.removeEventListener("keydown",this._onKeyDown,!0),l.removeEventListener(Bp,this._onMoveFocus),l.removeEventListener(kp,this._onMemorizedElement),Object.keys(this._movers).forEach((c)=>{if(this._movers[c])this._movers[c].dispose(),delete this._movers[c]})}createMover(a,l,c){let o=new u_(this._tabster,a,this._onMoverDispose,l,c);return this._movers[o.id]=o,o}moveFocus(a,l){return this._moveFocus(a,l)}_moveFocus(a,l,c){var o,r;let e=this._tabster,h=E1.getTabsterContext(e,a,{checkRtl:!0});if(!h||!h.mover||h.excludedFromMover||c&&h.ignoreKeydown(c))return null;let Z=h.mover,t=Z.getElement();if(h.groupperBeforeMover){let C=h.groupper;if(C&&!C.isActive(!0)){for(let P=q.getParentElement(C.getElement());P&&P!==t;P=q.getParentElement(P))if((r=(o=W0(e,P))===null||o===void 0?void 0:o.groupper)===null||r===void 0?void 0:r.isActive(!0))return null}else return null}if(!t)return null;let i=e.focusable,n=Z.getProps(),v=n.direction||q5.Both,d=v===q5.Both,M=d||v===q5.Vertical,_=d||v===q5.Horizontal,p=v===q5.GridLinear,A=p||v===q5.Grid,m=n.cyclic,u,V,s,F=0,L=0;if(A)s=a.getBoundingClientRect(),F=Math.ceil(s.left),L=Math.floor(s.right);if(h.rtl){if(l===d0.ArrowRight)l=d0.ArrowLeft;else if(l===d0.ArrowLeft)l=d0.ArrowRight}if(l===d0.ArrowDown&&M||l===d0.ArrowRight&&(_||A)){if(u=i.findNext({currentElement:a,container:t,useActiveModalizer:!0}),u&&A){let C=Math.ceil(u.getBoundingClientRect().left);if(!p&&L>C)u=void 0}else if(!u&&m)u=i.findFirst({container:t,useActiveModalizer:!0})}else if(l===d0.ArrowUp&&M||l===d0.ArrowLeft&&(_||A)){if(u=i.findPrev({currentElement:a,container:t,useActiveModalizer:!0}),u&&A){let C=Math.floor(u.getBoundingClientRect().right);if(!p&&C>F)u=void 0}else if(!u&&m)u=i.findLast({container:t,useActiveModalizer:!0})}else if(l===d0.Home)if(A)i.findElement({container:t,currentElement:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:(C)=>{var P;if(!i.isFocusable(C))return!1;let W=Math.ceil((P=C.getBoundingClientRect().left)!==null&&P!==void 0?P:0);if(C!==a&&F<=W)return!0;return u=C,!1}});else u=i.findFirst({container:t,useActiveModalizer:!0});else if(l===d0.End)if(A)i.findElement({container:t,currentElement:a,useActiveModalizer:!0,acceptCondition:(C)=>{var P;if(!i.isFocusable(C))return!1;let W=Math.ceil((P=C.getBoundingClientRect().left)!==null&&P!==void 0?P:0);if(C!==a&&F>=W)return!0;return u=C,!1}});else u=i.findLast({container:t,useActiveModalizer:!0});else if(l===d0.PageUp){if(i.findElement({currentElement:a,container:t,useActiveModalizer:!0,isBackward:!0,acceptCondition:(C)=>{if(!i.isFocusable(C))return!1;if(Pp(this._win,C,Z.visibilityTolerance))return u=C,!1;return!0}}),A&&u){let C=Math.ceil(u.getBoundingClientRect().left);i.findElement({currentElement:u,container:t,useActiveModalizer:!0,acceptCondition:(P)=>{if(!i.isFocusable(P))return!1;let W=Math.ceil(P.getBoundingClientRect().left);if(F<W||C>=W)return!0;return u=P,!1}})}V=!1}else if(l===d0.PageDown){if(i.findElement({currentElement:a,container:t,useActiveModalizer:!0,acceptCondition:(C)=>{if(!i.isFocusable(C))return!1;if(Pp(this._win,C,Z.visibilityTolerance))return u=C,!1;return!0}}),A&&u){let C=Math.ceil(u.getBoundingClientRect().left);i.findElement({currentElement:u,container:t,useActiveModalizer:!0,isBackward:!0,acceptCondition:(P)=>{if(!i.isFocusable(P))return!1;let W=Math.ceil(P.getBoundingClientRect().left);if(F>W||C<=W)return!0;return u=P,!1}})}V=!0}else if(A){let C=l===d0.ArrowUp,P=F,W=Math.ceil(s.top),r1=L,t1=Math.floor(s.bottom),N,R,w=0;i.findAll({container:t,currentElement:a,isBackward:C,onElement:(x)=>{let B=x.getBoundingClientRect(),k=Math.ceil(B.left),$=Math.ceil(B.top),E=Math.floor(B.right),d1=Math.floor(B.bottom);if(C&&W<d1||!C&&t1>$)return!0;let s1=Math.ceil(Math.min(r1,E))-Math.floor(Math.max(P,k)),T=Math.ceil(Math.min(r1-P,E-k));if(s1>0&&T>=s1){let O=s1/T;if(O>w)N=x,w=O}else if(w===0){let O=$L(P,W,r1,t1,k,$,E,d1);if(R===void 0||O<R)R=O,N=x}else if(w>0)return!1;return!0}}),u=N}if(u&&(!c||c&&t.dispatchEvent(new g7({by:"mover",owner:t,next:u,relatedEvent:c})))){if(V!==void 0)BL(this._win,u,V);if(c)c.preventDefault(),c.stopImmediatePropagation();return c2(u),u}return null}async _isIgnoredInput(a,l){if(a.getAttribute("aria-expanded")==="true"&&(a.hasAttribute("aria-activedescendant")||a.getAttribute("role")==="combobox"))return!0;if(e_(a,IL)){let c=0,o=0,r=0,e;if(a.tagName==="INPUT"||a.tagName==="TEXTAREA"){let h=a.type;if(r=(a.value||"").length,h==="email"||h==="number"){if(r){let t=q.getSelection(a);if(t){let i=t.toString().length,n=l===Z0.ArrowLeft||l===Z0.ArrowUp;if(t.modify("extend",n?"backward":"forward","character"),i!==t.toString().length)return t.modify("extend",n?"forward":"backward","character"),!0;else r=0}}}else{let t=a.selectionStart;if(t===null)return h==="hidden";c=t||0,o=a.selectionEnd||0}}else if(a.contentEditable==="true")e=new(OL(this._win))((h)=>{this._ignoredInputResolve=(d)=>{delete this._ignoredInputResolve,h(d)};let Z=this._win();if(this._ignoredInputTimer)Z.clearTimeout(this._ignoredInputTimer);let{anchorNode:t,focusNode:i,anchorOffset:n,focusOffset:v}=q.getSelection(a)||{};this._ignoredInputTimer=Z.setTimeout(()=>{var d,M,_;delete this._ignoredInputTimer;let{anchorNode:p,focusNode:A,anchorOffset:m,focusOffset:u}=q.getSelection(a)||{};if(p!==t||A!==i||m!==n||u!==v){(d=this._ignoredInputResolve)===null||d===void 0||d.call(this,!1);return}if(c=m||0,o=u||0,r=((M=a.textContent)===null||M===void 0?void 0:M.length)||0,p&&A){if(q.nodeContains(a,p)&&q.nodeContains(a,A)){if(p!==a){let V=!1,s=(F)=>{if(F===p)V=!0;else if(F===A)return!0;let L=F.textContent;if(L&&!q.getFirstChild(F)){let P=L.length;if(V){if(A!==p)o+=P}else c+=P,o+=P}let C=!1;for(let P=q.getFirstChild(F);P&&!C;P=P.nextSibling)C=s(P);return C};s(a)}}}(_=this._ignoredInputResolve)===null||_===void 0||_.call(this,!0)},0)});if(e&&!await e)return!0;if(c!==o)return!0;if(c>0&&(l===Z0.ArrowLeft||l===Z0.ArrowUp||l===Z0.Home))return!0;if(c<r&&(l===Z0.ArrowRight||l===Z0.ArrowDown||l===Z0.End))return!0}return!1}}/*!
|
|
89
|
+
*/var QL=/*@__PURE__*/["input","textarea","*[contenteditable]"].join(", ");class __ extends I3{constructor(a,l,c,o){super(l,a,Do.Mover,o);this._onFocusDummyInput=(r)=>{var e,h;let Z=this._element.get(),t=r.input;if(Z&&t){let i=E1.getTabsterContext(this._tabster,Z),n;if(i)n=(e=t0.findNextTabbable(this._tabster,i,void 0,t,void 0,!r.isFirst,!0))===null||e===void 0?void 0:e.element;let v=(h=this._getMemorized())===null||h===void 0?void 0:h.get();if(v&&this._tabster.focusable.isFocusable(v))n=v;if(n)l2(n)}},this._tabster=l,this._getMemorized=c,this._setHandlers(this._onFocusDummyInput)}}var XZ=1,Ep=2,qp=3;class A_ extends A6{constructor(a,l,c,o,r){var e;super(a,l,o);if(this._visible={},this._onIntersection=(Z)=>{for(let t of Z){let i=t.target,n=Uo(this._win,i),v,d=this._fullyVisible;if(t.intersectionRatio>=0.25){if(v=t.intersectionRatio>=0.75?o3.Visible:o3.PartiallyVisible,v===o3.Visible)d=n}else v=o3.Invisible;if(this._visible[n]!==v){if(v===void 0){if(delete this._visible[n],d===n)delete this._fullyVisible}else this._visible[n]=v,this._fullyVisible=d;let M=this.getState(i);if(M)i.dispatchEvent(new jZ(M))}}},this._win=a.getWindow,this.visibilityTolerance=(e=o.visibilityTolerance)!==null&&e!==void 0?e:0.8,this._props.trackState||this._props.visibilityAware)this._intersectionObserver=new IntersectionObserver(this._onIntersection,{threshold:[0,0.25,0.5,0.75,1]}),this._observeState();this._onDispose=c;let h=()=>o.memorizeCurrent?this._current:void 0;if(!a.controlTab)this.dummyManager=new __(this._element,a,h,r)}dispose(){var a;if(this._onDispose(this),this._intersectionObserver)this._intersectionObserver.disconnect(),delete this._intersectionObserver;if(delete this._current,delete this._fullyVisible,delete this._allElements,delete this._updateQueue,this._unobserve)this._unobserve(),delete this._unobserve;let l=this._win();if(this._setCurrentTimer)l.clearTimeout(this._setCurrentTimer),delete this._setCurrentTimer;if(this._updateTimer)l.clearTimeout(this._updateTimer),delete this._updateTimer;(a=this.dummyManager)===null||a===void 0||a.dispose(),delete this.dummyManager}setCurrent(a){if(a)this._current=new p5(this._win,a);else this._current=void 0;if((this._props.trackState||this._props.visibilityAware)&&!this._setCurrentTimer)this._setCurrentTimer=this._win().setTimeout(()=>{var l;delete this._setCurrentTimer;let c=[];if(this._current!==this._prevCurrent)c.push(this._current),c.push(this._prevCurrent),this._prevCurrent=this._current;for(let o of c){let r=o===null||o===void 0?void 0:o.get();if(r&&((l=this._allElements)===null||l===void 0?void 0:l.get(r))===this){let e=this._props;if(r&&(e.visibilityAware!==void 0||e.trackState)){let h=this.getState(r);if(h)r.dispatchEvent(new jZ(h))}}}})}getCurrent(){var a;return((a=this._current)===null||a===void 0?void 0:a.get())||null}findNextTabbable(a,l,c,o){let r=this.getElement(),e=r&&_6(a)===r;if(!r)return null;let h=null,Z=!1,t;if(this._props.tabbable||e||a&&!q.nodeContains(r,a)){let i={currentElement:a,referenceElement:l,container:r,ignoreAccessibility:o,useActiveModalizer:!0},n={};h=this._tabster.focusable[c?"findPrev":"findNext"](i,n),Z=!!n.outOfDOMOrder,t=n.uncontrolled}return{element:h,uncontrolled:t,outOfDOMOrder:Z}}acceptElement(a,l){var c,o;if(!t0.isTabbing)return((c=l.currentCtx)===null||c===void 0?void 0:c.excludedFromMover)?NodeFilter.FILTER_REJECT:void 0;let{memorizeCurrent:r,visibilityAware:e,hasDefault:h=!0}=this._props,Z=this.getElement();if(Z&&(r||e||h)&&(!q.nodeContains(Z,l.from)||_6(l.from)===Z)){let t;if(r){let i=(o=this._current)===null||o===void 0?void 0:o.get();if(i&&l.acceptCondition(i))t=i}if(!t&&h)t=this._tabster.focusable.findDefault({container:Z,useActiveModalizer:!0});if(!t&&e)t=this._tabster.focusable.findElement({container:Z,useActiveModalizer:!0,isBackward:l.isBackward,acceptCondition:(i)=>{var n;let v=Uo(this._win,i),d=this._visible[v];return Z!==i&&!!((n=this._allElements)===null||n===void 0?void 0:n.get(i))&&l.acceptCondition(i)&&(d===o3.Visible||d===o3.PartiallyVisible&&(e===o3.PartiallyVisible||!this._fullyVisible))}});if(t)return l.found=!0,l.foundElement=t,l.rejectElementsFrom=Z,l.skippedFocusable=!0,NodeFilter.FILTER_ACCEPT}return}_observeState(){let a=this.getElement();if(this._unobserve||!a||typeof MutationObserver>"u")return;let l=this._win(),c=this._allElements=/*@__PURE__*/new WeakMap,o=this._tabster.focusable,r=this._updateQueue=[],e=q.createMutationObserver((d)=>{for(let M of d){let{target:_,removedNodes:p,addedNodes:A}=M;if(M.type==="attributes"){if(M.attributeName==="tabindex")r.push({element:_,type:Ep})}else{for(let m=0;m<p.length;m++)r.push({element:p[m],type:qp});for(let m=0;m<A.length;m++)r.push({element:A[m],type:XZ})}}n()}),h=(d,M)=>{var _,p;let A=c.get(d);if(A&&M)(_=this._intersectionObserver)===null||_===void 0||_.unobserve(d),c.delete(d);if(!A&&!M)c.set(d,this),(p=this._intersectionObserver)===null||p===void 0||p.observe(d)},Z=(d)=>{let M=o.isFocusable(d);if(c.get(d)){if(!M)h(d,!0)}else if(M)h(d)},t=(d)=>{let{mover:M}=v(d);if(M&&M!==this)if(M.getElement()===d&&o.isFocusable(d))h(d);else return;let _=rt(l.document,d,(p)=>{let{mover:A,groupper:m}=v(p);if(A&&A!==this)return NodeFilter.FILTER_REJECT;let u=m===null||m===void 0?void 0:m.getFirst(!0);if(m&&m.getElement()!==p&&u&&u!==p)return NodeFilter.FILTER_REJECT;if(o.isFocusable(p))h(p);return NodeFilter.FILTER_SKIP});if(_){_.currentNode=d;while(_.nextNode());}},i=(d)=>{if(c.get(d))h(d,!0);for(let _=q.getFirstElementChild(d);_;_=q.getNextElementSibling(_))i(_)},n=()=>{if(!this._updateTimer&&r.length)this._updateTimer=l.setTimeout(()=>{delete this._updateTimer;for(let{element:d,type:M}of r)switch(M){case Ep:Z(d);break;case XZ:t(d);break;case qp:i(d);break}r=this._updateQueue=[]},0)},v=(d)=>{let M={};for(let _=d;_;_=q.getParentElement(_)){let p=W0(this._tabster,_);if(p){if(p.groupper&&!M.groupper)M.groupper=p.groupper;if(p.mover){M.mover=p.mover;break}}}return M};r.push({element:a,type:XZ}),n(),e.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),this._unobserve=()=>{e.disconnect()}}getState(a){let l=Uo(this._win,a);if(l in this._visible){let c=this._visible[l]||o3.Invisible;return{isCurrent:this._current?this._current.get()===a:void 0,visibility:c}}return}}function JL(a,l,c,o,r,e,h,Z){let t=c<r?r-c:h<a?a-h:0,i=o<e?e-o:Z<l?l-Z:0;return t===0?i:i===0?t:Math.sqrt(t*t+i*i)}class m_{constructor(a,l){this._init=()=>{let c=this._win();c.addEventListener("keydown",this._onKeyDown,!0),c.addEventListener(Gp,this._onMoveFocus),c.addEventListener(Up,this._onMemorizedElement),this._tabster.focusedElement.subscribe(this._onFocus)},this._onMoverDispose=(c)=>{delete this._movers[c.id]},this._onFocus=(c)=>{var o;let r=c,e=c;for(let h=q.getParentElement(c);h;h=q.getParentElement(h)){let Z=(o=W0(this._tabster,h))===null||o===void 0?void 0:o.mover;if(Z)Z.setCurrent(e),r=void 0;if(!r&&this._tabster.focusable.isFocusable(h))r=e=h}},this._onKeyDown=async(c)=>{var o;if(this._ignoredInputTimer)this._win().clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer;if((o=this._ignoredInputResolve)===null||o===void 0||o.call(this,!1),c.ctrlKey||c.altKey||c.shiftKey||c.metaKey)return;let r=c.key,e;if(r===Z0.ArrowDown)e=d0.ArrowDown;else if(r===Z0.ArrowRight)e=d0.ArrowRight;else if(r===Z0.ArrowUp)e=d0.ArrowUp;else if(r===Z0.ArrowLeft)e=d0.ArrowLeft;else if(r===Z0.PageDown)e=d0.PageDown;else if(r===Z0.PageUp)e=d0.PageUp;else if(r===Z0.Home)e=d0.Home;else if(r===Z0.End)e=d0.End;if(!e)return;let h=this._tabster.focusedElement.getFocusedElement();if(!h||await this._isIgnoredInput(h,r))return;this._moveFocus(h,e,c)},this._onMoveFocus=(c)=>{var o;let r=c.composedPath()[0],e=(o=c.detail)===null||o===void 0?void 0:o.key;if(r&&e!==void 0&&!c.defaultPrevented)this._moveFocus(r,e),c.stopImmediatePropagation()},this._onMemorizedElement=(c)=>{var o;let r=c.composedPath()[0],e=(o=c.detail)===null||o===void 0?void 0:o.memorizedElement;if(r){let h=E1.getTabsterContext(this._tabster,r),Z=h===null||h===void 0?void 0:h.mover;if(Z){if(e&&!q.nodeContains(Z.getElement(),e))e=void 0;Z.setCurrent(e),c.stopImmediatePropagation()}}},this._tabster=a,this._win=l,this._movers={},a.queueInit(this._init)}dispose(){var a;let l=this._win();if(this._tabster.focusedElement.unsubscribe(this._onFocus),(a=this._ignoredInputResolve)===null||a===void 0||a.call(this,!1),this._ignoredInputTimer)l.clearTimeout(this._ignoredInputTimer),delete this._ignoredInputTimer;l.removeEventListener("keydown",this._onKeyDown,!0),l.removeEventListener(Gp,this._onMoveFocus),l.removeEventListener(Up,this._onMemorizedElement),Object.keys(this._movers).forEach((c)=>{if(this._movers[c])this._movers[c].dispose(),delete this._movers[c]})}createMover(a,l,c){let o=new A_(this._tabster,a,this._onMoverDispose,l,c);return this._movers[o.id]=o,o}moveFocus(a,l){return this._moveFocus(a,l)}_moveFocus(a,l,c){var o,r;let e=this._tabster,h=E1.getTabsterContext(e,a,{checkRtl:!0});if(!h||!h.mover||h.excludedFromMover||c&&h.ignoreKeydown(c))return null;let Z=h.mover,t=Z.getElement();if(h.groupperBeforeMover){let C=h.groupper;if(C&&!C.isActive(!0)){for(let P=q.getParentElement(C.getElement());P&&P!==t;P=q.getParentElement(P))if((r=(o=W0(e,P))===null||o===void 0?void 0:o.groupper)===null||r===void 0?void 0:r.isActive(!0))return null}else return null}if(!t)return null;let i=e.focusable,n=Z.getProps(),v=n.direction||q5.Both,d=v===q5.Both,M=d||v===q5.Vertical,_=d||v===q5.Horizontal,p=v===q5.GridLinear,A=p||v===q5.Grid,m=n.cyclic,u,V,s,F=0,L=0;if(A)s=a.getBoundingClientRect(),F=Math.ceil(s.left),L=Math.floor(s.right);if(h.rtl){if(l===d0.ArrowRight)l=d0.ArrowLeft;else if(l===d0.ArrowLeft)l=d0.ArrowRight}if(l===d0.ArrowDown&&M||l===d0.ArrowRight&&(_||A)){if(u=i.findNext({currentElement:a,container:t,useActiveModalizer:!0}),u&&A){let C=Math.ceil(u.getBoundingClientRect().left);if(!p&&L>C)u=void 0}else if(!u&&m)u=i.findFirst({container:t,useActiveModalizer:!0})}else if(l===d0.ArrowUp&&M||l===d0.ArrowLeft&&(_||A)){if(u=i.findPrev({currentElement:a,container:t,useActiveModalizer:!0}),u&&A){let C=Math.floor(u.getBoundingClientRect().right);if(!p&&C>F)u=void 0}else if(!u&&m)u=i.findLast({container:t,useActiveModalizer:!0})}else if(l===d0.Home)if(A)i.findElement({container:t,currentElement:a,useActiveModalizer:!0,isBackward:!0,acceptCondition:(C)=>{var P;if(!i.isFocusable(C))return!1;let W=Math.ceil((P=C.getBoundingClientRect().left)!==null&&P!==void 0?P:0);if(C!==a&&F<=W)return!0;return u=C,!1}});else u=i.findFirst({container:t,useActiveModalizer:!0});else if(l===d0.End)if(A)i.findElement({container:t,currentElement:a,useActiveModalizer:!0,acceptCondition:(C)=>{var P;if(!i.isFocusable(C))return!1;let W=Math.ceil((P=C.getBoundingClientRect().left)!==null&&P!==void 0?P:0);if(C!==a&&F>=W)return!0;return u=C,!1}});else u=i.findLast({container:t,useActiveModalizer:!0});else if(l===d0.PageUp){if(i.findElement({currentElement:a,container:t,useActiveModalizer:!0,isBackward:!0,acceptCondition:(C)=>{if(!i.isFocusable(C))return!1;if(kp(this._win,C,Z.visibilityTolerance))return u=C,!1;return!0}}),A&&u){let C=Math.ceil(u.getBoundingClientRect().left);i.findElement({currentElement:u,container:t,useActiveModalizer:!0,acceptCondition:(P)=>{if(!i.isFocusable(P))return!1;let W=Math.ceil(P.getBoundingClientRect().left);if(F<W||C>=W)return!0;return u=P,!1}})}V=!1}else if(l===d0.PageDown){if(i.findElement({currentElement:a,container:t,useActiveModalizer:!0,acceptCondition:(C)=>{if(!i.isFocusable(C))return!1;if(kp(this._win,C,Z.visibilityTolerance))return u=C,!1;return!0}}),A&&u){let C=Math.ceil(u.getBoundingClientRect().left);i.findElement({currentElement:u,container:t,useActiveModalizer:!0,isBackward:!0,acceptCondition:(P)=>{if(!i.isFocusable(P))return!1;let W=Math.ceil(P.getBoundingClientRect().left);if(F>W||C<=W)return!0;return u=P,!1}})}V=!0}else if(A){let C=l===d0.ArrowUp,P=F,W=Math.ceil(s.top),r1=L,t1=Math.floor(s.bottom),N,R,w=0;i.findAll({container:t,currentElement:a,isBackward:C,onElement:(x)=>{let B=x.getBoundingClientRect(),k=Math.ceil(B.left),$=Math.ceil(B.top),E=Math.floor(B.right),d1=Math.floor(B.bottom);if(C&&W<d1||!C&&t1>$)return!0;let s1=Math.ceil(Math.min(r1,E))-Math.floor(Math.max(P,k)),T=Math.ceil(Math.min(r1-P,E-k));if(s1>0&&T>=s1){let O=s1/T;if(O>w)N=x,w=O}else if(w===0){let O=JL(P,W,r1,t1,k,$,E,d1);if(R===void 0||O<R)R=O,N=x}else if(w>0)return!1;return!0}}),u=N}if(u&&(!c||c&&t.dispatchEvent(new g7({by:"mover",owner:t,next:u,relatedEvent:c})))){if(V!==void 0)UL(this._win,u,V);if(c)c.preventDefault(),c.stopImmediatePropagation();return l2(u),u}return null}async _isIgnoredInput(a,l){if(a.getAttribute("aria-expanded")==="true"&&(a.hasAttribute("aria-activedescendant")||a.getAttribute("role")==="combobox"))return!0;if(c_(a,QL)){let c=0,o=0,r=0,e;if(a.tagName==="INPUT"||a.tagName==="TEXTAREA"){let h=a.type;if(r=(a.value||"").length,h==="email"||h==="number"){if(r){let t=q.getSelection(a);if(t){let i=t.toString().length,n=l===Z0.ArrowLeft||l===Z0.ArrowUp;if(t.modify("extend",n?"backward":"forward","character"),i!==t.toString().length)return t.modify("extend",n?"forward":"backward","character"),!0;else r=0}}}else{let t=a.selectionStart;if(t===null)return h==="hidden";c=t||0,o=a.selectionEnd||0}}else if(a.contentEditable==="true")e=new(kL(this._win))((h)=>{this._ignoredInputResolve=(d)=>{delete this._ignoredInputResolve,h(d)};let Z=this._win();if(this._ignoredInputTimer)Z.clearTimeout(this._ignoredInputTimer);let{anchorNode:t,focusNode:i,anchorOffset:n,focusOffset:v}=q.getSelection(a)||{};this._ignoredInputTimer=Z.setTimeout(()=>{var d,M,_;delete this._ignoredInputTimer;let{anchorNode:p,focusNode:A,anchorOffset:m,focusOffset:u}=q.getSelection(a)||{};if(p!==t||A!==i||m!==n||u!==v){(d=this._ignoredInputResolve)===null||d===void 0||d.call(this,!1);return}if(c=m||0,o=u||0,r=((M=a.textContent)===null||M===void 0?void 0:M.length)||0,p&&A){if(q.nodeContains(a,p)&&q.nodeContains(a,A)){if(p!==a){let V=!1,s=(F)=>{if(F===p)V=!0;else if(F===A)return!0;let L=F.textContent;if(L&&!q.getFirstChild(F)){let P=L.length;if(V){if(A!==p)o+=P}else c+=P,o+=P}let C=!1;for(let P=q.getFirstChild(F);P&&!C;P=P.nextSibling)C=s(P);return C};s(a)}}}(_=this._ignoredInputResolve)===null||_===void 0||_.call(this,!0)},0)});if(e&&!await e)return!0;if(c!==o)return!0;if(c>0&&(l===Z0.ArrowLeft||l===Z0.ArrowUp||l===Z0.Home))return!0;if(c<r&&(l===Z0.ArrowRight||l===Z0.ArrowDown||l===Z0.End))return!0}return!1}}/*!
|
|
90
90
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
91
91
|
* Licensed under the MIT License.
|
|
92
|
-
*/function
|
|
92
|
+
*/function IL(a,l,c,o){if(typeof MutationObserver>"u")return()=>{};let r=l.getWindow,e,h=(n)=>{var v,d,M,_,p;let A=/*@__PURE__*/new Set;for(let m of n){let{target:u,removedNodes:V,addedNodes:s}=m;if(m.type==="attributes"){if(m.attributeName===W2){if(!A.has(u))c(l,u)}}else{for(let F=0;F<V.length;F++){let L=V[F];A.add(L),Z(L,!0),(d=(v=l._dummyObserver).domChanged)===null||d===void 0||d.call(v,u)}for(let F=0;F<s.length;F++)Z(s[F]),(_=(M=l._dummyObserver).domChanged)===null||_===void 0||_.call(M,u)}}A.clear(),(p=l.modalizer)===null||p===void 0||p.hiddenUpdate()};function Z(n,v){if(!e)e=C7(r).elementByUId;t(n,v);let d=rt(a,n,(M)=>{return t(M,v)});if(d)while(d.nextNode());}function t(n,v){var d;if(!n.getAttribute)return NodeFilter.FILTER_SKIP;let M=n.__tabsterElementUID;if(M&&e)if(v)delete e[M];else(d=e[M])!==null&&d!==void 0||(e[M]=new p5(r,n));if(W0(l,n)||n.hasAttribute(W2))c(l,n,v);return NodeFilter.FILTER_SKIP}let i=q.createMutationObserver(h);if(o)Z(r().document.body);return i.observe(a,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[W2]}),()=>{i.disconnect()}}/*!
|
|
93
93
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
94
94
|
* Licensed under the MIT License.
|
|
95
95
|
*//*!
|
|
@@ -98,19 +98,19 @@ You can check this by searching up for matching entries in a lockfile produced b
|
|
|
98
98
|
*//*!
|
|
99
99
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
100
100
|
* Licensed under the MIT License.
|
|
101
|
-
*/class
|
|
101
|
+
*/class H_{constructor(a){this._isUncontrolledCompletely=a}isUncontrolledCompletely(a,l){var c;let o=(c=this._isUncontrolledCompletely)===null||c===void 0?void 0:c.call(this,a,l);return o===void 0?l:o}}/*!
|
|
102
102
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
103
103
|
* Licensed under the MIT License.
|
|
104
|
-
*/class
|
|
104
|
+
*/class u_ extends A6{constructor(a,l,c){var o;super(a,l,c);if(this._hasFocus=!1,this._onFocusOut=(r)=>{var e;let h=(e=this._element)===null||e===void 0?void 0:e.get();if(h&&r.relatedTarget===null)h.dispatchEvent(new NZ);if(h&&!q.nodeContains(h,r.relatedTarget))this._hasFocus=!1},this._onFocusIn=()=>{this._hasFocus=!0},this._props.type===L7.Source){let r=(o=this._element)===null||o===void 0?void 0:o.get();r===null||r===void 0||r.addEventListener("focusout",this._onFocusOut),r===null||r===void 0||r.addEventListener("focusin",this._onFocusIn),this._hasFocus=q.nodeContains(r,r&&q.getActiveElement(r.ownerDocument))}}dispose(){var a;if(this._props.type===L7.Source){let l=(a=this._element)===null||a===void 0?void 0:a.get();if(l===null||l===void 0||l.removeEventListener("focusout",this._onFocusOut),l===null||l===void 0||l.removeEventListener("focusin",this._onFocusIn),this._hasFocus)this._tabster.getWindow().document.body.dispatchEvent(new NZ)}}}class Bo{constructor(a){this._stack=[],this._getWindow=a}push(a){var l;if(((l=this._stack[this._stack.length-1])===null||l===void 0?void 0:l.get())===a)return;if(this._stack.length>Bo.DEPTH)this._stack.shift();this._stack.push(new p5(this._getWindow,a))}pop(a=()=>!0){var l;let c=this._getWindow().document;for(let o=this._stack.length-1;o>=0;o--){let r=(l=this._stack.pop())===null||l===void 0?void 0:l.get();if(r&&q.nodeContains(c.body,q.getParentElement(r))&&a(r))return r}return}}Bo.DEPTH=10;class s_{constructor(a){this._onRestoreFocus=(l)=>{var c,o;this._focusedElementState.cancelAsyncFocus(x7.Restorer);let r=l.composedPath()[0];if(r){let e=(o=(c=W0(this._tabster,r))===null||c===void 0?void 0:c.restorer)===null||o===void 0?void 0:o.getProps().id;this._focusedElementState.requestAsyncFocus(x7.Restorer,()=>this._restoreFocus(r,e),0)}},this._onFocusIn=(l)=>{var c;if(!l)return;let o=W0(this._tabster,l);if(((c=o===null||o===void 0?void 0:o.restorer)===null||c===void 0?void 0:c.getProps().type)!==L7.Target)return;this._history.push(l)},this._restoreFocus=(l,c)=>{var o;let r=this._getWindow().document;if(q.getActiveElement(r)!==r.body)return;if(!this._keyboardNavState.isNavigatingWithKeyboard()&&q.nodeContains(r.body,l))return;let e=(h)=>{var Z,t;let i=(t=(Z=W0(this._tabster,h))===null||Z===void 0?void 0:Z.restorer)===null||t===void 0?void 0:t.getProps();return i?i.id:null};(o=this._history.pop((h)=>c===e(h)))===null||o===void 0||o.focus()},this._tabster=a,this._getWindow=a.getWindow,this._getWindow().addEventListener(KZ,this._onRestoreFocus),this._history=new Bo(this._getWindow),this._keyboardNavState=a.keyboardNavigation,this._focusedElementState=a.focusedElement,this._focusedElementState.subscribe(this._onFocusIn)}dispose(){let a=this._getWindow();this._focusedElementState.unsubscribe(this._onFocusIn),this._focusedElementState.cancelAsyncFocus(x7.Restorer),a.removeEventListener(KZ,this._onRestoreFocus)}createRestorer(a,l){let c=new u_(this._tabster,a,l);if(l.type===L7.Target&&q.getActiveElement(a.ownerDocument)===a)this._history.push(a);return c}}/*!
|
|
105
105
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
106
106
|
* Licensed under the MIT License.
|
|
107
|
-
*/function
|
|
107
|
+
*/function $L(a,l){var c,o;if(!a||!l)return!1;let r=l;while(r){if(r===a)return!0;if(typeof r.assignedElements!=="function"&&((c=r.assignedSlot)===null||c===void 0?void 0:c.parentNode))r=(o=r.assignedSlot)===null||o===void 0?void 0:o.parentNode;else if(r.nodeType===document.DOCUMENT_FRAGMENT_NODE)r=r.host;else r=r.parentNode}return!1}/*!
|
|
108
108
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
109
109
|
* Licensed under the MIT License.
|
|
110
110
|
*//*!
|
|
111
111
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
112
112
|
* Licensed under the MIT License.
|
|
113
|
-
*/class p6{static _overrideAttachShadow(a){let l=a.Element.prototype.attachShadow;if(l.__origAttachShadow)return;Element.prototype.attachShadow=function(c){let o=l.call(this,c);for(let r of p6._shadowObservers)r._addSubObserver(o);return o},Element.prototype.attachShadow.__origAttachShadow=l}constructor(a){this._isObserving=!1,this._callbackWrapper=(l,c)=>{for(let o of l)if(o.type==="childList"){let{removedNodes:r,addedNodes:e}=o;for(let h=0;h<r.length;h++)this._walkShadows(r[h],!0);for(let h=0;h<e.length;h++)this._walkShadows(e[h])}this._callback(l,c)},this._callback=a,this._observer=new MutationObserver(this._callbackWrapper),this._subObservers=/*@__PURE__*/new Map}_addSubObserver(a){if(!this._options||!this._callback||this._subObservers.has(a))return;if(this._options.subtree
|
|
113
|
+
*/class p6{static _overrideAttachShadow(a){let l=a.Element.prototype.attachShadow;if(l.__origAttachShadow)return;Element.prototype.attachShadow=function(c){let o=l.call(this,c);for(let r of p6._shadowObservers)r._addSubObserver(o);return o},Element.prototype.attachShadow.__origAttachShadow=l}constructor(a){this._isObserving=!1,this._callbackWrapper=(l,c)=>{for(let o of l)if(o.type==="childList"){let{removedNodes:r,addedNodes:e}=o;for(let h=0;h<r.length;h++)this._walkShadows(r[h],!0);for(let h=0;h<e.length;h++)this._walkShadows(e[h])}this._callback(l,c)},this._callback=a,this._observer=new MutationObserver(this._callbackWrapper),this._subObservers=/*@__PURE__*/new Map}_addSubObserver(a){if(!this._options||!this._callback||this._subObservers.has(a))return;if(this._options.subtree&&$L(this._root,a)){let l=new MutationObserver(this._callbackWrapper);if(this._subObservers.set(a,l),this._isObserving)l.observe(a,this._options);this._walkShadows(a)}}disconnect(){this._isObserving=!1,delete this._options,p6._shadowObservers.delete(this);for(let a of this._subObservers.values())a.disconnect();this._subObservers.clear(),this._observer.disconnect()}observe(a,l){let c=a.nodeType===Node.DOCUMENT_NODE?a:a.ownerDocument,o=c===null||c===void 0?void 0:c.defaultView;if(!c||!o)return;p6._overrideAttachShadow(o),p6._shadowObservers.add(this),this._root=a,this._options=l,this._isObserving=!0,this._observer.observe(a,l),this._walkShadows(a)}_walkShadows(a,l){let c=a.nodeType===Node.DOCUMENT_NODE?a:a.ownerDocument;if(!c)return;if(a===c)a=c.body;else{let r=a.shadowRoot;if(r){this._addSubObserver(r);return}}c.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:(r)=>{if(r.nodeType===Node.ELEMENT_NODE)if(l){let e=this._subObservers.get(r);if(e)e.disconnect(),this._subObservers.delete(r)}else{let e=r.shadowRoot;if(e)this._addSubObserver(e)}return NodeFilter.FILTER_SKIP}}).nextNode()}takeRecords(){let a=this._observer.takeRecords();for(let l of this._subObservers.values())a.push(...l.takeRecords());return a}}p6._shadowObservers=/*@__PURE__*/new Set;/*!
|
|
114
114
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
115
115
|
* Licensed under the MIT License.
|
|
116
116
|
*//*!
|
|
@@ -119,7 +119,7 @@ You can check this by searching up for matching entries in a lockfile produced b
|
|
|
119
119
|
*//*!
|
|
120
120
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
121
121
|
* Licensed under the MIT License.
|
|
122
|
-
*/class
|
|
122
|
+
*/class V_{constructor(a){this.keyboardNavigation=a.keyboardNavigation,this.focusedElement=a.focusedElement,this.focusable=a.focusable,this.root=a.root,this.uncontrolled=a.uncontrolled,this.core=a}}class f_{constructor(a,l){var c,o;this._forgetMemorizedElements=[],this._wrappers=/*@__PURE__*/new Set,this._initQueue=[],this._version="8.7.0",this._noop=!1,this.getWindow=()=>{if(!this._win)throw Error("Using disposed Tabster.");return this._win},this._storage=wL(a),this._win=a;let r=this.getWindow;if(l===null||l===void 0?void 0:l.DOMAPI)LL({...l.DOMAPI});this.keyboardNavigation=new n_(r),this.focusedElement=new t0(this,r),this.focusable=new Z_(this),this.root=new E1(this,l===null||l===void 0?void 0:l.autoRoot),this.uncontrolled=new H_((l===null||l===void 0?void 0:l.checkUncontrolledCompletely)||(l===null||l===void 0?void 0:l.checkUncontrolledTrappingFocus)),this.controlTab=(c=l===null||l===void 0?void 0:l.controlTab)!==null&&c!==void 0?c:!0,this.rootDummyInputs=!!(l===null||l===void 0?void 0:l.rootDummyInputs),this._dummyObserver=new o_(r),this.getParent=(o=l===null||l===void 0?void 0:l.getParent)!==null&&o!==void 0?o:q.getParentNode,this.internal={stopObserver:()=>{if(this._unobserve)this._unobserve(),delete this._unobserve},resumeObserver:(e)=>{if(!this._unobserve){let h=r().document;this._unobserve=IL(h,this,zp,e)}}},jp(r),this.queueInit(()=>{this.internal.resumeObserver(!0)})}_mergeProps(a){var l;if(!a)return;this.getParent=(l=a.getParent)!==null&&l!==void 0?l:this.getParent}createTabster(a,l){let c=new V_(this);if(!a)this._wrappers.add(c);return this._mergeProps(l),c}disposeTabster(a,l){if(l)this._wrappers.clear();else this._wrappers.delete(a);if(this._wrappers.size===0)this.dispose()}dispose(){var a,l,c,o,r,e,h,Z;this.internal.stopObserver();let t=this._win;if(t===null||t===void 0||t.clearTimeout(this._initTimer),delete this._initTimer,this._initQueue=[],this._forgetMemorizedElements=[],t&&this._forgetMemorizedTimer)t.clearTimeout(this._forgetMemorizedTimer),delete this._forgetMemorizedTimer;if((a=this.outline)===null||a===void 0||a.dispose(),(l=this.crossOrigin)===null||l===void 0||l.dispose(),(c=this.deloser)===null||c===void 0||c.dispose(),(o=this.groupper)===null||o===void 0||o.dispose(),(r=this.mover)===null||r===void 0||r.dispose(),(e=this.modalizer)===null||e===void 0||e.dispose(),(h=this.observedElement)===null||h===void 0||h.dispose(),(Z=this.restorer)===null||Z===void 0||Z.dispose(),this.keyboardNavigation.dispose(),this.focusable.dispose(),this.focusedElement.dispose(),this.root.dispose(),this._dummyObserver.dispose(),GL(this.getWindow),yp(this.getWindow),this._storage=/*@__PURE__*/new WeakMap,this._wrappers.clear(),t)RL(t),delete t.__tabsterInstance,delete this._win}storageEntry(a,l){let c=this._storage,o=c.get(a);if(o){if(l===!1&&Object.keys(o).length===0)c.delete(a)}else if(l===!0)o={},c.set(a,o);return o}forceCleanup(){if(!this._win)return;if(this._forgetMemorizedElements.push(this._win.document.body),this._forgetMemorizedTimer)return;this._forgetMemorizedTimer=this._win.setTimeout(()=>{delete this._forgetMemorizedTimer;for(let a=this._forgetMemorizedElements.shift();a;a=this._forgetMemorizedElements.shift())yp(this.getWindow,a),t0.forgetMemorized(this.focusedElement,a)},0),Kp(this.getWindow,!0)}queueInit(a){var l;if(!this._win)return;if(this._initQueue.push(a),!this._initTimer)this._initTimer=(l=this._win)===null||l===void 0?void 0:l.setTimeout(()=>{delete this._initTimer,this.drainInitQueue()},0)}drainInitQueue(){if(!this._win)return;let a=this._initQueue;this._initQueue=[],a.forEach((l)=>l())}}function F_(a,l){let c=YL(a);if(c)return c.createTabster(!1,l);return c=new f_(a,l),a.__tabsterInstance=c,c.createTabster()}function x_(a){let l=a.core;if(!l.groupper)l.groupper=new v_(l,l.getWindow);return l.groupper}function g_(a){let l=a.core;if(!l.mover)l.mover=new m_(l,l.getWindow);return l.mover}function ko(a,l,c){let o=a.core;if(!o.modalizer)o.modalizer=new p_(o,l,c);return o.modalizer}function yo(a){let l=a.core;if(!l.restorer)l.restorer=new s_(l);return l.restorer}function L_(a,l){a.core.disposeTabster(a,l)}function YL(a){return a.__tabsterInstance}/*!
|
|
123
123
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
124
124
|
* Licensed under the MIT License.
|
|
125
125
|
*//*!
|
|
@@ -128,17 +128,17 @@ You can check this by searching up for matching entries in a lockfile produced b
|
|
|
128
128
|
*//*!
|
|
129
129
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
130
130
|
* Licensed under the MIT License.
|
|
131
|
-
*/var
|
|
132
|
-
`))}return c}var e3=(a)=>{_5();let l=ta(a,!0);return v1(()=>({[b2]:l}),[l])};var ia=(a={})=>{let{circular:l,axis:c,memorizeCurrent:o=!0,tabbable:r,ignoreDefaultKeydown:e,unstable_hasDefault:h}=a;return _5(R_),e3({mover:{cyclic:!!l,direction:aC(c!==null&&c!==void 0?c:"vertical"),memorizeCurrent:o,tabbable:r,hasDefault:h},...e&&{focusable:{ignoreKeydown:e}}})};function aC(a){switch(a){case"horizontal":return q5.Horizontal;case"grid":return q5.Grid;case"grid-linear":return q5.GridLinear;case"both":return q5.Both;case"vertical":default:return q5.Vertical}}var $3=(a)=>{return _5(C_),e3({groupper:{tabbability:lC(a===null||a===void 0?void 0:a.tabBehavior)},focusable:{ignoreKeydown:a===null||a===void 0?void 0:a.ignoreDefaultKeydown}})},lC=(a)=>{switch(a){case"unlimited":return Za.Unlimited;case"limited":return Za.Limited;case"limited-trap-focus":return Za.LimitedTrapFocus;default:return}};var R7=()=>{let a=_5(),{targetDocument:l}=M1(),c=Q((Z,t)=>{var i;return Z&&((i=a.current)===null||i===void 0?void 0:i.focusable.findAll({container:Z,acceptCondition:t}))||[]},[a]),o=Q((Z)=>{var t;return Z&&((t=a.current)===null||t===void 0?void 0:t.focusable.findFirst({container:Z}))},[a]),r=Q((Z)=>{var t;return Z&&((t=a.current)===null||t===void 0?void 0:t.focusable.findLast({container:Z}))},[a]),e=Q((Z,t={})=>{if(!a.current||!l||!Z)return null;let{container:i=l.body}=t;return a.current.focusable.findNext({currentElement:Z,container:i})},[a,l]),h=Q((Z,t={})=>{if(!a.current||!l||!Z)return null;let{container:i=l.body}=t;return a.current.focusable.findPrev({currentElement:Z,container:i})},[a,l]);return{findAllFocusable:c,findFirstFocusable:o,findLastFocusable:r,findNextFocusable:e,findPrevFocusable:h}};var Zt="data-fui-focus-visible",tt="data-fui-focus-within";function S_(a,l){if(G_(a))return()=>{return};let c={current:void 0},o=l3(l);function r(t){if(o.isNavigatingWithKeyboard()&&G1(t))c.current=t,t.setAttribute(Zt,"")}function e(){if(c.current)c.current.removeAttribute(Zt),c.current=void 0}o.subscribe((t)=>{if(!t)e();else r(l.document.activeElement)});let h=(t)=>{e();let i=t.composedPath()[0];r(i)},Z=(t)=>{if(!t.relatedTarget||G1(t.relatedTarget)&&!a.contains(t.relatedTarget))e()};if(a.addEventListener(M5,h),a.addEventListener("focusout",Z),a.focusVisible=!0,a.contains(l.document.activeElement))r(l.document.activeElement);return()=>{e(),a.removeEventListener(M5,h),a.removeEventListener("focusout",Z),a.focusVisible=void 0,c3(o)}}function G_(a){if(!a)return!1;if(a.focusVisible)return!0;return G_(a===null||a===void 0?void 0:a.parentElement)}function w7(a={}){let l=M1(),c=y(null);var o;let r=(o=a.targetDocument)!==null&&o!==void 0?o:l.targetDocument;return X(()=>{if((r===null||r===void 0?void 0:r.defaultView)&&c.current)return S_(c.current,r.defaultView)},[c,r]),c}function B_(a,l){let c=l3(l);c.subscribe((e)=>{if(!e)U_(a)});let o=(e)=>{if(c.isNavigatingWithKeyboard()&&D_(e.target))cC(a)},r=(e)=>{if(!e.relatedTarget||D_(e.relatedTarget)&&!a.contains(e.relatedTarget))U_(a)};return a.addEventListener(M5,o),a.addEventListener("focusout",r),()=>{a.removeEventListener(M5,o),a.removeEventListener("focusout",r),c3(c)}}function cC(a){a.setAttribute(tt,"")}function U_(a){a.removeAttribute(tt)}function D_(a){if(!a)return!1;return Boolean(a&&typeof a==="object"&&"classList"in a&&"contains"in a)}function o2(){let{targetDocument:a}=M1(),l=y(null);return X(()=>{if((a===null||a===void 0?void 0:a.defaultView)&&l.current)return B_(l.current,a.defaultView)},[l,a]),l}function Po(){let{targetDocument:a}=M1(),l=y(null);return X(()=>{let c=a===null||a===void 0?void 0:a.defaultView;if(c){let o=l3(c);return l.current=o,()=>{c3(o),l.current=null}}},[a]),l}function m6(a){let l=Po(),c=Y(a);X(()=>{let o=l.current;if(o){let r=(e)=>{c(e)};return o.subscribe(r),r(o.isNavigatingWithKeyboard()),()=>{o.unsubscribe(r)}}},[l,c])}var k_="data-tabster-never-hide",RI={[k_]:""};var oC=(a)=>{return a.hasAttribute(k_)};function rC(a){yo(a,void 0,oC),Oo(a)}var r2=(a={})=>{let{trapFocus:l,alwaysFocusable:c,legacyTrapFocus:o}=a;_5(rC);let r=J1("modal-",a.id),e=e3({restorer:{type:L7.Source},...l&&{modalizer:{id:r,isOthersAccessible:!l,isAlwaysAccessible:c,isTrapped:o&&l}}}),h=e3({restorer:{type:L7.Target}});return{modalAttributes:e,triggerAttributes:h}};function S7(){return _5(Oo),ta({restorer:{type:L7.Source}})}function To(){let a=Po();return Q((l)=>{var c;(c=a.current)===null||c===void 0||c.setVal(l)},[a])}function Eo(){let a=_5(yo),[l]=E5();return Q((o)=>{l(()=>{var r;(r=a.current)===null||r===void 0||r.activate(o)},0)},[a,l])}var G={"2":"#050505","4":"#0a0a0a","6":"#0f0f0f","8":"#141414","10":"#1a1a1a","12":"#1f1f1f","14":"#242424","16":"#292929","18":"#2e2e2e","20":"#333333","22":"#383838","24":"#3d3d3d","26":"#424242","28":"#474747","30":"#4d4d4d","32":"#525252","34":"#575757","36":"#5c5c5c","38":"#616161","40":"#666666","42":"#6b6b6b","44":"#707070","46":"#757575","48":"#7a7a7a","50":"#808080","52":"#858585","54":"#8a8a8a","56":"#8f8f8f","58":"#949494","60":"#999999","62":"#9e9e9e","64":"#a3a3a3","66":"#a8a8a8","68":"#adadad","70":"#b3b3b3","72":"#b8b8b8","74":"#bdbdbd","76":"#c2c2c2","78":"#c7c7c7","80":"#cccccc","82":"#d1d1d1","84":"#d6d6d6","86":"#dbdbdb","88":"#e0e0e0","90":"#e6e6e6","92":"#ebebeb","94":"#f0f0f0","96":"#f5f5f5","98":"#fafafa","99":"#fcfcfc"},U0={"5":"rgba(255, 255, 255, 0.05)","10":"rgba(255, 255, 255, 0.1)","20":"rgba(255, 255, 255, 0.2)","30":"rgba(255, 255, 255, 0.3)","40":"rgba(255, 255, 255, 0.4)","50":"rgba(255, 255, 255, 0.5)","60":"rgba(255, 255, 255, 0.6)","70":"rgba(255, 255, 255, 0.7)","80":"rgba(255, 255, 255, 0.8)","90":"rgba(255, 255, 255, 0.9)"},A5={"5":"rgba(0, 0, 0, 0.05)","10":"rgba(0, 0, 0, 0.1)","20":"rgba(0, 0, 0, 0.2)","30":"rgba(0, 0, 0, 0.3)","40":"rgba(0, 0, 0, 0.4)","50":"rgba(0, 0, 0, 0.5)","60":"rgba(0, 0, 0, 0.6)","70":"rgba(0, 0, 0, 0.7)","80":"rgba(0, 0, 0, 0.8)","90":"rgba(0, 0, 0, 0.9)"},O_={"5":"rgba(26, 26, 26, 0.05)","10":"rgba(26, 26, 26, 0.1)","20":"rgba(26, 26, 26, 0.2)","30":"rgba(26, 26, 26, 0.3)","40":"rgba(26, 26, 26, 0.4)","50":"rgba(26, 26, 26, 0.5)","60":"rgba(26, 26, 26, 0.6)","70":"rgba(26, 26, 26, 0.7)","80":"rgba(26, 26, 26, 0.8)","90":"rgba(26, 26, 26, 0.9)"},P_={"5":"rgba(31, 31, 31, 0.05)","10":"rgba(31, 31, 31, 0.1)","20":"rgba(31, 31, 31, 0.2)","30":"rgba(31, 31, 31, 0.3)","40":"rgba(31, 31, 31, 0.4)","50":"rgba(31, 31, 31, 0.5)","60":"rgba(31, 31, 31, 0.6)","70":"rgba(31, 31, 31, 0.7)","80":"rgba(31, 31, 31, 0.8)","90":"rgba(31, 31, 31, 0.9)"},it={"5":"rgba(36, 36, 36, 0.05)","10":"rgba(36, 36, 36, 0.1)","20":"rgba(36, 36, 36, 0.2)","30":"rgba(36, 36, 36, 0.3)","40":"rgba(36, 36, 36, 0.4)","50":"rgba(36, 36, 36, 0.5)","60":"rgba(36, 36, 36, 0.6)","70":"rgba(36, 36, 36, 0.7)","80":"rgba(36, 36, 36, 0.8)","90":"rgba(36, 36, 36, 0.9)"},V1="#ffffff",H6="#000000";var T_={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"};var vt={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},E_={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},q_={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"};var W_={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},b_={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},z_={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},Q_={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},J_={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},I_={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},$_={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},Y_={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"};var X_={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},K_={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},j_={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},nt={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},N_={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},aA={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},lA={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"};var cA={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"};var oA={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},rA={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"};var eA={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},hA={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},ZA={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},tA={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"};var iA={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},vA={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},nA={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},dA={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"};var MA={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},pA={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},_A={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},AA={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"};var mA={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},HA={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"};var y1={red:E_,green:nt,darkOrange:q_,yellow:J_,berry:vA,lightGreen:j_,marigold:Q_},Q2={darkRed:T_,cranberry:vt,pumpkin:W_,peach:z_,gold:I_,brass:$_,brown:Y_,forest:X_,seafoam:K_,darkGreen:N_,lightTeal:aA,teal:lA,steel:cA,blue:oA,royalBlue:rA,cornflower:eA,navy:hA,lavender:ZA,purple:tA,grape:iA,lilac:nA,pink:dA,magenta:MA,plum:pA,beige:_A,mink:AA,platinum:mA,anchor:HA},B1={cranberry:vt,green:nt,orange:b_};var qo=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],Wo=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"];var K0={success:"green",warning:"orange",danger:"cranberry"};var va=qo.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background1`]:y1[l].tint60,[`colorPalette${c}Background2`]:y1[l].tint40,[`colorPalette${c}Background3`]:y1[l].primary,[`colorPalette${c}Foreground1`]:y1[l].shade10,[`colorPalette${c}Foreground2`]:y1[l].shade30,[`colorPalette${c}Foreground3`]:y1[l].primary,[`colorPalette${c}BorderActive`]:y1[l].primary,[`colorPalette${c}Border1`]:y1[l].tint40,[`colorPalette${c}Border2`]:y1[l].primary};return Object.assign(a,o)},{});va.colorPaletteYellowForeground1=y1.yellow.shade30;va.colorPaletteRedForegroundInverted=y1.red.tint20;va.colorPaletteGreenForegroundInverted=y1.green.tint20;va.colorPaletteYellowForegroundInverted=y1.yellow.tint40;var hC=Wo.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background2`]:Q2[l].tint40,[`colorPalette${c}Foreground2`]:Q2[l].shade30,[`colorPalette${c}BorderActive`]:Q2[l].primary};return Object.assign(a,o)},{}),uA={...va,...hC},Y3=Object.entries(K0).reduce((a,[l,c])=>{let o=l.slice(0,1).toUpperCase()+l.slice(1),r={[`colorStatus${o}Background1`]:B1[c].tint60,[`colorStatus${o}Background2`]:B1[c].tint40,[`colorStatus${o}Background3`]:B1[c].primary,[`colorStatus${o}Foreground1`]:B1[c].shade10,[`colorStatus${o}Foreground2`]:B1[c].shade30,[`colorStatus${o}Foreground3`]:B1[c].primary,[`colorStatus${o}ForegroundInverted`]:B1[c].tint30,[`colorStatus${o}BorderActive`]:B1[c].primary,[`colorStatus${o}Border1`]:B1[c].tint40,[`colorStatus${o}Border2`]:B1[c].primary};return Object.assign(a,r)},{});Y3.colorStatusDangerBackground3Hover=B1[K0.danger].shade10;Y3.colorStatusDangerBackground3Pressed=B1[K0.danger].shade20;Y3.colorStatusWarningForeground1=B1[K0.warning].shade20;Y3.colorStatusWarningForeground3=B1[K0.warning].shade20;Y3.colorStatusWarningBorder2=B1[K0.warning].shade20;var sA=(a)=>({colorNeutralForeground1:G[14],colorNeutralForeground1Hover:G[14],colorNeutralForeground1Pressed:G[14],colorNeutralForeground1Selected:G[14],colorNeutralForeground2:G[26],colorNeutralForeground2Hover:G[14],colorNeutralForeground2Pressed:G[14],colorNeutralForeground2Selected:G[14],colorNeutralForeground2BrandHover:a[80],colorNeutralForeground2BrandPressed:a[70],colorNeutralForeground2BrandSelected:a[80],colorNeutralForeground3:G[38],colorNeutralForeground3Hover:G[26],colorNeutralForeground3Pressed:G[26],colorNeutralForeground3Selected:G[26],colorNeutralForeground3BrandHover:a[80],colorNeutralForeground3BrandPressed:a[70],colorNeutralForeground3BrandSelected:a[80],colorNeutralForeground4:G[44],colorNeutralForeground5:G[38],colorNeutralForeground5Hover:G[14],colorNeutralForeground5Pressed:G[14],colorNeutralForeground5Selected:G[14],colorNeutralForegroundDisabled:G[74],colorNeutralForegroundInvertedDisabled:U0[40],colorBrandForegroundLink:a[70],colorBrandForegroundLinkHover:a[60],colorBrandForegroundLinkPressed:a[40],colorBrandForegroundLinkSelected:a[70],colorNeutralForeground2Link:G[26],colorNeutralForeground2LinkHover:G[14],colorNeutralForeground2LinkPressed:G[14],colorNeutralForeground2LinkSelected:G[14],colorCompoundBrandForeground1:a[80],colorCompoundBrandForeground1Hover:a[70],colorCompoundBrandForeground1Pressed:a[60],colorBrandForeground1:a[80],colorBrandForeground2:a[70],colorBrandForeground2Hover:a[60],colorBrandForeground2Pressed:a[30],colorNeutralForeground1Static:G[14],colorNeutralForegroundStaticInverted:V1,colorNeutralForegroundInverted:V1,colorNeutralForegroundInvertedHover:V1,colorNeutralForegroundInvertedPressed:V1,colorNeutralForegroundInvertedSelected:V1,colorNeutralForegroundInverted2:V1,colorNeutralForegroundOnBrand:V1,colorNeutralForegroundInvertedLink:V1,colorNeutralForegroundInvertedLinkHover:V1,colorNeutralForegroundInvertedLinkPressed:V1,colorNeutralForegroundInvertedLinkSelected:V1,colorBrandForegroundInverted:a[100],colorBrandForegroundInvertedHover:a[110],colorBrandForegroundInvertedPressed:a[100],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:V1,colorNeutralBackground1Hover:G[96],colorNeutralBackground1Pressed:G[88],colorNeutralBackground1Selected:G[92],colorNeutralBackground2:G[98],colorNeutralBackground2Hover:G[94],colorNeutralBackground2Pressed:G[86],colorNeutralBackground2Selected:G[90],colorNeutralBackground3:G[96],colorNeutralBackground3Hover:G[92],colorNeutralBackground3Pressed:G[84],colorNeutralBackground3Selected:G[88],colorNeutralBackground4:G[94],colorNeutralBackground4Hover:G[98],colorNeutralBackground4Pressed:G[96],colorNeutralBackground4Selected:V1,colorNeutralBackground5:G[92],colorNeutralBackground5Hover:G[96],colorNeutralBackground5Pressed:G[94],colorNeutralBackground5Selected:G[98],colorNeutralBackground6:G[90],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:G[92],colorNeutralBackground7Pressed:G[84],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:G[99],colorNeutralBackgroundInverted:G[16],colorNeutralBackgroundInvertedHover:G[24],colorNeutralBackgroundInvertedPressed:G[12],colorNeutralBackgroundInvertedSelected:G[22],colorNeutralBackgroundStatic:G[20],colorNeutralBackgroundAlpha:U0[50],colorNeutralBackgroundAlpha2:U0[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:G[96],colorSubtleBackgroundPressed:G[88],colorSubtleBackgroundSelected:G[92],colorSubtleBackgroundLightAlphaHover:U0[70],colorSubtleBackgroundLightAlphaPressed:U0[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:A5[10],colorSubtleBackgroundInvertedPressed:A5[30],colorSubtleBackgroundInvertedSelected:A5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:G[94],colorNeutralBackgroundDisabled2:V1,colorNeutralBackgroundInvertedDisabled:U0[10],colorNeutralStencil1:G[90],colorNeutralStencil2:G[98],colorNeutralStencil1Alpha:A5[10],colorNeutralStencil2Alpha:A5[5],colorBackgroundOverlay:A5[40],colorScrollbarOverlay:A5[50],colorBrandBackground:a[80],colorBrandBackgroundHover:a[70],colorBrandBackgroundPressed:a[40],colorBrandBackgroundSelected:a[60],colorCompoundBrandBackground:a[80],colorCompoundBrandBackgroundHover:a[70],colorCompoundBrandBackgroundPressed:a[60],colorBrandBackgroundStatic:a[80],colorBrandBackground2:a[160],colorBrandBackground2Hover:a[150],colorBrandBackground2Pressed:a[130],colorBrandBackground3Static:a[60],colorBrandBackground4Static:a[40],colorBrandBackgroundInverted:V1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:G[98],colorNeutralCardBackgroundHover:V1,colorNeutralCardBackgroundPressed:G[96],colorNeutralCardBackgroundSelected:G[92],colorNeutralCardBackgroundDisabled:G[94],colorNeutralStrokeAccessible:G[38],colorNeutralStrokeAccessibleHover:G[34],colorNeutralStrokeAccessiblePressed:G[30],colorNeutralStrokeAccessibleSelected:a[80],colorNeutralStroke1:G[82],colorNeutralStroke1Hover:G[78],colorNeutralStroke1Pressed:G[70],colorNeutralStroke1Selected:G[74],colorNeutralStroke2:G[88],colorNeutralStroke3:G[94],colorNeutralStroke4:G[92],colorNeutralStroke4Hover:G[88],colorNeutralStroke4Pressed:G[84],colorNeutralStroke4Selected:G[92],colorNeutralStrokeSubtle:G[88],colorNeutralStrokeOnBrand:V1,colorNeutralStrokeOnBrand2:V1,colorNeutralStrokeOnBrand2Hover:V1,colorNeutralStrokeOnBrand2Pressed:V1,colorNeutralStrokeOnBrand2Selected:V1,colorBrandStroke1:a[80],colorBrandStroke2:a[140],colorBrandStroke2Hover:a[120],colorBrandStroke2Pressed:a[80],colorBrandStroke2Contrast:a[140],colorCompoundBrandStroke:a[80],colorCompoundBrandStrokeHover:a[70],colorCompoundBrandStrokePressed:a[60],colorNeutralStrokeDisabled:G[88],colorNeutralStrokeDisabled2:G[92],colorNeutralStrokeInvertedDisabled:U0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:A5[5],colorNeutralStrokeAlpha2:U0[20],colorStrokeFocus1:V1,colorStrokeFocus2:H6,colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"});var na={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"};var da={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},Ma={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},pa={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},_a={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"};var Aa={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"};var K1={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForeground5:"var(--colorNeutralForeground5)",colorNeutralForeground5Hover:"var(--colorNeutralForeground5Hover)",colorNeutralForeground5Pressed:"var(--colorNeutralForeground5Pressed)",colorNeutralForeground5Selected:"var(--colorNeutralForeground5Selected)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorBrandForeground2Hover:"var(--colorBrandForeground2Hover)",colorBrandForeground2Pressed:"var(--colorBrandForeground2Pressed)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackground7:"var(--colorNeutralBackground7)",colorNeutralBackground7Hover:"var(--colorNeutralBackground7Hover)",colorNeutralBackground7Pressed:"var(--colorNeutralBackground7Pressed)",colorNeutralBackground7Selected:"var(--colorNeutralBackground7Selected)",colorNeutralBackground8:"var(--colorNeutralBackground8)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorNeutralBackgroundInvertedHover:"var(--colorNeutralBackgroundInvertedHover)",colorNeutralBackgroundInvertedPressed:"var(--colorNeutralBackgroundInvertedPressed)",colorNeutralBackgroundInvertedSelected:"var(--colorNeutralBackgroundInvertedSelected)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundAlpha:"var(--colorNeutralBackgroundAlpha)",colorNeutralBackgroundAlpha2:"var(--colorNeutralBackgroundAlpha2)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundDisabled2:"var(--colorNeutralBackgroundDisabled2)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:"var(--colorCompoundBrandBackground)",colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorBrandBackground2Pressed:"var(--colorBrandBackground2Pressed)",colorBrandBackground3Static:"var(--colorBrandBackground3Static)",colorBrandBackground4Static:"var(--colorBrandBackground4Static)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralCardBackground:"var(--colorNeutralCardBackground)",colorNeutralCardBackgroundHover:"var(--colorNeutralCardBackgroundHover)",colorNeutralCardBackgroundPressed:"var(--colorNeutralCardBackgroundPressed)",colorNeutralCardBackgroundSelected:"var(--colorNeutralCardBackgroundSelected)",colorNeutralCardBackgroundDisabled:"var(--colorNeutralCardBackgroundDisabled)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStroke4:"var(--colorNeutralStroke4)",colorNeutralStroke4Hover:"var(--colorNeutralStroke4Hover)",colorNeutralStroke4Pressed:"var(--colorNeutralStroke4Pressed)",colorNeutralStroke4Selected:"var(--colorNeutralStroke4Selected)",colorNeutralStrokeSubtle:"var(--colorNeutralStrokeSubtle)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorBrandStroke2Hover:"var(--colorBrandStroke2Hover)",colorBrandStroke2Pressed:"var(--colorBrandStroke2Pressed)",colorBrandStroke2Contrast:"var(--colorBrandStroke2Contrast)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorNeutralStrokeDisabled2:"var(--colorNeutralStrokeDisabled2)",colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorNeutralStrokeAlpha:"var(--colorNeutralStrokeAlpha)",colorNeutralStrokeAlpha2:"var(--colorNeutralStrokeAlpha2)",colorStrokeFocus1:"var(--colorStrokeFocus1)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",colorStatusSuccessBackground1:"var(--colorStatusSuccessBackground1)",colorStatusSuccessBackground2:"var(--colorStatusSuccessBackground2)",colorStatusSuccessBackground3:"var(--colorStatusSuccessBackground3)",colorStatusSuccessForeground1:"var(--colorStatusSuccessForeground1)",colorStatusSuccessForeground2:"var(--colorStatusSuccessForeground2)",colorStatusSuccessForeground3:"var(--colorStatusSuccessForeground3)",colorStatusSuccessForegroundInverted:"var(--colorStatusSuccessForegroundInverted)",colorStatusSuccessBorderActive:"var(--colorStatusSuccessBorderActive)",colorStatusSuccessBorder1:"var(--colorStatusSuccessBorder1)",colorStatusSuccessBorder2:"var(--colorStatusSuccessBorder2)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningBackground2:"var(--colorStatusWarningBackground2)",colorStatusWarningBackground3:"var(--colorStatusWarningBackground3)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground2:"var(--colorStatusWarningForeground2)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusWarningForegroundInverted:"var(--colorStatusWarningForegroundInverted)",colorStatusWarningBorderActive:"var(--colorStatusWarningBorderActive)",colorStatusWarningBorder1:"var(--colorStatusWarningBorder1)",colorStatusWarningBorder2:"var(--colorStatusWarningBorder2)",colorStatusDangerBackground1:"var(--colorStatusDangerBackground1)",colorStatusDangerBackground2:"var(--colorStatusDangerBackground2)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerBackground3Hover:"var(--colorStatusDangerBackground3Hover)",colorStatusDangerBackground3Pressed:"var(--colorStatusDangerBackground3Pressed)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",colorStatusDangerForeground2:"var(--colorStatusDangerForeground2)",colorStatusDangerForeground3:"var(--colorStatusDangerForeground3)",colorStatusDangerForegroundInverted:"var(--colorStatusDangerForegroundInverted)",colorStatusDangerBorderActive:"var(--colorStatusDangerBorderActive)",colorStatusDangerBorder1:"var(--colorStatusDangerBorder1)",colorStatusDangerBorder2:"var(--colorStatusDangerBorder2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadius2XLarge:"var(--borderRadius2XLarge)",borderRadius3XLarge:"var(--borderRadius3XLarge)",borderRadius4XLarge:"var(--borderRadius4XLarge)",borderRadius5XLarge:"var(--borderRadius5XLarge)",borderRadius6XLarge:"var(--borderRadius6XLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontSizeBase500:"var(--fontSizeBase500)",fontSizeBase600:"var(--fontSizeBase600)",fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase300:"var(--lineHeightBase300)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:"var(--shadow2)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)",shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalSNudge:"var(--spacingHorizontalSNudge)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:"var(--spacingVerticalSNudge)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:"var(--durationFaster)",durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationGentle:"var(--durationGentle)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:"var(--durationUltraSlow)",curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:"var(--curveEasyEase)",curveLinear:"var(--curveLinear)",zIndexBackground:"var(--zIndexBackground, 0)",zIndexContent:"var(--zIndexContent, 1)",zIndexOverlay:"var(--zIndexOverlay, 1000)",zIndexPopup:"var(--zIndexPopup, 2000)",zIndexMessages:"var(--zIndexMessages, 3000)",zIndexFloating:"var(--zIndexFloating, 4000)",zIndexPriority:"var(--zIndexPriority, 5000)",zIndexDebug:"var(--zIndexDebug, 6000)"};function u6(a,l,c=""){return{[`shadow2${c}`]:`0 0 2px ${a}, 0 1px 2px ${l}`,[`shadow4${c}`]:`0 0 2px ${a}, 0 2px 4px ${l}`,[`shadow8${c}`]:`0 0 2px ${a}, 0 4px 8px ${l}`,[`shadow16${c}`]:`0 0 2px ${a}, 0 8px 16px ${l}`,[`shadow28${c}`]:`0 0 8px ${a}, 0 14px 28px ${l}`,[`shadow64${c}`]:`0 0 8px ${a}, 0 32px 64px ${l}`}}var bo={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"};var zo={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"};var i0={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},Qo={spacingHorizontalNone:i0.none,spacingHorizontalXXS:i0.xxs,spacingHorizontalXS:i0.xs,spacingHorizontalSNudge:i0.sNudge,spacingHorizontalS:i0.s,spacingHorizontalMNudge:i0.mNudge,spacingHorizontalM:i0.m,spacingHorizontalL:i0.l,spacingHorizontalXL:i0.xl,spacingHorizontalXXL:i0.xxl,spacingHorizontalXXXL:i0.xxxl},Jo={spacingVerticalNone:i0.none,spacingVerticalXXS:i0.xxs,spacingVerticalXS:i0.xs,spacingVerticalSNudge:i0.sNudge,spacingVerticalS:i0.s,spacingVerticalMNudge:i0.mNudge,spacingVerticalM:i0.m,spacingVerticalL:i0.l,spacingVerticalXL:i0.xl,spacingVerticalXXL:i0.xxl,spacingVerticalXXXL:i0.xxxl};var h3=(a)=>{let l=sA(a);return{...na,...da,...Ma,..._a,...pa,...Aa,...Qo,...Jo,...bo,...zo,...l,...uA,...Y3,...u6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...u6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};var VA={10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc"};var J2=qo.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background1`]:y1[l].shade40,[`colorPalette${c}Background2`]:y1[l].shade30,[`colorPalette${c}Background3`]:y1[l].primary,[`colorPalette${c}Foreground1`]:y1[l].tint30,[`colorPalette${c}Foreground2`]:y1[l].tint40,[`colorPalette${c}Foreground3`]:y1[l].tint20,[`colorPalette${c}BorderActive`]:y1[l].tint30,[`colorPalette${c}Border1`]:y1[l].primary,[`colorPalette${c}Border2`]:y1[l].tint20};return Object.assign(a,o)},{});J2.colorPaletteRedForeground3=y1.red.tint30;J2.colorPaletteRedBorder2=y1.red.tint30;J2.colorPaletteGreenForeground3=y1.green.tint40;J2.colorPaletteGreenBorder2=y1.green.tint40;J2.colorPaletteDarkOrangeForeground3=y1.darkOrange.tint30;J2.colorPaletteDarkOrangeBorder2=y1.darkOrange.tint30;J2.colorPaletteRedForegroundInverted=y1.red.primary;J2.colorPaletteGreenForegroundInverted=y1.green.primary;J2.colorPaletteYellowForegroundInverted=y1.yellow.shade30;var dt=Wo.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background2`]:Q2[l].shade30,[`colorPalette${c}Foreground2`]:Q2[l].tint40,[`colorPalette${c}BorderActive`]:Q2[l].tint30};return Object.assign(a,o)},{});dt.colorPaletteDarkRedBackground2=Q2.darkRed.shade20;dt.colorPalettePlumBackground2=Q2.plum.shade20;var fA={...J2,...dt},G7=Object.entries(K0).reduce((a,[l,c])=>{let o=l.slice(0,1).toUpperCase()+l.slice(1),r={[`colorStatus${o}Background1`]:B1[c].shade40,[`colorStatus${o}Background2`]:B1[c].shade30,[`colorStatus${o}Background3`]:B1[c].primary,[`colorStatus${o}Foreground1`]:B1[c].tint30,[`colorStatus${o}Foreground2`]:B1[c].tint40,[`colorStatus${o}Foreground3`]:B1[c].tint20,[`colorStatus${o}BorderActive`]:B1[c].tint30,[`colorStatus${o}ForegroundInverted`]:B1[c].shade10,[`colorStatus${o}Border1`]:B1[c].primary,[`colorStatus${o}Border2`]:B1[c].tint20};return Object.assign(a,r)},{});G7.colorStatusDangerBackground3Hover=B1[K0.danger].shade10;G7.colorStatusDangerBackground3Pressed=B1[K0.danger].shade20;G7.colorStatusDangerForeground3=B1[K0.danger].tint40;G7.colorStatusDangerBorder2=B1[K0.danger].tint30;G7.colorStatusSuccessForeground3=B1[K0.success].tint40;G7.colorStatusSuccessBorder2=B1[K0.success].tint40;G7.colorStatusWarningForegroundInverted=B1[K0.warning].shade20;var e2=h3(VA);var FA=(a)=>({colorNeutralForeground1:V1,colorNeutralForeground1Hover:V1,colorNeutralForeground1Pressed:V1,colorNeutralForeground1Selected:V1,colorNeutralForeground2:G[84],colorNeutralForeground2Hover:V1,colorNeutralForeground2Pressed:V1,colorNeutralForeground2Selected:V1,colorNeutralForeground2BrandHover:a[100],colorNeutralForeground2BrandPressed:a[90],colorNeutralForeground2BrandSelected:a[100],colorNeutralForeground3:G[68],colorNeutralForeground3Hover:G[84],colorNeutralForeground3Pressed:G[84],colorNeutralForeground3Selected:G[84],colorNeutralForeground3BrandHover:a[100],colorNeutralForeground3BrandPressed:a[90],colorNeutralForeground3BrandSelected:a[100],colorNeutralForeground4:G[60],colorNeutralForeground5:G[68],colorNeutralForeground5Hover:V1,colorNeutralForeground5Pressed:V1,colorNeutralForeground5Selected:V1,colorNeutralForegroundDisabled:G[36],colorNeutralForegroundInvertedDisabled:U0[40],colorBrandForegroundLink:a[100],colorBrandForegroundLinkHover:a[110],colorBrandForegroundLinkPressed:a[90],colorBrandForegroundLinkSelected:a[100],colorNeutralForeground2Link:G[84],colorNeutralForeground2LinkHover:V1,colorNeutralForeground2LinkPressed:V1,colorNeutralForeground2LinkSelected:V1,colorCompoundBrandForeground1:a[100],colorCompoundBrandForeground1Hover:a[110],colorCompoundBrandForeground1Pressed:a[90],colorBrandForeground1:a[100],colorBrandForeground2:a[110],colorBrandForeground2Hover:a[130],colorBrandForeground2Pressed:a[160],colorNeutralForeground1Static:G[14],colorNeutralForegroundStaticInverted:V1,colorNeutralForegroundInverted:G[14],colorNeutralForegroundInvertedHover:G[14],colorNeutralForegroundInvertedPressed:G[14],colorNeutralForegroundInvertedSelected:G[14],colorNeutralForegroundInverted2:G[14],colorNeutralForegroundOnBrand:V1,colorNeutralForegroundInvertedLink:V1,colorNeutralForegroundInvertedLinkHover:V1,colorNeutralForegroundInvertedLinkPressed:V1,colorNeutralForegroundInvertedLinkSelected:V1,colorBrandForegroundInverted:a[80],colorBrandForegroundInvertedHover:a[70],colorBrandForegroundInvertedPressed:a[60],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:G[16],colorNeutralBackground1Hover:G[24],colorNeutralBackground1Pressed:G[12],colorNeutralBackground1Selected:G[22],colorNeutralBackground2:G[12],colorNeutralBackground2Hover:G[20],colorNeutralBackground2Pressed:G[8],colorNeutralBackground2Selected:G[18],colorNeutralBackground3:G[8],colorNeutralBackground3Hover:G[16],colorNeutralBackground3Pressed:G[4],colorNeutralBackground3Selected:G[14],colorNeutralBackground4:G[4],colorNeutralBackground4Hover:G[12],colorNeutralBackground4Pressed:H6,colorNeutralBackground4Selected:G[10],colorNeutralBackground5:H6,colorNeutralBackground5Hover:G[8],colorNeutralBackground5Pressed:G[2],colorNeutralBackground5Selected:G[6],colorNeutralBackground6:G[20],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:G[10],colorNeutralBackground7Pressed:G[4],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:G[16],colorNeutralBackgroundInverted:V1,colorNeutralBackgroundInvertedHover:G[96],colorNeutralBackgroundInvertedPressed:G[88],colorNeutralBackgroundInvertedSelected:G[92],colorNeutralBackgroundStatic:G[24],colorNeutralBackgroundAlpha:O_[50],colorNeutralBackgroundAlpha2:P_[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:G[22],colorSubtleBackgroundPressed:G[18],colorSubtleBackgroundSelected:G[20],colorSubtleBackgroundLightAlphaHover:it[80],colorSubtleBackgroundLightAlphaPressed:it[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:A5[10],colorSubtleBackgroundInvertedPressed:A5[30],colorSubtleBackgroundInvertedSelected:A5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:G[8],colorNeutralBackgroundDisabled2:G[16],colorNeutralBackgroundInvertedDisabled:U0[10],colorNeutralStencil1:G[34],colorNeutralStencil2:G[20],colorNeutralStencil1Alpha:U0[10],colorNeutralStencil2Alpha:U0[5],colorBackgroundOverlay:A5[50],colorScrollbarOverlay:U0[60],colorBrandBackground:a[70],colorBrandBackgroundHover:a[80],colorBrandBackgroundPressed:a[40],colorBrandBackgroundSelected:a[60],colorCompoundBrandBackground:a[100],colorCompoundBrandBackgroundHover:a[110],colorCompoundBrandBackgroundPressed:a[90],colorBrandBackgroundStatic:a[80],colorBrandBackground2:a[20],colorBrandBackground2Hover:a[40],colorBrandBackground2Pressed:a[10],colorBrandBackground3Static:a[60],colorBrandBackground4Static:a[40],colorBrandBackgroundInverted:V1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:G[20],colorNeutralCardBackgroundHover:G[24],colorNeutralCardBackgroundPressed:G[18],colorNeutralCardBackgroundSelected:G[22],colorNeutralCardBackgroundDisabled:G[8],colorNeutralStrokeAccessible:G[68],colorNeutralStrokeAccessibleHover:G[74],colorNeutralStrokeAccessiblePressed:G[70],colorNeutralStrokeAccessibleSelected:a[100],colorNeutralStroke1:G[40],colorNeutralStroke1Hover:G[46],colorNeutralStroke1Pressed:G[42],colorNeutralStroke1Selected:G[44],colorNeutralStroke2:G[32],colorNeutralStroke3:G[24],colorNeutralStroke4:G[24],colorNeutralStroke4Hover:G[18],colorNeutralStroke4Pressed:G[14],colorNeutralStroke4Selected:G[24],colorNeutralStrokeSubtle:G[4],colorNeutralStrokeOnBrand:G[16],colorNeutralStrokeOnBrand2:V1,colorNeutralStrokeOnBrand2Hover:V1,colorNeutralStrokeOnBrand2Pressed:V1,colorNeutralStrokeOnBrand2Selected:V1,colorBrandStroke1:a[100],colorBrandStroke2:a[50],colorBrandStroke2Hover:a[50],colorBrandStroke2Pressed:a[30],colorBrandStroke2Contrast:a[50],colorCompoundBrandStroke:a[100],colorCompoundBrandStrokeHover:a[110],colorCompoundBrandStrokePressed:a[90],colorNeutralStrokeDisabled:G[26],colorNeutralStrokeDisabled2:G[24],colorNeutralStrokeInvertedDisabled:U0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:U0[10],colorNeutralStrokeAlpha2:U0[20],colorStrokeFocus1:H6,colorStrokeFocus2:V1,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"});var s6=(a)=>{let l=FA(a);return{...na,...da,...Ma,..._a,...pa,...Aa,...Qo,...Jo,...bo,...zo,...l,...fA,...G7,...u6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...u6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};var X3={root:"fui-FluentProvider"},dC=/*@__PURE__*/b8({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),ma=(a)=>{let l=l2(),c=dC({dir:a.dir,renderer:l});return a.root.className=S(X3.root,a.themeClassName,c.root,a.root.className),a};var MC=f.useInsertionEffect?f.useInsertionEffect:P1,pC=(a,l)=>{if(!(a===null||a===void 0?void 0:a.head))return;let c=a.createElement("style");return Object.keys(l).forEach((o)=>{c.setAttribute(o,l[o])}),a.head.appendChild(c),c},_C=(a,l)=>{let c=a.sheet;if(c){if(c.cssRules.length>0)c.deleteRule(0);c.insertRule(l,0)}else console.error("FluentProvider: No sheet available on styleTag, styles will not be inserted into DOM.")},Ha=(a)=>{let{targetDocument:l,theme:c,rendererAttributes:o}=a,r=y(void 0),e=J1(X3.root),h=o,Z=v1(()=>J8(`.${e}`,c),[c,e]);return v1(()=>{if(l){var t;let n=`.${X3.root}.${e}`,v=l.querySelectorAll(n),d=`style[id="${e}"]`,M=l.querySelectorAll(d);if(M.length>1){console.error(["@fluentui/react-provider: We found multiple <style> elements with same IDs in your DOM.","Please make sure that you configured your application properly.",`
|
|
131
|
+
*/var XL=(a)=>{return a};function KL(a){let l=(a===null||a===void 0?void 0:a.defaultView)||void 0,c=l===null||l===void 0?void 0:l.__tabsterShadowDOMAPI;if(l)return F_(l,{autoRoot:{},controlTab:!1,getParent:d6,checkUncontrolledCompletely:(o)=>{var r;return((r=o.firstElementChild)===null||r===void 0?void 0:r.hasAttribute("data-is-focus-trap-zone-bumper"))===!0||void 0},DOMAPI:c})}function _5(a=XL){let{targetDocument:l}=M1(),c=y(null);P1(()=>{let o=KL(l);if(o)return c.current=a(o),()=>{L_(o),c.current=null}},[l,a]);{let o=wo(a);if(o!==null&&o!==a)throw Error(["@fluentui/react-tabster: ","The factory function passed to useTabster has changed. This should not ever happen."].join(`
|
|
132
|
+
`))}return c}var e3=(a)=>{_5();let l=ta(a,!0);return v1(()=>({[W2]:l}),[l])};var ia=(a={})=>{let{circular:l,axis:c,memorizeCurrent:o=!0,tabbable:r,ignoreDefaultKeydown:e,unstable_hasDefault:h}=a;return _5(g_),e3({mover:{cyclic:!!l,direction:jL(c!==null&&c!==void 0?c:"vertical"),memorizeCurrent:o,tabbable:r,hasDefault:h},...e&&{focusable:{ignoreKeydown:e}}})};function jL(a){switch(a){case"horizontal":return q5.Horizontal;case"grid":return q5.Grid;case"grid-linear":return q5.GridLinear;case"both":return q5.Both;case"vertical":default:return q5.Vertical}}var $3=(a)=>{return _5(x_),e3({groupper:{tabbability:NL(a===null||a===void 0?void 0:a.tabBehavior)},focusable:{ignoreKeydown:a===null||a===void 0?void 0:a.ignoreDefaultKeydown}})},NL=(a)=>{switch(a){case"unlimited":return Za.Unlimited;case"limited":return Za.Limited;case"limited-trap-focus":return Za.LimitedTrapFocus;default:return}};var R7=()=>{let a=_5(),{targetDocument:l}=M1(),c=Q((Z,t)=>{var i;return Z&&((i=a.current)===null||i===void 0?void 0:i.focusable.findAll({container:Z,acceptCondition:t}))||[]},[a]),o=Q((Z)=>{var t;return Z&&((t=a.current)===null||t===void 0?void 0:t.focusable.findFirst({container:Z}))},[a]),r=Q((Z)=>{var t;return Z&&((t=a.current)===null||t===void 0?void 0:t.focusable.findLast({container:Z}))},[a]),e=Q((Z,t={})=>{if(!a.current||!l||!Z)return null;let{container:i=l.body}=t;return a.current.focusable.findNext({currentElement:Z,container:i})},[a,l]),h=Q((Z,t={})=>{if(!a.current||!l||!Z)return null;let{container:i=l.body}=t;return a.current.focusable.findPrev({currentElement:Z,container:i})},[a,l]);return{findAllFocusable:c,findFirstFocusable:o,findLastFocusable:r,findNextFocusable:e,findPrevFocusable:h}};var Zt="data-fui-focus-visible",tt="data-fui-focus-within";function C_(a,l){if(R_(a))return()=>{return};let c={current:void 0},o=l3(l);function r(t){if(o.isNavigatingWithKeyboard()&&G1(t))c.current=t,t.setAttribute(Zt,"")}function e(){if(c.current)c.current.removeAttribute(Zt),c.current=void 0}o.subscribe((t)=>{if(!t)e();else r(l.document.activeElement)});let h=(t)=>{e();let i=t.composedPath()[0];r(i)},Z=(t)=>{if(!t.relatedTarget||G1(t.relatedTarget)&&!a.contains(t.relatedTarget))e()};if(a.addEventListener(M5,h),a.addEventListener("focusout",Z),a.focusVisible=!0,a.contains(l.document.activeElement))r(l.document.activeElement);return()=>{e(),a.removeEventListener(M5,h),a.removeEventListener("focusout",Z),a.focusVisible=void 0,c3(o)}}function R_(a){if(!a)return!1;if(a.focusVisible)return!0;return R_(a===null||a===void 0?void 0:a.parentElement)}function w7(a={}){let l=M1(),c=y(null);var o;let r=(o=a.targetDocument)!==null&&o!==void 0?o:l.targetDocument;return X(()=>{if((r===null||r===void 0?void 0:r.defaultView)&&c.current)return C_(c.current,r.defaultView)},[c,r]),c}function G_(a,l){let c=l3(l);c.subscribe((e)=>{if(!e)w_(a)});let o=(e)=>{if(c.isNavigatingWithKeyboard()&&S_(e.target))aC(a)},r=(e)=>{if(!e.relatedTarget||S_(e.relatedTarget)&&!a.contains(e.relatedTarget))w_(a)};return a.addEventListener(M5,o),a.addEventListener("focusout",r),()=>{a.removeEventListener(M5,o),a.removeEventListener("focusout",r),c3(c)}}function aC(a){a.setAttribute(tt,"")}function w_(a){a.removeAttribute(tt)}function S_(a){if(!a)return!1;return Boolean(a&&typeof a==="object"&&"classList"in a&&"contains"in a)}function c2(){let{targetDocument:a}=M1(),l=y(null);return X(()=>{if((a===null||a===void 0?void 0:a.defaultView)&&l.current)return G_(l.current,a.defaultView)},[l,a]),l}function Oo(){let{targetDocument:a}=M1(),l=y(null);return X(()=>{let c=a===null||a===void 0?void 0:a.defaultView;if(c){let o=l3(c);return l.current=o,()=>{c3(o),l.current=null}}},[a]),l}function m6(a){let l=Oo(),c=Y(a);X(()=>{let o=l.current;if(o){let r=(e)=>{c(e)};return o.subscribe(r),r(o.isNavigatingWithKeyboard()),()=>{o.unsubscribe(r)}}},[l,c])}var U_="data-tabster-never-hide",fI={[U_]:""};var lC=(a)=>{return a.hasAttribute(U_)};function cC(a){ko(a,void 0,lC),yo(a)}var o2=(a={})=>{let{trapFocus:l,alwaysFocusable:c,legacyTrapFocus:o}=a;_5(cC);let r=J1("modal-",a.id),e=e3({restorer:{type:L7.Source},...l&&{modalizer:{id:r,isOthersAccessible:!l,isAlwaysAccessible:c,isTrapped:o&&l}}}),h=e3({restorer:{type:L7.Target}});return{modalAttributes:e,triggerAttributes:h}};function S7(){return _5(yo),ta({restorer:{type:L7.Source}})}function Po(){let a=Oo();return Q((l)=>{var c;(c=a.current)===null||c===void 0||c.setVal(l)},[a])}function To(){let a=_5(ko),[l]=E5();return Q((o)=>{l(()=>{var r;(r=a.current)===null||r===void 0||r.activate(o)},0)},[a,l])}var G={"2":"#050505","4":"#0a0a0a","6":"#0f0f0f","8":"#141414","10":"#1a1a1a","12":"#1f1f1f","14":"#242424","16":"#292929","18":"#2e2e2e","20":"#333333","22":"#383838","24":"#3d3d3d","26":"#424242","28":"#474747","30":"#4d4d4d","32":"#525252","34":"#575757","36":"#5c5c5c","38":"#616161","40":"#666666","42":"#6b6b6b","44":"#707070","46":"#757575","48":"#7a7a7a","50":"#808080","52":"#858585","54":"#8a8a8a","56":"#8f8f8f","58":"#949494","60":"#999999","62":"#9e9e9e","64":"#a3a3a3","66":"#a8a8a8","68":"#adadad","70":"#b3b3b3","72":"#b8b8b8","74":"#bdbdbd","76":"#c2c2c2","78":"#c7c7c7","80":"#cccccc","82":"#d1d1d1","84":"#d6d6d6","86":"#dbdbdb","88":"#e0e0e0","90":"#e6e6e6","92":"#ebebeb","94":"#f0f0f0","96":"#f5f5f5","98":"#fafafa","99":"#fcfcfc"},U0={"5":"rgba(255, 255, 255, 0.05)","10":"rgba(255, 255, 255, 0.1)","20":"rgba(255, 255, 255, 0.2)","30":"rgba(255, 255, 255, 0.3)","40":"rgba(255, 255, 255, 0.4)","50":"rgba(255, 255, 255, 0.5)","60":"rgba(255, 255, 255, 0.6)","70":"rgba(255, 255, 255, 0.7)","80":"rgba(255, 255, 255, 0.8)","90":"rgba(255, 255, 255, 0.9)"},A5={"5":"rgba(0, 0, 0, 0.05)","10":"rgba(0, 0, 0, 0.1)","20":"rgba(0, 0, 0, 0.2)","30":"rgba(0, 0, 0, 0.3)","40":"rgba(0, 0, 0, 0.4)","50":"rgba(0, 0, 0, 0.5)","60":"rgba(0, 0, 0, 0.6)","70":"rgba(0, 0, 0, 0.7)","80":"rgba(0, 0, 0, 0.8)","90":"rgba(0, 0, 0, 0.9)"},B_={"5":"rgba(26, 26, 26, 0.05)","10":"rgba(26, 26, 26, 0.1)","20":"rgba(26, 26, 26, 0.2)","30":"rgba(26, 26, 26, 0.3)","40":"rgba(26, 26, 26, 0.4)","50":"rgba(26, 26, 26, 0.5)","60":"rgba(26, 26, 26, 0.6)","70":"rgba(26, 26, 26, 0.7)","80":"rgba(26, 26, 26, 0.8)","90":"rgba(26, 26, 26, 0.9)"},k_={"5":"rgba(31, 31, 31, 0.05)","10":"rgba(31, 31, 31, 0.1)","20":"rgba(31, 31, 31, 0.2)","30":"rgba(31, 31, 31, 0.3)","40":"rgba(31, 31, 31, 0.4)","50":"rgba(31, 31, 31, 0.5)","60":"rgba(31, 31, 31, 0.6)","70":"rgba(31, 31, 31, 0.7)","80":"rgba(31, 31, 31, 0.8)","90":"rgba(31, 31, 31, 0.9)"},it={"5":"rgba(36, 36, 36, 0.05)","10":"rgba(36, 36, 36, 0.1)","20":"rgba(36, 36, 36, 0.2)","30":"rgba(36, 36, 36, 0.3)","40":"rgba(36, 36, 36, 0.4)","50":"rgba(36, 36, 36, 0.5)","60":"rgba(36, 36, 36, 0.6)","70":"rgba(36, 36, 36, 0.7)","80":"rgba(36, 36, 36, 0.8)","90":"rgba(36, 36, 36, 0.9)"},V1="#ffffff",H6="#000000";var y_={shade50:"#130204",shade40:"#230308",shade30:"#420610",shade20:"#590815",shade10:"#690a19",primary:"#750b1c",tint10:"#861b2c",tint20:"#962f3f",tint30:"#ac4f5e",tint40:"#d69ca5",tint50:"#e9c7cd",tint60:"#f9f0f2"};var vt={shade50:"#200205",shade40:"#3b0509",shade30:"#6e0811",shade20:"#960b18",shade10:"#b10e1c",primary:"#c50f1f",tint10:"#cc2635",tint20:"#d33f4c",tint30:"#dc626d",tint40:"#eeacb2",tint50:"#f6d1d5",tint60:"#fdf3f4"},O_={shade50:"#210809",shade40:"#3f1011",shade30:"#751d1f",shade20:"#9f282b",shade10:"#bc2f32",primary:"#d13438",tint10:"#d7494c",tint20:"#dc5e62",tint30:"#e37d80",tint40:"#f1bbbc",tint50:"#f8dadb",tint60:"#fdf6f6"},P_={shade50:"#230900",shade40:"#411200",shade30:"#7a2101",shade20:"#a62d01",shade10:"#c43501",primary:"#da3b01",tint10:"#de501c",tint20:"#e36537",tint30:"#e9835e",tint40:"#f4bfab",tint50:"#f9dcd1",tint60:"#fdf6f3"};var T_={shade50:"#200d03",shade40:"#3d1805",shade30:"#712d09",shade20:"#9a3d0c",shade10:"#b6480e",primary:"#ca5010",tint10:"#d06228",tint20:"#d77440",tint30:"#df8e64",tint40:"#efc4ad",tint50:"#f7dfd2",tint60:"#fdf7f4"},E_={shade50:"#271002",shade40:"#4a1e04",shade30:"#8a3707",shade20:"#bc4b09",shade10:"#de590b",primary:"#f7630c",tint10:"#f87528",tint20:"#f98845",tint30:"#faa06b",tint40:"#fdcfb4",tint50:"#fee5d7",tint60:"#fff9f5"},q_={shade50:"#291600",shade40:"#4d2a00",shade30:"#8f4e00",shade20:"#c26a00",shade10:"#e67e00",primary:"#ff8c00",tint10:"#ff9a1f",tint20:"#ffa83d",tint30:"#ffba66",tint40:"#ffddb3",tint50:"#ffedd6",tint60:"#fffaf5"},W_={shade50:"#251a00",shade40:"#463100",shade30:"#835b00",shade20:"#b27c00",shade10:"#d39300",primary:"#eaa300",tint10:"#edad1c",tint20:"#efb839",tint30:"#f2c661",tint40:"#f9e2ae",tint50:"#fcefd3",tint60:"#fefbf4"},b_={shade50:"#282400",shade40:"#4c4400",shade30:"#817400",shade20:"#c0ad00",shade10:"#e4cc00",primary:"#fde300",tint10:"#fde61e",tint20:"#fdea3d",tint30:"#feee66",tint40:"#fef7b2",tint50:"#fffad6",tint60:"#fffef5"},z_={shade50:"#1f1900",shade40:"#3a2f00",shade30:"#6c5700",shade20:"#937700",shade10:"#ae8c00",primary:"#c19c00",tint10:"#c8a718",tint20:"#d0b232",tint30:"#dac157",tint40:"#ecdfa5",tint50:"#f5eece",tint60:"#fdfbf2"},Q_={shade50:"#181202",shade40:"#2e2103",shade30:"#553e06",shade20:"#745408",shade10:"#89640a",primary:"#986f0b",tint10:"#a47d1e",tint20:"#b18c34",tint30:"#c1a256",tint40:"#e0cea2",tint50:"#efe4cb",tint60:"#fbf8f2"},J_={shade50:"#170e07",shade40:"#2b1a0e",shade30:"#50301a",shade20:"#6c4123",shade10:"#804d29",primary:"#8e562e",tint10:"#9c663f",tint20:"#a97652",tint30:"#bb8f6f",tint40:"#ddc3b0",tint50:"#edded3",tint60:"#faf7f4"};var I_={shade50:"#0c1501",shade40:"#162702",shade30:"#294903",shade20:"#376304",shade10:"#427505",primary:"#498205",tint10:"#599116",tint20:"#6ba02b",tint30:"#85b44c",tint40:"#bdd99b",tint50:"#dbebc7",tint60:"#f6faf0"},$_={shade50:"#002111",shade40:"#003d20",shade30:"#00723b",shade20:"#009b51",shade10:"#00b85f",primary:"#00cc6a",tint10:"#19d279",tint20:"#34d889",tint30:"#5ae0a0",tint40:"#a8f0cd",tint50:"#cff7e4",tint60:"#f3fdf8"},Y_={shade50:"#031a02",shade40:"#063004",shade30:"#0b5a08",shade20:"#0e7a0b",shade10:"#11910d",primary:"#13a10e",tint10:"#27ac22",tint20:"#3db838",tint30:"#5ec75a",tint40:"#a7e3a5",tint50:"#cef0cd",tint60:"#f2fbf2"},nt={shade50:"#031403",shade40:"#052505",shade30:"#094509",shade20:"#0c5e0c",shade10:"#0e700e",primary:"#107c10",tint10:"#218c21",tint20:"#359b35",tint30:"#54b054",tint40:"#9fd89f",tint50:"#c9eac9",tint60:"#f1faf1"},X_={shade50:"#021102",shade40:"#032003",shade30:"#063b06",shade20:"#085108",shade10:"#0a5f0a",primary:"#0b6a0b",tint10:"#1a7c1a",tint20:"#2d8e2d",tint30:"#4da64d",tint40:"#9ad29a",tint50:"#c6e7c6",tint60:"#f0f9f0"},K_={shade50:"#001d1f",shade40:"#00373a",shade30:"#00666d",shade20:"#008b94",shade10:"#00a5af",primary:"#00b7c3",tint10:"#18bfca",tint20:"#32c8d1",tint30:"#58d3db",tint40:"#a6e9ed",tint50:"#cef3f5",tint60:"#f2fcfd"},j_={shade50:"#001516",shade40:"#012728",shade30:"#02494c",shade20:"#026467",shade10:"#037679",primary:"#038387",tint10:"#159195",tint20:"#2aa0a4",tint30:"#4cb4b7",tint40:"#9bd9db",tint50:"#c7ebec",tint60:"#f0fafa"};var N_={shade50:"#000f12",shade40:"#001b22",shade30:"#00333f",shade20:"#004555",shade10:"#005265",primary:"#005b70",tint10:"#0f6c81",tint20:"#237d92",tint30:"#4496a9",tint40:"#94c8d4",tint50:"#c3e1e8",tint60:"#eff7f9"};var aA={shade50:"#001322",shade40:"#002440",shade30:"#004377",shade20:"#005ba1",shade10:"#006cbf",primary:"#0078d4",tint10:"#1a86d9",tint20:"#3595de",tint30:"#5caae5",tint40:"#a9d3f2",tint50:"#d0e7f8",tint60:"#f3f9fd"},lA={shade50:"#000c16",shade40:"#00172a",shade30:"#002c4e",shade20:"#003b6a",shade10:"#00467e",primary:"#004e8c",tint10:"#125e9a",tint20:"#286fa8",tint30:"#4a89ba",tint40:"#9abfdc",tint50:"#c7dced",tint60:"#f0f6fa"};var cA={shade50:"#0d1126",shade40:"#182047",shade30:"#2c3c85",shade20:"#3c51b4",shade10:"#4760d5",primary:"#4f6bed",tint10:"#637cef",tint20:"#778df1",tint30:"#93a4f4",tint40:"#c8d1fa",tint50:"#e1e6fc",tint60:"#f7f9fe"},oA={shade50:"#00061d",shade40:"#000c36",shade30:"#001665",shade20:"#001e89",shade10:"#0023a2",primary:"#0027b4",tint10:"#173bbd",tint20:"#3050c6",tint30:"#546fd2",tint40:"#a3b2e8",tint50:"#ccd5f3",tint60:"#f2f4fc"},rA={shade50:"#120f25",shade40:"#221d46",shade30:"#3f3682",shade20:"#5649b0",shade10:"#6656d1",primary:"#7160e8",tint10:"#8172eb",tint20:"#9184ee",tint30:"#a79cf1",tint40:"#d2ccf8",tint50:"#e7e4fb",tint60:"#f9f8fe"},eA={shade50:"#0f0717",shade40:"#1c0e2b",shade30:"#341a51",shade20:"#46236e",shade10:"#532982",primary:"#5c2e91",tint10:"#6b3f9e",tint20:"#7c52ab",tint30:"#9470bd",tint40:"#c6b1de",tint50:"#e0d3ed",tint60:"#f7f4fb"};var hA={shade50:"#160418",shade40:"#29072e",shade30:"#4c0d55",shade20:"#671174",shade10:"#7a1589",primary:"#881798",tint10:"#952aa4",tint20:"#a33fb1",tint30:"#b55fc1",tint40:"#d9a7e0",tint50:"#eaceef",tint60:"#faf2fb"},ZA={shade50:"#1f091d",shade40:"#3a1136",shade30:"#6d2064",shade20:"#932b88",shade10:"#af33a1",primary:"#c239b3",tint10:"#c94cbc",tint20:"#d161c4",tint30:"#da7ed0",tint40:"#edbbe7",tint50:"#f5daf2",tint60:"#fdf5fc"},tA={shade50:"#1c0b1f",shade40:"#35153a",shade30:"#63276d",shade20:"#863593",shade10:"#9f3faf",primary:"#b146c2",tint10:"#ba58c9",tint20:"#c36bd1",tint30:"#cf87da",tint40:"#e6bfed",tint50:"#f2dcf5",tint60:"#fcf6fd"},iA={shade50:"#24091b",shade40:"#441232",shade30:"#80215d",shade20:"#ad2d7e",shade10:"#cd3595",primary:"#e43ba6",tint10:"#e750b0",tint20:"#ea66ba",tint30:"#ef85c8",tint40:"#f7c0e3",tint50:"#fbddf0",tint60:"#fef6fb"};var vA={shade50:"#1f0013",shade40:"#390024",shade30:"#6b0043",shade20:"#91005a",shade10:"#ac006b",primary:"#bf0077",tint10:"#c71885",tint20:"#ce3293",tint30:"#d957a8",tint40:"#eca5d1",tint50:"#f5cee6",tint60:"#fcf2f9"},nA={shade50:"#13000c",shade40:"#240017",shade30:"#43002b",shade20:"#5a003b",shade10:"#6b0045",primary:"#77004d",tint10:"#87105d",tint20:"#98246f",tint30:"#ad4589",tint40:"#d696c0",tint50:"#e9c4dc",tint60:"#faf0f6"},dA={shade50:"#141313",shade40:"#252323",shade30:"#444241",shade20:"#5d5958",shade10:"#6e6968",primary:"#7a7574",tint10:"#8a8584",tint20:"#9a9594",tint30:"#afabaa",tint40:"#d7d4d4",tint50:"#eae8e8",tint60:"#faf9f9"},MA={shade50:"#0f0e0e",shade40:"#1c1b1a",shade30:"#343231",shade20:"#474443",shade10:"#54514f",primary:"#5d5a58",tint10:"#706d6b",tint20:"#84817e",tint30:"#9e9b99",tint40:"#cecccb",tint50:"#e5e4e3",tint60:"#f8f8f8"};var pA={shade50:"#111314",shade40:"#1f2426",shade30:"#3b4447",shade20:"#505c60",shade10:"#5f6d71",primary:"#69797e",tint10:"#79898d",tint20:"#89989d",tint30:"#a0adb2",tint40:"#cdd6d8",tint50:"#e4e9ea",tint60:"#f8f9fa"},_A={shade50:"#090a0b",shade40:"#111315",shade30:"#202427",shade20:"#2b3135",shade10:"#333a3f",primary:"#394146",tint10:"#4d565c",tint20:"#626c72",tint30:"#808a90",tint40:"#bcc3c7",tint50:"#dbdfe1",tint60:"#f6f7f8"};var y1={red:O_,green:nt,darkOrange:P_,yellow:b_,berry:ZA,lightGreen:Y_,marigold:W_},z2={darkRed:y_,cranberry:vt,pumpkin:T_,peach:q_,gold:z_,brass:Q_,brown:J_,forest:I_,seafoam:$_,darkGreen:X_,lightTeal:K_,teal:j_,steel:N_,blue:aA,royalBlue:lA,cornflower:cA,navy:oA,lavender:rA,purple:eA,grape:hA,lilac:tA,pink:iA,magenta:vA,plum:nA,beige:dA,mink:MA,platinum:pA,anchor:_A},B1={cranberry:vt,green:nt,orange:E_};var Eo=["red","green","darkOrange","yellow","berry","lightGreen","marigold"],qo=["darkRed","cranberry","pumpkin","peach","gold","brass","brown","forest","seafoam","darkGreen","lightTeal","teal","steel","blue","royalBlue","cornflower","navy","lavender","purple","grape","lilac","pink","magenta","plum","beige","mink","platinum","anchor"];var K0={success:"green",warning:"orange",danger:"cranberry"};var va=Eo.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background1`]:y1[l].tint60,[`colorPalette${c}Background2`]:y1[l].tint40,[`colorPalette${c}Background3`]:y1[l].primary,[`colorPalette${c}Foreground1`]:y1[l].shade10,[`colorPalette${c}Foreground2`]:y1[l].shade30,[`colorPalette${c}Foreground3`]:y1[l].primary,[`colorPalette${c}BorderActive`]:y1[l].primary,[`colorPalette${c}Border1`]:y1[l].tint40,[`colorPalette${c}Border2`]:y1[l].primary};return Object.assign(a,o)},{});va.colorPaletteYellowForeground1=y1.yellow.shade30;va.colorPaletteRedForegroundInverted=y1.red.tint20;va.colorPaletteGreenForegroundInverted=y1.green.tint20;va.colorPaletteYellowForegroundInverted=y1.yellow.tint40;var rC=qo.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background2`]:z2[l].tint40,[`colorPalette${c}Foreground2`]:z2[l].shade30,[`colorPalette${c}BorderActive`]:z2[l].primary};return Object.assign(a,o)},{}),AA={...va,...rC},Y3=Object.entries(K0).reduce((a,[l,c])=>{let o=l.slice(0,1).toUpperCase()+l.slice(1),r={[`colorStatus${o}Background1`]:B1[c].tint60,[`colorStatus${o}Background2`]:B1[c].tint40,[`colorStatus${o}Background3`]:B1[c].primary,[`colorStatus${o}Foreground1`]:B1[c].shade10,[`colorStatus${o}Foreground2`]:B1[c].shade30,[`colorStatus${o}Foreground3`]:B1[c].primary,[`colorStatus${o}ForegroundInverted`]:B1[c].tint30,[`colorStatus${o}BorderActive`]:B1[c].primary,[`colorStatus${o}Border1`]:B1[c].tint40,[`colorStatus${o}Border2`]:B1[c].primary};return Object.assign(a,r)},{});Y3.colorStatusDangerBackground3Hover=B1[K0.danger].shade10;Y3.colorStatusDangerBackground3Pressed=B1[K0.danger].shade20;Y3.colorStatusWarningForeground1=B1[K0.warning].shade20;Y3.colorStatusWarningForeground3=B1[K0.warning].shade20;Y3.colorStatusWarningBorder2=B1[K0.warning].shade20;var mA=(a)=>({colorNeutralForeground1:G[14],colorNeutralForeground1Hover:G[14],colorNeutralForeground1Pressed:G[14],colorNeutralForeground1Selected:G[14],colorNeutralForeground2:G[26],colorNeutralForeground2Hover:G[14],colorNeutralForeground2Pressed:G[14],colorNeutralForeground2Selected:G[14],colorNeutralForeground2BrandHover:a[80],colorNeutralForeground2BrandPressed:a[70],colorNeutralForeground2BrandSelected:a[80],colorNeutralForeground3:G[38],colorNeutralForeground3Hover:G[26],colorNeutralForeground3Pressed:G[26],colorNeutralForeground3Selected:G[26],colorNeutralForeground3BrandHover:a[80],colorNeutralForeground3BrandPressed:a[70],colorNeutralForeground3BrandSelected:a[80],colorNeutralForeground4:G[44],colorNeutralForeground5:G[38],colorNeutralForeground5Hover:G[14],colorNeutralForeground5Pressed:G[14],colorNeutralForeground5Selected:G[14],colorNeutralForegroundDisabled:G[74],colorNeutralForegroundInvertedDisabled:U0[40],colorBrandForegroundLink:a[70],colorBrandForegroundLinkHover:a[60],colorBrandForegroundLinkPressed:a[40],colorBrandForegroundLinkSelected:a[70],colorNeutralForeground2Link:G[26],colorNeutralForeground2LinkHover:G[14],colorNeutralForeground2LinkPressed:G[14],colorNeutralForeground2LinkSelected:G[14],colorCompoundBrandForeground1:a[80],colorCompoundBrandForeground1Hover:a[70],colorCompoundBrandForeground1Pressed:a[60],colorBrandForeground1:a[80],colorBrandForeground2:a[70],colorBrandForeground2Hover:a[60],colorBrandForeground2Pressed:a[30],colorNeutralForeground1Static:G[14],colorNeutralForegroundStaticInverted:V1,colorNeutralForegroundInverted:V1,colorNeutralForegroundInvertedHover:V1,colorNeutralForegroundInvertedPressed:V1,colorNeutralForegroundInvertedSelected:V1,colorNeutralForegroundInverted2:V1,colorNeutralForegroundOnBrand:V1,colorNeutralForegroundInvertedLink:V1,colorNeutralForegroundInvertedLinkHover:V1,colorNeutralForegroundInvertedLinkPressed:V1,colorNeutralForegroundInvertedLinkSelected:V1,colorBrandForegroundInverted:a[100],colorBrandForegroundInvertedHover:a[110],colorBrandForegroundInvertedPressed:a[100],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:V1,colorNeutralBackground1Hover:G[96],colorNeutralBackground1Pressed:G[88],colorNeutralBackground1Selected:G[92],colorNeutralBackground2:G[98],colorNeutralBackground2Hover:G[94],colorNeutralBackground2Pressed:G[86],colorNeutralBackground2Selected:G[90],colorNeutralBackground3:G[96],colorNeutralBackground3Hover:G[92],colorNeutralBackground3Pressed:G[84],colorNeutralBackground3Selected:G[88],colorNeutralBackground4:G[94],colorNeutralBackground4Hover:G[98],colorNeutralBackground4Pressed:G[96],colorNeutralBackground4Selected:V1,colorNeutralBackground5:G[92],colorNeutralBackground5Hover:G[96],colorNeutralBackground5Pressed:G[94],colorNeutralBackground5Selected:G[98],colorNeutralBackground6:G[90],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:G[92],colorNeutralBackground7Pressed:G[84],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:G[99],colorNeutralBackgroundInverted:G[16],colorNeutralBackgroundInvertedHover:G[24],colorNeutralBackgroundInvertedPressed:G[12],colorNeutralBackgroundInvertedSelected:G[22],colorNeutralBackgroundStatic:G[20],colorNeutralBackgroundAlpha:U0[50],colorNeutralBackgroundAlpha2:U0[80],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:G[96],colorSubtleBackgroundPressed:G[88],colorSubtleBackgroundSelected:G[92],colorSubtleBackgroundLightAlphaHover:U0[70],colorSubtleBackgroundLightAlphaPressed:U0[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:A5[10],colorSubtleBackgroundInvertedPressed:A5[30],colorSubtleBackgroundInvertedSelected:A5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:G[94],colorNeutralBackgroundDisabled2:V1,colorNeutralBackgroundInvertedDisabled:U0[10],colorNeutralStencil1:G[90],colorNeutralStencil2:G[98],colorNeutralStencil1Alpha:A5[10],colorNeutralStencil2Alpha:A5[5],colorBackgroundOverlay:A5[40],colorScrollbarOverlay:A5[50],colorBrandBackground:a[80],colorBrandBackgroundHover:a[70],colorBrandBackgroundPressed:a[40],colorBrandBackgroundSelected:a[60],colorCompoundBrandBackground:a[80],colorCompoundBrandBackgroundHover:a[70],colorCompoundBrandBackgroundPressed:a[60],colorBrandBackgroundStatic:a[80],colorBrandBackground2:a[160],colorBrandBackground2Hover:a[150],colorBrandBackground2Pressed:a[130],colorBrandBackground3Static:a[60],colorBrandBackground4Static:a[40],colorBrandBackgroundInverted:V1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:G[98],colorNeutralCardBackgroundHover:V1,colorNeutralCardBackgroundPressed:G[96],colorNeutralCardBackgroundSelected:G[92],colorNeutralCardBackgroundDisabled:G[94],colorNeutralStrokeAccessible:G[38],colorNeutralStrokeAccessibleHover:G[34],colorNeutralStrokeAccessiblePressed:G[30],colorNeutralStrokeAccessibleSelected:a[80],colorNeutralStroke1:G[82],colorNeutralStroke1Hover:G[78],colorNeutralStroke1Pressed:G[70],colorNeutralStroke1Selected:G[74],colorNeutralStroke2:G[88],colorNeutralStroke3:G[94],colorNeutralStroke4:G[92],colorNeutralStroke4Hover:G[88],colorNeutralStroke4Pressed:G[84],colorNeutralStroke4Selected:G[92],colorNeutralStrokeSubtle:G[88],colorNeutralStrokeOnBrand:V1,colorNeutralStrokeOnBrand2:V1,colorNeutralStrokeOnBrand2Hover:V1,colorNeutralStrokeOnBrand2Pressed:V1,colorNeutralStrokeOnBrand2Selected:V1,colorBrandStroke1:a[80],colorBrandStroke2:a[140],colorBrandStroke2Hover:a[120],colorBrandStroke2Pressed:a[80],colorBrandStroke2Contrast:a[140],colorCompoundBrandStroke:a[80],colorCompoundBrandStrokeHover:a[70],colorCompoundBrandStrokePressed:a[60],colorNeutralStrokeDisabled:G[88],colorNeutralStrokeDisabled2:G[92],colorNeutralStrokeInvertedDisabled:U0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:A5[5],colorNeutralStrokeAlpha2:U0[20],colorStrokeFocus1:V1,colorStrokeFocus2:H6,colorNeutralShadowAmbient:"rgba(0,0,0,0.12)",colorNeutralShadowKey:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.06)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.07)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.20)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.24)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"});var na={borderRadiusNone:"0",borderRadiusSmall:"2px",borderRadiusMedium:"4px",borderRadiusLarge:"6px",borderRadiusXLarge:"8px",borderRadius2XLarge:"12px",borderRadius3XLarge:"16px",borderRadius4XLarge:"24px",borderRadius5XLarge:"32px",borderRadius6XLarge:"40px",borderRadiusCircular:"10000px"};var da={fontSizeBase100:"10px",fontSizeBase200:"12px",fontSizeBase300:"14px",fontSizeBase400:"16px",fontSizeBase500:"20px",fontSizeBase600:"24px",fontSizeHero700:"28px",fontSizeHero800:"32px",fontSizeHero900:"40px",fontSizeHero1000:"68px"},Ma={lineHeightBase100:"14px",lineHeightBase200:"16px",lineHeightBase300:"20px",lineHeightBase400:"22px",lineHeightBase500:"28px",lineHeightBase600:"32px",lineHeightHero700:"36px",lineHeightHero800:"40px",lineHeightHero900:"52px",lineHeightHero1000:"92px"},pa={fontWeightRegular:400,fontWeightMedium:500,fontWeightSemibold:600,fontWeightBold:700},_a={fontFamilyBase:"'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif",fontFamilyMonospace:"Consolas, 'Courier New', Courier, monospace",fontFamilyNumeric:"Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"};var Aa={strokeWidthThin:"1px",strokeWidthThick:"2px",strokeWidthThicker:"3px",strokeWidthThickest:"4px"};var K1={colorNeutralForeground1:"var(--colorNeutralForeground1)",colorNeutralForeground1Hover:"var(--colorNeutralForeground1Hover)",colorNeutralForeground1Pressed:"var(--colorNeutralForeground1Pressed)",colorNeutralForeground1Selected:"var(--colorNeutralForeground1Selected)",colorNeutralForeground2:"var(--colorNeutralForeground2)",colorNeutralForeground2Hover:"var(--colorNeutralForeground2Hover)",colorNeutralForeground2Pressed:"var(--colorNeutralForeground2Pressed)",colorNeutralForeground2Selected:"var(--colorNeutralForeground2Selected)",colorNeutralForeground2BrandHover:"var(--colorNeutralForeground2BrandHover)",colorNeutralForeground2BrandPressed:"var(--colorNeutralForeground2BrandPressed)",colorNeutralForeground2BrandSelected:"var(--colorNeutralForeground2BrandSelected)",colorNeutralForeground3:"var(--colorNeutralForeground3)",colorNeutralForeground3Hover:"var(--colorNeutralForeground3Hover)",colorNeutralForeground3Pressed:"var(--colorNeutralForeground3Pressed)",colorNeutralForeground3Selected:"var(--colorNeutralForeground3Selected)",colorNeutralForeground3BrandHover:"var(--colorNeutralForeground3BrandHover)",colorNeutralForeground3BrandPressed:"var(--colorNeutralForeground3BrandPressed)",colorNeutralForeground3BrandSelected:"var(--colorNeutralForeground3BrandSelected)",colorNeutralForeground4:"var(--colorNeutralForeground4)",colorNeutralForeground5:"var(--colorNeutralForeground5)",colorNeutralForeground5Hover:"var(--colorNeutralForeground5Hover)",colorNeutralForeground5Pressed:"var(--colorNeutralForeground5Pressed)",colorNeutralForeground5Selected:"var(--colorNeutralForeground5Selected)",colorNeutralForegroundDisabled:"var(--colorNeutralForegroundDisabled)",colorBrandForegroundLink:"var(--colorBrandForegroundLink)",colorBrandForegroundLinkHover:"var(--colorBrandForegroundLinkHover)",colorBrandForegroundLinkPressed:"var(--colorBrandForegroundLinkPressed)",colorBrandForegroundLinkSelected:"var(--colorBrandForegroundLinkSelected)",colorNeutralForeground2Link:"var(--colorNeutralForeground2Link)",colorNeutralForeground2LinkHover:"var(--colorNeutralForeground2LinkHover)",colorNeutralForeground2LinkPressed:"var(--colorNeutralForeground2LinkPressed)",colorNeutralForeground2LinkSelected:"var(--colorNeutralForeground2LinkSelected)",colorCompoundBrandForeground1:"var(--colorCompoundBrandForeground1)",colorCompoundBrandForeground1Hover:"var(--colorCompoundBrandForeground1Hover)",colorCompoundBrandForeground1Pressed:"var(--colorCompoundBrandForeground1Pressed)",colorNeutralForegroundOnBrand:"var(--colorNeutralForegroundOnBrand)",colorNeutralForegroundInverted:"var(--colorNeutralForegroundInverted)",colorNeutralForegroundInvertedHover:"var(--colorNeutralForegroundInvertedHover)",colorNeutralForegroundInvertedPressed:"var(--colorNeutralForegroundInvertedPressed)",colorNeutralForegroundInvertedSelected:"var(--colorNeutralForegroundInvertedSelected)",colorNeutralForegroundInverted2:"var(--colorNeutralForegroundInverted2)",colorNeutralForegroundStaticInverted:"var(--colorNeutralForegroundStaticInverted)",colorNeutralForegroundInvertedLink:"var(--colorNeutralForegroundInvertedLink)",colorNeutralForegroundInvertedLinkHover:"var(--colorNeutralForegroundInvertedLinkHover)",colorNeutralForegroundInvertedLinkPressed:"var(--colorNeutralForegroundInvertedLinkPressed)",colorNeutralForegroundInvertedLinkSelected:"var(--colorNeutralForegroundInvertedLinkSelected)",colorNeutralForegroundInvertedDisabled:"var(--colorNeutralForegroundInvertedDisabled)",colorBrandForeground1:"var(--colorBrandForeground1)",colorBrandForeground2:"var(--colorBrandForeground2)",colorBrandForeground2Hover:"var(--colorBrandForeground2Hover)",colorBrandForeground2Pressed:"var(--colorBrandForeground2Pressed)",colorNeutralForeground1Static:"var(--colorNeutralForeground1Static)",colorBrandForegroundInverted:"var(--colorBrandForegroundInverted)",colorBrandForegroundInvertedHover:"var(--colorBrandForegroundInvertedHover)",colorBrandForegroundInvertedPressed:"var(--colorBrandForegroundInvertedPressed)",colorBrandForegroundOnLight:"var(--colorBrandForegroundOnLight)",colorBrandForegroundOnLightHover:"var(--colorBrandForegroundOnLightHover)",colorBrandForegroundOnLightPressed:"var(--colorBrandForegroundOnLightPressed)",colorBrandForegroundOnLightSelected:"var(--colorBrandForegroundOnLightSelected)",colorNeutralBackground1:"var(--colorNeutralBackground1)",colorNeutralBackground1Hover:"var(--colorNeutralBackground1Hover)",colorNeutralBackground1Pressed:"var(--colorNeutralBackground1Pressed)",colorNeutralBackground1Selected:"var(--colorNeutralBackground1Selected)",colorNeutralBackground2:"var(--colorNeutralBackground2)",colorNeutralBackground2Hover:"var(--colorNeutralBackground2Hover)",colorNeutralBackground2Pressed:"var(--colorNeutralBackground2Pressed)",colorNeutralBackground2Selected:"var(--colorNeutralBackground2Selected)",colorNeutralBackground3:"var(--colorNeutralBackground3)",colorNeutralBackground3Hover:"var(--colorNeutralBackground3Hover)",colorNeutralBackground3Pressed:"var(--colorNeutralBackground3Pressed)",colorNeutralBackground3Selected:"var(--colorNeutralBackground3Selected)",colorNeutralBackground4:"var(--colorNeutralBackground4)",colorNeutralBackground4Hover:"var(--colorNeutralBackground4Hover)",colorNeutralBackground4Pressed:"var(--colorNeutralBackground4Pressed)",colorNeutralBackground4Selected:"var(--colorNeutralBackground4Selected)",colorNeutralBackground5:"var(--colorNeutralBackground5)",colorNeutralBackground5Hover:"var(--colorNeutralBackground5Hover)",colorNeutralBackground5Pressed:"var(--colorNeutralBackground5Pressed)",colorNeutralBackground5Selected:"var(--colorNeutralBackground5Selected)",colorNeutralBackground6:"var(--colorNeutralBackground6)",colorNeutralBackground7:"var(--colorNeutralBackground7)",colorNeutralBackground7Hover:"var(--colorNeutralBackground7Hover)",colorNeutralBackground7Pressed:"var(--colorNeutralBackground7Pressed)",colorNeutralBackground7Selected:"var(--colorNeutralBackground7Selected)",colorNeutralBackground8:"var(--colorNeutralBackground8)",colorNeutralBackgroundInverted:"var(--colorNeutralBackgroundInverted)",colorNeutralBackgroundInvertedHover:"var(--colorNeutralBackgroundInvertedHover)",colorNeutralBackgroundInvertedPressed:"var(--colorNeutralBackgroundInvertedPressed)",colorNeutralBackgroundInvertedSelected:"var(--colorNeutralBackgroundInvertedSelected)",colorNeutralBackgroundStatic:"var(--colorNeutralBackgroundStatic)",colorNeutralBackgroundAlpha:"var(--colorNeutralBackgroundAlpha)",colorNeutralBackgroundAlpha2:"var(--colorNeutralBackgroundAlpha2)",colorSubtleBackground:"var(--colorSubtleBackground)",colorSubtleBackgroundHover:"var(--colorSubtleBackgroundHover)",colorSubtleBackgroundPressed:"var(--colorSubtleBackgroundPressed)",colorSubtleBackgroundSelected:"var(--colorSubtleBackgroundSelected)",colorSubtleBackgroundLightAlphaHover:"var(--colorSubtleBackgroundLightAlphaHover)",colorSubtleBackgroundLightAlphaPressed:"var(--colorSubtleBackgroundLightAlphaPressed)",colorSubtleBackgroundLightAlphaSelected:"var(--colorSubtleBackgroundLightAlphaSelected)",colorSubtleBackgroundInverted:"var(--colorSubtleBackgroundInverted)",colorSubtleBackgroundInvertedHover:"var(--colorSubtleBackgroundInvertedHover)",colorSubtleBackgroundInvertedPressed:"var(--colorSubtleBackgroundInvertedPressed)",colorSubtleBackgroundInvertedSelected:"var(--colorSubtleBackgroundInvertedSelected)",colorTransparentBackground:"var(--colorTransparentBackground)",colorTransparentBackgroundHover:"var(--colorTransparentBackgroundHover)",colorTransparentBackgroundPressed:"var(--colorTransparentBackgroundPressed)",colorTransparentBackgroundSelected:"var(--colorTransparentBackgroundSelected)",colorNeutralBackgroundDisabled:"var(--colorNeutralBackgroundDisabled)",colorNeutralBackgroundDisabled2:"var(--colorNeutralBackgroundDisabled2)",colorNeutralBackgroundInvertedDisabled:"var(--colorNeutralBackgroundInvertedDisabled)",colorNeutralStencil1:"var(--colorNeutralStencil1)",colorNeutralStencil2:"var(--colorNeutralStencil2)",colorNeutralStencil1Alpha:"var(--colorNeutralStencil1Alpha)",colorNeutralStencil2Alpha:"var(--colorNeutralStencil2Alpha)",colorBackgroundOverlay:"var(--colorBackgroundOverlay)",colorScrollbarOverlay:"var(--colorScrollbarOverlay)",colorBrandBackground:"var(--colorBrandBackground)",colorBrandBackgroundHover:"var(--colorBrandBackgroundHover)",colorBrandBackgroundPressed:"var(--colorBrandBackgroundPressed)",colorBrandBackgroundSelected:"var(--colorBrandBackgroundSelected)",colorCompoundBrandBackground:"var(--colorCompoundBrandBackground)",colorCompoundBrandBackgroundHover:"var(--colorCompoundBrandBackgroundHover)",colorCompoundBrandBackgroundPressed:"var(--colorCompoundBrandBackgroundPressed)",colorBrandBackgroundStatic:"var(--colorBrandBackgroundStatic)",colorBrandBackground2:"var(--colorBrandBackground2)",colorBrandBackground2Hover:"var(--colorBrandBackground2Hover)",colorBrandBackground2Pressed:"var(--colorBrandBackground2Pressed)",colorBrandBackground3Static:"var(--colorBrandBackground3Static)",colorBrandBackground4Static:"var(--colorBrandBackground4Static)",colorBrandBackgroundInverted:"var(--colorBrandBackgroundInverted)",colorBrandBackgroundInvertedHover:"var(--colorBrandBackgroundInvertedHover)",colorBrandBackgroundInvertedPressed:"var(--colorBrandBackgroundInvertedPressed)",colorBrandBackgroundInvertedSelected:"var(--colorBrandBackgroundInvertedSelected)",colorNeutralCardBackground:"var(--colorNeutralCardBackground)",colorNeutralCardBackgroundHover:"var(--colorNeutralCardBackgroundHover)",colorNeutralCardBackgroundPressed:"var(--colorNeutralCardBackgroundPressed)",colorNeutralCardBackgroundSelected:"var(--colorNeutralCardBackgroundSelected)",colorNeutralCardBackgroundDisabled:"var(--colorNeutralCardBackgroundDisabled)",colorNeutralStrokeAccessible:"var(--colorNeutralStrokeAccessible)",colorNeutralStrokeAccessibleHover:"var(--colorNeutralStrokeAccessibleHover)",colorNeutralStrokeAccessiblePressed:"var(--colorNeutralStrokeAccessiblePressed)",colorNeutralStrokeAccessibleSelected:"var(--colorNeutralStrokeAccessibleSelected)",colorNeutralStroke1:"var(--colorNeutralStroke1)",colorNeutralStroke1Hover:"var(--colorNeutralStroke1Hover)",colorNeutralStroke1Pressed:"var(--colorNeutralStroke1Pressed)",colorNeutralStroke1Selected:"var(--colorNeutralStroke1Selected)",colorNeutralStroke2:"var(--colorNeutralStroke2)",colorNeutralStroke3:"var(--colorNeutralStroke3)",colorNeutralStroke4:"var(--colorNeutralStroke4)",colorNeutralStroke4Hover:"var(--colorNeutralStroke4Hover)",colorNeutralStroke4Pressed:"var(--colorNeutralStroke4Pressed)",colorNeutralStroke4Selected:"var(--colorNeutralStroke4Selected)",colorNeutralStrokeSubtle:"var(--colorNeutralStrokeSubtle)",colorNeutralStrokeOnBrand:"var(--colorNeutralStrokeOnBrand)",colorNeutralStrokeOnBrand2:"var(--colorNeutralStrokeOnBrand2)",colorNeutralStrokeOnBrand2Hover:"var(--colorNeutralStrokeOnBrand2Hover)",colorNeutralStrokeOnBrand2Pressed:"var(--colorNeutralStrokeOnBrand2Pressed)",colorNeutralStrokeOnBrand2Selected:"var(--colorNeutralStrokeOnBrand2Selected)",colorBrandStroke1:"var(--colorBrandStroke1)",colorBrandStroke2:"var(--colorBrandStroke2)",colorBrandStroke2Hover:"var(--colorBrandStroke2Hover)",colorBrandStroke2Pressed:"var(--colorBrandStroke2Pressed)",colorBrandStroke2Contrast:"var(--colorBrandStroke2Contrast)",colorCompoundBrandStroke:"var(--colorCompoundBrandStroke)",colorCompoundBrandStrokeHover:"var(--colorCompoundBrandStrokeHover)",colorCompoundBrandStrokePressed:"var(--colorCompoundBrandStrokePressed)",colorNeutralStrokeDisabled:"var(--colorNeutralStrokeDisabled)",colorNeutralStrokeDisabled2:"var(--colorNeutralStrokeDisabled2)",colorNeutralStrokeInvertedDisabled:"var(--colorNeutralStrokeInvertedDisabled)",colorTransparentStroke:"var(--colorTransparentStroke)",colorTransparentStrokeInteractive:"var(--colorTransparentStrokeInteractive)",colorTransparentStrokeDisabled:"var(--colorTransparentStrokeDisabled)",colorNeutralStrokeAlpha:"var(--colorNeutralStrokeAlpha)",colorNeutralStrokeAlpha2:"var(--colorNeutralStrokeAlpha2)",colorStrokeFocus1:"var(--colorStrokeFocus1)",colorStrokeFocus2:"var(--colorStrokeFocus2)",colorNeutralShadowAmbient:"var(--colorNeutralShadowAmbient)",colorNeutralShadowKey:"var(--colorNeutralShadowKey)",colorNeutralShadowAmbientLighter:"var(--colorNeutralShadowAmbientLighter)",colorNeutralShadowKeyLighter:"var(--colorNeutralShadowKeyLighter)",colorNeutralShadowAmbientDarker:"var(--colorNeutralShadowAmbientDarker)",colorNeutralShadowKeyDarker:"var(--colorNeutralShadowKeyDarker)",colorBrandShadowAmbient:"var(--colorBrandShadowAmbient)",colorBrandShadowKey:"var(--colorBrandShadowKey)",colorPaletteRedBackground1:"var(--colorPaletteRedBackground1)",colorPaletteRedBackground2:"var(--colorPaletteRedBackground2)",colorPaletteRedBackground3:"var(--colorPaletteRedBackground3)",colorPaletteRedBorderActive:"var(--colorPaletteRedBorderActive)",colorPaletteRedBorder1:"var(--colorPaletteRedBorder1)",colorPaletteRedBorder2:"var(--colorPaletteRedBorder2)",colorPaletteRedForeground1:"var(--colorPaletteRedForeground1)",colorPaletteRedForeground2:"var(--colorPaletteRedForeground2)",colorPaletteRedForeground3:"var(--colorPaletteRedForeground3)",colorPaletteRedForegroundInverted:"var(--colorPaletteRedForegroundInverted)",colorPaletteGreenBackground1:"var(--colorPaletteGreenBackground1)",colorPaletteGreenBackground2:"var(--colorPaletteGreenBackground2)",colorPaletteGreenBackground3:"var(--colorPaletteGreenBackground3)",colorPaletteGreenBorderActive:"var(--colorPaletteGreenBorderActive)",colorPaletteGreenBorder1:"var(--colorPaletteGreenBorder1)",colorPaletteGreenBorder2:"var(--colorPaletteGreenBorder2)",colorPaletteGreenForeground1:"var(--colorPaletteGreenForeground1)",colorPaletteGreenForeground2:"var(--colorPaletteGreenForeground2)",colorPaletteGreenForeground3:"var(--colorPaletteGreenForeground3)",colorPaletteGreenForegroundInverted:"var(--colorPaletteGreenForegroundInverted)",colorPaletteDarkOrangeBackground1:"var(--colorPaletteDarkOrangeBackground1)",colorPaletteDarkOrangeBackground2:"var(--colorPaletteDarkOrangeBackground2)",colorPaletteDarkOrangeBackground3:"var(--colorPaletteDarkOrangeBackground3)",colorPaletteDarkOrangeBorderActive:"var(--colorPaletteDarkOrangeBorderActive)",colorPaletteDarkOrangeBorder1:"var(--colorPaletteDarkOrangeBorder1)",colorPaletteDarkOrangeBorder2:"var(--colorPaletteDarkOrangeBorder2)",colorPaletteDarkOrangeForeground1:"var(--colorPaletteDarkOrangeForeground1)",colorPaletteDarkOrangeForeground2:"var(--colorPaletteDarkOrangeForeground2)",colorPaletteDarkOrangeForeground3:"var(--colorPaletteDarkOrangeForeground3)",colorPaletteYellowBackground1:"var(--colorPaletteYellowBackground1)",colorPaletteYellowBackground2:"var(--colorPaletteYellowBackground2)",colorPaletteYellowBackground3:"var(--colorPaletteYellowBackground3)",colorPaletteYellowBorderActive:"var(--colorPaletteYellowBorderActive)",colorPaletteYellowBorder1:"var(--colorPaletteYellowBorder1)",colorPaletteYellowBorder2:"var(--colorPaletteYellowBorder2)",colorPaletteYellowForeground1:"var(--colorPaletteYellowForeground1)",colorPaletteYellowForeground2:"var(--colorPaletteYellowForeground2)",colorPaletteYellowForeground3:"var(--colorPaletteYellowForeground3)",colorPaletteYellowForegroundInverted:"var(--colorPaletteYellowForegroundInverted)",colorPaletteBerryBackground1:"var(--colorPaletteBerryBackground1)",colorPaletteBerryBackground2:"var(--colorPaletteBerryBackground2)",colorPaletteBerryBackground3:"var(--colorPaletteBerryBackground3)",colorPaletteBerryBorderActive:"var(--colorPaletteBerryBorderActive)",colorPaletteBerryBorder1:"var(--colorPaletteBerryBorder1)",colorPaletteBerryBorder2:"var(--colorPaletteBerryBorder2)",colorPaletteBerryForeground1:"var(--colorPaletteBerryForeground1)",colorPaletteBerryForeground2:"var(--colorPaletteBerryForeground2)",colorPaletteBerryForeground3:"var(--colorPaletteBerryForeground3)",colorPaletteMarigoldBackground1:"var(--colorPaletteMarigoldBackground1)",colorPaletteMarigoldBackground2:"var(--colorPaletteMarigoldBackground2)",colorPaletteMarigoldBackground3:"var(--colorPaletteMarigoldBackground3)",colorPaletteMarigoldBorderActive:"var(--colorPaletteMarigoldBorderActive)",colorPaletteMarigoldBorder1:"var(--colorPaletteMarigoldBorder1)",colorPaletteMarigoldBorder2:"var(--colorPaletteMarigoldBorder2)",colorPaletteMarigoldForeground1:"var(--colorPaletteMarigoldForeground1)",colorPaletteMarigoldForeground2:"var(--colorPaletteMarigoldForeground2)",colorPaletteMarigoldForeground3:"var(--colorPaletteMarigoldForeground3)",colorPaletteLightGreenBackground1:"var(--colorPaletteLightGreenBackground1)",colorPaletteLightGreenBackground2:"var(--colorPaletteLightGreenBackground2)",colorPaletteLightGreenBackground3:"var(--colorPaletteLightGreenBackground3)",colorPaletteLightGreenBorderActive:"var(--colorPaletteLightGreenBorderActive)",colorPaletteLightGreenBorder1:"var(--colorPaletteLightGreenBorder1)",colorPaletteLightGreenBorder2:"var(--colorPaletteLightGreenBorder2)",colorPaletteLightGreenForeground1:"var(--colorPaletteLightGreenForeground1)",colorPaletteLightGreenForeground2:"var(--colorPaletteLightGreenForeground2)",colorPaletteLightGreenForeground3:"var(--colorPaletteLightGreenForeground3)",colorPaletteAnchorBackground2:"var(--colorPaletteAnchorBackground2)",colorPaletteAnchorBorderActive:"var(--colorPaletteAnchorBorderActive)",colorPaletteAnchorForeground2:"var(--colorPaletteAnchorForeground2)",colorPaletteBeigeBackground2:"var(--colorPaletteBeigeBackground2)",colorPaletteBeigeBorderActive:"var(--colorPaletteBeigeBorderActive)",colorPaletteBeigeForeground2:"var(--colorPaletteBeigeForeground2)",colorPaletteBlueBackground2:"var(--colorPaletteBlueBackground2)",colorPaletteBlueBorderActive:"var(--colorPaletteBlueBorderActive)",colorPaletteBlueForeground2:"var(--colorPaletteBlueForeground2)",colorPaletteBrassBackground2:"var(--colorPaletteBrassBackground2)",colorPaletteBrassBorderActive:"var(--colorPaletteBrassBorderActive)",colorPaletteBrassForeground2:"var(--colorPaletteBrassForeground2)",colorPaletteBrownBackground2:"var(--colorPaletteBrownBackground2)",colorPaletteBrownBorderActive:"var(--colorPaletteBrownBorderActive)",colorPaletteBrownForeground2:"var(--colorPaletteBrownForeground2)",colorPaletteCornflowerBackground2:"var(--colorPaletteCornflowerBackground2)",colorPaletteCornflowerBorderActive:"var(--colorPaletteCornflowerBorderActive)",colorPaletteCornflowerForeground2:"var(--colorPaletteCornflowerForeground2)",colorPaletteCranberryBackground2:"var(--colorPaletteCranberryBackground2)",colorPaletteCranberryBorderActive:"var(--colorPaletteCranberryBorderActive)",colorPaletteCranberryForeground2:"var(--colorPaletteCranberryForeground2)",colorPaletteDarkGreenBackground2:"var(--colorPaletteDarkGreenBackground2)",colorPaletteDarkGreenBorderActive:"var(--colorPaletteDarkGreenBorderActive)",colorPaletteDarkGreenForeground2:"var(--colorPaletteDarkGreenForeground2)",colorPaletteDarkRedBackground2:"var(--colorPaletteDarkRedBackground2)",colorPaletteDarkRedBorderActive:"var(--colorPaletteDarkRedBorderActive)",colorPaletteDarkRedForeground2:"var(--colorPaletteDarkRedForeground2)",colorPaletteForestBackground2:"var(--colorPaletteForestBackground2)",colorPaletteForestBorderActive:"var(--colorPaletteForestBorderActive)",colorPaletteForestForeground2:"var(--colorPaletteForestForeground2)",colorPaletteGoldBackground2:"var(--colorPaletteGoldBackground2)",colorPaletteGoldBorderActive:"var(--colorPaletteGoldBorderActive)",colorPaletteGoldForeground2:"var(--colorPaletteGoldForeground2)",colorPaletteGrapeBackground2:"var(--colorPaletteGrapeBackground2)",colorPaletteGrapeBorderActive:"var(--colorPaletteGrapeBorderActive)",colorPaletteGrapeForeground2:"var(--colorPaletteGrapeForeground2)",colorPaletteLavenderBackground2:"var(--colorPaletteLavenderBackground2)",colorPaletteLavenderBorderActive:"var(--colorPaletteLavenderBorderActive)",colorPaletteLavenderForeground2:"var(--colorPaletteLavenderForeground2)",colorPaletteLightTealBackground2:"var(--colorPaletteLightTealBackground2)",colorPaletteLightTealBorderActive:"var(--colorPaletteLightTealBorderActive)",colorPaletteLightTealForeground2:"var(--colorPaletteLightTealForeground2)",colorPaletteLilacBackground2:"var(--colorPaletteLilacBackground2)",colorPaletteLilacBorderActive:"var(--colorPaletteLilacBorderActive)",colorPaletteLilacForeground2:"var(--colorPaletteLilacForeground2)",colorPaletteMagentaBackground2:"var(--colorPaletteMagentaBackground2)",colorPaletteMagentaBorderActive:"var(--colorPaletteMagentaBorderActive)",colorPaletteMagentaForeground2:"var(--colorPaletteMagentaForeground2)",colorPaletteMinkBackground2:"var(--colorPaletteMinkBackground2)",colorPaletteMinkBorderActive:"var(--colorPaletteMinkBorderActive)",colorPaletteMinkForeground2:"var(--colorPaletteMinkForeground2)",colorPaletteNavyBackground2:"var(--colorPaletteNavyBackground2)",colorPaletteNavyBorderActive:"var(--colorPaletteNavyBorderActive)",colorPaletteNavyForeground2:"var(--colorPaletteNavyForeground2)",colorPalettePeachBackground2:"var(--colorPalettePeachBackground2)",colorPalettePeachBorderActive:"var(--colorPalettePeachBorderActive)",colorPalettePeachForeground2:"var(--colorPalettePeachForeground2)",colorPalettePinkBackground2:"var(--colorPalettePinkBackground2)",colorPalettePinkBorderActive:"var(--colorPalettePinkBorderActive)",colorPalettePinkForeground2:"var(--colorPalettePinkForeground2)",colorPalettePlatinumBackground2:"var(--colorPalettePlatinumBackground2)",colorPalettePlatinumBorderActive:"var(--colorPalettePlatinumBorderActive)",colorPalettePlatinumForeground2:"var(--colorPalettePlatinumForeground2)",colorPalettePlumBackground2:"var(--colorPalettePlumBackground2)",colorPalettePlumBorderActive:"var(--colorPalettePlumBorderActive)",colorPalettePlumForeground2:"var(--colorPalettePlumForeground2)",colorPalettePumpkinBackground2:"var(--colorPalettePumpkinBackground2)",colorPalettePumpkinBorderActive:"var(--colorPalettePumpkinBorderActive)",colorPalettePumpkinForeground2:"var(--colorPalettePumpkinForeground2)",colorPalettePurpleBackground2:"var(--colorPalettePurpleBackground2)",colorPalettePurpleBorderActive:"var(--colorPalettePurpleBorderActive)",colorPalettePurpleForeground2:"var(--colorPalettePurpleForeground2)",colorPaletteRoyalBlueBackground2:"var(--colorPaletteRoyalBlueBackground2)",colorPaletteRoyalBlueBorderActive:"var(--colorPaletteRoyalBlueBorderActive)",colorPaletteRoyalBlueForeground2:"var(--colorPaletteRoyalBlueForeground2)",colorPaletteSeafoamBackground2:"var(--colorPaletteSeafoamBackground2)",colorPaletteSeafoamBorderActive:"var(--colorPaletteSeafoamBorderActive)",colorPaletteSeafoamForeground2:"var(--colorPaletteSeafoamForeground2)",colorPaletteSteelBackground2:"var(--colorPaletteSteelBackground2)",colorPaletteSteelBorderActive:"var(--colorPaletteSteelBorderActive)",colorPaletteSteelForeground2:"var(--colorPaletteSteelForeground2)",colorPaletteTealBackground2:"var(--colorPaletteTealBackground2)",colorPaletteTealBorderActive:"var(--colorPaletteTealBorderActive)",colorPaletteTealForeground2:"var(--colorPaletteTealForeground2)",colorStatusSuccessBackground1:"var(--colorStatusSuccessBackground1)",colorStatusSuccessBackground2:"var(--colorStatusSuccessBackground2)",colorStatusSuccessBackground3:"var(--colorStatusSuccessBackground3)",colorStatusSuccessForeground1:"var(--colorStatusSuccessForeground1)",colorStatusSuccessForeground2:"var(--colorStatusSuccessForeground2)",colorStatusSuccessForeground3:"var(--colorStatusSuccessForeground3)",colorStatusSuccessForegroundInverted:"var(--colorStatusSuccessForegroundInverted)",colorStatusSuccessBorderActive:"var(--colorStatusSuccessBorderActive)",colorStatusSuccessBorder1:"var(--colorStatusSuccessBorder1)",colorStatusSuccessBorder2:"var(--colorStatusSuccessBorder2)",colorStatusWarningBackground1:"var(--colorStatusWarningBackground1)",colorStatusWarningBackground2:"var(--colorStatusWarningBackground2)",colorStatusWarningBackground3:"var(--colorStatusWarningBackground3)",colorStatusWarningForeground1:"var(--colorStatusWarningForeground1)",colorStatusWarningForeground2:"var(--colorStatusWarningForeground2)",colorStatusWarningForeground3:"var(--colorStatusWarningForeground3)",colorStatusWarningForegroundInverted:"var(--colorStatusWarningForegroundInverted)",colorStatusWarningBorderActive:"var(--colorStatusWarningBorderActive)",colorStatusWarningBorder1:"var(--colorStatusWarningBorder1)",colorStatusWarningBorder2:"var(--colorStatusWarningBorder2)",colorStatusDangerBackground1:"var(--colorStatusDangerBackground1)",colorStatusDangerBackground2:"var(--colorStatusDangerBackground2)",colorStatusDangerBackground3:"var(--colorStatusDangerBackground3)",colorStatusDangerBackground3Hover:"var(--colorStatusDangerBackground3Hover)",colorStatusDangerBackground3Pressed:"var(--colorStatusDangerBackground3Pressed)",colorStatusDangerForeground1:"var(--colorStatusDangerForeground1)",colorStatusDangerForeground2:"var(--colorStatusDangerForeground2)",colorStatusDangerForeground3:"var(--colorStatusDangerForeground3)",colorStatusDangerForegroundInverted:"var(--colorStatusDangerForegroundInverted)",colorStatusDangerBorderActive:"var(--colorStatusDangerBorderActive)",colorStatusDangerBorder1:"var(--colorStatusDangerBorder1)",colorStatusDangerBorder2:"var(--colorStatusDangerBorder2)",borderRadiusNone:"var(--borderRadiusNone)",borderRadiusSmall:"var(--borderRadiusSmall)",borderRadiusMedium:"var(--borderRadiusMedium)",borderRadiusLarge:"var(--borderRadiusLarge)",borderRadiusXLarge:"var(--borderRadiusXLarge)",borderRadius2XLarge:"var(--borderRadius2XLarge)",borderRadius3XLarge:"var(--borderRadius3XLarge)",borderRadius4XLarge:"var(--borderRadius4XLarge)",borderRadius5XLarge:"var(--borderRadius5XLarge)",borderRadius6XLarge:"var(--borderRadius6XLarge)",borderRadiusCircular:"var(--borderRadiusCircular)",fontFamilyBase:"var(--fontFamilyBase)",fontFamilyMonospace:"var(--fontFamilyMonospace)",fontFamilyNumeric:"var(--fontFamilyNumeric)",fontSizeBase100:"var(--fontSizeBase100)",fontSizeBase200:"var(--fontSizeBase200)",fontSizeBase300:"var(--fontSizeBase300)",fontSizeBase400:"var(--fontSizeBase400)",fontSizeBase500:"var(--fontSizeBase500)",fontSizeBase600:"var(--fontSizeBase600)",fontSizeHero700:"var(--fontSizeHero700)",fontSizeHero800:"var(--fontSizeHero800)",fontSizeHero900:"var(--fontSizeHero900)",fontSizeHero1000:"var(--fontSizeHero1000)",fontWeightRegular:"var(--fontWeightRegular)",fontWeightMedium:"var(--fontWeightMedium)",fontWeightSemibold:"var(--fontWeightSemibold)",fontWeightBold:"var(--fontWeightBold)",lineHeightBase100:"var(--lineHeightBase100)",lineHeightBase200:"var(--lineHeightBase200)",lineHeightBase300:"var(--lineHeightBase300)",lineHeightBase400:"var(--lineHeightBase400)",lineHeightBase500:"var(--lineHeightBase500)",lineHeightBase600:"var(--lineHeightBase600)",lineHeightHero700:"var(--lineHeightHero700)",lineHeightHero800:"var(--lineHeightHero800)",lineHeightHero900:"var(--lineHeightHero900)",lineHeightHero1000:"var(--lineHeightHero1000)",shadow2:"var(--shadow2)",shadow4:"var(--shadow4)",shadow8:"var(--shadow8)",shadow16:"var(--shadow16)",shadow28:"var(--shadow28)",shadow64:"var(--shadow64)",shadow2Brand:"var(--shadow2Brand)",shadow4Brand:"var(--shadow4Brand)",shadow8Brand:"var(--shadow8Brand)",shadow16Brand:"var(--shadow16Brand)",shadow28Brand:"var(--shadow28Brand)",shadow64Brand:"var(--shadow64Brand)",strokeWidthThin:"var(--strokeWidthThin)",strokeWidthThick:"var(--strokeWidthThick)",strokeWidthThicker:"var(--strokeWidthThicker)",strokeWidthThickest:"var(--strokeWidthThickest)",spacingHorizontalNone:"var(--spacingHorizontalNone)",spacingHorizontalXXS:"var(--spacingHorizontalXXS)",spacingHorizontalXS:"var(--spacingHorizontalXS)",spacingHorizontalSNudge:"var(--spacingHorizontalSNudge)",spacingHorizontalS:"var(--spacingHorizontalS)",spacingHorizontalMNudge:"var(--spacingHorizontalMNudge)",spacingHorizontalM:"var(--spacingHorizontalM)",spacingHorizontalL:"var(--spacingHorizontalL)",spacingHorizontalXL:"var(--spacingHorizontalXL)",spacingHorizontalXXL:"var(--spacingHorizontalXXL)",spacingHorizontalXXXL:"var(--spacingHorizontalXXXL)",spacingVerticalNone:"var(--spacingVerticalNone)",spacingVerticalXXS:"var(--spacingVerticalXXS)",spacingVerticalXS:"var(--spacingVerticalXS)",spacingVerticalSNudge:"var(--spacingVerticalSNudge)",spacingVerticalS:"var(--spacingVerticalS)",spacingVerticalMNudge:"var(--spacingVerticalMNudge)",spacingVerticalM:"var(--spacingVerticalM)",spacingVerticalL:"var(--spacingVerticalL)",spacingVerticalXL:"var(--spacingVerticalXL)",spacingVerticalXXL:"var(--spacingVerticalXXL)",spacingVerticalXXXL:"var(--spacingVerticalXXXL)",durationUltraFast:"var(--durationUltraFast)",durationFaster:"var(--durationFaster)",durationFast:"var(--durationFast)",durationNormal:"var(--durationNormal)",durationGentle:"var(--durationGentle)",durationSlow:"var(--durationSlow)",durationSlower:"var(--durationSlower)",durationUltraSlow:"var(--durationUltraSlow)",curveAccelerateMax:"var(--curveAccelerateMax)",curveAccelerateMid:"var(--curveAccelerateMid)",curveAccelerateMin:"var(--curveAccelerateMin)",curveDecelerateMax:"var(--curveDecelerateMax)",curveDecelerateMid:"var(--curveDecelerateMid)",curveDecelerateMin:"var(--curveDecelerateMin)",curveEasyEaseMax:"var(--curveEasyEaseMax)",curveEasyEase:"var(--curveEasyEase)",curveLinear:"var(--curveLinear)",zIndexBackground:"var(--zIndexBackground, 0)",zIndexContent:"var(--zIndexContent, 1)",zIndexOverlay:"var(--zIndexOverlay, 1000)",zIndexPopup:"var(--zIndexPopup, 2000)",zIndexMessages:"var(--zIndexMessages, 3000)",zIndexFloating:"var(--zIndexFloating, 4000)",zIndexPriority:"var(--zIndexPriority, 5000)",zIndexDebug:"var(--zIndexDebug, 6000)"};function u6(a,l,c=""){return{[`shadow2${c}`]:`0 0 2px ${a}, 0 1px 2px ${l}`,[`shadow4${c}`]:`0 0 2px ${a}, 0 2px 4px ${l}`,[`shadow8${c}`]:`0 0 2px ${a}, 0 4px 8px ${l}`,[`shadow16${c}`]:`0 0 2px ${a}, 0 8px 16px ${l}`,[`shadow28${c}`]:`0 0 8px ${a}, 0 14px 28px ${l}`,[`shadow64${c}`]:`0 0 8px ${a}, 0 32px 64px ${l}`}}var Wo={durationUltraFast:"50ms",durationFaster:"100ms",durationFast:"150ms",durationNormal:"200ms",durationGentle:"250ms",durationSlow:"300ms",durationSlower:"400ms",durationUltraSlow:"500ms"};var bo={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"};var i0={none:"0",xxs:"2px",xs:"4px",sNudge:"6px",s:"8px",mNudge:"10px",m:"12px",l:"16px",xl:"20px",xxl:"24px",xxxl:"32px"},zo={spacingHorizontalNone:i0.none,spacingHorizontalXXS:i0.xxs,spacingHorizontalXS:i0.xs,spacingHorizontalSNudge:i0.sNudge,spacingHorizontalS:i0.s,spacingHorizontalMNudge:i0.mNudge,spacingHorizontalM:i0.m,spacingHorizontalL:i0.l,spacingHorizontalXL:i0.xl,spacingHorizontalXXL:i0.xxl,spacingHorizontalXXXL:i0.xxxl},Qo={spacingVerticalNone:i0.none,spacingVerticalXXS:i0.xxs,spacingVerticalXS:i0.xs,spacingVerticalSNudge:i0.sNudge,spacingVerticalS:i0.s,spacingVerticalMNudge:i0.mNudge,spacingVerticalM:i0.m,spacingVerticalL:i0.l,spacingVerticalXL:i0.xl,spacingVerticalXXL:i0.xxl,spacingVerticalXXXL:i0.xxxl};var h3=(a)=>{let l=mA(a);return{...na,...da,...Ma,..._a,...pa,...Aa,...zo,...Qo,...Wo,...bo,...l,...AA,...Y3,...u6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...u6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};var HA={10:"#061724",20:"#082338",30:"#0a2e4a",40:"#0c3b5e",50:"#0e4775",60:"#0f548c",70:"#115ea3",80:"#0f6cbd",90:"#2886de",100:"#479ef5",110:"#62abf5",120:"#77b7f7",130:"#96c6fa",140:"#b4d6fa",150:"#cfe4fa",160:"#ebf3fc"};var Q2=Eo.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background1`]:y1[l].shade40,[`colorPalette${c}Background2`]:y1[l].shade30,[`colorPalette${c}Background3`]:y1[l].primary,[`colorPalette${c}Foreground1`]:y1[l].tint30,[`colorPalette${c}Foreground2`]:y1[l].tint40,[`colorPalette${c}Foreground3`]:y1[l].tint20,[`colorPalette${c}BorderActive`]:y1[l].tint30,[`colorPalette${c}Border1`]:y1[l].primary,[`colorPalette${c}Border2`]:y1[l].tint20};return Object.assign(a,o)},{});Q2.colorPaletteRedForeground3=y1.red.tint30;Q2.colorPaletteRedBorder2=y1.red.tint30;Q2.colorPaletteGreenForeground3=y1.green.tint40;Q2.colorPaletteGreenBorder2=y1.green.tint40;Q2.colorPaletteDarkOrangeForeground3=y1.darkOrange.tint30;Q2.colorPaletteDarkOrangeBorder2=y1.darkOrange.tint30;Q2.colorPaletteRedForegroundInverted=y1.red.primary;Q2.colorPaletteGreenForegroundInverted=y1.green.primary;Q2.colorPaletteYellowForegroundInverted=y1.yellow.shade30;var dt=qo.reduce((a,l)=>{let c=l.slice(0,1).toUpperCase()+l.slice(1),o={[`colorPalette${c}Background2`]:z2[l].shade30,[`colorPalette${c}Foreground2`]:z2[l].tint40,[`colorPalette${c}BorderActive`]:z2[l].tint30};return Object.assign(a,o)},{});dt.colorPaletteDarkRedBackground2=z2.darkRed.shade20;dt.colorPalettePlumBackground2=z2.plum.shade20;var uA={...Q2,...dt},G7=Object.entries(K0).reduce((a,[l,c])=>{let o=l.slice(0,1).toUpperCase()+l.slice(1),r={[`colorStatus${o}Background1`]:B1[c].shade40,[`colorStatus${o}Background2`]:B1[c].shade30,[`colorStatus${o}Background3`]:B1[c].primary,[`colorStatus${o}Foreground1`]:B1[c].tint30,[`colorStatus${o}Foreground2`]:B1[c].tint40,[`colorStatus${o}Foreground3`]:B1[c].tint20,[`colorStatus${o}BorderActive`]:B1[c].tint30,[`colorStatus${o}ForegroundInverted`]:B1[c].shade10,[`colorStatus${o}Border1`]:B1[c].primary,[`colorStatus${o}Border2`]:B1[c].tint20};return Object.assign(a,r)},{});G7.colorStatusDangerBackground3Hover=B1[K0.danger].shade10;G7.colorStatusDangerBackground3Pressed=B1[K0.danger].shade20;G7.colorStatusDangerForeground3=B1[K0.danger].tint40;G7.colorStatusDangerBorder2=B1[K0.danger].tint30;G7.colorStatusSuccessForeground3=B1[K0.success].tint40;G7.colorStatusSuccessBorder2=B1[K0.success].tint40;G7.colorStatusWarningForegroundInverted=B1[K0.warning].shade20;var r2=h3(HA);var sA=(a)=>({colorNeutralForeground1:V1,colorNeutralForeground1Hover:V1,colorNeutralForeground1Pressed:V1,colorNeutralForeground1Selected:V1,colorNeutralForeground2:G[84],colorNeutralForeground2Hover:V1,colorNeutralForeground2Pressed:V1,colorNeutralForeground2Selected:V1,colorNeutralForeground2BrandHover:a[100],colorNeutralForeground2BrandPressed:a[90],colorNeutralForeground2BrandSelected:a[100],colorNeutralForeground3:G[68],colorNeutralForeground3Hover:G[84],colorNeutralForeground3Pressed:G[84],colorNeutralForeground3Selected:G[84],colorNeutralForeground3BrandHover:a[100],colorNeutralForeground3BrandPressed:a[90],colorNeutralForeground3BrandSelected:a[100],colorNeutralForeground4:G[60],colorNeutralForeground5:G[68],colorNeutralForeground5Hover:V1,colorNeutralForeground5Pressed:V1,colorNeutralForeground5Selected:V1,colorNeutralForegroundDisabled:G[36],colorNeutralForegroundInvertedDisabled:U0[40],colorBrandForegroundLink:a[100],colorBrandForegroundLinkHover:a[110],colorBrandForegroundLinkPressed:a[90],colorBrandForegroundLinkSelected:a[100],colorNeutralForeground2Link:G[84],colorNeutralForeground2LinkHover:V1,colorNeutralForeground2LinkPressed:V1,colorNeutralForeground2LinkSelected:V1,colorCompoundBrandForeground1:a[100],colorCompoundBrandForeground1Hover:a[110],colorCompoundBrandForeground1Pressed:a[90],colorBrandForeground1:a[100],colorBrandForeground2:a[110],colorBrandForeground2Hover:a[130],colorBrandForeground2Pressed:a[160],colorNeutralForeground1Static:G[14],colorNeutralForegroundStaticInverted:V1,colorNeutralForegroundInverted:G[14],colorNeutralForegroundInvertedHover:G[14],colorNeutralForegroundInvertedPressed:G[14],colorNeutralForegroundInvertedSelected:G[14],colorNeutralForegroundInverted2:G[14],colorNeutralForegroundOnBrand:V1,colorNeutralForegroundInvertedLink:V1,colorNeutralForegroundInvertedLinkHover:V1,colorNeutralForegroundInvertedLinkPressed:V1,colorNeutralForegroundInvertedLinkSelected:V1,colorBrandForegroundInverted:a[80],colorBrandForegroundInvertedHover:a[70],colorBrandForegroundInvertedPressed:a[60],colorBrandForegroundOnLight:a[80],colorBrandForegroundOnLightHover:a[70],colorBrandForegroundOnLightPressed:a[50],colorBrandForegroundOnLightSelected:a[60],colorNeutralBackground1:G[16],colorNeutralBackground1Hover:G[24],colorNeutralBackground1Pressed:G[12],colorNeutralBackground1Selected:G[22],colorNeutralBackground2:G[12],colorNeutralBackground2Hover:G[20],colorNeutralBackground2Pressed:G[8],colorNeutralBackground2Selected:G[18],colorNeutralBackground3:G[8],colorNeutralBackground3Hover:G[16],colorNeutralBackground3Pressed:G[4],colorNeutralBackground3Selected:G[14],colorNeutralBackground4:G[4],colorNeutralBackground4Hover:G[12],colorNeutralBackground4Pressed:H6,colorNeutralBackground4Selected:G[10],colorNeutralBackground5:H6,colorNeutralBackground5Hover:G[8],colorNeutralBackground5Pressed:G[2],colorNeutralBackground5Selected:G[6],colorNeutralBackground6:G[20],colorNeutralBackground7:"#00000000",colorNeutralBackground7Hover:G[10],colorNeutralBackground7Pressed:G[4],colorNeutralBackground7Selected:"#00000000",colorNeutralBackground8:G[16],colorNeutralBackgroundInverted:V1,colorNeutralBackgroundInvertedHover:G[96],colorNeutralBackgroundInvertedPressed:G[88],colorNeutralBackgroundInvertedSelected:G[92],colorNeutralBackgroundStatic:G[24],colorNeutralBackgroundAlpha:B_[50],colorNeutralBackgroundAlpha2:k_[70],colorSubtleBackground:"transparent",colorSubtleBackgroundHover:G[22],colorSubtleBackgroundPressed:G[18],colorSubtleBackgroundSelected:G[20],colorSubtleBackgroundLightAlphaHover:it[80],colorSubtleBackgroundLightAlphaPressed:it[50],colorSubtleBackgroundLightAlphaSelected:"transparent",colorSubtleBackgroundInverted:"transparent",colorSubtleBackgroundInvertedHover:A5[10],colorSubtleBackgroundInvertedPressed:A5[30],colorSubtleBackgroundInvertedSelected:A5[20],colorTransparentBackground:"transparent",colorTransparentBackgroundHover:"transparent",colorTransparentBackgroundPressed:"transparent",colorTransparentBackgroundSelected:"transparent",colorNeutralBackgroundDisabled:G[8],colorNeutralBackgroundDisabled2:G[16],colorNeutralBackgroundInvertedDisabled:U0[10],colorNeutralStencil1:G[34],colorNeutralStencil2:G[20],colorNeutralStencil1Alpha:U0[10],colorNeutralStencil2Alpha:U0[5],colorBackgroundOverlay:A5[50],colorScrollbarOverlay:U0[60],colorBrandBackground:a[70],colorBrandBackgroundHover:a[80],colorBrandBackgroundPressed:a[40],colorBrandBackgroundSelected:a[60],colorCompoundBrandBackground:a[100],colorCompoundBrandBackgroundHover:a[110],colorCompoundBrandBackgroundPressed:a[90],colorBrandBackgroundStatic:a[80],colorBrandBackground2:a[20],colorBrandBackground2Hover:a[40],colorBrandBackground2Pressed:a[10],colorBrandBackground3Static:a[60],colorBrandBackground4Static:a[40],colorBrandBackgroundInverted:V1,colorBrandBackgroundInvertedHover:a[160],colorBrandBackgroundInvertedPressed:a[140],colorBrandBackgroundInvertedSelected:a[150],colorNeutralCardBackground:G[20],colorNeutralCardBackgroundHover:G[24],colorNeutralCardBackgroundPressed:G[18],colorNeutralCardBackgroundSelected:G[22],colorNeutralCardBackgroundDisabled:G[8],colorNeutralStrokeAccessible:G[68],colorNeutralStrokeAccessibleHover:G[74],colorNeutralStrokeAccessiblePressed:G[70],colorNeutralStrokeAccessibleSelected:a[100],colorNeutralStroke1:G[40],colorNeutralStroke1Hover:G[46],colorNeutralStroke1Pressed:G[42],colorNeutralStroke1Selected:G[44],colorNeutralStroke2:G[32],colorNeutralStroke3:G[24],colorNeutralStroke4:G[24],colorNeutralStroke4Hover:G[18],colorNeutralStroke4Pressed:G[14],colorNeutralStroke4Selected:G[24],colorNeutralStrokeSubtle:G[4],colorNeutralStrokeOnBrand:G[16],colorNeutralStrokeOnBrand2:V1,colorNeutralStrokeOnBrand2Hover:V1,colorNeutralStrokeOnBrand2Pressed:V1,colorNeutralStrokeOnBrand2Selected:V1,colorBrandStroke1:a[100],colorBrandStroke2:a[50],colorBrandStroke2Hover:a[50],colorBrandStroke2Pressed:a[30],colorBrandStroke2Contrast:a[50],colorCompoundBrandStroke:a[100],colorCompoundBrandStrokeHover:a[110],colorCompoundBrandStrokePressed:a[90],colorNeutralStrokeDisabled:G[26],colorNeutralStrokeDisabled2:G[24],colorNeutralStrokeInvertedDisabled:U0[40],colorTransparentStroke:"transparent",colorTransparentStrokeInteractive:"transparent",colorTransparentStrokeDisabled:"transparent",colorNeutralStrokeAlpha:U0[10],colorNeutralStrokeAlpha2:U0[20],colorStrokeFocus1:H6,colorStrokeFocus2:V1,colorNeutralShadowAmbient:"rgba(0,0,0,0.24)",colorNeutralShadowKey:"rgba(0,0,0,0.28)",colorNeutralShadowAmbientLighter:"rgba(0,0,0,0.12)",colorNeutralShadowKeyLighter:"rgba(0,0,0,0.14)",colorNeutralShadowAmbientDarker:"rgba(0,0,0,0.40)",colorNeutralShadowKeyDarker:"rgba(0,0,0,0.48)",colorBrandShadowAmbient:"rgba(0,0,0,0.30)",colorBrandShadowKey:"rgba(0,0,0,0.25)"});var s6=(a)=>{let l=sA(a);return{...na,...da,...Ma,..._a,...pa,...Aa,...zo,...Qo,...Wo,...bo,...l,...uA,...G7,...u6(l.colorNeutralShadowAmbient,l.colorNeutralShadowKey),...u6(l.colorBrandShadowAmbient,l.colorBrandShadowKey,"Brand")}};var X3={root:"fui-FluentProvider"},vC=/*@__PURE__*/b8({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",fsow6f:["f1o700av","fes3tcz"],Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]}),ma=(a)=>{let l=a2(),c=vC({dir:a.dir,renderer:l});return a.root.className=S(X3.root,a.themeClassName,c.root,a.root.className),a};var nC=f.useInsertionEffect?f.useInsertionEffect:P1,dC=(a,l)=>{if(!(a===null||a===void 0?void 0:a.head))return;let c=a.createElement("style");return Object.keys(l).forEach((o)=>{c.setAttribute(o,l[o])}),a.head.appendChild(c),c},MC=(a,l)=>{let c=a.sheet;if(c){if(c.cssRules.length>0)c.deleteRule(0);c.insertRule(l,0)}else console.error("FluentProvider: No sheet available on styleTag, styles will not be inserted into DOM.")},Ha=(a)=>{let{targetDocument:l,theme:c,rendererAttributes:o}=a,r=y(void 0),e=J1(X3.root),h=o,Z=v1(()=>J8(`.${e}`,c),[c,e]);return v1(()=>{if(l){var t;let n=`.${X3.root}.${e}`,v=l.querySelectorAll(n),d=`style[id="${e}"]`,M=l.querySelectorAll(d);if(M.length>1){console.error(["@fluentui/react-provider: We found multiple <style> elements with same IDs in your DOM.","Please make sure that you configured your application properly.",`
|
|
133
133
|
`,`
|
|
134
134
|
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "));return}let _=M.item(0);var i;let A=((i=_===null||_===void 0?void 0:(t=_.textContent)===null||t===void 0?void 0:t.length)!==null&&i!==void 0?i:0)>0?1:0;if(v.length>A)console.error(["@fluentui/react-provider: There are conflicting ids in your DOM.","Please make sure that you configured your application properly.",`
|
|
135
135
|
`,`
|
|
136
|
-
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "))}},[]),AC(l,e),MC(()=>{let t=l===null||l===void 0?void 0:l.getElementById(e);if(t)r.current=t;else if(r.current=pC(l,{...h,id:e}),r.current)_C(r.current,Z);return()=>{var i;(i=r.current)===null||i===void 0||i.remove()}},[e,l,Z,h]),{styleTagId:e,rule:Z}};function AC(a,l){h1(()=>{if(!a)return;let c=a.getElementById(l);if(c)a.head.append(c)})}var mC={},HC={},ua=(a,l)=>{let c=M1(),o=uC(),r=e6(),e=l1(Q3)||mC,{applyStylesToPortals:h=!0,customStyleHooks_unstable:Z,dir:t=c.dir,targetDocument:i=c.targetDocument,theme:n,overrides_unstable:v={}}=a,d=_t(o,n),M=_t(r,v),_=_t(e,Z),p=l2();var A;let{styleTagId:m,rule:u}=Ha({theme:d,targetDocument:i,rendererAttributes:(A=p.styleElementAttributes)!==null&&A!==void 0?A:HC});return X(()=>{if(d===void 0)console.warn(['@fluentui/react-provider: FluentProvider does not have your "theme" defined.',"Make sure that your top-level FluentProvider has set a `theme` prop or you're setting the theme in your child FluentProvider."].join(" "))},[]),{applyStylesToPortals:h,customStyleHooks_unstable:_,dir:t,targetDocument:i,theme:d,overrides_unstable:M,themeClassName:m,components:{root:"div"},root:U.always(o1("div",{...a,dir:t,ref:g1(l,w7({targetDocument:i}))}),{elementType:"div"}),serverStyleProps:{cssRule:u,attributes:{...p.styleElementAttributes,id:m}}}};function _t(a,l){if(a&&l)return{...a,...l};if(a)return a;return l}function uC(){return l1(r6)}function sa(a){let{applyStylesToPortals:l,customStyleHooks_unstable:c,dir:o,root:r,targetDocument:e,theme:h,themeClassName:Z,overrides_unstable:t}=a,i=v1(()=>({dir:o,targetDocument:e}),[o,e]),[n]=h1(()=>({})),v=v1(()=>({textDirection:o}),[o]);return{customStyleHooks_unstable:c,overrides_unstable:t,provider:i,textDirection:o,iconDirection:v,tooltip:n,theme:h,themeClassName:l?r.className:Z}}var K3=/*@__PURE__*/z((a,l)=>{let c=ua(a,l);ma(c);let o=sa(c);return ea(c,o)});K3.displayName="FluentProvider";var Va=(a,l)=>{let{shape:c="circular",size:o="medium",iconPosition:r="before",appearance:e="filled",color:h="brand"}=a;return{shape:c,size:o,iconPosition:r,appearance:e,color:h,components:{root:"div",icon:"span"},root:U.always(o1("div",{ref:l,...a}),{elementType:"div"}),icon:U.optional(a.icon,{elementType:"span"})}};var fa={root:"fui-Badge",icon:"fui-Badge__icon"},VK=K1.spacingHorizontalXXS,sC=/*@__PURE__*/j("r1iycov","r115jdol",[".r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}',".r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}']),VC=/*@__PURE__*/D({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),fC=/*@__PURE__*/j("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),FC=/*@__PURE__*/D({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),Fa=(a)=>{let l=sC(),c=VC(),o=a.size==="small"||a.size==="extra-small"||a.size==="tiny";a.root.className=S(fa.root,l,o&&c.fontSmallToTiny,c[a.size],c[a.shape],a.shape==="rounded"&&o&&c.roundedSmallToTiny,a.appearance==="ghost"&&c.borderGhost,c[a.appearance],c[`${a.appearance}-${a.color}`],a.root.className);let r=fC(),e=FC();if(a.icon){let h;if(T5.toArray(a.root.children).length>0)if(a.size==="extra-large")h=a.iconPosition==="after"?e.afterTextXL:e.beforeTextXL;else h=a.iconPosition==="after"?e.afterText:e.beforeText;a.icon.className=S(fa.icon,r,h,e[a.size],a.icon.className)}return a};var xa=(a)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[a.iconPosition==="before"&&a.icon&&/*@__PURE__*/g(a.icon,{}),a.root.children,a.iconPosition==="after"&&a.icon&&/*@__PURE__*/g(a.icon,{})]})};var b0=/*@__PURE__*/z((a,l)=>{let c=Va(a,l);return Fa(c),I("useBadgeStyles_unstable")(c),xa(c)});b0.displayName="Badge";var Z3=(a)=>{J(a);let{iconOnly:l,iconPosition:c}=a;return/*@__PURE__*/_1(a.root,{children:[c!=="after"&&a.icon&&/*@__PURE__*/g(a.icon,{}),!l&&a.root.children,c==="after"&&a.icon&&/*@__PURE__*/g(a.icon,{})]})};var GA=e1(void 0),bC={},WK=GA.Provider,UA=()=>{var a;return(a=l1(GA))!==null&&a!==void 0?a:bC};var I2="Enter",w5=" ",ga="Tab",V6="ArrowDown";var j3="ArrowUp",At="End",mt="Home",Ht="PageDown",ut="PageUp";var st="Delete";var U7="Escape";function h2(a,l){let{disabled:c,disabledFocusable:o=!1,["aria-disabled"]:r,onClick:e,onKeyDown:h,onKeyUp:Z,...t}=l!==null&&l!==void 0?l:{},i=typeof r==="string"?r==="true":r,n=c||o||i,v=Y((_)=>{if(n)_.preventDefault(),_.stopPropagation();else e===null||e===void 0||e(_)}),d=Y((_)=>{if(h===null||h===void 0||h(_),_.isDefaultPrevented())return;let p=_.key;if(n&&(p===I2||p===w5)){_.preventDefault(),_.stopPropagation();return}if(p===w5){_.preventDefault();return}else if(p===I2)_.preventDefault(),_.currentTarget.click()}),M=Y((_)=>{if(Z===null||Z===void 0||Z(_),_.isDefaultPrevented())return;let p=_.key;if(n&&(p===I2||p===w5)){_.preventDefault(),_.stopPropagation();return}if(p===w5)_.preventDefault(),_.currentTarget.click()});if(a==="button"||a===void 0)return{...t,disabled:c&&!o,"aria-disabled":o?!0:i,onClick:o?void 0:v,onKeyUp:o?void 0:Z,onKeyDown:o?void 0:h};else{let _=!!t.href,p=_?void 0:"button";if(!p&&n)p="link";let A={role:p,tabIndex:o||!_&&!c?0:void 0,...t,onClick:v,onKeyUp:M,onKeyDown:d,"aria-disabled":n};if(a==="a"&&n)A.href=void 0;return A}}var m5=()=>{return},QC={controller:{active:m5,blur:m5,find:m5,first:m5,focus:m5,focusLastActive:m5,scrollActiveIntoView:m5,last:m5,next:m5,prev:m5,showAttributes:m5,hideAttributes:m5,showFocusVisibleAttributes:m5,hideFocusVisibleAttributes:m5}},Vt=e1(void 0),f6=Vt.Provider,F6=()=>{var a;return(a=l1(Vt))!==null&&a!==void 0?a:QC},Io=()=>!!l1(Vt);function DA(a){let{matchOption:l}=a,{targetDocument:c}=M1(),o=y(null),r=y(null),e=Q((t)=>{if(G1(t)&&l(t))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP},[l]),h=Q((t)=>{if(t&&c)r.current=t,o.current=c.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,e);else r.current=null,o.current=null},[c,e]);return{optionWalker:v1(()=>({first:()=>{if(!o.current||!r.current)return null;return o.current.currentNode=r.current,o.current.firstChild()},last:()=>{if(!o.current||!r.current)return null;return o.current.currentNode=r.current,o.current.lastChild()},next:()=>{if(!o.current)return null;return o.current.nextNode()},prev:()=>{if(!o.current)return null;return o.current.previousNode()},find:(t,i)=>{if(!o.current||!r.current)return null;let n=i?c===null||c===void 0?void 0:c.getElementById(i):null;o.current.currentNode=n!==null&&n!==void 0?n:r.current;let v=o.current.currentNode;while(v&&!t(v.id))v=o.current.nextNode();return v},setCurrent:(t)=>{if(!o.current)return;o.current.currentNode=t}}),[c]),listboxCallbackRef:h}}var ft="data-activedescendant",t3="data-activedescendant-focusvisible";var Ft=(a)=>{if(!a)return;let l=BA(a.parentElement);if(!l)return;let{offsetHeight:c}=a,o=kA(a,l),{scrollMarginTop:r,scrollMarginBottom:e}=JC(a),{offsetHeight:h,scrollTop:Z}=l,t=o-r<Z,i=o+c+e>Z+h,n=2;if(t)l.scrollTo(0,o-r-n);else if(i)l.scrollTo(0,o+c+e-h+n)},BA=(a)=>{if(!a)return null;if(a.scrollHeight>a.offsetHeight)return a;return BA(a.parentElement)},kA=(a,l)=>{if(!a||a===l)return 0;if(a.contains(l))return l.offsetTop*-1;return a.offsetTop+kA(a.offsetParent,l)},JC=(a)=>{var l;let c=(l=a.ownerDocument)===null||l===void 0?void 0:l.defaultView;if(!c)return{scrollMarginTop:0,scrollMarginBottom:0};let o=c.getComputedStyle(a);var r;let e=(r=$o(o.scrollMarginTop))!==null&&r!==void 0?r:$o(o.scrollMarginBlockStart);var h;let Z=(h=$o(o.scrollMarginBottom))!==null&&h!==void 0?h:$o(o.scrollMarginBlockEnd);return{scrollMarginTop:e,scrollMarginBottom:Z}},$o=(a)=>{return a?parseInt(a,10):0};var yA=(a)=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:a});function x6(a){let{imperativeRef:l,matchOption:c}=a,o=y(!1),r=y(!0),e=y(null),h=y(null),Z=y(null),t=y(!0),i=Q(()=>{var s;(s=Z.current)===null||s===void 0||s.removeAttribute("aria-activedescendant")},[]),n=Q((s)=>{if(s)e.current=s;if(t.current&&e.current){var F;(F=Z.current)===null||F===void 0||F.setAttribute("aria-activedescendant",e.current)}},[]);m6((s)=>{o.current=s;let F=p();if(!F)return;if(s&&r.current)F.setAttribute(t3,"");else F.removeAttribute(t3)});let v=Y(c),d=y(null),{optionWalker:M,listboxCallbackRef:_}=DA({matchOption:v}),p=Q(()=>{var s;return(s=d.current)===null||s===void 0?void 0:s.querySelector(`#${e.current}`)},[d]),A=Q((s)=>{r.current=s;let F=p();if(!F)return;if(s&&o.current)F.setAttribute(t3,"");else F.removeAttribute(t3)},[p]),m=Q(()=>{let s=p();if(s)s.removeAttribute(ft),s.removeAttribute(t3);i(),h.current=e.current,e.current=null;var F;return(F=s===null||s===void 0?void 0:s.id)!==null&&F!==void 0?F:null},[p,i]),u=Q((s)=>{if(!s)return;let F=m();if(Ft(s),n(s.id),s.setAttribute(ft,""),o.current&&r.current)s.setAttribute(t3,"");let L=yA({id:s.id,previousId:F});s.dispatchEvent(L)},[m,n]),V=v1(()=>({first:({passive:s}={})=>{let F=M.first();if(!s)u(F);return F===null||F===void 0?void 0:F.id},last:({passive:s}={})=>{let F=M.last();if(!s)u(F);return F===null||F===void 0?void 0:F.id},next:({passive:s}={})=>{let F=p();if(!F)return;M.setCurrent(F);let L=M.next();if(!s)u(L);return L===null||L===void 0?void 0:L.id},prev:({passive:s}={})=>{let F=p();if(!F)return;M.setCurrent(F);let L=M.prev();if(!s)u(L);return L===null||L===void 0?void 0:L.id},blur:()=>{m()},active:()=>{var s;return(s=p())===null||s===void 0?void 0:s.id},focus:(s)=>{if(!d.current)return;let F=d.current.querySelector(`#${s}`);if(F)u(F)},focusLastActive:()=>{if(!d.current||!h.current)return;let s=d.current.querySelector(`#${h.current}`);if(s)return u(s),!0},find(s,{passive:F,startFrom:L}={}){let C=M.find(s,L);if(!F)u(C);return C===null||C===void 0?void 0:C.id},scrollActiveIntoView:()=>{if(!d.current)return;let s=p();if(!s)return;Ft(s)},showAttributes(){t.current=!0,n()},hideAttributes(){t.current=!1,i()},showFocusVisibleAttributes(){A(!0)},hideFocusVisibleAttributes(){A(!1)}}),[M,d,n,i,u,m,p,A]);return Y0(l,()=>V),{listboxRef:g1(d,_),activeParentRef:Z,controller:V}}var i3=(a,l)=>{let{size:c}=UA(),{appearance:o="secondary",shape:r="rounded",size:e=c!==null&&c!==void 0?c:"medium",...h}=a,Z=xt(h,l);return{appearance:o,shape:r,size:e,...Z}},xt=(a,l)=>{let{icon:c,iconPosition:o="before",...r}=a,e=U.optional(c,{elementType:"span"});var h,Z;return{disabled:(h=a.disabled)!==null&&h!==void 0?h:!1,disabledFocusable:(Z=a.disabledFocusable)!==null&&Z!==void 0?Z:!1,iconPosition:o,iconOnly:Boolean((e===null||e===void 0?void 0:e.children)&&!a.children),components:{root:"button",icon:"span"},root:U.always(h2(r.as,r),{elementType:"button",defaultProps:{ref:l,type:a.as!=="a"?"button":void 0}}),icon:e}};var OA=D({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]});var PA=(a,l)=>{let{filled:c,title:o,primaryFill:r="currentColor",...e}=a,h={...e,fill:r},Z=OA(),t=bZ();if(h.className=S(Z.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(t===null||t===void 0?void 0:t.textDirection)==="rtl"&&Z.rtl,h.className),o)h["aria-label"]=o;if(!h["aria-label"]&&!h["aria-labelledby"])h["aria-hidden"]=!0;else h.role="img";return h};var TA=D({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]});var EA="fui-Icon";var A1=(a,l,c,o)=>{let r=l==="1em"?"20":l,e=z((h,Z)=>{let t=TA(),i=PA(h,{flipInRtl:o===null||o===void 0?void 0:o.flipInRtl}),n={...i,className:S(EA,i.className,t.root),ref:Z,width:l,height:l,viewBox:`0 0 ${r} ${r}`,xmlns:"http://www.w3.org/2000/svg"};if(typeof c==="string")return c1("svg",{...n,dangerouslySetInnerHTML:{__html:c}});else return c1("svg",n,...c.map((v)=>c1("path",{d:v,fill:n.fill})))});return e.displayName=a,e};var qA=/*@__PURE__*/A1("TargetRegular","1em",["M10 11.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM5 10a5 5 0 1 1 10 0 5 5 0 0 1-10 0Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm-8 4a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8-7a7 7 0 1 0 0 14 7 7 0 0 0 0-14Z"]);var Yo=/*@__PURE__*/A1("WarningFilled","1em",["M8.68 2.79a1.5 1.5 0 0 1 2.64 0l6.5 12A1.5 1.5 0 0 1 16.5 17h-13a1.5 1.5 0 0 1-1.32-2.21l6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0v-4Zm.25 6.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"]);var Xo=/*@__PURE__*/A1("InfoFilled","1em",["M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM9.5 8.91a.5.5 0 0 1 1 0V13.6a.5.5 0 0 1-1 0V8.9Zm-.25-2.16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Z"]);var Ko=/*@__PURE__*/A1("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]);var WA=/*@__PURE__*/A1("EditRegular","1em",["M17.18 2.93a2.97 2.97 0 0 0-4.26-.06l-9.37 9.38c-.33.33-.56.74-.66 1.2l-.88 3.94a.5.5 0 0 0 .6.6l3.93-.87c.46-.1.9-.34 1.23-.68l9.36-9.36a2.97 2.97 0 0 0 .05-4.15Zm-3.55.65a1.97 1.97 0 1 1 2.8 2.8l-.68.66-2.8-2.79.68-.67Zm-1.38 1.38 2.8 2.8-7.99 7.97c-.2.2-.46.35-.74.41l-3.16.7.7-3.18c.07-.27.2-.51.4-.7l8-8Z"]);var bA=/*@__PURE__*/A1("ArrowDownRegular","1em",["M16.87 10.84a.5.5 0 1 0-.74-.68l-5.63 6.17V2.5a.5.5 0 0 0-1 0v13.83l-5.63-6.17a.5.5 0 0 0-.74.68l6.31 6.91a.75.75 0 0 0 1.11 0l6.32-6.91Z"]);var jo=/*@__PURE__*/A1("ArrowRightRegular","1em",["M10.84 3.13a.5.5 0 0 0-.68.74l6.17 5.63H2.5a.5.5 0 0 0 0 1h13.83l-6.17 5.63a.5.5 0 0 0 .68.74l6.91-6.32a.75.75 0 0 0 0-1.1l-6.91-6.32Z"]);var g6=/*@__PURE__*/A1("ArrowTurnDownRightRegular","1em",["M11.15 16.85c.2.2.5.2.7 0l4-4a.5.5 0 0 0 0-.7l-4-4a.5.5 0 0 0-.7.7L14.29 12H8a2 2 0 0 1-2-2V3.5a.5.5 0 0 0-1 0V10a3 3 0 0 0 3 3h6.3l-3.15 3.15a.5.5 0 0 0 0 .7Z"]);var zA=/*@__PURE__*/A1("ArrowUpRegular","1em",["M3.13 9.16a.5.5 0 1 0 .74.68L9.5 3.67V17.5a.5.5 0 1 0 1 0V3.67l5.63 6.17a.5.5 0 0 0 .74-.68l-6.32-6.92a.75.75 0 0 0-1.1 0L3.13 9.16Z"],{flipInRtl:!0});var QA=/*@__PURE__*/A1("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]);var No=/*@__PURE__*/A1("CheckmarkCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]);var JA=/*@__PURE__*/A1("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]);var ar=/*@__PURE__*/A1("DiamondDismissFilled","1em",["M7.88 2.88a3 3 0 0 1 4.24 0l5 5a3 3 0 0 1 0 4.24l-5 5a3 3 0 0 1-4.24 0l-5-5a3 3 0 0 1 0-4.24l5-5Zm-.03 4.27a.5.5 0 1 0-.7.7L9.29 10l-2.14 2.15a.5.5 0 0 0 .7.7L10 10.71l2.15 2.14a.5.5 0 0 0 .7-.7L10.71 10l2.14-2.15a.5.5 0 0 0-.7-.7L10 9.29 7.85 7.15Z"]);var IA=/*@__PURE__*/A1("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]);var $A=/*@__PURE__*/A1("FolderRegular","1em",["M4.5 3A2.5 2.5 0 0 0 2 5.5v9A2.5 2.5 0 0 0 4.5 17h11a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 15.5 5H9.7L8.23 3.51A1.75 1.75 0 0 0 6.98 3H4.5ZM3 5.5C3 4.67 3.67 4 4.5 4h2.48c.2 0 .4.08.53.22L8.8 5.5 7.44 6.85a.5.5 0 0 1-.35.15H3V5.5ZM3 8h4.09c.4 0 .78-.16 1.06-.44L9.7 6h5.79c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-11A1.5 1.5 0 0 1 3 14.5V8Z"]);var YA=/*@__PURE__*/A1("WebAsset16Regular","16",["M4.5 2A2.5 2.5 0 0 0 2 4.5v7A2.5 2.5 0 0 0 4.5 14h7a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 11.5 2h-7ZM3 4.5C3 3.67 3.67 3 4.5 3h7c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-7A1.5 1.5 0 0 1 3 11.5v-7ZM5 5a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H5Z"]);var XA=/*@__PURE__*/A1("Copy16Regular","16",["M4 4.09v6.41A2.5 2.5 0 0 0 6.34 13h4.57c-.2.58-.76 1-1.41 1H6a3 3 0 0 1-3-3V5.5c0-.65.42-1.2 1-1.41ZM11.5 2c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-5A1.5 1.5 0 0 1 5 10.5v-7C5 2.67 5.67 2 6.5 2h5Zm0 1h-5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5Z"]);var KA=/*@__PURE__*/A1("Warning12Filled","12",["M5.21 1.46a.9.9 0 0 1 1.58 0l4.09 7.17a.92.92 0 0 1-.79 1.37H1.91a.92.92 0 0 1-.79-1.37l4.1-7.17ZM5.5 4.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0ZM6 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"]);var jA=/*@__PURE__*/A1("Warning20Regular","20",["M9.56 3.26a.5.5 0 0 1 .88 0l6.5 12a.5.5 0 0 1-.44.74h-13a.5.5 0 0 1-.44-.74l6.5-12Zm1.76-.47a1.5 1.5 0 0 0-2.64 0l-6.5 12A1.5 1.5 0 0 0 3.5 17h13a1.5 1.5 0 0 0 1.32-2.21l-6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 1 0 1 0v-4Zm.25 6.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"]);var NA=/*@__PURE__*/A1("AppFolder20Regular","20",["M5 6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6Zm3 0H6v2h2V6Zm-3 6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-2Zm3 0H6v2h2v-2Zm4-7a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2Zm0 1h2v2h-2V6Zm-1 6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-2Zm3 0h-2v2h2v-2ZM5 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3H5ZM3 5c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Z"]);var lr=/*@__PURE__*/A1("Info16Regular","16",["M8.5 7.5a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3Zm.25-2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]);var L6=/*@__PURE__*/A1("Add16Regular","16",["M8 2c.28 0 .5.22.5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5c0-.28.22-.5.5-.5Z"]);var am=/*@__PURE__*/A1("ArrowLeft16Regular","16",["M13.5 8.5a.5.5 0 0 0 0-1H3.8l4.03-3.63a.5.5 0 1 0-.66-.74l-5 4.5a.5.5 0 0 0 0 .74l5 4.5a.5.5 0 1 0 .66-.74L3.8 8.5h9.7Z"]);var cr=/*@__PURE__*/A1("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]);var lm=/*@__PURE__*/A1("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]);var cm=/*@__PURE__*/A1("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]);var om=/*@__PURE__*/A1("CheckmarkCircle24Regular","24",["M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm-1.25 9.94 4.47-4.47a.75.75 0 0 1 1.13.98l-.07.08-5 5a.75.75 0 0 1-.98.07l-.08-.07-2.5-2.5a.75.75 0 0 1 .98-1.13l.08.07 1.97 1.97 4.47-4.47-4.47 4.47Z"]);var rm=/*@__PURE__*/A1("Javascript24Regular","24",["M14 11.25c0-.97.78-1.75 1.75-1.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v1.5c0 .14.11.25.25.25h.5c.97 0 1.75.78 1.75 1.75v1.5c0 .97-.78 1.75-1.75 1.75h-1.5a.75.75 0 0 1 0-1.5h1.5c.14 0 .25-.11.25-.25v-1.5a.25.25 0 0 0-.25-.25h-.5c-.97 0-1.75-.78-1.75-1.75v-1.5Zm-1.25-1a.75.75 0 0 0-1.5 0v6c0 .14-.11.25-.25.25H9.75a.75.75 0 0 0 0 1.5H11c.97 0 1.75-.78 1.75-1.75v-6ZM3 6.25v11.5C3 19.55 4.46 21 6.25 21h11.5c1.8 0 3.25-1.46 3.25-3.25V6.25C21 4.45 19.54 3 17.75 3H6.25A3.25 3.25 0 0 0 3 6.25ZM6.25 4.5h11.5c.97 0 1.75.78 1.75 1.75v11.5c0 .97-.78 1.75-1.75 1.75H6.25c-.97 0-1.75-.78-1.75-1.75V6.25c0-.97.78-1.75 1.75-1.75Z"]);var em=/*@__PURE__*/A1("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]);var hm=/*@__PURE__*/A1("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]);var v3=/*@__PURE__*/A1("Delete16Regular","16",["M7 3h2a1 1 0 0 0-2 0ZM6 3a2 2 0 1 1 4 0h4a.5.5 0 0 1 0 1h-.56l-1.2 8.84A2.5 2.5 0 0 1 9.74 15h-3.5a2.5 2.5 0 0 1-2.48-2.16L2.57 4H2a.5.5 0 0 1 0-1h4Zm1 3.5a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0v-5ZM9.5 6c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0v-5c0-.28.22-.5.5-.5Zm-4.74 6.7c.1.75.74 1.3 1.49 1.3h3.5a1.5 1.5 0 0 0 1.5-1.3L12.42 4H3.57l1.19 8.7Z"]);var Zm=/*@__PURE__*/A1("Delete20Regular","20",["M8.5 4h3a1.5 1.5 0 0 0-3 0Zm-1 0a2.5 2.5 0 0 1 5 0h5a.5.5 0 0 1 0 1h-1.05l-1.2 10.34A3 3 0 0 1 12.27 18H7.73a3 3 0 0 1-2.98-2.66L3.55 5H2.5a.5.5 0 0 1 0-1h5ZM5.74 15.23A2 2 0 0 0 7.73 17h4.54a2 2 0 0 0 1.99-1.77L15.44 5H4.56l1.18 10.23ZM8.5 7.5c.28 0 .5.22.5.5v6a.5.5 0 0 1-1 0V8c0-.28.22-.5.5-.5ZM12 8a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V8Z"]);var tm=/*@__PURE__*/A1("DiamondDismiss12Filled","12",["M4.58 1.58a2 2 0 0 1 2.83 0l3 3a2 2 0 0 1 0 2.83l-3 3a2 2 0 0 1-2.83 0l-3-3a2 2 0 0 1-.14-2.68l.14-.15 3-3Zm3.27 2.57a.5.5 0 0 0-.7 0L6 5.29 4.85 4.15l-.07-.07a.5.5 0 0 0-.7.7l.07.07L5.29 6 4.15 7.15a.5.5 0 0 0 .7.7L6 6.71l1.15 1.14.07.07a.5.5 0 0 0 .7-.7l-.07-.07L6.71 6l1.14-1.15a.5.5 0 0 0 0-.7Z"]);var im=/*@__PURE__*/A1("Dismiss20Regular","20",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]);var $2=/*@__PURE__*/A1("Dismiss24Regular","24",["m4.4 4.55.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l6.47-6.47a.75.75 0 1 1 1.06 1.06L13.06 12l6.47 6.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-6.47 6.47a.75.75 0 0 1-1.06-1.06L10.94 12 4.47 5.53a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]);var vm=/*@__PURE__*/A1("DismissCircle24Regular","24",["M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm3.45 4.9.08.07c.27.27.3.68.07.98l-.07.08L13.06 12l2.47 2.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-2.47 2.47a.75.75 0 0 1-.98.07l-.08-.07a.75.75 0 0 1-.07-.98l.07-.08L10.94 12 8.47 9.53a.75.75 0 0 1-.07-.98l.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l2.47-2.47a.75.75 0 0 1 .98-.07Z"]);var C6={root:"fui-Button",icon:"fui-Button__icon"};var G71=`calc(${K1.strokeWidthThin} + 0.25px)`,IC=/*@__PURE__*/j("r1f29ykk",null,{r:[".r1f29ykk{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1f29ykk:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1f29ykk[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1f29ykk{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1f29ykk:focus{border-color:ButtonText;}.r1f29ykk:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1f29ykk[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),$C=/*@__PURE__*/j("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),YC=/*@__PURE__*/D({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),XC=/*@__PURE__*/D({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),KC=/*@__PURE__*/D({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f18mfu3r[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fixhny3[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),jC=/*@__PURE__*/D({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),NC=/*@__PURE__*/D({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),n3=(a)=>{let l=IC(),c=$C(),o=YC(),r=XC(),e=KC(),h=jC(),Z=NC(),{appearance:t,disabled:i,disabledFocusable:n,icon:v,iconOnly:d,iconPosition:M,shape:_,size:p}=a;if(a.root.className=S(C6.root,l,t&&o[t],o[p],v&&p==="small"&&o.smallWithIcon,v&&p==="large"&&o.largeWithIcon,o[_],(i||n)&&r.base,(i||n)&&r.highContrast,t&&(i||n)&&r[t],t==="primary"&&e.primary,e[p],e[_],d&&h[p],a.root.className),a.icon)a.icon.className=S(C6.icon,c,!!a.root.children&&Z[M],Z[p],a.icon.className);return a};var f1=/*@__PURE__*/z((a,l)=>{let c=i3(a,l);return n3(c),I("useButtonStyles_unstable")(c),Z3(c)});f1.displayName="Button";var nm=e1(void 0),La=nm.Provider,N3=()=>l1(nm);var Ca=(a)=>{var l,c,o,r;let{generatedControlId:e,orientation:h,required:Z,size:t,validationState:i}=a,n=(l=a.label)===null||l===void 0?void 0:l.htmlFor,v=(c=a.label)===null||c===void 0?void 0:c.id,d=(o=a.validationMessage)===null||o===void 0?void 0:o.id,M=(r=a.hint)===null||r===void 0?void 0:r.id;return{field:v1(()=>({generatedControlId:e,hintId:M,labelFor:n,labelId:v,orientation:h,required:Z,size:t,validationMessageId:d,validationState:i}),[e,M,n,v,h,Z,t,d,i])}};function S5(a,l){return or(N3(),a,l)}function or(a,l,c){if(!a)return l;l={...l};let{generatedControlId:o,hintId:r,labelFor:e,labelId:h,required:Z,validationMessageId:t,validationState:i}=a;if(o){var n,v;(v=(n=l).id)!==null&&v!==void 0||(n.id=o)}if(h&&(!(c===null||c===void 0?void 0:c.supportsLabelFor)||e!==l.id)){var d,M,_;(_=(d=l)[M="aria-labelledby"])!==null&&_!==void 0||(d[M]=h)}if(t||r)l["aria-describedby"]=[t,r,l===null||l===void 0?void 0:l["aria-describedby"]].filter(Boolean).join(" ");if(i==="error"){var p,A,m;(m=(p=l)[A="aria-invalid"])!==null&&m!==void 0||(p[A]=!0)}if(Z)if(c===null||c===void 0?void 0:c.supportsRequired){var u,V;(V=(u=l).required)!==null&&V!==void 0||(u.required=!0)}else{var s,F,L;(L=(s=l)[F="aria-required"])!==null&&L!==void 0||(s[F]=!0)}if(c===null||c===void 0?void 0:c.supportsSize){var C,P;(P=(C=l).size)!==null&&P!==void 0||(C.size=a.size)}return l}var Ra=(a,l)=>{J(a);let{children:c}=a;if(typeof c==="function")c=c(or(l.field)||{});return/*@__PURE__*/g(La,{value:l===null||l===void 0?void 0:l.field,children:/*@__PURE__*/_1(a.root,{children:[a.label&&/*@__PURE__*/g(a.label,{}),c,a.validationMessage&&/*@__PURE__*/_1(a.validationMessage,{children:[a.validationMessageIcon&&/*@__PURE__*/g(a.validationMessageIcon,{}),a.validationMessage.children]}),a.hint&&/*@__PURE__*/g(a.hint,{})]})})};var wa=(a,l)=>{let{disabled:c=!1,required:o=!1,weight:r="regular",size:e="medium"}=a;return{disabled:c,required:U.optional(o===!0?"*":o||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:r,size:e,components:{root:"label",required:"span"},root:U.always(o1("label",{ref:l,...a}),{elementType:"label"})}};var Sa=(a)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[a.root.children,a.required&&/*@__PURE__*/g(a.required,{})]})};var Ga={root:"fui-Label",required:"fui-Label__required"},VR=/*@__PURE__*/D({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Ua=(a)=>{let l=VR();if(a.root.className=S(Ga.root,l.root,a.disabled&&l.disabled,l[a.size],a.weight==="semibold"&&l.semibold,a.root.className),a.required)a.required.className=S(Ga.required,l.required,a.disabled&&l.disabled,a.required.className);return a};var s0=/*@__PURE__*/z((a,l)=>{let c=wa(a,l);return Ua(c),I("useLabelStyles_unstable")(c),Sa(c)});s0.displayName="Label";var fR={error:/*@__PURE__*/c1(tm,null),warning:/*@__PURE__*/c1(KA,null),success:/*@__PURE__*/c1(cm,null),none:void 0},Da=(a,l)=>{let{children:c,orientation:o="vertical",required:r=!1,validationState:e=a.validationMessage?"error":"none",size:h="medium"}=a,Z=J1("field-"),t=Z+"__control",i=U.always(o1("div",{...a,ref:l},["children"]),{elementType:"div"}),n=U.optional(a.label,{defaultProps:{htmlFor:t,id:Z+"__label",required:r,size:h},elementType:s0}),v=U.optional(a.validationMessage,{defaultProps:{id:Z+"__validationMessage",role:e==="error"||e==="warning"?"alert":void 0},elementType:"div"}),d=U.optional(a.hint,{defaultProps:{id:Z+"__hint"},elementType:"div"}),M=fR[e],_=U.optional(a.validationMessageIcon,{renderByDefault:!!M,defaultProps:{children:M},elementType:"span"});return{children:c,generatedControlId:t,orientation:o,required:r,size:h,validationState:e,components:{root:"div",label:s0,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:i,label:n,validationMessageIcon:_,validationMessage:v,hint:d}};var d3={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"};var FR=/*@__PURE__*/D({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),xR=/*@__PURE__*/D({base:{B2u0y6b:"f6nezus",Bxyxcbc:"f1iqmcbn"},vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".f6nezus{max-width:max-content;}",".f1iqmcbn{max-height:max-content;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),gR=/*@__PURE__*/j("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),LR=/*@__PURE__*/D({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),CR=/*@__PURE__*/j("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),RR=/*@__PURE__*/D({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),Ba=(a)=>{let{validationState:l,size:c}=a,o=a.orientation==="horizontal",r=FR();a.root.className=S(d3.root,r.base,o&&r.horizontal,o&&!a.label&&r.horizontalNoLabel,a.root.className);let e=xR();if(a.label)a.label.className=S(d3.label,e.base,o&&e.horizontal,o&&c==="small"&&e.horizontalSmall,o&&c==="large"&&e.horizontalLarge,!o&&e.vertical,!o&&c==="large"&&e.verticalLarge,a.label.className);let h=CR(),Z=RR();if(a.validationMessageIcon)a.validationMessageIcon.className=S(d3.validationMessageIcon,h,l!=="none"&&Z[l],a.validationMessageIcon.className);let t=gR(),i=LR();if(a.validationMessage)a.validationMessage.className=S(d3.validationMessage,t,l==="error"&&i.error,!!a.validationMessageIcon&&i.withIcon,a.validationMessage.className);if(a.hint)a.hint.className=S(d3.hint,t,a.hint.className);return a};var a4=/*@__PURE__*/z((a,l)=>{let c=Da(a,l);Ba(c),I("useFieldStyles_unstable")(c);let o=Ca(c);return Ra(c,o)});a4.displayName="Field";var ka=(a,l)=>{a=S5(a,{supportsLabelFor:!0,supportsRequired:!0});let{disabled:c=!1,required:o,shape:r="square",size:e="medium",labelPosition:h="after",onChange:Z}=a,[t,i]=q0({defaultState:a.defaultChecked,state:a.checked,initialState:!1}),n=q2({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),v=t==="mixed",d=J1("checkbox-",n.primary.id),M;if(v)if(r==="circular")M=/*@__PURE__*/c1(Ko,null);else M=e==="large"?/*@__PURE__*/c1(hm,null):/*@__PURE__*/c1(em,null);else if(t)M=e==="large"?/*@__PURE__*/c1(lm,null):/*@__PURE__*/c1(cr,null);let _={shape:r,checked:t,disabled:c,size:e,labelPosition:h,components:{root:"span",input:"input",indicator:"div",label:s0},root:U.always(a.root,{defaultProps:{ref:o2(),...n.root},elementType:"span"}),input:U.always(a.input,{defaultProps:{type:"checkbox",id:d,ref:l,checked:t===!0,...n.primary},elementType:"input"}),label:U.optional(a.label,{defaultProps:{htmlFor:d,disabled:c,required:o,size:"medium"},elementType:s0}),indicator:U.optional(a.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:M},elementType:"div"})};_.input.onChange=Y((A)=>{let m=A.currentTarget.indeterminate?"mixed":A.currentTarget.checked;Z===null||Z===void 0||Z(A,{checked:m}),i(m)});let p=g1(_.input.ref);return _.input.ref=p,P1(()=>{if(p.current)p.current.indeterminate=v},[p,v]),_};var ya=(a)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[/*@__PURE__*/g(a.input,{}),a.labelPosition==="before"&&a.label&&/*@__PURE__*/g(a.label,{}),a.indicator&&/*@__PURE__*/g(a.indicator,{}),a.labelPosition==="after"&&a.label&&/*@__PURE__*/g(a.label,{})]})};var l4={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"};var wR=/*@__PURE__*/j("r1nzur1d","r128arqq",{r:[".r1nzur1d{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1nzur1d:focus{outline-style:none;}",".r1nzur1d:focus-visible{outline-style:none;}",".r1nzur1d[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1nzur1d[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r128arqq{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r128arqq:focus{outline-style:none;}",".r128arqq:focus-visible{outline-style:none;}",".r128arqq[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r128arqq[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1nzur1d[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r128arqq[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),SR=/*@__PURE__*/D({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),GR=/*@__PURE__*/j("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),UR=/*@__PURE__*/D({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),DR=/*@__PURE__*/j("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),BR=/*@__PURE__*/D({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),kR=/*@__PURE__*/D({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),Oa=(a)=>{let{checked:l,disabled:c,labelPosition:o,shape:r,size:e}=a,h=wR(),Z=SR();a.root.className=S(l4.root,h,c?Z.disabled:l==="mixed"?Z.mixed:l?Z.checked:Z.unchecked,a.root.className);let t=GR(),i=UR();a.input.className=S(l4.input,t,e==="large"&&i.large,i[o],a.input.className);let n=DR(),v=BR();if(a.indicator)a.indicator.className=S(l4.indicator,n,e==="large"&&v.large,r==="circular"&&v.circular,a.indicator.className);let d=kR();if(a.label)a.label.className=S(l4.label,d.base,d[e],d[o],a.label.className);return a};var c4=/*@__PURE__*/z((a,l)=>{let c=ka(a,l);return Oa(c),I("useCheckboxStyles_unstable")(c),ya(c)});c4.displayName="Checkbox";var rr=w8(dm(),1),OR=(a)=>{let l=(c)=>{let o=y(c.value),r=y(0),e=y(null);if(!e.current)e.current={value:o,version:r,listeners:[]};return P1(()=>{o.current=c.value,r.current+=1,rr.unstable_runWithPriority(rr.unstable_NormalPriority,()=>{e.current.listeners.forEach((h)=>{h([r.current,c.value])})})},[c.value]),c1(a,{value:e.current},c.children)};return l.displayName="ContextSelector.Provider",l},Z2=(a)=>{let l=e1({value:{current:a},version:{current:-1},listeners:[]});return l.Provider=OR(l.Provider),delete l.Consumer,l};var M3=(a,l)=>{let c=l1(a),{value:{current:o},version:{current:r},listeners:e}=c,h=l(o),[Z,t]=h1([o,h]),i=(v)=>{t((d)=>{if(!v)return[o,h];if(v[0]<=r){if(Object.is(d[1],h))return d;return[o,h]}try{if(Object.is(d[0],v[1]))return d;let M=l(v[1]);if(Object.is(d[1],M))return d;return[v[1],M]}catch(M){}return[d[0],d[1]]})};if(!Object.is(Z[1],h))i(void 0);let n=Y(i);return P1(()=>{return e.push(n),()=>{let v=e.indexOf(n);e.splice(v,1)}},[n,e]),Z[1]};function r4(a){let l=l1(a);if(l.version)return l.version.current!==-1;return!1}var PR={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){return},getOptionsMatchingValue(){return[]},registerOption(){return()=>{return}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},Y2=Z2(void 0),j0=(a)=>M3(Y2,(l=PR)=>a(l)),z41=Y2.Provider;function TR(a,l){if(a!==void 0)return a;let c="",o=!1;if(T5.forEach(l,(r)=>{if(typeof r==="string")c+=r;else o=!0}),o)console.warn("Provide a `text` prop to Option components when they contain non-string children.");return c}var Pa=(a,l)=>{let{children:c,disabled:o,text:r,value:e}=a,h=y(null),Z=TR(r,c),t=e!==null&&e!==void 0?e:Z,i=J1("fluent-option",a.id),n=v1(()=>({id:i,disabled:o,text:Z,value:t}),[i,o,Z,t]),{controller:v}=F6(),d=j0((s)=>s.multiselect),M=j0((s)=>s.registerOption),_=j0((s)=>{let F=s.selectedOptions;return t!==void 0&&F.find((L)=>L===t)!==void 0}),p=j0((s)=>s.selectOption),A=j0((s)=>s.onOptionClick),m=/*@__PURE__*/c1(QA,null);if(d)m=_?/*@__PURE__*/c1(cr,null):"";let u=(s)=>{var F;if(o){s.preventDefault();return}v.focus(i),p(s,n),A(s),(F=a.onClick)===null||F===void 0||F.call(a,s)};X(()=>{if(i&&h.current)return M(n,h.current)},[i,n,M]);let V=d?{role:"menuitemcheckbox","aria-checked":_}:{role:"option","aria-selected":_};return{components:{root:"div",checkIcon:"span"},root:U.always(o1("div",{ref:g1(l,h),"aria-disabled":o?"true":void 0,id:i,...V,...a,onClick:u}),{elementType:"div"}),checkIcon:U.optional(a.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:m},elementType:"span"}),disabled:o,multiselect:d,selected:_,focusVisible:!1,active:!1}};var Ta=(a)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[a.checkIcon&&/*@__PURE__*/g(a.checkIcon,{}),a.root.children]})};var D7={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},ER=/*@__PURE__*/D({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],B7iucu3:"f1cyfu5x"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Ea=(a)=>{let{disabled:l,multiselect:c,selected:o}=a,r=ER();if(a.root.className=S(D7.root,r.root,r.active,l&&r.disabled,o&&r.selected,a.root.className),a.checkIcon)a.checkIcon.className=S(D7.checkIcon,r.checkIcon,c&&r.multiselectCheck,o&&r.selectedCheck,o&&c&&r.selectedMultiselectCheck,l&&r.checkDisabled,l&&c&&r.multiselectCheckDisabled,a.checkIcon.className);return a};var e4=/*@__PURE__*/z((a,l)=>{let c=Pa(a,l);return Ea(c),I("useOptionStyles_unstable")(c),Ta(c)});e4.displayName="Option";var er=()=>{let a=y(/*@__PURE__*/new Map),l=v1(()=>{return{getCount:()=>a.current.size,getOptionAtIndex:()=>{return},getIndexOfId:()=>-1,getOptionById:(i)=>{return a.current.get(i)},getOptionsMatchingText:(i)=>{return Array.from(a.current.values()).filter(({text:n})=>i(n))},getOptionsMatchingValue:(i)=>{let n=[];for(let v of a.current.values())if(i(v.value))n.push(v);return n}}},[]),c=Q((o)=>{return a.current.set(o.id,o),()=>a.current.delete(o.id)},[]);return{...l,options:Array.from(a.current.values()),registerOption:c}};var hr=(a)=>{let{defaultSelectedOptions:l,multiselect:c,onOptionSelect:o}=a,[r,e]=q0({state:a.selectedOptions,defaultState:l,initialState:[]}),h=Q((t,i)=>{if(i.disabled)return;let n=[i.value];if(c){let v=r.findIndex((d)=>d===i.value);if(v>-1)n=[...r.slice(0,v),...r.slice(v+1)];else n=[...r,i.value]}e(n),o===null||o===void 0||o(t,{optionValue:i.value,optionText:i.text,selectedOptions:n})},[o,c,r,e]);return{clearSelection:(t)=>{e([]),o===null||o===void 0||o(t,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:h,selectedOptions:r}};var Mm=(a)=>{let{appearance:l="outline",disableAutoFocus:c,children:o,clearable:r=!1,editable:e=!1,inlinePopup:h=!1,mountNode:Z=void 0,multiselect:t,onOpenChange:i,size:n="medium",activeDescendantController:v,freeform:d=!1,disabled:M=!1,onActiveOptionChange:_=null}=a,p=er(),{getOptionsMatchingValue:A}=p,{getOptionById:m}=p,u=Q(()=>{let T=v.active();return T?m(T):void 0},[v,m]),V=u(),s=Q((T)=>{let O=void 0;if(typeof T==="function"){let F1=u();O=T(F1)}if(O)v.focus(O.id);else v.blur()},[v,u]),[F,L]=h1(!1),[C,P]=h1(!1),W=y(!1),r1=Z6(),[t1,N]=q0({state:a.value,initialState:void 0}),{selectedOptions:R,selectOption:w,clearSelection:x}=hr(a),B=Q((T,O)=>{Q8(()=>{N(void 0),w(T,O)})},[N,w]),k=v1(()=>{if(t1!==void 0)return t1;if(r1&&a.defaultValue!==void 0)return a.defaultValue;let T=A((O)=>{return R.includes(O)}).map((O)=>O.text);if(t)return e?"":T.join(", ");return T[0]},[t1,e,A,t,R]),[$,E]=q0({state:a.open,defaultState:a.defaultOpen,initialState:!1}),d1=Q((T,O)=>{if(M)return;i===null||i===void 0||i(T,{open:O}),Q8(()=>{if(!O&&!d)N(void 0);E(O)})},[i,E,N,d,M]);X(()=>{if($){if(!t&&R.length>0){let T=A((O)=>O===R[0]).pop();if(T===null||T===void 0?void 0:T.id)v.focus(T.id)}}else v.blur()},[$,v]),X(()=>{if($&&!c&&!v.active())v.first()},[$,o,c,v,m]);let s1=Y((T)=>{let O=T.detail.previousId?p.getOptionById(T.detail.previousId):null,F1=p.getOptionById(T.detail.id);_===null||_===void 0||_(T,{event:T,type:"change",previousOption:O,nextOption:F1})});return{...p,freeform:d,disabled:M,selectOption:B,clearSelection:x,selectedOptions:R,activeOption:V,appearance:l,clearable:r,focusVisible:F,ignoreNextBlur:W,inlinePopup:h,mountNode:Z,open:$,hasFocus:C,setActiveOption:s,setFocusVisible:L,setHasFocus:P,setOpen:d1,setValue:N,size:n,value:k,multiselect:t,onOptionClick:Y((T)=>{if(!t)d1(T,!1)}),onActiveDescendantChange:s1}};var gt="data-popper-is-intersecting",Lt="data-popper-escaped",Ct="data-popper-reference-hidden",pm="data-popper-placement",qa="fui-positioningend",R6="--fui-positioning-slide-direction-x",w6="--fui-positioning-slide-direction-y";function qR(a){let l=a.split("-")[0],c=0,o=1;if(l==="right")c=-1,o=0;else if(l==="bottom")c=0,o=-1;else if(l==="left")c=1,o=0;return{x:c,y:o}}function Rt(a){let{targetDocument:l,onPositioningEnd:c}=a,o=Y((r)=>{c===null||c===void 0||c(r);let e=r.target,h=r.detail.placement;if(!G1(e))return;let{x:Z,y:t}=qR(h);e.style.setProperty(R6,`${Z}px`),e.style.setProperty(w6,`${t}px`)});return X(()=>{var r,e,h;let Z=(h=l===null||l===void 0?void 0:(e=l.defaultView)===null||e===void 0?void 0:(r=e.CSS)===null||r===void 0?void 0:r.registerProperty)!==null&&h!==void 0?h:()=>{};try{Z({name:R6,syntax:"<length>",inherits:!1,initialValue:"0px"}),Z({name:w6,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch(t){}},[l]),o}var mm=["top","right","bottom","left"];var{min:B7,max:H5,round:ba}=Math;var t2=(a)=>({x:a,y:a}),WR={left:"right",right:"left",bottom:"top",top:"bottom"};function tr(a,l,c){return H5(a,B7(l,c))}function X2(a,l){return typeof a==="function"?a(l):a}function K2(a){return a.split("-")[0]}function h4(a){return a.split("-")[1]}function ir(a){return a==="x"?"y":"x"}function vr(a){return a==="y"?"height":"width"}function i2(a){let l=a[0];return l==="t"||l==="b"?"y":"x"}function nr(a){return ir(i2(a))}function Hm(a,l,c){if(c===void 0)c=!1;let o=h4(a),r=nr(a),e=vr(r),h=r==="x"?o===(c?"end":"start")?"right":"left":o==="start"?"bottom":"top";if(l.reference[e]>l.floating[e])h=Wa(h);return[h,Wa(h)]}function um(a){let l=Wa(a);return[Zr(a),l,Zr(l)]}function Zr(a){return a.includes("start")?a.replace("start","end"):a.replace("end","start")}var _m=["left","right"],Am=["right","left"],bR=["top","bottom"],zR=["bottom","top"];function QR(a,l,c){switch(a){case"top":case"bottom":if(c)return l?Am:_m;return l?_m:Am;case"left":case"right":return l?bR:zR;default:return[]}}function sm(a,l,c,o){let r=h4(a),e=QR(K2(a),c==="start",o);if(r){if(e=e.map((h)=>h+"-"+r),l)e=e.concat(e.map(Zr))}return e}function Wa(a){let l=K2(a);return WR[l]+a.slice(l.length)}function JR(a){return{top:0,right:0,bottom:0,left:0,...a}}function wt(a){return typeof a!=="number"?JR(a):{top:a,right:a,bottom:a,left:a}}function Z4(a){let{x:l,y:c,width:o,height:r}=a;return{width:o,height:r,top:c,left:l,right:l+o,bottom:c+r,x:l,y:c}}function Vm(a,l,c){let{reference:o,floating:r}=a,e=i2(l),h=nr(l),Z=vr(h),t=K2(l),i=e==="y",n=o.x+o.width/2-r.width/2,v=o.y+o.height/2-r.height/2,d=o[Z]/2-r[Z]/2,M;switch(t){case"top":M={x:n,y:o.y-r.height};break;case"bottom":M={x:n,y:o.y+o.height};break;case"right":M={x:o.x+o.width,y:v};break;case"left":M={x:o.x-r.width,y:v};break;default:M={x:o.x,y:o.y}}switch(h4(l)){case"start":M[h]-=d*(c&&i?-1:1);break;case"end":M[h]+=d*(c&&i?-1:1);break}return M}async function St(a,l){var c;if(l===void 0)l={};let{x:o,y:r,platform:e,rects:h,elements:Z,strategy:t}=a,{boundary:i="clippingAncestors",rootBoundary:n="viewport",elementContext:v="floating",altBoundary:d=!1,padding:M=0}=X2(l,a),_=wt(M),A=Z[d?v==="floating"?"reference":"floating":v],m=Z4(await e.getClippingRect({element:((c=await(e.isElement==null?void 0:e.isElement(A)))!=null?c:!0)?A:A.contextElement||await(e.getDocumentElement==null?void 0:e.getDocumentElement(Z.floating)),boundary:i,rootBoundary:n,strategy:t})),u=v==="floating"?{x:o,y:r,width:h.floating.width,height:h.floating.height}:h.reference,V=await(e.getOffsetParent==null?void 0:e.getOffsetParent(Z.floating)),s=await(e.isElement==null?void 0:e.isElement(V))?await(e.getScale==null?void 0:e.getScale(V))||{x:1,y:1}:{x:1,y:1},F=Z4(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({elements:Z,rect:u,offsetParent:V,strategy:t}):u);return{top:(m.top-F.top+_.top)/s.y,bottom:(F.bottom-m.bottom+_.bottom)/s.y,left:(m.left-F.left+_.left)/s.x,right:(F.right-m.right+_.right)/s.x}}var IR=50,xm=async(a,l,c)=>{let{placement:o="bottom",strategy:r="absolute",middleware:e=[],platform:h}=c,Z=h.detectOverflow?h:{...h,detectOverflow:St},t=await(h.isRTL==null?void 0:h.isRTL(l)),i=await h.getElementRects({reference:a,floating:l,strategy:r}),{x:n,y:v}=Vm(i,o,t),d=o,M=0,_={};for(let p=0;p<e.length;p++){let A=e[p];if(!A)continue;let{name:m,fn:u}=A,{x:V,y:s,data:F,reset:L}=await u({x:n,y:v,initialPlacement:o,placement:d,strategy:r,middlewareData:_,rects:i,platform:Z,elements:{reference:a,floating:l}});if(n=V!=null?V:n,v=s!=null?s:v,_[m]={..._[m],...F},L&&M<IR){if(M++,typeof L==="object"){if(L.placement)d=L.placement;if(L.rects)i=L.rects===!0?await h.getElementRects({reference:a,floating:l,strategy:r}):L.rects;({x:n,y:v}=Vm(i,d,t))}p=-1}}return{x:n,y:v,placement:d,strategy:r,middlewareData:_}},gm=(a)=>({name:"arrow",options:a,async fn(l){let{x:c,y:o,placement:r,rects:e,platform:h,elements:Z,middlewareData:t}=l,{element:i,padding:n=0}=X2(a,l)||{};if(i==null)return{};let v=wt(n),d={x:c,y:o},M=nr(r),_=vr(M),p=await h.getDimensions(i),A=M==="y",m=A?"top":"left",u=A?"bottom":"right",V=A?"clientHeight":"clientWidth",s=e.reference[_]+e.reference[M]-d[M]-e.floating[_],F=d[M]-e.reference[M],L=await(h.getOffsetParent==null?void 0:h.getOffsetParent(i)),C=L?L[V]:0;if(!C||!await(h.isElement==null?void 0:h.isElement(L)))C=Z.floating[V]||e.floating[_];let P=s/2-F/2,W=C/2-p[_]/2-1,r1=B7(v[m],W),t1=B7(v[u],W),N=r1,R=C-p[_]-t1,w=C/2-p[_]/2+P,x=tr(N,w,R),B=!t.arrow&&h4(r)!=null&&w!==x&&e.reference[_]/2-(w<N?r1:t1)-p[_]/2<0,k=B?w<N?w-N:w-R:0;return{[M]:d[M]+k,data:{[M]:x,centerOffset:w-x-k,...B&&{alignmentOffset:k}},reset:B}}});var Lm=function(a){if(a===void 0)a={};return{name:"flip",options:a,async fn(l){var c,o;let{placement:r,middlewareData:e,rects:h,initialPlacement:Z,platform:t,elements:i}=l,{mainAxis:n=!0,crossAxis:v=!0,fallbackPlacements:d,fallbackStrategy:M="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:p=!0,...A}=X2(a,l);if((c=e.arrow)!=null&&c.alignmentOffset)return{};let m=K2(r),u=i2(Z),V=K2(Z)===Z,s=await(t.isRTL==null?void 0:t.isRTL(i.floating)),F=d||(V||!p?[Wa(Z)]:um(Z)),L=_!=="none";if(!d&&L)F.push(...sm(Z,p,_,s));let C=[Z,...F],P=await t.detectOverflow(l,A),W=[],r1=((o=e.flip)==null?void 0:o.overflows)||[];if(n)W.push(P[m]);if(v){let w=Hm(r,h,s);W.push(P[w[0]],P[w[1]])}if(r1=[...r1,{placement:r,overflows:W}],!W.every((w)=>w<=0)){var t1,N;let w=(((t1=e.flip)==null?void 0:t1.index)||0)+1,x=C[w];if(x){if(!(v==="alignment"?u!==i2(x):!1)||r1.every(($)=>i2($.placement)===u?$.overflows[0]>0:!0))return{data:{index:w,overflows:r1},reset:{placement:x}}}let B=(N=r1.filter((k)=>k.overflows[0]<=0).sort((k,$)=>k.overflows[1]-$.overflows[1])[0])==null?void 0:N.placement;if(!B)switch(M){case"bestFit":{var R;let k=(R=r1.filter(($)=>{if(L){let E=i2($.placement);return E===u||E==="y"}return!0}).map(($)=>[$.placement,$.overflows.filter((E)=>E>0).reduce((E,d1)=>E+d1,0)]).sort(($,E)=>$[1]-E[1])[0])==null?void 0:R[0];if(k)B=k;break}case"initialPlacement":B=Z;break}if(r!==B)return{reset:{placement:B}}}return{}}}};function fm(a,l){return{top:a.top-l.height,right:a.right-l.width,bottom:a.bottom-l.height,left:a.left-l.width}}function Fm(a){return mm.some((l)=>a[l]>=0)}var Cm=function(a){if(a===void 0)a={};return{name:"hide",options:a,async fn(l){let{rects:c,platform:o}=l,{strategy:r="referenceHidden",...e}=X2(a,l);switch(r){case"referenceHidden":{let h=await o.detectOverflow(l,{...e,elementContext:"reference"}),Z=fm(h,c.reference);return{data:{referenceHiddenOffsets:Z,referenceHidden:Fm(Z)}}}case"escaped":{let h=await o.detectOverflow(l,{...e,altBoundary:!0}),Z=fm(h,c.floating);return{data:{escapedOffsets:Z,escaped:Fm(Z)}}}default:return{}}}}};var Rm=/*@__PURE__*/new Set(["left","top"]);async function $R(a,l){let{placement:c,platform:o,elements:r}=a,e=await(o.isRTL==null?void 0:o.isRTL(r.floating)),h=K2(c),Z=h4(c),t=i2(c)==="y",i=Rm.has(h)?-1:1,n=e&&t?-1:1,v=X2(l,a),{mainAxis:d,crossAxis:M,alignmentAxis:_}=typeof v==="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};if(Z&&typeof _==="number")M=Z==="end"?_*-1:_;return t?{x:M*n,y:d*i}:{x:d*i,y:M*n}}var wm=function(a){if(a===void 0)a=0;return{name:"offset",options:a,async fn(l){var c,o;let{x:r,y:e,placement:h,middlewareData:Z}=l,t=await $R(l,a);if(h===((c=Z.offset)==null?void 0:c.placement)&&(o=Z.arrow)!=null&&o.alignmentOffset)return{};return{x:r+t.x,y:e+t.y,data:{...t,placement:h}}}}},Sm=function(a){if(a===void 0)a={};return{name:"shift",options:a,async fn(l){let{x:c,y:o,placement:r,platform:e}=l,{mainAxis:h=!0,crossAxis:Z=!1,limiter:t={fn:(m)=>{let{x:u,y:V}=m;return{x:u,y:V}}},...i}=X2(a,l),n={x:c,y:o},v=await e.detectOverflow(l,i),d=i2(K2(r)),M=ir(d),_=n[M],p=n[d];if(h){let m=M==="y"?"top":"left",u=M==="y"?"bottom":"right",V=_+v[m],s=_-v[u];_=tr(V,_,s)}if(Z){let m=d==="y"?"top":"left",u=d==="y"?"bottom":"right",V=p+v[m],s=p-v[u];p=tr(V,p,s)}let A=t.fn({...l,[M]:_,[d]:p});return{...A,data:{x:A.x-c,y:A.y-o,enabled:{[M]:h,[d]:Z}}}}}},Gm=function(a){if(a===void 0)a={};return{options:a,fn(l){let{x:c,y:o,placement:r,rects:e,middlewareData:h}=l,{offset:Z=0,mainAxis:t=!0,crossAxis:i=!0}=X2(a,l),n={x:c,y:o},v=i2(r),d=ir(v),M=n[d],_=n[v],p=X2(Z,l),A=typeof p==="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(t){let V=d==="y"?"height":"width",s=e.reference[d]-e.floating[V]+A.mainAxis,F=e.reference[d]+e.reference[V]-A.mainAxis;if(M<s)M=s;else if(M>F)M=F}if(i){var m,u;let V=d==="y"?"width":"height",s=Rm.has(K2(r)),F=e.reference[v]-e.floating[V]+(s?((m=h.offset)==null?void 0:m[v])||0:0)+(s?0:A.crossAxis),L=e.reference[v]+e.reference[V]+(s?0:((u=h.offset)==null?void 0:u[v])||0)-(s?A.crossAxis:0);if(_<F)_=F;else if(_>L)_=L}return{[d]:M,[v]:_}}}},Um=function(a){if(a===void 0)a={};return{name:"size",options:a,async fn(l){var c,o;let{placement:r,rects:e,platform:h,elements:Z}=l,{apply:t=()=>{},...i}=X2(a,l),n=await h.detectOverflow(l,i),v=K2(r),d=h4(r),M=i2(r)==="y",{width:_,height:p}=e.floating,A,m;if(v==="top"||v==="bottom")A=v,m=d===(await(h.isRTL==null?void 0:h.isRTL(Z.floating))?"start":"end")?"left":"right";else m=v,A=d==="end"?"top":"bottom";let u=p-n.top-n.bottom,V=_-n.left-n.right,s=B7(p-n[A],u),F=B7(_-n[m],V),L=!l.middlewareData.shift,C=s,P=F;if((c=l.middlewareData.shift)!=null&&c.enabled.x)P=V;if((o=l.middlewareData.shift)!=null&&o.enabled.y)C=u;if(L&&!d){let r1=H5(n.left,0),t1=H5(n.right,0),N=H5(n.top,0),R=H5(n.bottom,0);if(M)P=_-2*(r1!==0||t1!==0?r1+t1:H5(n.left,n.right));else C=p-2*(N!==0||R!==0?N+R:H5(n.top,n.bottom))}await t({...l,availableWidth:P,availableHeight:C});let W=await h.getDimensions(Z.floating);if(_!==W.width||p!==W.height)return{reset:{rects:!0}};return{}}}};function Mr(){return typeof window<"u"}function i4(a){if(Bm(a))return(a.nodeName||"").toLowerCase();return"#document"}function u5(a){var l;return(a==null||(l=a.ownerDocument)==null?void 0:l.defaultView)||window}function j2(a){var l;return(l=(Bm(a)?a.ownerDocument:a.document)||window.document)==null?void 0:l.documentElement}function Bm(a){if(!Mr())return!1;return a instanceof Node||a instanceof u5(a).Node}function W5(a){if(!Mr())return!1;return a instanceof Element||a instanceof u5(a).Element}function N2(a){if(!Mr())return!1;return a instanceof HTMLElement||a instanceof u5(a).HTMLElement}function Dm(a){if(!Mr()||typeof ShadowRoot>"u")return!1;return a instanceof ShadowRoot||a instanceof u5(a).ShadowRoot}function S6(a){let{overflow:l,overflowX:c,overflowY:o,display:r}=b5(a);return/auto|scroll|overlay|hidden|clip/.test(l+o+c)&&r!=="inline"&&r!=="contents"}function km(a){return/^(table|td|th)$/.test(i4(a))}function za(a){try{if(a.matches(":popover-open"))return!0}catch(l){}try{return a.matches(":modal")}catch(l){return!1}}var YR=/transform|translate|scale|rotate|perspective|filter/,XR=/paint|layout|strict|content/,t4=(a)=>!!a&&a!=="none",Gt;function pr(a){let l=W5(a)?b5(a):a;return t4(l.transform)||t4(l.translate)||t4(l.scale)||t4(l.rotate)||t4(l.perspective)||!_r()&&(t4(l.backdropFilter)||t4(l.filter))||YR.test(l.willChange||"")||XR.test(l.contain||"")}function ym(a){let l=k7(a);while(N2(l)&&!v4(l)){if(pr(l))return l;else if(za(l))return null;l=k7(l)}return null}function _r(){if(Gt==null)Gt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none");return Gt}function v4(a){return/^(html|body|#document)$/.test(i4(a))}function b5(a){return u5(a).getComputedStyle(a)}function Qa(a){if(W5(a))return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop};return{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function k7(a){if(i4(a)==="html")return a;let l=a.assignedSlot||a.parentNode||Dm(a)&&a.host||j2(a);return Dm(l)?l.host:l}function Om(a){let l=k7(a);if(v4(l))return a.ownerDocument?a.ownerDocument.body:a.body;if(N2(l)&&S6(l))return l;return Om(l)}function dr(a,l,c){var o;if(l===void 0)l=[];if(c===void 0)c=!0;let r=Om(a),e=r===((o=a.ownerDocument)==null?void 0:o.body),h=u5(r);if(e){let Z=Ar(h);return l.concat(h,h.visualViewport||[],S6(r)?r:[],Z&&c?dr(Z):[])}else return l.concat(r,dr(r,[],c))}function Ar(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function qm(a){let l=b5(a),c=parseFloat(l.width)||0,o=parseFloat(l.height)||0,r=N2(a),e=r?a.offsetWidth:c,h=r?a.offsetHeight:o,Z=ba(c)!==e||ba(o)!==h;if(Z)c=e,o=h;return{width:c,height:o,$:Z}}function Wm(a){return!W5(a)?a.contextElement:a}function G6(a){let l=Wm(a);if(!N2(l))return t2(1);let c=l.getBoundingClientRect(),{width:o,height:r,$:e}=qm(l),h=(e?ba(c.width):c.width)/o,Z=(e?ba(c.height):c.height)/r;if(!h||!Number.isFinite(h))h=1;if(!Z||!Number.isFinite(Z))Z=1;return{x:h,y:Z}}var KR=/*@__PURE__*/t2(0);function bm(a){let l=u5(a);if(!_r()||!l.visualViewport)return KR;return{x:l.visualViewport.offsetLeft,y:l.visualViewport.offsetTop}}function jR(a,l,c){if(l===void 0)l=!1;if(!c||l&&c!==u5(a))return!1;return l}function Ja(a,l,c,o){if(l===void 0)l=!1;if(c===void 0)c=!1;let r=a.getBoundingClientRect(),e=Wm(a),h=t2(1);if(l)if(o){if(W5(o))h=G6(o)}else h=G6(a);let Z=jR(e,c,o)?bm(e):t2(0),t=(r.left+Z.x)/h.x,i=(r.top+Z.y)/h.y,n=r.width/h.x,v=r.height/h.y;if(e){let d=u5(e),M=o&&W5(o)?u5(o):o,_=d,p=Ar(_);while(p&&o&&M!==_){let A=G6(p),m=p.getBoundingClientRect(),u=b5(p),V=m.left+(p.clientLeft+parseFloat(u.paddingLeft))*A.x,s=m.top+(p.clientTop+parseFloat(u.paddingTop))*A.y;t*=A.x,i*=A.y,n*=A.x,v*=A.y,t+=V,i+=s,_=u5(p),p=Ar(_)}}return Z4({width:n,height:v,x:t,y:i})}function mr(a,l){let c=Qa(a).scrollLeft;if(!l)return Ja(j2(a)).left+c;return l.left+c}function zm(a,l){let c=a.getBoundingClientRect(),o=c.left+l.scrollLeft-mr(a,c),r=c.top+l.scrollTop;return{x:o,y:r}}function NR(a){let{elements:l,rect:c,offsetParent:o,strategy:r}=a,e=r==="fixed",h=j2(o),Z=l?za(l.floating):!1;if(o===h||Z&&e)return c;let t={scrollLeft:0,scrollTop:0},i=t2(1),n=t2(0),v=N2(o);if(v||!v&&!e){if(i4(o)!=="body"||S6(h))t=Qa(o);if(v){let M=Ja(o);i=G6(o),n.x=M.x+o.clientLeft,n.y=M.y+o.clientTop}}let d=h&&!v&&!e?zm(h,t):t2(0);return{width:c.width*i.x,height:c.height*i.y,x:c.x*i.x-t.scrollLeft*i.x+n.x+d.x,y:c.y*i.y-t.scrollTop*i.y+n.y+d.y}}function aw(a){return Array.from(a.getClientRects())}function lw(a){let l=j2(a),c=Qa(a),o=a.ownerDocument.body,r=H5(l.scrollWidth,l.clientWidth,o.scrollWidth,o.clientWidth),e=H5(l.scrollHeight,l.clientHeight,o.scrollHeight,o.clientHeight),h=-c.scrollLeft+mr(a),Z=-c.scrollTop;if(b5(o).direction==="rtl")h+=H5(l.clientWidth,o.clientWidth)-r;return{width:r,height:e,x:h,y:Z}}var Pm=25;function cw(a,l){let c=u5(a),o=j2(a),r=c.visualViewport,e=o.clientWidth,h=o.clientHeight,Z=0,t=0;if(r){e=r.width,h=r.height;let n=_r();if(!n||n&&l==="fixed")Z=r.offsetLeft,t=r.offsetTop}let i=mr(o);if(i<=0){let n=o.ownerDocument,v=n.body,d=getComputedStyle(v),M=n.compatMode==="CSS1Compat"?parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0:0,_=Math.abs(o.clientWidth-v.clientWidth-M);if(_<=Pm)e-=_}else if(i<=Pm)e+=i;return{width:e,height:h,x:Z,y:t}}function ow(a,l){let c=Ja(a,!0,l==="fixed"),o=c.top+a.clientTop,r=c.left+a.clientLeft,e=N2(a)?G6(a):t2(1),h=a.clientWidth*e.x,Z=a.clientHeight*e.y,t=r*e.x,i=o*e.y;return{width:h,height:Z,x:t,y:i}}function Tm(a,l,c){let o;if(l==="viewport")o=cw(a,c);else if(l==="document")o=lw(j2(a));else if(W5(l))o=ow(l,c);else{let r=bm(a);o={x:l.x-r.x,y:l.y-r.y,width:l.width,height:l.height}}return Z4(o)}function Qm(a,l){let c=k7(a);if(c===l||!W5(c)||v4(c))return!1;return b5(c).position==="fixed"||Qm(c,l)}function rw(a,l){let c=l.get(a);if(c)return c;let o=dr(a,[],!1).filter((Z)=>W5(Z)&&i4(Z)!=="body"),r=null,e=b5(a).position==="fixed",h=e?k7(a):a;while(W5(h)&&!v4(h)){let Z=b5(h),t=pr(h);if(!t&&Z.position==="fixed")r=null;if(e?!t&&!r:!t&&Z.position==="static"&&!!r&&(r.position==="absolute"||r.position==="fixed")||S6(h)&&!t&&Qm(a,h))o=o.filter((n)=>n!==h);else r=Z;h=k7(h)}return l.set(a,o),o}function ew(a){let{element:l,boundary:c,rootBoundary:o,strategy:r}=a,h=[...c==="clippingAncestors"?za(l)?[]:rw(l,this._c):[].concat(c),o],Z=Tm(l,h[0],r),t=Z.top,i=Z.right,n=Z.bottom,v=Z.left;for(let d=1;d<h.length;d++){let M=Tm(l,h[d],r);t=H5(M.top,t),i=B7(M.right,i),n=B7(M.bottom,n),v=H5(M.left,v)}return{width:i-v,height:n-t,x:v,y:t}}function hw(a){let{width:l,height:c}=qm(a);return{width:l,height:c}}function Zw(a,l,c){let o=N2(l),r=j2(l),e=c==="fixed",h=Ja(a,!0,e,l),Z={scrollLeft:0,scrollTop:0},t=t2(0);function i(){t.x=mr(r)}if(o||!o&&!e){if(i4(l)!=="body"||S6(r))Z=Qa(l);if(o){let M=Ja(l,!0,e,l);t.x=M.x+l.clientLeft,t.y=M.y+l.clientTop}else if(r)i()}if(e&&!o&&r)i();let n=r&&!o&&!e?zm(r,Z):t2(0),v=h.left+Z.scrollLeft-t.x-n.x,d=h.top+Z.scrollTop-t.y-n.y;return{x:v,y:d,width:h.width,height:h.height}}function Ut(a){return b5(a).position==="static"}function Em(a,l){if(!N2(a)||b5(a).position==="fixed")return null;if(l)return l(a);let c=a.offsetParent;if(j2(a)===c)c=c.ownerDocument.body;return c}function Jm(a,l){let c=u5(a);if(za(a))return c;if(!N2(a)){let r=k7(a);while(r&&!v4(r)){if(W5(r)&&!Ut(r))return r;r=k7(r)}return c}let o=Em(a,l);while(o&&km(o)&&Ut(o))o=Em(o,l);if(o&&v4(o)&&Ut(o)&&!pr(o))return c;return o||ym(a)||c}var tw=async function(a){let l=this.getOffsetParent||Jm,c=this.getDimensions,o=await c(a.floating);return{reference:Zw(a.reference,await l(a.floating),a.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function iw(a){return b5(a).direction==="rtl"}var vw={convertOffsetParentRelativeRectToViewportRelativeRect:NR,getDocumentElement:j2,getClippingRect:ew,getOffsetParent:Jm,getElementRects:tw,getClientRects:aw,getDimensions:hw,getScale:G6,isElement:W5,isRTL:iw};var Im=St,$m=wm;var Ym=Sm,Xm=Lm,Km=Um,Dt=Cm,jm=gm;var Bt=Gm,Nm=(a,l,c)=>{let o=/*@__PURE__*/new Map,r={platform:vw,...c},e={...r.platform,_c:o};return xm(a,l,{...r,platform:e})};function Ia(a){let l=a.split("-");return{side:l[0],alignment:l[1]}}var aH=(a)=>{if(a.nodeName==="HTML")return a;return a.parentNode||a.host},nw=(a)=>{var l;if(a.nodeType!==1)return{};let c=(l=a.ownerDocument)===null||l===void 0?void 0:l.defaultView;if(c)return c.getComputedStyle(a,null);return{}},n4=(a)=>{let l=a&&aH(a);if(!l)return document.body;switch(l.nodeName){case"HTML":case"BODY":return l.ownerDocument.body;case"#document":return l.body}let{overflow:c,overflowX:o,overflowY:r}=nw(l);if(/(auto|scroll|overlay)/.test(c+r+o))return l;return n4(l)},kt=(a)=>{var l;let c=n4(a);return c?c!==((l=c.ownerDocument)===null||l===void 0?void 0:l.body):!1};function d4(a,l){if(l==="window")return a===null||a===void 0?void 0:a.ownerDocument.documentElement;if(l==="clippingParents")return"clippingAncestors";if(l==="scrollParent"){let c=n4(a);if(c.nodeName==="BODY")c=a===null||a===void 0?void 0:a.ownerDocument.documentElement;return c}return l}function Hr(a,l){if(typeof a==="number")return yt(a,l);if(typeof a==="object"&&a!==null)return yt(a,l);if(typeof a==="function")return(c)=>{let o=a(c);return yt(o,l)};return{mainAxis:l}}var yt=(a,l)=>{if(typeof a==="number")return{mainAxis:a+l};var c;return{...a,mainAxis:((c=a.mainAxis)!==null&&c!==void 0?c:0)+l}};function $a(a,l){if(typeof a==="number")return a;let{start:c,end:o,...r}=a,e=r,h=l?"end":"start",Z=l?"start":"end";if(a[h])e.left=a[h];if(a[Z])e.right=a[Z];return e}var dw=(a)=>({above:"top",below:"bottom",before:a?"right":"left",after:a?"left":"right"}),Mw=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),pw=(a,l)=>{let c=a==="above"||a==="below",o=l==="top"||l==="bottom";return c&&o||!c&&!o},Ya=(a,l,c)=>{let o=pw(l,a)?"center":a,r=l&&dw(c)[l],e=o&&Mw()[o];if(r&&e)return`${r}-${e}`;return r};var _w={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function y7(a){if(a===void 0||a===null)return{};if(typeof a==="string")return _w[a];return a}function Xa(a,l,c){let o=y(!0),[r]=h1(()=>({value:a,callback:l,facade:{get current(){return r.value},set current(e){let h=r.value;if(h!==e){if(r.value=e,c&&o.current)return;r.callback(e,h)}}}}));return P1(()=>{o.current=!1},[]),r.callback=l,r.facade}function Ot(a){let l;return()=>{if(!l)l=new Promise((c)=>{Promise.resolve().then(()=>{l=void 0,c(a())})});return l}}function lH(a){if(!a)return null;for(let l in a)if(l.indexOf("__reactInternalInstance$")===0||l.indexOf("__reactFiber$")===0)return a[l];throw Error("getReactFiber(): Failed to find a React Fiber on a node")}function Aw(a){if(a.nodeName==="BUTTON"||a.nodeName==="INPUT"||a.nodeName==="SELECT"||a.nodeName==="TEXTAREA"){var c;return!!((c=lH(a))===null||c===void 0?void 0:c.pendingProps.autoFocus)}return!1}function Pt(a){return Aw(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function Tt(a){let{arrow:l,middlewareData:c}=a;if(!c.arrow||!l)return;let{x:o,y:r}=c.arrow;Object.assign(l.style,{left:o!==null&&o!==void 0?`${o}px`:"",top:r!==null&&r!==void 0?`${r}px`:""})}function Et(a){var l,c,o;let{container:r,placement:e,middlewareData:h,strategy:Z,lowPPI:t,coordinates:i,useTransform:n=!0}=a;if(!r)return;if(r.setAttribute(pm,e),r.removeAttribute(gt),h.intersectionObserver.intersecting)r.setAttribute(gt,"");if(r.removeAttribute(Lt),(l=h.hide)===null||l===void 0?void 0:l.escaped)r.setAttribute(Lt,"");if(r.removeAttribute(Ct),(c=h.hide)===null||c===void 0?void 0:c.referenceHidden)r.setAttribute(Ct,"");let v=((o=r.ownerDocument.defaultView)===null||o===void 0?void 0:o.devicePixelRatio)||1,d=Math.round(i.x*v)/v,M=Math.round(i.y*v)/v;if(Object.assign(r.style,{position:Z}),n){Object.assign(r.style,{transform:t?`translate(${d}px, ${M}px)`:`translate3d(${d}px, ${M}px, 0)`});return}Object.assign(r.style,{left:`${d}px`,top:`${M}px`})}var qt=(a)=>{switch(a){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function U6(a){let l=[],c=a;while(c){let o=n4(c);if(a.ownerDocument.body===o){l.push(o);break}if(o.nodeName==="BODY"&&o!==a.ownerDocument.body){console.error("@fluentui/react-positioning: You are comparing two different documents! This is an unexpected error, please report this as a bug to the Fluent UI team ");break}l.push(o),c=o}return l}function cH(a,l){return new a.ResizeObserver(l)}function oH(a){let l=!1,{container:c,target:o,arrow:r,strategy:e,middleware:h,placement:Z,useTransform:t=!0,disableUpdateOnResize:i=!1}=a,n=c.ownerDocument.defaultView;if(!o||!c||!n)return{updatePosition:()=>{return},dispose:()=>{return}};let v=i?null:cH(n,(m)=>{if(m.every((V)=>{return V.contentRect.width>0&&V.contentRect.height>0}))p()}),d=!0,M=/*@__PURE__*/new Set;Object.assign(c.style,{position:"fixed",left:0,top:0,margin:0});let _=()=>{if(l)return;if(d){if(U6(c).forEach((m)=>M.add(m)),G1(o))U6(o).forEach((m)=>M.add(m));if(M.forEach((m)=>{m.addEventListener("scroll",p,{passive:!0})}),v===null||v===void 0||v.observe(c),G1(o))v===null||v===void 0||v.observe(o);d=!1}Object.assign(c.style,{position:e}),Nm(o,c,{placement:Z,middleware:h,strategy:e}).then(({x:m,y:u,middlewareData:V,placement:s})=>{if(l)return;Tt({arrow:r,middlewareData:V}),Et({container:c,middlewareData:V,placement:s,coordinates:{x:m,y:u},lowPPI:((n===null||n===void 0?void 0:n.devicePixelRatio)||1)<=1,strategy:e,useTransform:t}),c.dispatchEvent(new CustomEvent(qa,{detail:{placement:s}}))}).catch((m)=>{console.error("[usePositioning]: Failed to calculate position",m)})},p=Ot(()=>_()),A=()=>{if(l=!0,n)n.removeEventListener("scroll",p),n.removeEventListener("resize",p);M.forEach((m)=>{m.removeEventListener("scroll",p)}),M.clear(),v===null||v===void 0||v.disconnect()};if(n)n.addEventListener("scroll",p,{passive:!0}),n.addEventListener("resize",p);return p(),{updatePosition:p,dispose:A}}function rH(a,l){var c,o;let r=a;return Boolean((r==null||(c=r.ownerDocument)==null?void 0:c.defaultView)&&r instanceof r.ownerDocument.defaultView[(o=void 0)!=null?o:"HTMLElement"])}var eH=(a)=>Boolean(rH(a)&&"__FUIDT_ELEMENT_METADATA__"in a&&a.parentElement!==null),mw=(a)=>{let l=null,c=new MutationObserver((r)=>{if(!l)return;for(let e of r)if(e.type==="childList"&&Array.from(e.removedNodes).includes(l))o.withdraw()}),o={get selectedElement(){return l},select:(r)=>{if(eH(r))l=r,c.observe(r.parentElement,{childList:!0,subtree:!1});if(l&&r){if(l.__FUIDT_ELEMENT_METADATA__.references.has(r))return l}return o.withdraw(),l},withdraw:()=>{l=null,c.disconnect(),a.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}};return o},Hw=(a)=>{let{defaultView:l}=a;if(!l)return;if(!l.__FUIDT_CONTROLLER__)l.__FUIDT_CONTROLLER__=mw(l)},uw=(a)=>{var l,c;return Hw(a),(l=(c=a.defaultView)==null?void 0:c.__FUIDT_CONTROLLER__)!=null?l:null},sw=(a,l)=>{return JSON.parse(JSON.stringify(a,(o,r)=>{if(rH(r))return l.add(r);if(typeof r==="object"&&r&&Object.getPrototypeOf(r)!==Object.prototype&&Object.getPrototypeOf(r)!==Array.prototype){if("toString"in r)return r.toString();return}return r}))},Vw=0,fw=()=>"__FUIDT_HTML_ELEMENT_REFERENCE__:"+Vw++,Fw=()=>{let a=/*@__PURE__*/new Map,l=/*@__PURE__*/new WeakMap;return{add:(o)=>{if(l.has(o))return l.get(o);let r=fw();return a.set(r,o),l.set(o,r),r},get:(o)=>{let r=a.get(o);if(r&&l.has(r))return r},has:(o)=>{return l.has(o)}}},hH=function(a,l){if(a===void 0)a=document;if(l===void 0)l=xw;return{name:"@floating-ui/devtools",fn:(c)=>{let{["__FUIDT_ELEMENT_METADATA__"]:o}=eH(c.elements.floating)?c.elements.floating:Object.assign(c.elements.floating,{["__FUIDT_ELEMENT_METADATA__"]:{references:Fw(),serializedData:[]}}),r=sw(l(c),o.references);o.serializedData.unshift(r);let e=uw(a);if(o.serializedData.length>1&&c.elements.floating===(e==null?void 0:e.selectedElement)){var h;(h=a.defaultView)==null||h.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}return{}}}},xw=(a)=>({...a,type:"FloatingUIMiddleware"});function Wt(){return{name:"coverTarget",fn:(a)=>{let{placement:l,rects:c,x:o,y:r}=a,e=Ia(l).side,h={x:o,y:r};switch(e){case"bottom":h.y-=c.reference.height;break;case"top":h.y+=c.reference.height;break;case"left":h.x+=c.reference.width;break;case"right":h.x-=c.reference.width;break}return h}}}function bt(a){let{hasScrollableElement:l,flipBoundary:c,container:o,fallbackPositions:r=[],isRtl:e}=a,h=r.reduce((Z,t)=>{let{position:i,align:n}=y7(t),v=Ya(n,i,e);if(v)Z.push(v);return Z},[]);return Xm({...l&&{boundary:"clippingAncestors"},...c&&{altBoundary:!0,boundary:d4(o,c)},fallbackStrategy:"bestFit",...h.length&&{fallbackPlacements:h}})}function zt(){return{name:"intersectionObserver",fn:async(a)=>{let l=a.rects.floating,c=await Im(a,{altBoundary:!0}),o=c.top<l.height&&c.top>0,r=c.bottom<l.height&&c.bottom>0;return{data:{intersecting:o||r}}}}}var Qt=(a)=>({name:"resetMaxSize",fn({middlewareData:l,elements:c}){var o;if((o=l.resetMaxSize)===null||o===void 0?void 0:o.maxSizeAlreadyReset)return{};let{applyMaxWidth:r,applyMaxHeight:e}=a;if(r)c.floating.style.removeProperty("box-sizing"),c.floating.style.removeProperty("max-width"),c.floating.style.removeProperty("width");if(e)c.floating.style.removeProperty("box-sizing"),c.floating.style.removeProperty("max-height"),c.floating.style.removeProperty("height");return{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function Jt(a,l){let{container:c,overflowBoundary:o,overflowBoundaryPadding:r,isRtl:e}=l;return Km({...r&&{padding:$a(r,e)},...o&&{altBoundary:!0,boundary:d4(c,o)},apply({availableHeight:h,availableWidth:Z,elements:t,rects:i}){let n=(M,_,p)=>{if(!M)return;if(t.floating.style.setProperty("box-sizing","border-box"),t.floating.style.setProperty(`max-${_}`,`${p}px`),i.floating[_]>p){t.floating.style.setProperty(_,`${p}px`);let A=_==="width"?"x":"y";if(!t.floating.style.getPropertyValue(`overflow-${A}`))t.floating.style.setProperty(`overflow-${A}`,"auto")}},{applyMaxWidth:v,applyMaxHeight:d}=a;n(v,"width",Z),n(d,"height",h)}})}var gw=()=>({top:"above",bottom:"below",right:"after",left:"before"}),Lw=(a)=>{if(a==="above"||a==="below")return{start:"start",end:"end"};return{start:"top",end:"bottom"}},Ka=(a)=>{let{side:l,alignment:c}=Ia(a),o=gw()[l],r=c&&Lw(o)[c];return{position:o,alignment:r}};function ZH(a){if(!a)return a;if(typeof a==="number"||typeof a==="object")return a;return({rects:{floating:l,reference:c},placement:o})=>{let{position:r,alignment:e}=Ka(o);return a({positionedRect:l,targetRect:c,position:r,alignment:e})}}function It(a){let l=ZH(a);return $m(l)}function $t(a){let{hasScrollableElement:l,shiftToCoverTarget:c,disableTether:o,overflowBoundary:r,container:e,overflowBoundaryPadding:h,isRtl:Z}=a;return Ym({...l&&{boundary:"clippingAncestors"},...c&&{crossAxis:!0,limiter:Bt({crossAxis:!0,mainAxis:!1})},...o&&{crossAxis:o==="all",limiter:Bt({crossAxis:o!=="all",mainAxis:!1})},...h&&{padding:$a(h,Z)},...r&&{altBoundary:!0,boundary:d4(e,r)}})}function Yt(){return{name:"matchTargetSize",fn:async(a)=>{let{rects:{reference:l,floating:c},elements:{floating:o},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:r=!1}={}}}=a;if(l.width===c.width||r)return{};let{width:e}=l;if(o.style.setProperty("--fui-match-target-size",`${e}px`),!o.style.width)o.style.width="var(--fui-match-target-size)";return{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}var tH=(a)=>(l)=>{let{elements:{floating:c,reference:o}}=l,r=/*@__PURE__*/new Set;if(G1(o))U6(o).forEach((Z)=>r.add(Z));U6(c).forEach((Z)=>r.add(Z));let e=Array.isArray(a.flipBoundary)?a.flipBoundary:G1(a.flipBoundary)?[a.flipBoundary]:[],h=Array.isArray(a.overflowBoundary)?a.overflowBoundary:G1(a.overflowBoundary)?[a.overflowBoundary]:[];return{type:"FluentUIMiddleware",middlewareState:l,options:a,initialPlacement:Ka(l.initialPlacement),placement:Ka(l.placement),flipBoundaries:e,overflowBoundaries:h,scrollParents:Array.from(r)}};var Cw=({options:a})=>{return a},iH=e1(void 0),na1=iH.Provider,vH=()=>{var a;return(a=l1(iH))!==null&&a!==void 0?a:Cw};function Rw(a,l){let{align:c,arrowPadding:o,autoSize:r,coverTarget:e,disableUpdateOnResize:h,flipBoundary:Z,offset:t,overflowBoundary:i,pinned:n,position:v,unstable_disableTether:d,strategy:M,overflowBoundaryPadding:_,fallbackPositions:p,useTransform:A,matchTargetSize:m,shiftToCoverTarget:u}=l;return Q((V,s)=>{return a({container:V,arrow:s,options:{autoSize:r,disableUpdateOnResize:h,matchTargetSize:m,offset:t,strategy:M,coverTarget:e,flipBoundary:Z,overflowBoundary:i,useTransform:A,overflowBoundaryPadding:_,pinned:n,arrowPadding:o,align:c,fallbackPositions:p,shiftToCoverTarget:u,position:v,unstable_disableTether:d}})},[r,h,m,t,M,e,Z,i,A,_,n,o,c,p,u,v,d,a])}function nH(a){let{dir:l,targetDocument:c}=M1(),o=l==="rtl",r=Rw(vH(),a),{positionFixed:e}=a;return Q((h,Z)=>{let t=kt(h),i=r(h,Z),{autoSize:n,disableUpdateOnResize:v,matchTargetSize:d,offset:M,coverTarget:_,flipBoundary:p,overflowBoundary:A,useTransform:m,overflowBoundaryPadding:u,pinned:V,position:s,arrowPadding:F,strategy:L,align:C,fallbackPositions:P,shiftToCoverTarget:W,unstable_disableTether:r1}=i,t1=qt(n),N=[t1&&Qt(t1),d&&Yt(),M&&It(M),_&&Wt(),!V&&bt({container:h,flipBoundary:p,hasScrollableElement:t,isRtl:o,fallbackPositions:P}),$t({container:h,hasScrollableElement:t,overflowBoundary:A,disableTether:r1,overflowBoundaryPadding:u,isRtl:o,shiftToCoverTarget:W}),t1&&Jt(t1,{container:h,overflowBoundary:A,overflowBoundaryPadding:u,isRtl:o}),zt(),Z&&jm({element:Z,padding:F}),Dt({strategy:"referenceHidden"}),Dt({strategy:"escaped"}),c&&hH(c,tH(i))].filter(Boolean);return{placement:Ya(C,s,o),middleware:N,strategy:(L!==null&&L!==void 0?L:e)?"fixed":"absolute",disableUpdateOnResize:v,useTransform:m}},[r,o,c,e])}function ja(a){let l=y(null),c=y(null),o=y(null),r=y(null),e=y(null),{enabled:h=!0}=a,Z=nH(a),t=Q(()=>{if(l.current)l.current.dispose();l.current=null;var _;let p=(_=o.current)!==null&&_!==void 0?_:c.current;if(h&&N7()&&p&&r.current)l.current=oH({container:r.current,target:p,arrow:e.current,...Z(r.current,e.current)})},[h,Z]),i=Y((_)=>{o.current=_,t()});Y0(a.positioningRef,()=>({updatePosition:()=>{var _;return(_=l.current)===null||_===void 0?void 0:_.updatePosition()},setTarget:(_)=>{if(a.target){let p=Error();console.warn("Imperative setTarget should not be used at the same time as target option"),console.warn(p.stack)}i(_)}}),[a.target,i]),P1(()=>{var _;i((_=a.target)!==null&&_!==void 0?_:null)},[a.target,i]),P1(()=>{t()},[t]),X(()=>{if(r.current){var _;let p=r.current,A=(_=p.ownerDocument)===null||_===void 0?void 0:_.createTreeWalker(p,NodeFilter.SHOW_ELEMENT,{acceptNode:Pt});while(A.nextNode()){let m=A.currentNode;console.warn("usePositioning():",m),console.warn(['usePositioning(): ^ this node contains "autoFocus" prop on a React element. This can break the initial',"positioning of an element and cause a window jump effect. This issue occurs because React polyfills",'"autoFocus" behavior to solve inconsistencies between different browsers:',"https://github.com/facebook/react/issues/11851#issuecomment-351787078",`
|
|
136
|
+
`,"Configuration guide: https://aka.ms/fluentui-conflicting-ids"].join(" "))}},[]),pC(l,e),nC(()=>{let t=l===null||l===void 0?void 0:l.getElementById(e);if(t)r.current=t;else if(r.current=dC(l,{...h,id:e}),r.current)MC(r.current,Z);return()=>{var i;(i=r.current)===null||i===void 0||i.remove()}},[e,l,Z,h]),{styleTagId:e,rule:Z}};function pC(a,l){h1(()=>{if(!a)return;let c=a.getElementById(l);if(c)a.head.append(c)})}var _C={},AC={},ua=(a,l)=>{let c=M1(),o=mC(),r=e6(),e=l1(Q3)||_C,{applyStylesToPortals:h=!0,customStyleHooks_unstable:Z,dir:t=c.dir,targetDocument:i=c.targetDocument,theme:n,overrides_unstable:v={}}=a,d=_t(o,n),M=_t(r,v),_=_t(e,Z),p=a2();var A;let{styleTagId:m,rule:u}=Ha({theme:d,targetDocument:i,rendererAttributes:(A=p.styleElementAttributes)!==null&&A!==void 0?A:AC});return X(()=>{if(d===void 0)console.warn(['@fluentui/react-provider: FluentProvider does not have your "theme" defined.',"Make sure that your top-level FluentProvider has set a `theme` prop or you're setting the theme in your child FluentProvider."].join(" "))},[]),{applyStylesToPortals:h,customStyleHooks_unstable:_,dir:t,targetDocument:i,theme:d,overrides_unstable:M,themeClassName:m,components:{root:"div"},root:U.always(o1("div",{...a,dir:t,ref:g1(l,w7({targetDocument:i}))}),{elementType:"div"}),serverStyleProps:{cssRule:u,attributes:{...p.styleElementAttributes,id:m}}}};function _t(a,l){if(a&&l)return{...a,...l};if(a)return a;return l}function mC(){return l1(r6)}function sa(a){let{applyStylesToPortals:l,customStyleHooks_unstable:c,dir:o,root:r,targetDocument:e,theme:h,themeClassName:Z,overrides_unstable:t}=a,i=v1(()=>({dir:o,targetDocument:e}),[o,e]),[n]=h1(()=>({})),v=v1(()=>({textDirection:o}),[o]);return{customStyleHooks_unstable:c,overrides_unstable:t,provider:i,textDirection:o,iconDirection:v,tooltip:n,theme:h,themeClassName:l?r.className:Z}}var K3=/*@__PURE__*/z((a,l)=>{let c=ua(a,l);ma(c);let o=sa(c);return ea(c,o)});K3.displayName="FluentProvider";var Va=(a,l)=>{let{shape:c="circular",size:o="medium",iconPosition:r="before",appearance:e="filled",color:h="brand"}=a;return{shape:c,size:o,iconPosition:r,appearance:e,color:h,components:{root:"div",icon:"span"},root:U.always(o1("div",{ref:l,...a}),{elementType:"div"}),icon:U.optional(a.icon,{elementType:"span"})}};var fa={root:"fui-Badge",icon:"fui-Badge__icon"},_K=K1.spacingHorizontalXXS,HC=/*@__PURE__*/j("r1iycov","r115jdol",[".r1iycov{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r1iycov::after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}',".r115jdol{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;position:relative;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase200);height:20px;min-width:20px;padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));border-radius:var(--borderRadiusCircular);border-color:var(--colorTransparentStroke);}",'.r115jdol::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-style:solid;border-color:inherit;border-width:var(--strokeWidthThin);border-radius:inherit;}']),uC=/*@__PURE__*/D({fontSmallToTiny:{Bahqtrf:"fk6fouc",Be2twd7:"f13mqy1h",Bhrd7zp:"fl43uef",Bg96gwp:"fcpl73t"},tiny:{a9b677:"f16dn6v3",Bqenvij:"f3mu39s",Be2twd7:"f130uwy9",Bg96gwp:"fod1mrr",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},"extra-small":{a9b677:"fpd43o0",Bqenvij:"f30q22z",Be2twd7:"f1tccstq",Bg96gwp:"f1y3arg5",Bf4jedk:"f18p0k4z",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f19jm9xf"},small:{Bf4jedk:"fq2vo04",Bqenvij:"fd461yt",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fupdldz"},medium:{},large:{Bf4jedk:"f17fgpbq",Bqenvij:"frvgh55",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1996nqw"},"extra-large":{Bf4jedk:"fwbmr0d",Bqenvij:"f1d2rq10",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fty64o7"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},roundedSmallToTiny:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91"},circular:{},borderGhost:{ap17g6:"f10ludwy"},filled:{},"filled-brand":{De3pzq:"ffp7eso",sj55zd:"f1phragk"},"filled-danger":{De3pzq:"fdl5y0r",sj55zd:"f1phragk"},"filled-important":{De3pzq:"f1c73kur",sj55zd:"fr0bkrk"},"filled-informative":{De3pzq:"f3vzo32",sj55zd:"f11d4kpn"},"filled-severe":{De3pzq:"f1s438gw",sj55zd:"f1phragk"},"filled-subtle":{De3pzq:"fxugw4r",sj55zd:"f19n0e5"},"filled-success":{De3pzq:"flxk52p",sj55zd:"f1phragk"},"filled-warning":{De3pzq:"ffq97bm",sj55zd:"ff5vbop"},ghost:{},"ghost-brand":{sj55zd:"f16muhyy"},"ghost-danger":{sj55zd:"f1whyuy6"},"ghost-important":{sj55zd:"f19n0e5"},"ghost-informative":{sj55zd:"f11d4kpn"},"ghost-severe":{sj55zd:"f1l8vj45"},"ghost-subtle":{sj55zd:"fonrgv7"},"ghost-success":{sj55zd:"f1m7fhi8"},"ghost-warning":{sj55zd:"fpti2h4"},outline:{g2u3we:"f23ftbb",h3c5rm:["f1gkuv52","f1p1bl80"],B9xav0g:"fioka3i",zhjwy3:["f1p1bl80","f1gkuv52"]},"outline-brand":{sj55zd:"f16muhyy"},"outline-danger":{sj55zd:"f1whyuy6",g2u3we:"fyqpifd",h3c5rm:["f3ukxca","f1k7dugc"],B9xav0g:"f1njxb2b",zhjwy3:["f1k7dugc","f3ukxca"]},"outline-important":{sj55zd:"f11d4kpn",g2u3we:"fq0vr37",h3c5rm:["f1byw159","f11cr0be"],B9xav0g:"f1c1zstj",zhjwy3:["f11cr0be","f1byw159"]},"outline-informative":{sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"outline-severe":{sj55zd:"f1l8vj45"},"outline-subtle":{sj55zd:"fonrgv7"},"outline-success":{sj55zd:"f1m7fhi8",g2u3we:"f1mmhl11",h3c5rm:["f1tjpp2f","f1ocn5n7"],B9xav0g:"f1gjv25d",zhjwy3:["f1ocn5n7","f1tjpp2f"]},"outline-warning":{sj55zd:"fpti2h4"},tint:{},"tint-brand":{De3pzq:"f16xkysk",sj55zd:"faj9fo0",g2u3we:"f161y7kd",h3c5rm:["f1c8dzaj","f1sl6hi9"],B9xav0g:"f1619yhw",zhjwy3:["f1sl6hi9","f1c8dzaj"]},"tint-danger":{De3pzq:"ff0poqj",sj55zd:"f1hcrxcs",g2u3we:"f1oqjm8o",h3c5rm:["fkgrb8g","frb5wm0"],B9xav0g:"f1iai1ph",zhjwy3:["frb5wm0","fkgrb8g"]},"tint-important":{De3pzq:"f945g0u",sj55zd:"fr0bkrk",g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},"tint-informative":{De3pzq:"f1ctqxl6",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-severe":{De3pzq:"f1xzsg4",sj55zd:"f1k5f75o",g2u3we:"fxy9dsj",h3c5rm:["f54u6j2","fcm23ze"],B9xav0g:"f4vf0uq",zhjwy3:["fcm23ze","f54u6j2"]},"tint-subtle":{De3pzq:"fxugw4r",sj55zd:"f11d4kpn",g2u3we:"f68mrw8",h3c5rm:["f7pw515","fw35ms5"],B9xav0g:"frpde29",zhjwy3:["fw35ms5","f7pw515"]},"tint-success":{De3pzq:"f2vsrz6",sj55zd:"ffmvakt",g2u3we:"fdmic9h",h3c5rm:["f196y6m","fetptd8"],B9xav0g:"f1pev5xq",zhjwy3:["fetptd8","f196y6m"]},"tint-warning":{De3pzq:"f10s6hli",sj55zd:"f42v8de",g2u3we:"fn9i3n",h3c5rm:["f1aw8cx4","f51if14"],B9xav0g:"fvq8iai",zhjwy3:["f51if14","f1aw8cx4"]}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".f16dn6v3{width:6px;}",".f3mu39s{height:6px;}",".f130uwy9{font-size:4px;}",".fod1mrr{line-height:4px;}",".f18p0k4z{min-width:unset;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fpd43o0{width:10px;}",".f30q22z{height:10px;}",".f1tccstq{font-size:6px;}",".f1y3arg5{line-height:6px;}",[".f19jm9xf{padding:unset;}",{p:-1}],".fq2vo04{min-width:16px;}",".fd461yt{height:16px;}",[".fupdldz{padding:0 calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",{p:-1}],".f17fgpbq{min-width:24px;}",".frvgh55{height:24px;}",[".f1996nqw{padding:0 calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",{p:-1}],".fwbmr0d{min-width:32px;}",".f1d2rq10{height:32px;}",[".fty64o7{padding:0 calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f10ludwy::after{display:none;}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1c73kur{background-color:var(--colorNeutralForeground1);}",".fr0bkrk{color:var(--colorNeutralBackground1);}",".f3vzo32{background-color:var(--colorNeutralBackground5);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}",".ffq97bm{background-color:var(--colorPaletteYellowBackground3);}",".ff5vbop{color:var(--colorNeutralForeground1Static);}",".f16muhyy{color:var(--colorBrandForeground1);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".f1l8vj45{color:var(--colorPaletteDarkOrangeForeground3);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".f1m7fhi8{color:var(--colorPaletteGreenForeground3);}",".fpti2h4{color:var(--colorPaletteYellowForeground2);}",".f23ftbb{border-top-color:currentColor;}",".f1gkuv52{border-right-color:currentColor;}",".f1p1bl80{border-left-color:currentColor;}",".fioka3i{border-bottom-color:currentColor;}",".fyqpifd{border-top-color:var(--colorPaletteRedBorder2);}",".f3ukxca{border-right-color:var(--colorPaletteRedBorder2);}",".f1k7dugc{border-left-color:var(--colorPaletteRedBorder2);}",".f1njxb2b{border-bottom-color:var(--colorPaletteRedBorder2);}",".fq0vr37{border-top-color:var(--colorNeutralStrokeAccessible);}",".f1byw159{border-right-color:var(--colorNeutralStrokeAccessible);}",".f11cr0be{border-left-color:var(--colorNeutralStrokeAccessible);}",".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",".f68mrw8{border-top-color:var(--colorNeutralStroke2);}",".f7pw515{border-right-color:var(--colorNeutralStroke2);}",".fw35ms5{border-left-color:var(--colorNeutralStroke2);}",".frpde29{border-bottom-color:var(--colorNeutralStroke2);}",".f1mmhl11{border-top-color:var(--colorPaletteGreenBorder2);}",".f1tjpp2f{border-right-color:var(--colorPaletteGreenBorder2);}",".f1ocn5n7{border-left-color:var(--colorPaletteGreenBorder2);}",".f1gjv25d{border-bottom-color:var(--colorPaletteGreenBorder2);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".faj9fo0{color:var(--colorBrandForeground2);}",".f161y7kd{border-top-color:var(--colorBrandStroke2);}",".f1c8dzaj{border-right-color:var(--colorBrandStroke2);}",".f1sl6hi9{border-left-color:var(--colorBrandStroke2);}",".f1619yhw{border-bottom-color:var(--colorBrandStroke2);}",".ff0poqj{background-color:var(--colorPaletteRedBackground1);}",".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1oqjm8o{border-top-color:var(--colorPaletteRedBorder1);}",".fkgrb8g{border-right-color:var(--colorPaletteRedBorder1);}",".frb5wm0{border-left-color:var(--colorPaletteRedBorder1);}",".f1iai1ph{border-bottom-color:var(--colorPaletteRedBorder1);}",".f945g0u{background-color:var(--colorNeutralForeground3);}",".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".f1ctqxl6{background-color:var(--colorNeutralBackground4);}",".f1xzsg4{background-color:var(--colorPaletteDarkOrangeBackground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".fxy9dsj{border-top-color:var(--colorPaletteDarkOrangeBorder1);}",".f54u6j2{border-right-color:var(--colorPaletteDarkOrangeBorder1);}",".fcm23ze{border-left-color:var(--colorPaletteDarkOrangeBorder1);}",".f4vf0uq{border-bottom-color:var(--colorPaletteDarkOrangeBorder1);}",".f2vsrz6{background-color:var(--colorPaletteGreenBackground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}",".fdmic9h{border-top-color:var(--colorPaletteGreenBorder1);}",".f196y6m{border-right-color:var(--colorPaletteGreenBorder1);}",".fetptd8{border-left-color:var(--colorPaletteGreenBorder1);}",".f1pev5xq{border-bottom-color:var(--colorPaletteGreenBorder1);}",".f10s6hli{background-color:var(--colorPaletteYellowBackground1);}",".f42v8de{color:var(--colorPaletteYellowForeground1);}",".fn9i3n{border-top-color:var(--colorPaletteYellowBorder1);}",".f1aw8cx4{border-right-color:var(--colorPaletteYellowBorder1);}",".f51if14{border-left-color:var(--colorPaletteYellowBorder1);}",".fvq8iai{border-bottom-color:var(--colorPaletteYellowBorder1);}"]}),sC=/*@__PURE__*/j("rttl5z0",null,[".rttl5z0{display:flex;line-height:1;margin:0 calc(-1 * var(--spacingHorizontalXXS));font-size:12px;}"]),VC=/*@__PURE__*/D({beforeText:{t21cq0:["f1t8l4o1","f11juvx6"]},afterText:{Frg6f3:["f11juvx6","f1t8l4o1"]},beforeTextXL:{t21cq0:["f1rs9grm","f1kwmkpi"]},afterTextXL:{Frg6f3:["f1kwmkpi","f1rs9grm"]},tiny:{Be2twd7:"f1tccstq"},"extra-small":{Be2twd7:"fnmn6fi"},small:{Be2twd7:"f1ugzwwg"},medium:{},large:{Be2twd7:"f4ybsrx"},"extra-large":{Be2twd7:"fe5j1ua"}},{d:[".f1t8l4o1{margin-right:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f11juvx6{margin-left:calc(var(--spacingHorizontalXXS) + var(--spacingHorizontalXXS));}",".f1rs9grm{margin-right:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1kwmkpi{margin-left:calc(var(--spacingHorizontalXS) + var(--spacingHorizontalXXS));}",".f1tccstq{font-size:6px;}",".fnmn6fi{font-size:10px;}",".f1ugzwwg{font-size:12px;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}"]}),Fa=(a)=>{let l=HC(),c=uC(),o=a.size==="small"||a.size==="extra-small"||a.size==="tiny";a.root.className=S(fa.root,l,o&&c.fontSmallToTiny,c[a.size],c[a.shape],a.shape==="rounded"&&o&&c.roundedSmallToTiny,a.appearance==="ghost"&&c.borderGhost,c[a.appearance],c[`${a.appearance}-${a.color}`],a.root.className);let r=sC(),e=VC();if(a.icon){let h;if(T5.toArray(a.root.children).length>0)if(a.size==="extra-large")h=a.iconPosition==="after"?e.afterTextXL:e.beforeTextXL;else h=a.iconPosition==="after"?e.afterText:e.beforeText;a.icon.className=S(fa.icon,r,h,e[a.size],a.icon.className)}return a};var xa=(a)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[a.iconPosition==="before"&&a.icon&&/*@__PURE__*/g(a.icon,{}),a.root.children,a.iconPosition==="after"&&a.icon&&/*@__PURE__*/g(a.icon,{})]})};var b0=/*@__PURE__*/z((a,l)=>{let c=Va(a,l);return Fa(c),I("useBadgeStyles_unstable")(c),xa(c)});b0.displayName="Badge";var Z3=(a)=>{J(a);let{iconOnly:l,iconPosition:c}=a;return/*@__PURE__*/_1(a.root,{children:[c!=="after"&&a.icon&&/*@__PURE__*/g(a.icon,{}),!l&&a.root.children,c==="after"&&a.icon&&/*@__PURE__*/g(a.icon,{})]})};var RA=e1(void 0),qC={},yK=RA.Provider,wA=()=>{var a;return(a=l1(RA))!==null&&a!==void 0?a:qC};var J2="Enter",w5=" ",ga="Tab",V6="ArrowDown";var j3="ArrowUp",At="End",mt="Home",Ht="PageDown",ut="PageUp";var st="Delete";var U7="Escape";function e2(a,l){let{disabled:c,disabledFocusable:o=!1,["aria-disabled"]:r,onClick:e,onKeyDown:h,onKeyUp:Z,...t}=l!==null&&l!==void 0?l:{},i=typeof r==="string"?r==="true":r,n=c||o||i,v=Y((_)=>{if(n)_.preventDefault(),_.stopPropagation();else e===null||e===void 0||e(_)}),d=Y((_)=>{if(h===null||h===void 0||h(_),_.isDefaultPrevented())return;let p=_.key;if(n&&(p===J2||p===w5)){_.preventDefault(),_.stopPropagation();return}if(p===w5){_.preventDefault();return}else if(p===J2)_.preventDefault(),_.currentTarget.click()}),M=Y((_)=>{if(Z===null||Z===void 0||Z(_),_.isDefaultPrevented())return;let p=_.key;if(n&&(p===J2||p===w5)){_.preventDefault(),_.stopPropagation();return}if(p===w5)_.preventDefault(),_.currentTarget.click()});if(a==="button"||a===void 0)return{...t,disabled:c&&!o,"aria-disabled":o?!0:i,onClick:o?void 0:v,onKeyUp:o?void 0:Z,onKeyDown:o?void 0:h};else{let _=!!t.href,p=_?void 0:"button";if(!p&&n)p="link";let A={role:p,tabIndex:o||!_&&!c?0:void 0,...t,onClick:v,onKeyUp:M,onKeyDown:d,"aria-disabled":n};if(a==="a"&&n)A.href=void 0;return A}}var m5=()=>{return},bC={controller:{active:m5,blur:m5,find:m5,first:m5,focus:m5,focusLastActive:m5,scrollActiveIntoView:m5,last:m5,next:m5,prev:m5,showAttributes:m5,hideAttributes:m5,showFocusVisibleAttributes:m5,hideFocusVisibleAttributes:m5}},Vt=e1(void 0),f6=Vt.Provider,F6=()=>{var a;return(a=l1(Vt))!==null&&a!==void 0?a:bC},Jo=()=>!!l1(Vt);function SA(a){let{matchOption:l}=a,{targetDocument:c}=M1(),o=y(null),r=y(null),e=Q((t)=>{if(G1(t)&&l(t))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP},[l]),h=Q((t)=>{if(t&&c)r.current=t,o.current=c.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,e);else r.current=null,o.current=null},[c,e]);return{optionWalker:v1(()=>({first:()=>{if(!o.current||!r.current)return null;return o.current.currentNode=r.current,o.current.firstChild()},last:()=>{if(!o.current||!r.current)return null;return o.current.currentNode=r.current,o.current.lastChild()},next:()=>{if(!o.current)return null;return o.current.nextNode()},prev:()=>{if(!o.current)return null;return o.current.previousNode()},find:(t,i)=>{if(!o.current||!r.current)return null;let n=i?c===null||c===void 0?void 0:c.getElementById(i):null;o.current.currentNode=n!==null&&n!==void 0?n:r.current;let v=o.current.currentNode;while(v&&!t(v.id))v=o.current.nextNode();return v},setCurrent:(t)=>{if(!o.current)return;o.current.currentNode=t}}),[c]),listboxCallbackRef:h}}var ft="data-activedescendant",t3="data-activedescendant-focusvisible";var Ft=(a)=>{if(!a)return;let l=GA(a.parentElement);if(!l)return;let{offsetHeight:c}=a,o=UA(a,l),{scrollMarginTop:r,scrollMarginBottom:e}=zC(a),{offsetHeight:h,scrollTop:Z}=l,t=o-r<Z,i=o+c+e>Z+h,n=2;if(t)l.scrollTo(0,o-r-n);else if(i)l.scrollTo(0,o+c+e-h+n)},GA=(a)=>{if(!a)return null;if(a.scrollHeight>a.offsetHeight)return a;return GA(a.parentElement)},UA=(a,l)=>{if(!a||a===l)return 0;if(a.contains(l))return l.offsetTop*-1;return a.offsetTop+UA(a.offsetParent,l)},zC=(a)=>{var l;let c=(l=a.ownerDocument)===null||l===void 0?void 0:l.defaultView;if(!c)return{scrollMarginTop:0,scrollMarginBottom:0};let o=c.getComputedStyle(a);var r;let e=(r=Io(o.scrollMarginTop))!==null&&r!==void 0?r:Io(o.scrollMarginBlockStart);var h;let Z=(h=Io(o.scrollMarginBottom))!==null&&h!==void 0?h:Io(o.scrollMarginBlockEnd);return{scrollMarginTop:e,scrollMarginBottom:Z}},Io=(a)=>{return a?parseInt(a,10):0};var DA=(a)=>new CustomEvent("activedescendantchange",{bubbles:!0,cancelable:!1,composed:!0,detail:a});function x6(a){let{imperativeRef:l,matchOption:c}=a,o=y(!1),r=y(!0),e=y(null),h=y(null),Z=y(null),t=y(!0),i=Q(()=>{var s;(s=Z.current)===null||s===void 0||s.removeAttribute("aria-activedescendant")},[]),n=Q((s)=>{if(s)e.current=s;if(t.current&&e.current){var F;(F=Z.current)===null||F===void 0||F.setAttribute("aria-activedescendant",e.current)}},[]);m6((s)=>{o.current=s;let F=p();if(!F)return;if(s&&r.current)F.setAttribute(t3,"");else F.removeAttribute(t3)});let v=Y(c),d=y(null),{optionWalker:M,listboxCallbackRef:_}=SA({matchOption:v}),p=Q(()=>{var s;return(s=d.current)===null||s===void 0?void 0:s.querySelector(`#${e.current}`)},[d]),A=Q((s)=>{r.current=s;let F=p();if(!F)return;if(s&&o.current)F.setAttribute(t3,"");else F.removeAttribute(t3)},[p]),m=Q(()=>{let s=p();if(s)s.removeAttribute(ft),s.removeAttribute(t3);i(),h.current=e.current,e.current=null;var F;return(F=s===null||s===void 0?void 0:s.id)!==null&&F!==void 0?F:null},[p,i]),u=Q((s)=>{if(!s)return;let F=m();if(Ft(s),n(s.id),s.setAttribute(ft,""),o.current&&r.current)s.setAttribute(t3,"");let L=DA({id:s.id,previousId:F});s.dispatchEvent(L)},[m,n]),V=v1(()=>({first:({passive:s}={})=>{let F=M.first();if(!s)u(F);return F===null||F===void 0?void 0:F.id},last:({passive:s}={})=>{let F=M.last();if(!s)u(F);return F===null||F===void 0?void 0:F.id},next:({passive:s}={})=>{let F=p();if(!F)return;M.setCurrent(F);let L=M.next();if(!s)u(L);return L===null||L===void 0?void 0:L.id},prev:({passive:s}={})=>{let F=p();if(!F)return;M.setCurrent(F);let L=M.prev();if(!s)u(L);return L===null||L===void 0?void 0:L.id},blur:()=>{m()},active:()=>{var s;return(s=p())===null||s===void 0?void 0:s.id},focus:(s)=>{if(!d.current)return;let F=d.current.querySelector(`#${s}`);if(F)u(F)},focusLastActive:()=>{if(!d.current||!h.current)return;let s=d.current.querySelector(`#${h.current}`);if(s)return u(s),!0},find(s,{passive:F,startFrom:L}={}){let C=M.find(s,L);if(!F)u(C);return C===null||C===void 0?void 0:C.id},scrollActiveIntoView:()=>{if(!d.current)return;let s=p();if(!s)return;Ft(s)},showAttributes(){t.current=!0,n()},hideAttributes(){t.current=!1,i()},showFocusVisibleAttributes(){A(!0)},hideFocusVisibleAttributes(){A(!1)}}),[M,d,n,i,u,m,p,A]);return Y0(l,()=>V),{listboxRef:g1(d,_),activeParentRef:Z,controller:V}}var i3=(a,l)=>{let{size:c}=wA(),{appearance:o="secondary",shape:r="rounded",size:e=c!==null&&c!==void 0?c:"medium",...h}=a,Z=xt(h,l);return{appearance:o,shape:r,size:e,...Z}},xt=(a,l)=>{let{icon:c,iconPosition:o="before",...r}=a,e=U.optional(c,{elementType:"span"});var h,Z;return{disabled:(h=a.disabled)!==null&&h!==void 0?h:!1,disabledFocusable:(Z=a.disabledFocusable)!==null&&Z!==void 0?Z:!1,iconPosition:o,iconOnly:Boolean((e===null||e===void 0?void 0:e.children)&&!a.children),components:{root:"button",icon:"span"},root:U.always(e2(r.as,r),{elementType:"button",defaultProps:{ref:l,type:a.as!=="a"?"button":void 0}}),icon:e}};var BA=D({root:{mc9l5x:"f1w7gpdv",Bg96gwp:"fez10in"},rtl:{Bz10aip:"f13rod7r"}},{d:[".f1w7gpdv{display:inline;}",".fez10in{line-height:0;}",".f13rod7r{transform:scaleX(-1);}"]});var kA=(a,l)=>{let{filled:c,title:o,primaryFill:r="currentColor",...e}=a,h={...e,fill:r},Z=BA(),t=bZ();if(h.className=S(Z.root,(l===null||l===void 0?void 0:l.flipInRtl)&&(t===null||t===void 0?void 0:t.textDirection)==="rtl"&&Z.rtl,h.className),o)h["aria-label"]=o;if(!h["aria-label"]&&!h["aria-labelledby"])h["aria-hidden"]=!0;else h.role="img";return h};var yA=D({root:{B8gzw0y:"f1dd5bof"}},{m:[["@media (forced-colors: active){.f1dd5bof{forced-color-adjust:auto;}}",{m:"(forced-colors: active)"}]]});var OA="fui-Icon";var A1=(a,l,c,o)=>{let r=l==="1em"?"20":l,e=z((h,Z)=>{let t=yA(),i=kA(h,{flipInRtl:o===null||o===void 0?void 0:o.flipInRtl}),n={...i,className:S(OA,i.className,t.root),ref:Z,width:l,height:l,viewBox:`0 0 ${r} ${r}`,xmlns:"http://www.w3.org/2000/svg"};if(typeof c==="string")return c1("svg",{...n,dangerouslySetInnerHTML:{__html:c}});else return c1("svg",n,...c.map((v)=>c1("path",{d:v,fill:n.fill})))});return e.displayName=a,e};var PA=/*@__PURE__*/A1("TargetRegular","1em",["M10 11.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM5 10a5 5 0 1 1 10 0 5 5 0 0 1-10 0Zm5-4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm-8 4a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8-7a7 7 0 1 0 0 14 7 7 0 0 0 0-14Z"]);var $o=/*@__PURE__*/A1("WarningFilled","1em",["M8.68 2.79a1.5 1.5 0 0 1 2.64 0l6.5 12A1.5 1.5 0 0 1 16.5 17h-13a1.5 1.5 0 0 1-1.32-2.21l6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 0 0 1 0v-4Zm.25 6.25a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"]);var Yo=/*@__PURE__*/A1("InfoFilled","1em",["M18 10a8 8 0 1 0-16 0 8 8 0 0 0 16 0ZM9.5 8.91a.5.5 0 0 1 1 0V13.6a.5.5 0 0 1-1 0V8.9Zm-.25-2.16a.75.75 0 1 1 1.5 0 .75.75 0 0 1-1.5 0Z"]);var Xo=/*@__PURE__*/A1("CircleFilled","1em",["M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16Z"]);var TA=/*@__PURE__*/A1("EditRegular","1em",["M17.18 2.93a2.97 2.97 0 0 0-4.26-.06l-9.37 9.38c-.33.33-.56.74-.66 1.2l-.88 3.94a.5.5 0 0 0 .6.6l3.93-.87c.46-.1.9-.34 1.23-.68l9.36-9.36a2.97 2.97 0 0 0 .05-4.15Zm-3.55.65a1.97 1.97 0 1 1 2.8 2.8l-.68.66-2.8-2.79.68-.67Zm-1.38 1.38 2.8 2.8-7.99 7.97c-.2.2-.46.35-.74.41l-3.16.7.7-3.18c.07-.27.2-.51.4-.7l8-8Z"]);var EA=/*@__PURE__*/A1("ArrowDownRegular","1em",["M16.87 10.84a.5.5 0 1 0-.74-.68l-5.63 6.17V2.5a.5.5 0 0 0-1 0v13.83l-5.63-6.17a.5.5 0 0 0-.74.68l6.31 6.91a.75.75 0 0 0 1.11 0l6.32-6.91Z"]);var Ko=/*@__PURE__*/A1("ArrowRightRegular","1em",["M10.84 3.13a.5.5 0 0 0-.68.74l6.17 5.63H2.5a.5.5 0 0 0 0 1h13.83l-6.17 5.63a.5.5 0 0 0 .68.74l6.91-6.32a.75.75 0 0 0 0-1.1l-6.91-6.32Z"]);var g6=/*@__PURE__*/A1("ArrowTurnDownRightRegular","1em",["M11.15 16.85c.2.2.5.2.7 0l4-4a.5.5 0 0 0 0-.7l-4-4a.5.5 0 0 0-.7.7L14.29 12H8a2 2 0 0 1-2-2V3.5a.5.5 0 0 0-1 0V10a3 3 0 0 0 3 3h6.3l-3.15 3.15a.5.5 0 0 0 0 .7Z"]);var qA=/*@__PURE__*/A1("ArrowUpRegular","1em",["M3.13 9.16a.5.5 0 1 0 .74.68L9.5 3.67V17.5a.5.5 0 1 0 1 0V3.67l5.63 6.17a.5.5 0 0 0 .74-.68l-6.32-6.92a.75.75 0 0 0-1.1 0L3.13 9.16Z"],{flipInRtl:!0});var WA=/*@__PURE__*/A1("CheckmarkFilled","1em",["M7.03 13.9 3.56 10a.75.75 0 0 0-1.12 1l4 4.5c.29.32.79.34 1.09.03l10.5-10.5a.75.75 0 0 0-1.06-1.06l-9.94 9.94Z"]);var jo=/*@__PURE__*/A1("CheckmarkCircleFilled","1em",["M10 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16Zm3.36 5.65a.5.5 0 0 0-.64-.06l-.07.06L9 11.3 7.35 9.65l-.07-.06a.5.5 0 0 0-.7.7l.07.07 2 2 .07.06c.17.11.4.11.56 0l.07-.06 4-4 .07-.08a.5.5 0 0 0-.06-.63Z"]);var bA=/*@__PURE__*/A1("ChevronDownRegular","1em",["M15.85 7.65c.2.2.2.5 0 .7l-5.46 5.49a.55.55 0 0 1-.78 0L4.15 8.35a.5.5 0 1 1 .7-.7L10 12.8l5.15-5.16c.2-.2.5-.2.7 0Z"]);var No=/*@__PURE__*/A1("DiamondDismissFilled","1em",["M7.88 2.88a3 3 0 0 1 4.24 0l5 5a3 3 0 0 1 0 4.24l-5 5a3 3 0 0 1-4.24 0l-5-5a3 3 0 0 1 0-4.24l5-5Zm-.03 4.27a.5.5 0 1 0-.7.7L9.29 10l-2.14 2.15a.5.5 0 0 0 .7.7L10 10.71l2.15 2.14a.5.5 0 0 0 .7-.7L10.71 10l2.14-2.15a.5.5 0 0 0-.7-.7L10 9.29 7.85 7.15Z"]);var zA=/*@__PURE__*/A1("DismissRegular","1em",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]);var QA=/*@__PURE__*/A1("FolderRegular","1em",["M4.5 3A2.5 2.5 0 0 0 2 5.5v9A2.5 2.5 0 0 0 4.5 17h11a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 15.5 5H9.7L8.23 3.51A1.75 1.75 0 0 0 6.98 3H4.5ZM3 5.5C3 4.67 3.67 4 4.5 4h2.48c.2 0 .4.08.53.22L8.8 5.5 7.44 6.85a.5.5 0 0 1-.35.15H3V5.5ZM3 8h4.09c.4 0 .78-.16 1.06-.44L9.7 6h5.79c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-11A1.5 1.5 0 0 1 3 14.5V8Z"]);var JA=/*@__PURE__*/A1("WebAsset16Regular","16",["M4.5 2A2.5 2.5 0 0 0 2 4.5v7A2.5 2.5 0 0 0 4.5 14h7a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 11.5 2h-7ZM3 4.5C3 3.67 3.67 3 4.5 3h7c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-7A1.5 1.5 0 0 1 3 11.5v-7ZM5 5a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H5Z"]);var IA=/*@__PURE__*/A1("Copy16Regular","16",["M4 4.09v6.41A2.5 2.5 0 0 0 6.34 13h4.57c-.2.58-.76 1-1.41 1H6a3 3 0 0 1-3-3V5.5c0-.65.42-1.2 1-1.41ZM11.5 2c.83 0 1.5.67 1.5 1.5v7c0 .83-.67 1.5-1.5 1.5h-5A1.5 1.5 0 0 1 5 10.5v-7C5 2.67 5.67 2 6.5 2h5Zm0 1h-5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5Z"]);var $A=/*@__PURE__*/A1("Warning12Filled","12",["M5.21 1.46a.9.9 0 0 1 1.58 0l4.09 7.17a.92.92 0 0 1-.79 1.37H1.91a.92.92 0 0 1-.79-1.37l4.1-7.17ZM5.5 4.5v1a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-1 0ZM6 6.75a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z"]);var YA=/*@__PURE__*/A1("Warning20Regular","20",["M9.56 3.26a.5.5 0 0 1 .88 0l6.5 12a.5.5 0 0 1-.44.74h-13a.5.5 0 0 1-.44-.74l6.5-12Zm1.76-.47a1.5 1.5 0 0 0-2.64 0l-6.5 12A1.5 1.5 0 0 0 3.5 17h13a1.5 1.5 0 0 0 1.32-2.21l-6.5-12ZM10.5 7.5a.5.5 0 0 0-1 0v4a.5.5 0 1 0 1 0v-4Zm.25 6.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"]);var XA=/*@__PURE__*/A1("AppFolder20Regular","20",["M5 6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6Zm3 0H6v2h2V6Zm-3 6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-2Zm3 0H6v2h2v-2Zm4-7a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2Zm0 1h2v2h-2V6Zm-1 6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-2Zm3 0h-2v2h2v-2ZM5 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3H5ZM3 5c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5Z"]);var ar=/*@__PURE__*/A1("Info16Regular","16",["M8.5 7.5a.5.5 0 1 0-1 0v3a.5.5 0 0 0 1 0v-3Zm.25-2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM8 1a7 7 0 1 0 0 14A7 7 0 0 0 8 1ZM2 8a6 6 0 1 1 12 0A6 6 0 0 1 2 8Z"]);var L6=/*@__PURE__*/A1("Add16Regular","16",["M8 2c.28 0 .5.22.5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5c0-.28.22-.5.5-.5Z"]);var KA=/*@__PURE__*/A1("ArrowLeft16Regular","16",["M13.5 8.5a.5.5 0 0 0 0-1H3.8l4.03-3.63a.5.5 0 1 0-.66-.74l-5 4.5a.5.5 0 0 0 0 .74l5 4.5a.5.5 0 1 0 .66-.74L3.8 8.5h9.7Z"]);var lr=/*@__PURE__*/A1("Checkmark12Filled","12",["M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"]);var jA=/*@__PURE__*/A1("Checkmark16Filled","16",["M14.05 3.49c.28.3.27.77-.04 1.06l-7.93 7.47A.85.85 0 0 1 4.9 12L2.22 9.28a.75.75 0 1 1 1.06-1.06l2.24 2.27 7.47-7.04a.75.75 0 0 1 1.06.04Z"]);var NA=/*@__PURE__*/A1("CheckmarkCircle12Filled","12",["M1 6a5 5 0 1 1 10 0A5 5 0 0 1 1 6Zm7.35-.9a.5.5 0 1 0-.7-.7L5.5 6.54 4.35 5.4a.5.5 0 1 0-.7.7l1.5 1.5c.2.2.5.2.7 0l2.5-2.5Z"]);var am=/*@__PURE__*/A1("CheckmarkCircle24Regular","24",["M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm-1.25 9.94 4.47-4.47a.75.75 0 0 1 1.13.98l-.07.08-5 5a.75.75 0 0 1-.98.07l-.08-.07-2.5-2.5a.75.75 0 0 1 .98-1.13l.08.07 1.97 1.97 4.47-4.47-4.47 4.47Z"]);var lm=/*@__PURE__*/A1("Javascript24Regular","24",["M14 11.25c0-.97.78-1.75 1.75-1.75h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v1.5c0 .14.11.25.25.25h.5c.97 0 1.75.78 1.75 1.75v1.5c0 .97-.78 1.75-1.75 1.75h-1.5a.75.75 0 0 1 0-1.5h1.5c.14 0 .25-.11.25-.25v-1.5a.25.25 0 0 0-.25-.25h-.5c-.97 0-1.75-.78-1.75-1.75v-1.5Zm-1.25-1a.75.75 0 0 0-1.5 0v6c0 .14-.11.25-.25.25H9.75a.75.75 0 0 0 0 1.5H11c.97 0 1.75-.78 1.75-1.75v-6ZM3 6.25v11.5C3 19.55 4.46 21 6.25 21h11.5c1.8 0 3.25-1.46 3.25-3.25V6.25C21 4.45 19.54 3 17.75 3H6.25A3.25 3.25 0 0 0 3 6.25ZM6.25 4.5h11.5c.97 0 1.75.78 1.75 1.75v11.5c0 .97-.78 1.75-1.75 1.75H6.25c-.97 0-1.75-.78-1.75-1.75V6.25c0-.97.78-1.75 1.75-1.75Z"]);var cm=/*@__PURE__*/A1("Square12Filled","12",["M2 4c0-1.1.9-2 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4Z"]);var om=/*@__PURE__*/A1("Square16Filled","16",["M2 4.5A2.5 2.5 0 0 1 4.5 2h7A2.5 2.5 0 0 1 14 4.5v7a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 11.5v-7Z"]);var v3=/*@__PURE__*/A1("Delete16Regular","16",["M7 3h2a1 1 0 0 0-2 0ZM6 3a2 2 0 1 1 4 0h4a.5.5 0 0 1 0 1h-.56l-1.2 8.84A2.5 2.5 0 0 1 9.74 15h-3.5a2.5 2.5 0 0 1-2.48-2.16L2.57 4H2a.5.5 0 0 1 0-1h4Zm1 3.5a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0v-5ZM9.5 6c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0v-5c0-.28.22-.5.5-.5Zm-4.74 6.7c.1.75.74 1.3 1.49 1.3h3.5a1.5 1.5 0 0 0 1.5-1.3L12.42 4H3.57l1.19 8.7Z"]);var rm=/*@__PURE__*/A1("Delete20Regular","20",["M8.5 4h3a1.5 1.5 0 0 0-3 0Zm-1 0a2.5 2.5 0 0 1 5 0h5a.5.5 0 0 1 0 1h-1.05l-1.2 10.34A3 3 0 0 1 12.27 18H7.73a3 3 0 0 1-2.98-2.66L3.55 5H2.5a.5.5 0 0 1 0-1h5ZM5.74 15.23A2 2 0 0 0 7.73 17h4.54a2 2 0 0 0 1.99-1.77L15.44 5H4.56l1.18 10.23ZM8.5 7.5c.28 0 .5.22.5.5v6a.5.5 0 0 1-1 0V8c0-.28.22-.5.5-.5ZM12 8a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V8Z"]);var em=/*@__PURE__*/A1("DiamondDismiss12Filled","12",["M4.58 1.58a2 2 0 0 1 2.83 0l3 3a2 2 0 0 1 0 2.83l-3 3a2 2 0 0 1-2.83 0l-3-3a2 2 0 0 1-.14-2.68l.14-.15 3-3Zm3.27 2.57a.5.5 0 0 0-.7 0L6 5.29 4.85 4.15l-.07-.07a.5.5 0 0 0-.7.7l.07.07L5.29 6 4.15 7.15a.5.5 0 0 0 .7.7L6 6.71l1.15 1.14.07.07a.5.5 0 0 0 .7-.7l-.07-.07L6.71 6l1.14-1.15a.5.5 0 0 0 0-.7Z"]);var hm=/*@__PURE__*/A1("Dismiss20Regular","20",["m4.09 4.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L10 9.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L10.71 10l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L10 10.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L9.29 10 4.15 4.85a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z"]);var I2=/*@__PURE__*/A1("Dismiss24Regular","24",["m4.4 4.55.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l6.47-6.47a.75.75 0 1 1 1.06 1.06L13.06 12l6.47 6.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-6.47 6.47a.75.75 0 0 1-1.06-1.06L10.94 12 4.47 5.53a.75.75 0 0 1-.07-.98l.07-.08-.07.08Z"]);var Zm=/*@__PURE__*/A1("DismissCircle24Regular","24",["M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17Zm3.45 4.9.08.07c.27.27.3.68.07.98l-.07.08L13.06 12l2.47 2.47c.27.27.3.68.07.98l-.07.08a.75.75 0 0 1-.98.07l-.08-.07L12 13.06l-2.47 2.47a.75.75 0 0 1-.98.07l-.08-.07a.75.75 0 0 1-.07-.98l.07-.08L10.94 12 8.47 9.53a.75.75 0 0 1-.07-.98l.07-.08a.75.75 0 0 1 .98-.07l.08.07L12 10.94l2.47-2.47a.75.75 0 0 1 .98-.07Z"]);var C6={root:"fui-Button",icon:"fui-Button__icon"};var g71=`calc(${K1.strokeWidthThin} + 0.25px)`,QC=/*@__PURE__*/j("r1f29ykk",null,{r:[".r1f29ykk{align-items:center;box-sizing:border-box;display:inline-flex;justify-content:center;text-decoration-line:none;vertical-align:middle;margin:0;overflow:hidden;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);font-family:var(--fontFamilyBase);outline-style:none;padding:5px var(--spacingHorizontalM);min-width:96px;border-radius:var(--borderRadiusMedium);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);transition-duration:var(--durationFaster);transition-property:background,border,color;transition-timing-function:var(--curveEasyEase);}",".r1f29ykk:hover{background-color:var(--colorNeutralBackground1Hover);border-color:var(--colorNeutralStroke1Hover);color:var(--colorNeutralForeground1Hover);cursor:pointer;}",".r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:var(--colorNeutralBackground1Pressed);border-color:var(--colorNeutralStroke1Pressed);color:var(--colorNeutralForeground1Pressed);outline-style:none;}",".r1f29ykk[data-fui-focus-visible]{border-color:var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);border-width:1px;outline:var(--strokeWidthThick) solid var(--colorTransparentStroke);box-shadow:0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;z-index:1;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1f29ykk{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1f29ykk:focus{border-color:ButtonText;}.r1f29ykk:hover{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}.r1f29ykk:hover:active,.r1f29ykk:active:focus-visible{background-color:HighlightText;border-color:Highlight;color:Highlight;forced-color-adjust:none;}}","@supports (-moz-appearance:button){.r1f29ykk[data-fui-focus-visible]{box-shadow:0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),JC=/*@__PURE__*/j("rywnvv2",null,[".rywnvv2{align-items:center;display:inline-flex;justify-content:center;font-size:20px;height:20px;width:20px;--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}"]),IC=/*@__PURE__*/D({outline:{De3pzq:"f1c21dwh",Jwef8y:"fjxutwb",Bpjbzib:"fkoldzo"},primary:{De3pzq:"ffp7eso",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"f1phragk",Jwef8y:"f15wkkf3",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f1rq72xc",Bpjbzib:"f1ksv2xa",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1d6mv4x",By8wz76:"f1nz3ub2",Bcq6wej:"fag2qd2",Jcjdmf:["fmvhcg7","f14bpyus"],sc4o1m:"f1o3dhpw",Bosien3:["f14bpyus","fmvhcg7"],B7iucu3:"fqc85l4",B8gzw0y:"f1h3a8gf",Bbkh6qg:"fkiggi6",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"],Bahaeuw:"f1v3eptx",Bv2bamp:"f1ysmecq",vxuvv6:"faulsx",Bli9q98:["f79t15f","f8qmx7k"],Bx2tt8t:"fbtzoaq",yad0b3:["f8qmx7k","f79t15f"],j2fop7:"fd4bjan"},secondary:{},subtle:{De3pzq:"fhovq9v",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"f1t94bn6",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"fnwyq0v",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bbdnnc7:"fy5bs14",Bpjbzib:"f1q1yqic",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"fwga7ee",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",wsxvnf:"f1xxsver",Bahaeuw:"f1v3eptx",Buhizc3:"fivsta0",j2fop7:"fd4bjan",Bqabnb4:"f3m6zum"},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],sj55zd:"fkfq4zb",Jwef8y:"fjxutwb",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bi91k9c:"f139oj5f",Bk3fhr4:"ft1hn21",Bmfj8id:"fuxngvv",Bpjbzib:"fkoldzo",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"],Brsut9c:"f1l983o9",Bqou3pl:"f1nhwcv0",Bsnehw8:"f1gm6xmp",Bbkh6qg:"fxoo9op",Bahaeuw:"f1v3eptx",Bv2bamp:"f1i0gk12",j2fop7:"fd4bjan"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"},rounded:{},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},small:{Bf4jedk:"fh7ncta",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fneth5b",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},smallWithIcon:{Byoj8tv:"f1brlhvm",z8tnut:"f1sl3k7w"},medium:{},large:{Bf4jedk:"f14es27b",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4db1ww",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},largeWithIcon:{Byoj8tv:"fy7v416",z8tnut:"f1a1bwwz"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",".fhovq9v{background-color:var(--colorSubtleBackground);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".fh7ncta{min-width:64px;}",[".fneth5b{padding:3px var(--spacingHorizontalS);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1brlhvm{padding-bottom:1px;}",".f1sl3k7w{padding-top:1px;}",".f14es27b{min-width:96px;}",[".f4db1ww{padding:8px var(--spacingHorizontalL);}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fy7v416{padding-bottom:7px;}",".f1a1bwwz{padding-top:7px;}"],h:[".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}",".fkoldzo:hover:active,.fkoldzo:active:focus-visible{background-color:var(--colorTransparentBackgroundPressed);}",".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}",".f1ksv2xa:hover:active,.f1ksv2xa:active:focus-visible{background-color:var(--colorBrandBackgroundPressed);}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}",".f1d6mv4x:hover:active,.f1d6mv4x:active:focus-visible{color:var(--colorNeutralForegroundOnBrand);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}",".ft1hn21:hover .fui-Icon-filled{display:inline;}",".fuxngvv:hover .fui-Icon-regular{display:none;}",".fy5bs14:hover .fui-Button__icon{color:var(--colorNeutralForeground2BrandHover);}",".f1q1yqic:hover:active,.f1q1yqic:active:focus-visible{background-color:var(--colorSubtleBackgroundPressed);}",".fwga7ee:hover:active,.fwga7ee:active:focus-visible{color:var(--colorNeutralForeground2Pressed);}",".f1nhwcv0:hover:active .fui-Icon-filled,.f1nhwcv0:active:focus-visible .fui-Icon-filled{display:inline;}",".f1gm6xmp:hover:active .fui-Icon-regular,.f1gm6xmp:active:focus-visible .fui-Icon-regular{display:none;}",".f1xxsver:hover:active .fui-Button__icon,.f1xxsver:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForeground2BrandPressed);}",".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}",".f1l983o9:hover:active,.f1l983o9:active:focus-visible{color:var(--colorNeutralForeground2BrandPressed);}"],m:[["@media (forced-colors: active){.f1nz3ub2{background-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fag2qd2{border-top-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f14bpyus{border-left-color:HighlightText;}.fmvhcg7{border-right-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1o3dhpw{border-bottom-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fqc85l4{color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1h3a8gf{forced-color-adjust:none;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fkiggi6:hover{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ysmecq:hover:active,.f1ysmecq:active:focus-visible{background-color:HighlightText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.faulsx:hover:active,.faulsx:active:focus-visible{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f79t15f:hover:active,.f79t15f:active:focus-visible{border-right-color:Highlight;}.f8qmx7k:hover:active,.f8qmx7k:active:focus-visible{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbtzoaq:hover:active,.fbtzoaq:active:focus-visible{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fd4bjan:hover:active,.fd4bjan:active:focus-visible{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fivsta0:hover .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3m6zum:hover:active .fui-Button__icon,.f3m6zum:active:focus-visible .fui-Button__icon{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fxoo9op:hover{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1i0gk12:hover:active,.f1i0gk12:active:focus-visible{background-color:var(--colorTransparentBackground);}}",{m:"(forced-colors: active)"}]]}),$C=/*@__PURE__*/D({base:{De3pzq:"f1bg9a2p",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bfinmwp:"f15x8b5r",Jwef8y:"f1falr9n",Bgoe8wy:"f12mpcsy",Bwzppfd:["f1gwvigk","f18rmfxp"],oetu4i:"f1jnshp0",gg5e9n:["f18rmfxp","f1gwvigk"],Bi91k9c:"fvgxktp",eoavqd:"fphbwmw",Bk3fhr4:"f19vpps7",Bmfj8id:"fv5swzo",Bbdnnc7:"f1al02dq",Bpjbzib:"f1jct5ie",im15vp:"f13txml0",Hjvxdg:["f1ncddno","f1axfvow"],Gpfmf1:"f1z04ada",ustxxc:["f1axfvow","f1ncddno"],Brsut9c:"f1uhomfy",Bses4qk:"fy9mucy",Bqou3pl:"f1g9va8i",Bsnehw8:"fwgvudy",wsxvnf:"fom6jww"},highContrast:{By8wz76:"f14ptb23",Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],B7iucu3:"f1cyfu5x",Grqk0h:"f127ot8j",h3ptyc:"f19etb0b",Buw724y:["f4f984j","fw441p0"],Buk7464:"f3d22hf",Hwei09:["fw441p0","f4f984j"],Bbkh6qg:"fj8k9ua",F230oe:"fifrq0d",Bdw8ktp:["f196mwp7","fnekfq"],Bj1xduy:"f1l6uprw",Bhh2cfd:["fnekfq","f196mwp7"],Bahaeuw:"fa9u7a5",Buhizc3:"f1m71e0y",Bv2bamp:"fw24f3",vxuvv6:"f1nznrny",Bli9q98:["fq8nxuu","f1ao3jkc"],Bx2tt8t:"ftoixeo",yad0b3:["f1ao3jkc","fq8nxuu"],j2fop7:"fpmuzpx",Bqabnb4:"f168odog"},outline:{De3pzq:"f1c21dwh",Jwef8y:"f9ql6rf",Bpjbzib:"f9r0db0"},primary:{g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},secondary:{},subtle:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]},transparent:{De3pzq:"f1c21dwh",g2u3we:"f1p3nwhy",h3c5rm:["f11589ue","f1pdflbu"],B9xav0g:"f1q5o8ev",zhjwy3:["f1pdflbu","f11589ue"],Jwef8y:"f9ql6rf",Bgoe8wy:"f1s2uweq",Bwzppfd:["fr80ssc","fecsdlb"],oetu4i:"f1ukrpxl",gg5e9n:["fecsdlb","fr80ssc"],Bpjbzib:"f9r0db0",im15vp:"fhvnf4x",Hjvxdg:["fb6swo4","f232fm2"],Gpfmf1:"f1klyf7k",ustxxc:["f232fm2","fb6swo4"]}},{d:[".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f15x8b5r .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1p3nwhy{border-top-color:transparent;}",".f11589ue{border-right-color:transparent;}",".f1pdflbu{border-left-color:transparent;}",".f1q5o8ev{border-bottom-color:transparent;}"],h:[".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}",".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}",".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".fphbwmw:hover{cursor:not-allowed;}",".f19vpps7:hover .fui-Icon-filled{display:none;}",".fv5swzo:hover .fui-Icon-regular{display:inline;}",".f1al02dq:hover .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f1jct5ie:hover:active,.f1jct5ie:active:focus-visible{background-color:var(--colorNeutralBackgroundDisabled);}",".f13txml0:hover:active,.f13txml0:active:focus-visible{border-top-color:var(--colorNeutralStrokeDisabled);}",".f1ncddno:hover:active,.f1ncddno:active:focus-visible{border-right-color:var(--colorNeutralStrokeDisabled);}",".f1axfvow:hover:active,.f1axfvow:active:focus-visible{border-left-color:var(--colorNeutralStrokeDisabled);}",".f1z04ada:hover:active,.f1z04ada:active:focus-visible{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1uhomfy:hover:active,.f1uhomfy:active:focus-visible{color:var(--colorNeutralForegroundDisabled);}",".fy9mucy:hover:active,.fy9mucy:active:focus-visible{cursor:not-allowed;}",".f1g9va8i:hover:active .fui-Icon-filled,.f1g9va8i:active:focus-visible .fui-Icon-filled{display:none;}",".fwgvudy:hover:active .fui-Icon-regular,.fwgvudy:active:focus-visible .fui-Icon-regular{display:inline;}",".fom6jww:hover:active .fui-Button__icon,.fom6jww:active:focus-visible .fui-Button__icon{color:var(--colorNeutralForegroundDisabled);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".f9r0db0:hover:active,.f9r0db0:active:focus-visible{background-color:var(--colorTransparentBackground);}",".f1s2uweq:hover{border-top-color:transparent;}",".fr80ssc:hover{border-right-color:transparent;}",".fecsdlb:hover{border-left-color:transparent;}",".f1ukrpxl:hover{border-bottom-color:transparent;}",".fhvnf4x:hover:active,.fhvnf4x:active:focus-visible{border-top-color:transparent;}",".fb6swo4:hover:active,.fb6swo4:active:focus-visible{border-right-color:transparent;}",".f232fm2:hover:active,.f232fm2:active:focus-visible{border-left-color:transparent;}",".f1klyf7k:hover:active,.f1klyf7k:active:focus-visible{border-bottom-color:transparent;}"],m:[["@media (forced-colors: active){.f14ptb23{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f127ot8j .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f19etb0b:focus{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f4f984j:focus{border-right-color:GrayText;}.fw441p0:focus{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3d22hf:focus{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fj8k9ua:hover{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fifrq0d:hover{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f196mwp7:hover{border-right-color:GrayText;}.fnekfq:hover{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1l6uprw:hover{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fa9u7a5:hover{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1m71e0y:hover .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fw24f3:hover:active,.fw24f3:active:focus-visible{background-color:ButtonFace;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1nznrny:hover:active,.f1nznrny:active:focus-visible{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ao3jkc:hover:active,.f1ao3jkc:active:focus-visible{border-left-color:GrayText;}.fq8nxuu:hover:active,.fq8nxuu:active:focus-visible{border-right-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.ftoixeo:hover:active,.ftoixeo:active:focus-visible{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fpmuzpx:hover:active,.fpmuzpx:active:focus-visible{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f168odog:hover:active .fui-Button__icon,.f168odog:active:focus-visible .fui-Button__icon{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),YC=/*@__PURE__*/D({circular:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1062rbf"},rounded:{},square:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fj0ryk1"},primary:{B8q5s1w:"f17t0x8g",Bci5o5g:["f194v5ow","fk7jm04"],n8qw10:"f1qgg65p",Bdrgwmp:["fk7jm04","f194v5ow"],j6ew2k:["fhgccpy","fjo7pq6"],he4mth:"f32wu9k",Byr4aka:"fu5nqqq",lks7q5:["f13prjl2","f1nl83rv"],Bnan3qt:"f1czftr5",k1dn9:["f1nl83rv","f13prjl2"],Bqsb82s:["fixhny3","f18mfu3r"],jg1oma:"feygou5"},small:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"fazmxh"},medium:{},large:{Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f1b6alqh"}},{d:[[".f1062rbf[data-fui-focus-visible]{border-radius:var(--borderRadiusCircular);}",{p:-1}],[".fj0ryk1[data-fui-focus-visible]{border-radius:var(--borderRadiusNone);}",{p:-1}],".f17t0x8g[data-fui-focus-visible]{border-top-color:var(--colorStrokeFocus2);}",".f194v5ow[data-fui-focus-visible]{border-right-color:var(--colorStrokeFocus2);}",".fk7jm04[data-fui-focus-visible]{border-left-color:var(--colorStrokeFocus2);}",".f1qgg65p[data-fui-focus-visible]{border-bottom-color:var(--colorStrokeFocus2);}",".fhgccpy[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".fjo7pq6[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}",".f32wu9k[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 var(--strokeWidthThin) var(--colorStrokeFocus2) inset;}",".fu5nqqq[data-fui-focus-visible]:hover{border-top-color:var(--colorStrokeFocus2);}",".f13prjl2[data-fui-focus-visible]:hover{border-right-color:var(--colorStrokeFocus2);}",".f1nl83rv[data-fui-focus-visible]:hover{border-left-color:var(--colorStrokeFocus2);}",".f1czftr5[data-fui-focus-visible]:hover{border-bottom-color:var(--colorStrokeFocus2);}",[".fazmxh[data-fui-focus-visible]{border-radius:var(--borderRadiusSmall);}",{p:-1}],[".f1b6alqh[data-fui-focus-visible]{border-radius:var(--borderRadiusLarge);}",{p:-1}]],t:["@supports (-moz-appearance:button){.f18mfu3r[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}.fixhny3[data-fui-focus-visible]{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset,0 0 0 var(--strokeWidthThick) var(--colorNeutralForegroundOnBrand) inset;}}","@supports (-moz-appearance:button){.feygou5[data-fui-focus-visible]:hover{box-shadow:var(--shadow2),0 0 0 calc(var(--strokeWidthThin) + 0.25px) var(--colorStrokeFocus2) inset;}}"]}),XC=/*@__PURE__*/D({small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fu97m5z",Bf4jedk:"f17fgpbq",B2u0y6b:"f1jt17bm"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f18ktai2",Bf4jedk:"fwbmr0d",B2u0y6b:"f44c6la"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1hbd1aw",Bf4jedk:"f12clzc2",B2u0y6b:"fjy1crr"}},{d:[[".fu97m5z{padding:1px;}",{p:-1}],".f17fgpbq{min-width:24px;}",".f1jt17bm{max-width:24px;}",[".f18ktai2{padding:5px;}",{p:-1}],".fwbmr0d{min-width:32px;}",".f44c6la{max-width:32px;}",[".f1hbd1aw{padding:7px;}",{p:-1}],".f12clzc2{min-width:40px;}",".fjy1crr{max-width:40px;}"]}),KC=/*@__PURE__*/D({small:{Be2twd7:"fe5j1ua",Bqenvij:"fjamq6b",a9b677:"f64fuq3",Bqrlyyl:"fbaiahx"},medium:{},large:{Be2twd7:"f1rt2boy",Bqenvij:"frvgh55",a9b677:"fq4mcun",Bqrlyyl:"f1exjqw5"},before:{t21cq0:["f1nizpg2","f1a695kz"]},after:{Frg6f3:["f1a695kz","f1nizpg2"]}},{d:[".fe5j1ua{font-size:20px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}",".f1rt2boy{font-size:24px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}",".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}",".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]}),n3=(a)=>{let l=QC(),c=JC(),o=IC(),r=$C(),e=YC(),h=XC(),Z=KC(),{appearance:t,disabled:i,disabledFocusable:n,icon:v,iconOnly:d,iconPosition:M,shape:_,size:p}=a;if(a.root.className=S(C6.root,l,t&&o[t],o[p],v&&p==="small"&&o.smallWithIcon,v&&p==="large"&&o.largeWithIcon,o[_],(i||n)&&r.base,(i||n)&&r.highContrast,t&&(i||n)&&r[t],t==="primary"&&e.primary,e[p],e[_],d&&h[p],a.root.className),a.icon)a.icon.className=S(C6.icon,c,!!a.root.children&&Z[M],Z[p],a.icon.className);return a};var f1=/*@__PURE__*/z((a,l)=>{let c=i3(a,l);return n3(c),I("useButtonStyles_unstable")(c),Z3(c)});f1.displayName="Button";var tm=e1(void 0),La=tm.Provider,N3=()=>l1(tm);var Ca=(a)=>{var l,c,o,r;let{generatedControlId:e,orientation:h,required:Z,size:t,validationState:i}=a,n=(l=a.label)===null||l===void 0?void 0:l.htmlFor,v=(c=a.label)===null||c===void 0?void 0:c.id,d=(o=a.validationMessage)===null||o===void 0?void 0:o.id,M=(r=a.hint)===null||r===void 0?void 0:r.id;return{field:v1(()=>({generatedControlId:e,hintId:M,labelFor:n,labelId:v,orientation:h,required:Z,size:t,validationMessageId:d,validationState:i}),[e,M,n,v,h,Z,t,d,i])}};function S5(a,l){return cr(N3(),a,l)}function cr(a,l,c){if(!a)return l;l={...l};let{generatedControlId:o,hintId:r,labelFor:e,labelId:h,required:Z,validationMessageId:t,validationState:i}=a;if(o){var n,v;(v=(n=l).id)!==null&&v!==void 0||(n.id=o)}if(h&&(!(c===null||c===void 0?void 0:c.supportsLabelFor)||e!==l.id)){var d,M,_;(_=(d=l)[M="aria-labelledby"])!==null&&_!==void 0||(d[M]=h)}if(t||r)l["aria-describedby"]=[t,r,l===null||l===void 0?void 0:l["aria-describedby"]].filter(Boolean).join(" ");if(i==="error"){var p,A,m;(m=(p=l)[A="aria-invalid"])!==null&&m!==void 0||(p[A]=!0)}if(Z)if(c===null||c===void 0?void 0:c.supportsRequired){var u,V;(V=(u=l).required)!==null&&V!==void 0||(u.required=!0)}else{var s,F,L;(L=(s=l)[F="aria-required"])!==null&&L!==void 0||(s[F]=!0)}if(c===null||c===void 0?void 0:c.supportsSize){var C,P;(P=(C=l).size)!==null&&P!==void 0||(C.size=a.size)}return l}var Ra=(a,l)=>{J(a);let{children:c}=a;if(typeof c==="function")c=c(cr(l.field)||{});return/*@__PURE__*/g(La,{value:l===null||l===void 0?void 0:l.field,children:/*@__PURE__*/_1(a.root,{children:[a.label&&/*@__PURE__*/g(a.label,{}),c,a.validationMessage&&/*@__PURE__*/_1(a.validationMessage,{children:[a.validationMessageIcon&&/*@__PURE__*/g(a.validationMessageIcon,{}),a.validationMessage.children]}),a.hint&&/*@__PURE__*/g(a.hint,{})]})})};var wa=(a,l)=>{let{disabled:c=!1,required:o=!1,weight:r="regular",size:e="medium"}=a;return{disabled:c,required:U.optional(o===!0?"*":o||void 0,{defaultProps:{"aria-hidden":"true"},elementType:"span"}),weight:r,size:e,components:{root:"label",required:"span"},root:U.always(o1("label",{ref:l,...a}),{elementType:"label"})}};var Sa=(a)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[a.root.children,a.required&&/*@__PURE__*/g(a.required,{})]})};var Ga={root:"fui-Label",required:"fui-Label__required"},uR=/*@__PURE__*/D({root:{Bahqtrf:"fk6fouc",sj55zd:"f19n0e5"},disabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},required:{sj55zd:"f1whyuy6",uwmqm3:["fruq291","f7x41pl"]},small:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},medium:{Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi"},large:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k",Bhrd7zp:"fl43uef"},semibold:{Bhrd7zp:"fl43uef"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1whyuy6{color:var(--colorPaletteRedForeground3);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Ua=(a)=>{let l=uR();if(a.root.className=S(Ga.root,l.root,a.disabled&&l.disabled,l[a.size],a.weight==="semibold"&&l.semibold,a.root.className),a.required)a.required.className=S(Ga.required,l.required,a.disabled&&l.disabled,a.required.className);return a};var s0=/*@__PURE__*/z((a,l)=>{let c=wa(a,l);return Ua(c),I("useLabelStyles_unstable")(c),Sa(c)});s0.displayName="Label";var sR={error:/*@__PURE__*/c1(em,null),warning:/*@__PURE__*/c1($A,null),success:/*@__PURE__*/c1(NA,null),none:void 0},Da=(a,l)=>{let{children:c,orientation:o="vertical",required:r=!1,validationState:e=a.validationMessage?"error":"none",size:h="medium"}=a,Z=J1("field-"),t=Z+"__control",i=U.always(o1("div",{...a,ref:l},["children"]),{elementType:"div"}),n=U.optional(a.label,{defaultProps:{htmlFor:t,id:Z+"__label",required:r,size:h},elementType:s0}),v=U.optional(a.validationMessage,{defaultProps:{id:Z+"__validationMessage",role:e==="error"||e==="warning"?"alert":void 0},elementType:"div"}),d=U.optional(a.hint,{defaultProps:{id:Z+"__hint"},elementType:"div"}),M=sR[e],_=U.optional(a.validationMessageIcon,{renderByDefault:!!M,defaultProps:{children:M},elementType:"span"});return{children:c,generatedControlId:t,orientation:o,required:r,size:h,validationState:e,components:{root:"div",label:s0,validationMessage:"div",validationMessageIcon:"span",hint:"div"},root:i,label:n,validationMessageIcon:_,validationMessage:v,hint:d}};var d3={root:"fui-Field",label:"fui-Field__label",validationMessage:"fui-Field__validationMessage",validationMessageIcon:"fui-Field__validationMessageIcon",hint:"fui-Field__hint"};var VR=/*@__PURE__*/D({base:{mc9l5x:"f13qh94s"},horizontal:{Budl1dq:"f2wwaib",wkccdc:"f1645dqt"},horizontalNoLabel:{uwmqm3:["f15jqgz8","fggqkej"],Budl1dq:"f1c2z91y"}},{d:[".f13qh94s{display:grid;}",".f2wwaib{grid-template-columns:33% 1fr;}",".f1645dqt{grid-template-rows:auto auto auto 1fr;}",".f15jqgz8{padding-left:33%;}",".fggqkej{padding-right:33%;}",".f1c2z91y{grid-template-columns:1fr;}"]}),fR=/*@__PURE__*/D({base:{B2u0y6b:"f6nezus",Bxyxcbc:"f1iqmcbn"},vertical:{z8tnut:"fclwglc",Byoj8tv:"fywfov9",jrapky:"fyacil5"},verticalLarge:{z8tnut:"f1sl3k7w",Byoj8tv:"f1brlhvm",jrapky:"f8l5zjj"},horizontal:{z8tnut:"fp2oml8",Byoj8tv:"f1tdddsa",t21cq0:["fkujibs","f199hnxi"],Ijaq50:"f16hsg94",nk6f5a:"f1nzqi2z"},horizontalSmall:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun"},horizontalLarge:{z8tnut:"f1hqyr95",Byoj8tv:"fm4hlj0"}},{d:[".f6nezus{max-width:max-content;}",".f1iqmcbn{max-height:max-content;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}",".fywfov9{padding-bottom:var(--spacingVerticalXXS);}",".fyacil5{margin-bottom:var(--spacingVerticalXXS);}",".f1sl3k7w{padding-top:1px;}",".f1brlhvm{padding-bottom:1px;}",".f8l5zjj{margin-bottom:var(--spacingVerticalXS);}",".fp2oml8{padding-top:var(--spacingVerticalSNudge);}",".f1tdddsa{padding-bottom:var(--spacingVerticalSNudge);}",".fkujibs{margin-right:var(--spacingHorizontalM);}",".f199hnxi{margin-left:var(--spacingHorizontalM);}",".f16hsg94{grid-row-start:1;}",".f1nzqi2z{grid-row-end:-1;}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".f1hqyr95{padding-top:9px;}",".fm4hlj0{padding-bottom:9px;}"]}),FR=/*@__PURE__*/j("r5c4z9l",null,[".r5c4z9l{margin-top:var(--spacingVerticalXXS);color:var(--colorNeutralForeground3);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase200);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase200);}"]),xR=/*@__PURE__*/D({error:{sj55zd:"f1hcrxcs"},withIcon:{uwmqm3:["frawy03","fg4c52"]}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".frawy03{padding-left:calc(12px + var(--spacingHorizontalXS));}",".fg4c52{padding-right:calc(12px + var(--spacingHorizontalXS));}"]}),gR=/*@__PURE__*/j("ra7h1uk","r1rh6bd7",[".ra7h1uk{display:inline-block;font-size:12px;margin-left:calc(-12px - var(--spacingHorizontalXS));margin-right:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}",".r1rh6bd7{display:inline-block;font-size:12px;margin-right:calc(-12px - var(--spacingHorizontalXS));margin-left:var(--spacingHorizontalXS);line-height:0;vertical-align:-1px;}"]),LR=/*@__PURE__*/D({error:{sj55zd:"f1hcrxcs"},warning:{sj55zd:"f1k5f75o"},success:{sj55zd:"ffmvakt"}},{d:[".f1hcrxcs{color:var(--colorPaletteRedForeground1);}",".f1k5f75o{color:var(--colorPaletteDarkOrangeForeground1);}",".ffmvakt{color:var(--colorPaletteGreenForeground1);}"]}),Ba=(a)=>{let{validationState:l,size:c}=a,o=a.orientation==="horizontal",r=VR();a.root.className=S(d3.root,r.base,o&&r.horizontal,o&&!a.label&&r.horizontalNoLabel,a.root.className);let e=fR();if(a.label)a.label.className=S(d3.label,e.base,o&&e.horizontal,o&&c==="small"&&e.horizontalSmall,o&&c==="large"&&e.horizontalLarge,!o&&e.vertical,!o&&c==="large"&&e.verticalLarge,a.label.className);let h=gR(),Z=LR();if(a.validationMessageIcon)a.validationMessageIcon.className=S(d3.validationMessageIcon,h,l!=="none"&&Z[l],a.validationMessageIcon.className);let t=FR(),i=xR();if(a.validationMessage)a.validationMessage.className=S(d3.validationMessage,t,l==="error"&&i.error,!!a.validationMessageIcon&&i.withIcon,a.validationMessage.className);if(a.hint)a.hint.className=S(d3.hint,t,a.hint.className);return a};var a4=/*@__PURE__*/z((a,l)=>{let c=Da(a,l);Ba(c),I("useFieldStyles_unstable")(c);let o=Ca(c);return Ra(c,o)});a4.displayName="Field";var ka=(a,l)=>{a=S5(a,{supportsLabelFor:!0,supportsRequired:!0});let{disabled:c=!1,required:o,shape:r="square",size:e="medium",labelPosition:h="after",onChange:Z}=a,[t,i]=q0({defaultState:a.defaultChecked,state:a.checked,initialState:!1}),n=E2({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","size","onChange"]}),v=t==="mixed",d=J1("checkbox-",n.primary.id),M;if(v)if(r==="circular")M=/*@__PURE__*/c1(Xo,null);else M=e==="large"?/*@__PURE__*/c1(om,null):/*@__PURE__*/c1(cm,null);else if(t)M=e==="large"?/*@__PURE__*/c1(jA,null):/*@__PURE__*/c1(lr,null);let _={shape:r,checked:t,disabled:c,size:e,labelPosition:h,components:{root:"span",input:"input",indicator:"div",label:s0},root:U.always(a.root,{defaultProps:{ref:c2(),...n.root},elementType:"span"}),input:U.always(a.input,{defaultProps:{type:"checkbox",id:d,ref:l,checked:t===!0,...n.primary},elementType:"input"}),label:U.optional(a.label,{defaultProps:{htmlFor:d,disabled:c,required:o,size:"medium"},elementType:s0}),indicator:U.optional(a.indicator,{renderByDefault:!0,defaultProps:{"aria-hidden":!0,children:M},elementType:"div"})};_.input.onChange=Y((A)=>{let m=A.currentTarget.indeterminate?"mixed":A.currentTarget.checked;Z===null||Z===void 0||Z(A,{checked:m}),i(m)});let p=g1(_.input.ref);return _.input.ref=p,P1(()=>{if(p.current)p.current.indeterminate=v},[p,v]),_};var ya=(a)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[/*@__PURE__*/g(a.input,{}),a.labelPosition==="before"&&a.label&&/*@__PURE__*/g(a.label,{}),a.indicator&&/*@__PURE__*/g(a.indicator,{}),a.labelPosition==="after"&&a.label&&/*@__PURE__*/g(a.label,{})]})};var l4={root:"fui-Checkbox",label:"fui-Checkbox__label",input:"fui-Checkbox__input",indicator:"fui-Checkbox__indicator"};var CR=/*@__PURE__*/j("r1nzur1d","r128arqq",{r:[".r1nzur1d{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r1nzur1d:focus{outline-style:none;}",".r1nzur1d:focus-visible{outline-style:none;}",".r1nzur1d[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1nzur1d[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r128arqq{position:relative;display:inline-flex;cursor:pointer;max-width:fit-content;vertical-align:middle;color:var(--colorNeutralForeground3);}",".r128arqq:focus{outline-style:none;}",".r128arqq:focus-visible{outline-style:none;}",".r128arqq[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r128arqq[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1nzur1d[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r128arqq[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),RR=/*@__PURE__*/D({unchecked:{Bi91k9c:"f3p8bqa",pv5h1i:"fium13f",lj723h:"f1r2dosr",Hnthvo:"f1729es6"},checked:{sj55zd:"f19n0e5",wkncrt:"f35ds98",zxk7z7:"f12mnkne",Hmsnfy:"fei9a8h",e6czan:"fix56y3",pv5h1i:"f1bcv2js",qbydtz:"f7dr4go",Hnthvo:"f1r5cpua"},mixed:{sj55zd:"f19n0e5",Hmsnfy:"f1l27tf0",zxk7z7:"fcilktj",pv5h1i:"f1lphd54",Bunfa6h:"f1obkvq7",Hnthvo:"f2gmbuh",B15ykmv:"f1oy4fa1"},disabled:{Bceei9c:"f158kwzp",sj55zd:"f1s2aq7o",Hmsnfy:"f1w7mfl5",zxk7z7:"fcoafq6",B7iucu3:"f1cyfu5x",Bptavk6:"f1lwde8o"}},{h:[".f3p8bqa:hover{color:var(--colorNeutralForeground2);}",".fium13f:hover{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessibleHover);}",".fix56y3:hover{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundHover);}",".f1bcv2js:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundHover);}",".f1lphd54:hover{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokeHover);}",".f1obkvq7:hover{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Hover);}"],a:[".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".f1729es6:active{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeAccessiblePressed);}",".f7dr4go:active{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackgroundPressed);}",".f1r5cpua:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackgroundPressed);}",".f2gmbuh:active{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStrokePressed);}",".f1oy4fa1:active{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1Pressed);}"],d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f35ds98{--fui-Checkbox__indicator--backgroundColor:var(--colorCompoundBrandBackground);}",".f12mnkne{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundInverted);}",".fei9a8h{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandBackground);}",".f1l27tf0{--fui-Checkbox__indicator--borderColor:var(--colorCompoundBrandStroke);}",".fcilktj{--fui-Checkbox__indicator--color:var(--colorCompoundBrandForeground1);}",".f158kwzp{cursor:default;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1w7mfl5{--fui-Checkbox__indicator--borderColor:var(--colorNeutralStrokeDisabled);}",".fcoafq6{--fui-Checkbox__indicator--color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1lwde8o{--fui-Checkbox__indicator--color:GrayText;}}",{m:"(forced-colors: active)"}]]}),wR=/*@__PURE__*/j("ruo9svu",null,[".ruo9svu{box-sizing:border-box;cursor:inherit;height:100%;margin:0;opacity:0;position:absolute;top:0;width:calc(16px + 2 * var(--spacingHorizontalS));}"]),SR=/*@__PURE__*/D({before:{j35jbq:["f1e31b4d","f1vgc2s3"]},after:{oyh7mz:["f1vgc2s3","f1e31b4d"]},large:{a9b677:"f1mq5jt6"}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f1mq5jt6{width:calc(20px + 2 * var(--spacingHorizontalS));}"]}),GR=/*@__PURE__*/j("rl7ci6d",null,[".rl7ci6d{align-self:flex-start;box-sizing:border-box;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--fui-Checkbox__indicator--color);background-color:var(--fui-Checkbox__indicator--backgroundColor);border-color:var(--fui-Checkbox__indicator--borderColor, var(--colorNeutralStrokeAccessible));border-style:solid;border-width:var(--strokeWidthThin);border-radius:var(--borderRadiusSmall);margin:var(--spacingVerticalS) var(--spacingHorizontalS);fill:currentColor;pointer-events:none;font-size:12px;height:16px;width:16px;}"]),UR=/*@__PURE__*/D({large:{Be2twd7:"f4ybsrx",Bqenvij:"fjamq6b",a9b677:"f64fuq3"},circular:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f44lkw9"}},{d:[".f4ybsrx{font-size:16px;}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",[".f44lkw9{border-radius:var(--borderRadiusCircular);}",{p:-1}]]}),DR=/*@__PURE__*/D({base:{qb2dma:"f7nlbp4",sj55zd:"f1ym3bx4",Bceei9c:"fpo1scq",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},before:{z189sj:["f7x41pl","fruq291"]},after:{uwmqm3:["fruq291","f7x41pl"]},medium:{B6of3ja:"fjzwpt6",jrapky:"fh6j2fo"},large:{B6of3ja:"f1xlvstr",jrapky:"f49ad5g"}},{d:[".f7nlbp4{align-self:center;}",".f1ym3bx4{color:inherit;}",".fpo1scq{cursor:inherit;}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".f7x41pl{padding-right:var(--spacingHorizontalXS);}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".fjzwpt6{margin-top:calc((16px - var(--lineHeightBase300)) / 2);}",".fh6j2fo{margin-bottom:calc((16px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}"]}),Oa=(a)=>{let{checked:l,disabled:c,labelPosition:o,shape:r,size:e}=a,h=CR(),Z=RR();a.root.className=S(l4.root,h,c?Z.disabled:l==="mixed"?Z.mixed:l?Z.checked:Z.unchecked,a.root.className);let t=wR(),i=SR();a.input.className=S(l4.input,t,e==="large"&&i.large,i[o],a.input.className);let n=GR(),v=UR();if(a.indicator)a.indicator.className=S(l4.indicator,n,e==="large"&&v.large,r==="circular"&&v.circular,a.indicator.className);let d=DR();if(a.label)a.label.className=S(l4.label,d.base,d[e],d[o],a.label.className);return a};var c4=/*@__PURE__*/z((a,l)=>{let c=ka(a,l);return Oa(c),I("useCheckboxStyles_unstable")(c),ya(c)});c4.displayName="Checkbox";var or=w8(im(),1),kR=(a)=>{let l=(c)=>{let o=y(c.value),r=y(0),e=y(null);if(!e.current)e.current={value:o,version:r,listeners:[]};return P1(()=>{o.current=c.value,r.current+=1,or.unstable_runWithPriority(or.unstable_NormalPriority,()=>{e.current.listeners.forEach((h)=>{h([r.current,c.value])})})},[c.value]),c1(a,{value:e.current},c.children)};return l.displayName="ContextSelector.Provider",l},h2=(a)=>{let l=e1({value:{current:a},version:{current:-1},listeners:[]});return l.Provider=kR(l.Provider),delete l.Consumer,l};var M3=(a,l)=>{let c=l1(a),{value:{current:o},version:{current:r},listeners:e}=c,h=l(o),[Z,t]=h1([o,h]),i=(v)=>{t((d)=>{if(!v)return[o,h];if(v[0]<=r){if(Object.is(d[1],h))return d;return[o,h]}try{if(Object.is(d[0],v[1]))return d;let M=l(v[1]);if(Object.is(d[1],M))return d;return[v[1],M]}catch(M){}return[d[0],d[1]]})};if(!Object.is(Z[1],h))i(void 0);let n=Y(i);return P1(()=>{return e.push(n),()=>{let v=e.indexOf(n);e.splice(v,1)}},[n,e]),Z[1]};function r4(a){let l=l1(a);if(l.version)return l.version.current!==-1;return!1}var yR={activeOption:void 0,focusVisible:!1,multiselect:!1,getOptionById(){return},getOptionsMatchingValue(){return[]},registerOption(){return()=>{return}},selectedOptions:[],onOptionClick(){},onActiveDescendantChange(){},selectOption(){},setActiveOption(){}},$2=h2(void 0),j0=(a)=>M3($2,(l=yR)=>a(l)),P41=$2.Provider;function OR(a,l){if(a!==void 0)return a;let c="",o=!1;if(T5.forEach(l,(r)=>{if(typeof r==="string")c+=r;else o=!0}),o)console.warn("Provide a `text` prop to Option components when they contain non-string children.");return c}var Pa=(a,l)=>{let{children:c,disabled:o,text:r,value:e}=a,h=y(null),Z=OR(r,c),t=e!==null&&e!==void 0?e:Z,i=J1("fluent-option",a.id),n=v1(()=>({id:i,disabled:o,text:Z,value:t}),[i,o,Z,t]),{controller:v}=F6(),d=j0((s)=>s.multiselect),M=j0((s)=>s.registerOption),_=j0((s)=>{let F=s.selectedOptions;return t!==void 0&&F.find((L)=>L===t)!==void 0}),p=j0((s)=>s.selectOption),A=j0((s)=>s.onOptionClick),m=/*@__PURE__*/c1(WA,null);if(d)m=_?/*@__PURE__*/c1(lr,null):"";let u=(s)=>{var F;if(o){s.preventDefault();return}v.focus(i),p(s,n),A(s),(F=a.onClick)===null||F===void 0||F.call(a,s)};X(()=>{if(i&&h.current)return M(n,h.current)},[i,n,M]);let V=d?{role:"menuitemcheckbox","aria-checked":_}:{role:"option","aria-selected":_};return{components:{root:"div",checkIcon:"span"},root:U.always(o1("div",{ref:g1(l,h),"aria-disabled":o?"true":void 0,id:i,...V,...a,onClick:u}),{elementType:"div"}),checkIcon:U.optional(a.checkIcon,{renderByDefault:!0,defaultProps:{"aria-hidden":"true",children:m},elementType:"span"}),disabled:o,multiselect:d,selected:_,focusVisible:!1,active:!1}};var Ta=(a)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[a.checkIcon&&/*@__PURE__*/g(a.checkIcon,{}),a.root.children]})};var D7={root:"fui-Option",checkIcon:"fui-Option__checkIcon"},PR=/*@__PURE__*/D({root:{Bt984gj:"f122n59",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",sj55zd:"f19n0e5",i8kkvl:"f1ufnopg",Bceei9c:"f1k6fduh",mc9l5x:"f22iagw",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fm5eomj",qhf8xq:"f10pi13n",Jwef8y:"f1knas48",Bi91k9c:"feu1g3u",zqbkvg:"fo79ri9",h82x05:["f1osiabc","f1e8le25"],cqj998:"f1yusjty",j3hlsh:["f1e8le25","f1osiabc"],ecr2s2:"fb40n2d",lj723h:"f1g4hkjv",Btxx2vb:"f1lnr2zp",sltcwy:["f1ogfk9z","f1g7j8ec"],dnwvvm:"fiuf46r",Blyvkvs:["f1g7j8ec","f1ogfk9z"]},active:{Bowz1zl:"f11vrvdw",oxogb1:"f17hxjb7",Ix2sn8:"f1dha69c",q7v32p:"f1lm7500",B7cbj04:0,Bewtojm:0,b50fsz:0,B1wzb3v:0,Bqwk70n:0,B37u8z8:0,avt0cx:0,f0sref:0,B9fkznv:0,Be3o27t:0,Bertapg:0,B53xpsf:0,Bsv72rj:0,B39dzdd:0,Btq9bd3:0,Bqfxd14:0,atup0s:"fo7xqb",Fffuxt:0,Bttcd12:0,Beitzug:0,Bqougee:0,B86i8pi:"f1kurthe",Bhijsxg:"fwq15dy",kktds4:"f1pb3wry",Bmau3bo:["ftjv2f4","f1flhb1f"],npektv:["f1flhb1f","ftjv2f4"]},disabled:{sj55zd:"f1s2aq7o",Jwef8y:"f9ql6rf",Bi91k9c:"fvgxktp",zqbkvg:"f185j3qj",h82x05:["f1dligi3","f1vydzie"],cqj998:"fjw1di3",j3hlsh:["f1vydzie","f1dligi3"],ecr2s2:"fgj9um3",lj723h:"f19wldhg",Btxx2vb:"f1ss0kt2",sltcwy:["f1t6oli3","fjy9ci8"],dnwvvm:"fresaxk",Blyvkvs:["fjy9ci8","f1t6oli3"],B7iucu3:"f1cyfu5x"},selected:{},checkIcon:{Bnnss6s:"fi64zpg",Be2twd7:"fod5ikn",Frg6f3:["f18b9hdq","fn6qj8t"],t21cq0:["f1xk557c","f1h9en5y"],Bcdw1i0:"fd7fpy0",Bo70h7d:"fvc9v3g"},selectedCheck:{Bcdw1i0:"f1022m68"},multiselectCheck:{Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f1l3cf7o",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fq9zq91",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Bt984gj:"f122n59",Brf1p80:"f4d9j23",Bkfmm31:"f1w9h62z",Be2twd7:"f1ugzwwg",Bqenvij:"fd461yt",a9b677:"fjw5fx7",Bcdw1i0:"f1022m68"},selectedMultiselectCheck:{De3pzq:"ftywsgz",sj55zd:"fqpbvvt",g2u3we:"f3xi7mh",h3c5rm:["ftovhe4","f1wczvin"],B9xav0g:"f68vbr6",zhjwy3:["f1wczvin","ftovhe4"]},checkDisabled:{sj55zd:"f1s2aq7o",B7iucu3:"f1cyfu5x"},multiselectCheckDisabled:{g2u3we:"f1r1t4y1",h3c5rm:["fmj8ijw","figx54m"],B9xav0g:"f360ss8",zhjwy3:["figx54m","fmj8ijw"]}},{d:[".f122n59{align-items:center;}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ufnopg{column-gap:var(--spacingHorizontalXS);}",".f1k6fduh{cursor:pointer;}",".f22iagw{display:flex;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".fm5eomj{padding:var(--spacingVerticalSNudge) var(--spacingHorizontalS);}",{p:-1}],".f10pi13n{position:relative;}",'.f11vrvdw[data-activedescendant-focusvisible]::after{content:"";}',".f17hxjb7[data-activedescendant-focusvisible]::after{position:absolute;}",".f1dha69c[data-activedescendant-focusvisible]::after{pointer-events:none;}",".f1lm7500[data-activedescendant-focusvisible]::after{z-index:1;}",[".fo7xqb[data-activedescendant-focusvisible]::after{border:2px solid var(--colorStrokeFocus2);}",{p:-2}],[".f1kurthe[data-activedescendant-focusvisible]::after{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fwq15dy[data-activedescendant-focusvisible]::after{top:-2px;}",".f1pb3wry[data-activedescendant-focusvisible]::after{bottom:-2px;}",".ftjv2f4[data-activedescendant-focusvisible]::after{left:-2px;}",".f1flhb1f[data-activedescendant-focusvisible]::after{right:-2px;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fi64zpg{flex-shrink:0;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".f18b9hdq{margin-left:calc(var(--spacingHorizontalXXS) * -1);}",".fn6qj8t{margin-right:calc(var(--spacingHorizontalXXS) * -1);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".fd7fpy0{visibility:hidden;}",".fvc9v3g svg{display:block;}",".f1022m68{visibility:visible;}",[".f1l3cf7o{border:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-2}],[".fq9zq91{border-radius:var(--borderRadiusSmall);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".f4d9j23{justify-content:center;}",".f1w9h62z{fill:currentColor;}",".f1ugzwwg{font-size:12px;}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}",".f3xi7mh{border-top-color:var(--colorCompoundBrandBackground);}",".ftovhe4{border-right-color:var(--colorCompoundBrandBackground);}",".f1wczvin{border-left-color:var(--colorCompoundBrandBackground);}",".f68vbr6{border-bottom-color:var(--colorCompoundBrandBackground);}",".f1r1t4y1{border-top-color:var(--colorNeutralForegroundDisabled);}",".fmj8ijw{border-right-color:var(--colorNeutralForegroundDisabled);}",".figx54m{border-left-color:var(--colorNeutralForegroundDisabled);}",".f360ss8{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],h:[".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".fo79ri9:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1osiabc:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1e8le25:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".f1yusjty:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".f9ql6rf:hover{background-color:var(--colorTransparentBackground);}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f185j3qj:hover .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1dligi3:hover .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".f1vydzie:hover .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fjw1di3:hover .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],a:[".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1lnr2zp:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForeground1Hover);}",".f1ogfk9z:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForeground1Hover);}",".f1g7j8ec:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForeground1Hover);}",".fiuf46r:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForeground1Hover);}",".fgj9um3:active{background-color:var(--colorTransparentBackground);}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ss0kt2:active .fui-Option__checkIcon{border-top-color:var(--colorNeutralForegroundDisabled);}",".f1t6oli3:active .fui-Option__checkIcon{border-right-color:var(--colorNeutralForegroundDisabled);}",".fjy9ci8:active .fui-Option__checkIcon{border-left-color:var(--colorNeutralForegroundDisabled);}",".fresaxk:active .fui-Option__checkIcon{border-bottom-color:var(--colorNeutralForegroundDisabled);}"],m:[["@media (forced-colors: active){.f1cyfu5x{color:GrayText;}}",{m:"(forced-colors: active)"}]]}),Ea=(a)=>{let{disabled:l,multiselect:c,selected:o}=a,r=PR();if(a.root.className=S(D7.root,r.root,r.active,l&&r.disabled,o&&r.selected,a.root.className),a.checkIcon)a.checkIcon.className=S(D7.checkIcon,r.checkIcon,c&&r.multiselectCheck,o&&r.selectedCheck,o&&c&&r.selectedMultiselectCheck,l&&r.checkDisabled,l&&c&&r.multiselectCheckDisabled,a.checkIcon.className);return a};var e4=/*@__PURE__*/z((a,l)=>{let c=Pa(a,l);return Ea(c),I("useOptionStyles_unstable")(c),Ta(c)});e4.displayName="Option";var rr=()=>{let a=y(/*@__PURE__*/new Map),l=v1(()=>{return{getCount:()=>a.current.size,getOptionAtIndex:()=>{return},getIndexOfId:()=>-1,getOptionById:(i)=>{return a.current.get(i)},getOptionsMatchingText:(i)=>{return Array.from(a.current.values()).filter(({text:n})=>i(n))},getOptionsMatchingValue:(i)=>{let n=[];for(let v of a.current.values())if(i(v.value))n.push(v);return n}}},[]),c=Q((o)=>{return a.current.set(o.id,o),()=>a.current.delete(o.id)},[]);return{...l,options:Array.from(a.current.values()),registerOption:c}};var er=(a)=>{let{defaultSelectedOptions:l,multiselect:c,onOptionSelect:o}=a,[r,e]=q0({state:a.selectedOptions,defaultState:l,initialState:[]}),h=Q((t,i)=>{if(i.disabled)return;let n=[i.value];if(c){let v=r.findIndex((d)=>d===i.value);if(v>-1)n=[...r.slice(0,v),...r.slice(v+1)];else n=[...r,i.value]}e(n),o===null||o===void 0||o(t,{optionValue:i.value,optionText:i.text,selectedOptions:n})},[o,c,r,e]);return{clearSelection:(t)=>{e([]),o===null||o===void 0||o(t,{optionValue:void 0,optionText:void 0,selectedOptions:[]})},selectOption:h,selectedOptions:r}};var vm=(a)=>{let{appearance:l="outline",disableAutoFocus:c,children:o,clearable:r=!1,editable:e=!1,inlinePopup:h=!1,mountNode:Z=void 0,multiselect:t,onOpenChange:i,size:n="medium",activeDescendantController:v,freeform:d=!1,disabled:M=!1,onActiveOptionChange:_=null}=a,p=rr(),{getOptionsMatchingValue:A}=p,{getOptionById:m}=p,u=Q(()=>{let T=v.active();return T?m(T):void 0},[v,m]),V=u(),s=Q((T)=>{let O=void 0;if(typeof T==="function"){let F1=u();O=T(F1)}if(O)v.focus(O.id);else v.blur()},[v,u]),[F,L]=h1(!1),[C,P]=h1(!1),W=y(!1),r1=Z6(),[t1,N]=q0({state:a.value,initialState:void 0}),{selectedOptions:R,selectOption:w,clearSelection:x}=er(a),B=Q((T,O)=>{Q8(()=>{N(void 0),w(T,O)})},[N,w]),k=v1(()=>{if(t1!==void 0)return t1;if(r1&&a.defaultValue!==void 0)return a.defaultValue;let T=A((O)=>{return R.includes(O)}).map((O)=>O.text);if(t)return e?"":T.join(", ");return T[0]},[t1,e,A,t,R]),[$,E]=q0({state:a.open,defaultState:a.defaultOpen,initialState:!1}),d1=Q((T,O)=>{if(M)return;i===null||i===void 0||i(T,{open:O}),Q8(()=>{if(!O&&!d)N(void 0);E(O)})},[i,E,N,d,M]);X(()=>{if($){if(!t&&R.length>0){let T=A((O)=>O===R[0]).pop();if(T===null||T===void 0?void 0:T.id)v.focus(T.id)}}else v.blur()},[$,v]),X(()=>{if($&&!c&&!v.active())v.first()},[$,o,c,v,m]);let s1=Y((T)=>{let O=T.detail.previousId?p.getOptionById(T.detail.previousId):null,F1=p.getOptionById(T.detail.id);_===null||_===void 0||_(T,{event:T,type:"change",previousOption:O,nextOption:F1})});return{...p,freeform:d,disabled:M,selectOption:B,clearSelection:x,selectedOptions:R,activeOption:V,appearance:l,clearable:r,focusVisible:F,ignoreNextBlur:W,inlinePopup:h,mountNode:Z,open:$,hasFocus:C,setActiveOption:s,setFocusVisible:L,setHasFocus:P,setOpen:d1,setValue:N,size:n,value:k,multiselect:t,onOptionClick:Y((T)=>{if(!t)d1(T,!1)}),onActiveDescendantChange:s1}};var gt="data-popper-is-intersecting",Lt="data-popper-escaped",Ct="data-popper-reference-hidden",nm="data-popper-placement",qa="fui-positioningend",R6="--fui-positioning-slide-direction-x",w6="--fui-positioning-slide-direction-y";function TR(a){let l=a.split("-")[0],c=0,o=1;if(l==="right")c=-1,o=0;else if(l==="bottom")c=0,o=-1;else if(l==="left")c=1,o=0;return{x:c,y:o}}function Rt(a){let{targetDocument:l,onPositioningEnd:c}=a,o=Y((r)=>{c===null||c===void 0||c(r);let e=r.target,h=r.detail.placement;if(!G1(e))return;let{x:Z,y:t}=TR(h);e.style.setProperty(R6,`${Z}px`),e.style.setProperty(w6,`${t}px`)});return X(()=>{var r,e,h;let Z=(h=l===null||l===void 0?void 0:(e=l.defaultView)===null||e===void 0?void 0:(r=e.CSS)===null||r===void 0?void 0:r.registerProperty)!==null&&h!==void 0?h:()=>{};try{Z({name:R6,syntax:"<length>",inherits:!1,initialValue:"0px"}),Z({name:w6,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch(t){}},[l]),o}var pm=["top","right","bottom","left"];var{min:B7,max:H5,round:ba}=Math;var Z2=(a)=>({x:a,y:a}),ER={left:"right",right:"left",bottom:"top",top:"bottom"};function Zr(a,l,c){return H5(a,B7(l,c))}function Y2(a,l){return typeof a==="function"?a(l):a}function X2(a){return a.split("-")[0]}function h4(a){return a.split("-")[1]}function tr(a){return a==="x"?"y":"x"}function ir(a){return a==="y"?"height":"width"}function t2(a){let l=a[0];return l==="t"||l==="b"?"y":"x"}function vr(a){return tr(t2(a))}function _m(a,l,c){if(c===void 0)c=!1;let o=h4(a),r=vr(a),e=ir(r),h=r==="x"?o===(c?"end":"start")?"right":"left":o==="start"?"bottom":"top";if(l.reference[e]>l.floating[e])h=Wa(h);return[h,Wa(h)]}function Am(a){let l=Wa(a);return[hr(a),l,hr(l)]}function hr(a){return a.includes("start")?a.replace("start","end"):a.replace("end","start")}var dm=["left","right"],Mm=["right","left"],qR=["top","bottom"],WR=["bottom","top"];function bR(a,l,c){switch(a){case"top":case"bottom":if(c)return l?Mm:dm;return l?dm:Mm;case"left":case"right":return l?qR:WR;default:return[]}}function mm(a,l,c,o){let r=h4(a),e=bR(X2(a),c==="start",o);if(r){if(e=e.map((h)=>h+"-"+r),l)e=e.concat(e.map(hr))}return e}function Wa(a){let l=X2(a);return ER[l]+a.slice(l.length)}function zR(a){return{top:0,right:0,bottom:0,left:0,...a}}function wt(a){return typeof a!=="number"?zR(a):{top:a,right:a,bottom:a,left:a}}function Z4(a){let{x:l,y:c,width:o,height:r}=a;return{width:o,height:r,top:c,left:l,right:l+o,bottom:c+r,x:l,y:c}}function Hm(a,l,c){let{reference:o,floating:r}=a,e=t2(l),h=vr(l),Z=ir(h),t=X2(l),i=e==="y",n=o.x+o.width/2-r.width/2,v=o.y+o.height/2-r.height/2,d=o[Z]/2-r[Z]/2,M;switch(t){case"top":M={x:n,y:o.y-r.height};break;case"bottom":M={x:n,y:o.y+o.height};break;case"right":M={x:o.x+o.width,y:v};break;case"left":M={x:o.x-r.width,y:v};break;default:M={x:o.x,y:o.y}}switch(h4(l)){case"start":M[h]-=d*(c&&i?-1:1);break;case"end":M[h]+=d*(c&&i?-1:1);break}return M}async function St(a,l){var c;if(l===void 0)l={};let{x:o,y:r,platform:e,rects:h,elements:Z,strategy:t}=a,{boundary:i="clippingAncestors",rootBoundary:n="viewport",elementContext:v="floating",altBoundary:d=!1,padding:M=0}=Y2(l,a),_=wt(M),A=Z[d?v==="floating"?"reference":"floating":v],m=Z4(await e.getClippingRect({element:((c=await(e.isElement==null?void 0:e.isElement(A)))!=null?c:!0)?A:A.contextElement||await(e.getDocumentElement==null?void 0:e.getDocumentElement(Z.floating)),boundary:i,rootBoundary:n,strategy:t})),u=v==="floating"?{x:o,y:r,width:h.floating.width,height:h.floating.height}:h.reference,V=await(e.getOffsetParent==null?void 0:e.getOffsetParent(Z.floating)),s=await(e.isElement==null?void 0:e.isElement(V))?await(e.getScale==null?void 0:e.getScale(V))||{x:1,y:1}:{x:1,y:1},F=Z4(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({elements:Z,rect:u,offsetParent:V,strategy:t}):u);return{top:(m.top-F.top+_.top)/s.y,bottom:(F.bottom-m.bottom+_.bottom)/s.y,left:(m.left-F.left+_.left)/s.x,right:(F.right-m.right+_.right)/s.x}}var QR=50,Vm=async(a,l,c)=>{let{placement:o="bottom",strategy:r="absolute",middleware:e=[],platform:h}=c,Z=h.detectOverflow?h:{...h,detectOverflow:St},t=await(h.isRTL==null?void 0:h.isRTL(l)),i=await h.getElementRects({reference:a,floating:l,strategy:r}),{x:n,y:v}=Hm(i,o,t),d=o,M=0,_={};for(let p=0;p<e.length;p++){let A=e[p];if(!A)continue;let{name:m,fn:u}=A,{x:V,y:s,data:F,reset:L}=await u({x:n,y:v,initialPlacement:o,placement:d,strategy:r,middlewareData:_,rects:i,platform:Z,elements:{reference:a,floating:l}});if(n=V!=null?V:n,v=s!=null?s:v,_[m]={..._[m],...F},L&&M<QR){if(M++,typeof L==="object"){if(L.placement)d=L.placement;if(L.rects)i=L.rects===!0?await h.getElementRects({reference:a,floating:l,strategy:r}):L.rects;({x:n,y:v}=Hm(i,d,t))}p=-1}}return{x:n,y:v,placement:d,strategy:r,middlewareData:_}},fm=(a)=>({name:"arrow",options:a,async fn(l){let{x:c,y:o,placement:r,rects:e,platform:h,elements:Z,middlewareData:t}=l,{element:i,padding:n=0}=Y2(a,l)||{};if(i==null)return{};let v=wt(n),d={x:c,y:o},M=vr(r),_=ir(M),p=await h.getDimensions(i),A=M==="y",m=A?"top":"left",u=A?"bottom":"right",V=A?"clientHeight":"clientWidth",s=e.reference[_]+e.reference[M]-d[M]-e.floating[_],F=d[M]-e.reference[M],L=await(h.getOffsetParent==null?void 0:h.getOffsetParent(i)),C=L?L[V]:0;if(!C||!await(h.isElement==null?void 0:h.isElement(L)))C=Z.floating[V]||e.floating[_];let P=s/2-F/2,W=C/2-p[_]/2-1,r1=B7(v[m],W),t1=B7(v[u],W),N=r1,R=C-p[_]-t1,w=C/2-p[_]/2+P,x=Zr(N,w,R),B=!t.arrow&&h4(r)!=null&&w!==x&&e.reference[_]/2-(w<N?r1:t1)-p[_]/2<0,k=B?w<N?w-N:w-R:0;return{[M]:d[M]+k,data:{[M]:x,centerOffset:w-x-k,...B&&{alignmentOffset:k}},reset:B}}});var Fm=function(a){if(a===void 0)a={};return{name:"flip",options:a,async fn(l){var c,o;let{placement:r,middlewareData:e,rects:h,initialPlacement:Z,platform:t,elements:i}=l,{mainAxis:n=!0,crossAxis:v=!0,fallbackPlacements:d,fallbackStrategy:M="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:p=!0,...A}=Y2(a,l);if((c=e.arrow)!=null&&c.alignmentOffset)return{};let m=X2(r),u=t2(Z),V=X2(Z)===Z,s=await(t.isRTL==null?void 0:t.isRTL(i.floating)),F=d||(V||!p?[Wa(Z)]:Am(Z)),L=_!=="none";if(!d&&L)F.push(...mm(Z,p,_,s));let C=[Z,...F],P=await t.detectOverflow(l,A),W=[],r1=((o=e.flip)==null?void 0:o.overflows)||[];if(n)W.push(P[m]);if(v){let w=_m(r,h,s);W.push(P[w[0]],P[w[1]])}if(r1=[...r1,{placement:r,overflows:W}],!W.every((w)=>w<=0)){var t1,N;let w=(((t1=e.flip)==null?void 0:t1.index)||0)+1,x=C[w];if(x){if(!(v==="alignment"?u!==t2(x):!1)||r1.every(($)=>t2($.placement)===u?$.overflows[0]>0:!0))return{data:{index:w,overflows:r1},reset:{placement:x}}}let B=(N=r1.filter((k)=>k.overflows[0]<=0).sort((k,$)=>k.overflows[1]-$.overflows[1])[0])==null?void 0:N.placement;if(!B)switch(M){case"bestFit":{var R;let k=(R=r1.filter(($)=>{if(L){let E=t2($.placement);return E===u||E==="y"}return!0}).map(($)=>[$.placement,$.overflows.filter((E)=>E>0).reduce((E,d1)=>E+d1,0)]).sort(($,E)=>$[1]-E[1])[0])==null?void 0:R[0];if(k)B=k;break}case"initialPlacement":B=Z;break}if(r!==B)return{reset:{placement:B}}}return{}}}};function um(a,l){return{top:a.top-l.height,right:a.right-l.width,bottom:a.bottom-l.height,left:a.left-l.width}}function sm(a){return pm.some((l)=>a[l]>=0)}var xm=function(a){if(a===void 0)a={};return{name:"hide",options:a,async fn(l){let{rects:c,platform:o}=l,{strategy:r="referenceHidden",...e}=Y2(a,l);switch(r){case"referenceHidden":{let h=await o.detectOverflow(l,{...e,elementContext:"reference"}),Z=um(h,c.reference);return{data:{referenceHiddenOffsets:Z,referenceHidden:sm(Z)}}}case"escaped":{let h=await o.detectOverflow(l,{...e,altBoundary:!0}),Z=um(h,c.floating);return{data:{escapedOffsets:Z,escaped:sm(Z)}}}default:return{}}}}};var gm=/*@__PURE__*/new Set(["left","top"]);async function JR(a,l){let{placement:c,platform:o,elements:r}=a,e=await(o.isRTL==null?void 0:o.isRTL(r.floating)),h=X2(c),Z=h4(c),t=t2(c)==="y",i=gm.has(h)?-1:1,n=e&&t?-1:1,v=Y2(l,a),{mainAxis:d,crossAxis:M,alignmentAxis:_}=typeof v==="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};if(Z&&typeof _==="number")M=Z==="end"?_*-1:_;return t?{x:M*n,y:d*i}:{x:d*i,y:M*n}}var Lm=function(a){if(a===void 0)a=0;return{name:"offset",options:a,async fn(l){var c,o;let{x:r,y:e,placement:h,middlewareData:Z}=l,t=await JR(l,a);if(h===((c=Z.offset)==null?void 0:c.placement)&&(o=Z.arrow)!=null&&o.alignmentOffset)return{};return{x:r+t.x,y:e+t.y,data:{...t,placement:h}}}}},Cm=function(a){if(a===void 0)a={};return{name:"shift",options:a,async fn(l){let{x:c,y:o,placement:r,platform:e}=l,{mainAxis:h=!0,crossAxis:Z=!1,limiter:t={fn:(m)=>{let{x:u,y:V}=m;return{x:u,y:V}}},...i}=Y2(a,l),n={x:c,y:o},v=await e.detectOverflow(l,i),d=t2(X2(r)),M=tr(d),_=n[M],p=n[d];if(h){let m=M==="y"?"top":"left",u=M==="y"?"bottom":"right",V=_+v[m],s=_-v[u];_=Zr(V,_,s)}if(Z){let m=d==="y"?"top":"left",u=d==="y"?"bottom":"right",V=p+v[m],s=p-v[u];p=Zr(V,p,s)}let A=t.fn({...l,[M]:_,[d]:p});return{...A,data:{x:A.x-c,y:A.y-o,enabled:{[M]:h,[d]:Z}}}}}},Rm=function(a){if(a===void 0)a={};return{options:a,fn(l){let{x:c,y:o,placement:r,rects:e,middlewareData:h}=l,{offset:Z=0,mainAxis:t=!0,crossAxis:i=!0}=Y2(a,l),n={x:c,y:o},v=t2(r),d=tr(v),M=n[d],_=n[v],p=Y2(Z,l),A=typeof p==="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(t){let V=d==="y"?"height":"width",s=e.reference[d]-e.floating[V]+A.mainAxis,F=e.reference[d]+e.reference[V]-A.mainAxis;if(M<s)M=s;else if(M>F)M=F}if(i){var m,u;let V=d==="y"?"width":"height",s=gm.has(X2(r)),F=e.reference[v]-e.floating[V]+(s?((m=h.offset)==null?void 0:m[v])||0:0)+(s?0:A.crossAxis),L=e.reference[v]+e.reference[V]+(s?0:((u=h.offset)==null?void 0:u[v])||0)-(s?A.crossAxis:0);if(_<F)_=F;else if(_>L)_=L}return{[d]:M,[v]:_}}}},wm=function(a){if(a===void 0)a={};return{name:"size",options:a,async fn(l){var c,o;let{placement:r,rects:e,platform:h,elements:Z}=l,{apply:t=()=>{},...i}=Y2(a,l),n=await h.detectOverflow(l,i),v=X2(r),d=h4(r),M=t2(r)==="y",{width:_,height:p}=e.floating,A,m;if(v==="top"||v==="bottom")A=v,m=d===(await(h.isRTL==null?void 0:h.isRTL(Z.floating))?"start":"end")?"left":"right";else m=v,A=d==="end"?"top":"bottom";let u=p-n.top-n.bottom,V=_-n.left-n.right,s=B7(p-n[A],u),F=B7(_-n[m],V),L=!l.middlewareData.shift,C=s,P=F;if((c=l.middlewareData.shift)!=null&&c.enabled.x)P=V;if((o=l.middlewareData.shift)!=null&&o.enabled.y)C=u;if(L&&!d){let r1=H5(n.left,0),t1=H5(n.right,0),N=H5(n.top,0),R=H5(n.bottom,0);if(M)P=_-2*(r1!==0||t1!==0?r1+t1:H5(n.left,n.right));else C=p-2*(N!==0||R!==0?N+R:H5(n.top,n.bottom))}await t({...l,availableWidth:P,availableHeight:C});let W=await h.getDimensions(Z.floating);if(_!==W.width||p!==W.height)return{reset:{rects:!0}};return{}}}};function dr(){return typeof window<"u"}function i4(a){if(Gm(a))return(a.nodeName||"").toLowerCase();return"#document"}function u5(a){var l;return(a==null||(l=a.ownerDocument)==null?void 0:l.defaultView)||window}function K2(a){var l;return(l=(Gm(a)?a.ownerDocument:a.document)||window.document)==null?void 0:l.documentElement}function Gm(a){if(!dr())return!1;return a instanceof Node||a instanceof u5(a).Node}function W5(a){if(!dr())return!1;return a instanceof Element||a instanceof u5(a).Element}function j2(a){if(!dr())return!1;return a instanceof HTMLElement||a instanceof u5(a).HTMLElement}function Sm(a){if(!dr()||typeof ShadowRoot>"u")return!1;return a instanceof ShadowRoot||a instanceof u5(a).ShadowRoot}function S6(a){let{overflow:l,overflowX:c,overflowY:o,display:r}=b5(a);return/auto|scroll|overlay|hidden|clip/.test(l+o+c)&&r!=="inline"&&r!=="contents"}function Um(a){return/^(table|td|th)$/.test(i4(a))}function za(a){try{if(a.matches(":popover-open"))return!0}catch(l){}try{return a.matches(":modal")}catch(l){return!1}}var IR=/transform|translate|scale|rotate|perspective|filter/,$R=/paint|layout|strict|content/,t4=(a)=>!!a&&a!=="none",Gt;function Mr(a){let l=W5(a)?b5(a):a;return t4(l.transform)||t4(l.translate)||t4(l.scale)||t4(l.rotate)||t4(l.perspective)||!pr()&&(t4(l.backdropFilter)||t4(l.filter))||IR.test(l.willChange||"")||$R.test(l.contain||"")}function Dm(a){let l=k7(a);while(j2(l)&&!v4(l)){if(Mr(l))return l;else if(za(l))return null;l=k7(l)}return null}function pr(){if(Gt==null)Gt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none");return Gt}function v4(a){return/^(html|body|#document)$/.test(i4(a))}function b5(a){return u5(a).getComputedStyle(a)}function Qa(a){if(W5(a))return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop};return{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function k7(a){if(i4(a)==="html")return a;let l=a.assignedSlot||a.parentNode||Sm(a)&&a.host||K2(a);return Sm(l)?l.host:l}function Bm(a){let l=k7(a);if(v4(l))return a.ownerDocument?a.ownerDocument.body:a.body;if(j2(l)&&S6(l))return l;return Bm(l)}function nr(a,l,c){var o;if(l===void 0)l=[];if(c===void 0)c=!0;let r=Bm(a),e=r===((o=a.ownerDocument)==null?void 0:o.body),h=u5(r);if(e){let Z=_r(h);return l.concat(h,h.visualViewport||[],S6(r)?r:[],Z&&c?nr(Z):[])}else return l.concat(r,nr(r,[],c))}function _r(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function Pm(a){let l=b5(a),c=parseFloat(l.width)||0,o=parseFloat(l.height)||0,r=j2(a),e=r?a.offsetWidth:c,h=r?a.offsetHeight:o,Z=ba(c)!==e||ba(o)!==h;if(Z)c=e,o=h;return{width:c,height:o,$:Z}}function Tm(a){return!W5(a)?a.contextElement:a}function G6(a){let l=Tm(a);if(!j2(l))return Z2(1);let c=l.getBoundingClientRect(),{width:o,height:r,$:e}=Pm(l),h=(e?ba(c.width):c.width)/o,Z=(e?ba(c.height):c.height)/r;if(!h||!Number.isFinite(h))h=1;if(!Z||!Number.isFinite(Z))Z=1;return{x:h,y:Z}}var YR=/*@__PURE__*/Z2(0);function Em(a){let l=u5(a);if(!pr()||!l.visualViewport)return YR;return{x:l.visualViewport.offsetLeft,y:l.visualViewport.offsetTop}}function XR(a,l,c){if(l===void 0)l=!1;if(!c||l&&c!==u5(a))return!1;return l}function Ja(a,l,c,o){if(l===void 0)l=!1;if(c===void 0)c=!1;let r=a.getBoundingClientRect(),e=Tm(a),h=Z2(1);if(l)if(o){if(W5(o))h=G6(o)}else h=G6(a);let Z=XR(e,c,o)?Em(e):Z2(0),t=(r.left+Z.x)/h.x,i=(r.top+Z.y)/h.y,n=r.width/h.x,v=r.height/h.y;if(e){let d=u5(e),M=o&&W5(o)?u5(o):o,_=d,p=_r(_);while(p&&o&&M!==_){let A=G6(p),m=p.getBoundingClientRect(),u=b5(p),V=m.left+(p.clientLeft+parseFloat(u.paddingLeft))*A.x,s=m.top+(p.clientTop+parseFloat(u.paddingTop))*A.y;t*=A.x,i*=A.y,n*=A.x,v*=A.y,t+=V,i+=s,_=u5(p),p=_r(_)}}return Z4({width:n,height:v,x:t,y:i})}function Ar(a,l){let c=Qa(a).scrollLeft;if(!l)return Ja(K2(a)).left+c;return l.left+c}function qm(a,l){let c=a.getBoundingClientRect(),o=c.left+l.scrollLeft-Ar(a,c),r=c.top+l.scrollTop;return{x:o,y:r}}function KR(a){let{elements:l,rect:c,offsetParent:o,strategy:r}=a,e=r==="fixed",h=K2(o),Z=l?za(l.floating):!1;if(o===h||Z&&e)return c;let t={scrollLeft:0,scrollTop:0},i=Z2(1),n=Z2(0),v=j2(o);if(v||!v&&!e){if(i4(o)!=="body"||S6(h))t=Qa(o);if(v){let M=Ja(o);i=G6(o),n.x=M.x+o.clientLeft,n.y=M.y+o.clientTop}}let d=h&&!v&&!e?qm(h,t):Z2(0);return{width:c.width*i.x,height:c.height*i.y,x:c.x*i.x-t.scrollLeft*i.x+n.x+d.x,y:c.y*i.y-t.scrollTop*i.y+n.y+d.y}}function jR(a){return Array.from(a.getClientRects())}function NR(a){let l=K2(a),c=Qa(a),o=a.ownerDocument.body,r=H5(l.scrollWidth,l.clientWidth,o.scrollWidth,o.clientWidth),e=H5(l.scrollHeight,l.clientHeight,o.scrollHeight,o.clientHeight),h=-c.scrollLeft+Ar(a),Z=-c.scrollTop;if(b5(o).direction==="rtl")h+=H5(l.clientWidth,o.clientWidth)-r;return{width:r,height:e,x:h,y:Z}}var km=25;function aw(a,l){let c=u5(a),o=K2(a),r=c.visualViewport,e=o.clientWidth,h=o.clientHeight,Z=0,t=0;if(r){e=r.width,h=r.height;let n=pr();if(!n||n&&l==="fixed")Z=r.offsetLeft,t=r.offsetTop}let i=Ar(o);if(i<=0){let n=o.ownerDocument,v=n.body,d=getComputedStyle(v),M=n.compatMode==="CSS1Compat"?parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0:0,_=Math.abs(o.clientWidth-v.clientWidth-M);if(_<=km)e-=_}else if(i<=km)e+=i;return{width:e,height:h,x:Z,y:t}}function lw(a,l){let c=Ja(a,!0,l==="fixed"),o=c.top+a.clientTop,r=c.left+a.clientLeft,e=j2(a)?G6(a):Z2(1),h=a.clientWidth*e.x,Z=a.clientHeight*e.y,t=r*e.x,i=o*e.y;return{width:h,height:Z,x:t,y:i}}function ym(a,l,c){let o;if(l==="viewport")o=aw(a,c);else if(l==="document")o=NR(K2(a));else if(W5(l))o=lw(l,c);else{let r=Em(a);o={x:l.x-r.x,y:l.y-r.y,width:l.width,height:l.height}}return Z4(o)}function Wm(a,l){let c=k7(a);if(c===l||!W5(c)||v4(c))return!1;return b5(c).position==="fixed"||Wm(c,l)}function cw(a,l){let c=l.get(a);if(c)return c;let o=nr(a,[],!1).filter((Z)=>W5(Z)&&i4(Z)!=="body"),r=null,e=b5(a).position==="fixed",h=e?k7(a):a;while(W5(h)&&!v4(h)){let Z=b5(h),t=Mr(h);if(!t&&Z.position==="fixed")r=null;if(e?!t&&!r:!t&&Z.position==="static"&&!!r&&(r.position==="absolute"||r.position==="fixed")||S6(h)&&!t&&Wm(a,h))o=o.filter((n)=>n!==h);else r=Z;h=k7(h)}return l.set(a,o),o}function ow(a){let{element:l,boundary:c,rootBoundary:o,strategy:r}=a,h=[...c==="clippingAncestors"?za(l)?[]:cw(l,this._c):[].concat(c),o],Z=ym(l,h[0],r),t=Z.top,i=Z.right,n=Z.bottom,v=Z.left;for(let d=1;d<h.length;d++){let M=ym(l,h[d],r);t=H5(M.top,t),i=B7(M.right,i),n=B7(M.bottom,n),v=H5(M.left,v)}return{width:i-v,height:n-t,x:v,y:t}}function rw(a){let{width:l,height:c}=Pm(a);return{width:l,height:c}}function ew(a,l,c){let o=j2(l),r=K2(l),e=c==="fixed",h=Ja(a,!0,e,l),Z={scrollLeft:0,scrollTop:0},t=Z2(0);function i(){t.x=Ar(r)}if(o||!o&&!e){if(i4(l)!=="body"||S6(r))Z=Qa(l);if(o){let M=Ja(l,!0,e,l);t.x=M.x+l.clientLeft,t.y=M.y+l.clientTop}else if(r)i()}if(e&&!o&&r)i();let n=r&&!o&&!e?qm(r,Z):Z2(0),v=h.left+Z.scrollLeft-t.x-n.x,d=h.top+Z.scrollTop-t.y-n.y;return{x:v,y:d,width:h.width,height:h.height}}function Ut(a){return b5(a).position==="static"}function Om(a,l){if(!j2(a)||b5(a).position==="fixed")return null;if(l)return l(a);let c=a.offsetParent;if(K2(a)===c)c=c.ownerDocument.body;return c}function bm(a,l){let c=u5(a);if(za(a))return c;if(!j2(a)){let r=k7(a);while(r&&!v4(r)){if(W5(r)&&!Ut(r))return r;r=k7(r)}return c}let o=Om(a,l);while(o&&Um(o)&&Ut(o))o=Om(o,l);if(o&&v4(o)&&Ut(o)&&!Mr(o))return c;return o||Dm(a)||c}var hw=async function(a){let l=this.getOffsetParent||bm,c=this.getDimensions,o=await c(a.floating);return{reference:ew(a.reference,await l(a.floating),a.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Zw(a){return b5(a).direction==="rtl"}var tw={convertOffsetParentRelativeRectToViewportRelativeRect:KR,getDocumentElement:K2,getClippingRect:ow,getOffsetParent:bm,getElementRects:hw,getClientRects:jR,getDimensions:rw,getScale:G6,isElement:W5,isRTL:Zw};var zm=St,Qm=Lm;var Jm=Cm,Im=Fm,$m=wm,Dt=xm,Ym=fm;var Bt=Rm,Xm=(a,l,c)=>{let o=/*@__PURE__*/new Map,r={platform:tw,...c},e={...r.platform,_c:o};return Vm(a,l,{...r,platform:e})};function Ia(a){let l=a.split("-");return{side:l[0],alignment:l[1]}}var Km=(a)=>{if(a.nodeName==="HTML")return a;return a.parentNode||a.host},iw=(a)=>{var l;if(a.nodeType!==1)return{};let c=(l=a.ownerDocument)===null||l===void 0?void 0:l.defaultView;if(c)return c.getComputedStyle(a,null);return{}},n4=(a)=>{let l=a&&Km(a);if(!l)return document.body;switch(l.nodeName){case"HTML":case"BODY":return l.ownerDocument.body;case"#document":return l.body}let{overflow:c,overflowX:o,overflowY:r}=iw(l);if(/(auto|scroll|overlay)/.test(c+r+o))return l;return n4(l)},kt=(a)=>{var l;let c=n4(a);return c?c!==((l=c.ownerDocument)===null||l===void 0?void 0:l.body):!1};function d4(a,l){if(l==="window")return a===null||a===void 0?void 0:a.ownerDocument.documentElement;if(l==="clippingParents")return"clippingAncestors";if(l==="scrollParent"){let c=n4(a);if(c.nodeName==="BODY")c=a===null||a===void 0?void 0:a.ownerDocument.documentElement;return c}return l}function mr(a,l){if(typeof a==="number")return yt(a,l);if(typeof a==="object"&&a!==null)return yt(a,l);if(typeof a==="function")return(c)=>{let o=a(c);return yt(o,l)};return{mainAxis:l}}var yt=(a,l)=>{if(typeof a==="number")return{mainAxis:a+l};var c;return{...a,mainAxis:((c=a.mainAxis)!==null&&c!==void 0?c:0)+l}};function $a(a,l){if(typeof a==="number")return a;let{start:c,end:o,...r}=a,e=r,h=l?"end":"start",Z=l?"start":"end";if(a[h])e.left=a[h];if(a[Z])e.right=a[Z];return e}var vw=(a)=>({above:"top",below:"bottom",before:a?"right":"left",after:a?"left":"right"}),nw=()=>({start:"start",end:"end",top:"start",bottom:"end",center:void 0}),dw=(a,l)=>{let c=a==="above"||a==="below",o=l==="top"||l==="bottom";return c&&o||!c&&!o},Ya=(a,l,c)=>{let o=dw(l,a)?"center":a,r=l&&vw(c)[l],e=o&&nw()[o];if(r&&e)return`${r}-${e}`;return r};var Mw={above:{position:"above",align:"center"},"above-start":{position:"above",align:"start"},"above-end":{position:"above",align:"end"},below:{position:"below",align:"center"},"below-start":{position:"below",align:"start"},"below-end":{position:"below",align:"end"},before:{position:"before",align:"center"},"before-top":{position:"before",align:"top"},"before-bottom":{position:"before",align:"bottom"},after:{position:"after",align:"center"},"after-top":{position:"after",align:"top"},"after-bottom":{position:"after",align:"bottom"}};function y7(a){if(a===void 0||a===null)return{};if(typeof a==="string")return Mw[a];return a}function Xa(a,l,c){let o=y(!0),[r]=h1(()=>({value:a,callback:l,facade:{get current(){return r.value},set current(e){let h=r.value;if(h!==e){if(r.value=e,c&&o.current)return;r.callback(e,h)}}}}));return P1(()=>{o.current=!1},[]),r.callback=l,r.facade}function Ot(a){let l;return()=>{if(!l)l=new Promise((c)=>{Promise.resolve().then(()=>{l=void 0,c(a())})});return l}}function jm(a){if(!a)return null;for(let l in a)if(l.indexOf("__reactInternalInstance$")===0||l.indexOf("__reactFiber$")===0)return a[l];throw Error("getReactFiber(): Failed to find a React Fiber on a node")}function pw(a){if(a.nodeName==="BUTTON"||a.nodeName==="INPUT"||a.nodeName==="SELECT"||a.nodeName==="TEXTAREA"){var c;return!!((c=jm(a))===null||c===void 0?void 0:c.pendingProps.autoFocus)}return!1}function Pt(a){return pw(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}function Tt(a){let{arrow:l,middlewareData:c}=a;if(!c.arrow||!l)return;let{x:o,y:r}=c.arrow;Object.assign(l.style,{left:o!==null&&o!==void 0?`${o}px`:"",top:r!==null&&r!==void 0?`${r}px`:""})}function Et(a){var l,c,o;let{container:r,placement:e,middlewareData:h,strategy:Z,lowPPI:t,coordinates:i,useTransform:n=!0}=a;if(!r)return;if(r.setAttribute(nm,e),r.removeAttribute(gt),h.intersectionObserver.intersecting)r.setAttribute(gt,"");if(r.removeAttribute(Lt),(l=h.hide)===null||l===void 0?void 0:l.escaped)r.setAttribute(Lt,"");if(r.removeAttribute(Ct),(c=h.hide)===null||c===void 0?void 0:c.referenceHidden)r.setAttribute(Ct,"");let v=((o=r.ownerDocument.defaultView)===null||o===void 0?void 0:o.devicePixelRatio)||1,d=Math.round(i.x*v)/v,M=Math.round(i.y*v)/v;if(Object.assign(r.style,{position:Z}),n){Object.assign(r.style,{transform:t?`translate(${d}px, ${M}px)`:`translate3d(${d}px, ${M}px, 0)`});return}Object.assign(r.style,{left:`${d}px`,top:`${M}px`})}var qt=(a)=>{switch(a){case"always":case!0:return{applyMaxWidth:!0,applyMaxHeight:!0};case"width-always":case"width":return{applyMaxWidth:!0,applyMaxHeight:!1};case"height-always":case"height":return{applyMaxWidth:!1,applyMaxHeight:!0};default:return!1}};function U6(a){let l=[],c=a;while(c){let o=n4(c);if(a.ownerDocument.body===o){l.push(o);break}if(o.nodeName==="BODY"&&o!==a.ownerDocument.body){console.error("@fluentui/react-positioning: You are comparing two different documents! This is an unexpected error, please report this as a bug to the Fluent UI team ");break}l.push(o),c=o}return l}function Nm(a,l){return new a.ResizeObserver(l)}function aH(a){let l=!1,{container:c,target:o,arrow:r,strategy:e,middleware:h,placement:Z,useTransform:t=!0,disableUpdateOnResize:i=!1}=a,n=c.ownerDocument.defaultView;if(!o||!c||!n)return{updatePosition:()=>{return},dispose:()=>{return}};let v=i?null:Nm(n,(m)=>{if(m.every((V)=>{return V.contentRect.width>0&&V.contentRect.height>0}))p()}),d=!0,M=/*@__PURE__*/new Set;Object.assign(c.style,{position:"fixed",left:0,top:0,margin:0});let _=()=>{if(l)return;if(d){if(U6(c).forEach((m)=>M.add(m)),G1(o))U6(o).forEach((m)=>M.add(m));if(M.forEach((m)=>{m.addEventListener("scroll",p,{passive:!0})}),v===null||v===void 0||v.observe(c),G1(o))v===null||v===void 0||v.observe(o);d=!1}Object.assign(c.style,{position:e}),Xm(o,c,{placement:Z,middleware:h,strategy:e}).then(({x:m,y:u,middlewareData:V,placement:s})=>{if(l)return;Tt({arrow:r,middlewareData:V}),Et({container:c,middlewareData:V,placement:s,coordinates:{x:m,y:u},lowPPI:((n===null||n===void 0?void 0:n.devicePixelRatio)||1)<=1,strategy:e,useTransform:t}),c.dispatchEvent(new CustomEvent(qa,{detail:{placement:s}}))}).catch((m)=>{console.error("[usePositioning]: Failed to calculate position",m)})},p=Ot(()=>_()),A=()=>{if(l=!0,n)n.removeEventListener("scroll",p),n.removeEventListener("resize",p);M.forEach((m)=>{m.removeEventListener("scroll",p)}),M.clear(),v===null||v===void 0||v.disconnect()};if(n)n.addEventListener("scroll",p,{passive:!0}),n.addEventListener("resize",p);return p(),{updatePosition:p,dispose:A}}function lH(a,l){var c,o;let r=a;return Boolean((r==null||(c=r.ownerDocument)==null?void 0:c.defaultView)&&r instanceof r.ownerDocument.defaultView[(o=void 0)!=null?o:"HTMLElement"])}var cH=(a)=>Boolean(lH(a)&&"__FUIDT_ELEMENT_METADATA__"in a&&a.parentElement!==null),_w=(a)=>{let l=null,c=new MutationObserver((r)=>{if(!l)return;for(let e of r)if(e.type==="childList"&&Array.from(e.removedNodes).includes(l))o.withdraw()}),o={get selectedElement(){return l},select:(r)=>{if(cH(r))l=r,c.observe(r.parentElement,{childList:!0,subtree:!1});if(l&&r){if(l.__FUIDT_ELEMENT_METADATA__.references.has(r))return l}return o.withdraw(),l},withdraw:()=>{l=null,c.disconnect(),a.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}};return o},Aw=(a)=>{let{defaultView:l}=a;if(!l)return;if(!l.__FUIDT_CONTROLLER__)l.__FUIDT_CONTROLLER__=_w(l)},mw=(a)=>{var l,c;return Aw(a),(l=(c=a.defaultView)==null?void 0:c.__FUIDT_CONTROLLER__)!=null?l:null},Hw=(a,l)=>{return JSON.parse(JSON.stringify(a,(o,r)=>{if(lH(r))return l.add(r);if(typeof r==="object"&&r&&Object.getPrototypeOf(r)!==Object.prototype&&Object.getPrototypeOf(r)!==Array.prototype){if("toString"in r)return r.toString();return}return r}))},uw=0,sw=()=>"__FUIDT_HTML_ELEMENT_REFERENCE__:"+uw++,Vw=()=>{let a=/*@__PURE__*/new Map,l=/*@__PURE__*/new WeakMap;return{add:(o)=>{if(l.has(o))return l.get(o);let r=sw();return a.set(r,o),l.set(o,r),r},get:(o)=>{let r=a.get(o);if(r&&l.has(r))return r},has:(o)=>{return l.has(o)}}},oH=function(a,l){if(a===void 0)a=document;if(l===void 0)l=fw;return{name:"@floating-ui/devtools",fn:(c)=>{let{["__FUIDT_ELEMENT_METADATA__"]:o}=cH(c.elements.floating)?c.elements.floating:Object.assign(c.elements.floating,{["__FUIDT_ELEMENT_METADATA__"]:{references:Vw(),serializedData:[]}}),r=Hw(l(c),o.references);o.serializedData.unshift(r);let e=mw(a);if(o.serializedData.length>1&&c.elements.floating===(e==null?void 0:e.selectedElement)){var h;(h=a.defaultView)==null||h.postMessage("__FUIDT_SERIALIZED_DATA_CHANGE__")}return{}}}},fw=(a)=>({...a,type:"FloatingUIMiddleware"});function Wt(){return{name:"coverTarget",fn:(a)=>{let{placement:l,rects:c,x:o,y:r}=a,e=Ia(l).side,h={x:o,y:r};switch(e){case"bottom":h.y-=c.reference.height;break;case"top":h.y+=c.reference.height;break;case"left":h.x+=c.reference.width;break;case"right":h.x-=c.reference.width;break}return h}}}function bt(a){let{hasScrollableElement:l,flipBoundary:c,container:o,fallbackPositions:r=[],isRtl:e}=a,h=r.reduce((Z,t)=>{let{position:i,align:n}=y7(t),v=Ya(n,i,e);if(v)Z.push(v);return Z},[]);return Im({...l&&{boundary:"clippingAncestors"},...c&&{altBoundary:!0,boundary:d4(o,c)},fallbackStrategy:"bestFit",...h.length&&{fallbackPlacements:h}})}function zt(){return{name:"intersectionObserver",fn:async(a)=>{let l=a.rects.floating,c=await zm(a,{altBoundary:!0}),o=c.top<l.height&&c.top>0,r=c.bottom<l.height&&c.bottom>0;return{data:{intersecting:o||r}}}}}var Qt=(a)=>({name:"resetMaxSize",fn({middlewareData:l,elements:c}){var o;if((o=l.resetMaxSize)===null||o===void 0?void 0:o.maxSizeAlreadyReset)return{};let{applyMaxWidth:r,applyMaxHeight:e}=a;if(r)c.floating.style.removeProperty("box-sizing"),c.floating.style.removeProperty("max-width"),c.floating.style.removeProperty("width");if(e)c.floating.style.removeProperty("box-sizing"),c.floating.style.removeProperty("max-height"),c.floating.style.removeProperty("height");return{data:{maxSizeAlreadyReset:!0},reset:{rects:!0}}}});function Jt(a,l){let{container:c,overflowBoundary:o,overflowBoundaryPadding:r,isRtl:e}=l;return $m({...r&&{padding:$a(r,e)},...o&&{altBoundary:!0,boundary:d4(c,o)},apply({availableHeight:h,availableWidth:Z,elements:t,rects:i}){let n=(M,_,p)=>{if(!M)return;if(t.floating.style.setProperty("box-sizing","border-box"),t.floating.style.setProperty(`max-${_}`,`${p}px`),i.floating[_]>p){t.floating.style.setProperty(_,`${p}px`);let A=_==="width"?"x":"y";if(!t.floating.style.getPropertyValue(`overflow-${A}`))t.floating.style.setProperty(`overflow-${A}`,"auto")}},{applyMaxWidth:v,applyMaxHeight:d}=a;n(v,"width",Z),n(d,"height",h)}})}var Fw=()=>({top:"above",bottom:"below",right:"after",left:"before"}),xw=(a)=>{if(a==="above"||a==="below")return{start:"start",end:"end"};return{start:"top",end:"bottom"}},Ka=(a)=>{let{side:l,alignment:c}=Ia(a),o=Fw()[l],r=c&&xw(o)[c];return{position:o,alignment:r}};function rH(a){if(!a)return a;if(typeof a==="number"||typeof a==="object")return a;return({rects:{floating:l,reference:c},placement:o})=>{let{position:r,alignment:e}=Ka(o);return a({positionedRect:l,targetRect:c,position:r,alignment:e})}}function It(a){let l=rH(a);return Qm(l)}function $t(a){let{hasScrollableElement:l,shiftToCoverTarget:c,disableTether:o,overflowBoundary:r,container:e,overflowBoundaryPadding:h,isRtl:Z}=a;return Jm({...l&&{boundary:"clippingAncestors"},...c&&{crossAxis:!0,limiter:Bt({crossAxis:!0,mainAxis:!1})},...o&&{crossAxis:o==="all",limiter:Bt({crossAxis:o!=="all",mainAxis:!1})},...h&&{padding:$a(h,Z)},...r&&{altBoundary:!0,boundary:d4(e,r)}})}function Yt(){return{name:"matchTargetSize",fn:async(a)=>{let{rects:{reference:l,floating:c},elements:{floating:o},middlewareData:{matchTargetSize:{matchTargetSizeAttempt:r=!1}={}}}=a;if(l.width===c.width||r)return{};let{width:e}=l;if(o.style.setProperty("--fui-match-target-size",`${e}px`),!o.style.width)o.style.width="var(--fui-match-target-size)";return{data:{matchTargetSizeAttempt:!0},reset:{rects:!0}}}}}var eH=(a)=>(l)=>{let{elements:{floating:c,reference:o}}=l,r=/*@__PURE__*/new Set;if(G1(o))U6(o).forEach((Z)=>r.add(Z));U6(c).forEach((Z)=>r.add(Z));let e=Array.isArray(a.flipBoundary)?a.flipBoundary:G1(a.flipBoundary)?[a.flipBoundary]:[],h=Array.isArray(a.overflowBoundary)?a.overflowBoundary:G1(a.overflowBoundary)?[a.overflowBoundary]:[];return{type:"FluentUIMiddleware",middlewareState:l,options:a,initialPlacement:Ka(l.initialPlacement),placement:Ka(l.placement),flipBoundaries:e,overflowBoundaries:h,scrollParents:Array.from(r)}};var gw=({options:a})=>{return a},hH=e1(void 0),ea1=hH.Provider,ZH=()=>{var a;return(a=l1(hH))!==null&&a!==void 0?a:gw};function Lw(a,l){let{align:c,arrowPadding:o,autoSize:r,coverTarget:e,disableUpdateOnResize:h,flipBoundary:Z,offset:t,overflowBoundary:i,pinned:n,position:v,unstable_disableTether:d,strategy:M,overflowBoundaryPadding:_,fallbackPositions:p,useTransform:A,matchTargetSize:m,shiftToCoverTarget:u}=l;return Q((V,s)=>{return a({container:V,arrow:s,options:{autoSize:r,disableUpdateOnResize:h,matchTargetSize:m,offset:t,strategy:M,coverTarget:e,flipBoundary:Z,overflowBoundary:i,useTransform:A,overflowBoundaryPadding:_,pinned:n,arrowPadding:o,align:c,fallbackPositions:p,shiftToCoverTarget:u,position:v,unstable_disableTether:d}})},[r,h,m,t,M,e,Z,i,A,_,n,o,c,p,u,v,d,a])}function tH(a){let{dir:l,targetDocument:c}=M1(),o=l==="rtl",r=Lw(ZH(),a),{positionFixed:e}=a;return Q((h,Z)=>{let t=kt(h),i=r(h,Z),{autoSize:n,disableUpdateOnResize:v,matchTargetSize:d,offset:M,coverTarget:_,flipBoundary:p,overflowBoundary:A,useTransform:m,overflowBoundaryPadding:u,pinned:V,position:s,arrowPadding:F,strategy:L,align:C,fallbackPositions:P,shiftToCoverTarget:W,unstable_disableTether:r1}=i,t1=qt(n),N=[t1&&Qt(t1),d&&Yt(),M&&It(M),_&&Wt(),!V&&bt({container:h,flipBoundary:p,hasScrollableElement:t,isRtl:o,fallbackPositions:P}),$t({container:h,hasScrollableElement:t,overflowBoundary:A,disableTether:r1,overflowBoundaryPadding:u,isRtl:o,shiftToCoverTarget:W}),t1&&Jt(t1,{container:h,overflowBoundary:A,overflowBoundaryPadding:u,isRtl:o}),zt(),Z&&Ym({element:Z,padding:F}),Dt({strategy:"referenceHidden"}),Dt({strategy:"escaped"}),c&&oH(c,eH(i))].filter(Boolean);return{placement:Ya(C,s,o),middleware:N,strategy:(L!==null&&L!==void 0?L:e)?"fixed":"absolute",disableUpdateOnResize:v,useTransform:m}},[r,o,c,e])}function ja(a){let l=y(null),c=y(null),o=y(null),r=y(null),e=y(null),{enabled:h=!0}=a,Z=tH(a),t=Q(()=>{if(l.current)l.current.dispose();l.current=null;var _;let p=(_=o.current)!==null&&_!==void 0?_:c.current;if(h&&N7()&&p&&r.current)l.current=aH({container:r.current,target:p,arrow:e.current,...Z(r.current,e.current)})},[h,Z]),i=Y((_)=>{o.current=_,t()});Y0(a.positioningRef,()=>({updatePosition:()=>{var _;return(_=l.current)===null||_===void 0?void 0:_.updatePosition()},setTarget:(_)=>{if(a.target){let p=Error();console.warn("Imperative setTarget should not be used at the same time as target option"),console.warn(p.stack)}i(_)}}),[a.target,i]),P1(()=>{var _;i((_=a.target)!==null&&_!==void 0?_:null)},[a.target,i]),P1(()=>{t()},[t]),X(()=>{if(r.current){var _;let p=r.current,A=(_=p.ownerDocument)===null||_===void 0?void 0:_.createTreeWalker(p,NodeFilter.SHOW_ELEMENT,{acceptNode:Pt});while(A.nextNode()){let m=A.currentNode;console.warn("usePositioning():",m),console.warn(['usePositioning(): ^ this node contains "autoFocus" prop on a React element. This can break the initial',"positioning of an element and cause a window jump effect. This issue occurs because React polyfills",'"autoFocus" behavior to solve inconsistencies between different browsers:',"https://github.com/facebook/react/issues/11851#issuecomment-351787078",`
|
|
137
137
|
`,'However, ".focus()" in this case occurs before any other React effects will be executed',"(React.useEffect(), componentDidMount(), etc.) and we can not prevent this behavior. If you really",'want to use "autoFocus" please add "position: fixed" to styles of the element that is wrapped by','"Popper".',`In general, it's not recommended to use "autoFocus" as it may break accessibility aspects:`,"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-autofocus.md",`
|
|
138
|
-
`,'We suggest to use the "trapFocus" prop on Fluent components or a catch "ref" and then use','"ref.current.focus" in React.useEffect():',"https://reactjs.org/docs/refs-and-the-dom.html#adding-a-ref-to-a-dom-element"].join(" "))}}},[]);let n=Xa(null,(_)=>{if(c.current!==_)c.current=_,t()}),v=Y((_)=>{var p;return(p=a.onPositioningEnd)===null||p===void 0?void 0:p.call(a,_)}),d=Xa(null,(_)=>{if(r.current!==_){var p;(p=r.current)===null||p===void 0||p.removeEventListener(qa,v),_===null||_===void 0||_.addEventListener(qa,v),r.current=_,t()}}),M=Xa(null,(_)=>{if(e.current!==_)e.current=_,t()});return{targetRef:n,containerRef:d,arrowRef:M}}function dH(a){let{clientX:l,clientY:c}=a,o=l+1,r=c+1;function e(){return{left:l,top:c,right:o,bottom:r,x:l,y:c,height:1,width:1}}return{getBoundingClientRect:e}}var Xt=(a)=>{let[l,c]=h1(a);return[l,(r)=>{if(r===void 0||r===null){c(void 0);return}let e;if(!(r instanceof MouseEvent))e=r.nativeEvent;else e=r;if(!(e instanceof MouseEvent))console.error("usePositioningMouseTarget should only be used with MouseEvent");let h=dH(e);c(h)}]};function MH(a){let{positioning:l}=a,o={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...y7(l)},{targetRef:r,containerRef:e}=ja(o);return[e,r]}function D6(a,l={}){let{open:c=!0,multiselect:o=!1}=l,r=a.key,{altKey:e,ctrlKey:h,key:Z,metaKey:t}=a;if(Z.length===1&&r!==w5&&!e&&!h&&!t)return"Type";if(!c){if(r===V6||r===j3||r===I2||r===w5)return"Open";return"None"}if(r===j3&&e||r===I2||!o&&r===w5)return"CloseSelect";if(o&&r===w5)return"Select";if(r===U7)return"Close";if(r===V6)return"Next";if(r===j3)return"Previous";if(r===mt)return"First";if(r===At)return"Last";if(r===ut)return"PageUp";if(r===Ht)return"PageDown";if(r===ga)return"Tab";return"None"}var pH={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},Kt=(a,l)=>{let{multiselect:c,disableAutoFocus:o=!1}=a,r=er(),{listboxRef:e,activeParentRef:h,controller:Z}=x6({matchOption:(w)=>w.classList.contains(D7.root)}),t=r4(Y2),i=j0((w)=>w.onActiveDescendantChange),n=j0((w)=>w.getOptionById),v=j0((w)=>w.getOptionsMatchingValue),d=t?n:r.getOptionById,M=t?v:r.getOptionsMatchingValue,_=v1(()=>{let w=null,x=(B)=>{i===null||i===void 0||i(B)};return(B)=>{if(!B){w===null||w===void 0||w.removeEventListener("activedescendantchange",x);return}w=B,w.addEventListener("activedescendantchange",x)}},[i]),[p,A]=h1(!1);m6(A);let m=F6(),u=Io(),V=u?m.controller:Z,{clearSelection:s,selectedOptions:F,selectOption:L}=hr(a),C=(w)=>{let x=D6(w,{open:!0}),B=V.active(),k=B?d(B):null;switch(x){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":w.preventDefault();break}switch(x){case"Next":if(k)V.next();else V.first();break;case"Previous":if(k)V.prev();else V.first();break;case"PageUp":case"First":V.first();break;case"PageDown":case"Last":V.last();break;case"Select":case"CloseSelect":k&&L(w,k);break}},P=j0((w)=>w.selectedOptions),W=j0((w)=>w.selectOption),r1=t?{selectedOptions:P,selectOption:W,...pH}:{selectedOptions:F,selectOption:L,...pH};X(()=>{if(u)return;if(V.hideFocusVisibleAttributes(),!o)if(!c&&r1.selectedOptions.length>0){let w=M((x)=>x===r1.selectedOptions[0]).pop();if(w===null||w===void 0?void 0:w.id)V.focus(w.id)}else V.first();return()=>{V.blur()}},[]);let t1=Q(()=>{if(u)return;if(V.showFocusVisibleAttributes(),p)V.scrollActiveIntoView()},[V,u,p]),N=Q(()=>{if(u)return;V.hideFocusVisibleAttributes()},[V,u]),R={components:{root:"div"},root:U.always(o1("div",{ref:g1(l,h,e,_),role:c?"menu":"listbox",tabIndex:0,...a}),{elementType:"div"}),standalone:!t,multiselect:c,clearSelection:s,activeDescendantController:V,onActiveDescendantChange:i,...r,...r1};return R.root.onKeyDown=Y(T1(R.root.onKeyDown,C)),R.root.onFocus=Y(T1(R.root.onFocus,t1)),R.root.onBlur=Y(T1(R.root.onBlur,N)),R};var jt=(a,l)=>{return J(a),/*@__PURE__*/g(f6,{value:l.activeDescendant,children:/*@__PURE__*/g(Y2.Provider,{value:l.listbox,children:/*@__PURE__*/g(a.root,{})})})};var _H={root:"fui-Listbox"},ww=/*@__PURE__*/D({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),Nt=(a)=>{let l=ww();return a.root.className=S(_H.root,l.root,a.root.className),a};function AH(a){let l=r4(Y2),{getOptionById:c,getOptionsMatchingValue:o,multiselect:r,registerOption:e,selectedOptions:h,selectOption:Z,activeDescendantController:t}=a,i=j0((p)=>p.registerOption),n=j0((p)=>p.onOptionClick),v=j0((p)=>p.onActiveDescendantChange),M={activeOption:void 0,focusVisible:!1,getOptionById:c,getOptionsMatchingValue:o,multiselect:r,registerOption:l?i:e,selectedOptions:h,selectOption:Z,setActiveOption:()=>{return},onOptionClick:n,onActiveDescendantChange:v},_=v1(()=>({controller:t}),[t]);return{listbox:M,activeDescendant:_}}var M4=/*@__PURE__*/z((a,l)=>{let c=Kt(a,l),o=AH(c);return Nt(c),I("useListboxStyles_unstable")(c),jt(c,o)});M4.displayName="Listbox";function mH(a,l,c){let{state:{multiselect:o},triggerRef:r,defaultProps:e}=c,h=J1("fluent-listbox",o6(a)?a.id:void 0),Z=U.optional(a,{renderByDefault:!0,elementType:M4,defaultProps:{id:h,multiselect:o,tabIndex:void 0,...e}}),t=S5({id:h},{supportsLabelFor:!0});if(Z&&!Z["aria-label"]&&!Z["aria-labelledby"]&&t["aria-labelledby"])Z["aria-labelledby"]=t["aria-labelledby"];let i=Y(T1((d)=>{d.preventDefault()},Z===null||Z===void 0?void 0:Z.onMouseDown)),n=Y(T1((d)=>{var M;d.preventDefault(),(M=r.current)===null||M===void 0||M.focus()},Z===null||Z===void 0?void 0:Z.onClick)),v=g1(Z===null||Z===void 0?void 0:Z.ref,l);if(Z)Z.ref=v,Z.onMouseDown=i,Z.onClick=n;return Z}function HH(a,l,c){let{state:{open:o,setOpen:r,setHasFocus:e},defaultProps:h,elementType:Z,activeDescendantController:t}=c,i=U.always(a,{defaultProps:{type:"text","aria-expanded":o,role:"combobox",...typeof h==="object"&&h},elementType:Z}),n=y(null);return i.ref=g1(n,i.ref,l),i.onBlur=T1((v)=>{r(v,!1),e(!1)},i.onBlur),i.onFocus=T1((v)=>{if(v.target===v.currentTarget)e(!0)},i.onFocus),i.onClick=T1((v)=>{r(v,!o)},i.onClick),i.onKeyDown=T1(Sw({activeDescendantController:t,...c.state}),i.onKeyDown),i}function Sw(a){let{activeDescendantController:l,getOptionById:c,setOpen:o,selectOption:r,multiselect:e,open:h}=a,Z=Q(()=>{let p=l.active();return p?c(p):void 0},[l,c]),t=()=>{l.first()},i=()=>{l.last()},n=(p)=>{if(p)l.next();else l.first()},v=(p)=>{if(p)l.prev();else l.first()},d=()=>{for(let p=0;p<10;p++)l.prev()},M=()=>{for(let p=0;p<10;p++)l.next()},_=To();return Y((p)=>{let A=D6(p,{open:h,multiselect:e}),m=Z();switch(A){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":p.preventDefault();break}switch(_(!0),A){case"First":t();break;case"Last":i();break;case"Next":n(m);break;case"Previous":v(m);break;case"PageDown":M();break;case"PageUp":d();break;case"Open":o(p,!0);break;case"Close":p.stopPropagation(),o(p,!1);break;case"CloseSelect":!e&&!(m===null||m===void 0?void 0:m.disabled)&&o(p,!1);case"Select":m&&r(p,m);break;case"Tab":!e&&m&&r(p,m);break}})}function uH(a,l,c){let{state:{open:o,setOpen:r,getOptionById:e},defaultProps:h,activeDescendantController:Z}=c,t=y(""),[i,n]=E5(),v=(p,A={startFromNext:!1})=>{let{startFromNext:m}=A,u=Z.active(),V=Z.find((s)=>{let F=e(s);return!!F&&p(F.text)},{startFrom:m?Z.next({passive:!0}):u});if(V)return V;return Z.find((s)=>{let F=e(s);return!!F&&p(F.text)})},d=()=>{if(v((p)=>{return p.toLocaleLowerCase().indexOf(t.current)===0},{startFromNext:t.current.length===1}))return;if(Gw(t.current)&&v((p)=>{return p.toLocaleLowerCase().indexOf(t.current[0])===0},{startFromNext:!0}))return;Z.blur()},M=(p)=>{if(n(),D6(p)==="Type"){if(t.current+=p.key.toLowerCase(),i(()=>{t.current=""},500),o)d();!o&&r(p,!0)}},_=HH(a,l,{state:c.state,defaultProps:h,elementType:"button",activeDescendantController:Z});return _.onKeyDown=T1(M,_.onKeyDown),_}function Gw(a){for(let l=1;l<a.length;l++)if(a[l]!==a[l-1])return!1;return!0}var Na=(a,l)=>{var c;a=S5(a,{supportsLabelFor:!0,supportsSize:!0});let{listboxRef:o,activeParentRef:r,controller:e}=x6({matchOption:(N)=>N.classList.contains(D7.root)}),h=Mm({...a,activeDescendantController:e,freeform:!1}),{clearable:Z,clearSelection:t,disabled:i,hasFocus:n,multiselect:v,open:d,selectedOptions:M,setOpen:_}=h,{primary:p,root:A}=q2({props:a,primarySlotTagName:"button",excludedPropNames:["children"]}),[m,u]=MH(a),V=y(null),s=mH(a.listbox,g1(m,o),{state:h,triggerRef:V,defaultProps:{children:a.children}}),{targetDocument:F}=M1();i6({element:F,callback:(N)=>_(N,!1),refs:[V,m,u],disabled:!d});var L;let C=uH((L=a.button)!==null&&L!==void 0?L:{},g1(V,r,l),{state:h,defaultProps:{type:"button",tabIndex:p.disabled?void 0:0,children:h.value||a.placeholder,"aria-controls":d?s===null||s===void 0?void 0:s.id:void 0,...p},activeDescendantController:e}),P=U.always(a.root,{defaultProps:{"aria-owns":!a.inlinePopup&&d?s===null||s===void 0?void 0:s.id:void 0,children:a.children,...A},elementType:"div"});P.ref=g1(P.ref,u);let W=M.length>0&&!i&&Z&&!v,r1={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:M4},root:P,button:C,listbox:d||n?s:void 0,clearButton:U.optional(a.clearButton,{defaultProps:{"aria-label":"Clear selection",children:/*@__PURE__*/c1(IA,null),tabIndex:W?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:U.optional(a.expandIcon,{renderByDefault:!0,defaultProps:{children:/*@__PURE__*/c1(JA,null)},elementType:"span"}),placeholderVisible:!h.value&&!!a.placeholder,showClearButton:W,activeDescendantController:e,...h},t1=Y(T1((c=r1.clearButton)===null||c===void 0?void 0:c.onClick,(N)=>{var R;t(N),(R=V.current)===null||R===void 0||R.focus()}));if(r1.clearButton)r1.clearButton.onClick=t1;if(v)r1.clearButton=void 0;return X(()=>{if(Z&&v)console.error('[@fluentui/react-combobox] "clearable" prop is not supported in multiselect mode.')},[Z,v]),r1};function a9(a){if(G1(a))return{element:a};if(typeof a==="object"){if(a===null)return{element:null};return a}return{}}var sH=/*@__PURE__*/D({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]});var VH=f.useInsertionEffect,Uw=(a)=>{let{className:l,dir:c,focusVisibleRef:o,targetNode:r}=a,e=v1(()=>{if(r===void 0||a.disabled)return null;let h=r.ownerDocument.createElement("div");return r.appendChild(h),h},[r,a.disabled]);return v1(()=>{if(!e)return;e.className=l,e.setAttribute("dir",c),e.setAttribute("data-portal-node","true"),o.current=e},[l,c,e,o]),X(()=>{return()=>{e===null||e===void 0||e.remove()}},[e]),e},Dw=()=>{let a=void 0;function l(o,r){if(a)return a;if(r)a=o.ownerDocument.createElement("div"),o.appendChild(a);return a}function c(){if(a)a.remove(),a=void 0}return{get:l,dispose:c}},Bw=(a)=>{let{className:l,dir:c,focusVisibleRef:o,targetNode:r}=a,[e]=h1(Dw),h=v1(()=>{if(r===void 0||a.disabled)return null;return new Proxy({},{get(Z,t){if(t==="nodeType")return 1;if(t==="remove"){let v=e.get(r,!1);if(v){if(v.childNodes.length===0)e.dispose()}return()=>{}}let i=e.get(r,!0),n=i?i[t]:void 0;if(typeof n==="function")return n.bind(i);return n},set(Z,t,i){let n=t==="_virtual"||t==="focusVisible",v=n?e.get(r,!1):e.get(r,!0);if(n&&!v)return!0;if(v)return Object.assign(v,{[t]:i}),!0;return!1}})},[e,r,a.disabled]);return VH(()=>{if(!h)return;let Z=l.split(" ").filter(Boolean);return h.classList.add(...Z),h.setAttribute("dir",c),h.setAttribute("data-portal-node","true"),o.current=h,()=>{h.classList.remove(...Z),h.removeAttribute("dir")}},[l,c,h,o]),X(()=>{return()=>{h===null||h===void 0||h.remove()}},[h]),h},kw=VH?Bw:Uw,fH=(a)=>{let{targetDocument:l,dir:c}=M1(),o=BZ(),r=w7(),e=sH(),h=K8(),Z={dir:c,disabled:a.disabled,focusVisibleRef:r,className:S(h,e.root,a.className),targetNode:o!==null&&o!==void 0?o:l===null||l===void 0?void 0:l.body};return kw(Z)};var ai=(a)=>{let{element:l,className:c}=a9(a.mountNode),o=y(null),r=fH({disabled:!!l,className:c}),e=l!==null&&l!==void 0?l:r,h={children:a.children,mountNode:e,virtualParentRootRef:o};return X(()=>{if(!e)return;let Z=o.current,t=e.contains(Z);if(Z&&!t)return ra(e,Z),()=>{ra(e,void 0)}},[o,e]),h};var li=(a)=>{return/*@__PURE__*/c1("span",{hidden:!0,ref:a.virtualParentRootRef},a.mountNode&&/*@__PURE__*/xo(/*@__PURE__*/c1(i1,null,a.children,/*@__PURE__*/c1("span",{hidden:!0})),a.mountNode))};var v2=(a)=>{let l=ai(a);return li(l)};v2.displayName="Portal";var ci=Z2({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{return}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"}),ul1=ci.Provider;var l9=(a,l)=>{return J(a),/*@__PURE__*/g(a.root,{children:/*@__PURE__*/g(f6,{value:l.activeDescendant,children:/*@__PURE__*/g(Y2.Provider,{value:l.listbox,children:/*@__PURE__*/_1(ci.Provider,{value:l.combobox,children:[/*@__PURE__*/_1(a.button,{children:[a.button.children,a.expandIcon&&/*@__PURE__*/g(a.expandIcon,{})]}),a.clearButton&&/*@__PURE__*/g(a.clearButton,{}),a.listbox&&(a.inlinePopup?/*@__PURE__*/g(a.listbox,{}):/*@__PURE__*/g(v2,{mountNode:a.mountNode,children:/*@__PURE__*/g(a.listbox,{})}))]})})})})};var p3={root:"fui-Dropdown",button:"fui-Dropdown__button",clearButton:"fui-Dropdown__clearButton",expandIcon:"fui-Dropdown__expandIcon",listbox:"fui-Dropdown__listbox"},yw=/*@__PURE__*/D({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Br277j9:"f18qfb8s",Btis473:"f1m082s7"},listbox:{B7ck84d:"f1ewtqcl",E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},button:{Bt984gj:"f122n59",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",i8kkvl:"f14mj54c",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bahqtrf:"fk6fouc",Budl1dq:"f12nh0o2",Brf1p80:"f1869bpl",fsow6f:["f1o700av","fes3tcz"],a9b677:"fly5x3f",Brovlpu:"ftqa4ok"},placeholder:{sj55zd:"fxc4j92"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fye6m5k","f3cq2dl"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f14ev680","f58uxzw"]},large:{i8kkvl:"f1rjii52",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f139mn7i","f1v3q0m"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fs2rfia"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fs2rfia"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},disabledText:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"},hidden:{mc9l5x:"fjseox"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".f122n59{align-items:center;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1k6fduh{cursor:pointer;}",".f13qh94s{display:grid;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f12nh0o2{grid-template-columns:[content] 1fr [icon] auto [end];}",".f1869bpl{justify-content:space-between;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fly5x3f{width:100%;}",".fxc4j92{color:var(--colorNeutralForeground4);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fye6m5k{padding:3px var(--spacingHorizontalSNudge) 3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f3cq2dl{padding:3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 3px var(--spacingHorizontalSNudge);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f14ev680{padding:5px var(--spacingHorizontalMNudge) 5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58uxzw{padding:5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 5px var(--spacingHorizontalMNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f139mn7i{padding:7px var(--spacingHorizontalM) 7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".f1v3q0m{padding:7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 7px var(--spacingHorizontalM);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],t:["@supports selector(:has(*)){.f18qfb8s:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}","@supports selector(:has(*)){.f1m082s7:has(.fui-Dropdown__clearButton:focus)::after{transform:scaleX(0);}}"],f:[".ftqa4ok:focus{outline-style:none;}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),Ow=/*@__PURE__*/D({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Br312pm:"f12w6cgp",Bw0ie65:"f8bv1bt",Bo70h7d:"fvc9v3g"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f12w6cgp{grid-column-start:icon;}",".f8bv1bt{grid-column-end:end;}",".fvc9v3g svg{display:block;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"]}),Pw=/*@__PURE__*/j("rticfuj","r1vp6jef",{r:[".rticfuj{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-right:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".rticfuj:focus{outline-style:none;}",".rticfuj:focus-visible{outline-style:none;}",".rticfuj[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rticfuj[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r1vp6jef{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-left:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".r1vp6jef:focus{outline-style:none;}",".r1vp6jef:focus-visible{outline-style:none;}",".r1vp6jef[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r1vp6jef[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.rticfuj[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r1vp6jef[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),c9=(a)=>{let{appearance:l,open:c,placeholderVisible:o,showClearButton:r,size:e}=a,h=`${a.button["aria-invalid"]}`==="true",Z=a.button.disabled,t=yw(),i=Ow(),n=Pw();if(a.root.className=S(p3.root,t.root,t[l],!Z&&l==="outline"&&t.outlineInteractive,h&&l!=="underline"&&t.invalid,h&&l==="underline"&&t.invalidUnderline,Z&&t.disabled,a.root.className),a.button.className=S(p3.button,t.button,t[e],o&&t.placeholder,Z&&t.disabledText,a.button.className),a.listbox)a.listbox.className=S(p3.listbox,t.listbox,a.inlinePopup&&t.inlineListbox,!c&&t.listboxCollapsed,a.listbox.className);if(a.expandIcon)a.expandIcon.className=S(p3.expandIcon,i.icon,i[e],Z&&i.disabled,r&&t.hidden,a.expandIcon.className);if(a.clearButton)a.clearButton.className=S(p3.clearButton,n,i.icon,i[e],Z&&i.disabled,!r&&t.hidden,a.clearButton.className);return a};function FH(a){let{appearance:l,open:c,getOptionById:o,getOptionsMatchingValue:r,registerOption:e,selectedOptions:h,selectOption:Z,setOpen:t,size:i,activeDescendantController:n,onOptionClick:v,onActiveDescendantChange:d}=a,M={activeOption:void 0,appearance:l,focusVisible:!1,open:c,registerOption:e,selectedOptions:h,selectOption:Z,setActiveOption:()=>null,setOpen:t,size:i},_={activeOption:void 0,focusVisible:!1,getOptionById:o,getOptionsMatchingValue:r,registerOption:e,selectedOptions:h,selectOption:Z,setActiveOption:()=>null,onOptionClick:v,onActiveDescendantChange:d},p=v1(()=>({controller:n}),[n]);return{combobox:M,activeDescendant:p,listbox:_}}var p4=/*@__PURE__*/z((a,l)=>{let c=Na(a,l),o=FH(c);return c9(c),I("useDropdownStyles_unstable")(c),l9(c,o)});p4.displayName="Dropdown";var o9=(a)=>{return J(a),/*@__PURE__*/g(a.root,{children:a.root.children!==void 0&&/*@__PURE__*/g(a.wrapper,{children:a.root.children})})};var r9=(a,l)=>{let{alignContent:c="center",appearance:o="default",inset:r=!1,...e}=a,h=xH(e,l);return{alignContent:c,appearance:o,inset:r,...h}},xH=(a,l)=>{let{vertical:c=!1,wrapper:o,...r}=a,e=J1("divider-");return{vertical:c,components:{root:"div",wrapper:"div"},root:U.always({role:"separator","aria-orientation":c?"vertical":"horizontal","aria-labelledby":a.children?e:void 0,ref:l,...r},{elementType:"div"}),wrapper:U.always(o,{defaultProps:{id:e,children:a.children},elementType:"div"})}};var e9={root:"fui-Divider",wrapper:"fui-Divider__wrapper"};var hS=/*@__PURE__*/D({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bh6795r:"fqerorx",qhf8xq:"f10pi13n",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",fsow6f:"f17mccla",Bcvre1j:"fyl8oag",Br0sdwz:"f16vkdww",Bn78ew0:"fhsnbul",li1rpt:"f1gw3sf2",ap17g6:"f1ly5f7u",B771hl4:"f1s3tz6t"},childless:{susq4k:"f1kyqvp9",Bicfajf:["fzynn9s","f1z0ukd1"],jwcpgy:["fekrn8e","ftdg338"],B4rk6o:"fesgyo"},start:{Bsft5z2:"f13zj6fq"},center:{Ftih45:"f1wl9k8s",Bsft5z2:"f13zj6fq"},end:{Ftih45:"f1wl9k8s"},brand:{sj55zd:"f16muhyy",Bq4z7u6:"fcbuu2a",Bk5zm6e:["f1wdw2dr","f1ttio3w"],Bqjgrrk:"f1582fpk",Bm6vgfq:["f1ttio3w","f1wdw2dr"],B0n5ga8:"f1ahrvm8",s924m2:["f1cd3wbc","f17hbk9y"],B1q35kw:"fvrapl0",Gp14am:["f17hbk9y","f1cd3wbc"]},default:{sj55zd:"fkfq4zb",Bq4z7u6:"f1vccso1",Bk5zm6e:["f1geml7w","fjml6kk"],Bqjgrrk:"f1r7kh1m",Bm6vgfq:["fjml6kk","f1geml7w"],B0n5ga8:"f16j7guv",s924m2:["fx01ahm","fj1a37q"],B1q35kw:"fl8d8yv",Gp14am:["fj1a37q","fx01ahm"]},subtle:{sj55zd:"f11d4kpn",Bq4z7u6:"f5g06un",Bk5zm6e:["f13sxdku","f1n015lb"],Bqjgrrk:"f1x6bl8t",Bm6vgfq:["f1n015lb","f13sxdku"],B0n5ga8:"fvod1wy",s924m2:["fwslg65","flk0e17"],B1q35kw:"f103fvts",Gp14am:["flk0e17","fwslg65"]},strong:{sj55zd:"f19n0e5",Bq4z7u6:"f10tv6oz",Bk5zm6e:["f16xp3sf","f1seuxxq"],Bqjgrrk:"fwrmqbx",Bm6vgfq:["f1seuxxq","f16xp3sf"],B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fqerorx{flex-grow:1;}",".f10pi13n{position:relative;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f17mccla{text-align:center;}",".fyl8oag::before{box-sizing:border-box;}",".f16vkdww::before{display:flex;}",".fhsnbul::before{flex-grow:1;}",".f1gw3sf2::after{box-sizing:border-box;}",".f1ly5f7u::after{display:flex;}",".f1s3tz6t::after{flex-grow:1;}",".f1kyqvp9::before{margin-bottom:0;}",".fzynn9s::before{margin-right:0;}",".f1z0ukd1::before{margin-left:0;}",".fekrn8e::after{margin-left:0;}",".ftdg338::after{margin-right:0;}",".fesgyo::after{margin-top:0;}",'.f13zj6fq::after{content:"";}','.f1wl9k8s::before{content:"";}',".f16muhyy{color:var(--colorBrandForeground1);}",".fcbuu2a::before{border-top-color:var(--colorBrandStroke1);}",".f1wdw2dr::before{border-right-color:var(--colorBrandStroke1);}",".f1ttio3w::before{border-left-color:var(--colorBrandStroke1);}",".f1582fpk::before{border-bottom-color:var(--colorBrandStroke1);}",".f1ahrvm8::after{border-top-color:var(--colorBrandStroke1);}",".f1cd3wbc::after{border-right-color:var(--colorBrandStroke1);}",".f17hbk9y::after{border-left-color:var(--colorBrandStroke1);}",".fvrapl0::after{border-bottom-color:var(--colorBrandStroke1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1vccso1::before{border-top-color:var(--colorNeutralStroke2);}",".f1geml7w::before{border-right-color:var(--colorNeutralStroke2);}",".fjml6kk::before{border-left-color:var(--colorNeutralStroke2);}",".f1r7kh1m::before{border-bottom-color:var(--colorNeutralStroke2);}",".f16j7guv::after{border-top-color:var(--colorNeutralStroke2);}",".fx01ahm::after{border-right-color:var(--colorNeutralStroke2);}",".fj1a37q::after{border-left-color:var(--colorNeutralStroke2);}",".fl8d8yv::after{border-bottom-color:var(--colorNeutralStroke2);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f5g06un::before{border-top-color:var(--colorNeutralStroke3);}",".f13sxdku::before{border-right-color:var(--colorNeutralStroke3);}",".f1n015lb::before{border-left-color:var(--colorNeutralStroke3);}",".f1x6bl8t::before{border-bottom-color:var(--colorNeutralStroke3);}",".fvod1wy::after{border-top-color:var(--colorNeutralStroke3);}",".fwslg65::after{border-right-color:var(--colorNeutralStroke3);}",".flk0e17::after{border-left-color:var(--colorNeutralStroke3);}",".f103fvts::after{border-bottom-color:var(--colorNeutralStroke3);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}",".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}",".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}",".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}"]}),ZS=/*@__PURE__*/D({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{fsow6f:["f1o700av","fes3tcz"],Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{fsow6f:"f17mccla",Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{fsow6f:["fes3tcz","f1o700av"],Bicfajf:["f1ojjlep","fk1kexq"],Bsft5z2:"f13zj6fq",jwcpgy:["f12w1bnb","f1558wlj"],Iy66sp:"f1ayce8x"}},{d:[".fly5x3f{width:100%;}",".f163fonl::before{border-top-style:solid;}",".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",".f13rof3u::before{min-width:8px;}",".f8rth92::after{border-top-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f1iyka9k::after{min-width:8px;}",".fjlbh76{padding-left:12px;}",".f11qrl6u{padding-right:12px;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",'.f1wl9k8s::before{content:"";}',".f1ojjlep::before{margin-right:12px;}",".fk1kexq::before{margin-left:12px;}",".f1he2m4d::before{max-width:8px;}",".f12w1bnb::after{margin-left:12px;}",".f1558wlj::after{margin-right:12px;}",".f17mccla{text-align:center;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),tS=/*@__PURE__*/D({base:{Beiy3e4:"f1vx9l62",sshi5w:"f16gbxbe",m598lv:["f1yq6w5o","f1jpmc5p"],B4f6apu:["f9sc749","f1x8pvcy"],zkzzav:"fhkwbjy",Barhvk9:["flthirb","ftkbnf5"],Ihftqj:["f13hvwk3","f1en4csx"],Bde111x:"f19onpk6"},inset:{B6of3ja:"f1xdg43u",jrapky:"f1jlhsmd"},withChildren:{sshi5w:"f1tjaq3g"},start:{Ftih45:"f1wl9k8s",susq4k:"fg2pwug",Bbdr6tz:"fkjtzyi",B4rk6o:"f8vk40g"},center:{susq4k:"fg2pwug",B4rk6o:"f8vk40g"},end:{susq4k:"fg2pwug",Bsft5z2:"f13zj6fq",B4rk6o:"f8vk40g",gn64ia:"fqg5mu5"}},{d:[".f1vx9l62{flex-direction:column;}",".f16gbxbe{min-height:20px;}",".f1yq6w5o::before{border-right-style:solid;}",".f1jpmc5p::before{border-left-style:solid;}",".f9sc749::before{border-right-width:var(--strokeWidthThin);}",".f1x8pvcy::before{border-left-width:var(--strokeWidthThin);}",".fhkwbjy::before{min-height:8px;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f19onpk6::after{min-height:8px;}",".f1xdg43u{margin-top:12px;}",".f1jlhsmd{margin-bottom:12px;}",".f1tjaq3g{min-height:84px;}",'.f1wl9k8s::before{content:"";}',".fg2pwug::before{margin-bottom:12px;}",".fkjtzyi::before{max-height:8px;}",".f8vk40g::after{margin-top:12px;}",'.f13zj6fq::after{content:"";}',".fqg5mu5::after{max-height:8px;}"]}),h9=(a)=>{let l=hS(),c=ZS(),o=tS(),{alignContent:r,appearance:e,inset:h,vertical:Z}=a;if(a.root.className=S(e9.root,l.base,l[r],e&&l[e],!Z&&c.base,!Z&&h&&c.inset,!Z&&c[r],Z&&o.base,Z&&h&&o.inset,Z&&o[r],Z&&a.root.children!==void 0&&o.withChildren,a.root.children===void 0&&l.childless,a.root.className),a.wrapper)a.wrapper.className=S(e9.wrapper,a.wrapper.className);return a};var G5=/*@__PURE__*/z((a,l)=>{let c=r9(a,l);return h9(c),I("useDividerStyles_unstable")(c),o9(c)});G5.displayName="Divider";var Z9=(a,l)=>{a=S5(a,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});let c=e6();var o;let{size:r="medium",appearance:e=(o=c.inputDefaultAppearance)!==null&&o!==void 0?o:"outline",onChange:h}=a;if(e==="filled-darker-shadow"||e==="filled-lighter-shadow")console.error("The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the future.");let[Z,t]=q0({state:a.value,defaultState:a.defaultValue,initialState:""}),i=q2({props:a,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),n={size:r,appearance:e,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:U.always(a.input,{defaultProps:{type:"text",ref:l,...i.primary},elementType:"input"}),contentAfter:U.optional(a.contentAfter,{elementType:"span"}),contentBefore:U.optional(a.contentBefore,{elementType:"span"}),root:U.always(a.root,{defaultProps:i.root,elementType:"span"})};return n.input.value=Z,n.input.onChange=Y((v)=>{let d=v.target.value;h===null||h===void 0||h(v,{value:d}),t(d)}),n};var t9=(a)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[a.contentBefore&&/*@__PURE__*/g(a.contentBefore,{}),/*@__PURE__*/g(a.input,{}),a.contentAfter&&/*@__PURE__*/g(a.contentAfter,{})]})};var _4={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"};var Dc1={root:{small:K1.spacingHorizontalSNudge,medium:K1.spacingHorizontalMNudge,large:K1.spacingHorizontalM},input:{small:K1.spacingHorizontalXXS,medium:K1.spacingHorizontalXXS,large:K1.spacingHorizontalSNudge},combined:{small:K1.spacingHorizontalS,medium:K1.spacingHorizontalM,large:`calc(${K1.spacingHorizontalM} + ${K1.spacingHorizontalSNudge})`}},iS=/*@__PURE__*/j("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),vS=/*@__PURE__*/D({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),nS=/*@__PURE__*/j("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),dS=/*@__PURE__*/D({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),MS=/*@__PURE__*/j("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),pS=/*@__PURE__*/D({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),i9=(a)=>{let{size:l,appearance:c}=a,o=a.input.disabled,r=`${a.input["aria-invalid"]}`==="true",e=c.startsWith("filled"),h=vS(),Z=dS(),t=pS();a.root.className=S(_4.root,iS(),h[l],a.contentBefore&&h[`${l}WithContentBefore`],a.contentAfter&&h[`${l}WithContentAfter`],h[c],!o&&c==="outline"&&h.outlineInteractive,!o&&c==="underline"&&h.underlineInteractive,!o&&e&&h.filledInteractive,e&&h.filled,!o&&r&&h.invalid,o&&h.disabled,a.root.className),a.input.className=S(_4.input,nS(),Z[l],a.contentBefore&&Z[`${l}WithContentBefore`],a.contentAfter&&Z[`${l}WithContentAfter`],o&&Z.disabled,a.input.className);let i=[MS(),o&&t.disabled,t[l]];if(a.contentBefore)a.contentBefore.className=S(_4.contentBefore,...i,a.contentBefore.className);if(a.contentAfter)a.contentAfter.className=S(_4.contentAfter,...i,a.contentAfter.className);return a};var N0=/*@__PURE__*/z((a,l)=>{let c=Z9(a,l);return i9(c),I("useInputStyles_unstable")(c),t9(c)});N0.displayName="Input";var v9=(a)=>{let{disabled:l,disabledFocusable:c}=a,{onClick:o,onKeyDown:r,role:e,tabIndex:h}=a.root;if(a.root.as==="a"){if(a.root.href=l?void 0:a.root.href,l||c)a.root.role=e||"link"}if(a.root.as==="a"||a.root.as==="span")a.root.tabIndex=h!==null&&h!==void 0?h:l&&!c?void 0:0;if(a.root.onClick=(Z)=>{if(l||c)Z.preventDefault();else o===null||o===void 0||o(Z)},a.root.onKeyDown=(Z)=>{let t=Z.key===I2||Z.key===w5;if((l||c)&&t)Z.preventDefault(),Z.stopPropagation();else if(r===null||r===void 0||r(Z),a.root.as==="span"&&!!a.root.onClick&&!r&&t)Z.preventDefault(),Z.currentTarget.click()},a.disabled=l||c,a.root["aria-disabled"]=l||c||void 0,a.root.as==="button")a.root.disabled=l&&!c;return a};var gH=e1(void 0),oi={inline:!1},ur=gH.Provider,sr=()=>{var a;return(a=l1(gH))!==null&&a!==void 0?a:oi};var n9=(a,l)=>{let c=h6(),{inline:o}=sr(),{appearance:r="default",disabled:e=!1,disabledFocusable:h=!1,inline:Z=!1}=a,t=a.as||(a.href?"a":"button"),i={role:t==="span"?"button":void 0,type:t==="button"?"button":void 0,...a,as:t},n={appearance:r,disabled:e,disabledFocusable:h,inline:Z!==null&&Z!==void 0?Z:!!o,components:{root:t},root:U.always(o1(t,{ref:l,...i}),{elementType:t}),backgroundAppearance:c};return v9(n),n};var Vr={root:"fui-Link"},_S=/*@__PURE__*/D({focusIndicator:{Bttzg6e:"fhgqx19",B3uz8dt:"f1olyrje",B6ihwck:"f1p93eir",g9k6zt:"f1nev41a"},root:{B486eqv:"f2hkw1w",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"fyind8e",Bceei9c:"f1k6fduh",mc9l5x:"f1w7gpdv",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",B68tc82:0,Bmxbyg5:0,Bpg54ce:"fnbmjn9",fsow6f:["f1o700av","fes3tcz"],w71qe1:"f1iuv45f",Bkioxbp:"f1cmlufx",ygn44y:"f9n3di6",famaaq:"f1ids18y",Bde5pd6:"f1tx3yz7",Bi91k9c:"f1deo86v",i089h6:"f1eh06m1",lj723h:"f1iescvh"},button:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"]},href:{Be2twd7:"fjoy568"},subtle:{sj55zd:"f2yjg6r",Bde5pd6:"f1tx3yz7",Bi91k9c:"fj1cjhr",i089h6:"f1eh06m1",lj723h:"fhucn0c"},inline:{w71qe1:"f13mvf36"},disabled:{w71qe1:"f1iuv45f",sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bde5pd6:"fbnuktb",Bi91k9c:"fvgxktp",i089h6:"fljg2da",lj723h:"f19wldhg"},inverted:{sj55zd:"f1qz2gb0",Bi91k9c:"f1ujg2k6",lj723h:"f1ebemlp"},brand:{sj55zd:"f179xftw",Bi91k9c:"f1sk1dtk",lj723h:"f182g21t"}},{d:[".fhgqx19[data-fui-focus-visible]{text-decoration-color:var(--colorStrokeFocus2);}",".f1olyrje[data-fui-focus-visible]{text-decoration-line:underline;}",".f1p93eir[data-fui-focus-visible]{text-decoration-style:double;}",".f1nev41a[data-fui-focus-visible]{outline-style:none;}",".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".fyind8e{color:var(--colorBrandForegroundLink);}",".f1k6fduh{cursor:pointer;}",".f1w7gpdv{display:inline;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",[".f1s184ao{margin:0;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".fnbmjn9{overflow:inherit;}",{p:-1}],".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".f1iuv45f{text-decoration-line:none;}",".f1cmlufx{text-decoration-thickness:var(--strokeWidthThin);}",".f9n3di6{text-overflow:inherit;}",".f1ids18y{-webkit-user-select:text;-moz-user-select:text;user-select:text;}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",".fjoy568{font-size:inherit;}",".f2yjg6r{color:var(--colorNeutralForeground2Link);}",".f13mvf36{text-decoration-line:underline;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".f179xftw{color:var(--colorNeutralForegroundInvertedLink);}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],h:[".f1tx3yz7:hover{text-decoration-line:underline;}",".f1deo86v:hover{color:var(--colorBrandForegroundLinkHover);}",".fj1cjhr:hover{color:var(--colorNeutralForeground2LinkHover);}",".fbnuktb:hover{text-decoration-line:none;}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ujg2k6:hover{color:var(--colorBrandForegroundInverted);}",".f1sk1dtk:hover{color:var(--colorNeutralForegroundInvertedLinkHover);}"],a:[".f1eh06m1:active{text-decoration-line:underline;}",".f1iescvh:active{color:var(--colorBrandForegroundLinkPressed);}",".fhucn0c:active{color:var(--colorNeutralForeground2LinkPressed);}",".fljg2da:active{text-decoration-line:none;}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ebemlp:active{color:var(--colorBrandForegroundInverted);}",".f182g21t:active{color:var(--colorNeutralForegroundInvertedLinkPressed);}"]}),d9=(a)=>{let l=_S(),{appearance:c,disabled:o,inline:r,root:e,backgroundAppearance:h}=a;return a.root.className=S(Vr.root,l.root,l.focusIndicator,e.as==="a"&&e.href&&l.href,e.as==="button"&&l.button,c==="subtle"&&l.subtle,h==="inverted"&&l.inverted,h==="brand"&&l.brand,r&&l.inline,o&&l.disabled,a.root.className),a};var M9=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var D0=/*@__PURE__*/z((a,l)=>{let c=n9(a,l);return d9(c),I("useLinkStyles_unstable")(c),M9(c)});D0.displayName="Link";var fr=Z2(void 0),AS={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1},xo1=fr.Provider,V0=(a)=>M3(fr,(l=AS)=>a(l));var LH={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},CH={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},H1={...LH,...CH};var ri=e1(void 0),Co1=ri.Provider;function RH(a){if(a.playState==="running"){var l;if(a.overallProgress!==void 0){var c;let Z=(c=a.overallProgress)!==null&&c!==void 0?c:0;return Z>0&&Z<1}var o;let e=Number((o=a.currentTime)!==null&&o!==void 0?o:0);var r;let h=Number((r=(l=a.effect)===null||l===void 0?void 0:l.getTiming().duration)!==null&&r!==void 0?r:0);return e>0&&e<h}return!1}var mS={fill:"forwards"},HS={duration:1};function uS(a){return{set playbackRate(l){a.forEach((c)=>{c.playbackRate=l})},setMotionEndCallbacks(l,c){let o=a.map((r)=>{return new Promise((e,h)=>{r.onfinish=()=>e(),r.oncancel=()=>h()})});Promise.all(o).then(()=>{l()}).catch(()=>{c()})},isRunning(){return a.some((l)=>RH(l))},dispose:()=>{a.length=0},cancel:()=>{a.forEach((l)=>{l.cancel()})},pause:()=>{a.forEach((l)=>{l.pause()})},play:()=>{a.forEach((l)=>{l.play()})},finish:()=>{a.forEach((l)=>{l.finish()})},reverse:()=>{a.forEach((l)=>{l.reverse()})}}}function sS(){var a;let l=typeof window<"u"&&typeof((a=window.Animation)===null||a===void 0?void 0:a.prototype.persist)==="function";return Q((c,o,r)=>{let e=Array.isArray(o)?o:[o],{isReducedMotion:h}=r,Z=e.map((t)=>{let{keyframes:i,reducedMotion:n=HS,...v}=t,{keyframes:d=i,...M}=n,_=h?d:i,p={...mS,...v,...h&&M};try{let m=c.animate(_,p);if(l)m===null||m===void 0||m.persist();else{let u=_[_.length-1];var A;Object.assign((A=c.style)!==null&&A!==void 0?A:{},u)}return m}catch(m){return null}}).filter((t)=>!!t);return uS(Z)},[l])}function Fr(){return sS()}function xr(a){let l=y(void 0);return Y0(a,()=>({setPlayState:(c)=>{if(c==="running"){var o;(o=l.current)===null||o===void 0||o.play()}if(c==="paused"){var r;(r=l.current)===null||r===void 0||r.pause()}},setPlaybackRate:(c)=>{if(l.current)l.current.playbackRate=c}})),l}function wH(a=!1,l=!1){let c=y(l?a:!0),o=t6(),r=Q((e)=>{if(c.current!==e)c.current=e,o()},[o]);return X(()=>{if(a)c.current=a}),[a||c.current,r]}var VS="screen and (prefers-reduced-motion: reduce)";function gr(){let{targetDocument:a}=M1();var l;let c=(l=a===null||a===void 0?void 0:a.defaultView)!==null&&l!==void 0?l:null,o=y(!1),r=Q(()=>o.current,[]);return P1(()=>{if(c===null||typeof c.matchMedia!=="function")return;let e=c.matchMedia(VS);if(e.matches)o.current=!0;let h=(Z)=>{o.current=Z.matches};return e.addEventListener("change",h),()=>{e.removeEventListener("change",h)}},[c]),r}var SH=["@fluentui/react-motion: Invalid child element.",`
|
|
139
|
-
`,"Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function Lr(a,l=!0){let c=y(null);X(()=>{if(l&&!c.current)console.error(SH)},[l]);try{let o=T5.only(a);if(Z5(o))return[b3(o,{ref:g1(c,a3(o))}),c]}catch{}throw Error(SH)}var GH=e1(void 0),Eo1=GH.Provider,Cr=()=>{var a;return(a=l1(GH))!==null&&a!==void 0?a:"default"};var fS=Symbol("MOTION_DEFINITION");function ei(a){return Object.assign((c)=>{let{children:o,imperativeRef:r,onMotionFinish:e,onMotionStart:h,onMotionCancel:Z,...t}=c,i=t,[n,v]=Lr(o),d=xr(r),M=Cr()==="skip",_=y({skipMotions:M,params:i}),p=Fr(),A=gr(),m=Y(()=>{h===null||h===void 0||h(null)}),u=Y(()=>{e===null||e===void 0||e(null)}),V=Y(()=>{Z===null||Z===void 0||Z(null)});return P1(()=>{_.current={skipMotions:M,params:i}}),P1(()=>{let s=v.current;if(s){let F=typeof a==="function"?a({element:s,..._.current.params}):a;m();let L=p(s,F,{isReducedMotion:A()});if(d.current=L,L.setMotionEndCallbacks(u,V),_.current.skipMotions)L.finish();return()=>{L.cancel()}}},[p,v,d,A,u,m,V]),n},{[fS]:typeof a==="function"?a:()=>a})}var hi=Symbol("PRESENCE_MOTION_DEFINITION"),FS=Symbol.for("interruptablePresence");function t5(a){return Object.assign((l)=>{let o={...l1(ri),...l},r=Cr()==="skip",{appear:e,children:h,imperativeRef:Z,onExit:t,onMotionFinish:i,onMotionStart:n,onMotionCancel:v,visible:d,unmountOnExit:M,..._}=o,p=_,[A,m]=wH(d,M),[u,V]=Lr(h,A),s=xr(Z),F=y({appear:e,params:p,skipMotions:r}),L=Fr(),C=Z6(),P=gr(),W=Y((N)=>{n===null||n===void 0||n(null,{direction:N})}),r1=Y((N)=>{if(i===null||i===void 0||i(null,{direction:N}),N==="exit"&&M)m(!1),t===null||t===void 0||t()}),t1=Y((N)=>{v===null||v===void 0||v(null,{direction:N})});if(P1(()=>{F.current={appear:e,params:p,skipMotions:r}}),P1(()=>{let N=V.current;if(!N)return;let R;function w(){if(!R)return;if(B&&R.isRunning())return;R.cancel(),s.current=void 0}let x=typeof a==="function"?a({element:N,...F.current.params}):a,B=x[FS];if(B){if(R=s.current,R&&R.isRunning())return R.reverse(),w}let k=d?x.enter:x.exit,$=d?"enter":"exit",E=!F.current.appear&&C,d1=F.current.skipMotions;if(!E)W($);if(R=L(N,k,{isReducedMotion:P()}),E)return R.finish(),w;if(s.current=R,R.setMotionEndCallbacks(()=>r1($),()=>t1($)),d1)R.finish();return w},[L,V,s,P,r1,W,t1,d]),X(()=>{if(M&&!A){var N;(N=s.current)===null||N===void 0||N.dispose()}},[s,M,A]),A)return u;return null},{[hi]:typeof a==="function"?a:()=>a},{In:ei(typeof a==="function"?(...l)=>a(...l).enter:a.enter),Out:ei(typeof a==="function"?(...l)=>a(...l).exit:a.exit)})}function xS(a,l){return(o)=>a({...l,...o})}function U5(a,l){let c=a[hi],o=xS(c,l);return t5(o)}var Zi=/*@__PURE__*/e1(void 0);function A4(){return l1(Zi)}var B6=/*@__PURE__*/z((a,l)=>{return/*@__PURE__*/c1(Zi.Provider,{value:l},a.children)});B6.displayName="MotionRefForwarder";var Rr=(a)=>{return/*@__PURE__*/c1(Zi.Provider,{value:void 0},a.children)};Rr.displayName="MotionRefForwarderReset";function O7(a,l){let{as:c,children:o,...r}=a!==null&&a!==void 0?a:{};if(typeof c<"u")throw Error('@fluentui/react-motion: "as" property is not supported on motion slots.');if(a===null){let h=!l.defaultProps.visible&&l.defaultProps.unmountOnExit,Z=(t,i)=>h?null:/*@__PURE__*/c1(i1,null,i.children);return{[F7]:Z,[X0]:l.elementType}}let e={...l.defaultProps,...r,[X0]:l.elementType};if(typeof o==="function")e[F7]=o;return e}var p9=(a,l)=>{let c=V0((h)=>h.size),o=V0((h)=>h.appearance),r=A4(),e=UH(a,g1(l,r));return{appearance:o,size:c,...e}},UH=(a,l)=>{let c=V0((A)=>A.contentRef),o=V0((A)=>A.openOnHover),r=V0((A)=>A.setOpen),e=V0((A)=>A.mountNode),h=V0((A)=>A.arrowRef),Z=V0((A)=>A.withArrow),t=V0((A)=>A.trapFocus),i=V0((A)=>A.inertTrapFocus),n=V0((A)=>A.inline),{modalAttributes:v}=r2({trapFocus:t,legacyTrapFocus:!i,alwaysFocusable:!t}),d={inline:n,withArrow:Z,arrowRef:h,mountNode:e,components:{root:"div"},root:U.always({ref:g1(l,c),role:t?"dialog":"group","aria-modal":t?!0:void 0,...v,...a},{elementType:"div"})},{onMouseEnter:M,onMouseLeave:_,onKeyDown:p}=d.root;return d.root.onMouseEnter=(A)=>{if(o)r(A,!0);M===null||M===void 0||M(A)},d.root.onMouseLeave=(A)=>{if(o)r(A,!1);_===null||_===void 0||_(A)},d.root.onKeyDown=(A)=>{var m;if(A.key==="Escape"&&((m=c.current)===null||m===void 0?void 0:m.contains(A.target)))A.preventDefault(),r(A,!1);p===null||p===void 0||p(A)},d};var _9=(a)=>{J(a);let l=/*@__PURE__*/_1(a.root,{children:[a.withArrow&&/*@__PURE__*/g("div",{ref:a.arrowRef,className:a.arrowClassName}),a.root.children]});if(a.inline)return l;return/*@__PURE__*/g(v2,{mountNode:a.mountNode,children:l})};var A9={root:"fui-PopoverSurface"},k6={small:6,medium:8,large:8},gS=/*@__PURE__*/D({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),y6=(a)=>{let l=gS();return a.root.className=S(A9.root,l.root,a.inline&&l.inline,a.size==="small"&&l.smallPadding,a.size==="medium"&&l.mediumPadding,a.size==="large"&&l.largePadding,a.appearance==="inverted"&&l.inverted,a.appearance==="brand"&&l.brand,a.root.className),a.arrowClassName=S(l.arrow,a.size==="small"?l.smallArrow:l.mediumLargeArrow),a};var n2=/*@__PURE__*/z((a,l)=>{let c=p9(a,l);return y6(c),I("usePopoverSurfaceStyles_unstable")(c),_9(c)});n2.displayName="PopoverSurface";var DH=4;var BH=(a,l)=>{let c=a==="horizontal"?"maxWidth":"maxHeight",o=a==="horizontal"?"overflowX":"overflowY",e=`${a==="horizontal"?l.scrollWidth:l.scrollHeight}px`;return{sizeName:c,overflowName:o,toSize:e}},kH=({orientation:a,duration:l,easing:c,element:o,outSize:r="0",delay:e=0})=>{let{sizeName:h,overflowName:Z,toSize:t}=BH(a,o);return{keyframes:[{[h]:r,[Z]:"hidden"},{[h]:t,offset:0.9999,[Z]:"hidden"},{[h]:"unset",[Z]:"unset"}],duration:l,easing:c,delay:e,fill:"both"}},yH=({orientation:a,duration:l,easing:c,element:o,delay:r=0,outSize:e="0"})=>{let{sizeName:h,overflowName:Z,toSize:t}=BH(a,o);return{keyframes:[{[h]:t,[Z]:"hidden"},{[h]:e,[Z]:"hidden"}],duration:l,easing:c,delay:r,fill:"both"}},LS=(a)=>{if(a==="horizontal")return{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"};return{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"}},ti=({direction:a,orientation:l,duration:c,easing:o,delay:r=0})=>{let{paddingStart:e,paddingEnd:h,marginStart:Z,marginEnd:t}=LS(l),i=a==="enter"?0:1;return{keyframes:[{[e]:"0",[h]:"0",[Z]:"0",[t]:"0",offset:i}],duration:c,easing:o,delay:r,fill:"both"}};var i5=({direction:a,duration:l,easing:c=H1.curveLinear,delay:o=0,outOpacity:r=0,inOpacity:e=1})=>{let h=[{opacity:r},{opacity:e}];if(a==="exit")h.reverse();return{keyframes:h,duration:l,easing:c,delay:o,fill:"both"}};var CS=({element:a,duration:l=H1.durationNormal,exitDuration:c=l,sizeDuration:o=l,opacityDuration:r=o,exitSizeDuration:e=c,exitOpacityDuration:h=e,easing:Z=H1.curveEasyEaseMax,delay:t=0,exitEasing:i=Z,exitDelay:n=t,staggerDelay:v=0,exitStaggerDelay:d=v,animateOpacity:M=!0,orientation:_="vertical",outSize:p="0px"})=>{let A=[kH({orientation:_,duration:o,easing:Z,element:a,outSize:p,delay:t}),ti({direction:"enter",orientation:_,duration:o,easing:Z,delay:t})];if(M)A.push(i5({direction:"enter",duration:r,easing:Z,delay:t+v}));let m=[];if(M)m.push(i5({direction:"exit",duration:h,easing:i,delay:n}));return m.push(yH({orientation:_,duration:e,easing:i,element:a,delay:n+d,outSize:p}),ti({direction:"exit",orientation:_,duration:e,easing:i,delay:n+d})),{enter:A,exit:m}},m9=t5(CS),OH=U5(m9,{duration:H1.durationFast}),PH=U5(m9,{duration:H1.durationSlower}),wr=U5(m9,{sizeDuration:H1.durationNormal,opacityDuration:H1.durationSlower,staggerDelay:H1.durationNormal,exitSizeDuration:H1.durationNormal,exitOpacityDuration:H1.durationSlower,exitStaggerDelay:H1.durationSlower,easing:H1.curveEasyEase,exitEasing:H1.curveEasyEase});var RS=({duration:a=H1.durationNormal,easing:l=H1.curveEasyEase,delay:c=0,exitDuration:o=a,exitEasing:r=l,exitDelay:e=c,outOpacity:h=0,inOpacity:Z=1})=>{return{enter:i5({direction:"enter",duration:a,easing:l,delay:c,outOpacity:h,inOpacity:Z}),exit:i5({direction:"exit",duration:o,easing:r,delay:e,outOpacity:h,inOpacity:Z})}},Sr=t5(RS),TH=U5(Sr,{duration:H1.durationFast}),Gr=U5(Sr,{duration:H1.durationGentle});var ii=({direction:a,duration:l,easing:c=H1.curveLinear,delay:o=0,outScale:r=0.9,inScale:e=1})=>{let h=[{scale:r},{scale:e}];if(a==="exit")h.reverse();return{keyframes:h,duration:l,easing:c,delay:o}};var wS=({duration:a=H1.durationGentle,easing:l=H1.curveDecelerateMax,delay:c=0,exitDuration:o=H1.durationNormal,exitEasing:r=H1.curveAccelerateMax,exitDelay:e=c,outScale:h=0.9,inScale:Z=1,animateOpacity:t=!0})=>{let i=[ii({direction:"enter",duration:a,easing:l,delay:c,outScale:h,inScale:Z})],n=[ii({direction:"exit",duration:o,easing:r,delay:e,outScale:h,inScale:Z})];if(t)i.push(i5({direction:"enter",duration:a,easing:l,delay:c})),n.push(i5({direction:"exit",duration:o,easing:r,delay:e}));return{enter:i,exit:n}},O6=t5(wS),EH=U5(O6,{duration:H1.durationNormal,exitDuration:H1.durationFast}),qH=U5(O6,{duration:H1.durationSlow,exitDuration:H1.durationGentle});var vi=({direction:a,duration:l,easing:c=H1.curveLinear,delay:o=0,outX:r="0px",outY:e="0px",inX:h="0px",inY:Z="0px"})=>{let t=[{translate:`${r} ${e}`},{translate:`${h} ${Z}`}];if(a==="exit")t.reverse();return{keyframes:t,duration:l,easing:c,delay:o}};var WH=H1.durationSlower,bH=H1.curveDecelerateMid,ni=t5(({distance:a=10})=>({enter:[i5({duration:WH,easing:bH,direction:"enter"}),{...vi({duration:WH,easing:bH,direction:"enter",outX:`calc(var(${R6}, 0px) * ${a})`,outY:`calc(var(${w6}, 0px) * ${a})`}),composite:"accumulate"}],exit:[]}));var H9=(a)=>{let{appearance:l,size:c="medium"}=a,o=y7(a.positioning),r=a.withArrow&&!o.coverTarget,{targetDocument:e}=M1(),h=Rt({targetDocument:e,onPositioningEnd:o.onPositioningEnd}),Z=zH({...a,positioning:{...o,onPositioningEnd:h,...r?{offset:Hr(o.offset,k6[c])}:{}}});return{components:{surfaceMotion:ni},appearance:l,size:c,...Z,surfaceMotion:O7(a.surfaceMotion,{elementType:ni,defaultProps:{visible:Z.open,appear:!0,unmountOnExit:!0}})}},zH=(a)=>{let[l,c]=Xt(),o={contextTarget:l,setContextTarget:c,...a},r=T5.toArray(a.children);if(r.length===0)console.warn("Popover must contain at least one child");if(r.length>2)console.warn("Popover must contain at most two children");let e=void 0,h=void 0;if(r.length===2)e=r[0],h=r[1];else if(r.length===1)h=r[0];let[Z,t]=SS(o),[i,n]=E5(),v=Y((F,L)=>{if(n(),!(F instanceof Event)&&F.persist)F.persist();if(F.type==="mouseleave"){var C;i(()=>{t(F,L)},(C=a.mouseLeaveDelay)!==null&&C!==void 0?C:500)}else t(F,L)}),d=Q((F)=>{v(F,!Z)},[v,Z]),M=GS(o),{targetDocument:_}=M1();var p;i6({contains:oa,element:_,callback:(F)=>v(F,!1),refs:[M.triggerRef,M.contentRef],disabled:!Z,disabledFocusOnIframe:!((p=a.closeOnIframeFocus)!==null&&p!==void 0?p:!0)});let A=o.openOnContext||o.closeOnScroll;wo({contains:oa,element:_,callback:(F)=>v(F,!1),refs:[M.triggerRef,M.contentRef],disabled:!Z||!A});let{findFirstFocusable:m}=R7(),u=Eo();X(()=>{if(a.unstable_disableAutoFocus)return;let F=M.contentRef.current;if(Z&&F){var L;let C=!isNaN((L=F.getAttribute("tabIndex"))!==null&&L!==void 0?L:void 0),P=C?F:m(F);if(P===null||P===void 0||P.focus(),C)u(F)}},[m,u,Z,M.contentRef,a.unstable_disableAutoFocus]);var V,s;return{...o,...M,inertTrapFocus:(V=a.inertTrapFocus)!==null&&V!==void 0?V:a.legacyTrapFocus===void 0?!1:!a.legacyTrapFocus,popoverTrigger:e,popoverSurface:h,open:Z,setOpen:v,toggleOpen:d,setContextTarget:c,contextTarget:l,inline:(s=a.inline)!==null&&s!==void 0?s:!1}};function SS(a){let l=Y((h,Z)=>{var t;return(t=a.onOpenChange)===null||t===void 0?void 0:t.call(a,h,Z)}),[c,o]=q0({state:a.open,defaultState:a.defaultOpen,initialState:!1});a.open=c!==void 0?c:a.open;let r=a.setContextTarget,e=Q((h,Z)=>{if(Z&&h.type==="contextmenu")r(h);if(!Z)r(void 0);o(Z),l===null||l===void 0||l(h,{open:Z})},[o,l,r]);return[c,e]}function GS(a){let l={position:"above",align:"center",arrowPadding:2*DH,target:a.openOnContext?a.contextTarget:void 0,...y7(a.positioning)};if(l.coverTarget)a.withArrow=!1;let{targetRef:c,containerRef:o,arrowRef:r}=ja(l);return{triggerRef:c,contentRef:o,arrowRef:r}}var u9=(a)=>{J(a);let{appearance:l,arrowRef:c,contentRef:o,inline:r,mountNode:e,open:h,openOnContext:Z,openOnHover:t,setOpen:i,size:n,toggleOpen:v,trapFocus:d,triggerRef:M,withArrow:_,inertTrapFocus:p}=a;return/*@__PURE__*/_1(fr.Provider,{value:{appearance:l,arrowRef:c,contentRef:o,inline:r,mountNode:e,open:h,openOnContext:Z,openOnHover:t,setOpen:i,toggleOpen:v,triggerRef:M,size:n,trapFocus:d,inertTrapFocus:p,withArrow:_},children:[a.popoverTrigger,a.popoverSurface&&/*@__PURE__*/g(a.surfaceMotion,{children:/*@__PURE__*/g(B6,{children:a.popoverSurface})})]})};var d2=(a)=>{let l=H9(a);return u9(l)};d2.displayName="Popover";var s9=(a)=>{let{children:l,disableButtonEnhancement:c=!1}=a,o=J3(l),r=V0((V)=>V.open),e=V0((V)=>V.setOpen),h=V0((V)=>V.toggleOpen),Z=V0((V)=>V.triggerRef),t=V0((V)=>V.openOnHover),i=V0((V)=>V.openOnContext),{triggerAttributes:n}=r2(),v=(V)=>{if(i)V.preventDefault(),e(V,!0)},d=(V)=>{if(!i)h(V)},M=(V)=>{if(V.key===U7&&r&&!V.isDefaultPrevented())e(V,!1),V.preventDefault()},_=(V)=>{if(t)e(V,!0)},p=(V)=>{if(t)e(V,!1)},A={...n,"aria-expanded":`${r}`,...o===null||o===void 0?void 0:o.props,onMouseEnter:Y(T1(o===null||o===void 0?void 0:o.props.onMouseEnter,_)),onMouseLeave:Y(T1(o===null||o===void 0?void 0:o.props.onMouseLeave,p)),onContextMenu:Y(T1(o===null||o===void 0?void 0:o.props.onContextMenu,v)),ref:g1(Z,a3(o))},m={...A,onClick:Y(T1(o===null||o===void 0?void 0:o.props.onClick,d)),onKeyDown:Y(T1(o===null||o===void 0?void 0:o.props.onKeyDown,M))},u=h2((o===null||o===void 0?void 0:o.type)==="button"||(o===null||o===void 0?void 0:o.type)==="a"?o.type:"div",m);return{children:n6(a.children,h2((o===null||o===void 0?void 0:o.type)==="button"||(o===null||o===void 0?void 0:o.type)==="a"?o.type:"div",i?A:c?m:u))}};var V9=(a)=>{return a.children};var z5=(a)=>{let l=s9(a);return V9(l)};z5.displayName="PopoverTrigger";z5.isFluentTriggerComponent=!0;var QH=e1(void 0),BS={},Gh1=QH.Provider,JH=()=>{var a;return(a=l1(QH))!==null&&a!==void 0?a:BS};var f9=(a,l)=>{let{size:c}=JH(),{appearance:o="primary",labelPosition:r="after",size:e=c!==null&&c!==void 0?c:"medium",delay:h=0}=a,Z=J1("spinner"),{role:t="progressbar",...i}=a,n=U.always(o1("div",{ref:l,role:t,...i},["size"]),{elementType:"div"}),[v,d]=h1(!1),[M,_]=E5();X(()=>{if(h<=0)return;return M(()=>{d(!0)},h),()=>{_()}},[M,_,h]);let p=U.optional(a.label,{defaultProps:{id:Z},renderByDefault:!1,elementType:s0}),A=U.optional(a.spinner,{renderByDefault:!0,elementType:"span"});if(p&&n&&!n["aria-labelledby"])n["aria-labelledby"]=p.id;return{appearance:o,delay:h,labelPosition:r,size:e,shouldRenderSpinner:!h||v,components:{root:"div",spinner:"span",spinnerTail:"span",label:s0},root:n,spinner:A,spinnerTail:U.always(a.spinnerTail,{elementType:"span"}),label:p}};var F9=(a)=>{J(a);let{labelPosition:l,shouldRenderSpinner:c}=a;return/*@__PURE__*/_1(a.root,{children:[a.label&&c&&(l==="above"||l==="before")&&/*@__PURE__*/g(a.label,{}),a.spinner&&c&&/*@__PURE__*/g(a.spinner,{children:a.spinnerTail&&/*@__PURE__*/g(a.spinnerTail,{})}),a.label&&c&&(l==="below"||l==="after")&&/*@__PURE__*/g(a.label,{})]})};var m4={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"};var kS=/*@__PURE__*/j("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),yS=/*@__PURE__*/D({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),OS=/*@__PURE__*/j("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),PS=/*@__PURE__*/j("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),TS=/*@__PURE__*/D({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),ES=/*@__PURE__*/D({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),x9=(a)=>{let{labelPosition:l,size:c,appearance:o}=a,{dir:r}=M1(),e=kS(),h=yS(),Z=OS(),t=TS(),i=PS(),n=ES();if(a.root.className=S(m4.root,e,(l==="above"||l==="below")&&h.vertical,a.root.className),a.spinner)a.spinner.className=S(m4.spinner,Z,t[c],o==="inverted"&&t.inverted,a.spinner.className);if(a.spinnerTail)a.spinnerTail.className=S(m4.spinnerTail,i,r==="rtl"&&t.rtlTail,a.spinnerTail.className);if(a.label)a.label.className=S(m4.label,n[c],o==="inverted"&&n.inverted,a.label.className);return a};var D5=/*@__PURE__*/z((a,l)=>{let c=f9(a,l);return x9(c),I("useSpinnerStyles_unstable")(c),F9(c)});D5.displayName="Spinner";var g9=(a,l)=>{let{size:c="medium",...o}=a;return{...IH(o,l),size:c}},IH=(a,l)=>{a=S5(a,{supportsLabelFor:!0,supportsRequired:!0});let{checked:c,defaultChecked:o,disabled:r,disabledFocusable:e=!1,labelPosition:h="after",onChange:Z,required:t}=a,i=q2({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),n=J1("switch-",i.primary.id),v=U.always(a.root,{defaultProps:{ref:o2(),...i.root},elementType:"div"}),d=U.always(a.indicator,{defaultProps:{"aria-hidden":!0,children:/*@__PURE__*/c1(Ko,null)},elementType:"div"}),M=U.always(a.input,{defaultProps:{checked:c,defaultChecked:o,id:n,ref:l,role:"switch",type:"checkbox",...i.primary,disabled:r&&!e,...e&&{"aria-disabled":!0}},elementType:"input"});M.onChange=T1(M.onChange,(p)=>Z===null||Z===void 0?void 0:Z(p,{checked:p.currentTarget.checked})),M.onClick=T1(M.onClick,(p)=>{if(e)p.preventDefault()}),M.onKeyDown=T1(M.onKeyDown,(p)=>{if(e&&(p.key===" "||p.key==="Enter"))p.preventDefault()});let _=U.optional(a.label,{defaultProps:{disabled:r||e,htmlFor:n,required:t,size:"medium"},elementType:s0});return{disabledFocusable:e,labelPosition:h,components:{root:"div",indicator:"div",input:"input",label:s0},root:v,indicator:d,input:M,label:_}};var L9=(a)=>{J(a);let{labelPosition:l}=a;return/*@__PURE__*/_1(a.root,{children:[/*@__PURE__*/g(a.input,{}),l!=="after"&&a.label&&/*@__PURE__*/g(a.label,{}),/*@__PURE__*/g(a.indicator,{}),l==="after"&&a.label&&/*@__PURE__*/g(a.label,{})]})};var _3={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},$H=_3.root,YH=2,qS=20;var MZ1=qS-YH,WS=16;var pZ1=WS-YH,bS=/*@__PURE__*/j("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2i81i2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),zS=/*@__PURE__*/D({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),QS=/*@__PURE__*/j("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),JS=/*@__PURE__*/D({labelAbove:{B6of3ja:"f1hu3pq6"},sizeSmall:{Be2twd7:"fses1vf",Bqenvij:"fd461yt",a9b677:"f1szoe96"}},{d:[".f1hu3pq6{margin-top:0;}",".fses1vf{font-size:14px;}",".fd461yt{height:16px;}",".f1szoe96{width:32px;}"]}),IS=/*@__PURE__*/j("r12ojtgy","rhc0e9x",{r:[".r12ojtgy{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r12ojtgy:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",'.r12ojtgy:disabled,.r12ojtgy[aria-disabled="true"]{cursor:default;}','.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:disabled:not(:checked)~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.r12ojtgy:disabled:checked~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}',".rhc0e9x{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rhc0e9x:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",'.rhc0e9x:disabled,.rhc0e9x[aria-disabled="true"]{cursor:default;}','.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:disabled:not(:checked)~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.rhc0e9x:disabled:checked~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}'],s:['@media (forced-colors: active){.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.r12ojtgy:hover{color:CanvasText;}.r12ojtgy:hover:active{color:CanvasText;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}','@media (forced-colors: active){.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.rhc0e9x:hover{color:CanvasText;}.rhc0e9x:hover:active{color:CanvasText;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}']}),$S=/*@__PURE__*/D({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"},sizeSmall:{a9b677:"f83td6f",oedwrj:["f1t5zc5r","fmy58zi"]}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}",".f83td6f{width:calc(32px + 2 * var(--spacingHorizontalS));}",".f1t5zc5r:checked~.fui-Switch__indicator>*{transform:translateX(16px);}",".fmy58zi:checked~.fui-Switch__indicator>*{transform:translateX(-16px);}"]}),YS=/*@__PURE__*/D({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},sizeSmall:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",jrapky:"f1suqah5",B6of3ja:"f26bnac"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1suqah5{margin-bottom:calc((16px - var(--lineHeightBase200)) / 2);}",".f26bnac{margin-top:calc((16px - var(--lineHeightBase200)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),C9=(a)=>{let l=bS(),c=zS(),o=QS(),r=JS(),e=IS(),h=$S(),Z=YS(),{label:t,labelPosition:i,size:n}=a;if(a.root.className=S(_3.root,l,i==="above"&&c.vertical,a.root.className),a.indicator.className=S(_3.indicator,o,t&&i==="above"&&r.labelAbove,n==="small"&&r.sizeSmall,a.indicator.className),a.input.className=S(_3.input,e,t&&h[i],n==="small"&&h.sizeSmall,a.input.className),a.label)a.label.className=S(_3.label,Z.base,Z[i],n==="small"&&Z.sizeSmall,a.label.className);return a};var f0=/*@__PURE__*/z((a,l)=>{let c=g9(a,l);return C9(c),I("useSwitchStyles_unstable")(c),L9(c)});f0.displayName="Switch";var A3=(a,l)=>{let{wrap:c,truncate:o,block:r,italic:e,underline:h,strikethrough:Z,size:t,font:i,weight:n,align:v}=a;return{align:v!==null&&v!==void 0?v:"start",block:r!==null&&r!==void 0?r:!1,font:i!==null&&i!==void 0?i:"base",italic:e!==null&&e!==void 0?e:!1,size:t!==null&&t!==void 0?t:300,strikethrough:Z!==null&&Z!==void 0?Z:!1,truncate:o!==null&&o!==void 0?o:!1,underline:h!==null&&h!==void 0?h:!1,weight:n!==null&&n!==void 0?n:"regular",wrap:c!==null&&c!==void 0?c:!0,components:{root:"span"},root:U.always(o1("span",{ref:l,...a}),{elementType:"span"})}};var m3=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var R9={root:"fui-Text"},XS=/*@__PURE__*/D({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),H3=(a)=>{let l=XS();return a.root.className=S(R9.root,l.root,a.wrap===!1&&l.nowrap,a.truncate&&l.truncate,a.block&&l.block,a.italic&&l.italic,a.underline&&l.underline,a.strikethrough&&l.strikethrough,a.underline&&a.strikethrough&&l.strikethroughUnderline,a.size===100&&l.base100,a.size===200&&l.base200,a.size===400&&l.base400,a.size===500&&l.base500,a.size===600&&l.base600,a.size===700&&l.hero700,a.size===800&&l.hero800,a.size===900&&l.hero900,a.size===1000&&l.hero1000,a.font==="monospace"&&l.monospace,a.font==="numeric"&&l.numeric,a.weight==="medium"&&l.weightMedium,a.weight==="semibold"&&l.weightSemibold,a.weight==="bold"&&l.weightBold,a.align==="center"&&l.alignCenter,a.align==="end"&&l.alignEnd,a.align==="justify"&&l.alignJustify,a.root.className),a};var Q5=/*@__PURE__*/z((a,l)=>{let c=A3(a,l);return H3(c),I("useTextStyles_unstable")(c),m3(c)});Q5.displayName="Text";function a7(a){let{useStyles:l,className:c,displayName:o}=a,r=z((e,h)=>{let Z=l(),t=A3(e,h);return H3(t),t.root.className=S(c,t.root.className,Z.root,e.className),m3(t)});return r.displayName=o,r}var w9={root:"fui-Body1"},XH=/*@__PURE__*/D({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]});var J5=a7({useStyles:XH,className:w9.root,displayName:"Body1"});var S9={root:"fui-Body1Strong"},KH=/*@__PURE__*/D({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]});var P6=a7({useStyles:KH,className:S9.root,displayName:"Body1Strong"});var G9={root:"fui-Subtitle1"},jH=/*@__PURE__*/D({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f106mvju{line-height:var(--lineHeightBase500);}"]});var T6=a7({useStyles:jH,className:G9.root,displayName:"Subtitle1"});var U9={root:"fui-Subtitle2"},NH=/*@__PURE__*/D({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]});var a5=a7({useStyles:NH,className:U9.root,displayName:"Subtitle2"});var D9={root:"fui-Title2"},au=/*@__PURE__*/D({root:{Bahqtrf:"fk6fouc",Be2twd7:"fojgt09",Bhrd7zp:"fl43uef",Bg96gwp:"fcen8rp"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcen8rp{line-height:var(--lineHeightHero700);}"]});var E6=a7({useStyles:au,className:D9.root,displayName:"Title2"});function di(a,l){let{findFirstFocusable:c}=R7(),{targetDocument:o}=M1(),r=y(null);return X(()=>{if(!a)return;let e=r.current&&c(r.current);if(e)e.focus();else{var h;(h=r.current)===null||h===void 0||h.focus(),console.warn("@fluentui/react-dialog [useFocusFirstElement]:\nA Dialog should have at least one focusable element inside DialogSurface.\nPlease add at least a close button either on `DialogTitle` action slot or inside `DialogActions`")}},[c,a,l,o]),r}var VG={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},B9=Z2(void 0),k9=B9.Provider,F0=(a)=>M3(B9,(l=VG)=>a(l));var fG=!1,Mi=e1(void 0),q6=Mi.Provider,y9=()=>{var a;return(a=l1(Mi))!==null&&a!==void 0?a:fG};var pi=e1(void 0),Ur=pi.Provider,O9=()=>{return l1(pi)};var _i=U5(O6,{outScale:0.85,easing:H1.curveDecelerateMid,duration:H1.durationGentle,exitEasing:H1.curveAccelerateMin,exitDuration:H1.durationGentle});var P9=(a)=>{let{children:l,modalType:c="modal",onOpenChange:o,inertTrapFocus:r=!1,unmountOnClose:e=!0}=a,h=J1("dialog-title-"),[Z,t]=FG(l),[i,n]=q0({state:a.open,defaultState:a.defaultOpen,initialState:!1}),v=Y((A)=>{if(o===null||o===void 0||o(A.event,A),!A.event.isDefaultPrevented())n(A.open)}),d=di(i,c),{modalAttributes:M,triggerAttributes:_}=r2({trapFocus:c!=="non-modal",legacyTrapFocus:!r}),p=r4(B9);return{components:{surfaceMotion:_i},inertTrapFocus:r,open:i,modalType:c,content:t,trigger:Z,requestOpenChange:v,dialogTitleId:h,isNestedDialog:p,unmountOnClose:e,dialogRef:d,modalAttributes:M,triggerAttributes:_,surfaceMotion:O7(a.surfaceMotion,{elementType:_i,defaultProps:{visible:i,appear:e,unmountOnExit:e}})}};function FG(a){let l=T5.toArray(a);if(l.length!==1&&l.length!==2)console.warn(`@fluentui/react-dialog [useDialog]:
|
|
138
|
+
`,'We suggest to use the "trapFocus" prop on Fluent components or a catch "ref" and then use','"ref.current.focus" in React.useEffect():',"https://reactjs.org/docs/refs-and-the-dom.html#adding-a-ref-to-a-dom-element"].join(" "))}}},[]);let n=Xa(null,(_)=>{if(c.current!==_)c.current=_,t()}),v=Y((_)=>{var p;return(p=a.onPositioningEnd)===null||p===void 0?void 0:p.call(a,_)}),d=Xa(null,(_)=>{if(r.current!==_){var p;(p=r.current)===null||p===void 0||p.removeEventListener(qa,v),_===null||_===void 0||_.addEventListener(qa,v),r.current=_,t()}}),M=Xa(null,(_)=>{if(e.current!==_)e.current=_,t()});return{targetRef:n,containerRef:d,arrowRef:M}}function iH(a){let{clientX:l,clientY:c}=a,o=l+1,r=c+1;function e(){return{left:l,top:c,right:o,bottom:r,x:l,y:c,height:1,width:1}}return{getBoundingClientRect:e}}var Xt=(a)=>{let[l,c]=h1(a);return[l,(r)=>{if(r===void 0||r===null){c(void 0);return}let e;if(!(r instanceof MouseEvent))e=r.nativeEvent;else e=r;if(!(e instanceof MouseEvent))console.error("usePositioningMouseTarget should only be used with MouseEvent");let h=iH(e);c(h)}]};function vH(a){let{positioning:l}=a,o={position:"below",align:"start",offset:{crossAxis:0,mainAxis:2},fallbackPositions:["above","after","after-top","before","before-top"],matchTargetSize:"width",autoSize:!0,...y7(l)},{targetRef:r,containerRef:e}=ja(o);return[e,r]}function D6(a,l={}){let{open:c=!0,multiselect:o=!1}=l,r=a.key,{altKey:e,ctrlKey:h,key:Z,metaKey:t}=a;if(Z.length===1&&r!==w5&&!e&&!h&&!t)return"Type";if(!c){if(r===V6||r===j3||r===J2||r===w5)return"Open";return"None"}if(r===j3&&e||r===J2||!o&&r===w5)return"CloseSelect";if(o&&r===w5)return"Select";if(r===U7)return"Close";if(r===V6)return"Next";if(r===j3)return"Previous";if(r===mt)return"First";if(r===At)return"Last";if(r===ut)return"PageUp";if(r===Ht)return"PageDown";if(r===ga)return"Tab";return"None"}var nH={activeOption:void 0,focusVisible:!1,setActiveOption:()=>null},Kt=(a,l)=>{let{multiselect:c,disableAutoFocus:o=!1}=a,r=rr(),{listboxRef:e,activeParentRef:h,controller:Z}=x6({matchOption:(w)=>w.classList.contains(D7.root)}),t=r4($2),i=j0((w)=>w.onActiveDescendantChange),n=j0((w)=>w.getOptionById),v=j0((w)=>w.getOptionsMatchingValue),d=t?n:r.getOptionById,M=t?v:r.getOptionsMatchingValue,_=v1(()=>{let w=null,x=(B)=>{i===null||i===void 0||i(B)};return(B)=>{if(!B){w===null||w===void 0||w.removeEventListener("activedescendantchange",x);return}w=B,w.addEventListener("activedescendantchange",x)}},[i]),[p,A]=h1(!1);m6(A);let m=F6(),u=Jo(),V=u?m.controller:Z,{clearSelection:s,selectedOptions:F,selectOption:L}=er(a),C=(w)=>{let x=D6(w,{open:!0}),B=V.active(),k=B?d(B):null;switch(x){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"CloseSelect":case"Select":w.preventDefault();break}switch(x){case"Next":if(k)V.next();else V.first();break;case"Previous":if(k)V.prev();else V.first();break;case"PageUp":case"First":V.first();break;case"PageDown":case"Last":V.last();break;case"Select":case"CloseSelect":k&&L(w,k);break}},P=j0((w)=>w.selectedOptions),W=j0((w)=>w.selectOption),r1=t?{selectedOptions:P,selectOption:W,...nH}:{selectedOptions:F,selectOption:L,...nH};X(()=>{if(u)return;if(V.hideFocusVisibleAttributes(),!o)if(!c&&r1.selectedOptions.length>0){let w=M((x)=>x===r1.selectedOptions[0]).pop();if(w===null||w===void 0?void 0:w.id)V.focus(w.id)}else V.first();return()=>{V.blur()}},[]);let t1=Q(()=>{if(u)return;if(V.showFocusVisibleAttributes(),p)V.scrollActiveIntoView()},[V,u,p]),N=Q(()=>{if(u)return;V.hideFocusVisibleAttributes()},[V,u]),R={components:{root:"div"},root:U.always(o1("div",{ref:g1(l,h,e,_),role:c?"menu":"listbox",tabIndex:0,...a}),{elementType:"div"}),standalone:!t,multiselect:c,clearSelection:s,activeDescendantController:V,onActiveDescendantChange:i,...r,...r1};return R.root.onKeyDown=Y(T1(R.root.onKeyDown,C)),R.root.onFocus=Y(T1(R.root.onFocus,t1)),R.root.onBlur=Y(T1(R.root.onBlur,N)),R};var jt=(a,l)=>{return J(a),/*@__PURE__*/g(f6,{value:l.activeDescendant,children:/*@__PURE__*/g($2.Provider,{value:l.listbox,children:/*@__PURE__*/g(a.root,{})})})};var dH={root:"fui-Listbox"},Cw=/*@__PURE__*/D({root:{De3pzq:"fxugw4r",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62",Bf4jedk:"f3hsy1e",Bmxbyg5:"f5zp4f",Bw0xxkn:0,oeaueh:0,Bpd4iqm:0,Befb4lg:"f1iepc6i",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1t35pdg",Belr9w4:"fiut8dr"}},{d:[".fxugw4r{background-color:var(--colorNeutralBackground1);}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1vx9l62{flex-direction:column;}",".f3hsy1e{min-width:160px;}",".f5zp4f{overflow-y:auto;}",[".f1iepc6i{outline:1px solid var(--colorTransparentStroke);}",{p:-1}],[".f1t35pdg{padding:var(--spacingHorizontalXS);}",{p:-1}],".fiut8dr{row-gap:var(--spacingHorizontalXXS);}"]}),Nt=(a)=>{let l=Cw();return a.root.className=S(dH.root,l.root,a.root.className),a};function MH(a){let l=r4($2),{getOptionById:c,getOptionsMatchingValue:o,multiselect:r,registerOption:e,selectedOptions:h,selectOption:Z,activeDescendantController:t}=a,i=j0((p)=>p.registerOption),n=j0((p)=>p.onOptionClick),v=j0((p)=>p.onActiveDescendantChange),M={activeOption:void 0,focusVisible:!1,getOptionById:c,getOptionsMatchingValue:o,multiselect:r,registerOption:l?i:e,selectedOptions:h,selectOption:Z,setActiveOption:()=>{return},onOptionClick:n,onActiveDescendantChange:v},_=v1(()=>({controller:t}),[t]);return{listbox:M,activeDescendant:_}}var M4=/*@__PURE__*/z((a,l)=>{let c=Kt(a,l),o=MH(c);return Nt(c),I("useListboxStyles_unstable")(c),jt(c,o)});M4.displayName="Listbox";function pH(a,l,c){let{state:{multiselect:o},triggerRef:r,defaultProps:e}=c,h=J1("fluent-listbox",o6(a)?a.id:void 0),Z=U.optional(a,{renderByDefault:!0,elementType:M4,defaultProps:{id:h,multiselect:o,tabIndex:void 0,...e}}),t=S5({id:h},{supportsLabelFor:!0});if(Z&&!Z["aria-label"]&&!Z["aria-labelledby"]&&t["aria-labelledby"])Z["aria-labelledby"]=t["aria-labelledby"];let i=Y(T1((d)=>{d.preventDefault()},Z===null||Z===void 0?void 0:Z.onMouseDown)),n=Y(T1((d)=>{var M;d.preventDefault(),(M=r.current)===null||M===void 0||M.focus()},Z===null||Z===void 0?void 0:Z.onClick)),v=g1(Z===null||Z===void 0?void 0:Z.ref,l);if(Z)Z.ref=v,Z.onMouseDown=i,Z.onClick=n;return Z}function _H(a,l,c){let{state:{open:o,setOpen:r,setHasFocus:e},defaultProps:h,elementType:Z,activeDescendantController:t}=c,i=U.always(a,{defaultProps:{type:"text","aria-expanded":o,role:"combobox",...typeof h==="object"&&h},elementType:Z}),n=y(null);return i.ref=g1(n,i.ref,l),i.onBlur=T1((v)=>{r(v,!1),e(!1)},i.onBlur),i.onFocus=T1((v)=>{if(v.target===v.currentTarget)e(!0)},i.onFocus),i.onClick=T1((v)=>{r(v,!o)},i.onClick),i.onKeyDown=T1(Rw({activeDescendantController:t,...c.state}),i.onKeyDown),i}function Rw(a){let{activeDescendantController:l,getOptionById:c,setOpen:o,selectOption:r,multiselect:e,open:h}=a,Z=Q(()=>{let p=l.active();return p?c(p):void 0},[l,c]),t=()=>{l.first()},i=()=>{l.last()},n=(p)=>{if(p)l.next();else l.first()},v=(p)=>{if(p)l.prev();else l.first()},d=()=>{for(let p=0;p<10;p++)l.prev()},M=()=>{for(let p=0;p<10;p++)l.next()},_=Po();return Y((p)=>{let A=D6(p,{open:h,multiselect:e}),m=Z();switch(A){case"First":case"Last":case"Next":case"Previous":case"PageDown":case"PageUp":case"Open":case"Close":case"CloseSelect":case"Select":p.preventDefault();break}switch(_(!0),A){case"First":t();break;case"Last":i();break;case"Next":n(m);break;case"Previous":v(m);break;case"PageDown":M();break;case"PageUp":d();break;case"Open":o(p,!0);break;case"Close":p.stopPropagation(),o(p,!1);break;case"CloseSelect":!e&&!(m===null||m===void 0?void 0:m.disabled)&&o(p,!1);case"Select":m&&r(p,m);break;case"Tab":!e&&m&&r(p,m);break}})}function AH(a,l,c){let{state:{open:o,setOpen:r,getOptionById:e},defaultProps:h,activeDescendantController:Z}=c,t=y(""),[i,n]=E5(),v=(p,A={startFromNext:!1})=>{let{startFromNext:m}=A,u=Z.active(),V=Z.find((s)=>{let F=e(s);return!!F&&p(F.text)},{startFrom:m?Z.next({passive:!0}):u});if(V)return V;return Z.find((s)=>{let F=e(s);return!!F&&p(F.text)})},d=()=>{if(v((p)=>{return p.toLocaleLowerCase().indexOf(t.current)===0},{startFromNext:t.current.length===1}))return;if(ww(t.current)&&v((p)=>{return p.toLocaleLowerCase().indexOf(t.current[0])===0},{startFromNext:!0}))return;Z.blur()},M=(p)=>{if(n(),D6(p)==="Type"){if(t.current+=p.key.toLowerCase(),i(()=>{t.current=""},500),o)d();!o&&r(p,!0)}},_=_H(a,l,{state:c.state,defaultProps:h,elementType:"button",activeDescendantController:Z});return _.onKeyDown=T1(M,_.onKeyDown),_}function ww(a){for(let l=1;l<a.length;l++)if(a[l]!==a[l-1])return!1;return!0}var Na=(a,l)=>{var c;a=S5(a,{supportsLabelFor:!0,supportsSize:!0});let{listboxRef:o,activeParentRef:r,controller:e}=x6({matchOption:(N)=>N.classList.contains(D7.root)}),h=vm({...a,activeDescendantController:e,freeform:!1}),{clearable:Z,clearSelection:t,disabled:i,hasFocus:n,multiselect:v,open:d,selectedOptions:M,setOpen:_}=h,{primary:p,root:A}=E2({props:a,primarySlotTagName:"button",excludedPropNames:["children"]}),[m,u]=vH(a),V=y(null),s=pH(a.listbox,g1(m,o),{state:h,triggerRef:V,defaultProps:{children:a.children}}),{targetDocument:F}=M1();i6({element:F,callback:(N)=>_(N,!1),refs:[V,m,u],disabled:!d});var L;let C=AH((L=a.button)!==null&&L!==void 0?L:{},g1(V,r,l),{state:h,defaultProps:{type:"button",tabIndex:p.disabled?void 0:0,children:h.value||a.placeholder,"aria-controls":d?s===null||s===void 0?void 0:s.id:void 0,...p},activeDescendantController:e}),P=U.always(a.root,{defaultProps:{"aria-owns":!a.inlinePopup&&d?s===null||s===void 0?void 0:s.id:void 0,children:a.children,...A},elementType:"div"});P.ref=g1(P.ref,u);let W=M.length>0&&!i&&Z&&!v,r1={components:{root:"div",button:"button",clearButton:"button",expandIcon:"span",listbox:M4},root:P,button:C,listbox:d||n?s:void 0,clearButton:U.optional(a.clearButton,{defaultProps:{"aria-label":"Clear selection",children:/*@__PURE__*/c1(zA,null),tabIndex:W?0:void 0,type:"button"},elementType:"button",renderByDefault:!0}),expandIcon:U.optional(a.expandIcon,{renderByDefault:!0,defaultProps:{children:/*@__PURE__*/c1(bA,null)},elementType:"span"}),placeholderVisible:!h.value&&!!a.placeholder,showClearButton:W,activeDescendantController:e,...h},t1=Y(T1((c=r1.clearButton)===null||c===void 0?void 0:c.onClick,(N)=>{var R;t(N),(R=V.current)===null||R===void 0||R.focus()}));if(r1.clearButton)r1.clearButton.onClick=t1;if(v)r1.clearButton=void 0;return X(()=>{if(Z&&v)console.error('[@fluentui/react-combobox] "clearable" prop is not supported in multiselect mode.')},[Z,v]),r1};function a9(a){if(G1(a))return{element:a};if(typeof a==="object"){if(a===null)return{element:null};return a}return{}}var mH=/*@__PURE__*/D({root:{qhf8xq:"f1euv43f",Bhzewxz:"f15twtuk",oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["f1e31b4d","f1vgc2s3"],Bj3rh1h:"f494woh"}},{d:[".f1euv43f{position:absolute;}",".f15twtuk{top:0;}",".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".f494woh{z-index:1000000;}"]});var HH=f.useInsertionEffect,Sw=(a)=>{let{className:l,dir:c,focusVisibleRef:o,targetNode:r}=a,e=v1(()=>{if(r===void 0||a.disabled)return null;let h=r.ownerDocument.createElement("div");return r.appendChild(h),h},[r,a.disabled]);return v1(()=>{if(!e)return;e.className=l,e.setAttribute("dir",c),e.setAttribute("data-portal-node","true"),o.current=e},[l,c,e,o]),X(()=>{return()=>{e===null||e===void 0||e.remove()}},[e]),e},Gw=()=>{let a=void 0;function l(o,r){if(a)return a;if(r)a=o.ownerDocument.createElement("div"),o.appendChild(a);return a}function c(){if(a)a.remove(),a=void 0}return{get:l,dispose:c}},Uw=(a)=>{let{className:l,dir:c,focusVisibleRef:o,targetNode:r}=a,[e]=h1(Gw),h=v1(()=>{if(r===void 0||a.disabled)return null;return new Proxy({},{get(Z,t){if(t==="nodeType")return 1;if(t==="remove"){let v=e.get(r,!1);if(v){if(v.childNodes.length===0)e.dispose()}return()=>{}}let i=e.get(r,!0),n=i?i[t]:void 0;if(typeof n==="function")return n.bind(i);return n},set(Z,t,i){let n=t==="_virtual"||t==="focusVisible",v=n?e.get(r,!1):e.get(r,!0);if(n&&!v)return!0;if(v)return Object.assign(v,{[t]:i}),!0;return!1}})},[e,r,a.disabled]);return HH(()=>{if(!h)return;let Z=l.split(" ").filter(Boolean);return h.classList.add(...Z),h.setAttribute("dir",c),h.setAttribute("data-portal-node","true"),o.current=h,()=>{h.classList.remove(...Z),h.removeAttribute("dir")}},[l,c,h,o]),X(()=>{return()=>{h===null||h===void 0||h.remove()}},[h]),h},Dw=HH?Uw:Sw,uH=(a)=>{let{targetDocument:l,dir:c}=M1(),o=BZ(),r=w7(),e=mH(),h=K8(),Z={dir:c,disabled:a.disabled,focusVisibleRef:r,className:S(h,e.root,a.className),targetNode:o!==null&&o!==void 0?o:l===null||l===void 0?void 0:l.body};return Dw(Z)};var ai=(a)=>{let{element:l,className:c}=a9(a.mountNode),o=y(null),r=uH({disabled:!!l,className:c}),e=l!==null&&l!==void 0?l:r,h={children:a.children,mountNode:e,virtualParentRootRef:o};return X(()=>{if(!e)return;let Z=o.current,t=e.contains(Z);if(Z&&!t)return ra(e,Z),()=>{ra(e,void 0)}},[o,e]),h};var li=(a)=>{return/*@__PURE__*/c1("span",{hidden:!0,ref:a.virtualParentRootRef},a.mountNode&&/*@__PURE__*/Fo(/*@__PURE__*/c1(i1,null,a.children,/*@__PURE__*/c1("span",{hidden:!0})),a.mountNode))};var i2=(a)=>{let l=ai(a);return li(l)};i2.displayName="Portal";var ci=h2({activeOption:void 0,appearance:"outline",focusVisible:!1,open:!1,registerOption(){return()=>{return}},selectedOptions:[],selectOption(){},setActiveOption(){},setOpen(){},size:"medium"}),Ml1=ci.Provider;var l9=(a,l)=>{return J(a),/*@__PURE__*/g(a.root,{children:/*@__PURE__*/g(f6,{value:l.activeDescendant,children:/*@__PURE__*/g($2.Provider,{value:l.listbox,children:/*@__PURE__*/_1(ci.Provider,{value:l.combobox,children:[/*@__PURE__*/_1(a.button,{children:[a.button.children,a.expandIcon&&/*@__PURE__*/g(a.expandIcon,{})]}),a.clearButton&&/*@__PURE__*/g(a.clearButton,{}),a.listbox&&(a.inlinePopup?/*@__PURE__*/g(a.listbox,{}):/*@__PURE__*/g(i2,{mountNode:a.mountNode,children:/*@__PURE__*/g(a.listbox,{})}))]})})})})};var p3={root:"fui-Dropdown",button:"fui-Dropdown__button",clearButton:"fui-Dropdown__clearButton",expandIcon:"fui-Dropdown__expandIcon",listbox:"fui-Dropdown__listbox"},Bw=/*@__PURE__*/D({root:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",B7ck84d:"f1ewtqcl",mc9l5x:"ftuwxu6",Bf4jedk:"f1exfvgq",qhf8xq:"f10pi13n",ha4doy:"fmrv4ls",Bbr2w1p:"f14a1fxs",Bduesf4:"f3e99gv",Bpq79vn:"fhljsf7",li1rpt:"f1gw3sf2",Bsft5z2:"f13zj6fq",E3zdtr:"f1mdlcz9",Eqx8gd:["f1a7op3","f1cjjd47"],By385i5:"f1gboi2j",B1piin3:["f1cjjd47","f1a7op3"],Dlnsje:"ffyw7fx",d9w3h3:["f1kp91vd","f1ibwz09"],B3778ie:["f1ibwz09","f1kp91vd"],B1q35kw:0,Bw17bha:0,Bcgy8vk:0,Bjuhk93:"f1mnjydx",Gjdm7m:"f13evtba",b1kco5:"f1yk9hq",Ba2ppi3:"fhwpy7i",F2fol1:"f14ee0xe",lck23g:"f1xhbsuh",wi16st:"fsrmcvb",ywj3b2:"f1t3k7v9",umuwi5:"fjw5xc1",Blcqepd:"f1xdyd5c",nplu4u:"fatpbeo",Bioka5o:"fb7uyps",Bnupc0a:"fx04xgm",bing71:"f1c7in40",Bercvud:"f1ibeo51",Br277j9:"f18qfb8s",Btis473:"f1m082s7"},listbox:{B7ck84d:"f1ewtqcl",E5pizo:"f1hg901r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bxyxcbc:"fmmk62d"},listboxCollapsed:{mc9l5x:"fjseox"},inlineListbox:{Bj3rh1h:"f19g0ac"},button:{Bt984gj:"f122n59",De3pzq:"f1c21dwh",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",B7ck84d:"f1ewtqcl",sj55zd:"f19n0e5",i8kkvl:"f14mj54c",Bceei9c:"f1k6fduh",mc9l5x:"f13qh94s",Bahqtrf:"fk6fouc",Budl1dq:"f12nh0o2",Brf1p80:"f1869bpl",fsow6f:["f1o700av","fes3tcz"],a9b677:"fly5x3f",Brovlpu:"ftqa4ok"},placeholder:{sj55zd:"fxc4j92"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["fye6m5k","f3cq2dl"]},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f14ev680","f58uxzw"]},large:{i8kkvl:"f1rjii52",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:["f139mn7i","f1v3q0m"]},outline:{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:"f1c1zstj",oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fhz96rm"},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],B6oc9vd:"fvs00aa",ak43y8:["f1assf6x","f4ruux4"],wmxk5l:"f1z0osm6",B50zh58:["f4ruux4","f1assf6x"],Bvq3b66:"f1b473iu",Brahy3i:["f381qr8","ft4skwv"],zoxjo1:"f1qzcrsd",an54nd:["ft4skwv","f381qr8"]},underline:{De3pzq:"f1c21dwh",B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f9ez7ne",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"},"filled-lighter":{De3pzq:"fxugw4r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fs2rfia"},"filled-darker":{De3pzq:"f16xq7d1",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"fs2rfia"},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},invalidUnderline:{hhx65j:"f1fgmyf4"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"]},disabledText:{sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr"},hidden:{mc9l5x:"fjseox"}},{d:[[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f1ewtqcl{box-sizing:border-box;}",".ftuwxu6{display:inline-flex;}",".f1exfvgq{min-width:250px;}",".f10pi13n{position:relative;}",".fmrv4ls{vertical-align:middle;}",".f1gw3sf2::after{box-sizing:border-box;}",'.f13zj6fq::after{content:"";}',".f1mdlcz9::after{position:absolute;}",".f1a7op3::after{left:-1px;}",".f1cjjd47::after{right:-1px;}",".f1gboi2j::after{bottom:-1px;}",".ffyw7fx::after{height:max(var(--strokeWidthThick), var(--borderRadiusMedium));}",".f1kp91vd::after{border-bottom-left-radius:var(--borderRadiusMedium);}",".f1ibwz09::after{border-bottom-right-radius:var(--borderRadiusMedium);}",[".f1mnjydx::after{border-bottom:var(--strokeWidthThick) solid var(--colorCompoundBrandStroke);}",{p:-1}],".f13evtba::after{clip-path:inset(calc(100% - 2px) 0 0 0);}",".f1yk9hq::after{transform:scaleX(0);}",".fhwpy7i::after{transition-property:transform;}",".f14ee0xe::after{transition-duration:var(--durationUltraFast);}",".f1xhbsuh::after{transition-delay:var(--curveAccelerateMid);}",".f1hg901r{box-shadow:var(--shadow16);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],".fmmk62d{max-height:80vh;}",".fjseox{display:none;}",".f19g0ac{z-index:1;}",".f122n59{align-items:center;}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".f3bhgqh{border:none;}",{p:-2}],".f19n0e5{color:var(--colorNeutralForeground1);}",".f14mj54c{column-gap:var(--spacingHorizontalXXS);}",".f1k6fduh{cursor:pointer;}",".f13qh94s{display:grid;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".f12nh0o2{grid-template-columns:[content] 1fr [icon] auto [end];}",".f1869bpl{justify-content:space-between;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".fly5x3f{width:100%;}",".fxc4j92{color:var(--colorNeutralForeground4);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",[".fye6m5k{padding:3px var(--spacingHorizontalSNudge) 3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f3cq2dl{padding:3px calc(var(--spacingHorizontalSNudge) + var(--spacingHorizontalXXS)) 3px var(--spacingHorizontalSNudge);}",{p:-1}],".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",[".f14ev680{padding:5px var(--spacingHorizontalMNudge) 5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS));}",{p:-1}],[".f58uxzw{padding:5px calc(var(--spacingHorizontalMNudge) + var(--spacingHorizontalXXS)) 5px var(--spacingHorizontalMNudge);}",{p:-1}],".f1rjii52{column-gap:var(--spacingHorizontalSNudge);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f139mn7i{padding:7px var(--spacingHorizontalM) 7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",{p:-1}],[".f1v3q0m{padding:7px calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge)) 7px var(--spacingHorizontalM);}",{p:-1}],".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".fhz96rm{border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);}",{p:-2}],".f1c1zstj{border-bottom-color:var(--colorNeutralStrokeAccessible);}",[".f9ez7ne{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStrokeAccessible);}",{p:-1}],[".fokr779{border-radius:0;}",{p:-1}],[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".f16xq7d1{background-color:var(--colorNeutralBackground3);}",[".fs2rfia{border:var(--strokeWidthThin) solid transparent;}",{p:-2}],".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],w:[".f14a1fxs:focus-within{outline-width:2px;}",".f3e99gv:focus-within{outline-style:solid;}",".fhljsf7:focus-within{outline-color:transparent;}",".fjw5xc1:focus-within::after{transform:scaleX(1);}",".f1xdyd5c:focus-within::after{transition-property:transform;}",".fatpbeo:focus-within::after{transition-duration:var(--durationNormal);}",".fb7uyps:focus-within::after{transition-delay:var(--curveDecelerateMid);}",".f1ibeo51:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".f1b473iu:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".f381qr8:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".ft4skwv:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1qzcrsd:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.fsrmcvb::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1t3k7v9::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fx04xgm:focus-within::after{transition-duration:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1c7in40:focus-within::after{transition-delay:0.01ms;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],t:["@supports selector(:has(*)){.f18qfb8s:has(.fui-Dropdown__clearButton:focus)::after{border-bottom-color:initial;}}","@supports selector(:has(*)){.f1m082s7:has(.fui-Dropdown__clearButton:focus)::after{transform:scaleX(0);}}"],f:[".ftqa4ok:focus{outline-style:none;}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}"],a:[".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}",".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}",".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1z0osm6:active{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"]}),kw=/*@__PURE__*/D({icon:{B7ck84d:"f1ewtqcl",sj55zd:"fxkbij4",mc9l5x:"ftgm304",Be2twd7:"f1pp30po",Br312pm:"f12w6cgp",Bw0ie65:"f8bv1bt",Bo70h7d:"fvc9v3g"},small:{Be2twd7:"f4ybsrx",Frg6f3:["f1h9en5y","f1xk557c"]},medium:{Be2twd7:"fe5j1ua",Frg6f3:["f1h9en5y","f1xk557c"]},large:{Be2twd7:"f1rt2boy",Frg6f3:["f1t5qyk5","f1ikr372"]},disabled:{sj55zd:"f1s2aq7o"}},{d:[".f1ewtqcl{box-sizing:border-box;}",".fxkbij4{color:var(--colorNeutralStrokeAccessible);}",".ftgm304{display:block;}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f12w6cgp{grid-column-start:icon;}",".f8bv1bt{grid-column-end:end;}",".fvc9v3g svg{display:block;}",".f4ybsrx{font-size:16px;}",".f1h9en5y{margin-left:var(--spacingHorizontalXXS);}",".f1xk557c{margin-right:var(--spacingHorizontalXXS);}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".f1t5qyk5{margin-left:var(--spacingHorizontalSNudge);}",".f1ikr372{margin-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"]}),yw=/*@__PURE__*/j("rticfuj","r1vp6jef",{r:[".rticfuj{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-right:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".rticfuj:focus{outline-style:none;}",".rticfuj:focus-visible{outline-style:none;}",".rticfuj[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.rticfuj[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r1vp6jef{align-self:center;background-color:var(--colorTransparentBackground);border:none;cursor:pointer;height:fit-content;margin:0;margin-left:var(--spacingHorizontalMNudge);padding:0;position:relative;}",".r1vp6jef:focus{outline-style:none;}",".r1vp6jef:focus-visible{outline-style:none;}",".r1vp6jef[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r1vp6jef[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.rticfuj[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.r1vp6jef[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),c9=(a)=>{let{appearance:l,open:c,placeholderVisible:o,showClearButton:r,size:e}=a,h=`${a.button["aria-invalid"]}`==="true",Z=a.button.disabled,t=Bw(),i=kw(),n=yw();if(a.root.className=S(p3.root,t.root,t[l],!Z&&l==="outline"&&t.outlineInteractive,h&&l!=="underline"&&t.invalid,h&&l==="underline"&&t.invalidUnderline,Z&&t.disabled,a.root.className),a.button.className=S(p3.button,t.button,t[e],o&&t.placeholder,Z&&t.disabledText,a.button.className),a.listbox)a.listbox.className=S(p3.listbox,t.listbox,a.inlinePopup&&t.inlineListbox,!c&&t.listboxCollapsed,a.listbox.className);if(a.expandIcon)a.expandIcon.className=S(p3.expandIcon,i.icon,i[e],Z&&i.disabled,r&&t.hidden,a.expandIcon.className);if(a.clearButton)a.clearButton.className=S(p3.clearButton,n,i.icon,i[e],Z&&i.disabled,!r&&t.hidden,a.clearButton.className);return a};function sH(a){let{appearance:l,open:c,getOptionById:o,getOptionsMatchingValue:r,registerOption:e,selectedOptions:h,selectOption:Z,setOpen:t,size:i,activeDescendantController:n,onOptionClick:v,onActiveDescendantChange:d}=a,M={activeOption:void 0,appearance:l,focusVisible:!1,open:c,registerOption:e,selectedOptions:h,selectOption:Z,setActiveOption:()=>null,setOpen:t,size:i},_={activeOption:void 0,focusVisible:!1,getOptionById:o,getOptionsMatchingValue:r,registerOption:e,selectedOptions:h,selectOption:Z,setActiveOption:()=>null,onOptionClick:v,onActiveDescendantChange:d},p=v1(()=>({controller:n}),[n]);return{combobox:M,activeDescendant:p,listbox:_}}var p4=/*@__PURE__*/z((a,l)=>{let c=Na(a,l),o=sH(c);return c9(c),I("useDropdownStyles_unstable")(c),l9(c,o)});p4.displayName="Dropdown";var o9=(a)=>{return J(a),/*@__PURE__*/g(a.root,{children:a.root.children!==void 0&&/*@__PURE__*/g(a.wrapper,{children:a.root.children})})};var r9=(a,l)=>{let{alignContent:c="center",appearance:o="default",inset:r=!1,...e}=a,h=VH(e,l);return{alignContent:c,appearance:o,inset:r,...h}},VH=(a,l)=>{let{vertical:c=!1,wrapper:o,...r}=a,e=J1("divider-");return{vertical:c,components:{root:"div",wrapper:"div"},root:U.always({role:"separator","aria-orientation":c?"vertical":"horizontal","aria-labelledby":a.children?e:void 0,ref:l,...r},{elementType:"div"}),wrapper:U.always(o,{defaultProps:{id:e,children:a.children},elementType:"div"})}};var e9={root:"fui-Divider",wrapper:"fui-Divider__wrapper"};var rS=/*@__PURE__*/D({base:{Bt984gj:"f122n59",B7ck84d:"f1ewtqcl",mc9l5x:"f22iagw",Beiy3e4:"f1063pyq",Bh6795r:"fqerorx",qhf8xq:"f10pi13n",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm",fsow6f:"f17mccla",Bcvre1j:"fyl8oag",Br0sdwz:"f16vkdww",Bn78ew0:"fhsnbul",li1rpt:"f1gw3sf2",ap17g6:"f1ly5f7u",B771hl4:"f1s3tz6t"},childless:{susq4k:"f1kyqvp9",Bicfajf:["fzynn9s","f1z0ukd1"],jwcpgy:["fekrn8e","ftdg338"],B4rk6o:"fesgyo"},start:{Bsft5z2:"f13zj6fq"},center:{Ftih45:"f1wl9k8s",Bsft5z2:"f13zj6fq"},end:{Ftih45:"f1wl9k8s"},brand:{sj55zd:"f16muhyy",Bq4z7u6:"fcbuu2a",Bk5zm6e:["f1wdw2dr","f1ttio3w"],Bqjgrrk:"f1582fpk",Bm6vgfq:["f1ttio3w","f1wdw2dr"],B0n5ga8:"f1ahrvm8",s924m2:["f1cd3wbc","f17hbk9y"],B1q35kw:"fvrapl0",Gp14am:["f17hbk9y","f1cd3wbc"]},default:{sj55zd:"fkfq4zb",Bq4z7u6:"f1vccso1",Bk5zm6e:["f1geml7w","fjml6kk"],Bqjgrrk:"f1r7kh1m",Bm6vgfq:["fjml6kk","f1geml7w"],B0n5ga8:"f16j7guv",s924m2:["fx01ahm","fj1a37q"],B1q35kw:"fl8d8yv",Gp14am:["fj1a37q","fx01ahm"]},subtle:{sj55zd:"f11d4kpn",Bq4z7u6:"f5g06un",Bk5zm6e:["f13sxdku","f1n015lb"],Bqjgrrk:"f1x6bl8t",Bm6vgfq:["f1n015lb","f13sxdku"],B0n5ga8:"fvod1wy",s924m2:["fwslg65","flk0e17"],B1q35kw:"f103fvts",Gp14am:["flk0e17","fwslg65"]},strong:{sj55zd:"f19n0e5",Bq4z7u6:"f10tv6oz",Bk5zm6e:["f16xp3sf","f1seuxxq"],Bqjgrrk:"fwrmqbx",Bm6vgfq:["f1seuxxq","f16xp3sf"],B0n5ga8:"ft83z1f",s924m2:["f1g4150c","f192dr6e"],B1q35kw:"f1qnawh6",Gp14am:["f192dr6e","f1g4150c"]}},{d:[".f122n59{align-items:center;}",".f1ewtqcl{box-sizing:border-box;}",".f22iagw{display:flex;}",".f1063pyq{flex-direction:row;}",".fqerorx{flex-grow:1;}",".f10pi13n{position:relative;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f17mccla{text-align:center;}",".fyl8oag::before{box-sizing:border-box;}",".f16vkdww::before{display:flex;}",".fhsnbul::before{flex-grow:1;}",".f1gw3sf2::after{box-sizing:border-box;}",".f1ly5f7u::after{display:flex;}",".f1s3tz6t::after{flex-grow:1;}",".f1kyqvp9::before{margin-bottom:0;}",".fzynn9s::before{margin-right:0;}",".f1z0ukd1::before{margin-left:0;}",".fekrn8e::after{margin-left:0;}",".ftdg338::after{margin-right:0;}",".fesgyo::after{margin-top:0;}",'.f13zj6fq::after{content:"";}','.f1wl9k8s::before{content:"";}',".f16muhyy{color:var(--colorBrandForeground1);}",".fcbuu2a::before{border-top-color:var(--colorBrandStroke1);}",".f1wdw2dr::before{border-right-color:var(--colorBrandStroke1);}",".f1ttio3w::before{border-left-color:var(--colorBrandStroke1);}",".f1582fpk::before{border-bottom-color:var(--colorBrandStroke1);}",".f1ahrvm8::after{border-top-color:var(--colorBrandStroke1);}",".f1cd3wbc::after{border-right-color:var(--colorBrandStroke1);}",".f17hbk9y::after{border-left-color:var(--colorBrandStroke1);}",".fvrapl0::after{border-bottom-color:var(--colorBrandStroke1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".f1vccso1::before{border-top-color:var(--colorNeutralStroke2);}",".f1geml7w::before{border-right-color:var(--colorNeutralStroke2);}",".fjml6kk::before{border-left-color:var(--colorNeutralStroke2);}",".f1r7kh1m::before{border-bottom-color:var(--colorNeutralStroke2);}",".f16j7guv::after{border-top-color:var(--colorNeutralStroke2);}",".fx01ahm::after{border-right-color:var(--colorNeutralStroke2);}",".fj1a37q::after{border-left-color:var(--colorNeutralStroke2);}",".fl8d8yv::after{border-bottom-color:var(--colorNeutralStroke2);}",".f11d4kpn{color:var(--colorNeutralForeground3);}",".f5g06un::before{border-top-color:var(--colorNeutralStroke3);}",".f13sxdku::before{border-right-color:var(--colorNeutralStroke3);}",".f1n015lb::before{border-left-color:var(--colorNeutralStroke3);}",".f1x6bl8t::before{border-bottom-color:var(--colorNeutralStroke3);}",".fvod1wy::after{border-top-color:var(--colorNeutralStroke3);}",".fwslg65::after{border-right-color:var(--colorNeutralStroke3);}",".flk0e17::after{border-left-color:var(--colorNeutralStroke3);}",".f103fvts::after{border-bottom-color:var(--colorNeutralStroke3);}",".f19n0e5{color:var(--colorNeutralForeground1);}",".f10tv6oz::before{border-top-color:var(--colorNeutralStroke1);}",".f16xp3sf::before{border-right-color:var(--colorNeutralStroke1);}",".f1seuxxq::before{border-left-color:var(--colorNeutralStroke1);}",".fwrmqbx::before{border-bottom-color:var(--colorNeutralStroke1);}",".ft83z1f::after{border-top-color:var(--colorNeutralStroke1);}",".f1g4150c::after{border-right-color:var(--colorNeutralStroke1);}",".f192dr6e::after{border-left-color:var(--colorNeutralStroke1);}",".f1qnawh6::after{border-bottom-color:var(--colorNeutralStroke1);}"]}),eS=/*@__PURE__*/D({base:{a9b677:"fly5x3f",Bdkvgpv:"f163fonl",B0qfbqy:"f51yk4v",pbipgd:"f13rof3u",Bm2nyyq:"f8rth92",xrcqlc:"f6czdpx",i5u598:"f1iyka9k"},inset:{uwmqm3:["fjlbh76","f11qrl6u"],z189sj:["f11qrl6u","fjlbh76"]},start:{fsow6f:["f1o700av","fes3tcz"],Ftih45:"f1wl9k8s",Bicfajf:["f1ojjlep","fk1kexq"],Bxwl2t9:"f1he2m4d",jwcpgy:["f12w1bnb","f1558wlj"]},center:{fsow6f:"f17mccla",Bicfajf:["f1ojjlep","fk1kexq"],jwcpgy:["f12w1bnb","f1558wlj"]},end:{fsow6f:["fes3tcz","f1o700av"],Bicfajf:["f1ojjlep","fk1kexq"],Bsft5z2:"f13zj6fq",jwcpgy:["f12w1bnb","f1558wlj"],Iy66sp:"f1ayce8x"}},{d:[".fly5x3f{width:100%;}",".f163fonl::before{border-top-style:solid;}",".f51yk4v::before{border-top-width:var(--strokeWidthThin);}",".f13rof3u::before{min-width:8px;}",".f8rth92::after{border-top-style:solid;}",".f6czdpx::after{border-top-width:var(--strokeWidthThin);}",".f1iyka9k::after{min-width:8px;}",".fjlbh76{padding-left:12px;}",".f11qrl6u{padding-right:12px;}",".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",'.f1wl9k8s::before{content:"";}',".f1ojjlep::before{margin-right:12px;}",".fk1kexq::before{margin-left:12px;}",".f1he2m4d::before{max-width:8px;}",".f12w1bnb::after{margin-left:12px;}",".f1558wlj::after{margin-right:12px;}",".f17mccla{text-align:center;}",'.f13zj6fq::after{content:"";}',".f1ayce8x::after{max-width:8px;}"]}),hS=/*@__PURE__*/D({base:{Beiy3e4:"f1vx9l62",sshi5w:"f16gbxbe",m598lv:["f1yq6w5o","f1jpmc5p"],B4f6apu:["f9sc749","f1x8pvcy"],zkzzav:"fhkwbjy",Barhvk9:["flthirb","ftkbnf5"],Ihftqj:["f13hvwk3","f1en4csx"],Bde111x:"f19onpk6"},inset:{B6of3ja:"f1xdg43u",jrapky:"f1jlhsmd"},withChildren:{sshi5w:"f1tjaq3g"},start:{Ftih45:"f1wl9k8s",susq4k:"fg2pwug",Bbdr6tz:"fkjtzyi",B4rk6o:"f8vk40g"},center:{susq4k:"fg2pwug",B4rk6o:"f8vk40g"},end:{susq4k:"fg2pwug",Bsft5z2:"f13zj6fq",B4rk6o:"f8vk40g",gn64ia:"fqg5mu5"}},{d:[".f1vx9l62{flex-direction:column;}",".f16gbxbe{min-height:20px;}",".f1yq6w5o::before{border-right-style:solid;}",".f1jpmc5p::before{border-left-style:solid;}",".f9sc749::before{border-right-width:var(--strokeWidthThin);}",".f1x8pvcy::before{border-left-width:var(--strokeWidthThin);}",".fhkwbjy::before{min-height:8px;}",".flthirb::after{border-right-style:solid;}",".ftkbnf5::after{border-left-style:solid;}",".f13hvwk3::after{border-right-width:var(--strokeWidthThin);}",".f1en4csx::after{border-left-width:var(--strokeWidthThin);}",".f19onpk6::after{min-height:8px;}",".f1xdg43u{margin-top:12px;}",".f1jlhsmd{margin-bottom:12px;}",".f1tjaq3g{min-height:84px;}",'.f1wl9k8s::before{content:"";}',".fg2pwug::before{margin-bottom:12px;}",".fkjtzyi::before{max-height:8px;}",".f8vk40g::after{margin-top:12px;}",'.f13zj6fq::after{content:"";}',".fqg5mu5::after{max-height:8px;}"]}),h9=(a)=>{let l=rS(),c=eS(),o=hS(),{alignContent:r,appearance:e,inset:h,vertical:Z}=a;if(a.root.className=S(e9.root,l.base,l[r],e&&l[e],!Z&&c.base,!Z&&h&&c.inset,!Z&&c[r],Z&&o.base,Z&&h&&o.inset,Z&&o[r],Z&&a.root.children!==void 0&&o.withChildren,a.root.children===void 0&&l.childless,a.root.className),a.wrapper)a.wrapper.className=S(e9.wrapper,a.wrapper.className);return a};var G5=/*@__PURE__*/z((a,l)=>{let c=r9(a,l);return h9(c),I("useDividerStyles_unstable")(c),o9(c)});G5.displayName="Divider";var Z9=(a,l)=>{a=S5(a,{supportsLabelFor:!0,supportsRequired:!0,supportsSize:!0});let c=e6();var o;let{size:r="medium",appearance:e=(o=c.inputDefaultAppearance)!==null&&o!==void 0?o:"outline",onChange:h}=a;if(e==="filled-darker-shadow"||e==="filled-lighter-shadow")console.error("The 'filled-darker-shadow' and 'filled-lighter-shadow' appearances are deprecated and will be removed in the future.");let[Z,t]=q0({state:a.value,defaultState:a.defaultValue,initialState:""}),i=E2({props:a,primarySlotTagName:"input",excludedPropNames:["size","onChange","value","defaultValue"]}),n={size:r,appearance:e,components:{root:"span",input:"input",contentBefore:"span",contentAfter:"span"},input:U.always(a.input,{defaultProps:{type:"text",ref:l,...i.primary},elementType:"input"}),contentAfter:U.optional(a.contentAfter,{elementType:"span"}),contentBefore:U.optional(a.contentBefore,{elementType:"span"}),root:U.always(a.root,{defaultProps:i.root,elementType:"span"})};return n.input.value=Z,n.input.onChange=Y((v)=>{let d=v.target.value;h===null||h===void 0||h(v,{value:d}),t(d)}),n};var t9=(a)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[a.contentBefore&&/*@__PURE__*/g(a.contentBefore,{}),/*@__PURE__*/g(a.input,{}),a.contentAfter&&/*@__PURE__*/g(a.contentAfter,{})]})};var _4={root:"fui-Input",input:"fui-Input__input",contentBefore:"fui-Input__contentBefore",contentAfter:"fui-Input__contentAfter"};var Cc1={root:{small:K1.spacingHorizontalSNudge,medium:K1.spacingHorizontalMNudge,large:K1.spacingHorizontalM},input:{small:K1.spacingHorizontalXXS,medium:K1.spacingHorizontalXXS,large:K1.spacingHorizontalSNudge},combined:{small:K1.spacingHorizontalS,medium:K1.spacingHorizontalM,large:`calc(${K1.spacingHorizontalM} + ${K1.spacingHorizontalSNudge})`}},ZS=/*@__PURE__*/j("r1oeeo9n","r9sxh5",{r:[".r1oeeo9n{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r1oeeo9n::after{box-sizing:border-box;content:"";position:absolute;left:-1px;bottom:-1px;right:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-left-radius:var(--borderRadiusMedium);border-bottom-right-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r1oeeo9n:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r1oeeo9n:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r1oeeo9n:focus-within{outline:2px solid transparent;}",".r9sxh5{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:var(--spacingHorizontalXXS);border-radius:var(--borderRadiusMedium);position:relative;box-sizing:border-box;vertical-align:middle;min-height:32px;font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);background-color:var(--colorNeutralBackground1);border:1px solid var(--colorNeutralStroke1);border-bottom-color:var(--colorNeutralStrokeAccessible);}",'.r9sxh5::after{box-sizing:border-box;content:"";position:absolute;right:-1px;bottom:-1px;left:-1px;height:max(2px, var(--borderRadiusMedium));border-bottom-right-radius:var(--borderRadiusMedium);border-bottom-left-radius:var(--borderRadiusMedium);border-bottom:2px solid var(--colorCompoundBrandStroke);clip-path:inset(calc(100% - 2px) 0 0 0);transform:scaleX(0);transition-property:transform;transition-duration:var(--durationUltraFast);transition-delay:var(--curveAccelerateMid);}',".r9sxh5:focus-within::after{transform:scaleX(1);transition-property:transform;transition-duration:var(--durationNormal);transition-delay:var(--curveDecelerateMid);}",".r9sxh5:focus-within:active::after{border-bottom-color:var(--colorCompoundBrandStrokePressed);}",".r9sxh5:focus-within{outline:2px solid transparent;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r1oeeo9n:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5::after{transition-duration:0.01ms;transition-delay:0.01ms;}}","@media screen and (prefers-reduced-motion: reduce){.r9sxh5:focus-within::after{transition-duration:0.01ms;transition-delay:0.01ms;}}"]}),tS=/*@__PURE__*/D({small:{sshi5w:"f1pha7fy",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"},medium:{},large:{sshi5w:"f1w5jphr",Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"figsok6",Bg96gwp:"faaz57k",i8kkvl:0,Belr9w4:0,rmohyg:"f1eyhf9v"},outline:{},outlineInteractive:{Bgoe8wy:"fvcxoqz",Bwzppfd:["f1ub3y4t","f1m52nbi"],oetu4i:"f1l4zc64",gg5e9n:["f1m52nbi","f1ub3y4t"],Drbcw7:"f8vnjqi",udz0bu:["fz1etlk","f1hc16gm"],Be8ivqh:"f1klwx88",ofdepl:["f1hc16gm","fz1etlk"]},underline:{De3pzq:"f1c21dwh",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779",icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],wvpqe5:["f1deefiw","f1n71otn"],Eqx8gd:["f1n6gb5g","f15yvnhg"],B1piin3:["f15yvnhg","f1n6gb5g"]},underlineInteractive:{oetu4i:"f1l4zc64",Be8ivqh:"f1klwx88",d9w3h3:0,B3778ie:0,B4j8arr:0,Bl18szs:0,Blrzh8d:"f2ale1x"},filled:{g2u3we:"fghlq4f",h3c5rm:["f1gn591s","fjscplz"],B9xav0g:"fb073pr",zhjwy3:["fjscplz","f1gn591s"]},filledInteractive:{q7v0qe:"ftmjh5b",kmh5ft:["f17blpuu","fsrcdbj"],nagaa4:"f1tpwn32",B1yhkcb:["fsrcdbj","f17blpuu"]},invalid:{tvckwq:"fs4k3qj",gk2u95:["fcee079","fmyw78r"],hhx65j:"f1fgmyf4",Bxowmz0:["fmyw78r","fcee079"]},"filled-darker":{De3pzq:"f16xq7d1"},"filled-lighter":{De3pzq:"fxugw4r"},"filled-darker-shadow":{De3pzq:"f16xq7d1",E5pizo:"fyed02w"},"filled-lighter-shadow":{De3pzq:"fxugw4r",E5pizo:"fyed02w"},disabled:{Bceei9c:"fdrzuqr",De3pzq:"f1c21dwh",g2u3we:"f1jj8ep1",h3c5rm:["f15xbau","fy0fskl"],B9xav0g:"f4ikngz",zhjwy3:["fy0fskl","f15xbau"],Bcq6wej:"f9dbb4x",Jcjdmf:["f3qs60o","f5u9ap2"],sc4o1m:"fwd1oij",Bosien3:["f5u9ap2","f3qs60o"],Bsft5z2:"fhr9occ",Bduesf4:"f99w1ws"},smallWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},smallWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},mediumWithContentBefore:{uwmqm3:["f1ng84yb","f11gcy0p"]},mediumWithContentAfter:{z189sj:["f11gcy0p","f1ng84yb"]},largeWithContentBefore:{uwmqm3:["f1uw59to","fw5db7e"]},largeWithContentAfter:{z189sj:["fw5db7e","f1uw59to"]}},{d:[".f1pha7fy{min-height:24px;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1w5jphr{min-height:40px;}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",[".f1eyhf9v{gap:var(--spacingHorizontalSNudge);}",{p:-1}],".f1c21dwh{background-color:var(--colorTransparentBackground);}",[".fokr779{border-radius:0;}",{p:-1}],".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1n6gb5g::after{left:0;}",".f15yvnhg::after{right:0;}",[".f2ale1x::after{border-radius:0;}",{p:-1}],".fghlq4f{border-top-color:var(--colorTransparentStroke);}",".f1gn591s{border-right-color:var(--colorTransparentStroke);}",".fjscplz{border-left-color:var(--colorTransparentStroke);}",".fb073pr{border-bottom-color:var(--colorTransparentStroke);}",".fs4k3qj:not(:focus-within),.fs4k3qj:hover:not(:focus-within){border-top-color:var(--colorPaletteRedBorder2);}",".fcee079:not(:focus-within),.fcee079:hover:not(:focus-within){border-right-color:var(--colorPaletteRedBorder2);}",".fmyw78r:not(:focus-within),.fmyw78r:hover:not(:focus-within){border-left-color:var(--colorPaletteRedBorder2);}",".f1fgmyf4:not(:focus-within),.f1fgmyf4:hover:not(:focus-within){border-bottom-color:var(--colorPaletteRedBorder2);}",".f16xq7d1{background-color:var(--colorNeutralBackground3);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",".fyed02w{box-shadow:var(--shadow2);}",".fdrzuqr{cursor:not-allowed;}",".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}",".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}",".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}",".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}",".fhr9occ::after{content:unset;}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1ng84yb{padding-left:var(--spacingHorizontalMNudge);}",".f11gcy0p{padding-right:var(--spacingHorizontalMNudge);}",".f1uw59to{padding-left:var(--spacingHorizontalM);}",".fw5db7e{padding-right:var(--spacingHorizontalM);}"],h:[".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}",".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}",".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}",".f1l4zc64:hover{border-bottom-color:var(--colorNeutralStrokeAccessibleHover);}",".ftmjh5b:hover,.ftmjh5b:focus-within{border-top-color:var(--colorTransparentStrokeInteractive);}",".f17blpuu:hover,.f17blpuu:focus-within{border-right-color:var(--colorTransparentStrokeInteractive);}",".fsrcdbj:hover,.fsrcdbj:focus-within{border-left-color:var(--colorTransparentStrokeInteractive);}",".f1tpwn32:hover,.f1tpwn32:focus-within{border-bottom-color:var(--colorTransparentStrokeInteractive);}"],a:[".f8vnjqi:active,.f8vnjqi:focus-within{border-top-color:var(--colorNeutralStroke1Pressed);}",".fz1etlk:active,.fz1etlk:focus-within{border-right-color:var(--colorNeutralStroke1Pressed);}",".f1hc16gm:active,.f1hc16gm:focus-within{border-left-color:var(--colorNeutralStroke1Pressed);}",".f1klwx88:active,.f1klwx88:focus-within{border-bottom-color:var(--colorNeutralStrokeAccessiblePressed);}"],m:[["@media (forced-colors: active){.f9dbb4x{border-top-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f3qs60o{border-right-color:GrayText;}.f5u9ap2{border-left-color:GrayText;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.fwd1oij{border-bottom-color:GrayText;}}",{m:"(forced-colors: active)"}]],w:[".f99w1ws:focus-within{outline-style:none;}"]}),iS=/*@__PURE__*/j("r12stul0",null,[".r12stul0{align-self:stretch;box-sizing:border-box;flex-grow:1;min-width:0;border-style:none;padding:0 var(--spacingHorizontalM);color:var(--colorNeutralForeground1);background-color:transparent;outline-style:none;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;}",".r12stul0::-webkit-input-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::-moz-placeholder{color:var(--colorNeutralForeground4);opacity:1;}",".r12stul0::placeholder{color:var(--colorNeutralForeground4);opacity:1;}"]),vS=/*@__PURE__*/D({small:{uwmqm3:["f1f5gg8d","f1vdfbxk"],z189sj:["f1vdfbxk","f1f5gg8d"]},medium:{},large:{uwmqm3:["fnphzt9","flt1dlf"],z189sj:["flt1dlf","fnphzt9"]},smallWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},smallWithContentAfter:{z189sj:["ffczdla","fgiv446"]},mediumWithContentBefore:{uwmqm3:["fgiv446","ffczdla"]},mediumWithContentAfter:{z189sj:["ffczdla","fgiv446"]},largeWithContentBefore:{uwmqm3:["fk8j09s","fdw0yi8"]},largeWithContentAfter:{z189sj:["fdw0yi8","fk8j09s"]},disabled:{sj55zd:"f1s2aq7o",De3pzq:"f1c21dwh",Bceei9c:"fdrzuqr",yvdlaj:"fahhnxm"}},{d:[".f1f5gg8d{padding-left:var(--spacingHorizontalS);}",".f1vdfbxk{padding-right:var(--spacingHorizontalS);}",".fnphzt9{padding-left:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".flt1dlf{padding-right:calc(var(--spacingHorizontalM) + var(--spacingHorizontalSNudge));}",".fgiv446{padding-left:var(--spacingHorizontalXXS);}",".ffczdla{padding-right:var(--spacingHorizontalXXS);}",".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}",".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f1c21dwh{background-color:var(--colorTransparentBackground);}",".fdrzuqr{cursor:not-allowed;}",".fahhnxm::-webkit-input-placeholder{color:var(--colorNeutralForegroundDisabled);}",".fahhnxm::-moz-placeholder{color:var(--colorNeutralForegroundDisabled);}"]}),nS=/*@__PURE__*/j("r1572tok",null,[".r1572tok{box-sizing:border-box;color:var(--colorNeutralForeground3);display:flex;}",".r1572tok>svg{font-size:20px;}"]),dS=/*@__PURE__*/D({disabled:{sj55zd:"f1s2aq7o"},small:{Duoase:"f3qv9w"},medium:{},large:{Duoase:"f16u2scb"}},{d:[".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".f3qv9w>svg{font-size:16px;}",".f16u2scb>svg{font-size:24px;}"]}),i9=(a)=>{let{size:l,appearance:c}=a,o=a.input.disabled,r=`${a.input["aria-invalid"]}`==="true",e=c.startsWith("filled"),h=tS(),Z=vS(),t=dS();a.root.className=S(_4.root,ZS(),h[l],a.contentBefore&&h[`${l}WithContentBefore`],a.contentAfter&&h[`${l}WithContentAfter`],h[c],!o&&c==="outline"&&h.outlineInteractive,!o&&c==="underline"&&h.underlineInteractive,!o&&e&&h.filledInteractive,e&&h.filled,!o&&r&&h.invalid,o&&h.disabled,a.root.className),a.input.className=S(_4.input,iS(),Z[l],a.contentBefore&&Z[`${l}WithContentBefore`],a.contentAfter&&Z[`${l}WithContentAfter`],o&&Z.disabled,a.input.className);let i=[nS(),o&&t.disabled,t[l]];if(a.contentBefore)a.contentBefore.className=S(_4.contentBefore,...i,a.contentBefore.className);if(a.contentAfter)a.contentAfter.className=S(_4.contentAfter,...i,a.contentAfter.className);return a};var N0=/*@__PURE__*/z((a,l)=>{let c=Z9(a,l);return i9(c),I("useInputStyles_unstable")(c),t9(c)});N0.displayName="Input";var v9=(a)=>{let{disabled:l,disabledFocusable:c}=a,{onClick:o,onKeyDown:r,role:e,tabIndex:h}=a.root;if(a.root.as==="a"){if(a.root.href=l?void 0:a.root.href,l||c)a.root.role=e||"link"}if(a.root.as==="a"||a.root.as==="span")a.root.tabIndex=h!==null&&h!==void 0?h:l&&!c?void 0:0;if(a.root.onClick=(Z)=>{if(l||c)Z.preventDefault();else o===null||o===void 0||o(Z)},a.root.onKeyDown=(Z)=>{let t=Z.key===J2||Z.key===w5;if((l||c)&&t)Z.preventDefault(),Z.stopPropagation();else if(r===null||r===void 0||r(Z),a.root.as==="span"&&!!a.root.onClick&&!r&&t)Z.preventDefault(),Z.currentTarget.click()},a.disabled=l||c,a.root["aria-disabled"]=l||c||void 0,a.root.as==="button")a.root.disabled=l&&!c;return a};var fH=e1(void 0),oi={inline:!1},Hr=fH.Provider,ur=()=>{var a;return(a=l1(fH))!==null&&a!==void 0?a:oi};var n9=(a,l)=>{let c=h6(),{inline:o}=ur(),{appearance:r="default",disabled:e=!1,disabledFocusable:h=!1,inline:Z=!1}=a,t=a.as||(a.href?"a":"button"),i={role:t==="span"?"button":void 0,type:t==="button"?"button":void 0,...a,as:t},n={appearance:r,disabled:e,disabledFocusable:h,inline:Z!==null&&Z!==void 0?Z:!!o,components:{root:t},root:U.always(o1(t,{ref:l,...i}),{elementType:t}),backgroundAppearance:c};return v9(n),n};var sr={root:"fui-Link"},MS=/*@__PURE__*/D({focusIndicator:{Bttzg6e:"fhgqx19",B3uz8dt:"f1olyrje",B6ihwck:"f1p93eir",g9k6zt:"f1nev41a"},root:{B486eqv:"f2hkw1w",De3pzq:"f3rmtva",B7ck84d:"f1ewtqcl",sj55zd:"fyind8e",Bceei9c:"f1k6fduh",mc9l5x:"f1w7gpdv",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",B68tc82:0,Bmxbyg5:0,Bpg54ce:"fnbmjn9",fsow6f:["f1o700av","fes3tcz"],w71qe1:"f1iuv45f",Bkioxbp:"f1cmlufx",ygn44y:"f9n3di6",famaaq:"f1ids18y",Bde5pd6:"f1tx3yz7",Bi91k9c:"f1deo86v",i089h6:"f1eh06m1",lj723h:"f1iescvh"},button:{icvyot:"f1ern45e",vrafjx:["f1n71otn","f1deefiw"],oivjwe:"f1h8hb77",wvpqe5:["f1deefiw","f1n71otn"]},href:{Be2twd7:"fjoy568"},subtle:{sj55zd:"f2yjg6r",Bde5pd6:"f1tx3yz7",Bi91k9c:"fj1cjhr",i089h6:"f1eh06m1",lj723h:"fhucn0c"},inline:{w71qe1:"f13mvf36"},disabled:{w71qe1:"f1iuv45f",sj55zd:"f1s2aq7o",Bceei9c:"fdrzuqr",Bde5pd6:"fbnuktb",Bi91k9c:"fvgxktp",i089h6:"fljg2da",lj723h:"f19wldhg"},inverted:{sj55zd:"f1qz2gb0",Bi91k9c:"f1ujg2k6",lj723h:"f1ebemlp"},brand:{sj55zd:"f179xftw",Bi91k9c:"f1sk1dtk",lj723h:"f182g21t"}},{d:[".fhgqx19[data-fui-focus-visible]{text-decoration-color:var(--colorStrokeFocus2);}",".f1olyrje[data-fui-focus-visible]{text-decoration-line:underline;}",".f1p93eir[data-fui-focus-visible]{text-decoration-style:double;}",".f1nev41a[data-fui-focus-visible]{outline-style:none;}",".f3rmtva{background-color:transparent;}",".f1ewtqcl{box-sizing:border-box;}",".fyind8e{color:var(--colorBrandForegroundLink);}",".f1k6fduh{cursor:pointer;}",".f1w7gpdv{display:inline;}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",[".f1s184ao{margin:0;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".fnbmjn9{overflow:inherit;}",{p:-1}],".f1o700av{text-align:left;}",".fes3tcz{text-align:right;}",".f1iuv45f{text-decoration-line:none;}",".f1cmlufx{text-decoration-thickness:var(--strokeWidthThin);}",".f9n3di6{text-overflow:inherit;}",".f1ids18y{-webkit-user-select:text;-moz-user-select:text;user-select:text;}",".f1ern45e{border-top-style:none;}",".f1n71otn{border-right-style:none;}",".f1deefiw{border-left-style:none;}",".f1h8hb77{border-bottom-style:none;}",".fjoy568{font-size:inherit;}",".f2yjg6r{color:var(--colorNeutralForeground2Link);}",".f13mvf36{text-decoration-line:underline;}",".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}",".fdrzuqr{cursor:not-allowed;}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".f179xftw{color:var(--colorNeutralForegroundInvertedLink);}"],i:[".f2hkw1w:focus-visible{outline-style:none;}"],h:[".f1tx3yz7:hover{text-decoration-line:underline;}",".f1deo86v:hover{color:var(--colorBrandForegroundLinkHover);}",".fj1cjhr:hover{color:var(--colorNeutralForeground2LinkHover);}",".fbnuktb:hover{text-decoration-line:none;}",".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}",".f1ujg2k6:hover{color:var(--colorBrandForegroundInverted);}",".f1sk1dtk:hover{color:var(--colorNeutralForegroundInvertedLinkHover);}"],a:[".f1eh06m1:active{text-decoration-line:underline;}",".f1iescvh:active{color:var(--colorBrandForegroundLinkPressed);}",".fhucn0c:active{color:var(--colorNeutralForeground2LinkPressed);}",".fljg2da:active{text-decoration-line:none;}",".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}",".f1ebemlp:active{color:var(--colorBrandForegroundInverted);}",".f182g21t:active{color:var(--colorNeutralForegroundInvertedLinkPressed);}"]}),d9=(a)=>{let l=MS(),{appearance:c,disabled:o,inline:r,root:e,backgroundAppearance:h}=a;return a.root.className=S(sr.root,l.root,l.focusIndicator,e.as==="a"&&e.href&&l.href,e.as==="button"&&l.button,c==="subtle"&&l.subtle,h==="inverted"&&l.inverted,h==="brand"&&l.brand,r&&l.inline,o&&l.disabled,a.root.className),a};var M9=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var D0=/*@__PURE__*/z((a,l)=>{let c=n9(a,l);return d9(c),I("useLinkStyles_unstable")(c),M9(c)});D0.displayName="Link";var Vr=h2(void 0),pS={open:!1,setOpen:()=>null,toggleOpen:()=>null,triggerRef:{current:null},contentRef:{current:null},arrowRef:{current:null},openOnContext:!1,openOnHover:!1,size:"medium",trapFocus:!1,inline:!1},Ho1=Vr.Provider,V0=(a)=>M3(Vr,(l=pS)=>a(l));var FH={durationUltraFast:50,durationFaster:100,durationFast:150,durationNormal:200,durationGentle:250,durationSlow:300,durationSlower:400,durationUltraSlow:500},xH={curveAccelerateMax:"cubic-bezier(0.9,0.1,1,0.2)",curveAccelerateMid:"cubic-bezier(1,0,1,1)",curveAccelerateMin:"cubic-bezier(0.8,0,0.78,1)",curveDecelerateMax:"cubic-bezier(0.1,0.9,0.2,1)",curveDecelerateMid:"cubic-bezier(0,0,0,1)",curveDecelerateMin:"cubic-bezier(0.33,0,0.1,1)",curveEasyEaseMax:"cubic-bezier(0.8,0,0.2,1)",curveEasyEase:"cubic-bezier(0.33,0,0.67,1)",curveLinear:"cubic-bezier(0,0,1,1)"},H1={...FH,...xH};var ri=e1(void 0),Vo1=ri.Provider;function gH(a){if(a.playState==="running"){var l;if(a.overallProgress!==void 0){var c;let Z=(c=a.overallProgress)!==null&&c!==void 0?c:0;return Z>0&&Z<1}var o;let e=Number((o=a.currentTime)!==null&&o!==void 0?o:0);var r;let h=Number((r=(l=a.effect)===null||l===void 0?void 0:l.getTiming().duration)!==null&&r!==void 0?r:0);return e>0&&e<h}return!1}var _S={fill:"forwards"},AS={duration:1};function mS(a){return{set playbackRate(l){a.forEach((c)=>{c.playbackRate=l})},setMotionEndCallbacks(l,c){let o=a.map((r)=>{return new Promise((e,h)=>{r.onfinish=()=>e(),r.oncancel=()=>h()})});Promise.all(o).then(()=>{l()}).catch(()=>{c()})},isRunning(){return a.some((l)=>gH(l))},dispose:()=>{a.length=0},cancel:()=>{a.forEach((l)=>{l.cancel()})},pause:()=>{a.forEach((l)=>{l.pause()})},play:()=>{a.forEach((l)=>{l.play()})},finish:()=>{a.forEach((l)=>{l.finish()})},reverse:()=>{a.forEach((l)=>{l.reverse()})}}}function HS(){var a;let l=typeof window<"u"&&typeof((a=window.Animation)===null||a===void 0?void 0:a.prototype.persist)==="function";return Q((c,o,r)=>{let e=Array.isArray(o)?o:[o],{isReducedMotion:h}=r,Z=e.map((t)=>{let{keyframes:i,reducedMotion:n=AS,...v}=t,{keyframes:d=i,...M}=n,_=h?d:i,p={..._S,...v,...h&&M};try{let m=c.animate(_,p);if(l)m===null||m===void 0||m.persist();else{let u=_[_.length-1];var A;Object.assign((A=c.style)!==null&&A!==void 0?A:{},u)}return m}catch(m){return null}}).filter((t)=>!!t);return mS(Z)},[l])}function fr(){return HS()}function Fr(a){let l=y(void 0);return Y0(a,()=>({setPlayState:(c)=>{if(c==="running"){var o;(o=l.current)===null||o===void 0||o.play()}if(c==="paused"){var r;(r=l.current)===null||r===void 0||r.pause()}},setPlaybackRate:(c)=>{if(l.current)l.current.playbackRate=c}})),l}function LH(a=!1,l=!1){let c=y(l?a:!0),o=t6(),r=Q((e)=>{if(c.current!==e)c.current=e,o()},[o]);return X(()=>{if(a)c.current=a}),[a||c.current,r]}var uS="screen and (prefers-reduced-motion: reduce)";function xr(){let{targetDocument:a}=M1();var l;let c=(l=a===null||a===void 0?void 0:a.defaultView)!==null&&l!==void 0?l:null,o=y(!1),r=Q(()=>o.current,[]);return P1(()=>{if(c===null||typeof c.matchMedia!=="function")return;let e=c.matchMedia(uS);if(e.matches)o.current=!0;let h=(Z)=>{o.current=Z.matches};return e.addEventListener("change",h),()=>{e.removeEventListener("change",h)}},[c]),r}var CH=["@fluentui/react-motion: Invalid child element.",`
|
|
139
|
+
`,"Motion factories require a single child element to be passed. ","That element element should support ref forwarding i.e. it should be either an intrinsic element (e.g. div) or a component that uses React.forwardRef()."].join("");function gr(a,l=!0){let c=y(null);X(()=>{if(l&&!c.current)console.error(CH)},[l]);try{let o=T5.only(a);if(Z5(o))return[b3(o,{ref:g1(c,a3(o))}),c]}catch{}throw Error(CH)}var RH=e1(void 0),Bo1=RH.Provider,Lr=()=>{var a;return(a=l1(RH))!==null&&a!==void 0?a:"default"};var sS=Symbol("MOTION_DEFINITION");function ei(a){return Object.assign((c)=>{let{children:o,imperativeRef:r,onMotionFinish:e,onMotionStart:h,onMotionCancel:Z,...t}=c,i=t,[n,v]=gr(o),d=Fr(r),M=Lr()==="skip",_=y({skipMotions:M,params:i}),p=fr(),A=xr(),m=Y(()=>{h===null||h===void 0||h(null)}),u=Y(()=>{e===null||e===void 0||e(null)}),V=Y(()=>{Z===null||Z===void 0||Z(null)});return P1(()=>{_.current={skipMotions:M,params:i}}),P1(()=>{let s=v.current;if(s){let F=typeof a==="function"?a({element:s,..._.current.params}):a;m();let L=p(s,F,{isReducedMotion:A()});if(d.current=L,L.setMotionEndCallbacks(u,V),_.current.skipMotions)L.finish();return()=>{L.cancel()}}},[p,v,d,A,u,m,V]),n},{[sS]:typeof a==="function"?a:()=>a})}var hi=Symbol("PRESENCE_MOTION_DEFINITION"),VS=Symbol.for("interruptablePresence");function t5(a){return Object.assign((l)=>{let o={...l1(ri),...l},r=Lr()==="skip",{appear:e,children:h,imperativeRef:Z,onExit:t,onMotionFinish:i,onMotionStart:n,onMotionCancel:v,visible:d,unmountOnExit:M,..._}=o,p=_,[A,m]=LH(d,M),[u,V]=gr(h,A),s=Fr(Z),F=y({appear:e,params:p,skipMotions:r}),L=fr(),C=Z6(),P=xr(),W=Y((N)=>{n===null||n===void 0||n(null,{direction:N})}),r1=Y((N)=>{if(i===null||i===void 0||i(null,{direction:N}),N==="exit"&&M)m(!1),t===null||t===void 0||t()}),t1=Y((N)=>{v===null||v===void 0||v(null,{direction:N})});if(P1(()=>{F.current={appear:e,params:p,skipMotions:r}}),P1(()=>{let N=V.current;if(!N)return;let R;function w(){if(!R)return;if(B&&R.isRunning())return;R.cancel(),s.current=void 0}let x=typeof a==="function"?a({element:N,...F.current.params}):a,B=x[VS];if(B){if(R=s.current,R&&R.isRunning())return R.reverse(),w}let k=d?x.enter:x.exit,$=d?"enter":"exit",E=!F.current.appear&&C,d1=F.current.skipMotions;if(!E)W($);if(R=L(N,k,{isReducedMotion:P()}),E)return R.finish(),w;if(s.current=R,R.setMotionEndCallbacks(()=>r1($),()=>t1($)),d1)R.finish();return w},[L,V,s,P,r1,W,t1,d]),X(()=>{if(M&&!A){var N;(N=s.current)===null||N===void 0||N.dispose()}},[s,M,A]),A)return u;return null},{[hi]:typeof a==="function"?a:()=>a},{In:ei(typeof a==="function"?(...l)=>a(...l).enter:a.enter),Out:ei(typeof a==="function"?(...l)=>a(...l).exit:a.exit)})}function fS(a,l){return(o)=>a({...l,...o})}function U5(a,l){let c=a[hi],o=fS(c,l);return t5(o)}var Zi=/*@__PURE__*/e1(void 0);function A4(){return l1(Zi)}var B6=/*@__PURE__*/z((a,l)=>{return/*@__PURE__*/c1(Zi.Provider,{value:l},a.children)});B6.displayName="MotionRefForwarder";var Cr=(a)=>{return/*@__PURE__*/c1(Zi.Provider,{value:void 0},a.children)};Cr.displayName="MotionRefForwarderReset";function O7(a,l){let{as:c,children:o,...r}=a!==null&&a!==void 0?a:{};if(typeof c<"u")throw Error('@fluentui/react-motion: "as" property is not supported on motion slots.');if(a===null){let h=!l.defaultProps.visible&&l.defaultProps.unmountOnExit,Z=(t,i)=>h?null:/*@__PURE__*/c1(i1,null,i.children);return{[F7]:Z,[X0]:l.elementType}}let e={...l.defaultProps,...r,[X0]:l.elementType};if(typeof o==="function")e[F7]=o;return e}var p9=(a,l)=>{let c=V0((h)=>h.size),o=V0((h)=>h.appearance),r=A4(),e=wH(a,g1(l,r));return{appearance:o,size:c,...e}},wH=(a,l)=>{let c=V0((A)=>A.contentRef),o=V0((A)=>A.openOnHover),r=V0((A)=>A.setOpen),e=V0((A)=>A.mountNode),h=V0((A)=>A.arrowRef),Z=V0((A)=>A.withArrow),t=V0((A)=>A.trapFocus),i=V0((A)=>A.inertTrapFocus),n=V0((A)=>A.inline),{modalAttributes:v}=o2({trapFocus:t,legacyTrapFocus:!i,alwaysFocusable:!t}),d={inline:n,withArrow:Z,arrowRef:h,mountNode:e,components:{root:"div"},root:U.always({ref:g1(l,c),role:t?"dialog":"group","aria-modal":t?!0:void 0,...v,...a},{elementType:"div"})},{onMouseEnter:M,onMouseLeave:_,onKeyDown:p}=d.root;return d.root.onMouseEnter=(A)=>{if(o)r(A,!0);M===null||M===void 0||M(A)},d.root.onMouseLeave=(A)=>{if(o)r(A,!1);_===null||_===void 0||_(A)},d.root.onKeyDown=(A)=>{var m;if(A.key==="Escape"&&((m=c.current)===null||m===void 0?void 0:m.contains(A.target)))A.preventDefault(),r(A,!1);p===null||p===void 0||p(A)},d};var _9=(a)=>{J(a);let l=/*@__PURE__*/_1(a.root,{children:[a.withArrow&&/*@__PURE__*/g("div",{ref:a.arrowRef,className:a.arrowClassName}),a.root.children]});if(a.inline)return l;return/*@__PURE__*/g(i2,{mountNode:a.mountNode,children:l})};var A9={root:"fui-PopoverSurface"},k6={small:6,medium:8,large:8},FS=/*@__PURE__*/D({root:{sj55zd:"f19n0e5",De3pzq:"fxugw4r",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f9ggezi",Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi",Bhu2qc9:"fymb6k8"},inline:{Bj3rh1h:"f19g0ac"},inverted:{De3pzq:"fg3r6xk",sj55zd:"fonrgv7"},brand:{De3pzq:"ffp7eso",sj55zd:"f1phragk"},smallPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1sy4kr4"},mediumPadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f4zyqsv"},largePadding:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fop8ug2"},smallArrow:{rhnwrx:"f1s3jn22",Bdy53xb:"fv40uqz"},mediumLargeArrow:{rhnwrx:"f1f72gjr",Bdy53xb:"f69yoe5"},arrow:{B7ck84d:"f1ewtqcl",qhf8xq:"f1euv43f",Bj3rh1h:"f1bsuimh",De3pzq:"f1u2r49w",B2eet1l:"fqhgnl",Beyfa6y:"f17bz04i",Bz10aip:"f36o3x3",Bqenvij:"fzofk8q",a9b677:"f1wbx1ie",Ftih45:"f1wl9k8s",Br0sdwz:"f1aocrix",cmx5o7:"f1ljr5q2",susq4k:0,Biibvgv:0,Bicfajf:0,qehafq:0,Brs5u8j:"f155f1qt",Ccq8qp:"f9mhzq7",Baz25je:"fr6rhvx",Bcgcnre:0,Bqjgrrk:0,qa3bma:0,y0oebl:0,Biqmznv:0,Bm6vgfq:0,Bbv0w2i:0,uvfttm:0,eqrjj:0,Bk5zm6e:0,m598lv:0,B4f6apu:0,ydt019:0,Bq4z7u6:0,Bdkvgpv:0,B0qfbqy:0,kj8mxx:"f1kc0wz4",r59vdv:"fgq90dz",Bkw5xw4:"fq0y47f",hl6cv3:"f1pwrbz6",aea9ga:"f1hxxcvm",yayu3t:"fw8rgyo",Bhsv975:"f1wnzycx",rhl9o9:"f1730wal",B7gxrvb:"f1fy4ixr",B6q6orb:"fobkauc",B0lu1f8:"f16bqv1l"}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".fxugw4r{background-color:var(--colorNeutralBackground1);}",[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f9ggezi{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fymb6k8{filter:drop-shadow(0 0 2px var(--colorNeutralShadowAmbient)) drop-shadow(0 8px 16px var(--colorNeutralShadowKey));}",".f19g0ac{z-index:1;}",".fg3r6xk{background-color:var(--colorNeutralBackgroundStatic);}",".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".ffp7eso{background-color:var(--colorBrandBackground);}",".f1phragk{color:var(--colorNeutralForegroundOnBrand);}",[".f1sy4kr4{padding:12px;}",{p:-1}],[".f4zyqsv{padding:16px;}",{p:-1}],[".fop8ug2{padding:20px;}",{p:-1}],".f1s3jn22{--fui-positioning-arrow-height:8.484px;}",".fv40uqz{--fui-positioning-arrow-offset:-4.242px;}",".f1f72gjr{--fui-positioning-arrow-height:11.312px;}",".f69yoe5{--fui-positioning-arrow-offset:-5.656px;}",".f1ewtqcl{box-sizing:border-box;}",".f1euv43f{position:absolute;}",".f1bsuimh{z-index:-1;}",".f1u2r49w{background-color:inherit;}",".fqhgnl{background-clip:content-box;}",".f17bz04i{border-bottom-left-radius:var(--borderRadiusSmall);}",".f36o3x3{transform:rotate(var(--fui-positioning-arrow-angle));}",".fzofk8q{height:var(--fui-positioning-arrow-height);}",".f1wbx1ie{width:var(--fui-positioning-arrow-height);}",'.f1wl9k8s::before{content:"";}',".f1aocrix::before{display:block;}",".f1ljr5q2::before{background-color:inherit;}",[".f155f1qt::before{margin:-1px;}",{p:-1}],".f9mhzq7::before{width:100%;}",".fr6rhvx::before{height:100%;}",[".f1kc0wz4::before{border:1px solid var(--colorTransparentStroke);}",{p:-2}],".fgq90dz::before{border-bottom-left-radius:var(--borderRadiusSmall);}",".fq0y47f::before{clip-path:polygon(0% 0%, 100% 100%, 0% 100%);}",'[data-popper-placement^="top"] .f1pwrbz6{bottom:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="top"] .f1hxxcvm{--fui-positioning-arrow-angle:-45deg;}','[data-popper-placement^="right"] .fw8rgyo{left:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="right"] .f1wnzycx{--fui-positioning-arrow-angle:45deg;}','[data-popper-placement^="bottom"] .f1730wal{top:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="bottom"] .f1fy4ixr{--fui-positioning-arrow-angle:135deg;}','[data-popper-placement^="left"] .fobkauc{right:var(--fui-positioning-arrow-offset);}','[data-popper-placement^="left"] .f16bqv1l{--fui-positioning-arrow-angle:225deg;}']}),y6=(a)=>{let l=FS();return a.root.className=S(A9.root,l.root,a.inline&&l.inline,a.size==="small"&&l.smallPadding,a.size==="medium"&&l.mediumPadding,a.size==="large"&&l.largePadding,a.appearance==="inverted"&&l.inverted,a.appearance==="brand"&&l.brand,a.root.className),a.arrowClassName=S(l.arrow,a.size==="small"?l.smallArrow:l.mediumLargeArrow),a};var v2=/*@__PURE__*/z((a,l)=>{let c=p9(a,l);return y6(c),I("usePopoverSurfaceStyles_unstable")(c),_9(c)});v2.displayName="PopoverSurface";var SH=4;var GH=(a,l)=>{let c=a==="horizontal"?"maxWidth":"maxHeight",o=a==="horizontal"?"overflowX":"overflowY",e=`${a==="horizontal"?l.scrollWidth:l.scrollHeight}px`;return{sizeName:c,overflowName:o,toSize:e}},UH=({orientation:a,duration:l,easing:c,element:o,outSize:r="0",delay:e=0})=>{let{sizeName:h,overflowName:Z,toSize:t}=GH(a,o);return{keyframes:[{[h]:r,[Z]:"hidden"},{[h]:t,offset:0.9999,[Z]:"hidden"},{[h]:"unset",[Z]:"unset"}],duration:l,easing:c,delay:e,fill:"both"}},DH=({orientation:a,duration:l,easing:c,element:o,delay:r=0,outSize:e="0"})=>{let{sizeName:h,overflowName:Z,toSize:t}=GH(a,o);return{keyframes:[{[h]:t,[Z]:"hidden"},{[h]:e,[Z]:"hidden"}],duration:l,easing:c,delay:r,fill:"both"}},xS=(a)=>{if(a==="horizontal")return{paddingStart:"paddingInlineStart",paddingEnd:"paddingInlineEnd",marginStart:"marginInlineStart",marginEnd:"marginInlineEnd"};return{paddingStart:"paddingBlockStart",paddingEnd:"paddingBlockEnd",marginStart:"marginBlockStart",marginEnd:"marginBlockEnd"}},ti=({direction:a,orientation:l,duration:c,easing:o,delay:r=0})=>{let{paddingStart:e,paddingEnd:h,marginStart:Z,marginEnd:t}=xS(l),i=a==="enter"?0:1;return{keyframes:[{[e]:"0",[h]:"0",[Z]:"0",[t]:"0",offset:i}],duration:c,easing:o,delay:r,fill:"both"}};var i5=({direction:a,duration:l,easing:c=H1.curveLinear,delay:o=0,outOpacity:r=0,inOpacity:e=1})=>{let h=[{opacity:r},{opacity:e}];if(a==="exit")h.reverse();return{keyframes:h,duration:l,easing:c,delay:o,fill:"both"}};var gS=({element:a,duration:l=H1.durationNormal,exitDuration:c=l,sizeDuration:o=l,opacityDuration:r=o,exitSizeDuration:e=c,exitOpacityDuration:h=e,easing:Z=H1.curveEasyEaseMax,delay:t=0,exitEasing:i=Z,exitDelay:n=t,staggerDelay:v=0,exitStaggerDelay:d=v,animateOpacity:M=!0,orientation:_="vertical",outSize:p="0px"})=>{let A=[UH({orientation:_,duration:o,easing:Z,element:a,outSize:p,delay:t}),ti({direction:"enter",orientation:_,duration:o,easing:Z,delay:t})];if(M)A.push(i5({direction:"enter",duration:r,easing:Z,delay:t+v}));let m=[];if(M)m.push(i5({direction:"exit",duration:h,easing:i,delay:n}));return m.push(DH({orientation:_,duration:e,easing:i,element:a,delay:n+d,outSize:p}),ti({direction:"exit",orientation:_,duration:e,easing:i,delay:n+d})),{enter:A,exit:m}},m9=t5(gS),BH=U5(m9,{duration:H1.durationFast}),kH=U5(m9,{duration:H1.durationSlower}),Rr=U5(m9,{sizeDuration:H1.durationNormal,opacityDuration:H1.durationSlower,staggerDelay:H1.durationNormal,exitSizeDuration:H1.durationNormal,exitOpacityDuration:H1.durationSlower,exitStaggerDelay:H1.durationSlower,easing:H1.curveEasyEase,exitEasing:H1.curveEasyEase});var LS=({duration:a=H1.durationNormal,easing:l=H1.curveEasyEase,delay:c=0,exitDuration:o=a,exitEasing:r=l,exitDelay:e=c,outOpacity:h=0,inOpacity:Z=1})=>{return{enter:i5({direction:"enter",duration:a,easing:l,delay:c,outOpacity:h,inOpacity:Z}),exit:i5({direction:"exit",duration:o,easing:r,delay:e,outOpacity:h,inOpacity:Z})}},wr=t5(LS),yH=U5(wr,{duration:H1.durationFast}),Sr=U5(wr,{duration:H1.durationGentle});var ii=({direction:a,duration:l,easing:c=H1.curveLinear,delay:o=0,outScale:r=0.9,inScale:e=1})=>{let h=[{scale:r},{scale:e}];if(a==="exit")h.reverse();return{keyframes:h,duration:l,easing:c,delay:o}};var CS=({duration:a=H1.durationGentle,easing:l=H1.curveDecelerateMax,delay:c=0,exitDuration:o=H1.durationNormal,exitEasing:r=H1.curveAccelerateMax,exitDelay:e=c,outScale:h=0.9,inScale:Z=1,animateOpacity:t=!0})=>{let i=[ii({direction:"enter",duration:a,easing:l,delay:c,outScale:h,inScale:Z})],n=[ii({direction:"exit",duration:o,easing:r,delay:e,outScale:h,inScale:Z})];if(t)i.push(i5({direction:"enter",duration:a,easing:l,delay:c})),n.push(i5({direction:"exit",duration:o,easing:r,delay:e}));return{enter:i,exit:n}},O6=t5(CS),OH=U5(O6,{duration:H1.durationNormal,exitDuration:H1.durationFast}),PH=U5(O6,{duration:H1.durationSlow,exitDuration:H1.durationGentle});var vi=({direction:a,duration:l,easing:c=H1.curveLinear,delay:o=0,outX:r="0px",outY:e="0px",inX:h="0px",inY:Z="0px"})=>{let t=[{translate:`${r} ${e}`},{translate:`${h} ${Z}`}];if(a==="exit")t.reverse();return{keyframes:t,duration:l,easing:c,delay:o}};var TH=H1.durationSlower,EH=H1.curveDecelerateMid,ni=t5(({distance:a=10})=>({enter:[i5({duration:TH,easing:EH,direction:"enter"}),{...vi({duration:TH,easing:EH,direction:"enter",outX:`calc(var(${R6}, 0px) * ${a})`,outY:`calc(var(${w6}, 0px) * ${a})`}),composite:"accumulate"}],exit:[]}));var H9=(a)=>{let{appearance:l,size:c="medium"}=a,o=y7(a.positioning),r=a.withArrow&&!o.coverTarget,{targetDocument:e}=M1(),h=Rt({targetDocument:e,onPositioningEnd:o.onPositioningEnd}),Z=qH({...a,positioning:{...o,onPositioningEnd:h,...r?{offset:mr(o.offset,k6[c])}:{}}});return{components:{surfaceMotion:ni},appearance:l,size:c,...Z,surfaceMotion:O7(a.surfaceMotion,{elementType:ni,defaultProps:{visible:Z.open,appear:!0,unmountOnExit:!0}})}},qH=(a)=>{let[l,c]=Xt(),o={contextTarget:l,setContextTarget:c,...a},r=T5.toArray(a.children);if(r.length===0)console.warn("Popover must contain at least one child");if(r.length>2)console.warn("Popover must contain at most two children");let e=void 0,h=void 0;if(r.length===2)e=r[0],h=r[1];else if(r.length===1)h=r[0];let[Z,t]=RS(o),[i,n]=E5(),v=Y((F,L)=>{if(n(),!(F instanceof Event)&&F.persist)F.persist();if(F.type==="mouseleave"){var C;i(()=>{t(F,L)},(C=a.mouseLeaveDelay)!==null&&C!==void 0?C:500)}else t(F,L)}),d=Q((F)=>{v(F,!Z)},[v,Z]),M=wS(o),{targetDocument:_}=M1();var p;i6({contains:oa,element:_,callback:(F)=>v(F,!1),refs:[M.triggerRef,M.contentRef],disabled:!Z,disabledFocusOnIframe:!((p=a.closeOnIframeFocus)!==null&&p!==void 0?p:!0)});let A=o.openOnContext||o.closeOnScroll;Ro({contains:oa,element:_,callback:(F)=>v(F,!1),refs:[M.triggerRef,M.contentRef],disabled:!Z||!A});let{findFirstFocusable:m}=R7(),u=To();X(()=>{if(a.unstable_disableAutoFocus)return;let F=M.contentRef.current;if(Z&&F){var L;let C=!isNaN((L=F.getAttribute("tabIndex"))!==null&&L!==void 0?L:void 0),P=C?F:m(F);if(P===null||P===void 0||P.focus(),C)u(F)}},[m,u,Z,M.contentRef,a.unstable_disableAutoFocus]);var V,s;return{...o,...M,inertTrapFocus:(V=a.inertTrapFocus)!==null&&V!==void 0?V:a.legacyTrapFocus===void 0?!1:!a.legacyTrapFocus,popoverTrigger:e,popoverSurface:h,open:Z,setOpen:v,toggleOpen:d,setContextTarget:c,contextTarget:l,inline:(s=a.inline)!==null&&s!==void 0?s:!1}};function RS(a){let l=Y((h,Z)=>{var t;return(t=a.onOpenChange)===null||t===void 0?void 0:t.call(a,h,Z)}),[c,o]=q0({state:a.open,defaultState:a.defaultOpen,initialState:!1});a.open=c!==void 0?c:a.open;let r=a.setContextTarget,e=Q((h,Z)=>{if(Z&&h.type==="contextmenu")r(h);if(!Z)r(void 0);o(Z),l===null||l===void 0||l(h,{open:Z})},[o,l,r]);return[c,e]}function wS(a){let l={position:"above",align:"center",arrowPadding:2*SH,target:a.openOnContext?a.contextTarget:void 0,...y7(a.positioning)};if(l.coverTarget)a.withArrow=!1;let{targetRef:c,containerRef:o,arrowRef:r}=ja(l);return{triggerRef:c,contentRef:o,arrowRef:r}}var u9=(a)=>{J(a);let{appearance:l,arrowRef:c,contentRef:o,inline:r,mountNode:e,open:h,openOnContext:Z,openOnHover:t,setOpen:i,size:n,toggleOpen:v,trapFocus:d,triggerRef:M,withArrow:_,inertTrapFocus:p}=a;return/*@__PURE__*/_1(Vr.Provider,{value:{appearance:l,arrowRef:c,contentRef:o,inline:r,mountNode:e,open:h,openOnContext:Z,openOnHover:t,setOpen:i,toggleOpen:v,triggerRef:M,size:n,trapFocus:d,inertTrapFocus:p,withArrow:_},children:[a.popoverTrigger,a.popoverSurface&&/*@__PURE__*/g(a.surfaceMotion,{children:/*@__PURE__*/g(B6,{children:a.popoverSurface})})]})};var n2=(a)=>{let l=H9(a);return u9(l)};n2.displayName="Popover";var s9=(a)=>{let{children:l,disableButtonEnhancement:c=!1}=a,o=J3(l),r=V0((V)=>V.open),e=V0((V)=>V.setOpen),h=V0((V)=>V.toggleOpen),Z=V0((V)=>V.triggerRef),t=V0((V)=>V.openOnHover),i=V0((V)=>V.openOnContext),{triggerAttributes:n}=o2(),v=(V)=>{if(i)V.preventDefault(),e(V,!0)},d=(V)=>{if(!i)h(V)},M=(V)=>{if(V.key===U7&&r&&!V.isDefaultPrevented())e(V,!1),V.preventDefault()},_=(V)=>{if(t)e(V,!0)},p=(V)=>{if(t)e(V,!1)},A={...n,"aria-expanded":`${r}`,...o===null||o===void 0?void 0:o.props,onMouseEnter:Y(T1(o===null||o===void 0?void 0:o.props.onMouseEnter,_)),onMouseLeave:Y(T1(o===null||o===void 0?void 0:o.props.onMouseLeave,p)),onContextMenu:Y(T1(o===null||o===void 0?void 0:o.props.onContextMenu,v)),ref:g1(Z,a3(o))},m={...A,onClick:Y(T1(o===null||o===void 0?void 0:o.props.onClick,d)),onKeyDown:Y(T1(o===null||o===void 0?void 0:o.props.onKeyDown,M))},u=e2((o===null||o===void 0?void 0:o.type)==="button"||(o===null||o===void 0?void 0:o.type)==="a"?o.type:"div",m);return{children:n6(a.children,e2((o===null||o===void 0?void 0:o.type)==="button"||(o===null||o===void 0?void 0:o.type)==="a"?o.type:"div",i?A:c?m:u))}};var V9=(a)=>{return a.children};var z5=(a)=>{let l=s9(a);return V9(l)};z5.displayName="PopoverTrigger";z5.isFluentTriggerComponent=!0;var WH=e1(void 0),US={},gh1=WH.Provider,bH=()=>{var a;return(a=l1(WH))!==null&&a!==void 0?a:US};var f9=(a,l)=>{let{size:c}=bH(),{appearance:o="primary",labelPosition:r="after",size:e=c!==null&&c!==void 0?c:"medium",delay:h=0}=a,Z=J1("spinner"),{role:t="progressbar",...i}=a,n=U.always(o1("div",{ref:l,role:t,...i},["size"]),{elementType:"div"}),[v,d]=h1(!1),[M,_]=E5();X(()=>{if(h<=0)return;return M(()=>{d(!0)},h),()=>{_()}},[M,_,h]);let p=U.optional(a.label,{defaultProps:{id:Z},renderByDefault:!1,elementType:s0}),A=U.optional(a.spinner,{renderByDefault:!0,elementType:"span"});if(p&&n&&!n["aria-labelledby"])n["aria-labelledby"]=p.id;return{appearance:o,delay:h,labelPosition:r,size:e,shouldRenderSpinner:!h||v,components:{root:"div",spinner:"span",spinnerTail:"span",label:s0},root:n,spinner:A,spinnerTail:U.always(a.spinnerTail,{elementType:"span"}),label:p}};var F9=(a)=>{J(a);let{labelPosition:l,shouldRenderSpinner:c}=a;return/*@__PURE__*/_1(a.root,{children:[a.label&&c&&(l==="above"||l==="before")&&/*@__PURE__*/g(a.label,{}),a.spinner&&c&&/*@__PURE__*/g(a.spinner,{children:a.spinnerTail&&/*@__PURE__*/g(a.spinnerTail,{})}),a.label&&c&&(l==="below"||l==="after")&&/*@__PURE__*/g(a.label,{})]})};var m4={root:"fui-Spinner",spinner:"fui-Spinner__spinner",spinnerTail:"fui-Spinner__spinnerTail",label:"fui-Spinner__label"};var DS=/*@__PURE__*/j("rpp59a7",null,[".rpp59a7{display:flex;align-items:center;justify-content:center;line-height:0;gap:8px;overflow:hidden;min-width:min-content;}"]),BS=/*@__PURE__*/D({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),kS=/*@__PURE__*/j("rvgcg50","r15nd2jo",{r:[".rvgcg50{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:rb7n1on;}","@keyframes rb7n1on{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}",".r15nd2jo{position:relative;flex-shrink:0;-webkit-mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);mask-image:radial-gradient(closest-side, transparent calc(100% - var(--fui-Spinner--strokeWidth) - 1px), white calc(100% - var(--fui-Spinner--strokeWidth)) calc(100% - 1px), transparent 100%);background-color:var(--colorBrandStroke2Contrast);color:var(--colorBrandStroke1);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:r1gx3jof;}","@keyframes r1gx3jof{0%{transform:rotate(0deg);}100%{transform:rotate(-360deg);}}"],s:["@media screen and (forced-colors: active){.rvgcg50{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.rvgcg50{animation-duration:1.8s;}}","@media screen and (forced-colors: active){.r15nd2jo{background-color:HighlightText;color:Highlight;forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r15nd2jo{animation-duration:1.8s;}}"]}),yS=/*@__PURE__*/j("rxov3xa","r1o544mv",{r:[".rxov3xa{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r15mim6k;}",'.rxov3xa::before,.rxov3xa::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r15mim6k{0%{transform:rotate(-135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(225deg);}}",".rxov3xa::before{animation-name:r18vhmn8;}","@keyframes r18vhmn8{0%{transform:rotate(0deg);}50%{transform:rotate(105deg);}100%{transform:rotate(0deg);}}",".rxov3xa::after{animation-name:rkgrvoi;}","@keyframes rkgrvoi{0%{transform:rotate(0deg);}50%{transform:rotate(225deg);}100%{transform:rotate(0deg);}}",".r1o544mv{position:absolute;display:block;width:100%;height:100%;-webkit-mask-image:conic-gradient(transparent 105deg, white 105deg);mask-image:conic-gradient(transparent 105deg, white 105deg);animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:var(--curveEasyEase);animation-name:r109gmi5;}",'.r1o544mv::before,.r1o544mv::after{content:"";position:absolute;display:block;width:100%;height:100%;animation:inherit;background-image:conic-gradient(currentcolor 135deg, transparent 135deg);}',"@keyframes r109gmi5{0%{transform:rotate(135deg);}50%{transform:rotate(0deg);}100%{transform:rotate(-225deg);}}",".r1o544mv::before{animation-name:r17whflh;}","@keyframes r17whflh{0%{transform:rotate(0deg);}50%{transform:rotate(-105deg);}100%{transform:rotate(0deg);}}",".r1o544mv::after{animation-name:re4odhl;}","@keyframes re4odhl{0%{transform:rotate(0deg);}50%{transform:rotate(-225deg);}100%{transform:rotate(0deg);}}"],s:["@media screen and (prefers-reduced-motion: reduce){.rxov3xa{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.rxov3xa::before,.rxov3xa::after{content:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1o544mv{animation-iteration-count:0;background-image:conic-gradient(transparent 120deg, currentcolor 360deg);}.r1o544mv::before,.r1o544mv::after{content:none;}}"]}),OS=/*@__PURE__*/D({inverted:{De3pzq:"fr407j0",sj55zd:"f1f7voed"},rtlTail:{btxmck:"f179dep3",gb5jj2:"fbz9ihp",Bdya8wy:"f1pme1qz"},"extra-tiny":{Bqenvij:"fd461yt",a9b677:"fjw5fx7",qmp6fs:"f1v3ph3m"},tiny:{Bqenvij:"fjamq6b",a9b677:"f64fuq3",qmp6fs:"f1v3ph3m"},"extra-small":{Bqenvij:"frvgh55",a9b677:"fq4mcun",qmp6fs:"f1v3ph3m"},small:{Bqenvij:"fxldao9",a9b677:"f1w9dchk",qmp6fs:"f1v3ph3m"},medium:{Bqenvij:"f1d2rq10",a9b677:"f1szoe96",qmp6fs:"fb52u90"},large:{Bqenvij:"f8ljn23",a9b677:"fpdz1er",qmp6fs:"fb52u90"},"extra-large":{Bqenvij:"fbhnoac",a9b677:"feqmc2u",qmp6fs:"fb52u90"},huge:{Bqenvij:"f1ft4266",a9b677:"fksc0bp",qmp6fs:"fa3u9ii"}},{d:[".fr407j0{background-color:var(--colorNeutralStrokeAlpha2);}",".f1f7voed{color:var(--colorNeutralStrokeOnBrand2);}",".f179dep3{-webkit-mask-image:conic-gradient(white 255deg, transparent 255deg);mask-image:conic-gradient(white 255deg, transparent 255deg);}",".fbz9ihp::before,.fbz9ihp::after{background-image:conic-gradient(transparent 225deg, currentcolor 225deg);}",".fd461yt{height:16px;}",".fjw5fx7{width:16px;}",".f1v3ph3m{--fui-Spinner--strokeWidth:var(--strokeWidthThick);}",".fjamq6b{height:20px;}",".f64fuq3{width:20px;}",".frvgh55{height:24px;}",".fq4mcun{width:24px;}",".fxldao9{height:28px;}",".f1w9dchk{width:28px;}",".f1d2rq10{height:32px;}",".f1szoe96{width:32px;}",".fb52u90{--fui-Spinner--strokeWidth:var(--strokeWidthThicker);}",".f8ljn23{height:36px;}",".fpdz1er{width:36px;}",".fbhnoac{height:40px;}",".feqmc2u{width:40px;}",".f1ft4266{height:44px;}",".fksc0bp{width:44px;}",".fa3u9ii{--fui-Spinner--strokeWidth:var(--strokeWidthThickest);}"],m:[["@media screen and (prefers-reduced-motion: reduce){.f1pme1qz{background-image:conic-gradient(currentcolor 0deg, transparent 240deg);}}",{m:"screen and (prefers-reduced-motion: reduce)"}]]}),PS=/*@__PURE__*/D({inverted:{sj55zd:"fonrgv7"},"extra-tiny":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},tiny:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},"extra-small":{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},small:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"},medium:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},large:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},"extra-large":{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"},huge:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fonrgv7{color:var(--colorNeutralForegroundStaticInverted);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}"]}),x9=(a)=>{let{labelPosition:l,size:c,appearance:o}=a,{dir:r}=M1(),e=DS(),h=BS(),Z=kS(),t=OS(),i=yS(),n=PS();if(a.root.className=S(m4.root,e,(l==="above"||l==="below")&&h.vertical,a.root.className),a.spinner)a.spinner.className=S(m4.spinner,Z,t[c],o==="inverted"&&t.inverted,a.spinner.className);if(a.spinnerTail)a.spinnerTail.className=S(m4.spinnerTail,i,r==="rtl"&&t.rtlTail,a.spinnerTail.className);if(a.label)a.label.className=S(m4.label,n[c],o==="inverted"&&n.inverted,a.label.className);return a};var D5=/*@__PURE__*/z((a,l)=>{let c=f9(a,l);return x9(c),I("useSpinnerStyles_unstable")(c),F9(c)});D5.displayName="Spinner";var g9=(a,l)=>{let{size:c="medium",...o}=a;return{...zH(o,l),size:c}},zH=(a,l)=>{a=S5(a,{supportsLabelFor:!0,supportsRequired:!0});let{checked:c,defaultChecked:o,disabled:r,disabledFocusable:e=!1,labelPosition:h="after",onChange:Z,required:t}=a,i=E2({props:a,primarySlotTagName:"input",excludedPropNames:["checked","defaultChecked","onChange","disabledFocusable"]}),n=J1("switch-",i.primary.id),v=U.always(a.root,{defaultProps:{ref:c2(),...i.root},elementType:"div"}),d=U.always(a.indicator,{defaultProps:{"aria-hidden":!0,children:/*@__PURE__*/c1(Xo,null)},elementType:"div"}),M=U.always(a.input,{defaultProps:{checked:c,defaultChecked:o,id:n,ref:l,role:"switch",type:"checkbox",...i.primary,disabled:r&&!e,...e&&{"aria-disabled":!0}},elementType:"input"});M.onChange=T1(M.onChange,(p)=>Z===null||Z===void 0?void 0:Z(p,{checked:p.currentTarget.checked})),M.onClick=T1(M.onClick,(p)=>{if(e)p.preventDefault()}),M.onKeyDown=T1(M.onKeyDown,(p)=>{if(e&&(p.key===" "||p.key==="Enter"))p.preventDefault()});let _=U.optional(a.label,{defaultProps:{disabled:r||e,htmlFor:n,required:t,size:"medium"},elementType:s0});return{disabledFocusable:e,labelPosition:h,components:{root:"div",indicator:"div",input:"input",label:s0},root:v,indicator:d,input:M,label:_}};var L9=(a)=>{J(a);let{labelPosition:l}=a;return/*@__PURE__*/_1(a.root,{children:[/*@__PURE__*/g(a.input,{}),l!=="after"&&a.label&&/*@__PURE__*/g(a.label,{}),/*@__PURE__*/g(a.indicator,{}),l==="after"&&a.label&&/*@__PURE__*/g(a.label,{})]})};var _3={root:"fui-Switch",indicator:"fui-Switch__indicator",input:"fui-Switch__input",label:"fui-Switch__label"},QH=_3.root,JH=2,TS=20;var ZZ1=TS-JH,ES=16;var tZ1=ES-JH,qS=/*@__PURE__*/j("r2i81i2","rofhmb8",{r:[".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".r2i81i2:focus{outline-style:none;}",".r2i81i2:focus-visible{outline-style:none;}",".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2i81i2[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}",".rofhmb8:focus{outline-style:none;}",".rofhmb8:focus-visible{outline-style:none;}",".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rofhmb8[data-fui-focus-within]:focus-within::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2i81i2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),WS=/*@__PURE__*/D({vertical:{Beiy3e4:"f1vx9l62"}},{d:[".f1vx9l62{flex-direction:column;}"]}),bS=/*@__PURE__*/j("r1c3hft5",null,{r:[".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}",".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}"],s:["@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}","@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}","@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}"]}),zS=/*@__PURE__*/D({labelAbove:{B6of3ja:"f1hu3pq6"},sizeSmall:{Be2twd7:"fses1vf",Bqenvij:"fd461yt",a9b677:"f1szoe96"}},{d:[".f1hu3pq6{margin-top:0;}",".fses1vf{font-size:14px;}",".fd461yt{height:16px;}",".f1szoe96{width:32px;}"]}),QS=/*@__PURE__*/j("r12ojtgy","rhc0e9x",{r:[".r12ojtgy{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".r12ojtgy:checked~.fui-Switch__indicator>*{transform:translateX(20px);}",'.r12ojtgy:disabled,.r12ojtgy[aria-disabled="true"]{cursor:default;}','.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.r12ojtgy:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.r12ojtgy:disabled:not(:checked)~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.r12ojtgy:disabled:checked~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}',".rhc0e9x{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}",".rhc0e9x:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}",'.rhc0e9x:disabled,.rhc0e9x[aria-disabled="true"]{cursor:default;}','.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"])~.fui-Switch__label{color:var(--colorNeutralForeground1);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}','.rhc0e9x:enabled:not(:checked):not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}','.rhc0e9x:disabled:not(:checked)~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}','.rhc0e9x:disabled:checked~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}'],s:['@media (forced-colors: active){.r12ojtgy:disabled~.fui-Switch__indicator,.r12ojtgy[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r12ojtgy:disabled~.fui-Switch__label,.r12ojtgy[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.r12ojtgy:hover{color:CanvasText;}.r12ojtgy:hover:active{color:CanvasText;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r12ojtgy:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}','@media (forced-colors: active){.rhc0e9x:disabled~.fui-Switch__indicator,.rhc0e9x[aria-disabled="true"]~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rhc0e9x:disabled~.fui-Switch__label,.rhc0e9x[aria-disabled="true"]~.fui-Switch__label{color:GrayText;}.rhc0e9x:hover{color:CanvasText;}.rhc0e9x:hover:active{color:CanvasText;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"]):hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rhc0e9x:enabled:checked:not([aria-disabled="true"])~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}']}),JS=/*@__PURE__*/D({before:{j35jbq:["f1e31b4d","f1vgc2s3"],Bhzewxz:"f15twtuk"},after:{oyh7mz:["f1vgc2s3","f1e31b4d"],Bhzewxz:"f15twtuk"},above:{B5kzvoi:"f1yab3r1",Bqenvij:"f1aar7gd",a9b677:"fly5x3f"},sizeSmall:{a9b677:"f83td6f",oedwrj:["f1t5zc5r","fmy58zi"]}},{d:[".f1e31b4d{right:0;}",".f1vgc2s3{left:0;}",".f15twtuk{top:0;}",".f1yab3r1{bottom:0;}",".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}",".fly5x3f{width:100%;}",".f83td6f{width:calc(32px + 2 * var(--spacingHorizontalS));}",".f1t5zc5r:checked~.fui-Switch__indicator>*{transform:translateX(16px);}",".fmy58zi:checked~.fui-Switch__indicator>*{transform:translateX(-16px);}"]}),IS=/*@__PURE__*/D({base:{Bceei9c:"f1k6fduh",jrapky:"f49ad5g",B6of3ja:"f1xlvstr",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1f5q0n8"},sizeSmall:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm",jrapky:"f1suqah5",B6of3ja:"f26bnac"},above:{z8tnut:"f1ywm7hm",Byoj8tv:"f14wxoun",a9b677:"fly5x3f"},after:{uwmqm3:["fruq291","f7x41pl"]},before:{z189sj:["f7x41pl","fruq291"]}},{d:[".f1k6fduh{cursor:pointer;}",".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}",".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}",[".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".f1suqah5{margin-bottom:calc((16px - var(--lineHeightBase200)) / 2);}",".f26bnac{margin-top:calc((16px - var(--lineHeightBase200)) / 2);}",".f1ywm7hm{padding-top:var(--spacingVerticalXS);}",".f14wxoun{padding-bottom:var(--spacingVerticalXS);}",".fly5x3f{width:100%;}",".fruq291{padding-left:var(--spacingHorizontalXS);}",".f7x41pl{padding-right:var(--spacingHorizontalXS);}"]}),C9=(a)=>{let l=qS(),c=WS(),o=bS(),r=zS(),e=QS(),h=JS(),Z=IS(),{label:t,labelPosition:i,size:n}=a;if(a.root.className=S(_3.root,l,i==="above"&&c.vertical,a.root.className),a.indicator.className=S(_3.indicator,o,t&&i==="above"&&r.labelAbove,n==="small"&&r.sizeSmall,a.indicator.className),a.input.className=S(_3.input,e,t&&h[i],n==="small"&&h.sizeSmall,a.input.className),a.label)a.label.className=S(_3.label,Z.base,Z[i],n==="small"&&Z.sizeSmall,a.label.className);return a};var f0=/*@__PURE__*/z((a,l)=>{let c=g9(a,l);return C9(c),I("useSwitchStyles_unstable")(c),L9(c)});f0.displayName="Switch";var A3=(a,l)=>{let{wrap:c,truncate:o,block:r,italic:e,underline:h,strikethrough:Z,size:t,font:i,weight:n,align:v}=a;return{align:v!==null&&v!==void 0?v:"start",block:r!==null&&r!==void 0?r:!1,font:i!==null&&i!==void 0?i:"base",italic:e!==null&&e!==void 0?e:!1,size:t!==null&&t!==void 0?t:300,strikethrough:Z!==null&&Z!==void 0?Z:!1,truncate:o!==null&&o!==void 0?o:!1,underline:h!==null&&h!==void 0?h:!1,weight:n!==null&&n!==void 0?n:"regular",wrap:c!==null&&c!==void 0?c:!0,components:{root:"span"},root:U.always(o1("span",{ref:l,...a}),{elementType:"span"})}};var m3=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var R9={root:"fui-Text"},$S=/*@__PURE__*/D({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bg96gwp:"f1i3iumi",Bhrd7zp:"figsok6",fsow6f:"fpgzoln",mc9l5x:"f1w7gpdv",Huce71:"f6juhto",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",ygn44y:"f2jf649"},nowrap:{Huce71:"fz5stix",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp"},truncate:{ygn44y:"f1cmbuwj"},block:{mc9l5x:"ftgm304"},italic:{B80ckks:"f1j4dglz"},underline:{w71qe1:"f13mvf36"},strikethrough:{w71qe1:"fv5q2k7"},strikethroughUnderline:{w71qe1:"f1drk4o6"},base100:{Be2twd7:"f13mqy1h",Bg96gwp:"fcpl73t"},base200:{Be2twd7:"fy9rknc",Bg96gwp:"fwrc4pm"},base400:{Be2twd7:"fod5ikn",Bg96gwp:"faaz57k"},base500:{Be2twd7:"f1pp30po",Bg96gwp:"f106mvju"},base600:{Be2twd7:"f1x0m3f5",Bg96gwp:"fb86gi6"},hero700:{Be2twd7:"fojgt09",Bg96gwp:"fcen8rp"},hero800:{Be2twd7:"fccw675",Bg96gwp:"f1ebx5kk"},hero900:{Be2twd7:"f15afnhw",Bg96gwp:"fr3w3wp"},hero1000:{Be2twd7:"fpyltcb",Bg96gwp:"f1ivgwrt"},monospace:{Bahqtrf:"f1fedwem"},numeric:{Bahqtrf:"f1uq0ln5"},weightMedium:{Bhrd7zp:"fdj6btp"},weightSemibold:{Bhrd7zp:"fl43uef"},weightBold:{Bhrd7zp:"flh3ekv"},alignCenter:{fsow6f:"f17mccla"},alignEnd:{fsow6f:"f12ymhq5"},alignJustify:{fsow6f:"f1j59e10"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".f1i3iumi{line-height:var(--lineHeightBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fpgzoln{text-align:start;}",".f1w7gpdv{display:inline;}",".f6juhto{white-space:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],".f2jf649{text-overflow:clip;}",".fz5stix{white-space:nowrap;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],".f1cmbuwj{text-overflow:ellipsis;}",".ftgm304{display:block;}",".f1j4dglz{font-style:italic;}",".f13mvf36{text-decoration-line:underline;}",".fv5q2k7{text-decoration-line:line-through;}",".f1drk4o6{text-decoration-line:line-through underline;}",".f13mqy1h{font-size:var(--fontSizeBase100);}",".fcpl73t{line-height:var(--lineHeightBase100);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".fwrc4pm{line-height:var(--lineHeightBase200);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".faaz57k{line-height:var(--lineHeightBase400);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".f106mvju{line-height:var(--lineHeightBase500);}",".f1x0m3f5{font-size:var(--fontSizeBase600);}",".fb86gi6{line-height:var(--lineHeightBase600);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fcen8rp{line-height:var(--lineHeightHero700);}",".fccw675{font-size:var(--fontSizeHero800);}",".f1ebx5kk{line-height:var(--lineHeightHero800);}",".f15afnhw{font-size:var(--fontSizeHero900);}",".fr3w3wp{line-height:var(--lineHeightHero900);}",".fpyltcb{font-size:var(--fontSizeHero1000);}",".f1ivgwrt{line-height:var(--lineHeightHero1000);}",".f1fedwem{font-family:var(--fontFamilyMonospace);}",".f1uq0ln5{font-family:var(--fontFamilyNumeric);}",".fdj6btp{font-weight:var(--fontWeightMedium);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".flh3ekv{font-weight:var(--fontWeightBold);}",".f17mccla{text-align:center;}",".f12ymhq5{text-align:end;}",".f1j59e10{text-align:justify;}"]}),H3=(a)=>{let l=$S();return a.root.className=S(R9.root,l.root,a.wrap===!1&&l.nowrap,a.truncate&&l.truncate,a.block&&l.block,a.italic&&l.italic,a.underline&&l.underline,a.strikethrough&&l.strikethrough,a.underline&&a.strikethrough&&l.strikethroughUnderline,a.size===100&&l.base100,a.size===200&&l.base200,a.size===400&&l.base400,a.size===500&&l.base500,a.size===600&&l.base600,a.size===700&&l.hero700,a.size===800&&l.hero800,a.size===900&&l.hero900,a.size===1000&&l.hero1000,a.font==="monospace"&&l.monospace,a.font==="numeric"&&l.numeric,a.weight==="medium"&&l.weightMedium,a.weight==="semibold"&&l.weightSemibold,a.weight==="bold"&&l.weightBold,a.align==="center"&&l.alignCenter,a.align==="end"&&l.alignEnd,a.align==="justify"&&l.alignJustify,a.root.className),a};var Q5=/*@__PURE__*/z((a,l)=>{let c=A3(a,l);return H3(c),I("useTextStyles_unstable")(c),m3(c)});Q5.displayName="Text";function N2(a){let{useStyles:l,className:c,displayName:o}=a,r=z((e,h)=>{let Z=l(),t=A3(e,h);return H3(t),t.root.className=S(c,t.root.className,Z.root,e.className),m3(t)});return r.displayName=o,r}var w9={root:"fui-Body1"},IH=/*@__PURE__*/D({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"figsok6",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".figsok6{font-weight:var(--fontWeightRegular);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]});var J5=N2({useStyles:IH,className:w9.root,displayName:"Body1"});var S9={root:"fui-Body1Strong"},$H=/*@__PURE__*/D({root:{Bahqtrf:"fk6fouc",Be2twd7:"fkhj508",Bhrd7zp:"fl43uef",Bg96gwp:"f1i3iumi"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fkhj508{font-size:var(--fontSizeBase300);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f1i3iumi{line-height:var(--lineHeightBase300);}"]});var P6=N2({useStyles:$H,className:S9.root,displayName:"Body1Strong"});var G9={root:"fui-Subtitle1"},YH=/*@__PURE__*/D({root:{Bahqtrf:"fk6fouc",Be2twd7:"f1pp30po",Bhrd7zp:"fl43uef",Bg96gwp:"f106mvju"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".f1pp30po{font-size:var(--fontSizeBase500);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".f106mvju{line-height:var(--lineHeightBase500);}"]});var T6=N2({useStyles:YH,className:G9.root,displayName:"Subtitle1"});var U9={root:"fui-Subtitle2"},XH=/*@__PURE__*/D({root:{Bahqtrf:"fk6fouc",Be2twd7:"fod5ikn",Bhrd7zp:"fl43uef",Bg96gwp:"faaz57k"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fod5ikn{font-size:var(--fontSizeBase400);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".faaz57k{line-height:var(--lineHeightBase400);}"]});var a5=N2({useStyles:XH,className:U9.root,displayName:"Subtitle2"});var D9={root:"fui-Title2"},KH=/*@__PURE__*/D({root:{Bahqtrf:"fk6fouc",Be2twd7:"fojgt09",Bhrd7zp:"fl43uef",Bg96gwp:"fcen8rp"}},{d:[".fk6fouc{font-family:var(--fontFamilyBase);}",".fojgt09{font-size:var(--fontSizeHero700);}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fcen8rp{line-height:var(--lineHeightHero700);}"]});var E6=N2({useStyles:KH,className:D9.root,displayName:"Title2"});function di(a,l){let{findFirstFocusable:c}=R7(),{targetDocument:o}=M1(),r=y(null);return X(()=>{if(!a)return;let e=r.current&&c(r.current);if(e)e.focus();else{var h;(h=r.current)===null||h===void 0||h.focus(),console.warn("@fluentui/react-dialog [useFocusFirstElement]:\nA Dialog should have at least one focusable element inside DialogSurface.\nPlease add at least a close button either on `DialogTitle` action slot or inside `DialogActions`")}},[c,a,l,o]),r}var uG={open:!1,inertTrapFocus:!1,modalType:"modal",isNestedDialog:!1,unmountOnClose:!0,dialogRef:{current:null},requestOpenChange(){}},B9=h2(void 0),k9=B9.Provider,F0=(a)=>M3(B9,(l=uG)=>a(l));var sG=!1,Mi=e1(void 0),q6=Mi.Provider,y9=()=>{var a;return(a=l1(Mi))!==null&&a!==void 0?a:sG};var pi=e1(void 0),Gr=pi.Provider,O9=()=>{return l1(pi)};var _i=U5(O6,{outScale:0.85,easing:H1.curveDecelerateMid,duration:H1.durationGentle,exitEasing:H1.curveAccelerateMin,exitDuration:H1.durationGentle});var P9=(a)=>{let{children:l,modalType:c="modal",onOpenChange:o,inertTrapFocus:r=!1,unmountOnClose:e=!0}=a,h=J1("dialog-title-"),[Z,t]=VG(l),[i,n]=q0({state:a.open,defaultState:a.defaultOpen,initialState:!1}),v=Y((A)=>{if(o===null||o===void 0||o(A.event,A),!A.event.isDefaultPrevented())n(A.open)}),d=di(i,c),{modalAttributes:M,triggerAttributes:_}=o2({trapFocus:c!=="non-modal",legacyTrapFocus:!r}),p=r4(B9);return{components:{surfaceMotion:_i},inertTrapFocus:r,open:i,modalType:c,content:t,trigger:Z,requestOpenChange:v,dialogTitleId:h,isNestedDialog:p,unmountOnClose:e,dialogRef:d,modalAttributes:M,triggerAttributes:_,surfaceMotion:O7(a.surfaceMotion,{elementType:_i,defaultProps:{visible:i,appear:e,unmountOnExit:e}})}};function VG(a){let l=T5.toArray(a);if(l.length!==1&&l.length!==2)console.warn(`@fluentui/react-dialog [useDialog]:
|
|
140
140
|
Dialog must contain at least one child <DialogSurface/>,
|
|
141
|
-
and at most two children <DialogTrigger/> <DialogSurface/> (in this order).`);switch(l.length){case 2:return l;case 1:return[void 0,l[0]];default:return[void 0,void 0]}}var T9=(a,l)=>{return J(a),/*@__PURE__*/g(k9,{value:l.dialog,children:/*@__PURE__*/_1(q6,{value:l.dialogSurface,children:[a.trigger,a.content&&/*@__PURE__*/g(a.surfaceMotion,{children:/*@__PURE__*/g(B6,{children:a.content})})]})})};function Dr(a){let{modalType:l,open:c,dialogRef:o,dialogTitleId:r,isNestedDialog:e,inertTrapFocus:h,requestOpenChange:Z,modalAttributes:t,triggerAttributes:i,unmountOnClose:n}=a,v={open:c,modalType:l,dialogRef:o,dialogTitleId:r,isNestedDialog:e,inertTrapFocus:h,modalAttributes:t,triggerAttributes:i,unmountOnClose:n,requestOpenChange:Z},d=!1;return{dialog:v,dialogSurface:!1}}var s5=/*@__PURE__*/Fo((a)=>{let l=P9(a),c=Dr(l);return T9(l,c)});s5.displayName="Dialog";var E9=(a)=>{let l=y9(),{children:c,disableButtonEnhancement:o=!1,action:r=l?"close":"open"}=a,e=J3(c),h=F0((v)=>v.requestOpenChange),{triggerAttributes:Z}=r2(),t=Y((v)=>{var d,M;if(e===null||e===void 0||(d=(M=e.props).onClick)===null||d===void 0||d.call(M,v),!v.isDefaultPrevented())h({event:v,type:"triggerClick",open:r==="open"})}),i={...e===null||e===void 0?void 0:e.props,ref:a3(e),onClick:t,...Z},n=h2((e===null||e===void 0?void 0:e.type)==="button"||(e===null||e===void 0?void 0:e.type)==="a"?e.type:"div",{...i,type:"button"});return{children:n6(c,o?i:n)}};var q9=(a)=>a.children;var B0=(a)=>{let l=E9(a);return q9(l)};B0.displayName="DialogTrigger";B0.isFluentTriggerComponent=!0;var W9=(a,l)=>{let{position:c="end",fluid:o=!1}=a;return{components:{root:"div"},root:U.always(o1("div",{ref:l,...a}),{elementType:"div"}),position:c,fluid:o}};var b9=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var Br={root:"fui-DialogActions"},xG=/*@__PURE__*/j("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),gG=/*@__PURE__*/D({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",Btsd7tp:"f1n00o3b",ufxxby:"f1mvsp37",Bq5p579:"flbz1vp"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Ew0qkd:"f119phc2",ufxxby:"f1j719yo",Bq5p579:"flbz1vp"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1n00o3b{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1mvsp37{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.flbz1vp{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f119phc2{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1j719yo{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),z9=(a)=>{let l=xG(),c=gG();return a.root.className=S(Br.root,l,a.position==="start"&&c.gridPositionStart,a.position==="end"&&c.gridPositionEnd,a.fluid&&a.position==="start"&&c.fluidStart,a.fluid&&a.position==="end"&&c.fluidEnd,a.root.className),a};var M2=/*@__PURE__*/z((a,l)=>{let c=W9(a,l);return z9(c),I("useDialogActionsStyles_unstable")(c),b9(c)});M2.displayName="DialogActions";var Q9=(a,l)=>{var c;return{components:{root:"div"},root:U.always(o1((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var J9=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var kr={root:"fui-DialogBody"},LG=/*@__PURE__*/j("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),I9=(a)=>{let l=LG();return a.root.className=S(kr.root,l,a.root.className),a};var p2=/*@__PURE__*/z((a,l)=>{let c=Q9(a,l);return I9(c),I("useDialogBodyStyles_unstable")(c),J9(c)});p2.displayName="DialogBody";var W6={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},CG=/*@__PURE__*/j("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),RG=/*@__PURE__*/D({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),wG=/*@__PURE__*/j("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),yr=/*@__PURE__*/j("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2avt6e[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),u3=(a)=>{let l=CG(),c=wG(),o=RG();if(a.root.className=S(W6.root,l,!a.action&&o.rootWithoutAction,a.root.className),a.action)a.action.className=S(W6.action,c,a.action.className);return a};var $9=(a,l)=>{let{action:c}=a,o=F0((e)=>e.modalType),r=yr();return{components:{root:"h2",action:"div"},root:U.always(o1("h2",{ref:l,id:F0((e)=>e.dialogTitleId),...a}),{elementType:"h2"}),action:U.optional(c,{renderByDefault:o==="non-modal",defaultProps:{children:/*@__PURE__*/c1(B0,{disableButtonEnhancement:!0,action:"close"},/*@__PURE__*/c1("button",{type:"button",className:r,"aria-label":"close"},/*@__PURE__*/c1(im,null)))},elementType:"div"})}};var Y9=(a)=>{return J(a),/*@__PURE__*/_1(i1,{children:[/*@__PURE__*/g(a.root,{children:a.root.children}),a.action&&/*@__PURE__*/g(a.action,{})]})};var _2=/*@__PURE__*/z((a,l)=>{let c=$9(a,l);return u3(c),I("useDialogTitleStyles_unstable")(c),Y9(c)});_2.displayName="DialogTitle";var lu=/*@__PURE__*/j("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),cu=/*@__PURE__*/j("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function ou(){let a=lu(),l=cu(),{targetDocument:c}=M1(),o=Q(()=>{var e;if(!c)return;var h;if(!(Math.floor(c.body.getBoundingClientRect().height)>((h=(e=c.defaultView)===null||e===void 0?void 0:e.innerHeight)!==null&&h!==void 0?h:0)))return;c.documentElement.classList.add(a),c.body.classList.add(l);return},[c,a,l]),r=Q(()=>{if(!c)return;c.documentElement.classList.remove(a),c.body.classList.remove(l)},[c,a,l]);return{disableBodyScroll:o,enableBodyScroll:r}}var Ai=Gr;var s3=(a,l)=>{let c=A4(),o=F0((V)=>V.modalType),r=F0((V)=>V.isNestedDialog),e=O9(),h=e!==null&&e!==void 0?e:r,Z=F0((V)=>V.modalAttributes),t=F0((V)=>V.dialogRef),i=F0((V)=>V.requestOpenChange),n=F0((V)=>V.dialogTitleId),v=F0((V)=>V.open),d=F0((V)=>V.unmountOnClose),M=Y((V)=>{if(o6(a.backdrop)){var s,F;(s=(F=a.backdrop).onClick)===null||s===void 0||s.call(F,V)}if(o==="modal"&&!V.isDefaultPrevented())i({event:V,open:!1,type:"backdropClick"})}),_=Y((V)=>{var s;if((s=a.onKeyDown)===null||s===void 0||s.call(a,V),V.key===U7&&!V.isDefaultPrevented())i({event:V,open:!1,type:"escapeKeyDown"}),V.preventDefault()}),p=U.optional(a.backdrop,{renderByDefault:o!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),A=p===null||p===void 0?void 0:p.appearance;if(p)p.onClick=M,delete p.appearance;let{disableBodyScroll:m,enableBodyScroll:u}=ou();return P1(()=>{if(!v){u();return}if(r||o==="non-modal")return;return m(),()=>u()},[v,o,r,m,u]),{components:{backdrop:"div",root:"div",backdropMotion:Ai},open:v,backdrop:p,isNestedDialog:r,treatBackdropAsNested:h,backdropAppearance:A,unmountOnClose:d,mountNode:a.mountNode,root:U.always(o1("div",{tabIndex:-1,role:o==="alert"?"alertdialog":"dialog","aria-modal":o!=="non-modal","aria-labelledby":a["aria-label"]?void 0:n,"aria-hidden":!d&&!v?!0:void 0,...a,...Z,onKeyDown:_,ref:g1(l,c,t)}),{elementType:"div"}),backdropMotion:O7(a.backdropMotion,{elementType:Ai,defaultProps:{appear:d,visible:v}}),transitionStatus:void 0}};var V3=(a,l)=>{return J(a),/*@__PURE__*/_1(v2,{mountNode:a.mountNode,children:[a.backdrop&&a.backdropMotion&&/*@__PURE__*/g(a.backdropMotion,{children:/*@__PURE__*/g(a.backdrop,{})}),/*@__PURE__*/g(Rr,{children:/*@__PURE__*/g(q6,{value:l.dialogSurface,children:/*@__PURE__*/g(a.root,{})})})]})};var X9={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},SG=/*@__PURE__*/j("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r5coedp{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1u3t6p6[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),GG=/*@__PURE__*/j("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),UG=/*@__PURE__*/D({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),K9=(a)=>{let{root:l,backdrop:c,open:o,unmountOnClose:r,treatBackdropAsNested:e,backdropAppearance:h}=a,Z=SG(),t=GG(),i=UG(),n=h?h==="transparent":e,v=!r&&!o;if(l.className=S(X9.root,Z,v&&i.dialogHidden,l.className),c)c.className=S(X9.backdrop,t,v&&i.dialogHidden,n&&i.nestedDialogBackdrop,c.className);return a};function f3(a){return{dialogSurface:!0}}var A2=/*@__PURE__*/z((a,l)=>{let c=s3(a,l),o=f3(c);return K9(c),I("useDialogSurfaceStyles_unstable")(c),V3(c,o)});A2.displayName="DialogSurface";var j9=(a,l)=>{var c;return{components:{root:"div"},root:U.always(o1((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var N9=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var Or={root:"fui-DialogContent"},DG=/*@__PURE__*/j("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),al=(a)=>{let l=DG();return a.root.className=S(Or.root,l,a.root.className),a};var m2=/*@__PURE__*/z((a,l)=>{let c=j9(a,l);return al(c),I("useDialogContentStyles_unstable")(c),N9(c)});m2.displayName="DialogContent";var mi=(a)=>{let l=a<=0?1:a;if(a<=0)console.error(`The prop 'max' must be greater than 0. Received max: ${a}`);return l};var Hi=(a,l)=>{if(a===void 0)return a;let c=a<0?0:a>l?l:a;if(a<0)console.error(`The prop 'value' must be greater than or equal to zero. Received value: ${a}`);if(a>l)console.error(`The prop 'value' must be less than or equal to 'max'. Received value: ${a}, max: ${l}`);return c};var ll=(a,l)=>{let c=N3(),o=c===null||c===void 0?void 0:c.validationState,{color:r=o==="error"||o==="warning"||o==="success"?o:"brand",shape:e="rounded",thickness:h="medium"}=a;var Z;let t=mi((Z=a.max)!==null&&Z!==void 0?Z:1),i=Hi(a.value,t),n=U.always(o1("div",{ref:l,role:"progressbar","aria-valuemin":i!==void 0?0:void 0,"aria-valuemax":i!==void 0?t:void 0,"aria-valuenow":i,"aria-labelledby":c===null||c===void 0?void 0:c.labelId,...a}),{elementType:"div"});if(c&&(c.validationMessageId||c.hintId))n["aria-describedby"]=[c===null||c===void 0?void 0:c.validationMessageId,c===null||c===void 0?void 0:c.hintId,n["aria-describedby"]].filter(Boolean).join(" ");let v=U.always(a.bar,{elementType:"div"});return{color:r,max:t,shape:e,thickness:h,value:i,components:{root:"div",bar:"div"},root:n,bar:v}};var cl=(a)=>{return J(a),/*@__PURE__*/g(a.root,{children:a.bar&&/*@__PURE__*/g(a.bar,{})})};var ol={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},BG=0.01;var kG=/*@__PURE__*/D({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bomf52o:"f1skxd4g"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},medium:{Bqenvij:"f4t8t6x"},large:{Bqenvij:"f6ywr7j"}},{d:[".ftgm304{display:block;}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fly5x3f{width:100%;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f4t8t6x{height:2px;}",".f6ywr7j{height:4px;}"],m:[["@media screen and (forced-colors: active){.f1skxd4g{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),yG=/*@__PURE__*/D({base:{Bomf52o:"f1tnpuu0",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f12b9xdw",Bqenvij:"f1l02sjl"},nonZeroDeterminate:{Bmy1vo4:"fjt6zfz",B3o57yi:"f1wofebd",Bkqvd7p:"fv71qf3"},indeterminate:{B2u0y6b:"fa0wk36",qhf8xq:"f10pi13n",Bcmaq0h:["fpo0yib","f1u5hf6c"],Bv12yb3:["fwd2bol","f14gig94"],vin17d:"f1a27w2r",Ezkn3b:"f452v7t",w3vfg9:"f1cpbl36",jpy9cc:"f3z2g5w",Bqo2lbl:"fz5izi4",B6plc1d:"fv40pdu",I82g5a:"f1uj6jbf"},brand:{De3pzq:"ftywsgz"},error:{De3pzq:"fdl5y0r"},warning:{De3pzq:"f1s438gw"},success:{De3pzq:"flxk52p"}},{m:[["@media screen and (forced-colors: active){.f1tnpuu0{background-color:Highlight;}}",{m:"screen and (forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.f3z2g5w{max-width:100%;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fz5izi4{animation-iteration-count:infinite;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fv40pdu{animation-duration:3s;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1uj6jbf{animation-name:ftc26vs;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[[".f12b9xdw{border-radius:inherit;}",{p:-1}],".f1l02sjl{height:100%;}",".fjt6zfz{transition-property:width;}",".f1wofebd{transition-duration:0.3s;}",".fv71qf3{transition-timing-function:ease;}",".fa0wk36{max-width:33%;}",".f10pi13n{position:relative;}",`.fpo0yib{background-image:linear-gradient(
|
|
141
|
+
and at most two children <DialogTrigger/> <DialogSurface/> (in this order).`);switch(l.length){case 2:return l;case 1:return[void 0,l[0]];default:return[void 0,void 0]}}var T9=(a,l)=>{return J(a),/*@__PURE__*/g(k9,{value:l.dialog,children:/*@__PURE__*/_1(q6,{value:l.dialogSurface,children:[a.trigger,a.content&&/*@__PURE__*/g(a.surfaceMotion,{children:/*@__PURE__*/g(B6,{children:a.content})})]})})};function Ur(a){let{modalType:l,open:c,dialogRef:o,dialogTitleId:r,isNestedDialog:e,inertTrapFocus:h,requestOpenChange:Z,modalAttributes:t,triggerAttributes:i,unmountOnClose:n}=a,v={open:c,modalType:l,dialogRef:o,dialogTitleId:r,isNestedDialog:e,inertTrapFocus:h,modalAttributes:t,triggerAttributes:i,unmountOnClose:n,requestOpenChange:Z},d=!1;return{dialog:v,dialogSurface:!1}}var s5=/*@__PURE__*/fo((a)=>{let l=P9(a),c=Ur(l);return T9(l,c)});s5.displayName="Dialog";var E9=(a)=>{let l=y9(),{children:c,disableButtonEnhancement:o=!1,action:r=l?"close":"open"}=a,e=J3(c),h=F0((v)=>v.requestOpenChange),{triggerAttributes:Z}=o2(),t=Y((v)=>{var d,M;if(e===null||e===void 0||(d=(M=e.props).onClick)===null||d===void 0||d.call(M,v),!v.isDefaultPrevented())h({event:v,type:"triggerClick",open:r==="open"})}),i={...e===null||e===void 0?void 0:e.props,ref:a3(e),onClick:t,...Z},n=e2((e===null||e===void 0?void 0:e.type)==="button"||(e===null||e===void 0?void 0:e.type)==="a"?e.type:"div",{...i,type:"button"});return{children:n6(c,o?i:n)}};var q9=(a)=>a.children;var B0=(a)=>{let l=E9(a);return q9(l)};B0.displayName="DialogTrigger";B0.isFluentTriggerComponent=!0;var W9=(a,l)=>{let{position:c="end",fluid:o=!1}=a;return{components:{root:"div"},root:U.always(o1("div",{ref:l,...a}),{elementType:"div"}),position:c,fluid:o}};var b9=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var Dr={root:"fui-DialogActions"},fG=/*@__PURE__*/j("rhfpeu0",null,{r:[".rhfpeu0{gap:8px;height:fit-content;box-sizing:border-box;display:flex;grid-row-start:3;grid-row-end:3;}"],s:["@media screen and (max-width: 480px){.rhfpeu0{flex-direction:column;justify-self:stretch;}}"]}),FG=/*@__PURE__*/D({gridPositionEnd:{Bdqf98w:"f1a7i8kp",Br312pm:"fd46tj4",Bw0ie65:"fsyjsko",Btsd7tp:"f1n00o3b",ufxxby:"f1mvsp37",Bq5p579:"flbz1vp"},gridPositionStart:{Bdqf98w:"fsxvdwy",Br312pm:"fwpfdsa",Bw0ie65:"f1e2fz10",Ew0qkd:"f119phc2",ufxxby:"f1j719yo",Bq5p579:"flbz1vp"},fluidStart:{Bw0ie65:"fsyjsko"},fluidEnd:{Br312pm:"fwpfdsa"}},{d:[".f1a7i8kp{justify-self:end;}",".fd46tj4{grid-column-start:2;}",".fsyjsko{grid-column-end:4;}",".fsxvdwy{justify-self:start;}",".fwpfdsa{grid-column-start:1;}",".f1e2fz10{grid-column-end:2;}"],m:[["@media screen and (max-width: 480px){.f1n00o3b{grid-column-start:1;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1mvsp37{grid-row-start:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.flbz1vp{grid-row-end:auto;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f119phc2{grid-column-end:4;}}",{m:"screen and (max-width: 480px)"}],["@media screen and (max-width: 480px){.f1j719yo{grid-row-start:3;}}",{m:"screen and (max-width: 480px)"}]]}),z9=(a)=>{let l=fG(),c=FG();return a.root.className=S(Dr.root,l,a.position==="start"&&c.gridPositionStart,a.position==="end"&&c.gridPositionEnd,a.fluid&&a.position==="start"&&c.fluidStart,a.fluid&&a.position==="end"&&c.fluidEnd,a.root.className),a};var d2=/*@__PURE__*/z((a,l)=>{let c=W9(a,l);return z9(c),I("useDialogActionsStyles_unstable")(c),b9(c)});d2.displayName="DialogActions";var Q9=(a,l)=>{var c;return{components:{root:"div"},root:U.always(o1((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var J9=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var Br={root:"fui-DialogBody"},xG=/*@__PURE__*/j("rhwx3p8",null,{r:[".rhwx3p8{overflow:unset;gap:8px;display:grid;max-height:calc(100vh - 2 * 24px);max-height:calc(100dvh - 2 * 24px);box-sizing:border-box;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr auto;}"],s:["@media screen and (max-width: 480px){.rhwx3p8{max-width:100vw;grid-template-rows:auto 1fr auto;}}","@media screen and (max-height: 359px){.rhwx3p8{max-height:unset;}}"]}),I9=(a)=>{let l=xG();return a.root.className=S(Br.root,l,a.root.className),a};var M2=/*@__PURE__*/z((a,l)=>{let c=Q9(a,l);return I9(c),I("useDialogBodyStyles_unstable")(c),J9(c)});M2.displayName="DialogBody";var W6={root:"fui-DialogTitle",action:"fui-DialogTitle__action"},gG=/*@__PURE__*/j("rxjm636",null,[".rxjm636{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase500);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase500);margin:0;grid-row-start:1;grid-row-end:1;grid-column-start:1;grid-column-end:3;}"]),LG=/*@__PURE__*/D({rootWithoutAction:{Bw0ie65:"fsyjsko"}},{d:[".fsyjsko{grid-column-end:4;}"]}),CG=/*@__PURE__*/j("r13kcrze",null,[".r13kcrze{grid-row-start:1;grid-row-end:1;grid-column-start:3;justify-self:end;align-self:start;}"]),kr=/*@__PURE__*/j("r2avt6e","roj2bbc",{r:[".r2avt6e{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".r2avt6e:focus{outline-style:none;}",".r2avt6e:focus-visible{outline-style:none;}",".r2avt6e[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r2avt6e[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".roj2bbc{overflow:visible;padding:0;border-style:none;position:relative;box-sizing:content-box;background-color:inherit;color:inherit;font-family:inherit;font-size:inherit;cursor:pointer;line-height:0;-webkit-appearance:button;text-align:unset;}",".roj2bbc:focus{outline-style:none;}",".roj2bbc:focus-visible{outline-style:none;}",".roj2bbc[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.roj2bbc[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r2avt6e[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.roj2bbc[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),u3=(a)=>{let l=gG(),c=CG(),o=LG();if(a.root.className=S(W6.root,l,!a.action&&o.rootWithoutAction,a.root.className),a.action)a.action.className=S(W6.action,c,a.action.className);return a};var $9=(a,l)=>{let{action:c}=a,o=F0((e)=>e.modalType),r=kr();return{components:{root:"h2",action:"div"},root:U.always(o1("h2",{ref:l,id:F0((e)=>e.dialogTitleId),...a}),{elementType:"h2"}),action:U.optional(c,{renderByDefault:o==="non-modal",defaultProps:{children:/*@__PURE__*/c1(B0,{disableButtonEnhancement:!0,action:"close"},/*@__PURE__*/c1("button",{type:"button",className:r,"aria-label":"close"},/*@__PURE__*/c1(hm,null)))},elementType:"div"})}};var Y9=(a)=>{return J(a),/*@__PURE__*/_1(i1,{children:[/*@__PURE__*/g(a.root,{children:a.root.children}),a.action&&/*@__PURE__*/g(a.action,{})]})};var p2=/*@__PURE__*/z((a,l)=>{let c=$9(a,l);return u3(c),I("useDialogTitleStyles_unstable")(c),Y9(c)});p2.displayName="DialogTitle";var jH=/*@__PURE__*/j("r6pzz3z",null,[".r6pzz3z{overflow-y:hidden;overflow-y:clip;scrollbar-gutter:stable;}"]),NH=/*@__PURE__*/j("r144vlu9",null,[".r144vlu9{overflow-y:hidden;}"]);function au(){let a=jH(),l=NH(),{targetDocument:c}=M1(),o=Q(()=>{var e;if(!c)return;var h;if(!(Math.floor(c.body.getBoundingClientRect().height)>((h=(e=c.defaultView)===null||e===void 0?void 0:e.innerHeight)!==null&&h!==void 0?h:0)))return;c.documentElement.classList.add(a),c.body.classList.add(l);return},[c,a,l]),r=Q(()=>{if(!c)return;c.documentElement.classList.remove(a),c.body.classList.remove(l)},[c,a,l]);return{disableBodyScroll:o,enableBodyScroll:r}}var Ai=Sr;var s3=(a,l)=>{let c=A4(),o=F0((V)=>V.modalType),r=F0((V)=>V.isNestedDialog),e=O9(),h=e!==null&&e!==void 0?e:r,Z=F0((V)=>V.modalAttributes),t=F0((V)=>V.dialogRef),i=F0((V)=>V.requestOpenChange),n=F0((V)=>V.dialogTitleId),v=F0((V)=>V.open),d=F0((V)=>V.unmountOnClose),M=Y((V)=>{if(o6(a.backdrop)){var s,F;(s=(F=a.backdrop).onClick)===null||s===void 0||s.call(F,V)}if(o==="modal"&&!V.isDefaultPrevented())i({event:V,open:!1,type:"backdropClick"})}),_=Y((V)=>{var s;if((s=a.onKeyDown)===null||s===void 0||s.call(a,V),V.key===U7&&!V.isDefaultPrevented())i({event:V,open:!1,type:"escapeKeyDown"}),V.preventDefault()}),p=U.optional(a.backdrop,{renderByDefault:o!=="non-modal",defaultProps:{"aria-hidden":"true"},elementType:"div"}),A=p===null||p===void 0?void 0:p.appearance;if(p)p.onClick=M,delete p.appearance;let{disableBodyScroll:m,enableBodyScroll:u}=au();return P1(()=>{if(!v){u();return}if(r||o==="non-modal")return;return m(),()=>u()},[v,o,r,m,u]),{components:{backdrop:"div",root:"div",backdropMotion:Ai},open:v,backdrop:p,isNestedDialog:r,treatBackdropAsNested:h,backdropAppearance:A,unmountOnClose:d,mountNode:a.mountNode,root:U.always(o1("div",{tabIndex:-1,role:o==="alert"?"alertdialog":"dialog","aria-modal":o!=="non-modal","aria-labelledby":a["aria-label"]?void 0:n,"aria-hidden":!d&&!v?!0:void 0,...a,...Z,onKeyDown:_,ref:g1(l,c,t)}),{elementType:"div"}),backdropMotion:O7(a.backdropMotion,{elementType:Ai,defaultProps:{appear:d,visible:v}}),transitionStatus:void 0}};var V3=(a,l)=>{return J(a),/*@__PURE__*/_1(i2,{mountNode:a.mountNode,children:[a.backdrop&&a.backdropMotion&&/*@__PURE__*/g(a.backdropMotion,{children:/*@__PURE__*/g(a.backdrop,{})}),/*@__PURE__*/g(Cr,{children:/*@__PURE__*/g(q6,{value:l.dialogSurface,children:/*@__PURE__*/g(a.root,{})})})]})};var X9={root:"fui-DialogSurface",backdrop:"fui-DialogSurface__backdrop"},RG=/*@__PURE__*/j("r1u3t6p6","r5coedp",{r:[".r1u3t6p6{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r1u3t6p6:focus{outline-style:none;}",".r1u3t6p6:focus-visible{outline-style:none;}",".r1u3t6p6[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r1u3t6p6[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".r5coedp{inset:0;padding:24px;margin:auto;border-style:none;overflow:unset;border:1px solid var(--colorTransparentStroke);border-radius:var(--borderRadiusXLarge);display:block;-webkit-user-select:unset;-moz-user-select:unset;user-select:unset;visibility:unset;position:fixed;height:fit-content;max-width:600px;max-height:100vh;max-height:100dvh;box-sizing:border-box;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);box-shadow:var(--shadow64);}",".r5coedp:focus{outline-style:none;}",".r5coedp:focus-visible{outline-style:none;}",".r5coedp[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.r5coedp[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r1u3t6p6[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media screen and (max-width: 480px){.r1u3t6p6{max-width:100vw;}}","@media screen and (max-height: 359px){.r1u3t6p6{overflow-y:auto;padding-right:calc(24px - 4px);border-right-width:4px;border-top-width:4px;border-bottom-width:4px;}}","@media (forced-colors: active){.r5coedp[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}","@media screen and (max-width: 480px){.r5coedp{max-width:100vw;}}","@media screen and (max-height: 359px){.r5coedp{overflow-y:auto;padding-left:calc(24px - 4px);border-left-width:4px;border-top-width:4px;border-bottom-width:4px;}}"]}),wG=/*@__PURE__*/j("r1e18s3l",null,[".r1e18s3l{inset:0px;background-color:var(--colorBackgroundOverlay);position:fixed;}"]),SG=/*@__PURE__*/D({nestedDialogBackdrop:{De3pzq:"f1c21dwh"},dialogHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),K9=(a)=>{let{root:l,backdrop:c,open:o,unmountOnClose:r,treatBackdropAsNested:e,backdropAppearance:h}=a,Z=RG(),t=wG(),i=SG(),n=h?h==="transparent":e,v=!r&&!o;if(l.className=S(X9.root,Z,v&&i.dialogHidden,l.className),c)c.className=S(X9.backdrop,t,v&&i.dialogHidden,n&&i.nestedDialogBackdrop,c.className);return a};function f3(a){return{dialogSurface:!0}}var _2=/*@__PURE__*/z((a,l)=>{let c=s3(a,l),o=f3(c);return K9(c),I("useDialogSurfaceStyles_unstable")(c),V3(c,o)});_2.displayName="DialogSurface";var j9=(a,l)=>{var c;return{components:{root:"div"},root:U.always(o1((c=a.as)!==null&&c!==void 0?c:"div",{ref:l,...a}),{elementType:"div"})}};var N9=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var yr={root:"fui-DialogContent"},GG=/*@__PURE__*/j("r1v5zwsm",null,{r:[".r1v5zwsm{padding:var(--strokeWidthThick);margin:calc(var(--strokeWidthThick) * -1);font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);overflow-y:auto;min-height:32px;box-sizing:border-box;grid-row-start:2;grid-row-end:2;grid-column-start:1;grid-column-end:4;}"],s:["@media screen and (max-height: 359px){.r1v5zwsm{overflow-y:unset;}}"]}),al=(a)=>{let l=GG();return a.root.className=S(yr.root,l,a.root.className),a};var A2=/*@__PURE__*/z((a,l)=>{let c=j9(a,l);return al(c),I("useDialogContentStyles_unstable")(c),N9(c)});A2.displayName="DialogContent";var mi=(a)=>{let l=a<=0?1:a;if(a<=0)console.error(`The prop 'max' must be greater than 0. Received max: ${a}`);return l};var Hi=(a,l)=>{if(a===void 0)return a;let c=a<0?0:a>l?l:a;if(a<0)console.error(`The prop 'value' must be greater than or equal to zero. Received value: ${a}`);if(a>l)console.error(`The prop 'value' must be less than or equal to 'max'. Received value: ${a}, max: ${l}`);return c};var ll=(a,l)=>{let c=N3(),o=c===null||c===void 0?void 0:c.validationState,{color:r=o==="error"||o==="warning"||o==="success"?o:"brand",shape:e="rounded",thickness:h="medium"}=a;var Z;let t=mi((Z=a.max)!==null&&Z!==void 0?Z:1),i=Hi(a.value,t),n=U.always(o1("div",{ref:l,role:"progressbar","aria-valuemin":i!==void 0?0:void 0,"aria-valuemax":i!==void 0?t:void 0,"aria-valuenow":i,"aria-labelledby":c===null||c===void 0?void 0:c.labelId,...a}),{elementType:"div"});if(c&&(c.validationMessageId||c.hintId))n["aria-describedby"]=[c===null||c===void 0?void 0:c.validationMessageId,c===null||c===void 0?void 0:c.hintId,n["aria-describedby"]].filter(Boolean).join(" ");let v=U.always(a.bar,{elementType:"div"});return{color:r,max:t,shape:e,thickness:h,value:i,components:{root:"div",bar:"div"},root:n,bar:v}};var cl=(a)=>{return J(a),/*@__PURE__*/g(a.root,{children:a.bar&&/*@__PURE__*/g(a.bar,{})})};var ol={root:"fui-ProgressBar",bar:"fui-ProgressBar__bar"},UG=0.01;var DG=/*@__PURE__*/D({root:{mc9l5x:"ftgm304",De3pzq:"f18f03hv",a9b677:"fly5x3f",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1a3p1vp",Bomf52o:"f1skxd4g"},rounded:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"ft85np5"},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f1fabniw"},medium:{Bqenvij:"f4t8t6x"},large:{Bqenvij:"f6ywr7j"}},{d:[".ftgm304{display:block;}",".f18f03hv{background-color:var(--colorNeutralBackground6);}",".fly5x3f{width:100%;}",[".f1a3p1vp{overflow:hidden;}",{p:-1}],[".ft85np5{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1fabniw{border-radius:var(--borderRadiusNone);}",{p:-1}],".f4t8t6x{height:2px;}",".f6ywr7j{height:4px;}"],m:[["@media screen and (forced-colors: active){.f1skxd4g{background-color:CanvasText;}}",{m:"screen and (forced-colors: active)"}]]}),BG=/*@__PURE__*/D({base:{Bomf52o:"f1tnpuu0",Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"f12b9xdw",Bqenvij:"f1l02sjl"},nonZeroDeterminate:{Bmy1vo4:"fjt6zfz",B3o57yi:"f1wofebd",Bkqvd7p:"fv71qf3"},indeterminate:{B2u0y6b:"fa0wk36",qhf8xq:"f10pi13n",Bcmaq0h:["fpo0yib","f1u5hf6c"],Bv12yb3:["fwd2bol","f14gig94"],vin17d:"f1a27w2r",Ezkn3b:"f452v7t",w3vfg9:"f1cpbl36",jpy9cc:"f3z2g5w",Bqo2lbl:"fz5izi4",B6plc1d:"fv40pdu",I82g5a:"f1uj6jbf"},brand:{De3pzq:"ftywsgz"},error:{De3pzq:"fdl5y0r"},warning:{De3pzq:"f1s438gw"},success:{De3pzq:"flxk52p"}},{m:[["@media screen and (forced-colors: active){.f1tnpuu0{background-color:Highlight;}}",{m:"screen and (forced-colors: active)"}],["@media screen and (prefers-reduced-motion: reduce){.f3z2g5w{max-width:100%;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fz5izi4{animation-iteration-count:infinite;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.fv40pdu{animation-duration:3s;}}",{m:"screen and (prefers-reduced-motion: reduce)"}],["@media screen and (prefers-reduced-motion: reduce){.f1uj6jbf{animation-name:ftc26vs;}}",{m:"screen and (prefers-reduced-motion: reduce)"}]],d:[[".f12b9xdw{border-radius:inherit;}",{p:-1}],".f1l02sjl{height:100%;}",".fjt6zfz{transition-property:width;}",".f1wofebd{transition-duration:0.3s;}",".fv71qf3{transition-timing-function:ease;}",".fa0wk36{max-width:33%;}",".f10pi13n{position:relative;}",`.fpo0yib{background-image:linear-gradient(
|
|
142
142
|
to right,
|
|
143
143
|
var(--colorNeutralBackground6) 0%,
|
|
144
144
|
var(--colorTransparentBackground) 50%,
|
|
@@ -148,7 +148,7 @@ and at most two children <DialogTrigger/> <DialogSurface/> (in this order).`);sw
|
|
|
148
148
|
var(--colorNeutralBackground6) 0%,
|
|
149
149
|
var(--colorTransparentBackground) 50%,
|
|
150
150
|
var(--colorNeutralBackground6) 100%
|
|
151
|
-
);}`,".fwd2bol{animation-name:f1keuaan;}",".f14gig94{animation-name:f10x8f8u;}",".f1a27w2r{animation-duration:3s;}",".f452v7t{animation-timing-function:linear;}",".f1cpbl36{animation-iteration-count:infinite;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}"],k:["@keyframes f1keuaan{0%{left:-33%;}100%{left:100%;}}","@keyframes f10x8f8u{0%{right:-33%;}100%{right:100%;}}","@keyframes ftc26vs{0%{opacity:.2;}50%{opacity:1;}100%{opacity:.2;}}"]}),rl=(a)=>{let{color:l,max:c,shape:o,thickness:r,value:e}=a,h=kG(),Z=yG();if(a.root.className=S(ol.root,h.root,h[o],h[r],a.root.className),a.bar)a.bar.className=S(ol.bar,Z.base,Z.brand,e===void 0&&Z.indeterminate,e!==void 0&&e>BG&&Z.nonZeroDeterminate,l&&e!==void 0&&Z[l],a.bar.className);if(a.bar&&e!==void 0)a.bar.style={width:Math.min(100,Math.max(0,e/c*100))+"%",...a.bar.style};return a};var P7=/*@__PURE__*/z((a,l)=>{let c=ll(a,l);return rl(c),I("useProgressBarStyles_unstable")(c),cl(c)});P7.displayName="ProgressBar";var ru=Z2(void 0);var el=(a,l)=>{let{size:c="medium"}=a,o=eu(a,l),r=PG();return{size:c,...o,root:{...o.root,...r}}},eu=(a,l)=>{let{vertical:c=!1}=a,o={vertical:c,components:{root:"div"},root:U.always(o1("div",{role:"toolbar",ref:l,...c&&{"aria-orientation":"vertical"},...a}),{elementType:"div"})},[r,e]=OG({checkedValues:a.checkedValues,defaultCheckedValues:a.defaultCheckedValues,onCheckedValueChange:a.onCheckedValueChange}),h=Y((t,i,n,v)=>{if(i&&n){let M=[...(r===null||r===void 0?void 0:r[i])||[]];if(v)M.splice(M.indexOf(n),1);else M.push(n);e===null||e===void 0||e(t,{name:i,checkedItems:M})}}),Z=Y((t,i,n,v)=>{if(i&&n)e===null||e===void 0||e(t,{name:i,checkedItems:[n]})});return{...o,handleToggleButton:h,handleRadio:Z,checkedValues:r!==null&&r!==void 0?r:{}}},OG=(a)=>{let[l,c]=q0({state:a.checkedValues,defaultState:a.defaultCheckedValues,initialState:{}}),{onCheckedValueChange:o}=a,r=Y((e,{name:h,checkedItems:Z})=>{if(o)o(e,{name:h,checkedItems:Z});c((t)=>{return t?{...t,[h]:Z}:{[h]:Z}})});return[l,r]},PG=()=>{return ia({circular:!0,axis:"both"})};var hl=(a,l)=>{return J(a),/*@__PURE__*/g(ru.Provider,{value:l.toolbar,children:/*@__PURE__*/g(a.root,{children:a.root.children})})};var Pr={root:"fui-Toolbar"},TG=/*@__PURE__*/D({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},vertical:{Beiy3e4:"f1vx9l62",a9b677:"f1acs6jw"},small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fvz760z"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ms6bdn"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",[".f1yqiaad{padding:4px 8px;}",{p:-1}],".f1vx9l62{flex-direction:column;}",".f1acs6jw{width:fit-content;}",[".fvz760z{padding:0px 4px;}",{p:-1}],[".f1yqiaad{padding:4px 8px;}",{p:-1}],[".f1ms6bdn{padding:4px 20px;}",{p:-1}]]}),Zl=(a)=>{let l=TG(),{vertical:c,size:o}=a;return a.root.className=S(Pr.root,l.root,c&&l.vertical,o==="small"&&!c&&l.small,o==="medium"&&!c&&l.medium,o==="large"&&!c&&l.large,a.root.className),a};function Tr(a){let{size:l,handleToggleButton:c,vertical:o,checkedValues:r,handleRadio:e}=a;return{toolbar:{size:l,vertical:o,handleToggleButton:c,handleRadio:e,checkedValues:r}}}var H4=/*@__PURE__*/z((a,l)=>{let c=el(a,l),o=Tr(c);return Zl(c),I("useToolbarStyles_unstable")(c),hl(c,o)});H4.displayName="Toolbar";var qG=/*@__PURE__*/D({vertical:{Beiy3e4:"f1vx9l62"},verticalIcon:{Be2twd7:"f1rt2boy",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao"}},{d:[".f1vx9l62{flex-direction:column;}",".f1rt2boy{font-size:24px;}",[".f1s184ao{margin:0;}",{p:-1}]]}),tl=(a)=>{let l=qG();if(a.root.className=S(a.vertical&&l.vertical,a.root.className),a.icon)a.icon.className=S(a.vertical&&l.verticalIcon,a.icon.className);n3(a)};var il=(a,l)=>{return{appearance:"subtle",size:"medium",shape:"rounded",...hu(a,l)}},hu=(a,l)=>{let{vertical:c=!1,...o}=a,r=i3({appearance:"subtle",...o,size:"medium"},l);return{vertical:c,...r}};var H2=/*@__PURE__*/z((a,l)=>{let c=il(a,l);return tl(c),I("useToolbarButtonStyles_unstable")(c),Z3(c)});H2.displayName="ToolbarButton";var Zu=e1(void 0),oU={size:"medium",noNativeElements:!1,sortable:!1},tu=Zu.Provider,I5=()=>{var a;return(a=l1(Zu))!==null&&a!==void 0?a:oU};var vl=(a,l)=>{let{noNativeElements:c,size:o}=I5();var r;let e=((r=a.as)!==null&&r!==void 0?r:c)?"div":"td";return{components:{root:e},root:U.always(o1(e,{ref:l,role:e==="div"?"cell":void 0,...a}),{elementType:e}),noNativeElements:c,size:o}};var nl=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var Er="fui-TableCell",qr={root:Er},rU=/*@__PURE__*/D({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"},medium:{Bqenvij:"f1ft4266"},small:{Bqenvij:"fbsu25e"},"extra-small":{Bqenvij:"frvgh55"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}",".f1ft4266{height:44px;}",".fbsu25e{height:34px;}",".frvgh55{height:24px;}"]}),eU=/*@__PURE__*/D({root:{mc9l5x:"f22iagw",Bf4jedk:"f10tiqix",Bt984gj:"f122n59",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},medium:{sshi5w:"f5pgtk9"},small:{sshi5w:"fcep9tg"},"extra-small":{sshi5w:"f1pha7fy"}},{d:[".f22iagw{display:flex;}",".f10tiqix{min-width:0px;}",".f122n59{align-items:center;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f5pgtk9{min-height:44px;}",".fcep9tg{min-height:34px;}",".f1pha7fy{min-height:24px;}"]}),hU=/*@__PURE__*/D({root:{qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"}},{d:[".f10pi13n{position:relative;}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}]]}),dl=(a)=>{let l=hU(),c={table:rU(),flex:eU()};return a.root.className=S(qr.root,l.root,a.noNativeElements?c.flex.root:c.table.root,a.noNativeElements?c.flex[a.size]:c.table[a.size],a.root.className),a};var l7=/*@__PURE__*/z((a,l)=>{let c=vl(a,l);return dl(c),I("useTableCellStyles_unstable")(c),nl(c)});l7.displayName="TableCell";var iu=e1(void 0),ZU="",vu=iu.Provider,nu=()=>l1(iu)===ZU;var Ml=(a,l)=>{let{noNativeElements:c,size:o}=I5();var r;let e=((r=a.as)!==null&&r!==void 0?r:c)?"div":"tr",h=w7(),Z=o2(),t=nu();var i;return{components:{root:e},root:U.always(o1(e,{ref:g1(l,h,Z),role:e==="div"?"row":void 0,...a}),{elementType:e}),size:o,noNativeElements:c,appearance:(i=a.appearance)!==null&&i!==void 0?i:"none",isHeaderRow:t}};var pl=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var Wr="fui-TableRow",br={root:Wr},tU=/*@__PURE__*/D({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),iU=/*@__PURE__*/D({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),vU=/*@__PURE__*/D({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bconypa:"f1jazu75",B6guboy:"f1xeqee6",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",i921ia:"fjbbrdp",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ff6mpl:"fw60kww",Bahaeuw:"f1v3eptx",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"]},medium:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},small:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},"extra-small":{Be2twd7:"fy9rknc"},brand:{De3pzq:"f16xkysk",g2u3we:"f1bh3yvw",h3c5rm:["fmi79ni","f11fozsx"],B9xav0g:"fnzw4c6",zhjwy3:["f11fozsx","fmi79ni"],ecr2s2:"f7tkmfy",lj723h:"f1r2dosr",wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq"},neutral:{wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq",De3pzq:"fq5gl1p",sj55zd:"f1cgsbmv",ecr2s2:"fa9o754",g2u3we:"frmsihh",h3c5rm:["frttxa5","f11o2r7f"],B9xav0g:"fem5et0",zhjwy3:["f11o2r7f","frttxa5"]},none:{}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".fjbbrdp:active .fui-TableSelectionCell{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],h:[".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"],m:[["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1msmgpi{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbo0xvd{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjuvmhu{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kvufhq:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),_l=(a)=>{let l=vU(),c={table:tU(),flex:iU()};return a.root.className=S(br.root,l.root,!a.isHeaderRow&&l.rootInteractive,l[a.size],a.noNativeElements?c.flex.root:c.table.root,l[a.appearance],a.root.className),a};var F3=/*@__PURE__*/z((a,l)=>{let c=Ml(a,l);return _l(c),I("useTableRowStyles_unstable")(c),pl(c)});F3.displayName="TableRow";var Al=(a,l)=>{let{noNativeElements:c}=I5();var o;let r=((o=a.as)!==null&&o!==void 0?o:c)?"div":"tbody";return{components:{root:r},root:U.always(o1(r,{ref:l,role:r==="div"?"rowgroup":void 0,...a}),{elementType:r}),noNativeElements:c}};var ml=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var nU=/*@__PURE__*/D({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),dU=/*@__PURE__*/D({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),zr="fui-TableBody";var Hl=(a)=>{let l={table:nU(),flex:dU()};return a.root.className=S(zr,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var u4=/*@__PURE__*/z((a,l)=>{let c=Al(a,l);return Hl(c),I("useTableBodyStyles_unstable")(c),ml(c)});u4.displayName="TableBody";var ul=(a,l)=>{var c;let o=((c=a.as)!==null&&c!==void 0?c:a.noNativeElements)?"div":"table";var r,e,h;return{components:{root:o},root:U.always(o1(o,{ref:l,role:o==="div"?"table":void 0,...a}),{elementType:o}),size:(r=a.size)!==null&&r!==void 0?r:"medium",noNativeElements:(e=a.noNativeElements)!==null&&e!==void 0?e:!1,sortable:(h=a.sortable)!==null&&h!==void 0?h:!1}};var sl=(a,l)=>{return J(a),/*@__PURE__*/g(tu,{value:l.table,children:/*@__PURE__*/g(a.root,{})})};var Qr="fui-Table";var MU=/*@__PURE__*/D({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),pU=/*@__PURE__*/D({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),_U=/*@__PURE__*/D({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),Vl=(a)=>{let l=_U(),c={table:MU(),flex:pU()};return a.root.className=S(Qr,l.root,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a};function Mu(a){let{size:l,noNativeElements:c,sortable:o}=a;return{table:v1(()=>({noNativeElements:c,size:l,sortable:o}),[c,l,o])}}var s4=/*@__PURE__*/z((a,l)=>{let c=ul(a,l);return Vl(c),I("useTableStyles_unstable")(c),sl(c,Mu(c))});s4.displayName="Table";var fl=(a,l)=>{let{noNativeElements:c}=I5();var o;let r=((o=a.as)!==null&&o!==void 0?o:c)?"div":"thead";return{components:{root:r},root:U.always(o1(r,{ref:l,role:r==="div"?"rowgroup":void 0,...a}),{elementType:r}),noNativeElements:c}};var Fl=(a)=>{return J(a),/*@__PURE__*/g(vu,{value:"",children:/*@__PURE__*/g(a.root,{})})};var Jr="fui-TableHeader";var AU=/*@__PURE__*/D({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),mU=/*@__PURE__*/D({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),xl=(a)=>{let l={table:mU(),flex:AU()};return a.root.className=S(Jr,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var V4=/*@__PURE__*/z((a,l)=>{let c=fl(a,l);return xl(c),I("useTableHeaderStyles_unstable")(c),Fl(c)});V4.displayName="TableHeader";var HU={ascending:/*@__PURE__*/c1(zA,{fontSize:12}),descending:/*@__PURE__*/c1(bA,{fontSize:12})},gl=(a,l)=>{let{noNativeElements:c,sortable:o}=I5(),{sortable:r=o}=a;var e;let h=((e=a.as)!==null&&e!==void 0?e:c)?"div":"th",Z=U.always(a.button,{elementType:"div",defaultProps:{as:"div"}}),t=h2(Z.as,Z);var i;return{components:{root:h,button:"div",sortIcon:"span",aside:"span"},root:U.always(o1(h,{ref:g1(l,o2()),role:h==="div"?"columnheader":void 0,"aria-sort":r?(i=a.sortDirection)!==null&&i!==void 0?i:"none":void 0,...a}),{elementType:h}),aside:U.optional(a.aside,{elementType:"span"}),sortIcon:U.optional(a.sortIcon,{renderByDefault:!!a.sortDirection,defaultProps:{children:a.sortDirection?HU[a.sortDirection]:void 0},elementType:"span"}),button:r?t:Z,sortable:r,noNativeElements:c}};var Ll=(a)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[/*@__PURE__*/_1(a.button,{children:[a.root.children,a.sortIcon&&/*@__PURE__*/g(a.sortIcon,{})]}),a.aside&&/*@__PURE__*/g(a.aside,{})]})};var f4={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},uU=/*@__PURE__*/D({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),sU=/*@__PURE__*/D({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"f10tiqix"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f10tiqix{min-width:0px;}"]}),VU=/*@__PURE__*/D({root:{Bhrd7zp:"figsok6",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",robkg1:0,Bmvh20x:0,B3nxjsc:0,Bmkhcsx:"f14ym4q2",B8osjzx:0,pehzd3:0,Blsv9te:0,u7xebq:0,Bsvwmf7:"f1euou18",qhf8xq:"f10pi13n"},rootInteractive:{Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",lj723h:"f1g4hkjv",ecr2s2:"f1wfn5kd"},resetButton:{B3rzk8w:"fq6nmtn",B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",fsow6f:"fgusgyc"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",mc9l5x:"f22iagw",Bh6795r:0,Bqenvij:"f1l02sjl",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"fkln5zr",sshi5w:"f1nxs5xn",xawz:0,Bnnss6s:0,fkmc3a:"f1izfyrr",oeaueh:"f1s6fcnf"},sortable:{Bceei9c:"f1k6fduh"},sortIcon:{mc9l5x:"f22iagw",Bt984gj:"f122n59",z8tnut:"fclwglc"},resizeHandle:{}},{d:[".figsok6{font-weight:var(--fontWeightRegular);}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f14ym4q2[data-fui-focus-within]:focus-within{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f1euou18[data-fui-focus-within]:focus-within{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f10pi13n{position:relative;}",".fq6nmtn{resize:horizontal;}",".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".f3bhgqh{border:none;}",{p:-2}],".fgusgyc{text-align:unset;}",".fly5x3f{width:100%;}",".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f1l02sjl{height:100%;}",".f122n59{align-items:center;}",[".fkln5zr{gap:var(--spacingHorizontalXS);}",{p:-1}],".f1nxs5xn{min-height:32px;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1s6fcnf{outline-style:none;}",".f1k6fduh{cursor:pointer;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}"],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}"],a:[".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),Cl=(a)=>{let l=VU(),c={table:uU(),flex:sU()};if(a.root.className=S(f4.root,l.root,a.sortable&&l.rootInteractive,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a.button.className=S(f4.button,l.resetButton,l.button,a.sortable&&l.sortable,a.button.className),a.sortIcon)a.sortIcon.className=S(f4.sortIcon,l.sortIcon,a.sortIcon.className);if(a.aside)a.aside.className=S(f4.aside,l.resizeHandle,a.aside.className);return a};var F4=/*@__PURE__*/z((a,l)=>{let c=gl(a,l);return Cl(c),I("useTableHeaderCellStyles_unstable")(c),Ll(c)});F4.displayName="TableHeaderCell";var fU={medium:32,small:24,"extra-small":20},Rl=(a,l)=>{let{size:c}=I5();return{components:{root:"div",main:"span",description:"span",content:"div",media:"span"},root:U.always(o1("div",{ref:l,...a},["content"]),{elementType:"div"}),appearance:a.appearance,truncate:a.truncate,main:U.optional(a.main,{renderByDefault:!0,elementType:"span"}),media:U.optional(a.media,{elementType:"span"}),description:U.optional(a.description,{elementType:"span"}),content:U.optional(a.content,{renderByDefault:!!a.description||!!a.children,elementType:"div"}),avatarSize:fU[c],size:c}};var FU=e1(void 0);var Ir=FU.Provider;var wl=(a,l)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[a.media&&/*@__PURE__*/g(Ir,{value:l.avatar,children:/*@__PURE__*/g(a.media,{})}),a.content&&/*@__PURE__*/_1(a.content,{children:[a.main&&/*@__PURE__*/g(a.main,{children:a.root.children}),a.description&&/*@__PURE__*/g(a.description,{})]})]})};var x3={root:"fui-TableCellLayout",media:"fui-TableCellLayout__media",main:"fui-TableCellLayout__main",description:"fui-TableCellLayout__description",content:"fui-TableCellLayout__content"},gU=/*@__PURE__*/D({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"faqewft",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},rootTruncate:{B68tc82:"f1p9o1ba"},content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},contentTruncate:{B68tc82:"f1p9o1ba"},media:{mc9l5x:"f22iagw",Bt984gj:"f122n59"},mediaExtraSmall:{Be2twd7:"f4ybsrx"},mediaSmallAndMedium:{Be2twd7:"fe5j1ua"},mediaPrimary:{Be2twd7:"f1rt2boy"},mainPrimary:{Bhrd7zp:"fl43uef"},mainTruncate:{B68tc82:"f1p9o1ba",Huce71:"fz5stix",ygn44y:"f1cmbuwj"},description:{sj55zd:"fkfq4zb",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",[".faqewft{gap:var(--spacingHorizontalS);}",{p:-1}],[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1p9o1ba{overflow-x:hidden;}",".f1vx9l62{flex-direction:column;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fz5stix{white-space:nowrap;}",".f1cmbuwj{text-overflow:ellipsis;}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),Sl=(a)=>{let l=gU(),{truncate:c}=a;a.root.className=S(x3.root,l.root,c&&l.rootTruncate,a.root.className);let o=a.appearance==="primary";if(a.media){let r={small:l.mediaSmallAndMedium,medium:l.mediaSmallAndMedium,"extra-small":l.mediaExtraSmall};a.media.className=S(x3.media,l.media,r[a.size],o&&l.mediaPrimary,a.media.className)}if(a.main)a.main.className=S(x3.main,c&&l.mainTruncate,o&&l.mainPrimary,a.main.className);if(a.description)a.description.className=S(x3.description,l.description,a.description.className);if(a.content)a.content.className=S(x3.content,l.content,c&&l.contentTruncate,a.content.className);return a};function mu(a){let{avatarSize:l}=a;return{avatar:v1(()=>({size:l}),[l])}}var c7=/*@__PURE__*/z((a,l)=>{let c=Rl(a,l);return Sl(c),I("useTableCellLayoutStyles_unstable")(c),wl(c,mu(c))});c7.displayName="TableCellLayout";var x0={show:"fui-toast-show",dismiss:"fui-toast-dismiss",dismissAll:"fui-toast-dismiss-all",update:"fui-toast-update",pause:"fui-toast-pause",play:"fui-toast-play"},v5={bottom:"bottom",bottomEnd:"bottom-end",bottomStart:"bottom-start",top:"top",topEnd:"top-end",topStart:"top-start"};var TD=0;function ui(a,l={},c){var o;let r={...l,content:a,toastId:(o=l.toastId)!==null&&o!==void 0?o:(TD++).toString()},e=new CustomEvent(x0.show,{bubbles:!1,cancelable:!1,detail:r});c.dispatchEvent(e)}function si(a,l=void 0,c){let o=new CustomEvent(x0.dismiss,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}function Vi(a=void 0,l){let c=new CustomEvent(x0.dismissAll,{bubbles:!1,cancelable:!1,detail:{toasterId:a}});l.dispatchEvent(c)}function fi(a,l){let c=new CustomEvent(x0.update,{bubbles:!1,cancelable:!1,detail:a});l.dispatchEvent(c)}function Fi(a,l=void 0,c){let o=new CustomEvent(x0.pause,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}function xi(a,l=void 0,c){let o=new CustomEvent(x0.play,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}function Hu(a,l){for(let[c,o]of Object.entries(l))if(o!=null)a[c]=o}var ED={onStatusChange:void 0,priority:0,pauseOnHover:!1,pauseOnWindowBlur:!1,position:"bottom-end",timeout:3000},qD=0;function gi(a){let{limit:l=Number.POSITIVE_INFINITY}=a,c=/*@__PURE__*/new Set,o=/*@__PURE__*/new Map,r=v6((n,v)=>{let d=o.get(n),M=o.get(v);if(!d||!M)return 0;if(d.priority===M.priority)return d.order-M.order;return d.priority-M.priority});return{buildToast:(n,v)=>{var d;let{toastId:M,content:_,toasterId:p}=n;if(o.has(M))return;let u={...ED,close:()=>{var V;let s=o.get(M);if(!s)return;c.delete(M),v(),(V=s.onStatusChange)===null||V===void 0||V.call(s,null,{status:"dismissed",...s})},remove:()=>{if(!o.get(M))return;if(o.delete(M),c.size<l&&r.peek()){let s=o.get(r.dequeue());if(!s)return;c.add(s.toastId)}v()},toastId:M,content:_,updateId:0,toasterId:p,order:qD++,data:{},imperativeRef:h5()};if(Hu(u,a),Hu(u,n),o.set(M,u),(d=u.onStatusChange)===null||d===void 0||d.call(u,null,{status:"queued",...u}),c.size>=l)r.enqueue(M);else c.add(M)},dismissAllToasts:()=>{c.clear(),r.clear()},dismissToast:(n)=>{c.delete(n)},isToastVisible:(n)=>{return c.has(n)},updateToast:(n)=>{let{toastId:v}=n,d=o.get(v);if(!d)return;Object.assign(d,n),d.updateId++},visibleToasts:c,toasts:o}}var T7=(a,l,c)=>{let o={};var r;let e=c?WD(c)?c:(r=c[a])!==null&&r!==void 0?r:{}:{},h=a==="top"||a==="bottom",{horizontal:Z=h?0:20,vertical:t=16}=e,i=l==="ltr"?"left":"right",n=l==="ltr"?"right":"left";switch(a){case"top":Object.assign(o,{top:t,left:`calc(50% + ${Z}px)`,transform:"translateX(-50%)"});break;case"bottom":Object.assign(o,{bottom:t,left:`calc(50% + ${Z}px)`,transform:"translateX(-50%)"});break;case"top-start":Object.assign(o,{top:t,[i]:Z});break;case"top-end":Object.assign(o,{top:t,[n]:Z});break;case"bottom-start":Object.assign(o,{bottom:t,[i]:Z});break;case"bottom-end":Object.assign(o,{bottom:t,[n]:Z});break}return o};function WD(a){return"horizontal"in a||"vertical"in a}function Li(a={}){let l=t6(),{toasterId:c,shortcuts:o}=a,[r]=h1(()=>gi(a)),{targetDocument:e}=M1(),h=y(null),Z=Y((p)=>{return p===c}),t=Y((p)=>{if(o===null||o===void 0?void 0:o.focus)return o.focus(p)}),i=Q(()=>{r.visibleToasts.forEach((p)=>{var A;let m=r.toasts.get(p);m===null||m===void 0||(A=m.imperativeRef.current)===null||A===void 0||A.pause()})},[r]),n=Q(()=>{r.visibleToasts.forEach((p)=>{var A;let m=r.toasts.get(p);m===null||m===void 0||(A=m.imperativeRef.current)===null||A===void 0||A.play()})},[r]),v=Q(()=>{return Array.from(r.visibleToasts).reduce((p,A)=>{let m=r.toasts.get(A);if(!m)return p;if(!p)return m;if(p.order<(m===null||m===void 0?void 0:m.order))return m;return p},void 0)},[r]),d=Q(()=>{let p=v();if(p===null||p===void 0?void 0:p.imperativeRef.current)p.imperativeRef.current.focus();else{var A;(A=h.current)===null||A===void 0||A.focus(),h.current=null}},[v]),M=Q(()=>{r.visibleToasts.forEach((p)=>{let A=r.toasts.get(p);A===null||A===void 0||A.close()}),d()},[r,d]);X(()=>{if(!e)return;let p=(R,w)=>{let x=(B)=>{if(!Z(B.detail.toasterId))return;w(B),l()};return e.addEventListener(R,x),()=>e.removeEventListener(R,x)},A=(R)=>{r.buildToast(R.detail,l)},m=(R)=>{r.dismissToast(R.detail.toastId)},u=(R)=>{r.updateToast(R.detail)},V=(R)=>{r.dismissAllToasts()},s=(R)=>{let w=r.toasts.get(R.detail.toastId);if(w){var x;(x=w.imperativeRef.current)===null||x===void 0||x.pause()}},F=(R)=>{let w=r.toasts.get(R.detail.toastId);if(w){var x;(x=w.imperativeRef.current)===null||x===void 0||x.play()}},L=p(x0.show,A),C=p(x0.update,u),P=p(x0.dismiss,m),W=p(x0.dismissAll,V),r1=p(x0.pause,s),t1=p(x0.play,F),N=(R)=>{if(t(R)){i();let x=v();if(x){var w;h.current=G1(e.activeElement)?e.activeElement:null,(w=x.imperativeRef.current)===null||w===void 0||w.focus()}}};return e.addEventListener("keydown",N),()=>{L(),W(),C(),P(),r1(),t1(),e.removeEventListener("keydown",N)}},[r,l,e,Z,i,v,t]);let _=(()=>{if(!r)return/*@__PURE__*/new Map;let p=/*@__PURE__*/new Map;return Array.from(r.toasts.values()).forEach((m)=>{let{position:u}=m;if(p.has(u)||p.set(u,[]),u.startsWith("bottom"))p.get(u).push(m);else p.get(u).unshift(m)}),p})();return{isToastVisible:r.isToastVisible,toastsToRender:_,pauseAllToasts:i,playAllToasts:n,tryRestoreFocus:d,closeAllToasts:M}}var b6=()=>{return};function x4(a){let{targetDocument:l}=M1();return v1(()=>{if(!l)return{dispatchToast:b6,dismissToast:b6,dismissAllToasts:b6,updateToast:b6,pauseToast:b6,playToast:b6};return{dispatchToast:(c,o)=>{ui(c,{...o,toasterId:a,data:{root:o===null||o===void 0?void 0:o.root}},l)},dismissToast:(c)=>{si(c,a,l)},dismissAllToasts:()=>{Vi(a,l)},updateToast:(c)=>{fi({...c,data:{root:c.root},toasterId:a},l)},pauseToast:(c)=>{Fi(c,a,l)},playToast:(c)=>{xi(c,a,l)}}},[l,a])}var uu=/*@__PURE__*/j("r16zaflb","r75casi",[".r16zaflb{animation-name:rsacmq1;}","@keyframes rsacmq1{from{opacity:0;}to{opacity:0;}}",".r75casi{animation-name:rsacmq1;}"]);var $r=/*@__PURE__*/z((a,l)=>{let c=uu(),{running:o,timeout:r,onTimeout:e}=a,h={animationDuration:`${r}ms`,animationPlayState:o?"running":"paused"};if(r<0)return null;return/*@__PURE__*/c1("span",{onAnimationEnd:e,"data-timer-status":h.animationPlayState,ref:l,style:h,className:c})});$r.displayName="Timer";var bD={success:"assertive",warning:"assertive",error:"assertive",info:"polite"},su=(a,l)=>{let{visible:c,children:o,close:r,remove:e,updateId:h,announce:Z,data:t,timeout:i,politeness:n,intent:v="info",pauseOnHover:d,pauseOnWindowBlur:M,imperativeRef:_,tryRestoreFocus:p,content:A,...m}=a,u=J1("toast-title"),V=J1("toast-body"),s=y(null),{targetDocument:F}=M1(),[L,C]=h1(!1),P=y(!1),W=y(!1),r1=$3({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Tab:!0,Escape:!0,Enter:!0}}),t1=Y(()=>{var T;let O=F===null||F===void 0?void 0:F.activeElement;if(O&&((T=s.current)===null||T===void 0?void 0:T.contains(O)))W.current=!0;r()}),N=Y((T)=>{var O;return(O=a.onStatusChange)===null||O===void 0?void 0:O.call(a,null,{status:T,...a})}),R=Y(()=>C(!1)),w=Y(()=>{var T;if(P.current)return;var O;let F1=!!((T=s.current)===null||T===void 0?void 0:T.contains((O=F===null||F===void 0?void 0:F.activeElement)!==null&&O!==void 0?O:null));if(i<0){C(!0);return}if(!F1)C(!0)});Y0(_,()=>({focus:()=>{if(!s.current)return;s.current.focus()},play:()=>{P.current=!1,w()},pause:()=>{P.current=!0,R()}})),X(()=>{return()=>N("unmounted")},[N]),X(()=>{if(!F)return;if(M){var T,O;return(T=F.defaultView)===null||T===void 0||T.addEventListener("focus",w),(O=F.defaultView)===null||O===void 0||O.addEventListener("blur",R),()=>{var F1,R1;(F1=F.defaultView)===null||F1===void 0||F1.removeEventListener("focus",w),(R1=F.defaultView)===null||R1===void 0||R1.removeEventListener("blur",R)}}},[F,R,w,M]);let x=t.root,B=Q((T,{direction:O})=>{if(O==="exit")e();if(O==="enter")w(),N("visible")},[N,w,e]),k=Y((T)=>{var O;R(),x===null||x===void 0||(O=x.onMouseEnter)===null||O===void 0||O.call(x,T)}),$=Y((T)=>{var O;w(),x===null||x===void 0||(O=x.onMouseEnter)===null||O===void 0||O.call(x,T)}),{findFirstFocusable:E,findLastFocusable:d1}=R7(),s1=Y((T)=>{var O;if(T.key===st)T.preventDefault(),t1();if(T.key===ga&&T.currentTarget===T.target)if(T.preventDefault(),T.shiftKey){var F1;(F1=d1(T.currentTarget))===null||F1===void 0||F1.focus()}else{var R1;(R1=E(T.currentTarget))===null||R1===void 0||R1.focus()}x===null||x===void 0||(O=x.onKeyDown)===null||O===void 0||O.call(x,T)});return X(()=>{var T;if(!c)return;let O=n!==null&&n!==void 0?n:bD[v];var F1;Z((F1=(T=s.current)===null||T===void 0?void 0:T.textContent)!==null&&F1!==void 0?F1:"",{politeness:O})},[Z,n,s,c,h,v]),X(()=>{return()=>{if(W.current)W.current=!1,p()}},[p]),{components:{timer:$r,root:"div"},timer:U.always({onTimeout:t1,running:L,timeout:i!==null&&i!==void 0?i:-1},{elementType:$r}),root:U.always(o1("div",{ref:g1(l,s),children:o,tabIndex:0,role:"listitem","aria-labelledby":u,"aria-describedby":V,...m,...x,...r1,onMouseEnter:k,onMouseLeave:$,onKeyDown:s1}),{elementType:"div"}),timerTimeout:i,transitionTimeout:0,running:L,visible:c,remove:e,close:t1,onTransitionEntering:()=>{},updateId:h,nodeRef:s,intent:v,titleId:u,bodyId:V,onMotionFinish:B}};var zD={close:()=>null,intent:void 0,bodyId:"",titleId:""},Vu=/*@__PURE__*/e1(void 0),fu=Vu.Provider,Yr=()=>{var a;return(a=l1(Vu))!==null&&a!==void 0?a:zD};var Fu=(a,l)=>{let{onMotionFinish:c,visible:o,updateId:r}=a;return J(a),/*@__PURE__*/g(fu,{value:l.toast,children:/*@__PURE__*/g(wr,{appear:!0,onMotionFinish:c,visible:o,unmountOnExit:!0,children:/*@__PURE__*/_1(a.root,{children:[a.root.children,/*@__PURE__*/g(a.timer,{},r)]})})})};var Xr={root:"fui-ToastContainer",timer:"fui-ToastContainer__timer"},QD=/*@__PURE__*/j("r98b696",null,[".r98b696{box-sizing:border-box;margin-top:16px;pointer-events:all;border-radius:var(--borderRadiusMedium);}",".r98b696[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"]),Ci=(a)=>{let l=QD();return a.root.className=S(Xr.root,l,a.root.className),a};function xu(a){let{close:l,intent:c,titleId:o,bodyId:r}=a;return{toast:v1(()=>({close:l,intent:c,titleId:o,bodyId:r}),[l,c,o,r])}}var Kr=/*@__PURE__*/z((a,l)=>{let c=su(a,l);return Ci(c),I("useToastContainerStyles_unstable")(c),Fu(c,xu(c))});Kr.displayName="ToastContainer";var gu=()=>{return};function Lu(a,l){let{targetDocument:c}=M1(),o=y(gu);return Q((r)=>{if(!r||!c){o.current(),o.current=gu;return}let e=c.createTreeWalker(r,NodeFilter.SHOW_ELEMENT,{acceptNode(i){if(G1(i)&&i.classList.contains(Xr.root))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}}),h=(i)=>{let{target:n,key:v}=i;if(!G1(n))return;if(v===V6){e.currentNode=n;let d=e.nextNode();if(!d)e.currentNode=r,d=e.nextNode();if(G1(d))d.focus()}if(v===j3){e.currentNode=n;let d=e.previousNode();if(d&&d.contains(n))d=e.previousNode();if(!d)e.currentNode=r,d=e.lastChild();if(G1(d))d.focus()}},Z=(i)=>{if(G1(i.currentTarget)&&!i.currentTarget.contains(G1(i.relatedTarget)?i.relatedTarget:null))a()},t=(i)=>{if(G1(i.currentTarget)&&!i.currentTarget.contains(G1(i.relatedTarget)?i.relatedTarget:null))l()};r.addEventListener("keydown",h),r.addEventListener("focusin",Z),r.addEventListener("focusout",t),o.current=()=>{r.removeEventListener("keydown",h),r.removeEventListener("focusin",Z),r.removeEventListener("focusout",t)}},[c,a,l])}function Cu(a){let l=y(!0),c=y(()=>{return}),o=Q((e,h)=>{if(l.current)a(e,h)},[a]),r=Q((e)=>{if(!e){c.current();return}let h=(t)=>{if(G1(t.currentTarget)&&t.currentTarget.contains(G1(t.relatedTarget)?t.relatedTarget:null))return;l.current=!1},Z=(t)=>{if(G1(t.currentTarget)&&t.currentTarget.contains(G1(t.relatedTarget)?t.relatedTarget:null))return;l.current=!0};e.addEventListener("focusin",h),e.addEventListener("focusout",Z),c.current=()=>{e.removeEventListener("focusin",h),e.removeEventListener("focusout",Z)}},[]);return{announceToast:o,toasterRef:r}}var Gl=(a)=>{let{offset:l,announce:c,mountNode:o,inline:r=!1,...e}=a,h=y(()=>null),{toastsToRender:Z,isToastVisible:t,pauseAllToasts:i,playAllToasts:n,tryRestoreFocus:v,closeAllToasts:d}=Li(e),M=Q((s,F)=>h.current(s,F),[]),{dir:_}=M1(),{onKeyDown:p,...A}=U.always(o1("div",e),{elementType:"div"}),m=$3({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Escape:!0}}),u=Y((s)=>{if(s.key===U7)s.preventDefault(),d();p===null||p===void 0||p(s)}),V=(s)=>{var F;let L=Lu(i,n),{announceToast:C,toasterRef:P}=Cu(c!==null&&c!==void 0?c:M);return U.optional(Z.has(s)?A:null,{defaultProps:{ref:g1(L,P),children:(F=Z.get(s))===null||F===void 0?void 0:F.map((W)=>/*@__PURE__*/c1(Kr,{...W,tryRestoreFocus:v,intent:W.intent,announce:C,key:W.toastId,visible:t(W.toastId)},W.content)),onKeyDown:u,...m,"data-toaster-position":s,role:"list"},elementType:"div"})};return{dir:_,mountNode:o,components:{root:"div",bottomStart:"div",bottomEnd:"div",topStart:"div",topEnd:"div",top:"div",bottom:"div"},root:U.always(A,{elementType:"div"}),bottomStart:V(v5.bottomStart),bottomEnd:V(v5.bottomEnd),topStart:V(v5.topStart),topEnd:V(v5.topEnd),top:V(v5.top),bottom:V(v5.bottom),announceRef:h,offset:l,announce:c!==null&&c!==void 0?c:M,renderAriaLive:!c,inline:r}};var JD=500,Ru=(a)=>{let[l,c]=h1(void 0),o=y(0),[r]=h1(()=>v6((n,v)=>{if(n.politeness===v.politeness)return n.createdAt-v.createdAt;return n.politeness==="assertive"?-1:1})),e=Y((n,v)=>{let{politeness:d}=v;if(n===(l===null||l===void 0?void 0:l.message))return;let M={message:n,politeness:d,createdAt:o.current++};if(!l)c(M);else r.enqueue(M)}),[h,Z]=E5();X(()=>{return h(()=>{if(r.peek())c(r.dequeue());else c(void 0)},JD),()=>Z()},[l,r,h,Z]),Y0(a.announceRef,()=>e);let t=(l===null||l===void 0?void 0:l.politeness)==="polite"?l.message:void 0,i=(l===null||l===void 0?void 0:l.politeness)==="assertive"?l.message:void 0;return{components:{assertive:"div",polite:"div"},assertive:U.always(a.assertive,{defaultProps:{"aria-live":"assertive",children:i},elementType:"div"}),polite:U.always(a.polite,{defaultProps:{"aria-live":"polite",children:t},elementType:"div"})}};var wu=(a)=>{return J(a),/*@__PURE__*/_1(i1,{children:[/*@__PURE__*/g(a.assertive,{}),/*@__PURE__*/g(a.polite,{})]})};var Su={assertive:"fui-AriaLive__assertive",polite:"fui-AriaLive__polite"},ID=/*@__PURE__*/j("rrd10u0",null,[".rrd10u0{clip:rect(0px, 0px, 0px, 0px);height:1px;margin:-1px;overflow:hidden;padding:0px;width:1px;position:absolute;}"]),Gu=(a)=>{let l=ID();return a.assertive.className=S(l,Su.assertive,a.assertive.className),a.polite.className=S(l,Su.polite,a.polite.className),a};var jr=(a)=>{let l=Ru(a);return Gu(l),wu(l)};jr.displayName="AriaLive";var Ul=(a)=>{let{announceRef:l,renderAriaLive:c,inline:o,mountNode:r}=a;J(a);let e=!!a.bottomStart||!!a.bottomEnd||!!a.topStart||!!a.topEnd||!!a.top||!!a.bottom,h=c?/*@__PURE__*/g(jr,{announceRef:l}):null,Z=/*@__PURE__*/_1(i1,{children:[a.bottom?/*@__PURE__*/g(a.bottom,{}):null,a.bottomStart?/*@__PURE__*/g(a.bottomStart,{}):null,a.bottomEnd?/*@__PURE__*/g(a.bottomEnd,{}):null,a.topStart?/*@__PURE__*/g(a.topStart,{}):null,a.topEnd?/*@__PURE__*/g(a.topEnd,{}):null,a.top?/*@__PURE__*/g(a.top,{}):null]});if(o)return/*@__PURE__*/_1(i1,{children:[h,e?Z:null]});return/*@__PURE__*/_1(i1,{children:[h,e?/*@__PURE__*/g(v2,{mountNode:r,children:Z}):null]})};var Nr={root:"fui-Toaster"},$D=/*@__PURE__*/j("r3hfdjz",null,[".r3hfdjz{position:fixed;width:292px;pointer-events:none;}"]),YD=/*@__PURE__*/D({inline:{qhf8xq:"f1euv43f"}},{d:[".f1euv43f{position:absolute;}"]}),Dl=(a)=>{let l=$D(),c=YD(),o=S(Nr.root,l,a.inline&&c.inline,a.root.className);if(a.bottomStart){var r;a.bottomStart.className=o;var e;(e=(r=a.bottomStart).style)!==null&&e!==void 0||(r.style={}),Object.assign(a.bottomStart.style,T7(v5.bottomStart,a.dir,a.offset))}if(a.bottomEnd){var h;a.bottomEnd.className=o;var Z;(Z=(h=a.bottomEnd).style)!==null&&Z!==void 0||(h.style={}),Object.assign(a.bottomEnd.style,T7(v5.bottomEnd,a.dir,a.offset))}if(a.topStart){var t;a.topStart.className=o;var i;(i=(t=a.topStart).style)!==null&&i!==void 0||(t.style={}),Object.assign(a.topStart.style,T7(v5.topStart,a.dir,a.offset))}if(a.topEnd){var n;a.topEnd.className=o;var v;(v=(n=a.topEnd).style)!==null&&v!==void 0||(n.style={}),Object.assign(a.topEnd.style,T7(v5.topEnd,a.dir,a.offset))}if(a.top){var d;a.top.className=o;var M;(M=(d=a.top).style)!==null&&M!==void 0||(d.style={}),Object.assign(a.top.style,T7(v5.top,a.dir,a.offset))}if(a.bottom){var _;a.bottom.className=o;var p;(p=(_=a.bottom).style)!==null&&p!==void 0||(_.style={}),Object.assign(a.bottom.style,T7(v5.bottom,a.dir,a.offset))}return a};var g4=(a)=>{let l=Gl(a);return Dl(l),I("useToasterStyles_unstable")(l),Ul(l)};g4.displayName="Toaster";var Bl=(a,l)=>{let{intent:c}=Yr();return{components:{root:"div"},root:U.always(o1("div",{ref:l,...a}),{elementType:"div"}),backgroundAppearance:a.appearance,intent:c}};var kl=(a,l)=>{return J(a),/*@__PURE__*/g(Ro,{value:l.backgroundAppearance,children:/*@__PURE__*/g(a.root,{})})};var Ri={root:"fui-Toast"},XD=/*@__PURE__*/j("rhf7k35",null,[".rhf7k35{display:grid;grid-template-columns:auto 1fr auto;padding:12px;border-radius:var(--borderRadiusMedium);border:1px solid var(--colorTransparentStroke);box-shadow:var(--shadow8);font-size:var(--fontSizeBase300);line-height:20px;font-weight:var(--fontWeightSemibold);color:var(--colorNeutralForeground1);background-color:var(--colorNeutralBackground1);}"]),KD=/*@__PURE__*/D({inverted:{sj55zd:"f1w7i9ko",De3pzq:"f5pduvr"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}"]}),yl=(a)=>{let l=XD(),c=KD();return a.root.className=S(Ri.root,l,a.backgroundAppearance==="inverted"&&c.inverted,a.root.className),a};function Uu(a){let{backgroundAppearance:l}=a;return{backgroundAppearance:l}}var u2=/*@__PURE__*/z((a,l)=>{let c=Bl(a,l);return yl(c),I("useToastStyles_unstable")(c),kl(c,Uu(c))});u2.displayName="Toast";var Ol=(a,l)=>{let{intent:c,titleId:o}=Yr(),r=h6(),e;switch(c){case"success":e=/*@__PURE__*/c1(No,null);break;case"error":e=/*@__PURE__*/c1(ar,null);break;case"warning":e=/*@__PURE__*/c1(Yo,null);break;case"info":e=/*@__PURE__*/c1(Xo,null);break}return{action:U.optional(a.action,{elementType:"div"}),components:{root:"div",media:"div",action:"div"},media:U.optional(a.media,{renderByDefault:!!c,defaultProps:{children:e},elementType:"div"}),root:U.always(o1("div",{ref:l,children:a.children,id:o,...a}),{elementType:"div"}),intent:c,backgroundAppearance:r}};var Pl=(a)=>{return J(a),/*@__PURE__*/_1(i1,{children:[a.media?/*@__PURE__*/g(a.media,{}):null,/*@__PURE__*/g(a.root,{}),a.action?/*@__PURE__*/g(a.action,{}):null]})};var z6={root:"fui-ToastTitle",media:"fui-ToastTitle__media",action:"fui-ToastTitle__action"},jD=/*@__PURE__*/j("rdjap1e",null,[".rdjap1e{display:flex;grid-column-end:3;color:var(--colorNeutralForeground1);word-break:break-word;}"]),ND=/*@__PURE__*/j("r8x5mrd","r1soj19y",[".r8x5mrd{display:flex;padding-top:2px;grid-column-end:2;padding-right:8px;font-size:16px;color:var(--colorNeutralForeground1);}",".r1soj19y{display:flex;padding-top:2px;grid-column-end:2;padding-left:8px;font-size:16px;color:var(--colorNeutralForeground1);}"]),aB=/*@__PURE__*/j("r2j19ip","rjfozdo",[".r2j19ip{display:flex;align-items:start;padding-left:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}",".rjfozdo{display:flex;align-items:start;padding-right:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}"]),lB=/*@__PURE__*/D({root:{sj55zd:"f1w7i9ko"},action:{sj55zd:"f1qz2gb0"},media:{sj55zd:"fqpbvvt"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}"]}),cB=/*@__PURE__*/D({success:{sj55zd:"f36rra6"},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f13isgzr"},info:{sj55zd:"fkfq4zb"}},{d:[".f36rra6{color:var(--colorStatusSuccessForeground1);}",".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f13isgzr{color:var(--colorStatusWarningForeground1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}"]}),oB=/*@__PURE__*/D({success:{sj55zd:"ff3wk4x"},error:{sj55zd:"fbq2gqr"},warning:{sj55zd:"fx6hq1t"},info:{sj55zd:"f1w7i9ko"}},{d:[".ff3wk4x{color:var(--colorStatusSuccessForegroundInverted);}",".fbq2gqr{color:var(--colorStatusDangerForegroundInverted);}",".fx6hq1t{color:var(--colorStatusWarningForegroundInverted);}",".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}"]}),Tl=(a)=>{let l=jD(),c=aB(),o=ND(),r=cB(),e=oB(),{intent:h}=a,Z=lB();if(a.root.className=S(z6.root,l,a.backgroundAppearance==="inverted"&&Z.root,a.root.className),a.media)a.media.className=S(z6.media,o,a.backgroundAppearance==="inverted"&&Z.media,h&&r[h],h&&a.backgroundAppearance==="inverted"&&e[h],a.media.className);if(a.action)a.action.className=S(z6.action,c,a.backgroundAppearance==="inverted"&&Z.action,a.action.className);return a};var s2=/*@__PURE__*/z((a,l)=>{let c=Ol(a,l);return Tl(c),I("useToastTitleStyles_unstable")(c),Pl(c)});s2.displayName="ToastTitle";function Du(a){switch(a){case"info":return/*@__PURE__*/c1(Xo,null);case"warning":return/*@__PURE__*/c1(Yo,null);case"error":return/*@__PURE__*/c1(ar,null);case"success":return/*@__PURE__*/c1(No,null);default:return null}}function Bu(a=!1){let{targetDocument:l}=M1(),c=a2(()=>({}),{})[1],o=y(!1),r=y(null),e=y(-1),h=Q((t)=>{var i,n;if(t.length>1)console.error(["useMessageBarReflow: Resize observer should only have one entry. ","If multiple entries are observed, the first entry will be used.","This is a bug, please report it to the Fluent UI team."].join(" "));let v=t[0];var d;let M=(d=v===null||v===void 0?void 0:(n=v.borderBoxSize)===null||n===void 0?void 0:(i=n[0])===null||i===void 0?void 0:i.inlineSize)!==null&&d!==void 0?d:v===null||v===void 0?void 0:v.target.getBoundingClientRect().width;if(M===void 0||!v)return;let{target:_}=v;if(!G1(_))return;let p;if(o.current){if(e.current<M)p=!1}else{let A=_.scrollWidth;if(M<A)p=!0}if(e.current=M,typeof p<"u"&&o.current!==p)o.current=p,c()},[c]),Z=Q((t)=>{var i;if(!a||!t||!(l===null||l===void 0?void 0:l.defaultView))return;(i=r.current)===null||i===void 0||i.disconnect();let v=new l.defaultView.ResizeObserver(h);r.current=v,v.observe(t,{box:"border-box"})},[l,h,a]);return X(()=>{return()=>{var t;(t=r.current)===null||t===void 0||t.disconnect()}},[]),{ref:Z,reflowing:o.current}}var ku=e1(void 0),mB={className:"",nodeRef:h5()},xs1=ku.Provider,yu=()=>{var a;return(a=l1(ku))!==null&&a!==void 0?a:mB};var El=(a,l)=>{let{layout:c="auto",intent:o="info",politeness:r,shape:e="rounded"}=a,h=(r!==null&&r!==void 0?r:o==="info")?"polite":"assertive",Z=c==="auto",{ref:t,reflowing:i}=Bu(Z),n=Z?i?"multiline":"singleline":c,{className:v,nodeRef:d}=yu(),M=A4(),_=y(null),p=y(null),{announce:A}=la(),m=J1();return X(()=>{var u,V;let s=(u=p.current)===null||u===void 0?void 0:u.textContent,F=(V=_.current)===null||V===void 0?void 0:V.textContent,L=[s,F].filter(Boolean).join(",");A(L,{polite:h==="polite",alert:h==="assertive"})},[p,_,A,h]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:U.always(o1("div",{ref:g1(l,t,d,M),role:"group","aria-labelledby":m,...a}),{elementType:"div"}),icon:U.optional(a.icon,{renderByDefault:!0,elementType:"div",defaultProps:{children:Du(o)}}),bottomReflowSpacer:U.optional(a.bottomReflowSpacer,{renderByDefault:n==="multiline",elementType:"div"}),layout:n,intent:o,transitionClassName:v,actionsRef:_,bodyRef:p,titleId:m,shape:e}};var Ou=e1(void 0),HB={titleId:"",layout:"singleline",actionsRef:h5(),bodyRef:h5()},Pu=Ou.Provider,ae=()=>{var a;return(a=l1(Ou))!==null&&a!==void 0?a:HB};var ql=(a,l)=>{return J(a),/*@__PURE__*/g(Pu,{value:l.messageBar,children:/*@__PURE__*/_1(a.root,{children:[a.icon&&/*@__PURE__*/g(a.icon,{}),a.root.children,a.bottomReflowSpacer&&/*@__PURE__*/g(a.bottomReflowSpacer,{})]})})};var Q6={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},uB=/*@__PURE__*/j("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),sB=/*@__PURE__*/j("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),VB=/*@__PURE__*/j("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),fB=/*@__PURE__*/D({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),FB=/*@__PURE__*/D({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),xB=/*@__PURE__*/D({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),Wl=(a)=>{let l=uB(),c=sB(),o=FB(),r=xB(),e=VB(),h=fB();if(a.root.className=S(Q6.root,l,a.layout==="multiline"&&h.rootMultiline,a.shape==="square"&&h.square,r[a.intent],a.root.className),a.icon)a.icon.className=S(Q6.icon,c,o[a.intent],a.icon.className);if(a.bottomReflowSpacer)a.bottomReflowSpacer.className=S(Q6.bottomReflowSpacer,e);return a};function bl(a){let{layout:l,actionsRef:c,bodyRef:o,titleId:r}=a;return{messageBar:v1(()=>({layout:l,actionsRef:c,bodyRef:o,titleId:r}),[l,c,o,r])}}var E7=/*@__PURE__*/z((a,l)=>{let c=El(a,l);return Wl(c),I("useMessageBarStyles_unstable")(c),ql(c,bl(c))});E7.displayName="MessageBar";var zl=(a,l)=>{let{titleId:c}=ae();return{components:{root:"span"},root:U.always(o1("span",{ref:l,id:c,...a}),{elementType:"span"})}};var Ql=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var le={root:"fui-MessageBarTitle"},gB=/*@__PURE__*/j("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),Jl=(a)=>{let l=gB();return a.root.className=S(le.root,l,a.root.className),a};var L4=/*@__PURE__*/z((a,l)=>{let c=zl(a,l);return Jl(c),I("useMessageBarTitleStyles_unstable")(c),Ql(c)});L4.displayName="MessageBarTitle";var Il=(a,l)=>{let{bodyRef:c}=ae();return{components:{root:"div"},root:U.always(o1("div",{ref:g1(l,c),...a}),{elementType:"div"})}};var $l=(a,l)=>{return J(a),/*@__PURE__*/g(ur,{value:l.link,children:/*@__PURE__*/g(a.root,{})})};var ce={root:"fui-MessageBarBody"},LB=/*@__PURE__*/j("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),Yl=(a)=>{let l=LB();return a.root.className=S(ce.root,l,a.root.className),a};function Tu(a){return{link:v1(()=>({inline:!0}),[])}}var q7=/*@__PURE__*/z((a,l)=>{let c=Il(a,l),o=Tu(c);return Yl(c),I("useMessageBarBodyStyles_unstable")(c),$l(c,o)});q7.displayName="MessageBarBody";var EB={scrollState:"none",setScrollState:()=>({})},Eu=e1(void 0),J6=Eu.Provider,I6=()=>{var a;return(a=l1(Eu))!==null&&a!==void 0?a:EB},$6=()=>{let[a,l]=h1("none");return{setScrollState:l,scrollState:a}};var Y6={drawerSizeVar:"--fui-Drawer--size"},qu={overflow:"hidden",width:`var(${Y6.drawerSizeVar})`,maxWidth:"100vw",height:"auto",maxHeight:"100vh",boxSizing:"border-box",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start",backgroundColor:K1.colorNeutralBackground1,color:K1.colorNeutralForeground1},qB=/*@__PURE__*/D({start:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1xteiwb","fsqykmd"],oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["fvfyk4","frppm18"]},end:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["fsqykmd","f1xteiwb"],j35jbq:["f1e31b4d","f1vgc2s3"],oyh7mz:["frppm18","fvfyk4"]},bottom:{B5kzvoi:"f1yab3r1",Bhzewxz:"f198g47y"},small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"fsdmzs6"}},{d:[[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".fvfyk4{right:auto;}",".frppm18{left:auto;}",[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1yab3r1{bottom:0;}",".f198g47y{top:auto;}",".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".fsdmzs6{--fui-Drawer--size:100vw;}"]}),WB=/*@__PURE__*/D({small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"f1rat34m"}},{d:[".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".f1rat34m{--fui-Drawer--size:100%;}"]}),oe=({position:a,size:l})=>{let c=qB(),o=WB();return S(c[a],a==="bottom"&&o[l],a!=="bottom"&&c[l])};var wi={small:H1.durationGentle,medium:H1.durationSlow,large:H1.durationSlower,full:H1.durationUltraSlow};function Wu(a,l,c){let o=`translate3d(var(${l}), 0, 0)`,r=`translate3d(calc(var(${l}) * -1), 0, 0)`,e=`translate3d(0, var(${l}), 0)`;if(a==="start")return c==="ltr"?r:o;if(a==="end")return c==="ltr"?o:r;if(a==="bottom")return e;return"translate3d(0, 0, 0)"}var Si=t5(({position:a,size:l,dir:c})=>{let o=[{transform:Wu(a,Y6.drawerSizeVar,c),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],r=wi[l];return{enter:{keyframes:o,duration:r,easing:H1.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:r,easing:H1.curveAccelerateMin}}}),bu=t5(({position:a,size:l,dir:c})=>{let o=[{transform:Wu(a,Y6.drawerSizeVar,c),boxShadow:`0px ${K1.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:K1.shadow64,opacity:1}],r=wi[l];return{enter:{keyframes:o,duration:r,easing:H1.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:r,easing:H1.curveAccelerateMin}}}),zu=t5(({size:a})=>{let l=wi[a],c=H1.curveLinear;return{enter:i5({direction:"enter",duration:l,easing:c}),exit:i5({direction:"exit",duration:l,easing:c})}});function re(a){let{open:l=!1,size:c="small",position:o="start",unmountOnClose:r=!0}=a;return{size:c,position:o,open:l,unmountOnClose:r}}var bB=/*@__PURE__*/j("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),zB=/*@__PURE__*/D({nested:{De3pzq:"f1c21dwh"},drawerHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),Qu=(a)=>{let{treatBackdropAsNested:l,backdrop:c,open:o,unmountOnClose:r}=a,e=bB(),h=zB(),Z=!r&&!o;if(c)c.className=S(e,l&&h.nested,Z&&h.drawerHidden,c.className);return a};var Xl=/*@__PURE__*/z((a,l)=>{let c=s3({...a,as:a.as},l),o=f3(c);return Qu(c),I("useOverlayDrawerSurfaceStyles_unstable")(c),V3(c,o)});Xl.displayName="OverlayDrawerSurface";function Gi(a,l,c){if(a===null)return null;return{...a,children:(o,r)=>{if(a===null||a===void 0?void 0:a.children)return a.children(l,{...r,...c});return/*@__PURE__*/c1(l,{...r,...c},r.children)}}}var QB={active:!0,canRender:!0,ref:/*@__PURE__*/h5(),type:"idle"},Ju=(a,l)=>{let{open:c,size:o,position:r,unmountOnClose:e}=re(a),{modalType:h="modal",inertTrapFocus:Z,onOpenChange:t,backdropMotion:i,surfaceMotion:n,mountNode:v}=a,{dir:d,targetDocument:M}=M1(),{element:_}=a9(v),p=Boolean(_&&(M===null||M===void 0?void 0:M.body)!==_),A=U.resolveShorthand(a.backdrop),m=h!=="non-modal"&&A!==null,u=U.always({...a,ref:l,unmountOnClose:e,backdrop:m?{...A}:null,backdropMotion:Gi(i,zu,{size:o})},{elementType:Xl}),V=U.always({open:c,onOpenChange:t,inertTrapFocus:Z,modalType:h,unmountOnClose:e,surfaceMotion:Gi(n,bu,{position:r,size:o,dir:d}),children:null},{elementType:s5});return{components:{root:Xl,dialog:s5},root:u,dialog:V,open:c,size:o,position:r,hasMountNodeElement:p,unmountOnClose:e,mountNode:v,motion:QB}};var Iu=(a,l)=>{return J(a),/*@__PURE__*/g(J6,{value:l,children:/*@__PURE__*/g(Ur,{value:!1,children:/*@__PURE__*/g(a.dialog,{children:/*@__PURE__*/g(a.root,{})})})})};var $u={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},JB=/*@__PURE__*/j("r7dfyj8","rmx02j7",{r:[".r7dfyj8{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".r7dfyj8:focus{outline-style:none;}",".r7dfyj8:focus-visible{outline-style:none;}",".r7dfyj8[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r7dfyj8[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmx02j7{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".rmx02j7:focus{outline-style:none;}",".rmx02j7:focus-visible{outline-style:none;}",".rmx02j7[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmx02j7[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r7dfyj8[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmx02j7[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),IB=/*@__PURE__*/D({start:{},end:{},bottom:{Bhzewxz:"f198g47y",Bqenvij:"fub80nq",a9b677:"fr97h3j"},absolute:{qhf8xq:"f1euv43f"}},{d:[".f198g47y{top:auto;}",".fub80nq{height:var(--fui-Drawer--size);}",".fr97h3j{width:100vw;}",".f1euv43f{position:absolute;}"]}),Yu=(a)=>{let l=oe(a),c=JB(),o=IB(),r=a.hasMountNodeElement&&o.absolute,e=a.root.backdrop;if(a.root.className=S($u.root,l,c,o[a.position],r,a.root.className),e)e.className=S($u.backdrop,r,e.className);return a};var ee=/*@__PURE__*/z((a,l)=>{let c=Ju(a,l),o=$6();return Yu(c),I("useDrawerOverlayStyles_unstable")(c),I("useOverlayDrawerStyles_unstable")(c),Iu(c,o)});ee.displayName="OverlayDrawer";var $B={active:!0,canRender:!0,ref:h5(),type:"idle"},Xu=(a,l)=>{let{size:c,position:o,open:r,unmountOnClose:e}=re(a),{separator:h=!1,surfaceMotion:Z}=a,{dir:t}=M1(),[i,n]=h1(r?"enter":"exit");return{components:{root:"div",surfaceMotion:Si},root:U.always(o1("div",{...a,ref:l,"aria-hidden":!e&&!r?!0:void 0}),{elementType:"div"}),open:r,position:o,size:c,separator:h,unmountOnClose:e,animationDirection:i,surfaceMotion:O7(Z,{elementType:Si,defaultProps:{position:o,size:c,dir:t,visible:r,appear:e,unmountOnExit:e,onMotionFinish:(v,{direction:d})=>n(d),onMotionStart:(v,{direction:d})=>{if(d==="enter")n("enter")}}}),motion:$B}};var Ku=(a,l)=>{return J(a),/*@__PURE__*/g(J6,{value:l,children:/*@__PURE__*/g(a.surfaceMotion,{children:/*@__PURE__*/g(a.root,{})})})};var YB={root:"fui-InlineDrawer"},XB=/*@__PURE__*/j("rkjj3x6",null,[".rkjj3x6{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:relative;}"]),lF1=`1px solid ${K1.colorNeutralBackground3}`,KB=/*@__PURE__*/D({separatorStart:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1cxmi7i","f1j970fk"]},separatorEnd:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["f1j970fk","f1cxmi7i"]},separatorBottom:{g2u3we:0,icvyot:0,B4j52fo:0,i8vvqc:"f1n3kblk"},start:{},end:{},bottom:{a9b677:"fly5x3f",Bqenvij:"fub80nq"},animationExitStart:{a9b677:"f3tsq5r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh"},animationExitEnd:{a9b677:"f3tsq5r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh"},animationExitBottom:{Bqenvij:"fniina8",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh"}},{d:[[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1n3kblk{border-top:1px solid var(--colorNeutralBackground3);}",{p:-1}],".fly5x3f{width:100%;}",".fub80nq{height:var(--fui-Drawer--size);}",".f3tsq5r{width:0;}",[".f3bhgqh{border:none;}",{p:-2}],[".f3bhgqh{border:none;}",{p:-2}],".fniina8{height:0;}",[".f3bhgqh{border:none;}",{p:-2}]]});function jB(a,l){if(!a.separator)return;switch(a.position){case"start":return l.separatorStart;case"end":return l.separatorEnd;case"bottom":return l.separatorBottom;default:return}}function NB(a,l){switch(a.position){case"start":return l.animationExitStart;case"end":return l.animationExitEnd;case"bottom":return l.animationExitBottom;default:return}}var ju=(a)=>{let l=XB(),c=oe(a),o=KB();return a.root.className=S(YB.root,l,c,jB(a,o),o[a.position],a.animationDirection==="exit"&&NB(a,o),a.root.className),a};var he=/*@__PURE__*/z((a,l)=>{let c=Xu(a,l),o=$6();return ju(c),I("useDrawerInlineStyles_unstable")(c),I("useInlineDrawerStyles_unstable")(c),Ku(c,o)});he.displayName="InlineDrawer";var Kl=(a,l)=>{let c=a.type==="inline"?he:ee,o=U.always({ref:l,...a},{elementType:c});return{components:{root:c},root:o}};var jl=(a,l)=>{return J(a),/*@__PURE__*/g(J6,{value:l,children:/*@__PURE__*/g(a.root,{})})};var Nu={root:"fui-Drawer"},Nl=(a)=>{return a.root.className=S(Nu.root,a.root.className),a};var V2=/*@__PURE__*/z((a,l)=>{let c=Kl(a,l),o=$6();return Nl(c),I("useDrawerStyles_unstable")(c),jl(c,o)});V2.displayName="Drawer";var ak=({scrollTop:a,scrollHeight:l,clientHeight:c})=>{if(l<=c)return"none";if(a===0)return"top";if(a+c===l)return"bottom";return"middle"},ac=(a,l)=>{let{targetDocument:c}=M1(),o=c===null||c===void 0?void 0:c.defaultView,{setScrollState:r}=I6(),e=y(null),h=g1(l,e),[Z,t]=ca(),[i,n]=ca(),v=Q(()=>{if(!e.current)return;r(ak(e.current))},[r]),d=Q(()=>{t(),Z(v)},[t,Z,v]);return P1(v,[a.children,v]),P1(()=>{if(!e.current||!(o===null||o===void 0?void 0:o.ResizeObserver))return;let M=new o.ResizeObserver(()=>i(v));return M.observe(e.current),()=>{M.disconnect(),n()}},[i,n,v,o]),{components:{root:"div"},root:U.always(o1("div",{ref:h,...a,onScroll:T1(a.onScroll,d)}),{elementType:"div"})}};var lc=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var Ze={root:"fui-DrawerBody"},lk=/*@__PURE__*/j("ri6rvx7",null,[".ri6rvx7{padding:0 var(--spacingHorizontalXXL);flex:1;align-self:stretch;position:relative;z-index:1;overflow:auto;}",".ri6rvx7:last-child{padding-bottom:calc(var(--spacingHorizontalXXL) + 1px);}",".ri6rvx7:first-child{padding-top:calc(var(--spacingHorizontalXXL) + 1px);}"]),cc=(a)=>{let l=lk();return a.root.className=S(Ze.root,l,a.root.className),a};var f2=/*@__PURE__*/z((a,l)=>{let c=ac(a,l);return cc(c),I("useDrawerBodyStyles_unstable")(c),lc(c)});f2.displayName="DrawerBody";var oc=(a,l)=>{let{scrollState:c}=I6();return{components:{root:"header"},root:U.always(o1("header",{ref:l,role:"none",...a}),{elementType:"header"}),scrollState:c}};var rc=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var te={root:"fui-DrawerHeader"},ck=/*@__PURE__*/j("r3ovn4i",null,[".r3ovn4i{width:100%;max-width:100%;padding:var(--spacingVerticalXXL) var(--spacingHorizontalXXL) var(--spacingVerticalS);gap:var(--spacingHorizontalS);align-self:stretch;display:flex;flex-direction:column;box-sizing:border-box;position:relative;z-index:2;}"]),ok=/*@__PURE__*/D({separator:{Dlnsje:"fxnjyrl",E3zdtr:"f1mdlcz9",B1piin3:["f15yvnhg","f1n6gb5g"],Eqx8gd:["f1n6gb5g","f15yvnhg"],Bp15pi3:"f1564nw5",Bjyk6c5:"fdlpgxj",F2fol1:"f15cmg8x",Ba2ppi3:"f3f8dgl",B1dyfl9:"fjvo4va",Bsft5z2:"f13zj6fq",By385i5:"fo72kxq"},separatorVisible:{Bp15pi3:"fjsqi2x"}},{d:[".fxnjyrl::after{height:1px;}",".f1mdlcz9::after{position:absolute;}",".f15yvnhg::after{right:0;}",".f1n6gb5g::after{left:0;}",".f1564nw5::after{opacity:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}",".f15cmg8x::after{transition-duration:var(--durationNormal);}",".f3f8dgl::after{transition-property:opacity;}",".fjvo4va::after{transition-timing-function:var(--curveEasyEase);}",'.f13zj6fq::after{content:"";}',".fo72kxq::after{bottom:0;}",".fjsqi2x::after{opacity:1;}"]}),ec=(a)=>{let l=ck(),c=ok();return a.root.className=S(te.root,l,a.scrollState!=="none"&&c.separator,["middle","bottom"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var F2=/*@__PURE__*/z((a,l)=>{let c=oc(a,l);return ec(c),I("useDrawerHeaderStyles_unstable")(c),rc(c)});F2.displayName="DrawerHeader";var hc=(a,l)=>{let{children:c,heading:o}=a,r=F0((e)=>e.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:U.always(o1("div",{ref:l,...a}),{elementType:"div"}),heading:U.optional(o,{defaultProps:{id:r,children:c},renderByDefault:!0,elementType:"h2"}),action:U.optional(a.action,{elementType:"div"})}};var Zc=(a)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[a.heading&&/*@__PURE__*/g(a.heading,{}),a.action&&/*@__PURE__*/g(a.action,{})]})};var X6={root:"fui-DrawerHeaderTitle",heading:"fui-DrawerHeaderTitle__heading",action:"fui-DrawerHeaderTitle__action"},rk=/*@__PURE__*/D({root:{mc9l5x:"f22iagw",Brf1p80:"f1869bpl",Bt984gj:"f122n59",i8kkvl:"fsnqrgy"},action:{t21cq0:["faqnl2i","fd75udd"]}},{d:[".f22iagw{display:flex;}",".f1869bpl{justify-content:space-between;}",".f122n59{align-items:center;}",".fsnqrgy{column-gap:var(--spacingHorizontalS);}",".faqnl2i{margin-right:calc(var(--spacingHorizontalS) * -1);}",".fd75udd{margin-left:calc(var(--spacingHorizontalS) * -1);}"]}),tc=(a)=>{let l=rk(),{heading:c={},action:o,components:r}=a;if(u3({components:{root:r.heading,action:r.action},root:c,action:o}),a.root.className=S(X6.root,l.root,a.root.className),a.heading)a.heading.className=S(X6.heading,a.heading.className);if(a.action)a.action.className=S(X6.action,l.action,a.action.className);return a};var x2=/*@__PURE__*/z((a,l)=>{let c=hc(a,l);return tc(c),I("useDrawerHeaderTitleStyles_unstable")(c),Zc(c)});x2.displayName="DrawerHeaderTitle";var ic=(a,l)=>{let{scrollState:c}=I6();return{components:{root:"footer"},root:U.always(o1("footer",{ref:l,role:"none",...a}),{elementType:"footer"}),scrollState:c}};var vc=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var ie={root:"fui-DrawerFooter"},ek=/*@__PURE__*/j("r1snvl2j",null,[".r1snvl2j{width:100%;max-width:100%;padding:var(--spacingVerticalL) var(--spacingHorizontalXXL) var(--spacingVerticalXXL);display:flex;justify-content:flex-start;align-items:center;column-gap:var(--spacingHorizontalS);box-sizing:border-box;position:relative;z-index:2;}"]),hk=/*@__PURE__*/D({separator:{Baz25je:"f16b62f1",Brfgrao:"f1j7ml58",mdwyqc:["f1f351id","f1fzr1x6"],Fbdkly:["f1fzr1x6","f1f351id"],vz82u:"f1dhznln",cmx5o7:"f1p5zmk",h7gv66:"f1ljjo4k",B8bqphf:"ffd2d9j",wjn42g:"ffdt3s5",Ftih45:"f1wl9k8s",Bciustq:"ffi060y"},separatorVisible:{vz82u:"f1b3qyzu"}},{d:[".f16b62f1::before{height:1px;}",".f1j7ml58::before{position:absolute;}",".f1f351id::before{right:0;}",".f1fzr1x6::before{left:0;}",".f1dhznln::before{opacity:0;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1ljjo4k::before{transition-duration:var(--durationNormal);}",".ffd2d9j::before{transition-property:opacity;}",".ffdt3s5::before{transition-timing-function:var(--curveEasyEase);}",'.f1wl9k8s::before{content:"";}',".ffi060y::before{top:0;}",".f1b3qyzu::before{opacity:1;}"]}),nc=(a)=>{let l=ek(),c=hk();return a.root.className=S(ie.root,l,a.scrollState!=="none"&&c.separator,["middle","top"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var W7=/*@__PURE__*/z((a,l)=>{let c=ic(a,l);return nc(c),I("useDrawerFooterStyles_unstable")(c),vc(c)});W7.displayName="DrawerFooter";function I1(a,l,c,o){var r=arguments.length,e=r<3?l:o===null?o=Object.getOwnPropertyDescriptor(l,c):o,h;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")e=Reflect.decorate(a,l,c,o);else for(var Z=a.length-1;Z>=0;Z--)if(h=a[Z])e=(r<3?h(e):r>3?h(l,c,e):h(l,c))||e;return r>3&&e&&Object.defineProperty(l,c,e),e}function g3(a,l,c,o){function r(e){return e instanceof c?e:new c(function(h){h(e)})}return new(c||(c=Promise))(function(e,h){function Z(n){try{i(o.next(n))}catch(v){h(v)}}function t(n){try{i(o.throw(n))}catch(v){h(v)}}function i(n){n.done?e(n.value):r(n.value).then(Z,t)}i((o=o.apply(a,l||[])).next())})}function g0(a,l){if(gk(a))a="100%";var c=Lk(a);if(a=l===360?a:Math.min(l,Math.max(0,parseFloat(a))),c)a=parseInt(String(a*l),10)/100;if(Math.abs(a-l)<0.000001)return 1;if(l===360)a=(a<0?a%l+l:a%l)/parseFloat(String(l));else a=a%l/parseFloat(String(l));return a}function dc(a){return Math.min(1,Math.max(0,a))}function gk(a){return typeof a==="string"&&a.indexOf(".")!==-1&&parseFloat(a)===1}function Lk(a){return typeof a==="string"&&a.indexOf("%")!==-1}function ve(a){if(a=parseFloat(a),isNaN(a)||a<0||a>1)a=1;return a}function Mc(a){if(a<=1)return"".concat(Number(a)*100,"%");return a}function L3(a){return a.length===1?"0"+a:String(a)}function as(a,l,c){return{r:g0(a,255)*255,g:g0(l,255)*255,b:g0(c,255)*255}}function Di(a,l,c){a=g0(a,255),l=g0(l,255),c=g0(c,255);var o=Math.max(a,l,c),r=Math.min(a,l,c),e=0,h=0,Z=(o+r)/2;if(o===r)h=0,e=0;else{var t=o-r;switch(h=Z>0.5?t/(2-o-r):t/(o+r),o){case a:e=(l-c)/t+(l<c?6:0);break;case l:e=(c-a)/t+2;break;case c:e=(a-l)/t+4;break;default:break}e/=6}return{h:e,s:h,l:Z}}function Ui(a,l,c){if(c<0)c+=1;if(c>1)c-=1;if(c<0.16666666666666666)return a+(l-a)*(6*c);if(c<0.5)return l;if(c<0.6666666666666666)return a+(l-a)*(0.6666666666666666-c)*6;return a}function ls(a,l,c){var o,r,e;if(a=g0(a,360),l=g0(l,100),c=g0(c,100),l===0)r=c,e=c,o=c;else{var h=c<0.5?c*(1+l):c+l-c*l,Z=2*c-h;o=Ui(Z,h,a+0.3333333333333333),r=Ui(Z,h,a),e=Ui(Z,h,a-0.3333333333333333)}return{r:o*255,g:r*255,b:e*255}}function Bi(a,l,c){a=g0(a,255),l=g0(l,255),c=g0(c,255);var o=Math.max(a,l,c),r=Math.min(a,l,c),e=0,h=o,Z=o-r,t=o===0?0:Z/o;if(o===r)e=0;else{switch(o){case a:e=(l-c)/Z+(l<c?6:0);break;case l:e=(c-a)/Z+2;break;case c:e=(a-l)/Z+4;break;default:break}e/=6}return{h:e,s:t,v:h}}function cs(a,l,c){a=g0(a,360)*6,l=g0(l,100),c=g0(c,100);var o=Math.floor(a),r=a-o,e=c*(1-l),h=c*(1-r*l),Z=c*(1-(1-r)*l),t=o%6,i=[c,h,e,e,Z,c][t],n=[Z,c,c,h,e,e][t],v=[e,e,Z,c,c,h][t];return{r:i*255,g:n*255,b:v*255}}function ki(a,l,c,o){var r=[L3(Math.round(a).toString(16)),L3(Math.round(l).toString(16)),L3(Math.round(c).toString(16))];if(o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1)))return r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0);return r.join("")}function os(a,l,c,o,r){var e=[L3(Math.round(a).toString(16)),L3(Math.round(l).toString(16)),L3(Math.round(c).toString(16)),L3(Ck(o))];if(r&&e[0].startsWith(e[0].charAt(1))&&e[1].startsWith(e[1].charAt(1))&&e[2].startsWith(e[2].charAt(1))&&e[3].startsWith(e[3].charAt(1)))return e[0].charAt(0)+e[1].charAt(0)+e[2].charAt(0)+e[3].charAt(0);return e.join("")}function Ck(a){return Math.round(parseFloat(a)*255).toString(16)}function yi(a){return V5(a)/255}function V5(a){return parseInt(a,16)}function rs(a){return{r:a>>16,g:(a&65280)>>8,b:a&255}}var pc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function es(a){var l={r:0,g:0,b:0},c=1,o=null,r=null,e=null,h=!1,Z=!1;if(typeof a==="string")a=Sk(a);if(typeof a==="object"){if(b7(a.r)&&b7(a.g)&&b7(a.b))l=as(a.r,a.g,a.b),h=!0,Z=String(a.r).substr(-1)==="%"?"prgb":"rgb";else if(b7(a.h)&&b7(a.s)&&b7(a.v))o=Mc(a.s),r=Mc(a.v),l=cs(a.h,o,r),h=!0,Z="hsv";else if(b7(a.h)&&b7(a.s)&&b7(a.l))o=Mc(a.s),e=Mc(a.l),l=ls(a.h,o,e),h=!0,Z="hsl";if(Object.prototype.hasOwnProperty.call(a,"a"))c=a.a}return c=ve(c),{ok:h,format:a.format||Z,r:Math.min(255,Math.max(l.r,0)),g:Math.min(255,Math.max(l.g,0)),b:Math.min(255,Math.max(l.b,0)),a:c}}var Rk="[-\\+]?\\d+%?",wk="[-\\+]?\\d*\\.\\d+%?",C3="(?:".concat(wk,")|(?:").concat(Rk,")"),Oi="[\\s|\\(]+(".concat(C3,")[,|\\s]+(").concat(C3,")[,|\\s]+(").concat(C3,")\\s*\\)?"),Pi="[\\s|\\(]+(".concat(C3,")[,|\\s]+(").concat(C3,")[,|\\s]+(").concat(C3,")[,|\\s]+(").concat(C3,")\\s*\\)?"),g2={CSS_UNIT:new RegExp(C3),rgb:new RegExp("rgb"+Oi),rgba:new RegExp("rgba"+Pi),hsl:new RegExp("hsl"+Oi),hsla:new RegExp("hsla"+Pi),hsv:new RegExp("hsv"+Oi),hsva:new RegExp("hsva"+Pi),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Sk(a){if(a=a.trim().toLowerCase(),a.length===0)return!1;var l=!1;if(pc[a])a=pc[a],l=!0;else if(a==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var c=g2.rgb.exec(a);if(c)return{r:c[1],g:c[2],b:c[3]};if(c=g2.rgba.exec(a),c)return{r:c[1],g:c[2],b:c[3],a:c[4]};if(c=g2.hsl.exec(a),c)return{h:c[1],s:c[2],l:c[3]};if(c=g2.hsla.exec(a),c)return{h:c[1],s:c[2],l:c[3],a:c[4]};if(c=g2.hsv.exec(a),c)return{h:c[1],s:c[2],v:c[3]};if(c=g2.hsva.exec(a),c)return{h:c[1],s:c[2],v:c[3],a:c[4]};if(c=g2.hex8.exec(a),c)return{r:V5(c[1]),g:V5(c[2]),b:V5(c[3]),a:yi(c[4]),format:l?"name":"hex8"};if(c=g2.hex6.exec(a),c)return{r:V5(c[1]),g:V5(c[2]),b:V5(c[3]),format:l?"name":"hex"};if(c=g2.hex4.exec(a),c)return{r:V5(c[1]+c[1]),g:V5(c[2]+c[2]),b:V5(c[3]+c[3]),a:yi(c[4]+c[4]),format:l?"name":"hex8"};if(c=g2.hex3.exec(a),c)return{r:V5(c[1]+c[1]),g:V5(c[2]+c[2]),b:V5(c[3]+c[3]),format:l?"name":"hex"};return!1}function b7(a){return Boolean(g2.CSS_UNIT.exec(String(a)))}var Ti=function(){function a(l,c){if(l===void 0)l="";if(c===void 0)c={};var o;if(l instanceof a)return l;if(typeof l==="number")l=rs(l);this.originalInput=l;var r=es(l);if(this.originalInput=l,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=c.format)!==null&&o!==void 0?o:r.format,this.gradientType=c.gradientType,this.r<1)this.r=Math.round(this.r);if(this.g<1)this.g=Math.round(this.g);if(this.b<1)this.b=Math.round(this.b);this.isValid=r.ok}return a.prototype.isDark=function(){return this.getBrightness()<128},a.prototype.isLight=function(){return!this.isDark()},a.prototype.getBrightness=function(){var l=this.toRgb();return(l.r*299+l.g*587+l.b*114)/1000},a.prototype.getLuminance=function(){var l=this.toRgb(),c,o,r,e=l.r/255,h=l.g/255,Z=l.b/255;if(e<=0.03928)c=e/12.92;else c=Math.pow((e+0.055)/1.055,2.4);if(h<=0.03928)o=h/12.92;else o=Math.pow((h+0.055)/1.055,2.4);if(Z<=0.03928)r=Z/12.92;else r=Math.pow((Z+0.055)/1.055,2.4);return 0.2126*c+0.7152*o+0.0722*r},a.prototype.getAlpha=function(){return this.a},a.prototype.setAlpha=function(l){return this.a=ve(l),this.roundA=Math.round(100*this.a)/100,this},a.prototype.isMonochrome=function(){var l=this.toHsl().s;return l===0},a.prototype.toHsv=function(){var l=Bi(this.r,this.g,this.b);return{h:l.h*360,s:l.s,v:l.v,a:this.a}},a.prototype.toHsvString=function(){var l=Bi(this.r,this.g,this.b),c=Math.round(l.h*360),o=Math.round(l.s*100),r=Math.round(l.v*100);return this.a===1?"hsv(".concat(c,", ").concat(o,"%, ").concat(r,"%)"):"hsva(".concat(c,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},a.prototype.toHsl=function(){var l=Di(this.r,this.g,this.b);return{h:l.h*360,s:l.s,l:l.l,a:this.a}},a.prototype.toHslString=function(){var l=Di(this.r,this.g,this.b),c=Math.round(l.h*360),o=Math.round(l.s*100),r=Math.round(l.l*100);return this.a===1?"hsl(".concat(c,", ").concat(o,"%, ").concat(r,"%)"):"hsla(".concat(c,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},a.prototype.toHex=function(l){if(l===void 0)l=!1;return ki(this.r,this.g,this.b,l)},a.prototype.toHexString=function(l){if(l===void 0)l=!1;return"#"+this.toHex(l)},a.prototype.toHex8=function(l){if(l===void 0)l=!1;return os(this.r,this.g,this.b,this.a,l)},a.prototype.toHex8String=function(l){if(l===void 0)l=!1;return"#"+this.toHex8(l)},a.prototype.toHexShortString=function(l){if(l===void 0)l=!1;return this.a===1?this.toHexString(l):this.toHex8String(l)},a.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},a.prototype.toRgbString=function(){var l=Math.round(this.r),c=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(l,", ").concat(c,", ").concat(o,")"):"rgba(".concat(l,", ").concat(c,", ").concat(o,", ").concat(this.roundA,")")},a.prototype.toPercentageRgb=function(){var l=function(c){return"".concat(Math.round(g0(c,255)*100),"%")};return{r:l(this.r),g:l(this.g),b:l(this.b),a:this.a}},a.prototype.toPercentageRgbString=function(){var l=function(c){return Math.round(g0(c,255)*100)};return this.a===1?"rgb(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%)"):"rgba(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%, ").concat(this.roundA,")")},a.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;var l="#"+ki(this.r,this.g,this.b,!1);for(var c=0,o=Object.entries(pc);c<o.length;c++){var r=o[c],e=r[0],h=r[1];if(l===h)return e}return!1},a.prototype.toString=function(l){var c=Boolean(l);l=l!==null&&l!==void 0?l:this.format;var o=!1,r=this.a<1&&this.a>=0,e=!c&&r&&(l.startsWith("hex")||l==="name");if(e){if(l==="name"&&this.a===0)return this.toName();return this.toRgbString()}if(l==="rgb")o=this.toRgbString();if(l==="prgb")o=this.toPercentageRgbString();if(l==="hex"||l==="hex6")o=this.toHexString();if(l==="hex3")o=this.toHexString(!0);if(l==="hex4")o=this.toHex8String(!0);if(l==="hex8")o=this.toHex8String();if(l==="name")o=this.toName();if(l==="hsl")o=this.toHslString();if(l==="hsv")o=this.toHsvString();return o||this.toHexString()},a.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},a.prototype.clone=function(){return new a(this.toString())},a.prototype.lighten=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.l+=l/100,c.l=dc(c.l),new a(c)},a.prototype.brighten=function(l){if(l===void 0)l=10;var c=this.toRgb();return c.r=Math.max(0,Math.min(255,c.r-Math.round(255*-(l/100)))),c.g=Math.max(0,Math.min(255,c.g-Math.round(255*-(l/100)))),c.b=Math.max(0,Math.min(255,c.b-Math.round(255*-(l/100)))),new a(c)},a.prototype.darken=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.l-=l/100,c.l=dc(c.l),new a(c)},a.prototype.tint=function(l){if(l===void 0)l=10;return this.mix("white",l)},a.prototype.shade=function(l){if(l===void 0)l=10;return this.mix("black",l)},a.prototype.desaturate=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.s-=l/100,c.s=dc(c.s),new a(c)},a.prototype.saturate=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.s+=l/100,c.s=dc(c.s),new a(c)},a.prototype.greyscale=function(){return this.desaturate(100)},a.prototype.spin=function(l){var c=this.toHsl(),o=(c.h+l)%360;return c.h=o<0?360+o:o,new a(c)},a.prototype.mix=function(l,c){if(c===void 0)c=50;var o=this.toRgb(),r=new a(l).toRgb(),e=c/100,h={r:(r.r-o.r)*e+o.r,g:(r.g-o.g)*e+o.g,b:(r.b-o.b)*e+o.b,a:(r.a-o.a)*e+o.a};return new a(h)},a.prototype.analogous=function(l,c){if(l===void 0)l=6;if(c===void 0)c=30;var o=this.toHsl(),r=360/c,e=[this];for(o.h=(o.h-(r*l>>1)+720)%360;--l;)o.h=(o.h+r)%360,e.push(new a(o));return e},a.prototype.complement=function(){var l=this.toHsl();return l.h=(l.h+180)%360,new a(l)},a.prototype.monochromatic=function(l){if(l===void 0)l=6;var c=this.toHsv(),o=c.h,r=c.s,e=c.v,h=[],Z=1/l;while(l--)h.push(new a({h:o,s:r,v:e})),e=(e+Z)%1;return h},a.prototype.splitcomplement=function(){var l=this.toHsl(),c=l.h;return[this,new a({h:(c+72)%360,s:l.s,l:l.l}),new a({h:(c+216)%360,s:l.s,l:l.l})]},a.prototype.onBackground=function(l){var c=this.toRgb(),o=new a(l).toRgb(),r=c.a+o.a*(1-c.a);return new a({r:(c.r*c.a+o.r*o.a*(1-c.a))/r,g:(c.g*c.a+o.g*o.a*(1-c.a))/r,b:(c.b*c.a+o.b*o.a*(1-c.a))/r,a:r})},a.prototype.triad=function(){return this.polyad(3)},a.prototype.tetrad=function(){return this.polyad(4)},a.prototype.polyad=function(l){var c=this.toHsl(),o=c.h,r=[this],e=360/l;for(var h=1;h<l;h++)r.push(new a({h:(o+h*e)%360,s:c.s,l:c.l}));return r},a.prototype.equals=function(l){return this.toRgbString()===new a(l).toRgbString()},a}();var M0=(a,l,c)=>{return new Ti(a).mix(new Ti(l),c).toHexString()},Gk=(a)=>{return{10:a.themeDarker,20:M0(a.themeDarker,a.themeDark),30:a.themeDark,40:M0(a.themeDark,a.themeDarkAlt),50:a.themeDarkAlt,60:M0(a.themeDarkAlt,a.themePrimary),70:a.themePrimary,80:M0(a.themePrimary,a.themeSecondary),90:a.themeSecondary,100:M0(a.themeSecondary,a.themeTertiary),110:a.themeTertiary,120:M0(a.themeTertiary,a.themeLight),130:a.themeLight,140:M0(a.themeLight,a.themeLighter),150:a.themeLighter,160:M0(a.themeLighter,a.themeLighterAlt)}},Uk=(a)=>{return{10:a.themeDarker,20:M0(a.themeDarker,a.themePrimary,20),30:M0(a.themeDarker,a.themePrimary,30),40:M0(a.themeDarker,a.themePrimary,40),50:M0(a.themeDarker,a.themePrimary,50),60:M0(a.themeDarker,a.themePrimary,60),70:M0(a.themeDarker,a.themePrimary,70),80:a.themePrimary,90:M0(a.themePrimary,a.themeLighterAlt,10),100:M0(a.themePrimary,a.themeLighterAlt,20),110:M0(a.themePrimary,a.themeLighterAlt,30),120:M0(a.themePrimary,a.themeLighterAlt,40),130:M0(a.themePrimary,a.themeLighterAlt,50),140:M0(a.themePrimary,a.themeLighterAlt,60),150:M0(a.themePrimary,a.themeLighterAlt,70),160:a.themeLighterAlt}},ne=(a,l="pairs")=>{switch(l){case"primaryAndEnds":return Uk(a);case"pairs":default:return Gk(a)}};var hs="7d56fff0-e90e-40a7-98cf-fcdbc63a9b01",Ei="d6ca1fc2-0591-4c6d-8a25-cae3262c017b",Zs="45e75137-13c5-4bb2-a2b3-8ab6382682ee",ts="SPFxExtensionsConfigurator",de="SitePages/SPFxExtensionsConfigurator.aspx",k0="manifest.txt",$5="collectionconfig.txt",LE1="Loading...",K6="SPFxExtensionsConfiguration",j6="SPFxExtensionsWhiteList",w1="SPFxExtensions",is="/SPFxExtensions/",m0="SPFxExtensionsData",Me="[SPFxExtensionCore]",_c={appDefinitionMap:[],appRelativeEntryPointUrls:[],manualEntries:[]},Ac={enabledEverywhere:!1,excludedHubIds:[],excludedIds:[],includedHubIds:[],includedIds:[]},mc={enabledAppCollections:[],urlMap:[]},z0="00000000-0000-0000-0000-000000000000";function L1(a,l,c=a){return(o)=>{let r=""+o,e=r.indexOf(l,a.length);return~e?a+Dk(r,l,c,e)+l:a+r+l}}function Dk(a,l,c,o){let r="",e=0;do r+=a.substring(e,o)+c,e=o+l.length,o=a.indexOf(l,e);while(~o);return r+a.substring(e)}var RE1=L1("\x1B[0m","\x1B[0m"),wE1=L1("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),SE1=L1("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),GE1=L1("\x1B[3m","\x1B[23m"),UE1=L1("\x1B[4m","\x1B[24m"),DE1=L1("\x1B[7m","\x1B[27m"),BE1=L1("\x1B[8m","\x1B[28m"),kE1=L1("\x1B[9m","\x1B[29m"),yE1=L1("\x1B[30m","\x1B[39m"),OE1=L1("\x1B[31m","\x1B[39m"),PE1=L1("\x1B[32m","\x1B[39m"),TE1=L1("\x1B[33m","\x1B[39m"),EE1=L1("\x1B[34m","\x1B[39m"),qE1=L1("\x1B[35m","\x1B[39m"),WE1=L1("\x1B[36m","\x1B[39m"),bE1=L1("\x1B[37m","\x1B[39m"),zE1=L1("\x1B[90m","\x1B[39m"),QE1=L1("\x1B[40m","\x1B[49m"),JE1=L1("\x1B[41m","\x1B[49m"),IE1=L1("\x1B[42m","\x1B[49m"),$E1=L1("\x1B[43m","\x1B[49m"),YE1=L1("\x1B[44m","\x1B[49m"),XE1=L1("\x1B[45m","\x1B[49m"),KE1=L1("\x1B[46m","\x1B[49m"),jE1=L1("\x1B[47m","\x1B[49m"),NE1=L1("\x1B[90m","\x1B[39m"),aq1=L1("\x1B[91m","\x1B[39m"),pe=L1("\x1B[92m","\x1B[39m"),lq1=L1("\x1B[93m","\x1B[39m"),cq1=L1("\x1B[94m","\x1B[39m"),oq1=L1("\x1B[95m","\x1B[39m"),rq1=L1("\x1B[96m","\x1B[39m"),eq1=L1("\x1B[97m","\x1B[39m"),hq1=L1("\x1B[100m","\x1B[49m"),Zq1=L1("\x1B[101m","\x1B[49m"),tq1=L1("\x1B[102m","\x1B[49m"),iq1=L1("\x1B[103m","\x1B[49m"),vq1=L1("\x1B[104m","\x1B[49m"),nq1=L1("\x1B[105m","\x1B[49m"),dq1=L1("\x1B[106m","\x1B[49m"),Mq1=L1("\x1B[107m","\x1B[49m");function m1(...a){console.error(pe(Me),(/*@__PURE__*/new Date()).toISOString(),...a)}function L2(...a){console.warn(pe(Me),(/*@__PURE__*/new Date()).toISOString(),...a)}function L0(...a){console.info(pe(Me),(/*@__PURE__*/new Date()).toISOString(),...a)}function mq1(...a){}function Hq1(a,l,c){m1("Error while executing onInstanceRequested for app",a.id,"with name",a.name,c?`Additional Data: ${c}`:"",l)}function Vq1(){return L2("The app instance event was called before app instance was initialized."),()=>{}}var qi=window.crypto.randomUUID();function fq1(){return qi}function Fq1(){return qi=window.crypto.randomUUID(),qi}function Wi(a){return a.replace("{","").replace("}","")}function U1(a){return JSON.parse(JSON.stringify(a))}function Cq1(){return window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.web.id.toString():Wi(window.__SPFxExtensions.__CurrentContext.context.webId)}function C4(){return(window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.web.absoluteUrl:window.__SPFxExtensions.__CurrentContext.context.webAbsoluteUrl).replace(/\/$/,"")}function Rq1(){return window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.site.id.toString():Wi(window.__SPFxExtensions.__CurrentContext.context.siteId)}function wq1(){return window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.site.absoluteUrl:window.__SPFxExtensions.__CurrentContext.context.siteAbsoluteUrl}function Sq1(){return(window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.legacyPageContext.hubSiteId?.toString():window.__SPFxExtensions.__CurrentContext.context.hubSiteId)??z0}function Gq1(){return window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.legacyPageContext.isHubSite:window.__SPFxExtensions.__CurrentContext.context.isHubSite}var Bk=Symbol.for("preact-signals");function He(){if(!(z7>1)){var a,l=!1;(function(){var r=Ae;Ae=void 0;while(r!==void 0){if(r.S.v===r.v)r.S.i=r.i;r=r.o}})();while(Hc!==void 0){var c=Hc;Hc=void 0,_e++;while(c!==void 0){var o=c.u;if(c.u=void 0,c.f&=-3,!(8&c.f)&&ds(c))try{c.c()}catch(r){if(!l)a=r,l=!0}c=o}}if(_e=0,z7--,l)throw a}else z7--}function ue(a){if(z7>0)return a();bi=++kk,z7++;try{return a()}finally{He()}}var q1=void 0;function zi(a){var l=q1;q1=void 0;try{return a()}finally{q1=l}}var vs,Hc=void 0,z7=0,_e=0,kk=0,bi=0,Ae=void 0,me=0;function ns(a){if(q1!==void 0){var l=a.n;if(l===void 0||l.t!==q1){if(l={i:0,S:a,p:q1.s,n:void 0,t:q1,e:void 0,x:void 0,r:l},q1.s!==void 0)q1.s.n=l;if(q1.s=l,a.n=l,32&q1.f)a.S(l);return l}else if(l.i===-1){if(l.i=0,l.n!==void 0){if(l.n.p=l.p,l.p!==void 0)l.p.n=l.n;l.p=q1.s,l.n=void 0,q1.s.n=l,q1.s=l}return l}}}function C0(a,l){this.v=a,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=l==null?void 0:l.watched,this.Z=l==null?void 0:l.unwatched,this.name=l==null?void 0:l.name}C0.prototype.brand=Bk;C0.prototype.h=function(){return!0};C0.prototype.S=function(a){var l=this,c=this.t;if(c!==a&&a.e===void 0)if(a.x=c,this.t=a,c!==void 0)c.e=a;else zi(function(){var o;(o=l.W)==null||o.call(l)})};C0.prototype.U=function(a){var l=this;if(this.t!==void 0){var{e:c,x:o}=a;if(c!==void 0)c.x=o,a.e=void 0;if(o!==void 0)o.e=c,a.x=void 0;if(a===this.t){if(this.t=o,o===void 0)zi(function(){var r;(r=l.Z)==null||r.call(l)})}}};C0.prototype.subscribe=function(a){var l=this;return o7(function(){var c=l.value,o=q1;q1=void 0;try{a(c)}finally{q1=o}},{name:"sub"})};C0.prototype.valueOf=function(){return this.value};C0.prototype.toString=function(){return this.value+""};C0.prototype.toJSON=function(){return this.value};C0.prototype.peek=function(){var a=q1;q1=void 0;try{return this.value}finally{q1=a}};Object.defineProperty(C0.prototype,"value",{get:function(){var a=ns(this);if(a!==void 0)a.i=this.i;return this.v},set:function(a){if(a!==this.v){if(_e>100)throw Error("Cycle detected");(function(c){if(z7!==0&&_e===0){if(c.l!==bi)c.l=bi,Ae={S:c,v:c.v,i:c.i,o:Ae}}})(this),this.v=a,this.i++,me++,z7++;try{for(var l=this.t;l!==void 0;l=l.x)l.t.N()}finally{He()}}}});function R0(a,l){return new C0(a,l)}function ds(a){for(var l=a.s;l!==void 0;l=l.n)if(l.S.i!==l.i||!l.S.h()||l.S.i!==l.i)return!0;return!1}function Ms(a){for(var l=a.s;l!==void 0;l=l.n){var c=l.S.n;if(c!==void 0)l.r=c;if(l.S.n=l,l.i=-1,l.n===void 0){a.s=l;break}}}function ps(a){var l=a.s,c=void 0;while(l!==void 0){var o=l.p;if(l.i===-1){if(l.S.U(l),o!==void 0)o.n=l.n;if(l.n!==void 0)l.n.p=o}else c=l;if(l.S.n=l.r,l.r!==void 0)l.r=void 0;l=o}a.s=c}function R4(a,l){C0.call(this,void 0),this.x=a,this.s=void 0,this.g=me-1,this.f=4,this.W=l==null?void 0:l.watched,this.Z=l==null?void 0:l.unwatched,this.name=l==null?void 0:l.name}R4.prototype=new C0;R4.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32)return!0;if(this.f&=-5,this.g===me)return!0;if(this.g=me,this.f|=1,this.i>0&&!ds(this))return this.f&=-2,!0;var a=q1;try{Ms(this),q1=this;var l=this.x();if(16&this.f||this.v!==l||this.i===0)this.v=l,this.f&=-17,this.i++}catch(c){this.v=c,this.f|=16,this.i++}return q1=a,ps(this),this.f&=-2,!0};R4.prototype.S=function(a){if(this.t===void 0){this.f|=36;for(var l=this.s;l!==void 0;l=l.n)l.S.S(l)}C0.prototype.S.call(this,a)};R4.prototype.U=function(a){if(this.t!==void 0){if(C0.prototype.U.call(this,a),this.t===void 0){this.f&=-33;for(var l=this.s;l!==void 0;l=l.n)l.S.U(l)}}};R4.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var a=this.t;a!==void 0;a=a.x)a.t.N()}};Object.defineProperty(R4.prototype,"value",{get:function(){if(1&this.f)throw Error("Cycle detected");var a=ns(this);if(this.h(),a!==void 0)a.i=this.i;if(16&this.f)throw this.v;return this.v}});function se(a,l){return new R4(a,l)}function _s(a){var l=a.m;if(a.m=void 0,typeof l=="function"){z7++;var c=q1;q1=void 0;try{l()}catch(o){throw a.f&=-2,a.f|=8,Qi(a),o}finally{q1=c,He()}}}function Qi(a){for(var l=a.s;l!==void 0;l=l.n)l.S.U(l);a.x=void 0,a.s=void 0,_s(a)}function yk(a){if(q1!==this)throw Error("Out-of-order effect");if(ps(this),q1=a,this.f&=-2,8&this.f)Qi(this);He()}function N6(a,l){if(this.x=a,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=l==null?void 0:l.name,vs)vs.push(this)}N6.prototype.c=function(){var a=this.S();try{if(8&this.f)return;if(this.x===void 0)return;var l=this.x();if(typeof l=="function")this.m=l}finally{a()}};N6.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,_s(this),Ms(this),z7++;var a=q1;return q1=this,yk.bind(this,a)};N6.prototype.N=function(){if(!(2&this.f))this.f|=2,this.u=Hc,Hc=this};N6.prototype.d=function(){if(this.f|=8,!(1&this.f))Qi(this)};N6.prototype.dispose=function(){this.d()};function o7(a,l){var c=new N6(a,l);try{c.c()}catch(r){throw c.d(),r}var o=c.d.bind(c);return o[Symbol.dispose]=o,o}var Ji,Ii,Ve,Ok=typeof window<"u"&&!!window.__PREACT_SIGNALS_DEVTOOLS__,As=[],ms=[];o7(function(){Ji=this.N})();function a8(a,l){p1[a]=l.bind(null,p1[a]||function(){})}function fe(a){if(Ve){var l=Ve;Ve=void 0,l()}Ve=a&&a.S()}function Hs(a){var l=this,c=a.data,o=r7(c);o.value=c;var r=v1(function(){var Z=l,t=l.__v;while(t=t.__)if(t.__c){t.__c.__$f|=4;break}var i=se(function(){var M=o.value.value;return M===0?0:M===!0?"":M||""}),n=se(function(){return!Array.isArray(i.value)&&!Uh(i.value)}),v=o7(function(){if(this.N=us,n.value){var M=i.value;if(Z.__v&&Z.__v.__e&&Z.__v.__e.nodeType===3)Z.__v.__e.data=M}}),d=l.__$u.d;return l.__$u.d=function(){v(),d.call(this)},[n,i]},[]),e=r[0],h=r[1];return e.value?h.peek():h.value}Hs.displayName="ReactiveTextNode";Object.defineProperties(C0.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Hs},props:{configurable:!0,get:function(){var a=this;return{data:{get value(){return a.value}}}}},__b:{configurable:!0,value:1}});a8("__b",function(a,l){if(typeof l.type=="string"){var c,o=l.props;for(var r in o)if(r!=="children"){var e=o[r];if(e instanceof C0){if(!c)l.__np=c={};c[r]=e,o[r]=e.peek()}}}a(l)});a8("__r",function(a,l){if(a(l),l.type!==i1){fe();var c,o=l.__c;if(o){if(o.__$f&=-2,(c=o.__$u)===void 0)o.__$u=c=function(r,e){var h;return o7(function(){h=this},{name:e}),h.c=r,h}(function(){var r;if(Ok)(r=c.y)==null||r.call(c);o.__$f|=1,o.setState({})},typeof l.type=="function"?l.type.displayName||l.type.name:"")}Ii=o,fe(c)}});a8("__e",function(a,l,c,o){fe(),Ii=void 0,a(l,c,o)});a8("diffed",function(a,l){fe(),Ii=void 0;var c;if(typeof l.type=="string"&&(c=l.__e)){var{__np:o,props:r}=l;if(o){var e=c.U;if(e)for(var h in e){var Z=e[h];if(Z!==void 0&&!(h in o))Z.d(),e[h]=void 0}else e={},c.U=e;for(var t in o){var i=e[t],n=o[t];if(i===void 0)i=Pk(c,t,n),e[t]=i;else i.o(n,r)}for(var v in o)r[v]=o[v]}}a(l)});function Pk(a,l,c,o){var r=l in a&&a.ownerSVGElement===void 0,e=R0(c),h=c.peek();return{o:function(Z,t){e.value=Z,h=Z.peek()},d:o7(function(){this.N=us;var Z=e.value.value;if(h!==Z)if(h=void 0,r)a[l]=Z;else if(Z!=null&&(Z!==!1||l[4]==="-"))a.setAttribute(l,Z);else a.removeAttribute(l);else h=void 0})}}a8("unmount",function(a,l){if(typeof l.type=="string"){var c=l.__e;if(c){var o=c.U;if(o){c.U=void 0;for(var r in o){var e=o[r];if(e)e.d()}}}l.__np=void 0}else{var h=l.__c;if(h){var Z=h.__$u;if(Z)h.__$u=void 0,Z.d()}}a(l)});a8("__h",function(a,l,c,o){if(o<3||o===9)l.__$f|=2;a(l,c,o)});e5.prototype.shouldComponentUpdate=function(a,l){if(this.__R)return!0;var c=this.__$u,o=c&&c.s!==void 0;for(var r in l)return!0;if(this.__f||typeof this.u=="boolean"&&this.u===!0){var e=2&this.__$f;if(!(o||e||4&this.__$f))return!0;if(1&this.__$f)return!0}else{if(!(o||4&this.__$f))return!0;if(3&this.__$f)return!0}for(var h in a)if(h!=="__source"&&a[h]!==this.props[h])return!0;for(var Z in this.props)if(!(Z in a))return!0;return!1};function r7(a,l){return v1(function(){return R0(a,l)},[])}var Tk=typeof requestAnimationFrame>"u"?setTimeout:function(a){var l=function(){clearTimeout(c),cancelAnimationFrame(o),a()},c=setTimeout(l,35),o=requestAnimationFrame(l)},Ek=function(a){queueMicrotask(function(){queueMicrotask(a)})};function qk(){ue(function(){var a;while(a=As.shift())Ji.call(a)})}function Wk(){if(As.push(this)===1)(p1.requestAnimationFrame||Tk)(qk)}function bk(){ue(function(){var a;while(a=ms.shift())Ji.call(a)})}function us(){if(ms.push(this)===1)(p1.requestAnimationFrame||Ek)(bk)}function Y5(a,l){var c=y(a);c.current=a,X(function(){return o7(function(){return this.N=Wk,c.current()},l)},[])}function R3(a,l,c){let o=new Date(a.toString());switch(l.toLowerCase()){case"year":o.setFullYear(o.getFullYear()+c);break;case"quarter":o.setMonth(o.getMonth()+3*c);break;case"month":o.setMonth(o.getMonth()+c);break;case"week":o.setDate(o.getDate()+7*c);break;case"day":o.setDate(o.getDate()+c);break;case"hour":o.setTime(o.getTime()+c*3600000);break;case"minute":o.setTime(o.getTime()+c*60000);break;case"second":o.setTime(o.getTime()+c*1000);break;default:o=void 0;break}return o}function O1(...a){return a.filter((l)=>!B5(l)).map((l)=>l.replace(/^[\\|/]/,"").replace(/[\\|/]$/,"")).join("/").replace(/\\/g,"/")}function Q7(){let a=Date.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(l){let c=(a+Math.random()*16)%16|0;return a=Math.floor(a/16),(l==="x"?c:c&3|8).toString(16)})}function f5(a){return typeof a==="function"}function y0(a){return Array.isArray(a)}function w0(a){return/^https?:\/\/|^\/\//i.test(a)}function B5(a){return typeof a>"u"||a===null||a.length<1}function H0(a){return typeof a<"u"&&a!==null}function Fe(a){return JSON.stringify(a)}function b1(a,l){return Object.hasOwnProperty.call(a,l)}function ss(a){let l=0;if(a.length===0)return l;for(let c=0;c<a.length;c++){let o=a.charCodeAt(c);l=(l<<5)-l+o,l|=0}return l}function Vs(a){return new Promise((l)=>{setTimeout(l,a)})}var $i;function fs(){if(typeof $i>"u")$i=new Fs;return $i}class Yi{constructor(a){this.store=a,this.enabled=this.test()}get(a){if(!this.enabled)return null;let l=this.store.getItem(a);if(!H0(l))return null;let c=JSON.parse(l);if(new Date(c.expiration)<=/*@__PURE__*/new Date)return this.delete(a),null;else return c.value}put(a,l,c){if(this.enabled)this.store.setItem(a,this.createPersistable(l,c))}delete(a){if(this.enabled)this.store.removeItem(a)}async getOrPut(a,l,c){if(!this.enabled)return l();let o=this.get(a);if(o===null)o=await l(),this.put(a,o,c);return o}async deleteExpired(){if(!this.enabled)return;for(let a=0;a<this.store.length;a++){let l=this.store.key(a);if(l!==null){if(/["|']?pnp["|']? ?: ?1/i.test(this.store.getItem(l)))await this.get(l)}}}test(){try{return this.store.setItem("t","t"),this.store.removeItem("t"),!0}catch(l){return!1}}createPersistable(a,l){if(l===void 0)l=R3(/*@__PURE__*/new Date,"minute",5);return Fe({pnp:1,expiration:l,value:a})}}class Fs{constructor(a=/*@__PURE__*/new Map){this._store=a}get length(){return this._store.size}clear(){this._store.clear()}getItem(a){return this._store.get(a)}key(a){return Array.from(this._store)[a][0]}removeItem(a){this._store.delete(a)}setItem(a,l){this._store.set(a,l)}}class Xi{constructor(a=null,l=null){this._local=a,this._session=l}get local(){if(this._local===null)this._local=new Yi(typeof localStorage>"u"?fs():localStorage);return this._local}get session(){if(this._session===null)this._session=new Yi(typeof sessionStorage>"u"?fs():sessionStorage);return this._session}}function xe(){return function(a,...l){let c=[...a];for(let o=0;o<c.length;o++)Reflect.apply(c[o],this,l)}}function xs(){return function(a,...l){return[...a].reduce((o,r)=>Reflect.apply(r,this,o),l)}}function uc(){return async function(a,...l){return[...a].reduce((o,r)=>o.then((e)=>Reflect.apply(r,this,e)),Promise.resolve(l))}}function gs(){return async function(a,...l){if(!y0(a)||a.length<1)return;let c=a[0];return Reflect.apply(c,this,l)}}function ge(){return function(a,...l){let c=[...a];for(let o=0;o<c.length;o++)Reflect.apply(c[o],this,l);return this}}var ji=Symbol.for("ObserverLifecycleFlags"),Ls=(a)=>(l)=>!((l[ji]||0)&a),Cs=(a)=>(l)=>{return l[ji]=(l[ji]||0)|a,l},w4=Cs(1),$q1=Cs(2);class Ni{constructor(a,l={}){this.moments=a,this.observers=l,this._onProxy=null,this._emitProxy=null,this._inheritingObservers=!0}using(...a){for(let l=0;l<a.length;l++)a[l](this);return this}get on(){if(this._onProxy===null)this._onProxy=new Proxy(this,{get:(a,l)=>Object.assign((c)=>{return a.cloneObserversOnChange(),Ki(a.observers,l,c,1),a},{toArray:()=>{return Reflect.has(a.observers,l)?[...Reflect.get(a.observers,l)]:[]},replace:(c)=>{return a.cloneObserversOnChange(),Ki(a.observers,l,c,3),a},prepend:(c)=>{return a.cloneObserversOnChange(),Ki(a.observers,l,c,2),a},clear:()=>{if(Reflect.has(a.observers,l))return a.cloneObserversOnChange(),a.observers[l].length=0,!0;return!1}})});return this._onProxy}log(a,l=0){this.emit.log(a,l)}error(a){if(H0(a))this.emit.error(a)}get emit(){if(this._emitProxy===null)this._emitProxy=new Proxy(this,{get:(a,l)=>(...c)=>{let o=Reflect.has(a.observers,l)?Reflect.get(a.observers,l):[];if((!y0(o)||o.length<1)&&l==="error")throw Error(`Unhandled Exception: ${c[0]}`);try{let r=Reflect.has(a.moments,l)?Reflect.get(a.moments,l):l==="init"||l==="dispose"?ge():xe();return Reflect.apply(r,a,[o,...c])}catch(r){if(l!=="error")this.error(r);else throw r}finally{if(o&&o.length>0)Reflect.set(a.observers,l,o.filter(Ls(2)))}}});return this._emitProxy}start(a){this.emit.init();let l=this.execute(a);return l.finally(()=>{try{this.emit.dispose()}catch(c){let o=Object.assign(Error("Error in dispose."),{innerException:c});this.error(o)}}).catch(()=>{return}),l}cloneObserversOnChange(){if(this._inheritingObservers)this._inheritingObservers=!1,this.observers=av(this.observers)}}function Ki(a,l,c,o){if(!f5(c))throw Error("Observers must be functions.");if(!Reflect.has(a,l))a[l]=[c];else switch(o){case 1:a[l].push(c);break;case 2:a[l].unshift(c);break;case 3:a[l].length=0,a[l].push(c);break}return a[l]}function av(a){return Reflect.ownKeys(a).reduce((l,c)=>{return l[c]=[...a[c].filter(Ls(1))],l},{})}function sc(a,l="append",c){return(o)=>{return Reflect.apply(zk,o,[a,l,c])}}function zk(a,l,c){if(!H0(a)||!H0(a.observers))return this;if(!f5(c))c=()=>!0;let o=av(a.observers),r=Object.keys(o).filter(c);for(let e=0;e<r.length;e++){let h=r[e],Z=this.on[h];if(l==="replace")Z.clear();o[h].forEach((i)=>Z(i))}return this}var Qk={construct:ge(),pre:uc(),auth:uc(),send:gs(),parse:uc(),post:uc(),data:xe()},Vc=class extends Ni{constructor(l,c){super(Qk);this.InternalResolve=Symbol.for("Queryable_Resolve"),this.InternalReject=Symbol.for("Queryable_Reject"),this.InternalPromise=Symbol.for("Queryable_Promise"),this._query=new URLSearchParams,this.moments[this.InternalPromise]=xs();let o;if(typeof l==="string")this._url=O1(l,c);else if(y0(l)){if(l.length!==2)throw Error("When using the tuple param exactly two arguments are expected.");if(typeof l[1]!=="string")throw Error("Expected second tuple param to be a string.");o=l[0],this._url=O1(l[1],c)}else o=l,this._url=O1(o._url,c);if(typeof o<"u")this.observers=o.observers,this._inheritingObservers=!0}concat(l){return this._url+=l,this}toRequestUrl(){let l=this.toUrl(),c=this.query.toString();if(!B5(c))l+=`${l.indexOf("?")>-1?"&":"?"}${c}`;return l}get query(){return this._query}toUrl(){return this._url}execute(l){if(Reflect.ownKeys(this.observers).length<1)throw Error("No observers registered for this request. (https://pnp.github.io/pnpjs/queryable/queryable#no-observers-registered-for-this-request)");return setTimeout(async()=>{let c=Q7(),o,r=(e,h)=>{this.log(`[${c}] ${e}`,h)};try{r("Beginning request",0);let e={...l,headers:{...l.headers,"X-PnPjs-RequestId":c}},[h,Z,t]=await this.emit.pre(this.toRequestUrl(),e,void 0);if(r(`Url: ${h}`,1),typeof t<"u"){r("Result returned from pre, Emitting data"),this.emit.data(t),r("Emitted data");return}r("Emitting auth"),[o,Z]=await this.emit.auth(new URL(h),Z),r("Emitted auth"),Z={...Z,...l,headers:{...Z.headers,...l.headers}},r("Emitting send");let i=await this.emit.send(o,Z);r("Emitted send"),r("Emitting parse"),[o,i,t]=await this.emit.parse(o,i,t),r("Emitted parse"),r("Emitting post"),[o,t]=await this.emit.post(o,t),r("Emitted post"),r("Emitting data"),this.emit.data(t),r("Emitted data")}catch(e){r(`Emitting error: "${e.message||e}"`,3),this.error(e),r("Emitted error",3)}finally{r("Finished request",0)}},0),this.emit[this.InternalPromise](new Promise((c,o)=>{this.on[this.InternalResolve].replace(c),this.on[this.InternalReject].replace(o)}))[0]}};Vc=I1([Jk()],Vc);function lv(a,l={headers:{}}){return{method:a,...l,headers:{...l.headers}}}function cv(a){return this.start(lv("GET",a))}function Rs(a){return this.start(lv("POST",a))}function ws(a){return this.start(lv("PATCH",a))}function fc(a,l,c){return Reflect.apply(l,a,[c])}function Ss(a){return(l,c)=>{let o=new a(l,c);return o.emit.construct(l,c),o}}function Jk(a){return(l)=>{return new Proxy(l,{construct(c,o,r){let e=Object.assign(function(h){if(!f5(a))a=function(Z){return fc(this,cv,Z)};return Reflect.apply(a,e,[h])},Reflect.construct(c,o,r));return Reflect.setPrototypeOf(e,r.prototype),e}})}}function ov(a,l=!1){return(c)=>{let o=async function(r,e,h){return e.headers={...e.headers,...a},[r,e,h]};if(l)c.on.pre.prepend(o);else c.on.pre(o);return c}}function Le(){return X5(async(a)=>{if(a.headers.has("Content-Length")&&parseFloat(a.headers.get("Content-Length"))===0||a.status===204)return{};let l=await a.text(),c=l.replace(/\s/ig,"").length>0?JSON.parse(l):{};return rv(c)})}function l8(){return X5((a)=>a.text())}function Gs(){return X5((a)=>a.blob())}function Ce(){return X5((a)=>a.json())}function Us(){return X5((a)=>f5(a.arrayBuffer)?a.arrayBuffer():a.buffer())}async function Ik(a,l,c){if(!l.ok)throw await S4.init(l);return[a,l,c]}function rv(a){let l=a;if(b1(a,"d"))if(b1(a.d,"results"))l=a.d.results;else l=a.d;else if(b1(a,"value"))l=a.value;return l}function X5(a){return(l)=>{return l.on.parse.replace(Ik),l.on.parse(async(c,o,r)=>{if(o.ok&&typeof r>"u")r=await a(o);return[c,o,r]}),l}}class S4 extends Error{constructor(a,l,c=l.status,o=l.statusText){super(a);this.response=l,this.status=c,this.statusText=o,this.isHttpRequestError=!0}static async init(a){let l=await a.clone().text();return new S4(`Error making HttpClient request in queryable [${a.status}] ${a.statusText} ::> ${l}`,a)}}function Re(a){let{interval:l,replace:c,retries:o}={replace:!0,interval:200,retries:3,...a};return(r)=>{if(c)r.on.send.clear();return r.on.send(function(e,h){let Z,t=l,i=0,n,v=async()=>{if(i>=o)throw n||new S4(`Retry count exceeded (${o}) for this request. ${Z.status}: ${Z.statusText};`,Z);if(i++,typeof Z>"u"||(Z===null||Z===void 0?void 0:Z.status)===429||(Z===null||Z===void 0?void 0:Z.status)===503||(Z===null||Z===void 0?void 0:Z.status)===504){if(typeof Z<"u"){if(Z.headers.has("Retry-After"))t=parseInt(Z.headers.get("Retry-After"),10)*1000;else t*=2;this.log(`Attempt #${i} to retry request which failed with ${Z.status}: ${Z.statusText}`,0),await Vs(t)}try{let d=e.toString();return this.log(`Fetch: ${h.method} ${d}`,0),Z=await fetch(d,h),Z.ok?Z:v()}catch(d){if(/AbortError/.test(d.name))throw d;return n=d,v()}}else return Z};return v()}),r}}function ev(){return(a)=>{return a.on.pre.prepend(async function(l,c,o){return c.headers={...c.headers,"X-PnP-CacheNever":"1"},[l,c,o]}),a}}function Bs(a){return(l)=>{return l.on.pre(async function(c,o,r){let[e,h,Z]=ks(c,o,a);if(e){let t=h();if(t===null)this.on.post(w4(async function(i,n){return Z(n),[i,n]}));else r=t}return[c,o,r]}),l}}var Ds=new Xi;function ks(a,l,c){var o,r;let{store:e,keyFactory:h,expireFunc:Z}={store:"local",keyFactory:(n)=>ss(n.toLowerCase()).toString(),expireFunc:()=>R3(/*@__PURE__*/new Date,"minute",5),...c},t=e==="session"?Ds.session:Ds.local,i=(l===null||l===void 0?void 0:l.headers["X-PnP-CacheKey"])?l.headers["X-PnP-CacheKey"]:h(a);return[(/get/i.test(l.method)||((o=l===null||l===void 0?void 0:l.headers["X-PnP-CacheAlways"])!==null&&o!==void 0?o:!1))&&!((r=l===null||l===void 0?void 0:l.headers["X-PnP-CacheNever"])!==null&&r!==void 0?r:!1),()=>t.get(i),(n)=>t.put(i,n,Z(a))]}var ys="__CancelMoment__",c8=Symbol.for("CancelScopeId"),Fc=/*@__PURE__*/new Map;async function $k(a){let l=Fc.get(a);if(l.controller.abort(),y0(l===null||l===void 0?void 0:l.actions))l.actions.map((c)=>l.currentSelf.on[ys](c));try{await l.currentSelf.emit[ys]()}catch(c){l.currentSelf.log(`Error in cancel: ${c}`,3)}}function Yk(a){let l=Q7();return a[c8]=l,Fc.set(l,{cancel:$k.bind({},l),actions:[],controller:null,currentSelf:a}),l}var Xk=(a)=>{return function(...l){if(!Reflect.has(this,c8))Yk(this);let c=a.apply(this,l).finally(()=>{Fc.delete(this[c8]),delete this[c8]});return c.cancel=Fc.get(this[c8]).cancel,c}};function e7(a,l,c){c.value=Xk(c.value)}function hv(a){return(l)=>{return l.on.pre(async function(...c){let o=Fc.get(this[c8]);if(H0(o)){if(!y0(o.actions))o.actions=[];if(o.actions.indexOf(a)<0)o.actions.push(a)}return c}),l}}function Os(){return(a)=>{return a.on.data(function(l){this.emit[this.InternalResolve](l)}),a}}function Ps(){return(a)=>{return a.on.error(function(l){this.emit[this.InternalReject](l)}),a}}function O0(a,l,c,o){Reflect.defineProperty(a.prototype,l,{configurable:!0,enumerable:!0,get:function(){return c(this,o||l)}})}function D1(a,l){return Object.assign({body:Fe(a)},l)}function o8(a,l){return Object.assign({},l,{headers:{...l===null||l===void 0?void 0:l.headers,...a}})}var Kk="This folder contains extensions that are loaded by the SPFxExtensions application.";async function we(a){try{await a.web.lists.ensure(w1,Kk,101,!1,{Hidden:!0})}catch(l){if(l instanceof S4){if(l.message.includes("-2130575342"))return}throw l}}async function Ts(a,l,c){let o=`${l}/${w1}/${c}`,r=await a.web.lists.getByTitle(w1).items.filter(`startswith(FileDirRef,'${o}') and FSObjType eq 0`).select("Id")();if(r.length>0){let[h,Z]=a.web.batched();r.forEach((t)=>{h.lists.getByTitle(w1).items.getById(t.Id).delete()}),await Z()}let e=a.web.lists.getByTitle(w1).rootFolder.folders.getByUrl(c);await Es(e)}async function Es(a){let l=await a.folders();for(let c of l)await Es(a.folders.getByUrl(c.Name));await a.delete()}var $1=(a)=>{return Ss(a)};class w3 extends Vc{constructor(a,l){if(typeof a==="string"){let c="",o="";if(w0(a)||a.lastIndexOf("/")<0)o=a,c=O1(a,l);else if(a.lastIndexOf("/")>a.lastIndexOf("(")){let r=a.lastIndexOf("/");o=a.slice(0,r),l=O1(a.slice(r),l),c=O1(o,l)}else{let r=a.lastIndexOf("(");o=a.slice(0,r),c=O1(a,l)}super(c);this.parentUrl=o}else{super(a,l);let c=y0(a)?a[0]:a;this.parentUrl=y0(a)?a[1]:c.toUrl()}}toRequestUrl(){let a=new URLSearchParams(this.query),l=this.toUrl().replace(/'!(@.+?)::((?:[^']|'')+)'/ig,(o,r,e)=>{return this.log(`Rewriting aliased parameter from match ${o} to label: ${r} value: ${e}`,0),a.set(r,`'${e}'`),r}),c=a.toString();if(!B5(c))l+=`${l.indexOf("?")>-1?"&":"?"}${c}`;return l}select(...a){if(a.length>0)this.query.set("$select",a.join(","));return this}expand(...a){if(a.length>0)this.query.set("$expand",a.join(","));return this}getParent(a,l,c=this.parentUrl){return a([this,c],l)}}var G0=$1(w3);class c5 extends w3{filter(a){if(typeof a==="object")return this.query.set("$filter",a.toString()),this;if(typeof a==="function")return this.query.set("$filter",a(Se.Where()).toString()),this;return this.query.set("$filter",a.toString()),this}orderBy(a,l=!0){let o=this.query.has("$orderby")?this.query.get("$orderby").split(","):[];return o.push(`${a} ${l?"asc":"desc"}`),this.query.set("$orderby",o.join(",")),this}skip(a){return this.query.set("$skip",a.toString()),this}top(a){return this.query.set("$top",a.toString()),this}}var k5=$1(c5);class Q0 extends w3{}var K5=$1(Q0);function Ue(){return function(){return Ws(this)}}function J7(){return function(a="*"){return jk(this,{},a)}}var qs=(a,l)=>{return fc(a,cv,l)},K=(a,l)=>fc(a,Rs,l),e8=(a,l)=>{return l=l||{},l.headers={...l.headers,"X-HTTP-Method":"MERGE"},K(a,l)},Ws=(a,l)=>{return l=l||{},l.headers={...l.headers||{},"X-HTTP-Method":"DELETE"},K(a,l)},jk=(a,l,c="*")=>{return l=l||{},l.headers={...l.headers||{},"IF-Match":c},Ws(a,l)};var bs=(a,l)=>fc(a,ws,l),S0;(function(a){a.Equals="eq",a.NotEquals="ne",a.GreaterThan="gt",a.GreaterThanOrEqualTo="ge",a.LessThan="lt",a.LessThanOrEqualTo="le",a.StartsWith="startswith",a.SubstringOf="substringof"})(S0||(S0={}));var l5;(function(a){a.And="and",a.AndWithSpace=" and ",a.Or="or",a.OrWithSpace=" or "})(l5||(l5={}));class Se{static Where(){return new Js([])}}class gc{constructor(a){this.query=[],this.query=a}}class r8 extends gc{constructor(a){super(a)}text(a){return new xc([...this.query,a])}choice(a){return new xc([...this.query,a])}multiChoice(a){return new xc([...this.query,a])}number(a){return new Ge([...this.query,a])}date(a){return new Ys([...this.query,a])}boolean(a){return new $s([...this.query,a])}lookup(a){return new Is([...this.query],a)}lookupId(a){let l=a.endsWith("Id")?a:`${a}Id`;return new Ge([...this.query,l])}}class zs extends r8{or(...a){return new v0([...this.query,`(${a.map((l)=>l.toString()).join(l5.OrWithSpace)})`])}}class Qs extends r8{and(...a){return new v0([...this.query,`(${a.map((l)=>l.toString()).join(l5.AndWithSpace)})`])}}class Js extends r8{or(...a){if(a==null||a.length===0)return new r8([...this.query,l5.Or]);return new v0([...this.query,`(${a.map((l)=>l.toString()).join(l5.OrWithSpace)})`])}and(...a){if(a==null||a.length===0)return new r8([...this.query,l5.And]);return new v0([...this.query,`(${a.map((l)=>l.toString()).join(l5.AndWithSpace)})`])}}class Is extends gc{constructor(a,l){super(a);this.LookupField=l}Id(a){return new v0([...this.query,`${this.LookupField}/Id`,S0.Equals,a.toString()])}text(a){return new xc([...this.query,`${this.LookupField}/${a}`])}number(a){return new Ge([...this.query,`${this.LookupField}/${a}`])}}class Zv extends gc{constructor(a){super(a);this.LastIndex=a.length-1,this.InternalName=a[this.LastIndex]}toODataValue(a){return`'${a}'`}isNull(){return new v0([...this.query,S0.Equals,"null"])}isNotNull(){return new v0([...this.query,S0.NotEquals,"null"])}}class tv extends Zv{equals(a){return new v0([...this.query,S0.Equals,this.toODataValue(a)])}notEquals(a){return new v0([...this.query,S0.NotEquals,this.toODataValue(a)])}in(...a){return Se.Where().or(...a.map((l)=>this.equals(l)))}notIn(...a){return Se.Where().and(...a.map((l)=>this.notEquals(l)))}}class xc extends tv{startsWith(a){let l=`${S0.StartsWith}(${this.InternalName}, ${this.toODataValue(a)})`;return this.query[this.LastIndex]=l,new v0([...this.query])}contains(a){let l=`${S0.SubstringOf}(${this.toODataValue(a)}, ${this.InternalName})`;return this.query[this.LastIndex]=l,new v0([...this.query])}}class $s extends Zv{toODataValue(a){return`${a==null?"null":a?1:0}`}isTrue(){return new v0([...this.query,S0.Equals,this.toODataValue(!0)])}isFalse(){return new v0([...this.query,S0.Equals,this.toODataValue(!1)])}isFalseOrNull(){let a=`(${[this.InternalName,S0.Equals,this.toODataValue(null),l5.Or,this.InternalName,S0.Equals,this.toODataValue(!1)].join(" ")})`;return this.query[this.LastIndex]=a,new v0([...this.query])}}class iv extends tv{greaterThan(a){return new v0([...this.query,S0.GreaterThan,this.toODataValue(a)])}greaterThanOrEquals(a){return new v0([...this.query,S0.GreaterThanOrEqualTo,this.toODataValue(a)])}lessThan(a){return new v0([...this.query,S0.LessThan,this.toODataValue(a)])}lessThanOrEquals(a){return new v0([...this.query,S0.LessThanOrEqualTo,this.toODataValue(a)])}}class Ge extends iv{toODataValue(a){return`${a}`}}class Ys extends iv{toODataValue(a){return`'${a.toISOString()}'`}isBetween(a,l){let c=`(${[this.InternalName,S0.GreaterThan,this.toODataValue(a),l5.And,this.InternalName,S0.LessThan,this.toODataValue(l)].join(" ")})`;return this.query[this.LastIndex]=c,new v0([...this.query])}isToday(){let a=/*@__PURE__*/new Date;a.setHours(0,0,0,0);let l=/*@__PURE__*/new Date;return l.setHours(23,59,59,999),this.isBetween(a,l)}}class v0 extends gc{and(...a){if(a==null||a.length===0)return new zs([...this.query,l5.And]);return new v0([...this.query,l5.And,`(${a.map((l)=>l.toString()).join(l5.AndWithSpace)})`])}or(...a){if(a==null||a.length===0)return new Qs([...this.query,l5.Or]);return new v0([...this.query,l5.Or,`(${a.map((l)=>l.toString()).join(l5.OrWithSpace)})`])}toString(){return this.query.join(" ")}}function J0(a){return function(l){return class extends l{constructor(...c){super(c[0],c.length>1&&c[1]!==void 0?c[1]:a)}}}}class C2{constructor(a=""){this._root=G0(a)}using(...a){return this._root.using(...a),this}create(a,l){return a(this._root,l)}}function h8(a=""){if(typeof a==="object"&&!Reflect.has(a,"length"))a=a._root;return new C2(a)}var Lc="00000000-0000-0000-0000-000000000000",Xs;(function(a){a[a.None=0]="None",a[a.User=1]="User",a[a.DistributionList=2]="DistributionList",a[a.SecurityGroup=4]="SecurityGroup",a[a.SharePointGroup=8]="SharePointGroup",a[a.All=15]="All"})(Xs||(Xs={}));var Ks;(function(a){a[a.None=0]="None",a[a.UserInfoList=1]="UserInfoList",a[a.Windows=2]="Windows",a[a.MembershipProvider=4]="MembershipProvider",a[a.RoleProvider=8]="RoleProvider",a[a.All=15]="All"})(Ks||(Ks={}));var js;(function(a){a[a.Invalid=-1]="Invalid",a[a.DefaultView=0]="DefaultView",a[a.NormalView=1]="NormalView",a[a.DialogView=2]="DialogView",a[a.View=3]="View",a[a.DisplayForm=4]="DisplayForm",a[a.DisplayFormDialog=5]="DisplayFormDialog",a[a.EditForm=6]="EditForm",a[a.EditFormDialog=7]="EditFormDialog",a[a.NewForm=8]="NewForm",a[a.NewFormDialog=9]="NewFormDialog",a[a.SolutionForm=10]="SolutionForm",a[a.PAGE_MAXITEMS=11]="PAGE_MAXITEMS"})(js||(js={}));function r0(a){if(B5(a))return"";let l=a.indexOf("_api/");if(l<0)l=a.indexOf("_vti_bin/");if(l>-1)return a.substring(0,l);return a}function R2(a){let l=[],c=["odata.type","odata.editLink","__metadata","odata.metadata","odata.id"];if(b1(a,c[0])&&a[c[0]]==="SP.Web"){if(b1(a,c[4]))l.push(a[c[4]]);else if(b1(a,c[2]))l.push(a.__metadata.uri)}else if(b1(a,c[3])&&b1(a,c[1])){let o=w0(a[c[1]])?a[c[1]].split("_api")[1]:a[c[1]];l.push(r0(a[c[3]]),"_api",o)}else if(b1(a,c[1]))l.push("_api",a[c[1]]);else if(b1(a,c[2]))l.push(a.__metadata.uri);if(l.length<1)return"";return O1(...l)}function h7(a){return{DecodedUrl:a}}function W1(a){if(B5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,o)=>{return`!${c}::${o.replace(/'/ig,"''")}`});else return encodeURIComponent(a.replace(/'/ig,"''"))}function Ns(){return(a)=>{return a.on.pre(async function(l,c,o){let r="PnPCoreJS:4.18.0:",{pathname:e}=new URL(l);if(r=e.split("/").filter((h)=>!B5(h)&&["_api","v2.1","v2.0"].indexOf(h)<0).map((h,Z,t)=>Z===t.length-1?h.replace(/\(.*?$/i,"()"):h[0]).join("."),r.length>32)r=r.substring(0,32);return this.log(`Request Tag: ${r}`,0),c.headers={...c.headers,["X-ClientService-ClientTag"]:r},[l,c,o]}),a}}function De(){return(a)=>{return a.on.pre(async(l,c,o)=>{return c.cache="no-cache",c.credentials="same-origin",[l,c,o]}),a.using(Ns(),Ps(),Os()),a}}function Be(){return(a)=>{return a.using(ov({Accept:"application/json","Content-Type":"application/json;charset=utf-8"})),a}}var nv=class extends c5{async add(l,c,o="",r="STS",e=1033,h=!0){let Z=D1({parameters:{Description:o,Language:e,Title:l,Url:c,UseSamePermissionsAsParentSite:h,WebTemplate:r}});return K(dv(this,"add"),Z)}};nv=I1([J0("webs")],nv);var dv=$1(nv);function vv(a,l){let c="_api/web",o=/(_api[/|\\](site\/rootweb|site|web))/i.exec(a);if((o===null||o===void 0?void 0:o.length)>0)a=r0(a),c=o[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=O1(a,c);return a}var a0=class extends Q0{constructor(l,c){if(typeof l==="string")l=vv(l,c);else if(y0(l))l=[l[0],vv(l[1],c)];else l=[l,vv(l.toUrl(),c)];super(l,c);this.delete=Ue()}get webs(){return dv(this)}get allProperties(){return K5(this,"allproperties")}get webinfos(){return k5(this,"webinfos")}async getParentWeb(){let{Url:l,ParentWeb:c}=await this.select("Url","ParentWeb/ServerRelativeUrl").expand("ParentWeb")();if(c===null||c===void 0?void 0:c.ServerRelativeUrl)return e0([this,O1(new URL(l).origin,c.ServerRelativeUrl)]);return null}async update(l){return e8(this,D1(l))}applyTheme(l,c,o,r){let e=D1({backgroundImageUrl:o,colorPaletteUrl:l,fontSchemeUrl:c,shareGenerated:r});return K(e0(this,"applytheme"),e)}applyWebTemplate(l){return K(e0(this,`applywebtemplate(webTemplate='${W1(l)}')`))}getChanges(l){return K(e0(this,"getchanges"),D1({query:l}))}mapToIcon(l,c=0,o=""){return e0(this,`maptoicon(filename='${W1(l)}',progid='${W1(o)}',size=${c})`)()}getStorageEntity(l){return e0(this,`getStorageEntity('${W1(l)}')`)()}setStorageEntity(l,c,o="",r=""){return K(e0(this,"setStorageEntity"),D1({comments:r,description:o,key:l,value:c}))}removeStorageEntity(l){return K(e0(this,`removeStorageEntity('${W1(l)}')`))}getSubwebsFilteredForCurrentUser(l=-1,c=-1){return k5(this,`getSubwebsFilteredForCurrentUser(nWebTemplateFilter=${l},nConfigurationFilter=${c})`)}availableWebTemplates(l=1033,c=!0){return k5(this,`getavailablewebtemplates(lcid=${l},doincludecrosslanguage=${c})`)}};a0=I1([J0("_api/web")],a0);var e0=$1(a0);C2.prototype.batched=function(a){let l=h8(this),[c,o]=aV(l._root,a);return l.using(c),[l,o]};a0.prototype.batched=function(a){let l=e0(this),[c,o]=aV(l,a);return l.using(c),[l,o]};var Z8=Symbol.for("batch_registration"),G4=Symbol.for("batch_request");function Nk(){return X5(async(a)=>{let l=await a.text();return ay(l)})}class Mv extends w3{constructor(a,l=a.toUrl().replace(/_api[\\|/].*$/i,"")){super(l,"_api/$batch");this.requestBaseUrl=l,this.using(sc(a,"replace"),Nk()),this.on.dispose(()=>{a.using(sc(this,"replace",(c)=>/(auth|send|pre|init)/i.test(c)))})}}function aV(a,l){let c=[],o=[],r=[],e=new Mv(a),h=Q7(),Z=new Mv(a),{headersCopyPattern:t,maxRequests:i}={headersCopyPattern:/Accept|Content-Type|IF-Match/i,maxRequests:20,...l};return[(d)=>{return d.on.init(function(){if(f5(this[Z8]))throw Error("This instance is already part of a batch. Please review the docs at https://pnp.github.io/pnpjs/concepts/batching#reuse.");return c.push(new Promise((M)=>{this[Z8]=M})),this}),d.on.pre(async function(M,_,p){if(b1(_.headers,"X-PnP-BatchNever")){if(typeof this[G4]==="function")this[G4](),delete this[G4];return this.using(sc(Z,"replace",(A)=>/(init|pre)/i.test(A))),[M,_,p]}return this.on.auth.clear(),this.on.send.replace(async function(A,m){let u=new Promise((V)=>{r.push([this,A.toString(),m,V])});return this.log(`[batch:${h}] (${(/*@__PURE__*/new Date()).getTime()}) Adding request ${m.method} ${A.toString()} to batch.`,0),o.push(new Promise((V)=>{this[G4]=V})),this[Z8](),u}),this.on.dispose(function(){if(f5(this[Z8]))this[Z8](),delete this[Z8];if(f5(this[G4]))this[G4](),delete this[G4],this.using(sc(Z,"replace",(A)=>/(auth|pre|send|init|dispose)/i.test(A)))}),[M,_,p]}),d},async()=>{if(await Promise.all(c),r.length<1)return Promise.all(o).then(()=>{return});let d=r.slice();while(d.length>0){let M=d.splice(0,i),_=[],p="";for(let m=0;m<M.length;m++){let[,u,V]=M[m];if(V.method==="GET"){if(p.length>0)_.push(`--changeset_${p}--
|
|
151
|
+
);}`,".fwd2bol{animation-name:f1keuaan;}",".f14gig94{animation-name:f10x8f8u;}",".f1a27w2r{animation-duration:3s;}",".f452v7t{animation-timing-function:linear;}",".f1cpbl36{animation-iteration-count:infinite;}",".ftywsgz{background-color:var(--colorCompoundBrandBackground);}",".fdl5y0r{background-color:var(--colorPaletteRedBackground3);}",".f1s438gw{background-color:var(--colorPaletteDarkOrangeBackground3);}",".flxk52p{background-color:var(--colorPaletteGreenBackground3);}"],k:["@keyframes f1keuaan{0%{left:-33%;}100%{left:100%;}}","@keyframes f10x8f8u{0%{right:-33%;}100%{right:100%;}}","@keyframes ftc26vs{0%{opacity:.2;}50%{opacity:1;}100%{opacity:.2;}}"]}),rl=(a)=>{let{color:l,max:c,shape:o,thickness:r,value:e}=a,h=DG(),Z=BG();if(a.root.className=S(ol.root,h.root,h[o],h[r],a.root.className),a.bar)a.bar.className=S(ol.bar,Z.base,Z.brand,e===void 0&&Z.indeterminate,e!==void 0&&e>UG&&Z.nonZeroDeterminate,l&&e!==void 0&&Z[l],a.bar.className);if(a.bar&&e!==void 0)a.bar.style={width:Math.min(100,Math.max(0,e/c*100))+"%",...a.bar.style};return a};var P7=/*@__PURE__*/z((a,l)=>{let c=ll(a,l);return rl(c),I("useProgressBarStyles_unstable")(c),cl(c)});P7.displayName="ProgressBar";var lu=h2(void 0);var el=(a,l)=>{let{size:c="medium"}=a,o=cu(a,l),r=yG();return{size:c,...o,root:{...o.root,...r}}},cu=(a,l)=>{let{vertical:c=!1}=a,o={vertical:c,components:{root:"div"},root:U.always(o1("div",{role:"toolbar",ref:l,...c&&{"aria-orientation":"vertical"},...a}),{elementType:"div"})},[r,e]=kG({checkedValues:a.checkedValues,defaultCheckedValues:a.defaultCheckedValues,onCheckedValueChange:a.onCheckedValueChange}),h=Y((t,i,n,v)=>{if(i&&n){let M=[...(r===null||r===void 0?void 0:r[i])||[]];if(v)M.splice(M.indexOf(n),1);else M.push(n);e===null||e===void 0||e(t,{name:i,checkedItems:M})}}),Z=Y((t,i,n,v)=>{if(i&&n)e===null||e===void 0||e(t,{name:i,checkedItems:[n]})});return{...o,handleToggleButton:h,handleRadio:Z,checkedValues:r!==null&&r!==void 0?r:{}}},kG=(a)=>{let[l,c]=q0({state:a.checkedValues,defaultState:a.defaultCheckedValues,initialState:{}}),{onCheckedValueChange:o}=a,r=Y((e,{name:h,checkedItems:Z})=>{if(o)o(e,{name:h,checkedItems:Z});c((t)=>{return t?{...t,[h]:Z}:{[h]:Z}})});return[l,r]},yG=()=>{return ia({circular:!0,axis:"both"})};var hl=(a,l)=>{return J(a),/*@__PURE__*/g(lu.Provider,{value:l.toolbar,children:/*@__PURE__*/g(a.root,{children:a.root.children})})};var Or={root:"fui-Toolbar"},OG=/*@__PURE__*/D({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},vertical:{Beiy3e4:"f1vx9l62",a9b677:"f1acs6jw"},small:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"fvz760z"},medium:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1yqiaad"},large:{Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1ms6bdn"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",[".f1yqiaad{padding:4px 8px;}",{p:-1}],".f1vx9l62{flex-direction:column;}",".f1acs6jw{width:fit-content;}",[".fvz760z{padding:0px 4px;}",{p:-1}],[".f1yqiaad{padding:4px 8px;}",{p:-1}],[".f1ms6bdn{padding:4px 20px;}",{p:-1}]]}),Zl=(a)=>{let l=OG(),{vertical:c,size:o}=a;return a.root.className=S(Or.root,l.root,c&&l.vertical,o==="small"&&!c&&l.small,o==="medium"&&!c&&l.medium,o==="large"&&!c&&l.large,a.root.className),a};function Pr(a){let{size:l,handleToggleButton:c,vertical:o,checkedValues:r,handleRadio:e}=a;return{toolbar:{size:l,vertical:o,handleToggleButton:c,handleRadio:e,checkedValues:r}}}var H4=/*@__PURE__*/z((a,l)=>{let c=el(a,l),o=Pr(c);return Zl(c),I("useToolbarStyles_unstable")(c),hl(c,o)});H4.displayName="Toolbar";var TG=/*@__PURE__*/D({vertical:{Beiy3e4:"f1vx9l62"},verticalIcon:{Be2twd7:"f1rt2boy",jrapky:0,Frg6f3:0,t21cq0:0,B6of3ja:0,B74szlk:"f1s184ao"}},{d:[".f1vx9l62{flex-direction:column;}",".f1rt2boy{font-size:24px;}",[".f1s184ao{margin:0;}",{p:-1}]]}),tl=(a)=>{let l=TG();if(a.root.className=S(a.vertical&&l.vertical,a.root.className),a.icon)a.icon.className=S(a.vertical&&l.verticalIcon,a.icon.className);n3(a)};var il=(a,l)=>{return{appearance:"subtle",size:"medium",shape:"rounded",...ou(a,l)}},ou=(a,l)=>{let{vertical:c=!1,...o}=a,r=i3({appearance:"subtle",...o,size:"medium"},l);return{vertical:c,...r}};var m2=/*@__PURE__*/z((a,l)=>{let c=il(a,l);return tl(c),I("useToolbarButtonStyles_unstable")(c),Z3(c)});m2.displayName="ToolbarButton";var ru=e1(void 0),lU={size:"medium",noNativeElements:!1,sortable:!1},eu=ru.Provider,I5=()=>{var a;return(a=l1(ru))!==null&&a!==void 0?a:lU};var vl=(a,l)=>{let{noNativeElements:c,size:o}=I5();var r;let e=((r=a.as)!==null&&r!==void 0?r:c)?"div":"td";return{components:{root:e},root:U.always(o1(e,{ref:l,role:e==="div"?"cell":void 0,...a}),{elementType:e}),noNativeElements:c,size:o}};var nl=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var Tr="fui-TableCell",Er={root:Tr},cU=/*@__PURE__*/D({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"},medium:{Bqenvij:"f1ft4266"},small:{Bqenvij:"fbsu25e"},"extra-small":{Bqenvij:"frvgh55"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}",".f1ft4266{height:44px;}",".fbsu25e{height:34px;}",".frvgh55{height:24px;}"]}),oU=/*@__PURE__*/D({root:{mc9l5x:"f22iagw",Bf4jedk:"f10tiqix",Bt984gj:"f122n59",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},medium:{sshi5w:"f5pgtk9"},small:{sshi5w:"fcep9tg"},"extra-small":{sshi5w:"f1pha7fy"}},{d:[".f22iagw{display:flex;}",".f10tiqix{min-width:0px;}",".f122n59{align-items:center;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f5pgtk9{min-height:44px;}",".fcep9tg{min-height:34px;}",".f1pha7fy{min-height:24px;}"]}),rU=/*@__PURE__*/D({root:{qhf8xq:"f10pi13n",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"}},{d:[".f10pi13n{position:relative;}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}]]}),dl=(a)=>{let l=rU(),c={table:cU(),flex:oU()};return a.root.className=S(Er.root,l.root,a.noNativeElements?c.flex.root:c.table.root,a.noNativeElements?c.flex[a.size]:c.table[a.size],a.root.className),a};var a7=/*@__PURE__*/z((a,l)=>{let c=vl(a,l);return dl(c),I("useTableCellStyles_unstable")(c),nl(c)});a7.displayName="TableCell";var hu=e1(void 0),eU="",Zu=hu.Provider,tu=()=>l1(hu)===eU;var Ml=(a,l)=>{let{noNativeElements:c,size:o}=I5();var r;let e=((r=a.as)!==null&&r!==void 0?r:c)?"div":"tr",h=w7(),Z=c2(),t=tu();var i;return{components:{root:e},root:U.always(o1(e,{ref:g1(l,h,Z),role:e==="div"?"row":void 0,...a}),{elementType:e}),size:o,noNativeElements:c,appearance:(i=a.appearance)!==null&&i!==void 0?i:"none",isHeaderRow:t}};var pl=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var qr="fui-TableRow",Wr={root:qr},hU=/*@__PURE__*/D({root:{mc9l5x:"f1u0rzck"}},{d:[".f1u0rzck{display:table-row;}"]}),ZU=/*@__PURE__*/D({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}"]}),tU=/*@__PURE__*/D({root:{sj55zd:"f19n0e5",B7ck84d:"f1ewtqcl",Bconypa:"f1jazu75",B6guboy:"f1xeqee6",Bfpq7zp:0,g9k6zt:0,Bn4voq9:0,giviqs:"f1dxfoyt",Bw81rd7:0,kdpuga:0,dm238s:0,B6xbmo0:0,B3whbx2:"f2krc9w"},rootInteractive:{B6guboy:"f1xeqee6",ecr2s2:"f1wfn5kd",lj723h:"f1g4hkjv",B43xm9u:"f15ngxrw",i921ia:"fjbbrdp",Jwef8y:"f1t94bn6",Bi91k9c:"feu1g3u",Bpt6rm4:"f1uorfem",ff6mpl:"fw60kww",Bahaeuw:"f1v3eptx",F230oe:"f8gmj8i",Bdw8ktp:["f1ap8nzx","fjag8bx"],Bj1xduy:"f1igan7k",Bhh2cfd:["fjag8bx","f1ap8nzx"]},medium:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},small:{B9xav0g:0,oivjwe:0,Bn0qgzm:0,Bgfg5da:"f1facbz3"},"extra-small":{Be2twd7:"fy9rknc"},brand:{De3pzq:"f16xkysk",g2u3we:"f1bh3yvw",h3c5rm:["fmi79ni","f11fozsx"],B9xav0g:"fnzw4c6",zhjwy3:["f11fozsx","fmi79ni"],ecr2s2:"f7tkmfy",lj723h:"f1r2dosr",wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq"},neutral:{wmvzou:0,sc4o1m:0,wymq9i:0,u9orzk:0,puiv5t:0,Bosien3:0,b2z72d:0,Beulxaw:0,B57pkaw:0,Jcjdmf:0,B8qgbzl:0,Bbmb0sr:0,B14q8qp:0,Bcq6wej:0,Byz1pjr:0,kr9cjb:0,Ff9ifp:"f1msmgpi",Bmclvqj:0,psczho:0,B0tx59b:0,sk7i8k:0,zlwzm7:"fbo0xvd",Bkp2nk:"fjuvmhu",gy0h4g:"f1kvufhq",De3pzq:"fq5gl1p",sj55zd:"f1cgsbmv",ecr2s2:"fa9o754",g2u3we:"frmsihh",h3c5rm:["frttxa5","f11o2r7f"],B9xav0g:"fem5et0",zhjwy3:["f11o2r7f","frttxa5"]},none:{}},{d:[".f19n0e5{color:var(--colorNeutralForeground1);}",".f1ewtqcl{box-sizing:border-box;}",".f1jazu75[data-fui-focus-within]:focus-within .fui-TableSelectionCell{opacity:1;}",".f1xeqee6[data-fui-focus-within]:focus-within .fui-TableCellActions{opacity:1;}",[".f1dxfoyt[data-fui-focus-visible]{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f2krc9w[data-fui-focus-visible]{border-radius:var(--borderRadiusMedium);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],[".f1facbz3{border-bottom:var(--strokeWidthThin) solid var(--colorNeutralStroke2);}",{p:-1}],".fy9rknc{font-size:var(--fontSizeBase200);}",".f16xkysk{background-color:var(--colorBrandBackground2);}",".f1bh3yvw{border-top-color:var(--colorTransparentStrokeInteractive);}",".fmi79ni{border-right-color:var(--colorTransparentStrokeInteractive);}",".f11fozsx{border-left-color:var(--colorTransparentStrokeInteractive);}",".fnzw4c6{border-bottom-color:var(--colorTransparentStrokeInteractive);}",".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}",".f1cgsbmv{color:var(--colorNeutralForeground1Hover);}",".frmsihh{border-top-color:var(--colorNeutralStrokeOnBrand);}",".frttxa5{border-right-color:var(--colorNeutralStrokeOnBrand);}",".f11o2r7f{border-left-color:var(--colorNeutralStrokeOnBrand);}",".fem5et0{border-bottom-color:var(--colorNeutralStrokeOnBrand);}"],a:[".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}",".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f15ngxrw:active .fui-TableCellActions{opacity:1;}",".fjbbrdp:active .fui-TableSelectionCell{opacity:1;}",".f7tkmfy:active{background-color:var(--colorBrandBackground2);}",".f1r2dosr:active{color:var(--colorNeutralForeground1);}",".fa9o754:active{background-color:var(--colorSubtleBackgroundSelected);}"],h:[".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}",".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1uorfem:hover .fui-TableCellActions{opacity:1;}",".fw60kww:hover .fui-TableSelectionCell{opacity:1;}"],m:[["@media (forced-colors: active){.f1v3eptx:hover{color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f8gmj8i:hover{border-top-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1ap8nzx:hover{border-right-color:Highlight;}.fjag8bx:hover{border-left-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1igan7k:hover{border-bottom-color:Highlight;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1msmgpi{border:2px solid transparent;}}",{p:-2,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fbo0xvd{border-radius:var(--borderRadiusMedium);}}",{p:-1,m:"(forced-colors: active)"}],["@media (forced-colors: active){.fjuvmhu{box-sizing:border-box;}}",{m:"(forced-colors: active)"}],["@media (forced-colors: active){.f1kvufhq:focus-visible{outline-offset:-4px;}}",{m:"(forced-colors: active)"}]]}),_l=(a)=>{let l=tU(),c={table:hU(),flex:ZU()};return a.root.className=S(Wr.root,l.root,!a.isHeaderRow&&l.rootInteractive,l[a.size],a.noNativeElements?c.flex.root:c.table.root,l[a.appearance],a.root.className),a};var F3=/*@__PURE__*/z((a,l)=>{let c=Ml(a,l);return _l(c),I("useTableRowStyles_unstable")(c),pl(c)});F3.displayName="TableRow";var Al=(a,l)=>{let{noNativeElements:c}=I5();var o;let r=((o=a.as)!==null&&o!==void 0?o:c)?"div":"tbody";return{components:{root:r},root:U.always(o1(r,{ref:l,role:r==="div"?"rowgroup":void 0,...a}),{elementType:r}),noNativeElements:c}};var ml=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var iU=/*@__PURE__*/D({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),vU=/*@__PURE__*/D({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),br="fui-TableBody";var Hl=(a)=>{let l={table:iU(),flex:vU()};return a.root.className=S(br,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var u4=/*@__PURE__*/z((a,l)=>{let c=Al(a,l);return Hl(c),I("useTableBodyStyles_unstable")(c),ml(c)});u4.displayName="TableBody";var ul=(a,l)=>{var c;let o=((c=a.as)!==null&&c!==void 0?c:a.noNativeElements)?"div":"table";var r,e,h;return{components:{root:o},root:U.always(o1(o,{ref:l,role:o==="div"?"table":void 0,...a}),{elementType:o}),size:(r=a.size)!==null&&r!==void 0?r:"medium",noNativeElements:(e=a.noNativeElements)!==null&&e!==void 0?e:!1,sortable:(h=a.sortable)!==null&&h!==void 0?h:!1}};var sl=(a,l)=>{return J(a),/*@__PURE__*/g(eu,{value:l.table,children:/*@__PURE__*/g(a.root,{})})};var zr="fui-Table";var nU=/*@__PURE__*/D({root:{mc9l5x:"f1w4nmp0",ha4doy:"fmrv4ls",a9b677:"fly5x3f",B73mfa3:"f14m3nip"}},{d:[".f1w4nmp0{display:table;}",".fmrv4ls{vertical-align:middle;}",".fly5x3f{width:100%;}",".f14m3nip{table-layout:fixed;}"]}),dU=/*@__PURE__*/D({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),MU=/*@__PURE__*/D({root:{po53p8:"fgkb47j",De3pzq:"fhovq9v"}},{d:[".fgkb47j{border-collapse:collapse;}",".fhovq9v{background-color:var(--colorSubtleBackground);}"]}),Vl=(a)=>{let l=MU(),c={table:nU(),flex:dU()};return a.root.className=S(zr,l.root,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a};function vu(a){let{size:l,noNativeElements:c,sortable:o}=a;return{table:v1(()=>({noNativeElements:c,size:l,sortable:o}),[c,l,o])}}var s4=/*@__PURE__*/z((a,l)=>{let c=ul(a,l);return Vl(c),I("useTableStyles_unstable")(c),sl(c,vu(c))});s4.displayName="Table";var fl=(a,l)=>{let{noNativeElements:c}=I5();var o;let r=((o=a.as)!==null&&o!==void 0?o:c)?"div":"thead";return{components:{root:r},root:U.always(o1(r,{ref:l,role:r==="div"?"rowgroup":void 0,...a}),{elementType:r}),noNativeElements:c}};var Fl=(a)=>{return J(a),/*@__PURE__*/g(Zu,{value:"",children:/*@__PURE__*/g(a.root,{})})};var Qr="fui-TableHeader";var pU=/*@__PURE__*/D({root:{mc9l5x:"ftgm304"}},{d:[".ftgm304{display:block;}"]}),_U=/*@__PURE__*/D({root:{mc9l5x:"f1tp1avn"}},{d:[".f1tp1avn{display:table-row-group;}"]}),xl=(a)=>{let l={table:_U(),flex:pU()};return a.root.className=S(Qr,a.noNativeElements?l.flex.root:l.table.root,a.root.className),a};var V4=/*@__PURE__*/z((a,l)=>{let c=fl(a,l);return xl(c),I("useTableHeaderStyles_unstable")(c),Fl(c)});V4.displayName="TableHeader";var AU={ascending:/*@__PURE__*/c1(qA,{fontSize:12}),descending:/*@__PURE__*/c1(EA,{fontSize:12})},gl=(a,l)=>{let{noNativeElements:c,sortable:o}=I5(),{sortable:r=o}=a;var e;let h=((e=a.as)!==null&&e!==void 0?e:c)?"div":"th",Z=U.always(a.button,{elementType:"div",defaultProps:{as:"div"}}),t=e2(Z.as,Z);var i;return{components:{root:h,button:"div",sortIcon:"span",aside:"span"},root:U.always(o1(h,{ref:g1(l,c2()),role:h==="div"?"columnheader":void 0,"aria-sort":r?(i=a.sortDirection)!==null&&i!==void 0?i:"none":void 0,...a}),{elementType:h}),aside:U.optional(a.aside,{elementType:"span"}),sortIcon:U.optional(a.sortIcon,{renderByDefault:!!a.sortDirection,defaultProps:{children:a.sortDirection?AU[a.sortDirection]:void 0},elementType:"span"}),button:r?t:Z,sortable:r,noNativeElements:c}};var Ll=(a)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[/*@__PURE__*/_1(a.button,{children:[a.root.children,a.sortIcon&&/*@__PURE__*/g(a.sortIcon,{})]}),a.aside&&/*@__PURE__*/g(a.aside,{})]})};var f4={root:"fui-TableHeaderCell",button:"fui-TableHeaderCell__button",sortIcon:"fui-TableHeaderCell__sortIcon",aside:"fui-TableHeaderCell__aside"},mU=/*@__PURE__*/D({root:{mc9l5x:"f15pt5es",ha4doy:"fmrv4ls"}},{d:[".f15pt5es{display:table-cell;}",".fmrv4ls{vertical-align:middle;}"]}),HU=/*@__PURE__*/D({root:{mc9l5x:"f22iagw",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr",Bf4jedk:"f10tiqix"}},{d:[".f22iagw{display:flex;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f10tiqix{min-width:0px;}"]}),uU=/*@__PURE__*/D({root:{Bhrd7zp:"figsok6",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f3gpkru",robkg1:0,Bmvh20x:0,B3nxjsc:0,Bmkhcsx:"f14ym4q2",B8osjzx:0,pehzd3:0,Blsv9te:0,u7xebq:0,Bsvwmf7:"f1euou18",qhf8xq:"f10pi13n"},rootInteractive:{Bi91k9c:"feu1g3u",Jwef8y:"f1t94bn6",lj723h:"f1g4hkjv",ecr2s2:"f1wfn5kd"},resetButton:{B3rzk8w:"fq6nmtn",B7ck84d:"f1e4lqlz",De3pzq:"f1u2r49w",sj55zd:"f1ym3bx4",Bahqtrf:"f1mo0ibp",Be2twd7:"fjoy568",Bg96gwp:"fytdu2e",B68tc82:0,Bmxbyg5:0,Bpg54ce:"f1gl81tg",Byoj8tv:0,uwmqm3:0,z189sj:0,z8tnut:0,B0ocmuz:"f1mk8lai",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh",fsow6f:"fgusgyc"},button:{qhf8xq:"f10pi13n",a9b677:"fly5x3f",mc9l5x:"f22iagw",Bh6795r:0,Bqenvij:"f1l02sjl",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"fkln5zr",sshi5w:"f1nxs5xn",xawz:0,Bnnss6s:0,fkmc3a:"f1izfyrr",oeaueh:"f1s6fcnf"},sortable:{Bceei9c:"f1k6fduh"},sortIcon:{mc9l5x:"f22iagw",Bt984gj:"f122n59",z8tnut:"fclwglc"},resizeHandle:{}},{d:[".figsok6{font-weight:var(--fontWeightRegular);}",[".f3gpkru{padding:0px var(--spacingHorizontalS);}",{p:-1}],[".f14ym4q2[data-fui-focus-within]:focus-within{outline:2px solid var(--colorStrokeFocus2);}",{p:-1}],[".f1euou18[data-fui-focus-within]:focus-within{border-radius:var(--borderRadiusMedium);}",{p:-1}],".f10pi13n{position:relative;}",".fq6nmtn{resize:horizontal;}",".f1e4lqlz{box-sizing:content-box;}",".f1u2r49w{background-color:inherit;}",".f1ym3bx4{color:inherit;}",".f1mo0ibp{font-family:inherit;}",".fjoy568{font-size:inherit;}",".fytdu2e{line-height:normal;}",[".f1gl81tg{overflow:visible;}",{p:-1}],[".f1mk8lai{padding:0;}",{p:-1}],[".f3bhgqh{border:none;}",{p:-2}],".fgusgyc{text-align:unset;}",".fly5x3f{width:100%;}",".f22iagw{display:flex;}",".fqerorx{flex-grow:1;}",".f1l02sjl{height:100%;}",".f122n59{align-items:center;}",[".fkln5zr{gap:var(--spacingHorizontalXS);}",{p:-1}],".f1nxs5xn{min-height:32px;}",[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1s6fcnf{outline-style:none;}",".f1k6fduh{cursor:pointer;}",".fclwglc{padding-top:var(--spacingVerticalXXS);}"],h:[".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}",".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}"],a:[".f1g4hkjv:active{color:var(--colorNeutralForeground1Pressed);}",".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}"]}),Cl=(a)=>{let l=uU(),c={table:mU(),flex:HU()};if(a.root.className=S(f4.root,l.root,a.sortable&&l.rootInteractive,a.noNativeElements?c.flex.root:c.table.root,a.root.className),a.button.className=S(f4.button,l.resetButton,l.button,a.sortable&&l.sortable,a.button.className),a.sortIcon)a.sortIcon.className=S(f4.sortIcon,l.sortIcon,a.sortIcon.className);if(a.aside)a.aside.className=S(f4.aside,l.resizeHandle,a.aside.className);return a};var F4=/*@__PURE__*/z((a,l)=>{let c=gl(a,l);return Cl(c),I("useTableHeaderCellStyles_unstable")(c),Ll(c)});F4.displayName="TableHeaderCell";var sU={medium:32,small:24,"extra-small":20},Rl=(a,l)=>{let{size:c}=I5();return{components:{root:"div",main:"span",description:"span",content:"div",media:"span"},root:U.always(o1("div",{ref:l,...a},["content"]),{elementType:"div"}),appearance:a.appearance,truncate:a.truncate,main:U.optional(a.main,{renderByDefault:!0,elementType:"span"}),media:U.optional(a.media,{elementType:"span"}),description:U.optional(a.description,{elementType:"span"}),content:U.optional(a.content,{renderByDefault:!!a.description||!!a.children,elementType:"div"}),avatarSize:sU[c],size:c}};var VU=e1(void 0);var Jr=VU.Provider;var wl=(a,l)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[a.media&&/*@__PURE__*/g(Jr,{value:l.avatar,children:/*@__PURE__*/g(a.media,{})}),a.content&&/*@__PURE__*/_1(a.content,{children:[a.main&&/*@__PURE__*/g(a.main,{children:a.root.children}),a.description&&/*@__PURE__*/g(a.description,{})]})]})};var x3={root:"fui-TableCellLayout",media:"fui-TableCellLayout__media",main:"fui-TableCellLayout__main",description:"fui-TableCellLayout__description",content:"fui-TableCellLayout__content"},FU=/*@__PURE__*/D({root:{mc9l5x:"f22iagw",Bt984gj:"f122n59",i8kkvl:0,Belr9w4:0,rmohyg:"faqewft",xawz:0,Bh6795r:0,Bnnss6s:0,fkmc3a:"f1izfyrr"},rootTruncate:{B68tc82:"f1p9o1ba"},content:{mc9l5x:"f22iagw",Beiy3e4:"f1vx9l62"},contentTruncate:{B68tc82:"f1p9o1ba"},media:{mc9l5x:"f22iagw",Bt984gj:"f122n59"},mediaExtraSmall:{Be2twd7:"f4ybsrx"},mediaSmallAndMedium:{Be2twd7:"fe5j1ua"},mediaPrimary:{Be2twd7:"f1rt2boy"},mainPrimary:{Bhrd7zp:"fl43uef"},mainTruncate:{B68tc82:"f1p9o1ba",Huce71:"fz5stix",ygn44y:"f1cmbuwj"},description:{sj55zd:"fkfq4zb",Bahqtrf:"fk6fouc",Be2twd7:"fy9rknc",Bhrd7zp:"figsok6",Bg96gwp:"fwrc4pm"}},{d:[".f22iagw{display:flex;}",".f122n59{align-items:center;}",[".faqewft{gap:var(--spacingHorizontalS);}",{p:-1}],[".f1izfyrr{flex:1 1 0px;}",{p:-1}],".f1p9o1ba{overflow-x:hidden;}",".f1vx9l62{flex-direction:column;}",".f4ybsrx{font-size:16px;}",".fe5j1ua{font-size:20px;}",".f1rt2boy{font-size:24px;}",".fl43uef{font-weight:var(--fontWeightSemibold);}",".fz5stix{white-space:nowrap;}",".f1cmbuwj{text-overflow:ellipsis;}",".fkfq4zb{color:var(--colorNeutralForeground2);}",".fk6fouc{font-family:var(--fontFamilyBase);}",".fy9rknc{font-size:var(--fontSizeBase200);}",".figsok6{font-weight:var(--fontWeightRegular);}",".fwrc4pm{line-height:var(--lineHeightBase200);}"]}),Sl=(a)=>{let l=FU(),{truncate:c}=a;a.root.className=S(x3.root,l.root,c&&l.rootTruncate,a.root.className);let o=a.appearance==="primary";if(a.media){let r={small:l.mediaSmallAndMedium,medium:l.mediaSmallAndMedium,"extra-small":l.mediaExtraSmall};a.media.className=S(x3.media,l.media,r[a.size],o&&l.mediaPrimary,a.media.className)}if(a.main)a.main.className=S(x3.main,c&&l.mainTruncate,o&&l.mainPrimary,a.main.className);if(a.description)a.description.className=S(x3.description,l.description,a.description.className);if(a.content)a.content.className=S(x3.content,l.content,c&&l.contentTruncate,a.content.className);return a};function pu(a){let{avatarSize:l}=a;return{avatar:v1(()=>({size:l}),[l])}}var l7=/*@__PURE__*/z((a,l)=>{let c=Rl(a,l);return Sl(c),I("useTableCellLayoutStyles_unstable")(c),wl(c,pu(c))});l7.displayName="TableCellLayout";var x0={show:"fui-toast-show",dismiss:"fui-toast-dismiss",dismissAll:"fui-toast-dismiss-all",update:"fui-toast-update",pause:"fui-toast-pause",play:"fui-toast-play"},v5={bottom:"bottom",bottomEnd:"bottom-end",bottomStart:"bottom-start",top:"top",topEnd:"top-end",topStart:"top-start"};var OD=0;function ui(a,l={},c){var o;let r={...l,content:a,toastId:(o=l.toastId)!==null&&o!==void 0?o:(OD++).toString()},e=new CustomEvent(x0.show,{bubbles:!1,cancelable:!1,detail:r});c.dispatchEvent(e)}function si(a,l=void 0,c){let o=new CustomEvent(x0.dismiss,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}function Vi(a=void 0,l){let c=new CustomEvent(x0.dismissAll,{bubbles:!1,cancelable:!1,detail:{toasterId:a}});l.dispatchEvent(c)}function fi(a,l){let c=new CustomEvent(x0.update,{bubbles:!1,cancelable:!1,detail:a});l.dispatchEvent(c)}function Fi(a,l=void 0,c){let o=new CustomEvent(x0.pause,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}function xi(a,l=void 0,c){let o=new CustomEvent(x0.play,{bubbles:!1,cancelable:!1,detail:{toastId:a,toasterId:l}});c.dispatchEvent(o)}function _u(a,l){for(let[c,o]of Object.entries(l))if(o!=null)a[c]=o}var PD={onStatusChange:void 0,priority:0,pauseOnHover:!1,pauseOnWindowBlur:!1,position:"bottom-end",timeout:3000},TD=0;function gi(a){let{limit:l=Number.POSITIVE_INFINITY}=a,c=/*@__PURE__*/new Set,o=/*@__PURE__*/new Map,r=v6((n,v)=>{let d=o.get(n),M=o.get(v);if(!d||!M)return 0;if(d.priority===M.priority)return d.order-M.order;return d.priority-M.priority});return{buildToast:(n,v)=>{var d;let{toastId:M,content:_,toasterId:p}=n;if(o.has(M))return;let u={...PD,close:()=>{var V;let s=o.get(M);if(!s)return;c.delete(M),v(),(V=s.onStatusChange)===null||V===void 0||V.call(s,null,{status:"dismissed",...s})},remove:()=>{if(!o.get(M))return;if(o.delete(M),c.size<l&&r.peek()){let s=o.get(r.dequeue());if(!s)return;c.add(s.toastId)}v()},toastId:M,content:_,updateId:0,toasterId:p,order:TD++,data:{},imperativeRef:h5()};if(_u(u,a),_u(u,n),o.set(M,u),(d=u.onStatusChange)===null||d===void 0||d.call(u,null,{status:"queued",...u}),c.size>=l)r.enqueue(M);else c.add(M)},dismissAllToasts:()=>{c.clear(),r.clear()},dismissToast:(n)=>{c.delete(n)},isToastVisible:(n)=>{return c.has(n)},updateToast:(n)=>{let{toastId:v}=n,d=o.get(v);if(!d)return;Object.assign(d,n),d.updateId++},visibleToasts:c,toasts:o}}var T7=(a,l,c)=>{let o={};var r;let e=c?ED(c)?c:(r=c[a])!==null&&r!==void 0?r:{}:{},h=a==="top"||a==="bottom",{horizontal:Z=h?0:20,vertical:t=16}=e,i=l==="ltr"?"left":"right",n=l==="ltr"?"right":"left";switch(a){case"top":Object.assign(o,{top:t,left:`calc(50% + ${Z}px)`,transform:"translateX(-50%)"});break;case"bottom":Object.assign(o,{bottom:t,left:`calc(50% + ${Z}px)`,transform:"translateX(-50%)"});break;case"top-start":Object.assign(o,{top:t,[i]:Z});break;case"top-end":Object.assign(o,{top:t,[n]:Z});break;case"bottom-start":Object.assign(o,{bottom:t,[i]:Z});break;case"bottom-end":Object.assign(o,{bottom:t,[n]:Z});break}return o};function ED(a){return"horizontal"in a||"vertical"in a}function Li(a={}){let l=t6(),{toasterId:c,shortcuts:o}=a,[r]=h1(()=>gi(a)),{targetDocument:e}=M1(),h=y(null),Z=Y((p)=>{return p===c}),t=Y((p)=>{if(o===null||o===void 0?void 0:o.focus)return o.focus(p)}),i=Q(()=>{r.visibleToasts.forEach((p)=>{var A;let m=r.toasts.get(p);m===null||m===void 0||(A=m.imperativeRef.current)===null||A===void 0||A.pause()})},[r]),n=Q(()=>{r.visibleToasts.forEach((p)=>{var A;let m=r.toasts.get(p);m===null||m===void 0||(A=m.imperativeRef.current)===null||A===void 0||A.play()})},[r]),v=Q(()=>{return Array.from(r.visibleToasts).reduce((p,A)=>{let m=r.toasts.get(A);if(!m)return p;if(!p)return m;if(p.order<(m===null||m===void 0?void 0:m.order))return m;return p},void 0)},[r]),d=Q(()=>{let p=v();if(p===null||p===void 0?void 0:p.imperativeRef.current)p.imperativeRef.current.focus();else{var A;(A=h.current)===null||A===void 0||A.focus(),h.current=null}},[v]),M=Q(()=>{r.visibleToasts.forEach((p)=>{let A=r.toasts.get(p);A===null||A===void 0||A.close()}),d()},[r,d]);X(()=>{if(!e)return;let p=(R,w)=>{let x=(B)=>{if(!Z(B.detail.toasterId))return;w(B),l()};return e.addEventListener(R,x),()=>e.removeEventListener(R,x)},A=(R)=>{r.buildToast(R.detail,l)},m=(R)=>{r.dismissToast(R.detail.toastId)},u=(R)=>{r.updateToast(R.detail)},V=(R)=>{r.dismissAllToasts()},s=(R)=>{let w=r.toasts.get(R.detail.toastId);if(w){var x;(x=w.imperativeRef.current)===null||x===void 0||x.pause()}},F=(R)=>{let w=r.toasts.get(R.detail.toastId);if(w){var x;(x=w.imperativeRef.current)===null||x===void 0||x.play()}},L=p(x0.show,A),C=p(x0.update,u),P=p(x0.dismiss,m),W=p(x0.dismissAll,V),r1=p(x0.pause,s),t1=p(x0.play,F),N=(R)=>{if(t(R)){i();let x=v();if(x){var w;h.current=G1(e.activeElement)?e.activeElement:null,(w=x.imperativeRef.current)===null||w===void 0||w.focus()}}};return e.addEventListener("keydown",N),()=>{L(),W(),C(),P(),r1(),t1(),e.removeEventListener("keydown",N)}},[r,l,e,Z,i,v,t]);let _=(()=>{if(!r)return/*@__PURE__*/new Map;let p=/*@__PURE__*/new Map;return Array.from(r.toasts.values()).forEach((m)=>{let{position:u}=m;if(p.has(u)||p.set(u,[]),u.startsWith("bottom"))p.get(u).push(m);else p.get(u).unshift(m)}),p})();return{isToastVisible:r.isToastVisible,toastsToRender:_,pauseAllToasts:i,playAllToasts:n,tryRestoreFocus:d,closeAllToasts:M}}var b6=()=>{return};function x4(a){let{targetDocument:l}=M1();return v1(()=>{if(!l)return{dispatchToast:b6,dismissToast:b6,dismissAllToasts:b6,updateToast:b6,pauseToast:b6,playToast:b6};return{dispatchToast:(c,o)=>{ui(c,{...o,toasterId:a,data:{root:o===null||o===void 0?void 0:o.root}},l)},dismissToast:(c)=>{si(c,a,l)},dismissAllToasts:()=>{Vi(a,l)},updateToast:(c)=>{fi({...c,data:{root:c.root},toasterId:a},l)},pauseToast:(c)=>{Fi(c,a,l)},playToast:(c)=>{xi(c,a,l)}}},[l,a])}var Au=/*@__PURE__*/j("r16zaflb","r75casi",[".r16zaflb{animation-name:rsacmq1;}","@keyframes rsacmq1{from{opacity:0;}to{opacity:0;}}",".r75casi{animation-name:rsacmq1;}"]);var Ir=/*@__PURE__*/z((a,l)=>{let c=Au(),{running:o,timeout:r,onTimeout:e}=a,h={animationDuration:`${r}ms`,animationPlayState:o?"running":"paused"};if(r<0)return null;return/*@__PURE__*/c1("span",{onAnimationEnd:e,"data-timer-status":h.animationPlayState,ref:l,style:h,className:c})});Ir.displayName="Timer";var qD={success:"assertive",warning:"assertive",error:"assertive",info:"polite"},mu=(a,l)=>{let{visible:c,children:o,close:r,remove:e,updateId:h,announce:Z,data:t,timeout:i,politeness:n,intent:v="info",pauseOnHover:d,pauseOnWindowBlur:M,imperativeRef:_,tryRestoreFocus:p,content:A,...m}=a,u=J1("toast-title"),V=J1("toast-body"),s=y(null),{targetDocument:F}=M1(),[L,C]=h1(!1),P=y(!1),W=y(!1),r1=$3({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Tab:!0,Escape:!0,Enter:!0}}),t1=Y(()=>{var T;let O=F===null||F===void 0?void 0:F.activeElement;if(O&&((T=s.current)===null||T===void 0?void 0:T.contains(O)))W.current=!0;r()}),N=Y((T)=>{var O;return(O=a.onStatusChange)===null||O===void 0?void 0:O.call(a,null,{status:T,...a})}),R=Y(()=>C(!1)),w=Y(()=>{var T;if(P.current)return;var O;let F1=!!((T=s.current)===null||T===void 0?void 0:T.contains((O=F===null||F===void 0?void 0:F.activeElement)!==null&&O!==void 0?O:null));if(i<0){C(!0);return}if(!F1)C(!0)});Y0(_,()=>({focus:()=>{if(!s.current)return;s.current.focus()},play:()=>{P.current=!1,w()},pause:()=>{P.current=!0,R()}})),X(()=>{return()=>N("unmounted")},[N]),X(()=>{if(!F)return;if(M){var T,O;return(T=F.defaultView)===null||T===void 0||T.addEventListener("focus",w),(O=F.defaultView)===null||O===void 0||O.addEventListener("blur",R),()=>{var F1,R1;(F1=F.defaultView)===null||F1===void 0||F1.removeEventListener("focus",w),(R1=F.defaultView)===null||R1===void 0||R1.removeEventListener("blur",R)}}},[F,R,w,M]);let x=t.root,B=Q((T,{direction:O})=>{if(O==="exit")e();if(O==="enter")w(),N("visible")},[N,w,e]),k=Y((T)=>{var O;R(),x===null||x===void 0||(O=x.onMouseEnter)===null||O===void 0||O.call(x,T)}),$=Y((T)=>{var O;w(),x===null||x===void 0||(O=x.onMouseEnter)===null||O===void 0||O.call(x,T)}),{findFirstFocusable:E,findLastFocusable:d1}=R7(),s1=Y((T)=>{var O;if(T.key===st)T.preventDefault(),t1();if(T.key===ga&&T.currentTarget===T.target)if(T.preventDefault(),T.shiftKey){var F1;(F1=d1(T.currentTarget))===null||F1===void 0||F1.focus()}else{var R1;(R1=E(T.currentTarget))===null||R1===void 0||R1.focus()}x===null||x===void 0||(O=x.onKeyDown)===null||O===void 0||O.call(x,T)});return X(()=>{var T;if(!c)return;let O=n!==null&&n!==void 0?n:qD[v];var F1;Z((F1=(T=s.current)===null||T===void 0?void 0:T.textContent)!==null&&F1!==void 0?F1:"",{politeness:O})},[Z,n,s,c,h,v]),X(()=>{return()=>{if(W.current)W.current=!1,p()}},[p]),{components:{timer:Ir,root:"div"},timer:U.always({onTimeout:t1,running:L,timeout:i!==null&&i!==void 0?i:-1},{elementType:Ir}),root:U.always(o1("div",{ref:g1(l,s),children:o,tabIndex:0,role:"listitem","aria-labelledby":u,"aria-describedby":V,...m,...x,...r1,onMouseEnter:k,onMouseLeave:$,onKeyDown:s1}),{elementType:"div"}),timerTimeout:i,transitionTimeout:0,running:L,visible:c,remove:e,close:t1,onTransitionEntering:()=>{},updateId:h,nodeRef:s,intent:v,titleId:u,bodyId:V,onMotionFinish:B}};var WD={close:()=>null,intent:void 0,bodyId:"",titleId:""},Hu=/*@__PURE__*/e1(void 0),uu=Hu.Provider,$r=()=>{var a;return(a=l1(Hu))!==null&&a!==void 0?a:WD};var su=(a,l)=>{let{onMotionFinish:c,visible:o,updateId:r}=a;return J(a),/*@__PURE__*/g(uu,{value:l.toast,children:/*@__PURE__*/g(Rr,{appear:!0,onMotionFinish:c,visible:o,unmountOnExit:!0,children:/*@__PURE__*/_1(a.root,{children:[a.root.children,/*@__PURE__*/g(a.timer,{},r)]})})})};var Yr={root:"fui-ToastContainer",timer:"fui-ToastContainer__timer"},bD=/*@__PURE__*/j("r98b696",null,[".r98b696{box-sizing:border-box;margin-top:16px;pointer-events:all;border-radius:var(--borderRadiusMedium);}",".r98b696[data-fui-focus-visible]{outline:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}"]),Ci=(a)=>{let l=bD();return a.root.className=S(Yr.root,l,a.root.className),a};function Vu(a){let{close:l,intent:c,titleId:o,bodyId:r}=a;return{toast:v1(()=>({close:l,intent:c,titleId:o,bodyId:r}),[l,c,o,r])}}var Xr=/*@__PURE__*/z((a,l)=>{let c=mu(a,l);return Ci(c),I("useToastContainerStyles_unstable")(c),su(c,Vu(c))});Xr.displayName="ToastContainer";var fu=()=>{return};function Fu(a,l){let{targetDocument:c}=M1(),o=y(fu);return Q((r)=>{if(!r||!c){o.current(),o.current=fu;return}let e=c.createTreeWalker(r,NodeFilter.SHOW_ELEMENT,{acceptNode(i){if(G1(i)&&i.classList.contains(Yr.root))return NodeFilter.FILTER_ACCEPT;return NodeFilter.FILTER_SKIP}}),h=(i)=>{let{target:n,key:v}=i;if(!G1(n))return;if(v===V6){e.currentNode=n;let d=e.nextNode();if(!d)e.currentNode=r,d=e.nextNode();if(G1(d))d.focus()}if(v===j3){e.currentNode=n;let d=e.previousNode();if(d&&d.contains(n))d=e.previousNode();if(!d)e.currentNode=r,d=e.lastChild();if(G1(d))d.focus()}},Z=(i)=>{if(G1(i.currentTarget)&&!i.currentTarget.contains(G1(i.relatedTarget)?i.relatedTarget:null))a()},t=(i)=>{if(G1(i.currentTarget)&&!i.currentTarget.contains(G1(i.relatedTarget)?i.relatedTarget:null))l()};r.addEventListener("keydown",h),r.addEventListener("focusin",Z),r.addEventListener("focusout",t),o.current=()=>{r.removeEventListener("keydown",h),r.removeEventListener("focusin",Z),r.removeEventListener("focusout",t)}},[c,a,l])}function xu(a){let l=y(!0),c=y(()=>{return}),o=Q((e,h)=>{if(l.current)a(e,h)},[a]),r=Q((e)=>{if(!e){c.current();return}let h=(t)=>{if(G1(t.currentTarget)&&t.currentTarget.contains(G1(t.relatedTarget)?t.relatedTarget:null))return;l.current=!1},Z=(t)=>{if(G1(t.currentTarget)&&t.currentTarget.contains(G1(t.relatedTarget)?t.relatedTarget:null))return;l.current=!0};e.addEventListener("focusin",h),e.addEventListener("focusout",Z),c.current=()=>{e.removeEventListener("focusin",h),e.removeEventListener("focusout",Z)}},[]);return{announceToast:o,toasterRef:r}}var Gl=(a)=>{let{offset:l,announce:c,mountNode:o,inline:r=!1,...e}=a,h=y(()=>null),{toastsToRender:Z,isToastVisible:t,pauseAllToasts:i,playAllToasts:n,tryRestoreFocus:v,closeAllToasts:d}=Li(e),M=Q((s,F)=>h.current(s,F),[]),{dir:_}=M1(),{onKeyDown:p,...A}=U.always(o1("div",e),{elementType:"div"}),m=$3({tabBehavior:"limited-trap-focus",ignoreDefaultKeydown:{Escape:!0}}),u=Y((s)=>{if(s.key===U7)s.preventDefault(),d();p===null||p===void 0||p(s)}),V=(s)=>{var F;let L=Fu(i,n),{announceToast:C,toasterRef:P}=xu(c!==null&&c!==void 0?c:M);return U.optional(Z.has(s)?A:null,{defaultProps:{ref:g1(L,P),children:(F=Z.get(s))===null||F===void 0?void 0:F.map((W)=>/*@__PURE__*/c1(Xr,{...W,tryRestoreFocus:v,intent:W.intent,announce:C,key:W.toastId,visible:t(W.toastId)},W.content)),onKeyDown:u,...m,"data-toaster-position":s,role:"list"},elementType:"div"})};return{dir:_,mountNode:o,components:{root:"div",bottomStart:"div",bottomEnd:"div",topStart:"div",topEnd:"div",top:"div",bottom:"div"},root:U.always(A,{elementType:"div"}),bottomStart:V(v5.bottomStart),bottomEnd:V(v5.bottomEnd),topStart:V(v5.topStart),topEnd:V(v5.topEnd),top:V(v5.top),bottom:V(v5.bottom),announceRef:h,offset:l,announce:c!==null&&c!==void 0?c:M,renderAriaLive:!c,inline:r}};var zD=500,gu=(a)=>{let[l,c]=h1(void 0),o=y(0),[r]=h1(()=>v6((n,v)=>{if(n.politeness===v.politeness)return n.createdAt-v.createdAt;return n.politeness==="assertive"?-1:1})),e=Y((n,v)=>{let{politeness:d}=v;if(n===(l===null||l===void 0?void 0:l.message))return;let M={message:n,politeness:d,createdAt:o.current++};if(!l)c(M);else r.enqueue(M)}),[h,Z]=E5();X(()=>{return h(()=>{if(r.peek())c(r.dequeue());else c(void 0)},zD),()=>Z()},[l,r,h,Z]),Y0(a.announceRef,()=>e);let t=(l===null||l===void 0?void 0:l.politeness)==="polite"?l.message:void 0,i=(l===null||l===void 0?void 0:l.politeness)==="assertive"?l.message:void 0;return{components:{assertive:"div",polite:"div"},assertive:U.always(a.assertive,{defaultProps:{"aria-live":"assertive",children:i},elementType:"div"}),polite:U.always(a.polite,{defaultProps:{"aria-live":"polite",children:t},elementType:"div"})}};var Lu=(a)=>{return J(a),/*@__PURE__*/_1(i1,{children:[/*@__PURE__*/g(a.assertive,{}),/*@__PURE__*/g(a.polite,{})]})};var Cu={assertive:"fui-AriaLive__assertive",polite:"fui-AriaLive__polite"},QD=/*@__PURE__*/j("rrd10u0",null,[".rrd10u0{clip:rect(0px, 0px, 0px, 0px);height:1px;margin:-1px;overflow:hidden;padding:0px;width:1px;position:absolute;}"]),Ru=(a)=>{let l=QD();return a.assertive.className=S(l,Cu.assertive,a.assertive.className),a.polite.className=S(l,Cu.polite,a.polite.className),a};var Kr=(a)=>{let l=gu(a);return Ru(l),Lu(l)};Kr.displayName="AriaLive";var Ul=(a)=>{let{announceRef:l,renderAriaLive:c,inline:o,mountNode:r}=a;J(a);let e=!!a.bottomStart||!!a.bottomEnd||!!a.topStart||!!a.topEnd||!!a.top||!!a.bottom,h=c?/*@__PURE__*/g(Kr,{announceRef:l}):null,Z=/*@__PURE__*/_1(i1,{children:[a.bottom?/*@__PURE__*/g(a.bottom,{}):null,a.bottomStart?/*@__PURE__*/g(a.bottomStart,{}):null,a.bottomEnd?/*@__PURE__*/g(a.bottomEnd,{}):null,a.topStart?/*@__PURE__*/g(a.topStart,{}):null,a.topEnd?/*@__PURE__*/g(a.topEnd,{}):null,a.top?/*@__PURE__*/g(a.top,{}):null]});if(o)return/*@__PURE__*/_1(i1,{children:[h,e?Z:null]});return/*@__PURE__*/_1(i1,{children:[h,e?/*@__PURE__*/g(i2,{mountNode:r,children:Z}):null]})};var jr={root:"fui-Toaster"},JD=/*@__PURE__*/j("r3hfdjz",null,[".r3hfdjz{position:fixed;width:292px;pointer-events:none;}"]),ID=/*@__PURE__*/D({inline:{qhf8xq:"f1euv43f"}},{d:[".f1euv43f{position:absolute;}"]}),Dl=(a)=>{let l=JD(),c=ID(),o=S(jr.root,l,a.inline&&c.inline,a.root.className);if(a.bottomStart){var r;a.bottomStart.className=o;var e;(e=(r=a.bottomStart).style)!==null&&e!==void 0||(r.style={}),Object.assign(a.bottomStart.style,T7(v5.bottomStart,a.dir,a.offset))}if(a.bottomEnd){var h;a.bottomEnd.className=o;var Z;(Z=(h=a.bottomEnd).style)!==null&&Z!==void 0||(h.style={}),Object.assign(a.bottomEnd.style,T7(v5.bottomEnd,a.dir,a.offset))}if(a.topStart){var t;a.topStart.className=o;var i;(i=(t=a.topStart).style)!==null&&i!==void 0||(t.style={}),Object.assign(a.topStart.style,T7(v5.topStart,a.dir,a.offset))}if(a.topEnd){var n;a.topEnd.className=o;var v;(v=(n=a.topEnd).style)!==null&&v!==void 0||(n.style={}),Object.assign(a.topEnd.style,T7(v5.topEnd,a.dir,a.offset))}if(a.top){var d;a.top.className=o;var M;(M=(d=a.top).style)!==null&&M!==void 0||(d.style={}),Object.assign(a.top.style,T7(v5.top,a.dir,a.offset))}if(a.bottom){var _;a.bottom.className=o;var p;(p=(_=a.bottom).style)!==null&&p!==void 0||(_.style={}),Object.assign(a.bottom.style,T7(v5.bottom,a.dir,a.offset))}return a};var g4=(a)=>{let l=Gl(a);return Dl(l),I("useToasterStyles_unstable")(l),Ul(l)};g4.displayName="Toaster";var Bl=(a,l)=>{let{intent:c}=$r();return{components:{root:"div"},root:U.always(o1("div",{ref:l,...a}),{elementType:"div"}),backgroundAppearance:a.appearance,intent:c}};var kl=(a,l)=>{return J(a),/*@__PURE__*/g(Co,{value:l.backgroundAppearance,children:/*@__PURE__*/g(a.root,{})})};var Ri={root:"fui-Toast"},$D=/*@__PURE__*/j("rhf7k35",null,[".rhf7k35{display:grid;grid-template-columns:auto 1fr auto;padding:12px;border-radius:var(--borderRadiusMedium);border:1px solid var(--colorTransparentStroke);box-shadow:var(--shadow8);font-size:var(--fontSizeBase300);line-height:20px;font-weight:var(--fontWeightSemibold);color:var(--colorNeutralForeground1);background-color:var(--colorNeutralBackground1);}"]),YD=/*@__PURE__*/D({inverted:{sj55zd:"f1w7i9ko",De3pzq:"f5pduvr"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f5pduvr{background-color:var(--colorNeutralBackgroundInverted);}"]}),yl=(a)=>{let l=$D(),c=YD();return a.root.className=S(Ri.root,l,a.backgroundAppearance==="inverted"&&c.inverted,a.root.className),a};function wu(a){let{backgroundAppearance:l}=a;return{backgroundAppearance:l}}var H2=/*@__PURE__*/z((a,l)=>{let c=Bl(a,l);return yl(c),I("useToastStyles_unstable")(c),kl(c,wu(c))});H2.displayName="Toast";var Ol=(a,l)=>{let{intent:c,titleId:o}=$r(),r=h6(),e;switch(c){case"success":e=/*@__PURE__*/c1(jo,null);break;case"error":e=/*@__PURE__*/c1(No,null);break;case"warning":e=/*@__PURE__*/c1($o,null);break;case"info":e=/*@__PURE__*/c1(Yo,null);break}return{action:U.optional(a.action,{elementType:"div"}),components:{root:"div",media:"div",action:"div"},media:U.optional(a.media,{renderByDefault:!!c,defaultProps:{children:e},elementType:"div"}),root:U.always(o1("div",{ref:l,children:a.children,id:o,...a}),{elementType:"div"}),intent:c,backgroundAppearance:r}};var Pl=(a)=>{return J(a),/*@__PURE__*/_1(i1,{children:[a.media?/*@__PURE__*/g(a.media,{}):null,/*@__PURE__*/g(a.root,{}),a.action?/*@__PURE__*/g(a.action,{}):null]})};var z6={root:"fui-ToastTitle",media:"fui-ToastTitle__media",action:"fui-ToastTitle__action"},XD=/*@__PURE__*/j("rdjap1e",null,[".rdjap1e{display:flex;grid-column-end:3;color:var(--colorNeutralForeground1);word-break:break-word;}"]),KD=/*@__PURE__*/j("r8x5mrd","r1soj19y",[".r8x5mrd{display:flex;padding-top:2px;grid-column-end:2;padding-right:8px;font-size:16px;color:var(--colorNeutralForeground1);}",".r1soj19y{display:flex;padding-top:2px;grid-column-end:2;padding-left:8px;font-size:16px;color:var(--colorNeutralForeground1);}"]),jD=/*@__PURE__*/j("r2j19ip","rjfozdo",[".r2j19ip{display:flex;align-items:start;padding-left:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}",".rjfozdo{display:flex;align-items:start;padding-right:12px;grid-column-end:-1;color:var(--colorBrandForeground1);}"]),ND=/*@__PURE__*/D({root:{sj55zd:"f1w7i9ko"},action:{sj55zd:"f1qz2gb0"},media:{sj55zd:"fqpbvvt"}},{d:[".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}",".f1qz2gb0{color:var(--colorBrandForegroundInverted);}",".fqpbvvt{color:var(--colorNeutralForegroundInverted);}"]}),aB=/*@__PURE__*/D({success:{sj55zd:"f36rra6"},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f13isgzr"},info:{sj55zd:"fkfq4zb"}},{d:[".f36rra6{color:var(--colorStatusSuccessForeground1);}",".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f13isgzr{color:var(--colorStatusWarningForeground1);}",".fkfq4zb{color:var(--colorNeutralForeground2);}"]}),lB=/*@__PURE__*/D({success:{sj55zd:"ff3wk4x"},error:{sj55zd:"fbq2gqr"},warning:{sj55zd:"fx6hq1t"},info:{sj55zd:"f1w7i9ko"}},{d:[".ff3wk4x{color:var(--colorStatusSuccessForegroundInverted);}",".fbq2gqr{color:var(--colorStatusDangerForegroundInverted);}",".fx6hq1t{color:var(--colorStatusWarningForegroundInverted);}",".f1w7i9ko{color:var(--colorNeutralForegroundInverted2);}"]}),Tl=(a)=>{let l=XD(),c=jD(),o=KD(),r=aB(),e=lB(),{intent:h}=a,Z=ND();if(a.root.className=S(z6.root,l,a.backgroundAppearance==="inverted"&&Z.root,a.root.className),a.media)a.media.className=S(z6.media,o,a.backgroundAppearance==="inverted"&&Z.media,h&&r[h],h&&a.backgroundAppearance==="inverted"&&e[h],a.media.className);if(a.action)a.action.className=S(z6.action,c,a.backgroundAppearance==="inverted"&&Z.action,a.action.className);return a};var u2=/*@__PURE__*/z((a,l)=>{let c=Ol(a,l);return Tl(c),I("useToastTitleStyles_unstable")(c),Pl(c)});u2.displayName="ToastTitle";function Su(a){switch(a){case"info":return/*@__PURE__*/c1(Yo,null);case"warning":return/*@__PURE__*/c1($o,null);case"error":return/*@__PURE__*/c1(No,null);case"success":return/*@__PURE__*/c1(jo,null);default:return null}}function Gu(a=!1){let{targetDocument:l}=M1(),c=N5(()=>({}),{})[1],o=y(!1),r=y(null),e=y(-1),h=Q((t)=>{var i,n;if(t.length>1)console.error(["useMessageBarReflow: Resize observer should only have one entry. ","If multiple entries are observed, the first entry will be used.","This is a bug, please report it to the Fluent UI team."].join(" "));let v=t[0];var d;let M=(d=v===null||v===void 0?void 0:(n=v.borderBoxSize)===null||n===void 0?void 0:(i=n[0])===null||i===void 0?void 0:i.inlineSize)!==null&&d!==void 0?d:v===null||v===void 0?void 0:v.target.getBoundingClientRect().width;if(M===void 0||!v)return;let{target:_}=v;if(!G1(_))return;let p;if(o.current){if(e.current<M)p=!1}else{let A=_.scrollWidth;if(M<A)p=!0}if(e.current=M,typeof p<"u"&&o.current!==p)o.current=p,c()},[c]),Z=Q((t)=>{var i;if(!a||!t||!(l===null||l===void 0?void 0:l.defaultView))return;(i=r.current)===null||i===void 0||i.disconnect();let v=new l.defaultView.ResizeObserver(h);r.current=v,v.observe(t,{box:"border-box"})},[l,h,a]);return X(()=>{return()=>{var t;(t=r.current)===null||t===void 0||t.disconnect()}},[]),{ref:Z,reflowing:o.current}}var Uu=e1(void 0),_B={className:"",nodeRef:h5()},Hs1=Uu.Provider,Du=()=>{var a;return(a=l1(Uu))!==null&&a!==void 0?a:_B};var El=(a,l)=>{let{layout:c="auto",intent:o="info",politeness:r,shape:e="rounded"}=a,h=(r!==null&&r!==void 0?r:o==="info")?"polite":"assertive",Z=c==="auto",{ref:t,reflowing:i}=Gu(Z),n=Z?i?"multiline":"singleline":c,{className:v,nodeRef:d}=Du(),M=A4(),_=y(null),p=y(null),{announce:A}=la(),m=J1();return X(()=>{var u,V;let s=(u=p.current)===null||u===void 0?void 0:u.textContent,F=(V=_.current)===null||V===void 0?void 0:V.textContent,L=[s,F].filter(Boolean).join(",");A(L,{polite:h==="polite",alert:h==="assertive"})},[p,_,A,h]),{components:{root:"div",icon:"div",bottomReflowSpacer:"div"},root:U.always(o1("div",{ref:g1(l,t,d,M),role:"group","aria-labelledby":m,...a}),{elementType:"div"}),icon:U.optional(a.icon,{renderByDefault:!0,elementType:"div",defaultProps:{children:Su(o)}}),bottomReflowSpacer:U.optional(a.bottomReflowSpacer,{renderByDefault:n==="multiline",elementType:"div"}),layout:n,intent:o,transitionClassName:v,actionsRef:_,bodyRef:p,titleId:m,shape:e}};var Bu=e1(void 0),AB={titleId:"",layout:"singleline",actionsRef:h5(),bodyRef:h5()},ku=Bu.Provider,Nr=()=>{var a;return(a=l1(Bu))!==null&&a!==void 0?a:AB};var ql=(a,l)=>{return J(a),/*@__PURE__*/g(ku,{value:l.messageBar,children:/*@__PURE__*/_1(a.root,{children:[a.icon&&/*@__PURE__*/g(a.icon,{}),a.root.children,a.bottomReflowSpacer&&/*@__PURE__*/g(a.bottomReflowSpacer,{})]})})};var Q6={root:"fui-MessageBar",icon:"fui-MessageBar__icon",bottomReflowSpacer:"fui-MessageBar__bottomReflowSpacer"},mB=/*@__PURE__*/j("r2oyxsj","r1wuyrhw",['.r2oyxsj{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-left:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}','.r1wuyrhw{white-space:nowrap;display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:1fr;grid-template-areas:"icon body secondaryActions actions";padding-right:var(--spacingHorizontalM);border:var(--strokeWidthThin) solid var(--colorNeutralStroke1);border-radius:var(--borderRadiusMedium);align-items:center;min-height:36px;box-sizing:border-box;background-color:var(--colorNeutralBackground3);}']),HB=/*@__PURE__*/j("r1df1z33","rivnfjc",[".r1df1z33{grid-area:icon;font-size:var(--fontSizeBase500);margin-right:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}",".rivnfjc{grid-area:icon;font-size:var(--fontSizeBase500);margin-left:var(--spacingHorizontalS);color:var(--colorNeutralForeground3);display:flex;align-items:center;}"]),uB=/*@__PURE__*/j("r1vx593n",null,[".r1vx593n{margin-bottom:var(--spacingVerticalS);grid-area:secondaryActions;}"]),sB=/*@__PURE__*/D({rootMultiline:{Huce71:"f6juhto",Bt984gj:"f1s2louj",z8tnut:"f1ngh7ph",Budl1dq:"f17g0uqy",zoa1oz:"f1w7oly7"},secondaryActionsMultiline:{Brf1p80:"f1e8xxv9",B6of3ja:"f1gaxbfw",jrapky:"fqcjy3b",t21cq0:["fibjyge","f9yszdx"]},square:{Beyfa6y:0,Bbmb7ep:0,Btl43ni:0,B7oj6ja:0,Dimara:"fokr779"}},{d:[".f6juhto{white-space:normal;}",".f1s2louj{align-items:start;}",".f1ngh7ph{padding-top:var(--spacingVerticalMNudge);}",".f17g0uqy{grid-template-columns:auto 1fr auto;}",'.f1w7oly7{grid-template-areas:"icon body actions" "secondaryActions secondaryActions secondaryActions";}',".f1e8xxv9{justify-content:end;}",".f1gaxbfw{margin-top:var(--spacingVerticalMNudge);}",".fqcjy3b{margin-bottom:var(--spacingVerticalS);}",".fibjyge{margin-right:0px;}",".f9yszdx{margin-left:0px;}",[".fokr779{border-radius:0;}",{p:-1}]]}),VB=/*@__PURE__*/D({info:{},error:{sj55zd:"f1ca9wz"},warning:{sj55zd:"f14a4cve"},success:{sj55zd:"f36rra6"}},{d:[".f1ca9wz{color:var(--colorStatusDangerForeground1);}",".f14a4cve{color:var(--colorStatusWarningForeground3);}",".f36rra6{color:var(--colorStatusSuccessForeground1);}"]}),fB=/*@__PURE__*/D({info:{},error:{De3pzq:"f1eon7jj",g2u3we:"f1f8dvr7",h3c5rm:["f1g1ijmo","f1nxacbt"],B9xav0g:"fo25q1j",zhjwy3:["f1nxacbt","f1g1ijmo"]},warning:{De3pzq:"f13ftzij",g2u3we:"frd1ypx",h3c5rm:["f1gyjrma","f18qd5xz"],B9xav0g:"fqyqtrt",zhjwy3:["f18qd5xz","f1gyjrma"]},success:{De3pzq:"f64thcm",g2u3we:"f1b4u7v",h3c5rm:["f1nyd2b1","f70v3om"],B9xav0g:"fk173vo",zhjwy3:["f70v3om","f1nyd2b1"]}},{d:[".f1eon7jj{background-color:var(--colorStatusDangerBackground1);}",".f1f8dvr7{border-top-color:var(--colorStatusDangerBorder1);}",".f1g1ijmo{border-right-color:var(--colorStatusDangerBorder1);}",".f1nxacbt{border-left-color:var(--colorStatusDangerBorder1);}",".fo25q1j{border-bottom-color:var(--colorStatusDangerBorder1);}",".f13ftzij{background-color:var(--colorStatusWarningBackground1);}",".frd1ypx{border-top-color:var(--colorStatusWarningBorder1);}",".f1gyjrma{border-right-color:var(--colorStatusWarningBorder1);}",".f18qd5xz{border-left-color:var(--colorStatusWarningBorder1);}",".fqyqtrt{border-bottom-color:var(--colorStatusWarningBorder1);}",".f64thcm{background-color:var(--colorStatusSuccessBackground1);}",".f1b4u7v{border-top-color:var(--colorStatusSuccessBorder1);}",".f1nyd2b1{border-right-color:var(--colorStatusSuccessBorder1);}",".f70v3om{border-left-color:var(--colorStatusSuccessBorder1);}",".fk173vo{border-bottom-color:var(--colorStatusSuccessBorder1);}"]}),Wl=(a)=>{let l=mB(),c=HB(),o=VB(),r=fB(),e=uB(),h=sB();if(a.root.className=S(Q6.root,l,a.layout==="multiline"&&h.rootMultiline,a.shape==="square"&&h.square,r[a.intent],a.root.className),a.icon)a.icon.className=S(Q6.icon,c,o[a.intent],a.icon.className);if(a.bottomReflowSpacer)a.bottomReflowSpacer.className=S(Q6.bottomReflowSpacer,e);return a};function bl(a){let{layout:l,actionsRef:c,bodyRef:o,titleId:r}=a;return{messageBar:v1(()=>({layout:l,actionsRef:c,bodyRef:o,titleId:r}),[l,c,o,r])}}var E7=/*@__PURE__*/z((a,l)=>{let c=El(a,l);return Wl(c),I("useMessageBarStyles_unstable")(c),ql(c,bl(c))});E7.displayName="MessageBar";var zl=(a,l)=>{let{titleId:c}=Nr();return{components:{root:"span"},root:U.always(o1("span",{ref:l,id:c,...a}),{elementType:"span"})}};var Ql=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var ae={root:"fui-MessageBarTitle"},FB=/*@__PURE__*/j("r168xkm9",null,[".r168xkm9{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightSemibold);line-height:var(--lineHeightBase300);}",'.r168xkm9::after{content:" ";}']),Jl=(a)=>{let l=FB();return a.root.className=S(ae.root,l,a.root.className),a};var L4=/*@__PURE__*/z((a,l)=>{let c=zl(a,l);return Jl(c),I("useMessageBarTitleStyles_unstable")(c),Ql(c)});L4.displayName="MessageBarTitle";var Il=(a,l)=>{let{bodyRef:c}=Nr();return{components:{root:"div"},root:U.always(o1("div",{ref:g1(l,c),...a}),{elementType:"div"})}};var $l=(a,l)=>{return J(a),/*@__PURE__*/g(Hr,{value:l.link,children:/*@__PURE__*/g(a.root,{})})};var le={root:"fui-MessageBarBody"},xB=/*@__PURE__*/j("rtatq2b","re2rary",[".rtatq2b{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-right:var(--spacingHorizontalM);}",".re2rary{font-family:var(--fontFamilyBase);font-size:var(--fontSizeBase300);font-weight:var(--fontWeightRegular);line-height:var(--lineHeightBase300);grid-area:body;padding-left:var(--spacingHorizontalM);}"]),Yl=(a)=>{let l=xB();return a.root.className=S(le.root,l,a.root.className),a};function yu(a){return{link:v1(()=>({inline:!0}),[])}}var q7=/*@__PURE__*/z((a,l)=>{let c=Il(a,l),o=yu(c);return Yl(c),I("useMessageBarBodyStyles_unstable")(c),$l(c,o)});q7.displayName="MessageBarBody";var PB={scrollState:"none",setScrollState:()=>({})},Ou=e1(void 0),J6=Ou.Provider,I6=()=>{var a;return(a=l1(Ou))!==null&&a!==void 0?a:PB},$6=()=>{let[a,l]=h1("none");return{setScrollState:l,scrollState:a}};var Y6={drawerSizeVar:"--fui-Drawer--size"},Pu={overflow:"hidden",width:`var(${Y6.drawerSizeVar})`,maxWidth:"100vw",height:"auto",maxHeight:"100vh",boxSizing:"border-box",display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-start",backgroundColor:K1.colorNeutralBackground1,color:K1.colorNeutralForeground1},TB=/*@__PURE__*/D({start:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1xteiwb","fsqykmd"],oyh7mz:["f1vgc2s3","f1e31b4d"],j35jbq:["fvfyk4","frppm18"]},end:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["fsqykmd","f1xteiwb"],j35jbq:["f1e31b4d","f1vgc2s3"],oyh7mz:["frppm18","fvfyk4"]},bottom:{B5kzvoi:"f1yab3r1",Bhzewxz:"f198g47y"},small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"fsdmzs6"}},{d:[[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1vgc2s3{left:0;}",".f1e31b4d{right:0;}",".fvfyk4{right:auto;}",".frppm18{left:auto;}",[".fsqykmd{border-left:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],[".f1xteiwb{border-right:var(--strokeWidthThin) solid var(--colorTransparentStroke);}",{p:-1}],".f1yab3r1{bottom:0;}",".f198g47y{top:auto;}",".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".fsdmzs6{--fui-Drawer--size:100vw;}"]}),EB=/*@__PURE__*/D({small:{Bjr0ffy:"f1exhnwo"},medium:{Bjr0ffy:"fqofjzu"},large:{Bjr0ffy:"fce6y3m"},full:{Bjr0ffy:"f1rat34m"}},{d:[".f1exhnwo{--fui-Drawer--size:320px;}",".fqofjzu{--fui-Drawer--size:592px;}",".fce6y3m{--fui-Drawer--size:940px;}",".f1rat34m{--fui-Drawer--size:100%;}"]}),ce=({position:a,size:l})=>{let c=TB(),o=EB();return S(c[a],a==="bottom"&&o[l],a!=="bottom"&&c[l])};var wi={small:H1.durationGentle,medium:H1.durationSlow,large:H1.durationSlower,full:H1.durationUltraSlow};function Tu(a,l,c){let o=`translate3d(var(${l}), 0, 0)`,r=`translate3d(calc(var(${l}) * -1), 0, 0)`,e=`translate3d(0, var(${l}), 0)`;if(a==="start")return c==="ltr"?r:o;if(a==="end")return c==="ltr"?o:r;if(a==="bottom")return e;return"translate3d(0, 0, 0)"}var Si=t5(({position:a,size:l,dir:c})=>{let o=[{transform:Tu(a,Y6.drawerSizeVar,c),opacity:0},{transform:"translate3d(0, 0, 0)",opacity:1}],r=wi[l];return{enter:{keyframes:o,duration:r,easing:H1.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:r,easing:H1.curveAccelerateMin}}}),Eu=t5(({position:a,size:l,dir:c})=>{let o=[{transform:Tu(a,Y6.drawerSizeVar,c),boxShadow:`0px ${K1.colorTransparentBackground}`,opacity:0},{transform:"translate3d(0, 0, 0)",boxShadow:K1.shadow64,opacity:1}],r=wi[l];return{enter:{keyframes:o,duration:r,easing:H1.curveDecelerateMid},exit:{keyframes:[...o].reverse(),duration:r,easing:H1.curveAccelerateMin}}}),qu=t5(({size:a})=>{let l=wi[a],c=H1.curveLinear;return{enter:i5({direction:"enter",duration:l,easing:c}),exit:i5({direction:"exit",duration:l,easing:c})}});function oe(a){let{open:l=!1,size:c="small",position:o="start",unmountOnClose:r=!0}=a;return{size:c,position:o,open:l,unmountOnClose:r}}var qB=/*@__PURE__*/j("rl76ifk",null,[".rl76ifk{inset:0px;position:fixed;background-color:var(--colorBackgroundOverlay);}"]),WB=/*@__PURE__*/D({nested:{De3pzq:"f1c21dwh"},drawerHidden:{Bkecrkj:"f1aehjj5"}},{d:[".f1c21dwh{background-color:var(--colorTransparentBackground);}",".f1aehjj5{pointer-events:none;}"]}),Wu=(a)=>{let{treatBackdropAsNested:l,backdrop:c,open:o,unmountOnClose:r}=a,e=qB(),h=WB(),Z=!r&&!o;if(c)c.className=S(e,l&&h.nested,Z&&h.drawerHidden,c.className);return a};var Xl=/*@__PURE__*/z((a,l)=>{let c=s3({...a,as:a.as},l),o=f3(c);return Wu(c),I("useOverlayDrawerSurfaceStyles_unstable")(c),V3(c,o)});Xl.displayName="OverlayDrawerSurface";function Gi(a,l,c){if(a===null)return null;return{...a,children:(o,r)=>{if(a===null||a===void 0?void 0:a.children)return a.children(l,{...r,...c});return/*@__PURE__*/c1(l,{...r,...c},r.children)}}}var bB={active:!0,canRender:!0,ref:/*@__PURE__*/h5(),type:"idle"},bu=(a,l)=>{let{open:c,size:o,position:r,unmountOnClose:e}=oe(a),{modalType:h="modal",inertTrapFocus:Z,onOpenChange:t,backdropMotion:i,surfaceMotion:n,mountNode:v}=a,{dir:d,targetDocument:M}=M1(),{element:_}=a9(v),p=Boolean(_&&(M===null||M===void 0?void 0:M.body)!==_),A=U.resolveShorthand(a.backdrop),m=h!=="non-modal"&&A!==null,u=U.always({...a,ref:l,unmountOnClose:e,backdrop:m?{...A}:null,backdropMotion:Gi(i,qu,{size:o})},{elementType:Xl}),V=U.always({open:c,onOpenChange:t,inertTrapFocus:Z,modalType:h,unmountOnClose:e,surfaceMotion:Gi(n,Eu,{position:r,size:o,dir:d}),children:null},{elementType:s5});return{components:{root:Xl,dialog:s5},root:u,dialog:V,open:c,size:o,position:r,hasMountNodeElement:p,unmountOnClose:e,mountNode:v,motion:bB}};var zu=(a,l)=>{return J(a),/*@__PURE__*/g(J6,{value:l,children:/*@__PURE__*/g(Gr,{value:!1,children:/*@__PURE__*/g(a.dialog,{children:/*@__PURE__*/g(a.root,{})})})})};var Qu={root:"fui-OverlayDrawer",backdrop:"fui-OverlayDrawer__backdrop"},zB=/*@__PURE__*/j("r7dfyj8","rmx02j7",{r:[".r7dfyj8{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".r7dfyj8:focus{outline-style:none;}",".r7dfyj8:focus-visible{outline-style:none;}",".r7dfyj8[data-fui-focus-visible]{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}",'.r7dfyj8[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}',".rmx02j7{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:fixed;top:0;bottom:0;}",".rmx02j7:focus{outline-style:none;}",".rmx02j7:focus-visible{outline-style:none;}",".rmx02j7[data-fui-focus-visible]{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}",'.rmx02j7[data-fui-focus-visible]::after{content:"";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}'],s:["@media (forced-colors: active){.r7dfyj8[data-fui-focus-visible]::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}","@media (forced-colors: active){.rmx02j7[data-fui-focus-visible]::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}"]}),QB=/*@__PURE__*/D({start:{},end:{},bottom:{Bhzewxz:"f198g47y",Bqenvij:"fub80nq",a9b677:"fr97h3j"},absolute:{qhf8xq:"f1euv43f"}},{d:[".f198g47y{top:auto;}",".fub80nq{height:var(--fui-Drawer--size);}",".fr97h3j{width:100vw;}",".f1euv43f{position:absolute;}"]}),Ju=(a)=>{let l=ce(a),c=zB(),o=QB(),r=a.hasMountNodeElement&&o.absolute,e=a.root.backdrop;if(a.root.className=S(Qu.root,l,c,o[a.position],r,a.root.className),e)e.className=S(Qu.backdrop,r,e.className);return a};var re=/*@__PURE__*/z((a,l)=>{let c=bu(a,l),o=$6();return Ju(c),I("useDrawerOverlayStyles_unstable")(c),I("useOverlayDrawerStyles_unstable")(c),zu(c,o)});re.displayName="OverlayDrawer";var JB={active:!0,canRender:!0,ref:h5(),type:"idle"},Iu=(a,l)=>{let{size:c,position:o,open:r,unmountOnClose:e}=oe(a),{separator:h=!1,surfaceMotion:Z}=a,{dir:t}=M1(),[i,n]=h1(r?"enter":"exit");return{components:{root:"div",surfaceMotion:Si},root:U.always(o1("div",{...a,ref:l,"aria-hidden":!e&&!r?!0:void 0}),{elementType:"div"}),open:r,position:o,size:c,separator:h,unmountOnClose:e,animationDirection:i,surfaceMotion:O7(Z,{elementType:Si,defaultProps:{position:o,size:c,dir:t,visible:r,appear:e,unmountOnExit:e,onMotionFinish:(v,{direction:d})=>n(d),onMotionStart:(v,{direction:d})=>{if(d==="enter")n("enter")}}}),motion:JB}};var $u=(a,l)=>{return J(a),/*@__PURE__*/g(J6,{value:l,children:/*@__PURE__*/g(a.surfaceMotion,{children:/*@__PURE__*/g(a.root,{})})})};var IB={root:"fui-InlineDrawer"},$B=/*@__PURE__*/j("rkjj3x6",null,[".rkjj3x6{overflow:hidden;width:var(--fui-Drawer--size);max-width:100vw;height:auto;max-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--colorNeutralBackground1);color:var(--colorNeutralForeground1);position:relative;}"]),Yf1=`1px solid ${K1.colorNeutralBackground3}`,YB=/*@__PURE__*/D({separatorStart:{h3c5rm:0,vrafjx:0,Bekrc4i:0,u1mtju:["f1cxmi7i","f1j970fk"]},separatorEnd:{zhjwy3:0,wvpqe5:0,ibv6hh:0,B4g9neb:["f1j970fk","f1cxmi7i"]},separatorBottom:{g2u3we:0,icvyot:0,B4j52fo:0,i8vvqc:"f1n3kblk"},start:{},end:{},bottom:{a9b677:"fly5x3f",Bqenvij:"fub80nq"},animationExitStart:{a9b677:"f3tsq5r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh"},animationExitEnd:{a9b677:"f3tsq5r",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh"},animationExitBottom:{Bqenvij:"fniina8",Bgfg5da:0,B9xav0g:0,oivjwe:0,Bn0qgzm:0,B4g9neb:0,zhjwy3:0,wvpqe5:0,ibv6hh:0,u1mtju:0,h3c5rm:0,vrafjx:0,Bekrc4i:0,i8vvqc:0,g2u3we:0,icvyot:0,B4j52fo:0,irswps:"f3bhgqh"}},{d:[[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1j970fk{border-left:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1cxmi7i{border-right:1px solid var(--colorNeutralBackground3);}",{p:-1}],[".f1n3kblk{border-top:1px solid var(--colorNeutralBackground3);}",{p:-1}],".fly5x3f{width:100%;}",".fub80nq{height:var(--fui-Drawer--size);}",".f3tsq5r{width:0;}",[".f3bhgqh{border:none;}",{p:-2}],[".f3bhgqh{border:none;}",{p:-2}],".fniina8{height:0;}",[".f3bhgqh{border:none;}",{p:-2}]]});function XB(a,l){if(!a.separator)return;switch(a.position){case"start":return l.separatorStart;case"end":return l.separatorEnd;case"bottom":return l.separatorBottom;default:return}}function KB(a,l){switch(a.position){case"start":return l.animationExitStart;case"end":return l.animationExitEnd;case"bottom":return l.animationExitBottom;default:return}}var Yu=(a)=>{let l=$B(),c=ce(a),o=YB();return a.root.className=S(IB.root,l,c,XB(a,o),o[a.position],a.animationDirection==="exit"&&KB(a,o),a.root.className),a};var ee=/*@__PURE__*/z((a,l)=>{let c=Iu(a,l),o=$6();return Yu(c),I("useDrawerInlineStyles_unstable")(c),I("useInlineDrawerStyles_unstable")(c),$u(c,o)});ee.displayName="InlineDrawer";var Kl=(a,l)=>{let c=a.type==="inline"?ee:re,o=U.always({ref:l,...a},{elementType:c});return{components:{root:c},root:o}};var jl=(a,l)=>{return J(a),/*@__PURE__*/g(J6,{value:l,children:/*@__PURE__*/g(a.root,{})})};var Xu={root:"fui-Drawer"},Nl=(a)=>{return a.root.className=S(Xu.root,a.root.className),a};var s2=/*@__PURE__*/z((a,l)=>{let c=Kl(a,l),o=$6();return Nl(c),I("useDrawerStyles_unstable")(c),jl(c,o)});s2.displayName="Drawer";var jB=({scrollTop:a,scrollHeight:l,clientHeight:c})=>{if(l<=c)return"none";if(a===0)return"top";if(a+c===l)return"bottom";return"middle"},ac=(a,l)=>{let{targetDocument:c}=M1(),o=c===null||c===void 0?void 0:c.defaultView,{setScrollState:r}=I6(),e=y(null),h=g1(l,e),[Z,t]=ca(),[i,n]=ca(),v=Q(()=>{if(!e.current)return;r(jB(e.current))},[r]),d=Q(()=>{t(),Z(v)},[t,Z,v]);return P1(v,[a.children,v]),P1(()=>{if(!e.current||!(o===null||o===void 0?void 0:o.ResizeObserver))return;let M=new o.ResizeObserver(()=>i(v));return M.observe(e.current),()=>{M.disconnect(),n()}},[i,n,v,o]),{components:{root:"div"},root:U.always(o1("div",{ref:h,...a,onScroll:T1(a.onScroll,d)}),{elementType:"div"})}};var lc=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var he={root:"fui-DrawerBody"},NB=/*@__PURE__*/j("ri6rvx7",null,[".ri6rvx7{padding:0 var(--spacingHorizontalXXL);flex:1;align-self:stretch;position:relative;z-index:1;overflow:auto;}",".ri6rvx7:last-child{padding-bottom:calc(var(--spacingHorizontalXXL) + 1px);}",".ri6rvx7:first-child{padding-top:calc(var(--spacingHorizontalXXL) + 1px);}"]),cc=(a)=>{let l=NB();return a.root.className=S(he.root,l,a.root.className),a};var V2=/*@__PURE__*/z((a,l)=>{let c=ac(a,l);return cc(c),I("useDrawerBodyStyles_unstable")(c),lc(c)});V2.displayName="DrawerBody";var oc=(a,l)=>{let{scrollState:c}=I6();return{components:{root:"header"},root:U.always(o1("header",{ref:l,role:"none",...a}),{elementType:"header"}),scrollState:c}};var rc=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var Ze={root:"fui-DrawerHeader"},ak=/*@__PURE__*/j("r3ovn4i",null,[".r3ovn4i{width:100%;max-width:100%;padding:var(--spacingVerticalXXL) var(--spacingHorizontalXXL) var(--spacingVerticalS);gap:var(--spacingHorizontalS);align-self:stretch;display:flex;flex-direction:column;box-sizing:border-box;position:relative;z-index:2;}"]),lk=/*@__PURE__*/D({separator:{Dlnsje:"fxnjyrl",E3zdtr:"f1mdlcz9",B1piin3:["f15yvnhg","f1n6gb5g"],Eqx8gd:["f1n6gb5g","f15yvnhg"],Bp15pi3:"f1564nw5",Bjyk6c5:"fdlpgxj",F2fol1:"f15cmg8x",Ba2ppi3:"f3f8dgl",B1dyfl9:"fjvo4va",Bsft5z2:"f13zj6fq",By385i5:"fo72kxq"},separatorVisible:{Bp15pi3:"fjsqi2x"}},{d:[".fxnjyrl::after{height:1px;}",".f1mdlcz9::after{position:absolute;}",".f15yvnhg::after{right:0;}",".f1n6gb5g::after{left:0;}",".f1564nw5::after{opacity:0;}",".fdlpgxj::after{background-color:var(--colorNeutralStroke1);}",".f15cmg8x::after{transition-duration:var(--durationNormal);}",".f3f8dgl::after{transition-property:opacity;}",".fjvo4va::after{transition-timing-function:var(--curveEasyEase);}",'.f13zj6fq::after{content:"";}',".fo72kxq::after{bottom:0;}",".fjsqi2x::after{opacity:1;}"]}),ec=(a)=>{let l=ak(),c=lk();return a.root.className=S(Ze.root,l,a.scrollState!=="none"&&c.separator,["middle","bottom"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var f2=/*@__PURE__*/z((a,l)=>{let c=oc(a,l);return ec(c),I("useDrawerHeaderStyles_unstable")(c),rc(c)});f2.displayName="DrawerHeader";var hc=(a,l)=>{let{children:c,heading:o}=a,r=F0((e)=>e.dialogTitleId);return{components:{root:"div",heading:"h2",action:"div"},root:U.always(o1("div",{ref:l,...a}),{elementType:"div"}),heading:U.optional(o,{defaultProps:{id:r,children:c},renderByDefault:!0,elementType:"h2"}),action:U.optional(a.action,{elementType:"div"})}};var Zc=(a)=>{return J(a),/*@__PURE__*/_1(a.root,{children:[a.heading&&/*@__PURE__*/g(a.heading,{}),a.action&&/*@__PURE__*/g(a.action,{})]})};var X6={root:"fui-DrawerHeaderTitle",heading:"fui-DrawerHeaderTitle__heading",action:"fui-DrawerHeaderTitle__action"},ck=/*@__PURE__*/D({root:{mc9l5x:"f22iagw",Brf1p80:"f1869bpl",Bt984gj:"f122n59",i8kkvl:"fsnqrgy"},action:{t21cq0:["faqnl2i","fd75udd"]}},{d:[".f22iagw{display:flex;}",".f1869bpl{justify-content:space-between;}",".f122n59{align-items:center;}",".fsnqrgy{column-gap:var(--spacingHorizontalS);}",".faqnl2i{margin-right:calc(var(--spacingHorizontalS) * -1);}",".fd75udd{margin-left:calc(var(--spacingHorizontalS) * -1);}"]}),tc=(a)=>{let l=ck(),{heading:c={},action:o,components:r}=a;if(u3({components:{root:r.heading,action:r.action},root:c,action:o}),a.root.className=S(X6.root,l.root,a.root.className),a.heading)a.heading.className=S(X6.heading,a.heading.className);if(a.action)a.action.className=S(X6.action,l.action,a.action.className);return a};var F2=/*@__PURE__*/z((a,l)=>{let c=hc(a,l);return tc(c),I("useDrawerHeaderTitleStyles_unstable")(c),Zc(c)});F2.displayName="DrawerHeaderTitle";var ic=(a,l)=>{let{scrollState:c}=I6();return{components:{root:"footer"},root:U.always(o1("footer",{ref:l,role:"none",...a}),{elementType:"footer"}),scrollState:c}};var vc=(a)=>{return J(a),/*@__PURE__*/g(a.root,{})};var te={root:"fui-DrawerFooter"},ok=/*@__PURE__*/j("r1snvl2j",null,[".r1snvl2j{width:100%;max-width:100%;padding:var(--spacingVerticalL) var(--spacingHorizontalXXL) var(--spacingVerticalXXL);display:flex;justify-content:flex-start;align-items:center;column-gap:var(--spacingHorizontalS);box-sizing:border-box;position:relative;z-index:2;}"]),rk=/*@__PURE__*/D({separator:{Baz25je:"f16b62f1",Brfgrao:"f1j7ml58",mdwyqc:["f1f351id","f1fzr1x6"],Fbdkly:["f1fzr1x6","f1f351id"],vz82u:"f1dhznln",cmx5o7:"f1p5zmk",h7gv66:"f1ljjo4k",B8bqphf:"ffd2d9j",wjn42g:"ffdt3s5",Ftih45:"f1wl9k8s",Bciustq:"ffi060y"},separatorVisible:{vz82u:"f1b3qyzu"}},{d:[".f16b62f1::before{height:1px;}",".f1j7ml58::before{position:absolute;}",".f1f351id::before{right:0;}",".f1fzr1x6::before{left:0;}",".f1dhznln::before{opacity:0;}",".f1p5zmk::before{background-color:var(--colorNeutralStroke1);}",".f1ljjo4k::before{transition-duration:var(--durationNormal);}",".ffd2d9j::before{transition-property:opacity;}",".ffdt3s5::before{transition-timing-function:var(--curveEasyEase);}",'.f1wl9k8s::before{content:"";}',".ffi060y::before{top:0;}",".f1b3qyzu::before{opacity:1;}"]}),nc=(a)=>{let l=ok(),c=rk();return a.root.className=S(te.root,l,a.scrollState!=="none"&&c.separator,["middle","top"].includes(a.scrollState)&&c.separatorVisible,a.root.className),a};var W7=/*@__PURE__*/z((a,l)=>{let c=ic(a,l);return nc(c),I("useDrawerFooterStyles_unstable")(c),vc(c)});W7.displayName="DrawerFooter";function I1(a,l,c,o){var r=arguments.length,e=r<3?l:o===null?o=Object.getOwnPropertyDescriptor(l,c):o,h;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")e=Reflect.decorate(a,l,c,o);else for(var Z=a.length-1;Z>=0;Z--)if(h=a[Z])e=(r<3?h(e):r>3?h(l,c,e):h(l,c))||e;return r>3&&e&&Object.defineProperty(l,c,e),e}function g3(a,l,c,o){function r(e){return e instanceof c?e:new c(function(h){h(e)})}return new(c||(c=Promise))(function(e,h){function Z(n){try{i(o.next(n))}catch(v){h(v)}}function t(n){try{i(o.throw(n))}catch(v){h(v)}}function i(n){n.done?e(n.value):r(n.value).then(Z,t)}i((o=o.apply(a,l||[])).next())})}function g0(a,l){if(Fk(a))a="100%";var c=xk(a);if(a=l===360?a:Math.min(l,Math.max(0,parseFloat(a))),c)a=parseInt(String(a*l),10)/100;if(Math.abs(a-l)<0.000001)return 1;if(l===360)a=(a<0?a%l+l:a%l)/parseFloat(String(l));else a=a%l/parseFloat(String(l));return a}function dc(a){return Math.min(1,Math.max(0,a))}function Fk(a){return typeof a==="string"&&a.indexOf(".")!==-1&&parseFloat(a)===1}function xk(a){return typeof a==="string"&&a.indexOf("%")!==-1}function ie(a){if(a=parseFloat(a),isNaN(a)||a<0||a>1)a=1;return a}function Mc(a){if(a<=1)return"".concat(Number(a)*100,"%");return a}function L3(a){return a.length===1?"0"+a:String(a)}function Ku(a,l,c){return{r:g0(a,255)*255,g:g0(l,255)*255,b:g0(c,255)*255}}function Di(a,l,c){a=g0(a,255),l=g0(l,255),c=g0(c,255);var o=Math.max(a,l,c),r=Math.min(a,l,c),e=0,h=0,Z=(o+r)/2;if(o===r)h=0,e=0;else{var t=o-r;switch(h=Z>0.5?t/(2-o-r):t/(o+r),o){case a:e=(l-c)/t+(l<c?6:0);break;case l:e=(c-a)/t+2;break;case c:e=(a-l)/t+4;break;default:break}e/=6}return{h:e,s:h,l:Z}}function Ui(a,l,c){if(c<0)c+=1;if(c>1)c-=1;if(c<0.16666666666666666)return a+(l-a)*(6*c);if(c<0.5)return l;if(c<0.6666666666666666)return a+(l-a)*(0.6666666666666666-c)*6;return a}function ju(a,l,c){var o,r,e;if(a=g0(a,360),l=g0(l,100),c=g0(c,100),l===0)r=c,e=c,o=c;else{var h=c<0.5?c*(1+l):c+l-c*l,Z=2*c-h;o=Ui(Z,h,a+0.3333333333333333),r=Ui(Z,h,a),e=Ui(Z,h,a-0.3333333333333333)}return{r:o*255,g:r*255,b:e*255}}function Bi(a,l,c){a=g0(a,255),l=g0(l,255),c=g0(c,255);var o=Math.max(a,l,c),r=Math.min(a,l,c),e=0,h=o,Z=o-r,t=o===0?0:Z/o;if(o===r)e=0;else{switch(o){case a:e=(l-c)/Z+(l<c?6:0);break;case l:e=(c-a)/Z+2;break;case c:e=(a-l)/Z+4;break;default:break}e/=6}return{h:e,s:t,v:h}}function Nu(a,l,c){a=g0(a,360)*6,l=g0(l,100),c=g0(c,100);var o=Math.floor(a),r=a-o,e=c*(1-l),h=c*(1-r*l),Z=c*(1-(1-r)*l),t=o%6,i=[c,h,e,e,Z,c][t],n=[Z,c,c,h,e,e][t],v=[e,e,Z,c,c,h][t];return{r:i*255,g:n*255,b:v*255}}function ki(a,l,c,o){var r=[L3(Math.round(a).toString(16)),L3(Math.round(l).toString(16)),L3(Math.round(c).toString(16))];if(o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1)))return r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0);return r.join("")}function as(a,l,c,o,r){var e=[L3(Math.round(a).toString(16)),L3(Math.round(l).toString(16)),L3(Math.round(c).toString(16)),L3(gk(o))];if(r&&e[0].startsWith(e[0].charAt(1))&&e[1].startsWith(e[1].charAt(1))&&e[2].startsWith(e[2].charAt(1))&&e[3].startsWith(e[3].charAt(1)))return e[0].charAt(0)+e[1].charAt(0)+e[2].charAt(0)+e[3].charAt(0);return e.join("")}function gk(a){return Math.round(parseFloat(a)*255).toString(16)}function yi(a){return V5(a)/255}function V5(a){return parseInt(a,16)}function ls(a){return{r:a>>16,g:(a&65280)>>8,b:a&255}}var pc={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function cs(a){var l={r:0,g:0,b:0},c=1,o=null,r=null,e=null,h=!1,Z=!1;if(typeof a==="string")a=Rk(a);if(typeof a==="object"){if(b7(a.r)&&b7(a.g)&&b7(a.b))l=Ku(a.r,a.g,a.b),h=!0,Z=String(a.r).substr(-1)==="%"?"prgb":"rgb";else if(b7(a.h)&&b7(a.s)&&b7(a.v))o=Mc(a.s),r=Mc(a.v),l=Nu(a.h,o,r),h=!0,Z="hsv";else if(b7(a.h)&&b7(a.s)&&b7(a.l))o=Mc(a.s),e=Mc(a.l),l=ju(a.h,o,e),h=!0,Z="hsl";if(Object.prototype.hasOwnProperty.call(a,"a"))c=a.a}return c=ie(c),{ok:h,format:a.format||Z,r:Math.min(255,Math.max(l.r,0)),g:Math.min(255,Math.max(l.g,0)),b:Math.min(255,Math.max(l.b,0)),a:c}}var Lk="[-\\+]?\\d+%?",Ck="[-\\+]?\\d*\\.\\d+%?",C3="(?:".concat(Ck,")|(?:").concat(Lk,")"),Oi="[\\s|\\(]+(".concat(C3,")[,|\\s]+(").concat(C3,")[,|\\s]+(").concat(C3,")\\s*\\)?"),Pi="[\\s|\\(]+(".concat(C3,")[,|\\s]+(").concat(C3,")[,|\\s]+(").concat(C3,")[,|\\s]+(").concat(C3,")\\s*\\)?"),x2={CSS_UNIT:new RegExp(C3),rgb:new RegExp("rgb"+Oi),rgba:new RegExp("rgba"+Pi),hsl:new RegExp("hsl"+Oi),hsla:new RegExp("hsla"+Pi),hsv:new RegExp("hsv"+Oi),hsva:new RegExp("hsva"+Pi),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Rk(a){if(a=a.trim().toLowerCase(),a.length===0)return!1;var l=!1;if(pc[a])a=pc[a],l=!0;else if(a==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var c=x2.rgb.exec(a);if(c)return{r:c[1],g:c[2],b:c[3]};if(c=x2.rgba.exec(a),c)return{r:c[1],g:c[2],b:c[3],a:c[4]};if(c=x2.hsl.exec(a),c)return{h:c[1],s:c[2],l:c[3]};if(c=x2.hsla.exec(a),c)return{h:c[1],s:c[2],l:c[3],a:c[4]};if(c=x2.hsv.exec(a),c)return{h:c[1],s:c[2],v:c[3]};if(c=x2.hsva.exec(a),c)return{h:c[1],s:c[2],v:c[3],a:c[4]};if(c=x2.hex8.exec(a),c)return{r:V5(c[1]),g:V5(c[2]),b:V5(c[3]),a:yi(c[4]),format:l?"name":"hex8"};if(c=x2.hex6.exec(a),c)return{r:V5(c[1]),g:V5(c[2]),b:V5(c[3]),format:l?"name":"hex"};if(c=x2.hex4.exec(a),c)return{r:V5(c[1]+c[1]),g:V5(c[2]+c[2]),b:V5(c[3]+c[3]),a:yi(c[4]+c[4]),format:l?"name":"hex8"};if(c=x2.hex3.exec(a),c)return{r:V5(c[1]+c[1]),g:V5(c[2]+c[2]),b:V5(c[3]+c[3]),format:l?"name":"hex"};return!1}function b7(a){return Boolean(x2.CSS_UNIT.exec(String(a)))}var Ti=function(){function a(l,c){if(l===void 0)l="";if(c===void 0)c={};var o;if(l instanceof a)return l;if(typeof l==="number")l=ls(l);this.originalInput=l;var r=cs(l);if(this.originalInput=l,this.r=r.r,this.g=r.g,this.b=r.b,this.a=r.a,this.roundA=Math.round(100*this.a)/100,this.format=(o=c.format)!==null&&o!==void 0?o:r.format,this.gradientType=c.gradientType,this.r<1)this.r=Math.round(this.r);if(this.g<1)this.g=Math.round(this.g);if(this.b<1)this.b=Math.round(this.b);this.isValid=r.ok}return a.prototype.isDark=function(){return this.getBrightness()<128},a.prototype.isLight=function(){return!this.isDark()},a.prototype.getBrightness=function(){var l=this.toRgb();return(l.r*299+l.g*587+l.b*114)/1000},a.prototype.getLuminance=function(){var l=this.toRgb(),c,o,r,e=l.r/255,h=l.g/255,Z=l.b/255;if(e<=0.03928)c=e/12.92;else c=Math.pow((e+0.055)/1.055,2.4);if(h<=0.03928)o=h/12.92;else o=Math.pow((h+0.055)/1.055,2.4);if(Z<=0.03928)r=Z/12.92;else r=Math.pow((Z+0.055)/1.055,2.4);return 0.2126*c+0.7152*o+0.0722*r},a.prototype.getAlpha=function(){return this.a},a.prototype.setAlpha=function(l){return this.a=ie(l),this.roundA=Math.round(100*this.a)/100,this},a.prototype.isMonochrome=function(){var l=this.toHsl().s;return l===0},a.prototype.toHsv=function(){var l=Bi(this.r,this.g,this.b);return{h:l.h*360,s:l.s,v:l.v,a:this.a}},a.prototype.toHsvString=function(){var l=Bi(this.r,this.g,this.b),c=Math.round(l.h*360),o=Math.round(l.s*100),r=Math.round(l.v*100);return this.a===1?"hsv(".concat(c,", ").concat(o,"%, ").concat(r,"%)"):"hsva(".concat(c,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},a.prototype.toHsl=function(){var l=Di(this.r,this.g,this.b);return{h:l.h*360,s:l.s,l:l.l,a:this.a}},a.prototype.toHslString=function(){var l=Di(this.r,this.g,this.b),c=Math.round(l.h*360),o=Math.round(l.s*100),r=Math.round(l.l*100);return this.a===1?"hsl(".concat(c,", ").concat(o,"%, ").concat(r,"%)"):"hsla(".concat(c,", ").concat(o,"%, ").concat(r,"%, ").concat(this.roundA,")")},a.prototype.toHex=function(l){if(l===void 0)l=!1;return ki(this.r,this.g,this.b,l)},a.prototype.toHexString=function(l){if(l===void 0)l=!1;return"#"+this.toHex(l)},a.prototype.toHex8=function(l){if(l===void 0)l=!1;return as(this.r,this.g,this.b,this.a,l)},a.prototype.toHex8String=function(l){if(l===void 0)l=!1;return"#"+this.toHex8(l)},a.prototype.toHexShortString=function(l){if(l===void 0)l=!1;return this.a===1?this.toHexString(l):this.toHex8String(l)},a.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},a.prototype.toRgbString=function(){var l=Math.round(this.r),c=Math.round(this.g),o=Math.round(this.b);return this.a===1?"rgb(".concat(l,", ").concat(c,", ").concat(o,")"):"rgba(".concat(l,", ").concat(c,", ").concat(o,", ").concat(this.roundA,")")},a.prototype.toPercentageRgb=function(){var l=function(c){return"".concat(Math.round(g0(c,255)*100),"%")};return{r:l(this.r),g:l(this.g),b:l(this.b),a:this.a}},a.prototype.toPercentageRgbString=function(){var l=function(c){return Math.round(g0(c,255)*100)};return this.a===1?"rgb(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%)"):"rgba(".concat(l(this.r),"%, ").concat(l(this.g),"%, ").concat(l(this.b),"%, ").concat(this.roundA,")")},a.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;var l="#"+ki(this.r,this.g,this.b,!1);for(var c=0,o=Object.entries(pc);c<o.length;c++){var r=o[c],e=r[0],h=r[1];if(l===h)return e}return!1},a.prototype.toString=function(l){var c=Boolean(l);l=l!==null&&l!==void 0?l:this.format;var o=!1,r=this.a<1&&this.a>=0,e=!c&&r&&(l.startsWith("hex")||l==="name");if(e){if(l==="name"&&this.a===0)return this.toName();return this.toRgbString()}if(l==="rgb")o=this.toRgbString();if(l==="prgb")o=this.toPercentageRgbString();if(l==="hex"||l==="hex6")o=this.toHexString();if(l==="hex3")o=this.toHexString(!0);if(l==="hex4")o=this.toHex8String(!0);if(l==="hex8")o=this.toHex8String();if(l==="name")o=this.toName();if(l==="hsl")o=this.toHslString();if(l==="hsv")o=this.toHsvString();return o||this.toHexString()},a.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},a.prototype.clone=function(){return new a(this.toString())},a.prototype.lighten=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.l+=l/100,c.l=dc(c.l),new a(c)},a.prototype.brighten=function(l){if(l===void 0)l=10;var c=this.toRgb();return c.r=Math.max(0,Math.min(255,c.r-Math.round(255*-(l/100)))),c.g=Math.max(0,Math.min(255,c.g-Math.round(255*-(l/100)))),c.b=Math.max(0,Math.min(255,c.b-Math.round(255*-(l/100)))),new a(c)},a.prototype.darken=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.l-=l/100,c.l=dc(c.l),new a(c)},a.prototype.tint=function(l){if(l===void 0)l=10;return this.mix("white",l)},a.prototype.shade=function(l){if(l===void 0)l=10;return this.mix("black",l)},a.prototype.desaturate=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.s-=l/100,c.s=dc(c.s),new a(c)},a.prototype.saturate=function(l){if(l===void 0)l=10;var c=this.toHsl();return c.s+=l/100,c.s=dc(c.s),new a(c)},a.prototype.greyscale=function(){return this.desaturate(100)},a.prototype.spin=function(l){var c=this.toHsl(),o=(c.h+l)%360;return c.h=o<0?360+o:o,new a(c)},a.prototype.mix=function(l,c){if(c===void 0)c=50;var o=this.toRgb(),r=new a(l).toRgb(),e=c/100,h={r:(r.r-o.r)*e+o.r,g:(r.g-o.g)*e+o.g,b:(r.b-o.b)*e+o.b,a:(r.a-o.a)*e+o.a};return new a(h)},a.prototype.analogous=function(l,c){if(l===void 0)l=6;if(c===void 0)c=30;var o=this.toHsl(),r=360/c,e=[this];for(o.h=(o.h-(r*l>>1)+720)%360;--l;)o.h=(o.h+r)%360,e.push(new a(o));return e},a.prototype.complement=function(){var l=this.toHsl();return l.h=(l.h+180)%360,new a(l)},a.prototype.monochromatic=function(l){if(l===void 0)l=6;var c=this.toHsv(),o=c.h,r=c.s,e=c.v,h=[],Z=1/l;while(l--)h.push(new a({h:o,s:r,v:e})),e=(e+Z)%1;return h},a.prototype.splitcomplement=function(){var l=this.toHsl(),c=l.h;return[this,new a({h:(c+72)%360,s:l.s,l:l.l}),new a({h:(c+216)%360,s:l.s,l:l.l})]},a.prototype.onBackground=function(l){var c=this.toRgb(),o=new a(l).toRgb(),r=c.a+o.a*(1-c.a);return new a({r:(c.r*c.a+o.r*o.a*(1-c.a))/r,g:(c.g*c.a+o.g*o.a*(1-c.a))/r,b:(c.b*c.a+o.b*o.a*(1-c.a))/r,a:r})},a.prototype.triad=function(){return this.polyad(3)},a.prototype.tetrad=function(){return this.polyad(4)},a.prototype.polyad=function(l){var c=this.toHsl(),o=c.h,r=[this],e=360/l;for(var h=1;h<l;h++)r.push(new a({h:(o+h*e)%360,s:c.s,l:c.l}));return r},a.prototype.equals=function(l){return this.toRgbString()===new a(l).toRgbString()},a}();var M0=(a,l,c)=>{return new Ti(a).mix(new Ti(l),c).toHexString()},wk=(a)=>{return{10:a.themeDarker,20:M0(a.themeDarker,a.themeDark),30:a.themeDark,40:M0(a.themeDark,a.themeDarkAlt),50:a.themeDarkAlt,60:M0(a.themeDarkAlt,a.themePrimary),70:a.themePrimary,80:M0(a.themePrimary,a.themeSecondary),90:a.themeSecondary,100:M0(a.themeSecondary,a.themeTertiary),110:a.themeTertiary,120:M0(a.themeTertiary,a.themeLight),130:a.themeLight,140:M0(a.themeLight,a.themeLighter),150:a.themeLighter,160:M0(a.themeLighter,a.themeLighterAlt)}},Sk=(a)=>{return{10:a.themeDarker,20:M0(a.themeDarker,a.themePrimary,20),30:M0(a.themeDarker,a.themePrimary,30),40:M0(a.themeDarker,a.themePrimary,40),50:M0(a.themeDarker,a.themePrimary,50),60:M0(a.themeDarker,a.themePrimary,60),70:M0(a.themeDarker,a.themePrimary,70),80:a.themePrimary,90:M0(a.themePrimary,a.themeLighterAlt,10),100:M0(a.themePrimary,a.themeLighterAlt,20),110:M0(a.themePrimary,a.themeLighterAlt,30),120:M0(a.themePrimary,a.themeLighterAlt,40),130:M0(a.themePrimary,a.themeLighterAlt,50),140:M0(a.themePrimary,a.themeLighterAlt,60),150:M0(a.themePrimary,a.themeLighterAlt,70),160:a.themeLighterAlt}},ve=(a,l="pairs")=>{switch(l){case"primaryAndEnds":return Sk(a);case"pairs":default:return wk(a)}};var os="7d56fff0-e90e-40a7-98cf-fcdbc63a9b01",Ei="d6ca1fc2-0591-4c6d-8a25-cae3262c017b",rs="45e75137-13c5-4bb2-a2b3-8ab6382682ee",es="SPFxExtensionsConfigurator",ne="SitePages/SPFxExtensionsConfigurator.aspx",k0="manifest.txt",c7="collectionconfig.txt",sE1="Loading...",K6="SPFxExtensionsConfiguration",j6="SPFxExtensionsWhiteList",w1="SPFxExtensions",hs="/SPFxExtensions/",m0="SPFxExtensionsData",de="[SPFxExtensionCore]",_c={appDefinitionMap:[],appRelativeEntryPointUrls:[],manualEntries:[]},Ac={enabledEverywhere:!1,excludedHubIds:[],excludedIds:[],includedHubIds:[],includedIds:[]},mc={enabledAppCollections:[],urlMap:[]},z0="00000000-0000-0000-0000-000000000000";function L1(a,l,c=a){return(o)=>{let r=""+o,e=r.indexOf(l,a.length);return~e?a+Gk(r,l,c,e)+l:a+r+l}}function Gk(a,l,c,o){let r="",e=0;do r+=a.substring(e,o)+c,e=o+l.length,o=a.indexOf(l,e);while(~o);return r+a.substring(e)}var fE1=L1("\x1B[0m","\x1B[0m"),FE1=L1("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),xE1=L1("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),gE1=L1("\x1B[3m","\x1B[23m"),LE1=L1("\x1B[4m","\x1B[24m"),CE1=L1("\x1B[7m","\x1B[27m"),RE1=L1("\x1B[8m","\x1B[28m"),wE1=L1("\x1B[9m","\x1B[29m"),SE1=L1("\x1B[30m","\x1B[39m"),GE1=L1("\x1B[31m","\x1B[39m"),UE1=L1("\x1B[32m","\x1B[39m"),DE1=L1("\x1B[33m","\x1B[39m"),BE1=L1("\x1B[34m","\x1B[39m"),kE1=L1("\x1B[35m","\x1B[39m"),yE1=L1("\x1B[36m","\x1B[39m"),OE1=L1("\x1B[37m","\x1B[39m"),PE1=L1("\x1B[90m","\x1B[39m"),TE1=L1("\x1B[40m","\x1B[49m"),EE1=L1("\x1B[41m","\x1B[49m"),qE1=L1("\x1B[42m","\x1B[49m"),WE1=L1("\x1B[43m","\x1B[49m"),bE1=L1("\x1B[44m","\x1B[49m"),zE1=L1("\x1B[45m","\x1B[49m"),QE1=L1("\x1B[46m","\x1B[49m"),JE1=L1("\x1B[47m","\x1B[49m"),IE1=L1("\x1B[90m","\x1B[39m"),$E1=L1("\x1B[91m","\x1B[39m"),Me=L1("\x1B[92m","\x1B[39m"),YE1=L1("\x1B[93m","\x1B[39m"),XE1=L1("\x1B[94m","\x1B[39m"),KE1=L1("\x1B[95m","\x1B[39m"),jE1=L1("\x1B[96m","\x1B[39m"),NE1=L1("\x1B[97m","\x1B[39m"),aq1=L1("\x1B[100m","\x1B[49m"),lq1=L1("\x1B[101m","\x1B[49m"),cq1=L1("\x1B[102m","\x1B[49m"),oq1=L1("\x1B[103m","\x1B[49m"),rq1=L1("\x1B[104m","\x1B[49m"),eq1=L1("\x1B[105m","\x1B[49m"),hq1=L1("\x1B[106m","\x1B[49m"),Zq1=L1("\x1B[107m","\x1B[49m");function m1(...a){console.error(Me(de),(/*@__PURE__*/new Date()).toISOString(),...a)}function g2(...a){console.warn(Me(de),(/*@__PURE__*/new Date()).toISOString(),...a)}function L0(...a){console.info(Me(de),(/*@__PURE__*/new Date()).toISOString(),...a)}function nq1(...a){}function dq1(a,l,c){m1("Error while executing onInstanceRequested for app",a.id,"with name",a.name,c?`Additional Data: ${c}`:"",l)}function _q1(){return g2("The app instance event was called before app instance was initialized."),()=>{}}var qi=window.crypto.randomUUID();function Aq1(){return qi}function mq1(){return qi=window.crypto.randomUUID(),qi}function Wi(a){return a.replace("{","").replace("}","")}function U1(a){return JSON.parse(JSON.stringify(a))}function Vq1(){return window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.web.id.toString():Wi(window.__SPFxExtensions.__CurrentContext.context.webId)}function C4(){return(window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.web.absoluteUrl:window.__SPFxExtensions.__CurrentContext.context.webAbsoluteUrl).replace(/\/$/,"")}function fq1(){return window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.site.id.toString():Wi(window.__SPFxExtensions.__CurrentContext.context.siteId)}function Fq1(){return window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.site.absoluteUrl:window.__SPFxExtensions.__CurrentContext.context.siteAbsoluteUrl}function xq1(){return(window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.legacyPageContext.hubSiteId?.toString():window.__SPFxExtensions.__CurrentContext.context.hubSiteId)??z0}function gq1(){return window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext"?window.__SPFxExtensions.__CurrentContext.context.legacyPageContext.isHubSite:window.__SPFxExtensions.__CurrentContext.context.isHubSite}var Uk=Symbol.for("preact-signals");function me(){if(!(z7>1)){var a,l=!1;(function(){var r=_e;_e=void 0;while(r!==void 0){if(r.S.v===r.v)r.S.i=r.i;r=r.o}})();while(Hc!==void 0){var c=Hc;Hc=void 0,pe++;while(c!==void 0){var o=c.u;if(c.u=void 0,c.f&=-3,!(8&c.f)&&is(c))try{c.c()}catch(r){if(!l)a=r,l=!0}c=o}}if(pe=0,z7--,l)throw a}else z7--}function He(a){if(z7>0)return a();bi=++Dk,z7++;try{return a()}finally{me()}}var q1=void 0;function zi(a){var l=q1;q1=void 0;try{return a()}finally{q1=l}}var Zs,Hc=void 0,z7=0,pe=0,Dk=0,bi=0,_e=void 0,Ae=0;function ts(a){if(q1!==void 0){var l=a.n;if(l===void 0||l.t!==q1){if(l={i:0,S:a,p:q1.s,n:void 0,t:q1,e:void 0,x:void 0,r:l},q1.s!==void 0)q1.s.n=l;if(q1.s=l,a.n=l,32&q1.f)a.S(l);return l}else if(l.i===-1){if(l.i=0,l.n!==void 0){if(l.n.p=l.p,l.p!==void 0)l.p.n=l.n;l.p=q1.s,l.n=void 0,q1.s.n=l,q1.s=l}return l}}}function C0(a,l){this.v=a,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=l==null?void 0:l.watched,this.Z=l==null?void 0:l.unwatched,this.name=l==null?void 0:l.name}C0.prototype.brand=Uk;C0.prototype.h=function(){return!0};C0.prototype.S=function(a){var l=this,c=this.t;if(c!==a&&a.e===void 0)if(a.x=c,this.t=a,c!==void 0)c.e=a;else zi(function(){var o;(o=l.W)==null||o.call(l)})};C0.prototype.U=function(a){var l=this;if(this.t!==void 0){var{e:c,x:o}=a;if(c!==void 0)c.x=o,a.e=void 0;if(o!==void 0)o.e=c,a.x=void 0;if(a===this.t){if(this.t=o,o===void 0)zi(function(){var r;(r=l.Z)==null||r.call(l)})}}};C0.prototype.subscribe=function(a){var l=this;return o7(function(){var c=l.value,o=q1;q1=void 0;try{a(c)}finally{q1=o}},{name:"sub"})};C0.prototype.valueOf=function(){return this.value};C0.prototype.toString=function(){return this.value+""};C0.prototype.toJSON=function(){return this.value};C0.prototype.peek=function(){var a=q1;q1=void 0;try{return this.value}finally{q1=a}};Object.defineProperty(C0.prototype,"value",{get:function(){var a=ts(this);if(a!==void 0)a.i=this.i;return this.v},set:function(a){if(a!==this.v){if(pe>100)throw Error("Cycle detected");(function(c){if(z7!==0&&pe===0){if(c.l!==bi)c.l=bi,_e={S:c,v:c.v,i:c.i,o:_e}}})(this),this.v=a,this.i++,Ae++,z7++;try{for(var l=this.t;l!==void 0;l=l.x)l.t.N()}finally{me()}}}});function R0(a,l){return new C0(a,l)}function is(a){for(var l=a.s;l!==void 0;l=l.n)if(l.S.i!==l.i||!l.S.h()||l.S.i!==l.i)return!0;return!1}function vs(a){for(var l=a.s;l!==void 0;l=l.n){var c=l.S.n;if(c!==void 0)l.r=c;if(l.S.n=l,l.i=-1,l.n===void 0){a.s=l;break}}}function ns(a){var l=a.s,c=void 0;while(l!==void 0){var o=l.p;if(l.i===-1){if(l.S.U(l),o!==void 0)o.n=l.n;if(l.n!==void 0)l.n.p=o}else c=l;if(l.S.n=l.r,l.r!==void 0)l.r=void 0;l=o}a.s=c}function R4(a,l){C0.call(this,void 0),this.x=a,this.s=void 0,this.g=Ae-1,this.f=4,this.W=l==null?void 0:l.watched,this.Z=l==null?void 0:l.unwatched,this.name=l==null?void 0:l.name}R4.prototype=new C0;R4.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32)return!0;if(this.f&=-5,this.g===Ae)return!0;if(this.g=Ae,this.f|=1,this.i>0&&!is(this))return this.f&=-2,!0;var a=q1;try{vs(this),q1=this;var l=this.x();if(16&this.f||this.v!==l||this.i===0)this.v=l,this.f&=-17,this.i++}catch(c){this.v=c,this.f|=16,this.i++}return q1=a,ns(this),this.f&=-2,!0};R4.prototype.S=function(a){if(this.t===void 0){this.f|=36;for(var l=this.s;l!==void 0;l=l.n)l.S.S(l)}C0.prototype.S.call(this,a)};R4.prototype.U=function(a){if(this.t!==void 0){if(C0.prototype.U.call(this,a),this.t===void 0){this.f&=-33;for(var l=this.s;l!==void 0;l=l.n)l.S.U(l)}}};R4.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var a=this.t;a!==void 0;a=a.x)a.t.N()}};Object.defineProperty(R4.prototype,"value",{get:function(){if(1&this.f)throw Error("Cycle detected");var a=ts(this);if(this.h(),a!==void 0)a.i=this.i;if(16&this.f)throw this.v;return this.v}});function ue(a,l){return new R4(a,l)}function ds(a){var l=a.m;if(a.m=void 0,typeof l=="function"){z7++;var c=q1;q1=void 0;try{l()}catch(o){throw a.f&=-2,a.f|=8,Qi(a),o}finally{q1=c,me()}}}function Qi(a){for(var l=a.s;l!==void 0;l=l.n)l.S.U(l);a.x=void 0,a.s=void 0,ds(a)}function Bk(a){if(q1!==this)throw Error("Out-of-order effect");if(ns(this),q1=a,this.f&=-2,8&this.f)Qi(this);me()}function N6(a,l){if(this.x=a,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=l==null?void 0:l.name,Zs)Zs.push(this)}N6.prototype.c=function(){var a=this.S();try{if(8&this.f)return;if(this.x===void 0)return;var l=this.x();if(typeof l=="function")this.m=l}finally{a()}};N6.prototype.S=function(){if(1&this.f)throw Error("Cycle detected");this.f|=1,this.f&=-9,ds(this),vs(this),z7++;var a=q1;return q1=this,Bk.bind(this,a)};N6.prototype.N=function(){if(!(2&this.f))this.f|=2,this.u=Hc,Hc=this};N6.prototype.d=function(){if(this.f|=8,!(1&this.f))Qi(this)};N6.prototype.dispose=function(){this.d()};function o7(a,l){var c=new N6(a,l);try{c.c()}catch(r){throw c.d(),r}var o=c.d.bind(c);return o[Symbol.dispose]=o,o}var Ji,Ii,se,kk=typeof window<"u"&&!!window.__PREACT_SIGNALS_DEVTOOLS__,Ms=[],ps=[];o7(function(){Ji=this.N})();function a8(a,l){p1[a]=l.bind(null,p1[a]||function(){})}function Ve(a){if(se){var l=se;se=void 0,l()}se=a&&a.S()}function _s(a){var l=this,c=a.data,o=r7(c);o.value=c;var r=v1(function(){var Z=l,t=l.__v;while(t=t.__)if(t.__c){t.__c.__$f|=4;break}var i=ue(function(){var M=o.value.value;return M===0?0:M===!0?"":M||""}),n=ue(function(){return!Array.isArray(i.value)&&!Uh(i.value)}),v=o7(function(){if(this.N=As,n.value){var M=i.value;if(Z.__v&&Z.__v.__e&&Z.__v.__e.nodeType===3)Z.__v.__e.data=M}}),d=l.__$u.d;return l.__$u.d=function(){v(),d.call(this)},[n,i]},[]),e=r[0],h=r[1];return e.value?h.peek():h.value}_s.displayName="ReactiveTextNode";Object.defineProperties(C0.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:_s},props:{configurable:!0,get:function(){var a=this;return{data:{get value(){return a.value}}}}},__b:{configurable:!0,value:1}});a8("__b",function(a,l){if(typeof l.type=="string"){var c,o=l.props;for(var r in o)if(r!=="children"){var e=o[r];if(e instanceof C0){if(!c)l.__np=c={};c[r]=e,o[r]=e.peek()}}}a(l)});a8("__r",function(a,l){if(a(l),l.type!==i1){Ve();var c,o=l.__c;if(o){if(o.__$f&=-2,(c=o.__$u)===void 0)o.__$u=c=function(r,e){var h;return o7(function(){h=this},{name:e}),h.c=r,h}(function(){var r;if(kk)(r=c.y)==null||r.call(c);o.__$f|=1,o.setState({})},typeof l.type=="function"?l.type.displayName||l.type.name:"")}Ii=o,Ve(c)}});a8("__e",function(a,l,c,o){Ve(),Ii=void 0,a(l,c,o)});a8("diffed",function(a,l){Ve(),Ii=void 0;var c;if(typeof l.type=="string"&&(c=l.__e)){var{__np:o,props:r}=l;if(o){var e=c.U;if(e)for(var h in e){var Z=e[h];if(Z!==void 0&&!(h in o))Z.d(),e[h]=void 0}else e={},c.U=e;for(var t in o){var i=e[t],n=o[t];if(i===void 0)i=yk(c,t,n),e[t]=i;else i.o(n,r)}for(var v in o)r[v]=o[v]}}a(l)});function yk(a,l,c,o){var r=l in a&&a.ownerSVGElement===void 0,e=R0(c),h=c.peek();return{o:function(Z,t){e.value=Z,h=Z.peek()},d:o7(function(){this.N=As;var Z=e.value.value;if(h!==Z)if(h=void 0,r)a[l]=Z;else if(Z!=null&&(Z!==!1||l[4]==="-"))a.setAttribute(l,Z);else a.removeAttribute(l);else h=void 0})}}a8("unmount",function(a,l){if(typeof l.type=="string"){var c=l.__e;if(c){var o=c.U;if(o){c.U=void 0;for(var r in o){var e=o[r];if(e)e.d()}}}l.__np=void 0}else{var h=l.__c;if(h){var Z=h.__$u;if(Z)h.__$u=void 0,Z.d()}}a(l)});a8("__h",function(a,l,c,o){if(o<3||o===9)l.__$f|=2;a(l,c,o)});e5.prototype.shouldComponentUpdate=function(a,l){if(this.__R)return!0;var c=this.__$u,o=c&&c.s!==void 0;for(var r in l)return!0;if(this.__f||typeof this.u=="boolean"&&this.u===!0){var e=2&this.__$f;if(!(o||e||4&this.__$f))return!0;if(1&this.__$f)return!0}else{if(!(o||4&this.__$f))return!0;if(3&this.__$f)return!0}for(var h in a)if(h!=="__source"&&a[h]!==this.props[h])return!0;for(var Z in this.props)if(!(Z in a))return!0;return!1};function r7(a,l){return v1(function(){return R0(a,l)},[])}var Ok=typeof requestAnimationFrame>"u"?setTimeout:function(a){var l=function(){clearTimeout(c),cancelAnimationFrame(o),a()},c=setTimeout(l,35),o=requestAnimationFrame(l)},Pk=function(a){queueMicrotask(function(){queueMicrotask(a)})};function Tk(){He(function(){var a;while(a=Ms.shift())Ji.call(a)})}function Ek(){if(Ms.push(this)===1)(p1.requestAnimationFrame||Ok)(Tk)}function qk(){He(function(){var a;while(a=ps.shift())Ji.call(a)})}function As(){if(ps.push(this)===1)(p1.requestAnimationFrame||Pk)(qk)}function $5(a,l){var c=y(a);c.current=a,X(function(){return o7(function(){return this.N=Ek,c.current()},l)},[])}function R3(a,l,c){let o=new Date(a.toString());switch(l.toLowerCase()){case"year":o.setFullYear(o.getFullYear()+c);break;case"quarter":o.setMonth(o.getMonth()+3*c);break;case"month":o.setMonth(o.getMonth()+c);break;case"week":o.setDate(o.getDate()+7*c);break;case"day":o.setDate(o.getDate()+c);break;case"hour":o.setTime(o.getTime()+c*3600000);break;case"minute":o.setTime(o.getTime()+c*60000);break;case"second":o.setTime(o.getTime()+c*1000);break;default:o=void 0;break}return o}function O1(...a){return a.filter((l)=>!B5(l)).map((l)=>l.replace(/^[\\|/]/,"").replace(/[\\|/]$/,"")).join("/").replace(/\\/g,"/")}function Q7(){let a=Date.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(l){let c=(a+Math.random()*16)%16|0;return a=Math.floor(a/16),(l==="x"?c:c&3|8).toString(16)})}function f5(a){return typeof a==="function"}function y0(a){return Array.isArray(a)}function w0(a){return/^https?:\/\/|^\/\//i.test(a)}function B5(a){return typeof a>"u"||a===null||a.length<1}function H0(a){return typeof a<"u"&&a!==null}function fe(a){return JSON.stringify(a)}function b1(a,l){return Object.hasOwnProperty.call(a,l)}function ms(a){let l=0;if(a.length===0)return l;for(let c=0;c<a.length;c++){let o=a.charCodeAt(c);l=(l<<5)-l+o,l|=0}return l}function Hs(a){return new Promise((l)=>{setTimeout(l,a)})}var $i;function us(){if(typeof $i>"u")$i=new ss;return $i}class Yi{constructor(a){this.store=a,this.enabled=this.test()}get(a){if(!this.enabled)return null;let l=this.store.getItem(a);if(!H0(l))return null;let c=JSON.parse(l);if(new Date(c.expiration)<=/*@__PURE__*/new Date)return this.delete(a),null;else return c.value}put(a,l,c){if(this.enabled)this.store.setItem(a,this.createPersistable(l,c))}delete(a){if(this.enabled)this.store.removeItem(a)}async getOrPut(a,l,c){if(!this.enabled)return l();let o=this.get(a);if(o===null)o=await l(),this.put(a,o,c);return o}async deleteExpired(){if(!this.enabled)return;for(let a=0;a<this.store.length;a++){let l=this.store.key(a);if(l!==null){if(/["|']?pnp["|']? ?: ?1/i.test(this.store.getItem(l)))await this.get(l)}}}test(){try{return this.store.setItem("t","t"),this.store.removeItem("t"),!0}catch(l){return!1}}createPersistable(a,l){if(l===void 0)l=R3(/*@__PURE__*/new Date,"minute",5);return fe({pnp:1,expiration:l,value:a})}}class ss{constructor(a=/*@__PURE__*/new Map){this._store=a}get length(){return this._store.size}clear(){this._store.clear()}getItem(a){return this._store.get(a)}key(a){return Array.from(this._store)[a][0]}removeItem(a){this._store.delete(a)}setItem(a,l){this._store.set(a,l)}}class Xi{constructor(a=null,l=null){this._local=a,this._session=l}get local(){if(this._local===null)this._local=new Yi(typeof localStorage>"u"?us():localStorage);return this._local}get session(){if(this._session===null)this._session=new Yi(typeof sessionStorage>"u"?us():sessionStorage);return this._session}}function Fe(){return function(a,...l){let c=[...a];for(let o=0;o<c.length;o++)Reflect.apply(c[o],this,l)}}function Vs(){return function(a,...l){return[...a].reduce((o,r)=>Reflect.apply(r,this,o),l)}}function uc(){return async function(a,...l){return[...a].reduce((o,r)=>o.then((e)=>Reflect.apply(r,this,e)),Promise.resolve(l))}}function fs(){return async function(a,...l){if(!y0(a)||a.length<1)return;let c=a[0];return Reflect.apply(c,this,l)}}function xe(){return function(a,...l){let c=[...a];for(let o=0;o<c.length;o++)Reflect.apply(c[o],this,l);return this}}var ji=Symbol.for("ObserverLifecycleFlags"),Fs=(a)=>(l)=>!((l[ji]||0)&a),xs=(a)=>(l)=>{return l[ji]=(l[ji]||0)|a,l},w4=xs(1),Wq1=xs(2);class Ni{constructor(a,l={}){this.moments=a,this.observers=l,this._onProxy=null,this._emitProxy=null,this._inheritingObservers=!0}using(...a){for(let l=0;l<a.length;l++)a[l](this);return this}get on(){if(this._onProxy===null)this._onProxy=new Proxy(this,{get:(a,l)=>Object.assign((c)=>{return a.cloneObserversOnChange(),Ki(a.observers,l,c,1),a},{toArray:()=>{return Reflect.has(a.observers,l)?[...Reflect.get(a.observers,l)]:[]},replace:(c)=>{return a.cloneObserversOnChange(),Ki(a.observers,l,c,3),a},prepend:(c)=>{return a.cloneObserversOnChange(),Ki(a.observers,l,c,2),a},clear:()=>{if(Reflect.has(a.observers,l))return a.cloneObserversOnChange(),a.observers[l].length=0,!0;return!1}})});return this._onProxy}log(a,l=0){this.emit.log(a,l)}error(a){if(H0(a))this.emit.error(a)}get emit(){if(this._emitProxy===null)this._emitProxy=new Proxy(this,{get:(a,l)=>(...c)=>{let o=Reflect.has(a.observers,l)?Reflect.get(a.observers,l):[];if((!y0(o)||o.length<1)&&l==="error")throw Error(`Unhandled Exception: ${c[0]}`);try{let r=Reflect.has(a.moments,l)?Reflect.get(a.moments,l):l==="init"||l==="dispose"?xe():Fe();return Reflect.apply(r,a,[o,...c])}catch(r){if(l!=="error")this.error(r);else throw r}finally{if(o&&o.length>0)Reflect.set(a.observers,l,o.filter(Fs(2)))}}});return this._emitProxy}start(a){this.emit.init();let l=this.execute(a);return l.finally(()=>{try{this.emit.dispose()}catch(c){let o=Object.assign(Error("Error in dispose."),{innerException:c});this.error(o)}}).catch(()=>{return}),l}cloneObserversOnChange(){if(this._inheritingObservers)this._inheritingObservers=!1,this.observers=av(this.observers)}}function Ki(a,l,c,o){if(!f5(c))throw Error("Observers must be functions.");if(!Reflect.has(a,l))a[l]=[c];else switch(o){case 1:a[l].push(c);break;case 2:a[l].unshift(c);break;case 3:a[l].length=0,a[l].push(c);break}return a[l]}function av(a){return Reflect.ownKeys(a).reduce((l,c)=>{return l[c]=[...a[c].filter(Fs(1))],l},{})}function sc(a,l="append",c){return(o)=>{return Reflect.apply(Wk,o,[a,l,c])}}function Wk(a,l,c){if(!H0(a)||!H0(a.observers))return this;if(!f5(c))c=()=>!0;let o=av(a.observers),r=Object.keys(o).filter(c);for(let e=0;e<r.length;e++){let h=r[e],Z=this.on[h];if(l==="replace")Z.clear();o[h].forEach((i)=>Z(i))}return this}var bk={construct:xe(),pre:uc(),auth:uc(),send:fs(),parse:uc(),post:uc(),data:Fe()},Vc=class extends Ni{constructor(l,c){super(bk);this.InternalResolve=Symbol.for("Queryable_Resolve"),this.InternalReject=Symbol.for("Queryable_Reject"),this.InternalPromise=Symbol.for("Queryable_Promise"),this._query=new URLSearchParams,this.moments[this.InternalPromise]=Vs();let o;if(typeof l==="string")this._url=O1(l,c);else if(y0(l)){if(l.length!==2)throw Error("When using the tuple param exactly two arguments are expected.");if(typeof l[1]!=="string")throw Error("Expected second tuple param to be a string.");o=l[0],this._url=O1(l[1],c)}else o=l,this._url=O1(o._url,c);if(typeof o<"u")this.observers=o.observers,this._inheritingObservers=!0}concat(l){return this._url+=l,this}toRequestUrl(){let l=this.toUrl(),c=this.query.toString();if(!B5(c))l+=`${l.indexOf("?")>-1?"&":"?"}${c}`;return l}get query(){return this._query}toUrl(){return this._url}execute(l){if(Reflect.ownKeys(this.observers).length<1)throw Error("No observers registered for this request. (https://pnp.github.io/pnpjs/queryable/queryable#no-observers-registered-for-this-request)");return setTimeout(async()=>{let c=Q7(),o,r=(e,h)=>{this.log(`[${c}] ${e}`,h)};try{r("Beginning request",0);let e={...l,headers:{...l.headers,"X-PnPjs-RequestId":c}},[h,Z,t]=await this.emit.pre(this.toRequestUrl(),e,void 0);if(r(`Url: ${h}`,1),typeof t<"u"){r("Result returned from pre, Emitting data"),this.emit.data(t),r("Emitted data");return}r("Emitting auth"),[o,Z]=await this.emit.auth(new URL(h),Z),r("Emitted auth"),Z={...Z,...l,headers:{...Z.headers,...l.headers}},r("Emitting send");let i=await this.emit.send(o,Z);r("Emitted send"),r("Emitting parse"),[o,i,t]=await this.emit.parse(o,i,t),r("Emitted parse"),r("Emitting post"),[o,t]=await this.emit.post(o,t),r("Emitted post"),r("Emitting data"),this.emit.data(t),r("Emitted data")}catch(e){r(`Emitting error: "${e.message||e}"`,3),this.error(e),r("Emitted error",3)}finally{r("Finished request",0)}},0),this.emit[this.InternalPromise](new Promise((c,o)=>{this.on[this.InternalResolve].replace(c),this.on[this.InternalReject].replace(o)}))[0]}};Vc=I1([zk()],Vc);function lv(a,l={headers:{}}){return{method:a,...l,headers:{...l.headers}}}function cv(a){return this.start(lv("GET",a))}function gs(a){return this.start(lv("POST",a))}function Ls(a){return this.start(lv("PATCH",a))}function fc(a,l,c){return Reflect.apply(l,a,[c])}function Cs(a){return(l,c)=>{let o=new a(l,c);return o.emit.construct(l,c),o}}function zk(a){return(l)=>{return new Proxy(l,{construct(c,o,r){let e=Object.assign(function(h){if(!f5(a))a=function(Z){return fc(this,cv,Z)};return Reflect.apply(a,e,[h])},Reflect.construct(c,o,r));return Reflect.setPrototypeOf(e,r.prototype),e}})}}function ov(a,l=!1){return(c)=>{let o=async function(r,e,h){return e.headers={...e.headers,...a},[r,e,h]};if(l)c.on.pre.prepend(o);else c.on.pre(o);return c}}function ge(){return Y5(async(a)=>{if(a.headers.has("Content-Length")&&parseFloat(a.headers.get("Content-Length"))===0||a.status===204)return{};let l=await a.text(),c=l.replace(/\s/ig,"").length>0?JSON.parse(l):{};return rv(c)})}function l8(){return Y5((a)=>a.text())}function Rs(){return Y5((a)=>a.blob())}function Le(){return Y5((a)=>a.json())}function ws(){return Y5((a)=>f5(a.arrayBuffer)?a.arrayBuffer():a.buffer())}async function Qk(a,l,c){if(!l.ok)throw await S4.init(l);return[a,l,c]}function rv(a){let l=a;if(b1(a,"d"))if(b1(a.d,"results"))l=a.d.results;else l=a.d;else if(b1(a,"value"))l=a.value;return l}function Y5(a){return(l)=>{return l.on.parse.replace(Qk),l.on.parse(async(c,o,r)=>{if(o.ok&&typeof r>"u")r=await a(o);return[c,o,r]}),l}}class S4 extends Error{constructor(a,l,c=l.status,o=l.statusText){super(a);this.response=l,this.status=c,this.statusText=o,this.isHttpRequestError=!0}static async init(a){let l=await a.clone().text();return new S4(`Error making HttpClient request in queryable [${a.status}] ${a.statusText} ::> ${l}`,a)}}function Ce(a){let{interval:l,replace:c,retries:o}={replace:!0,interval:200,retries:3,...a};return(r)=>{if(c)r.on.send.clear();return r.on.send(function(e,h){let Z,t=l,i=0,n,v=async()=>{if(i>=o)throw n||new S4(`Retry count exceeded (${o}) for this request. ${Z.status}: ${Z.statusText};`,Z);if(i++,typeof Z>"u"||(Z===null||Z===void 0?void 0:Z.status)===429||(Z===null||Z===void 0?void 0:Z.status)===503||(Z===null||Z===void 0?void 0:Z.status)===504){if(typeof Z<"u"){if(Z.headers.has("Retry-After"))t=parseInt(Z.headers.get("Retry-After"),10)*1000;else t*=2;this.log(`Attempt #${i} to retry request which failed with ${Z.status}: ${Z.statusText}`,0),await Hs(t)}try{let d=e.toString();return this.log(`Fetch: ${h.method} ${d}`,0),Z=await fetch(d,h),Z.ok?Z:v()}catch(d){if(/AbortError/.test(d.name))throw d;return n=d,v()}}else return Z};return v()}),r}}function ev(){return(a)=>{return a.on.pre.prepend(async function(l,c,o){return c.headers={...c.headers,"X-PnP-CacheNever":"1"},[l,c,o]}),a}}function Gs(a){return(l)=>{return l.on.pre(async function(c,o,r){let[e,h,Z]=Us(c,o,a);if(e){let t=h();if(t===null)this.on.post(w4(async function(i,n){return Z(n),[i,n]}));else r=t}return[c,o,r]}),l}}var Ss=new Xi;function Us(a,l,c){var o,r;let{store:e,keyFactory:h,expireFunc:Z}={store:"local",keyFactory:(n)=>ms(n.toLowerCase()).toString(),expireFunc:()=>R3(/*@__PURE__*/new Date,"minute",5),...c},t=e==="session"?Ss.session:Ss.local,i=(l===null||l===void 0?void 0:l.headers["X-PnP-CacheKey"])?l.headers["X-PnP-CacheKey"]:h(a);return[(/get/i.test(l.method)||((o=l===null||l===void 0?void 0:l.headers["X-PnP-CacheAlways"])!==null&&o!==void 0?o:!1))&&!((r=l===null||l===void 0?void 0:l.headers["X-PnP-CacheNever"])!==null&&r!==void 0?r:!1),()=>t.get(i),(n)=>t.put(i,n,Z(a))]}var Ds="__CancelMoment__",c8=Symbol.for("CancelScopeId"),Fc=/*@__PURE__*/new Map;async function Jk(a){let l=Fc.get(a);if(l.controller.abort(),y0(l===null||l===void 0?void 0:l.actions))l.actions.map((c)=>l.currentSelf.on[Ds](c));try{await l.currentSelf.emit[Ds]()}catch(c){l.currentSelf.log(`Error in cancel: ${c}`,3)}}function Ik(a){let l=Q7();return a[c8]=l,Fc.set(l,{cancel:Jk.bind({},l),actions:[],controller:null,currentSelf:a}),l}var $k=(a)=>{return function(...l){if(!Reflect.has(this,c8))Ik(this);let c=a.apply(this,l).finally(()=>{Fc.delete(this[c8]),delete this[c8]});return c.cancel=Fc.get(this[c8]).cancel,c}};function e7(a,l,c){c.value=$k(c.value)}function hv(a){return(l)=>{return l.on.pre(async function(...c){let o=Fc.get(this[c8]);if(H0(o)){if(!y0(o.actions))o.actions=[];if(o.actions.indexOf(a)<0)o.actions.push(a)}return c}),l}}function Bs(){return(a)=>{return a.on.data(function(l){this.emit[this.InternalResolve](l)}),a}}function ks(){return(a)=>{return a.on.error(function(l){this.emit[this.InternalReject](l)}),a}}function O0(a,l,c,o){Reflect.defineProperty(a.prototype,l,{configurable:!0,enumerable:!0,get:function(){return c(this,o||l)}})}function D1(a,l){return Object.assign({body:fe(a)},l)}function o8(a,l){return Object.assign({},l,{headers:{...l===null||l===void 0?void 0:l.headers,...a}})}var Yk="This folder contains extensions that are loaded by the SPFxExtensions application.";async function Re(a){try{await a.web.lists.ensure(w1,Yk,101,!1,{Hidden:!0})}catch(l){if(l instanceof S4){if(l.message.includes("-2130575342"))return}throw l}}async function ys(a,l,c){let o=`${l}/${w1}/${c}`,r=await a.web.lists.getByTitle(w1).items.filter(`startswith(FileDirRef,'${o}') and FSObjType eq 0`).select("Id")();if(r.length>0){let[h,Z]=a.web.batched();r.forEach((t)=>{h.lists.getByTitle(w1).items.getById(t.Id).delete()}),await Z()}let e=a.web.lists.getByTitle(w1).rootFolder.folders.getByUrl(c);await Os(e)}async function Os(a){let l=await a.folders();for(let c of l)await Os(a.folders.getByUrl(c.Name));await a.delete()}var $1=(a)=>{return Cs(a)};class w3 extends Vc{constructor(a,l){if(typeof a==="string"){let c="",o="";if(w0(a)||a.lastIndexOf("/")<0)o=a,c=O1(a,l);else if(a.lastIndexOf("/")>a.lastIndexOf("(")){let r=a.lastIndexOf("/");o=a.slice(0,r),l=O1(a.slice(r),l),c=O1(o,l)}else{let r=a.lastIndexOf("(");o=a.slice(0,r),c=O1(a,l)}super(c);this.parentUrl=o}else{super(a,l);let c=y0(a)?a[0]:a;this.parentUrl=y0(a)?a[1]:c.toUrl()}}toRequestUrl(){let a=new URLSearchParams(this.query),l=this.toUrl().replace(/'!(@.+?)::((?:[^']|'')+)'/ig,(o,r,e)=>{return this.log(`Rewriting aliased parameter from match ${o} to label: ${r} value: ${e}`,0),a.set(r,`'${e}'`),r}),c=a.toString();if(!B5(c))l+=`${l.indexOf("?")>-1?"&":"?"}${c}`;return l}select(...a){if(a.length>0)this.query.set("$select",a.join(","));return this}expand(...a){if(a.length>0)this.query.set("$expand",a.join(","));return this}getParent(a,l,c=this.parentUrl){return a([this,c],l)}}var G0=$1(w3);class c5 extends w3{filter(a){if(typeof a==="object")return this.query.set("$filter",a.toString()),this;if(typeof a==="function")return this.query.set("$filter",a(we.Where()).toString()),this;return this.query.set("$filter",a.toString()),this}orderBy(a,l=!0){let o=this.query.has("$orderby")?this.query.get("$orderby").split(","):[];return o.push(`${a} ${l?"asc":"desc"}`),this.query.set("$orderby",o.join(",")),this}skip(a){return this.query.set("$skip",a.toString()),this}top(a){return this.query.set("$top",a.toString()),this}}var k5=$1(c5);class Q0 extends w3{}var X5=$1(Q0);function Ge(){return function(){return Ts(this)}}function J7(){return function(a="*"){return Xk(this,{},a)}}var Ps=(a,l)=>{return fc(a,cv,l)},K=(a,l)=>fc(a,gs,l),e8=(a,l)=>{return l=l||{},l.headers={...l.headers,"X-HTTP-Method":"MERGE"},K(a,l)},Ts=(a,l)=>{return l=l||{},l.headers={...l.headers||{},"X-HTTP-Method":"DELETE"},K(a,l)},Xk=(a,l,c="*")=>{return l=l||{},l.headers={...l.headers||{},"IF-Match":c},Ts(a,l)};var Es=(a,l)=>fc(a,Ls,l),S0;(function(a){a.Equals="eq",a.NotEquals="ne",a.GreaterThan="gt",a.GreaterThanOrEqualTo="ge",a.LessThan="lt",a.LessThanOrEqualTo="le",a.StartsWith="startswith",a.SubstringOf="substringof"})(S0||(S0={}));var l5;(function(a){a.And="and",a.AndWithSpace=" and ",a.Or="or",a.OrWithSpace=" or "})(l5||(l5={}));class we{static Where(){return new bs([])}}class gc{constructor(a){this.query=[],this.query=a}}class r8 extends gc{constructor(a){super(a)}text(a){return new xc([...this.query,a])}choice(a){return new xc([...this.query,a])}multiChoice(a){return new xc([...this.query,a])}number(a){return new Se([...this.query,a])}date(a){return new Js([...this.query,a])}boolean(a){return new Qs([...this.query,a])}lookup(a){return new zs([...this.query],a)}lookupId(a){let l=a.endsWith("Id")?a:`${a}Id`;return new Se([...this.query,l])}}class qs extends r8{or(...a){return new v0([...this.query,`(${a.map((l)=>l.toString()).join(l5.OrWithSpace)})`])}}class Ws extends r8{and(...a){return new v0([...this.query,`(${a.map((l)=>l.toString()).join(l5.AndWithSpace)})`])}}class bs extends r8{or(...a){if(a==null||a.length===0)return new r8([...this.query,l5.Or]);return new v0([...this.query,`(${a.map((l)=>l.toString()).join(l5.OrWithSpace)})`])}and(...a){if(a==null||a.length===0)return new r8([...this.query,l5.And]);return new v0([...this.query,`(${a.map((l)=>l.toString()).join(l5.AndWithSpace)})`])}}class zs extends gc{constructor(a,l){super(a);this.LookupField=l}Id(a){return new v0([...this.query,`${this.LookupField}/Id`,S0.Equals,a.toString()])}text(a){return new xc([...this.query,`${this.LookupField}/${a}`])}number(a){return new Se([...this.query,`${this.LookupField}/${a}`])}}class Zv extends gc{constructor(a){super(a);this.LastIndex=a.length-1,this.InternalName=a[this.LastIndex]}toODataValue(a){return`'${a}'`}isNull(){return new v0([...this.query,S0.Equals,"null"])}isNotNull(){return new v0([...this.query,S0.NotEquals,"null"])}}class tv extends Zv{equals(a){return new v0([...this.query,S0.Equals,this.toODataValue(a)])}notEquals(a){return new v0([...this.query,S0.NotEquals,this.toODataValue(a)])}in(...a){return we.Where().or(...a.map((l)=>this.equals(l)))}notIn(...a){return we.Where().and(...a.map((l)=>this.notEquals(l)))}}class xc extends tv{startsWith(a){let l=`${S0.StartsWith}(${this.InternalName}, ${this.toODataValue(a)})`;return this.query[this.LastIndex]=l,new v0([...this.query])}contains(a){let l=`${S0.SubstringOf}(${this.toODataValue(a)}, ${this.InternalName})`;return this.query[this.LastIndex]=l,new v0([...this.query])}}class Qs extends Zv{toODataValue(a){return`${a==null?"null":a?1:0}`}isTrue(){return new v0([...this.query,S0.Equals,this.toODataValue(!0)])}isFalse(){return new v0([...this.query,S0.Equals,this.toODataValue(!1)])}isFalseOrNull(){let a=`(${[this.InternalName,S0.Equals,this.toODataValue(null),l5.Or,this.InternalName,S0.Equals,this.toODataValue(!1)].join(" ")})`;return this.query[this.LastIndex]=a,new v0([...this.query])}}class iv extends tv{greaterThan(a){return new v0([...this.query,S0.GreaterThan,this.toODataValue(a)])}greaterThanOrEquals(a){return new v0([...this.query,S0.GreaterThanOrEqualTo,this.toODataValue(a)])}lessThan(a){return new v0([...this.query,S0.LessThan,this.toODataValue(a)])}lessThanOrEquals(a){return new v0([...this.query,S0.LessThanOrEqualTo,this.toODataValue(a)])}}class Se extends iv{toODataValue(a){return`${a}`}}class Js extends iv{toODataValue(a){return`'${a.toISOString()}'`}isBetween(a,l){let c=`(${[this.InternalName,S0.GreaterThan,this.toODataValue(a),l5.And,this.InternalName,S0.LessThan,this.toODataValue(l)].join(" ")})`;return this.query[this.LastIndex]=c,new v0([...this.query])}isToday(){let a=/*@__PURE__*/new Date;a.setHours(0,0,0,0);let l=/*@__PURE__*/new Date;return l.setHours(23,59,59,999),this.isBetween(a,l)}}class v0 extends gc{and(...a){if(a==null||a.length===0)return new qs([...this.query,l5.And]);return new v0([...this.query,l5.And,`(${a.map((l)=>l.toString()).join(l5.AndWithSpace)})`])}or(...a){if(a==null||a.length===0)return new Ws([...this.query,l5.Or]);return new v0([...this.query,l5.Or,`(${a.map((l)=>l.toString()).join(l5.OrWithSpace)})`])}toString(){return this.query.join(" ")}}function J0(a){return function(l){return class extends l{constructor(...c){super(c[0],c.length>1&&c[1]!==void 0?c[1]:a)}}}}class L2{constructor(a=""){this._root=G0(a)}using(...a){return this._root.using(...a),this}create(a,l){return a(this._root,l)}}function h8(a=""){if(typeof a==="object"&&!Reflect.has(a,"length"))a=a._root;return new L2(a)}var Lc="00000000-0000-0000-0000-000000000000",Is;(function(a){a[a.None=0]="None",a[a.User=1]="User",a[a.DistributionList=2]="DistributionList",a[a.SecurityGroup=4]="SecurityGroup",a[a.SharePointGroup=8]="SharePointGroup",a[a.All=15]="All"})(Is||(Is={}));var $s;(function(a){a[a.None=0]="None",a[a.UserInfoList=1]="UserInfoList",a[a.Windows=2]="Windows",a[a.MembershipProvider=4]="MembershipProvider",a[a.RoleProvider=8]="RoleProvider",a[a.All=15]="All"})($s||($s={}));var Ys;(function(a){a[a.Invalid=-1]="Invalid",a[a.DefaultView=0]="DefaultView",a[a.NormalView=1]="NormalView",a[a.DialogView=2]="DialogView",a[a.View=3]="View",a[a.DisplayForm=4]="DisplayForm",a[a.DisplayFormDialog=5]="DisplayFormDialog",a[a.EditForm=6]="EditForm",a[a.EditFormDialog=7]="EditFormDialog",a[a.NewForm=8]="NewForm",a[a.NewFormDialog=9]="NewFormDialog",a[a.SolutionForm=10]="SolutionForm",a[a.PAGE_MAXITEMS=11]="PAGE_MAXITEMS"})(Ys||(Ys={}));function r0(a){if(B5(a))return"";let l=a.indexOf("_api/");if(l<0)l=a.indexOf("_vti_bin/");if(l>-1)return a.substring(0,l);return a}function C2(a){let l=[],c=["odata.type","odata.editLink","__metadata","odata.metadata","odata.id"];if(b1(a,c[0])&&a[c[0]]==="SP.Web"){if(b1(a,c[4]))l.push(a[c[4]]);else if(b1(a,c[2]))l.push(a.__metadata.uri)}else if(b1(a,c[3])&&b1(a,c[1])){let o=w0(a[c[1]])?a[c[1]].split("_api")[1]:a[c[1]];l.push(r0(a[c[3]]),"_api",o)}else if(b1(a,c[1]))l.push("_api",a[c[1]]);else if(b1(a,c[2]))l.push(a.__metadata.uri);if(l.length<1)return"";return O1(...l)}function h7(a){return{DecodedUrl:a}}function W1(a){if(B5(a))return"";if(/!(@.*?)::(.*?)/ig.test(a))return a.replace(/!(@.*?)::(.*)$/ig,(l,c,o)=>{return`!${c}::${o.replace(/'/ig,"''")}`});else return encodeURIComponent(a.replace(/'/ig,"''"))}function Xs(){return(a)=>{return a.on.pre(async function(l,c,o){let r="PnPCoreJS:4.18.0:",{pathname:e}=new URL(l);if(r=e.split("/").filter((h)=>!B5(h)&&["_api","v2.1","v2.0"].indexOf(h)<0).map((h,Z,t)=>Z===t.length-1?h.replace(/\(.*?$/i,"()"):h[0]).join("."),r.length>32)r=r.substring(0,32);return this.log(`Request Tag: ${r}`,0),c.headers={...c.headers,["X-ClientService-ClientTag"]:r},[l,c,o]}),a}}function Ue(){return(a)=>{return a.on.pre(async(l,c,o)=>{return c.cache="no-cache",c.credentials="same-origin",[l,c,o]}),a.using(Xs(),ks(),Bs()),a}}function De(){return(a)=>{return a.using(ov({Accept:"application/json","Content-Type":"application/json;charset=utf-8"})),a}}var nv=class extends c5{async add(l,c,o="",r="STS",e=1033,h=!0){let Z=D1({parameters:{Description:o,Language:e,Title:l,Url:c,UseSamePermissionsAsParentSite:h,WebTemplate:r}});return K(dv(this,"add"),Z)}};nv=I1([J0("webs")],nv);var dv=$1(nv);function vv(a,l){let c="_api/web",o=/(_api[/|\\](site\/rootweb|site|web))/i.exec(a);if((o===null||o===void 0?void 0:o.length)>0)a=r0(a),c=o[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=O1(a,c);return a}var a0=class extends Q0{constructor(l,c){if(typeof l==="string")l=vv(l,c);else if(y0(l))l=[l[0],vv(l[1],c)];else l=[l,vv(l.toUrl(),c)];super(l,c);this.delete=Ge()}get webs(){return dv(this)}get allProperties(){return X5(this,"allproperties")}get webinfos(){return k5(this,"webinfos")}async getParentWeb(){let{Url:l,ParentWeb:c}=await this.select("Url","ParentWeb/ServerRelativeUrl").expand("ParentWeb")();if(c===null||c===void 0?void 0:c.ServerRelativeUrl)return e0([this,O1(new URL(l).origin,c.ServerRelativeUrl)]);return null}async update(l){return e8(this,D1(l))}applyTheme(l,c,o,r){let e=D1({backgroundImageUrl:o,colorPaletteUrl:l,fontSchemeUrl:c,shareGenerated:r});return K(e0(this,"applytheme"),e)}applyWebTemplate(l){return K(e0(this,`applywebtemplate(webTemplate='${W1(l)}')`))}getChanges(l){return K(e0(this,"getchanges"),D1({query:l}))}mapToIcon(l,c=0,o=""){return e0(this,`maptoicon(filename='${W1(l)}',progid='${W1(o)}',size=${c})`)()}getStorageEntity(l){return e0(this,`getStorageEntity('${W1(l)}')`)()}setStorageEntity(l,c,o="",r=""){return K(e0(this,"setStorageEntity"),D1({comments:r,description:o,key:l,value:c}))}removeStorageEntity(l){return K(e0(this,`removeStorageEntity('${W1(l)}')`))}getSubwebsFilteredForCurrentUser(l=-1,c=-1){return k5(this,`getSubwebsFilteredForCurrentUser(nWebTemplateFilter=${l},nConfigurationFilter=${c})`)}availableWebTemplates(l=1033,c=!0){return k5(this,`getavailablewebtemplates(lcid=${l},doincludecrosslanguage=${c})`)}};a0=I1([J0("_api/web")],a0);var e0=$1(a0);L2.prototype.batched=function(a){let l=h8(this),[c,o]=Ks(l._root,a);return l.using(c),[l,o]};a0.prototype.batched=function(a){let l=e0(this),[c,o]=Ks(l,a);return l.using(c),[l,o]};var Z8=Symbol.for("batch_registration"),G4=Symbol.for("batch_request");function Kk(){return Y5(async(a)=>{let l=await a.text();return jk(l)})}class Mv extends w3{constructor(a,l=a.toUrl().replace(/_api[\\|/].*$/i,"")){super(l,"_api/$batch");this.requestBaseUrl=l,this.using(sc(a,"replace"),Kk()),this.on.dispose(()=>{a.using(sc(this,"replace",(c)=>/(auth|send|pre|init)/i.test(c)))})}}function Ks(a,l){let c=[],o=[],r=[],e=new Mv(a),h=Q7(),Z=new Mv(a),{headersCopyPattern:t,maxRequests:i}={headersCopyPattern:/Accept|Content-Type|IF-Match/i,maxRequests:20,...l};return[(d)=>{return d.on.init(function(){if(f5(this[Z8]))throw Error("This instance is already part of a batch. Please review the docs at https://pnp.github.io/pnpjs/concepts/batching#reuse.");return c.push(new Promise((M)=>{this[Z8]=M})),this}),d.on.pre(async function(M,_,p){if(b1(_.headers,"X-PnP-BatchNever")){if(typeof this[G4]==="function")this[G4](),delete this[G4];return this.using(sc(Z,"replace",(A)=>/(init|pre)/i.test(A))),[M,_,p]}return this.on.auth.clear(),this.on.send.replace(async function(A,m){let u=new Promise((V)=>{r.push([this,A.toString(),m,V])});return this.log(`[batch:${h}] (${(/*@__PURE__*/new Date()).getTime()}) Adding request ${m.method} ${A.toString()} to batch.`,0),o.push(new Promise((V)=>{this[G4]=V})),this[Z8](),u}),this.on.dispose(function(){if(f5(this[Z8]))this[Z8](),delete this[Z8];if(f5(this[G4]))this[G4](),delete this[G4],this.using(sc(Z,"replace",(A)=>/(auth|pre|send|init|dispose)/i.test(A)))}),[M,_,p]}),d},async()=>{if(await Promise.all(c),r.length<1)return Promise.all(o).then(()=>{return});let d=r.slice();while(d.length>0){let M=d.splice(0,i),_=[],p="";for(let m=0;m<M.length;m++){let[,u,V]=M[m];if(V.method==="GET"){if(p.length>0)_.push(`--changeset_${p}--
|
|
152
152
|
|
|
153
153
|
`),p="";_.push(`--batch_${h}
|
|
154
154
|
`)}else{if(p.length<1)p=Q7(),_.push(`--batch_${h}
|
|
@@ -167,9 +167,9 @@ and at most two children <DialogTrigger/> <DialogSurface/> (in this order).`);sw
|
|
|
167
167
|
`)}if(p.length>0)_.push(`--changeset_${p}--
|
|
168
168
|
|
|
169
169
|
`),p="";_.push(`--batch_${h}--
|
|
170
|
-
`);let A=await K(e,{body:_.join(""),headers:{"Content-Type":`multipart/mixed; boundary=batch_${h}`}});if(A.length!==M.length)throw Error("Could not properly parse responses to match requests in batch.");for(let m=0;m<A.length;m++)M[m][3](A[m])}await Promise.all(o).then(()=>{return})}]}function S3(){return(a)=>{return a.on.pre.prepend(async function(l,c,o){return c.headers={...c.headers,"X-PnP-BatchNever":"1"},[l,c,o]}),a}}function
|
|
171
|
-
`),e="batch",h,Z,t={},i=[];for(let n=0;n<r.length;++n){let v=r[n];switch(e){case"batch":if(v.substring(0,16)==="--batchresponse_")e="batchHeaders";else if(v.trim()!=="")throw Error(`Invalid response, line ${n}`);break;case"batchHeaders":if(v.trim()==="")e="status";break;case"status":{let d=o.exec(v);if(d.length!==3)throw Error(`Invalid status, line ${n}`);h=parseInt(d[1],10),Z=d[2],e="statusHeaders";break}case"statusHeaders":if(v.trim()==="")e="body";else{let d=v.split(":");if((d===null||d===void 0?void 0:d.length)===2)t[d[0].trim()]=d[1].trim()}break;case"body":i.length=0;while(v.substring(0,16)!=="--batchresponse_")i.push(v),v=r[++n];n--,l.push(new Response(h===204?null:i.join(""),{status:h,statusText:Z,headers:t})),e="batch",t={};break}}if(e!=="status")throw Error("Unexpected end of input");return l}function lV(a){let l=/*@__PURE__*/new Date;return!H0(a)||l>a.expiration?null:a}var cV=/*@__PURE__*/new Map;function ke(a){return(l)=>{return l.on.pre(async function(c,o,r){return this.on.auth(async(e,h)=>{if(/get/i.test(h.method)||h.headers&&(b1(h.headers,"X-RequestDigest")||b1(h.headers,"Authorization")||b1(h.headers,"X-PnPjs-NoDigest")))return[e,h];let Z=e.toString(),t=r0(Z),i=lV(cV.get(t));if(!H0(i)&&f5(a))i=lV(a(Z,h));if(!H0(i))i=await K(G0([this,O1(t,"_api/contextinfo")]).using(Ce(),S3()),{headers:{Accept:"application/json","X-PnPjs-NoDigest":"1"}}).then((n)=>({expiration:R3(/*@__PURE__*/new Date,"second",n.FormDigestTimeoutSeconds),value:n.FormDigestValue}));if(H0(i))h.headers={"X-RequestDigest":i.value,...h.headers},cV.set(t,i);return[e,h]}),[c,o,r]}),l}}function ye(a){if((a===null||a===void 0?void 0:a.baseUrl)&&!w0(a.baseUrl))throw Error("SPBrowser props.baseUrl must be absolute when supplied.");return(l)=>{if(l.using(Be(),De(),Re(),Le(),ke()),w0(a===null||a===void 0?void 0:a.baseUrl))l.on.pre.prepend(async(c,o,r)=>{if(!w0(c))c=O1(a.baseUrl,c);return[c,o,r]});return l}}class pv extends Error{constructor(a){super(`SPFx Context supplied to ${a} Behavior is null or undefined.`)}static check(a,l){if(typeof l>"u"||l===null)throw new pv(a)}}function oV(a){return pv.check("SPFx",a),(l)=>{return l.using(Be(),De(),Re(),Le(),ke((c)=>{var o,r,e;if(new RegExp(`^${O1(a.pageContext.web.absoluteUrl,"/_api")}`,"i").test(c)&&((r=(o=a===null||a===void 0?void 0:a.pageContext)===null||o===void 0?void 0:o.legacyPageContext)===null||r===void 0?void 0:r.formDigestValue)){let Z=new Date(a.pageContext.legacyPageContext.formDigestValue.split(",")[1]);return{value:a.pageContext.legacyPageContext.formDigestValue,expiration:R3(Z,"second",((e=a.pageContext.legacyPageContext)===null||e===void 0?void 0:e.formDigestTimeoutSeconds)-15||1585)}}})),l.on.pre.prepend(async(c,o,r)=>{if(!w0(c))c=O1(a.pageContext.web.absoluteUrl,c);return[c,o,r]}),l}}var _v=class extends c5{getById(l){return p0(this).concat(`('${l}')`)}getByTitle(l){return p0(this,`getByTitle('${W1(l)}')`)}async add(l,c="",o=100,r=!1,e={}){let h={AllowContentTypes:r,BaseTemplate:o,ContentTypesEnabled:r,Description:c,Title:l,...e};return K(this,D1(h))}async ensure(l,c="",o=100,r=!1,e={}){let h={Title:l,Description:c,ContentTypesEnabled:r,...e},Z=this.getByTitle(h.Title);try{return await Z.select("Title")(),{created:!1,data:await Z.update(h),list:this.getByTitle(h.Title)}}catch(t){return{created:!0,data:await this.add(l,c,o,r,h),list:this.getByTitle(h.Title)}}}async ensureSiteAssetsLibrary(){let l=await K(Cc(this,"ensuresiteassetslibrary"));return p0([this,R2(l)])}async ensureSitePagesLibrary(){let l=await K(Cc(this,"ensuresitepageslibrary"));return p0([this,R2(l)])}};_v=I1([J0("lists")],_v);var Cc=$1(_v);class t8 extends Q0{constructor(){super(...arguments);this.delete=J7()}get effectiveBasePermissions(){return G0(this,"EffectiveBasePermissions")}get eventReceivers(){return k5(this,"EventReceivers")}get relatedFields(){return G0(this,"getRelatedFields")}get informationRightsManagementSettings(){return G0(this,"InformationRightsManagementSettings")}async update(a,l="*"){return await e8(this,D1(a,o8({"IF-Match":l})))}getChanges(a){return K(p0(this,"getchanges"),D1({query:a}))}getItemsByCAMLQuery(a,...l){return K(p0(this,"getitems").expand(...l),D1({query:a}))}getListItemChangesSinceToken(a){return K(p0(this,"getlistitemchangessincetoken").using(l8()),D1({query:a}))}async recycle(){return K(p0(this,"recycle"))}async renderListData(a){let l=p0(this,"renderlistdata(@viewXml)");l.query.set("@viewXml",`'${a}'`);let c=await K(l);return JSON.parse(c)}renderListDataAsStream(a,l=null,c=/*@__PURE__*/new Map){if(b1(a,"RenderOptions")&&y0(a.RenderOptions))a.RenderOptions=a.RenderOptions.reduce((e,h)=>e+h);let o=p0(this,"RenderListDataAsStream");if(c&&c.size>0)c.forEach((e,h)=>o.query.set(h,e));let r=H0(l)?{parameters:a,overrideParameters:l}:{parameters:a};return K(o,D1(r))}async renderListFormData(a,l,c){let o=await K(p0(this,`renderlistformdata(itemid=${a}, formid='${l}', mode='${c}')`));return JSON.parse(o)}async reserveListItemId(){return K(p0(this,"reservelistitemid"))}async addValidateUpdateItemUsingPath(a,l,c=!1,o,r){let e={FolderPath:h7(l)};if(H0(r)){if(r.leafName)e.LeafName=h7(r.leafName);if(r.objectType)e.UnderlyingObjectType=r.objectType}return K(p0(this,"AddValidateUpdateItemUsingPath()"),D1({bNewDocumentUpdate:c,checkInComment:o,formValues:a,listItemCreateInfo:e}))}async getParentInfos(){let a=await this.select("Id","RootFolder/UniqueId","RootFolder/ServerRelativeUrl","RootFolder/ServerRelativePath","ParentWeb/Id","ParentWeb/Url","ParentWeb/ServerRelativeUrl","ParentWeb/ServerRelativePath").expand("RootFolder","ParentWeb")();return{List:{Id:a.Id,RootFolderServerRelativePath:a.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.RootFolder.UniqueId},ParentWeb:{Id:a.ParentWeb.Id,ServerRelativePath:a.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ParentWeb.ServerRelativeUrl,Url:a.ParentWeb.Url}}}}var p0=$1(t8),Av;(function(a){a[a.None=0]="None",a[a.ContextInfo=1]="ContextInfo",a[a.ListData=2]="ListData",a[a.ListSchema=4]="ListSchema",a[a.MenuView=8]="MenuView",a[a.ListContentType=16]="ListContentType",a[a.FileSystemItemId=32]="FileSystemItemId",a[a.ClientFormSchema=64]="ClientFormSchema",a[a.QuickLaunch=128]="QuickLaunch",a[a.Spotlight=256]="Spotlight",a[a.Visualization=512]="Visualization",a[a.ViewMetadata=1024]="ViewMetadata",a[a.DisableAutoHyperlink=2048]="DisableAutoHyperlink",a[a.EnableMediaTAUrls=4096]="EnableMediaTAUrls",a[a.ParentInfo=8192]="ParentInfo",a[a.PageContextInfo=16384]="PageContextInfo",a[a.ClientSideComponentManifest=32768]="ClientSideComponentManifest",a[a.ListAvailableContentTypes=65536]="ListAvailableContentTypes",a[a.FolderContentTypeOrder=131072]="FolderContentTypeOrder",a[a.GridInitInfo=262144]="GridInitInfo",a[a.SiteUrlAsMediaTASPItemHost=524288]="SiteUrlAsMediaTASPItemHost",a[a.AddToOneDrive=1048576]="AddToOneDrive",a[a.SPFXCustomActions=2097152]="SPFXCustomActions",a[a.CustomActions=4194304]="CustomActions"})(Av||(Av={}));var mv;(function(a){a[a.Display=1]="Display",a[a.Edit=2]="Edit",a[a.New=3]="New"})(mv||(mv={}));var Hv=class extends c5{getById(l){return j5(this).concat(`(${l})`)}getItemByStringId(l){return j5([this,this.parentUrl],`getItemByStringId('${l}')`)}skip(l,c=!1){if(c)this.query.set("$skiptoken",`Paged=TRUE&PagedPrev=TRUE&p_ID=${l}`);else this.query.set("$skiptoken",`Paged=TRUE&p_ID=${l}`);return this}[Symbol.asyncIterator](){let l=k5(this).using(X5(async(o)=>{let r=await o.json(),e=b1(r,"d")&&b1(r.d,"__next")?r.d.__next:r["odata.nextLink"];return{hasNext:typeof e==="string"&&e.length>0,nextLink:e,value:rv(r)}})),c=["$top","$select","$expand","$filter","$orderby","$skiptoken"];for(let o=0;o<c.length;o++){let r=this.query.get(c[o]);if(H0(r))l.query.set(c[o],r)}return{_next:l,async next(){if(this._next===null)return{done:!0,value:void 0};let o=await this._next();if(o.hasNext)return this._next=k5([this._next,o.nextLink]),{done:!1,value:o.value};else return this._next=null,{done:!1,value:o.value}}}}async add(l={}){return K(this,D1(l))}};Hv=I1([J0("items")],Hv);var sv=$1(Hv);class i8 extends Q0{constructor(){super(...arguments);this.delete=J7()}get effectiveBasePermissions(){return G0(this,"EffectiveBasePermissions")}get effectiveBasePermissionsForUI(){return G0(this,"EffectiveBasePermissionsForUI")}get fieldValuesAsHTML(){return K5(this,"FieldValuesAsHTML")}get fieldValuesAsText(){return K5(this,"FieldValuesAsText")}get fieldValuesForEdit(){return K5(this,"FieldValuesForEdit")}get versions(){return rV(this)}get list(){return this.getParent(p0,"",this.parentUrl.substring(0,this.parentUrl.lastIndexOf("/")))}async update(a,l="*"){let c=D1(a,o8({"IF-Match":l,"X-HTTP-Method":"MERGE"}));return K(j5(this).using(ly()),c)}recycle(){return K(j5(this,"recycle"))}async deleteWithParams(a){return K(j5(this,"DeleteWithParameters"),D1({parameters:a}))}async getWopiFrameUrl(a=0){let l=j5(this,"getWOPIFrameUrl(@action)");return l.query.set("@action",a),K(l)}validateUpdateListItem(a,l=!1){return K(j5(this,"validateupdatelistitem"),D1({formValues:a,bNewDocumentUpdate:l}))}async getParentInfos(){let a=await this.select("Id","ParentList/Id","ParentList/Title","ParentList/RootFolder/UniqueId","ParentList/RootFolder/ServerRelativeUrl","ParentList/RootFolder/ServerRelativePath","ParentList/ParentWeb/Id","ParentList/ParentWeb/Url","ParentList/ParentWeb/ServerRelativeUrl","ParentList/ParentWeb/ServerRelativePath").expand("ParentList","ParentList/RootFolder","ParentList/ParentWeb")();return{Item:{Id:a.Id},ParentList:{Id:a.ParentList.Id,Title:a.ParentList.Title,RootFolderServerRelativePath:a.ParentList.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.ParentList.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.ParentList.RootFolder.UniqueId},ParentWeb:{Id:a.ParentList.ParentWeb.Id,ServerRelativePath:a.ParentList.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ParentList.ParentWeb.ServerRelativeUrl,Url:a.ParentList.ParentWeb.Url}}}async setImageField(a,l,c){let o=await this.getParentInfos(),r=r0(this.toUrl()),e=G0([this,r],"/_api/web/UploadImage");e.concat("(listTitle=@a1,imageName=@a2,listId=@a3,itemId=@a4)"),e.query.set("@a1",`'${o.ParentList.Title}'`),e.query.set("@a2",`'${l}'`),e.query.set("@a3",`'${o.ParentList.Id}'`),e.query.set("@a4",o.Item.Id);let h=await K(e,{body:c}),Z={type:"thumbnail",fileName:h.Name,nativeFile:{},fieldName:a,serverUrl:o.ParentWeb.Url.replace(o.ParentWeb.ServerRelativeUrl,""),serverRelativeUrl:h.ServerRelativeUrl,id:h.UniqueId};return this.validateUpdateListItem([{FieldName:a,FieldValue:JSON.stringify(Z)}])}}var j5=$1(i8),uv=class extends c5{getById(l){return hV(this).concat(`(${l})`)}};uv=I1([J0("versions")],uv);var rV=$1(uv);class eV extends Q0{constructor(){super(...arguments);this.delete=J7()}}var hV=$1(eV);function ly(){return X5(async(a)=>({etag:a.headers.get("etag")}))}w3.prototype.getContextInfo=async function(a=this.parentUrl){let l=await K(G0([this,r0(a)],"_api/contextinfo"));if(b1(l,"GetContextWebInformation")){let c=l.GetContextWebInformation;return c.SupportedSchemaVersions=c.SupportedSchemaVersions.results,c}else return l};var Vv=class extends c5{getByUrl(l){return P0(this).concat(`('${W1(l)}')`)}async addUsingPath(l,c=!1){return K(Rc(this,`addUsingPath(DecodedUrl='${W1(l)}',overwrite=${c})`))}};Vv=I1([J0("folders")],Vv);var Rc=$1(Vv);class v8 extends Q0{constructor(){super(...arguments);this.delete=J7()}get folders(){return Rc(this)}get listItemAllFields(){return K5(this,"listItemAllFields")}get parentFolder(){return P0(this,"parentFolder")}get properties(){return K5(this,"properties")}get storageMetrics(){return K5(this,"storagemetrics")}async update(a){return e8(this,D1(a))}recycle(){return K(P0(this,"recycle"))}async getItem(...a){let c=await this.listItemAllFields.select(...a)();if(c["odata.null"])throw Error("No associated item was found for this folder. It may be the root folder, which does not have an item.");return Object.assign(j5([this,R2(c)]),c)}async moveByPath(a,...l){let c={KeepBoth:!1,ShouldBypassSharedLocks:!0,RetainEditorAndModifiedOnMove:!1};if(l.length===1){if(typeof l[0]==="boolean")c.KeepBoth=l[0];else if(typeof l[0]==="object")c={...c,...l[0]}}return this.moveCopyImpl(a,c,"MoveFolderByPath")}async copyByPath(a,...l){let c={ShouldBypassSharedLocks:!0,ResetAuthorAndCreatedOnCopy:!0,KeepBoth:!1};if(l.length===1){if(typeof l[0]==="boolean")c.KeepBoth=l[0];else if(typeof l[0]==="object")c={...c,...l[0]}}return this.moveCopyImpl(a,c,"CopyFolderByPath")}async deleteWithParams(a){return K(P0(this,"DeleteWithParameters"),D1({parameters:a}))}async addSubFolderUsingPath(a){return await K(P0(this,"AddSubFolderUsingPath"),D1({leafPath:h7(a)})),this.folders.getByUrl(a)}async getParentInfos(){let a=await this.select("ServerRelativeUrl","ListItemAllFields/ParentList/Id","ListItemAllFields/ParentList/RootFolder/UniqueId","ListItemAllFields/ParentList/RootFolder/ServerRelativeUrl","ListItemAllFields/ParentList/RootFolder/ServerRelativePath","ListItemAllFields/ParentList/ParentWeb/Id","ListItemAllFields/ParentList/ParentWeb/Url","ListItemAllFields/ParentList/ParentWeb/ServerRelativeUrl","ListItemAllFields/ParentList/ParentWeb/ServerRelativePath").expand("ListItemAllFields/ParentList","ListItemAllFields/ParentList/RootFolder","ListItemAllFields/ParentList/ParentWeb")();return{Folder:{ServerRelativeUrl:a.ServerRelativeUrl},ParentList:{Id:a.ListItemAllFields.ParentList.Id,RootFolderServerRelativePath:a.ListItemAllFields.ParentList.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.ListItemAllFields.ParentList.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.ListItemAllFields.ParentList.RootFolder.UniqueId},ParentWeb:{Id:a.ListItemAllFields.ParentList.ParentWeb.Id,ServerRelativePath:a.ListItemAllFields.ParentList.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ListItemAllFields.ParentList.ParentWeb.ServerRelativeUrl,Url:a.ListItemAllFields.ParentList.ParentWeb.Url}}}moveCopyImpl(a,l,c){let o=P0(this);return o.on.pre(w4(async(r,e,h)=>{let{ServerRelativeUrl:Z,["odata.id"]:t}=await P0(this).using(S3()).select("ServerRelativeUrl")(),i=new URL(r0(t));return r=O1(i.href,`/_api/SP.MoveCopyUtil.${c}()`),e=D1({destPath:h7(w0(a)?a:O1(i.origin,a)),options:l,srcPath:h7(O1(i.origin,Z))},e),[r,e,h]})),K(o).then(()=>tV(this,a))}}I1([e7],v8.prototype,"moveByPath",null);I1([e7],v8.prototype,"copyByPath",null);var P0=$1(v8);function wc(a,l){return P0([a,r0(a.toUrl())],`_api/web/getFolderByServerRelativePath(decodedUrl='${W1(l)}')`)}async function ZV(a,l){let{WebFullUrl:c}=await P0(a).using(S3()).getContextInfo(l),{pathname:o}=new URL(l);return wc(P0([a,O1(c,"_api/web")]),decodeURIComponent(o))}async function tV(a,l){return(w0(l)?ZV:wc)(a,l)}O0(t8,"items",sv);function cy(){return X5(async(a)=>{var l;return{body:a.body,knownLength:parseInt(((l=a===null||a===void 0?void 0:a.headers)===null||l===void 0?void 0:l.get("content-length"))||"-1",10)}})}class Oe extends Q0{getText(){return this.getParsed(l8())}getBlob(){return this.getParsed(Gs())}getBuffer(){return this.getParsed(Us())}getJSON(){return this.getParsed(Ce())}getStream(){return G0(this,"$value").using(cy(),ev())(o8({binaryStringResponseBody:"true"}))}getParsed(a){return G0(this,"$value").using(a,ev())()}}var n8=class extends c5{getByUrl(l){if(/%#/.test(l))throw Error("For file names containing % or # please use web.getFileByServerRelativePath");return k1(this).concat(`('${W1(l)}')`)}async addUsingPath(l,c,o={Overwrite:!1}){let r=[`AddUsingPath(decodedurl='${W1(l)}'`];if(o){if(o.Overwrite)r.push(",Overwrite=true");if(o.EnsureUniqueFileName)r.push(`,EnsureUniqueFileName=${o.EnsureUniqueFileName}`);if(o.AutoCheckoutOnInvalidData)r.push(",AutoCheckoutOnInvalidData=true");if(!B5(o.XorHash))r.push(`,XorHash=${W1(o.XorHash)}`)}return r.push(")"),K(Sc(this,r.join("")),{body:c})}async addChunked(l,c,o){let r=await this.addUsingPath(l,null,o),e=d8(this,r.ServerRelativeUrl);return e.using(hv(()=>{return k1(e).delete()})),e.setContentChunked(c,o)}async addTemplateFile(l,c){return K(Sc(this,`addTemplateFile(urloffile='${W1(l)}',templatefiletype=${c})`))}};I1([e7],n8.prototype,"addUsingPath",null);I1([e7],n8.prototype,"addChunked",null);I1([e7],n8.prototype,"addTemplateFile",null);n8=I1([J0("files")],n8);var Sc=$1(n8);class Gc extends Oe{constructor(){super(...arguments);this.delete=J7()}get listItemAllFields(){return K5(this,"listItemAllFields")}get versions(){return G3(this)}async getLockedByUser(){let a=await qs(k1(this,"lockedByUser"));if(a["odata.null"]===!0)return null;else return a}approve(a=""){return K(k1(this,`approve(comment='${W1(a)}')`))}cancelUpload(a){return K(k1(this,`cancelUpload(uploadId=guid'${a}')`))}checkin(a="",l=Pe.Major){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return K(k1(this,`checkin(comment=@a2,checkintype=@a3)?@a2=${encodeURIComponent(`'${a.replace(/'/g,"''")}'`)}&@a3=${l}`))}checkout(){return K(k1(this,"checkout"))}copyTo(a,l=!0){return K(k1(this,`copyTo(strnewurl='${W1(a)}',boverwrite=${l})`))}async copyByPath(a,...l){let c={ShouldBypassSharedLocks:!0,ResetAuthorAndCreatedOnCopy:!0,KeepBoth:!1};if(l.length===2){if(typeof l[1]==="boolean")c.KeepBoth=l[1];else if(typeof l[1]==="object")c={...c,...l[1]}}return this.moveCopyImpl(a,c,l[0],"CopyFileByPath")}deny(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return K(k1(this,`deny(comment='${W1(a)}')`))}async moveByPath(a,...l){let c={KeepBoth:!1,ShouldBypassSharedLocks:!0,RetainEditorAndModifiedOnMove:!1};if(l.length===2){if(typeof l[1]==="boolean")c.KeepBoth=l[1];else if(typeof l[1]==="object")c={...c,...l[1]}}return this.moveCopyImpl(a,c,l[0],"MoveFileByPath")}publish(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return K(k1(this,`publish(comment='${W1(a)}')`))}recycle(){return K(k1(this,"recycle"))}async deleteWithParams(a){return K(k1(this,"DeleteWithParameters"),D1({parameters:a}))}undoCheckout(){return K(k1(this,"undoCheckout"))}unpublish(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return K(k1(this,`unpublish(comment='${W1(a)}')`))}async exists(){try{return(await k1(this).select("Exists")()).Exists}catch(a){return!1}}async setContent(a){return await K(k1(this,"$value"),{body:a,headers:{"X-HTTP-Method":"PUT"}}),k1(this)}async getItem(...a){let c=await this.listItemAllFields.select(...a)();return Object.assign(j5([this,R2(c)]),c)}async setContentChunked(a,l){let{progress:c,chunkSize:o=10485760}=oy(l),r=Q7(),e=!0,h,Z=0,t=k1(this).using(hv(()=>{return k1(t).cancelUpload(r)})),n=ry(a).getReader(),v=new Uint8Array;while(h=await n.read()){if(h.value){let d=new Uint8Array(v.length+h.value.length);d.set(v),d.set(h.value,v.length),v=d}while(v.length>=o){let d=v.slice(0,o);if(v=v.slice(o),e)c({offset:Z,stage:"starting",uploadId:r}),Z=await K(k1(t,`startUpload(uploadId=guid'${r}')`),{body:d}),e=!1;else c({offset:Z,stage:"continue",uploadId:r}),Z=await K(k1(t,`continueUpload(uploadId=guid'${r}',fileOffset=${Z})`),{body:d})}if(h.done){if(e)c({offset:Z,stage:"starting",uploadId:r}),Z=await K(k1(t,`startUpload(uploadId=guid'${r}')`),{body:v}),e=!1,v=new Uint8Array;return c({offset:Z,stage:"finishing",uploadId:r}),K(k1(t,`finishUpload(uploadId=guid'${r}',fileOffset=${Z})`),{body:v.length?v:""})}}}moveCopyImpl(a,l,c,o){let r=k1(this);return r.on.pre(w4(async(e,h,Z)=>{let{ServerRelativeUrl:t,["odata.id"]:i}=await k1(this).using(S3()).select("ServerRelativeUrl")(),n=new URL(r0(i));return e=O1(n.toString(),`/_api/SP.MoveCopyUtil.${o}(overwrite=@a1)?@a1=${c}`),h=D1({destPath:h7(w0(a)?a:`${n.protocol}//${n.host}${a}`),options:l,srcPath:h7(w0(t)?t:`${n.protocol}//${n.host}${t}`)},h),[e,h,Z]})),K(r).then(()=>vV(this,a))}}I1([e7],Gc.prototype,"copyByPath",null);I1([e7],Gc.prototype,"moveByPath",null);I1([e7],Gc.prototype,"setContentChunked",null);var k1=$1(Gc);function d8(a,l){return k1([a,r0(a.toUrl())],`_api/web/getFileByServerRelativePath(decodedUrl='${W1(l)}')`)}async function iV(a,l){let{WebFullUrl:c}=await k1(a).using(S3()).getContextInfo(l),{pathname:o}=new URL(l);return d8(k1([a,O1(c,"_api/web")]),decodeURIComponent(o))}async function vV(a,l){return(w0(l)?iV:d8)(a,l)}var fv=class extends c5{getById(l){return dV(this).concat(`(${l})`)}deleteAll(){return K(G3(this,"deleteAll"))}deleteById(l){return K(G3(this,`deleteById(vid=${l})`))}recycleByID(l){return K(G3(this,`recycleByID(vid=${l})`))}deleteByLabel(l){return K(G3(this,`deleteByLabel(versionlabel='${W1(l)}')`))}recycleByLabel(l){return K(G3(this,`recycleByLabel(versionlabel='${W1(l)}')`))}restoreByLabel(l){return K(G3(this,`restoreByLabel(versionlabel='${W1(l)}')`))}};fv=I1([J0("versions")],fv);var G3=$1(fv);class nV extends Oe{constructor(){super(...arguments);this.delete=Ue()}}var dV=$1(nV),Pe;(function(a){a[a.Minor=0]="Minor",a[a.Major=1]="Major",a[a.Overwrite=2]="Overwrite"})(Pe||(Pe={}));var Fv;(function(a){a[a.None=0]="None",a[a.Overwrite=1]="Overwrite",a[a.AllowBrokenThickets=8]="AllowBrokenThickets",a[a.RetainEditorAndModifiedOnMove=2048]="RetainEditorAndModifiedOnMove"})(Fv||(Fv={}));var xv;(function(a){a[a.StandardPage=0]="StandardPage",a[a.WikiPage=1]="WikiPage",a[a.FormPage=2]="FormPage",a[a.ClientSidePage=3]="ClientSidePage"})(xv||(xv={}));function oy(a){return{progress:()=>null,...a}}function ry(a){if(Zy(a))return a.stream();else if(hy(a))return new ReadableStream({start(l){a.on("data",(c)=>{l.enqueue(c)}),a.on("end",()=>{l.close()})}});else if(ty(a))return new ReadableStream({start(l){l.enqueue(a),l.close()}});else if(iy(a))return a.readable;else return a}var ey=Symbol.toStringTag;function hy(a){return typeof a.on==="function"}function Zy(a){return typeof a==="object"&&typeof a.arrayBuffer==="function"&&typeof a.type==="string"&&typeof a.stream==="function"&&typeof a.constructor==="function"&&(/^(Blob|File)$/.test(a[ey])||/^(Blob|File)$/.test(a.constructor.name))}function ty(a){return typeof a==="object"&&typeof a.length==="number"}function iy(a){return typeof a==="object"&&typeof a.readable==="object"}O0(v8,"files",Sc);O0(i8,"file",k1,"file");a0.prototype.getFileByServerRelativePath=function(a){return d8(this,a)};a0.prototype.getFileById=function(a){return k1(this,`getFileById('${a}')`)};a0.prototype.getFileByUrl=function(a){return k1(this,`getFileByUrl('${W1("!@p1::"+a)}')`)};O0(i8,"folder",P0);O0(t8,"rootFolder",P0);O0(a0,"folders",Rc);O0(a0,"rootFolder",P0);a0.prototype.getFolderByServerRelativePath=function(a){return wc(this,a)};a0.prototype.getFolderById=function(a){return P0(this,`getFolderById('${a}')`)};O0(a0,"lists",Cc);O0(a0,"siteUserInfoList",p0);O0(a0,"defaultDocumentLibrary",p0);O0(a0,"customListTemplates",k5,"getcustomlisttemplates");a0.prototype.getList=function(a){return p0(this,`getList('${W1(a)}')`)};a0.prototype.getCatalog=async function(a){let l=await e0(this,`getcatalog(${a})`).select("Id")();return p0([this,R2(l)])};function gv(a,l){let c="_api/site",o=/(_api[/|\\](site|web))/i.exec(a);if((o===null||o===void 0?void 0:o.length)>0)a=r0(a),c=o[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=O1(a,c);return a}var U4=class extends Q0{constructor(l,c){if(typeof l==="string")l=gv(l,c);else if(y0(l))l=[l[0],gv(l[1],c)];else l=[l,gv(l.toUrl(),c)];super(l,c)}get rootWeb(){return e0(this,"rootweb")}getChanges(l){let c=D1({query:l});return K(e0(this,"getchanges"),c)}async openWebById(l){let c=await K(I0(this,`openWebById('${l}')`));return{data:c,web:e0([this,r0(R2(c))])}}async getRootWeb(){let l=await this.rootWeb.select("Url")();return e0([this,l.Url])}async delete(){let l=await I0(this,"").select("Id")(),c=I0([this,this.parentUrl],"_api/SPSiteManager/Delete");await K(c,D1({siteId:l.Id}))}async getDocumentLibraries(l){let c=I0([this,this.parentUrl],"_api/sp.web.getdocumentlibraries(@v)");c.query.set("@v",`'${l}'`);let o=await c();return b1(o,"GetDocumentLibraries")?o.GetDocumentLibraries:o}async getWebUrlFromPageUrl(l){let c=I0([this,this.parentUrl],"_api/sp.web.getweburlfrompageurl(@v)");c.query.set("@v",`'${l}'`);let o=await c();return b1(o,"GetWebUrlFromPageUrl")?o.GetWebUrlFromPageUrl:o}async createCommunicationSite(l,c=1033,o=!1,r,e,h,Z,t,i){return this.createCommunicationSiteFromProps({Classification:h,Description:e,HubSiteId:t,Lcid:c,Owner:i,ShareByEmailEnabled:o,SiteDesignId:Z,Title:l,Url:r})}async createCommunicationSiteFromProps(l){let c={Classification:"",Description:"",HubSiteId:Lc,Lcid:1033,ShareByEmailEnabled:!1,SiteDesignId:Lc,WebTemplate:"SITEPAGEPUBLISHING#0",WebTemplateExtensionId:Lc,...l};return K(I0([this,r0(this.toUrl())],"/_api/SPSiteManager/Create"),D1({request:c}))}async exists(l){return K(I0([this,r0(this.toUrl())],"/_api/SP.Site.Exists"),D1({url:l}))}async createModernTeamSite(l,c,o,r,e,h,Z,t,i){return this.createModernTeamSiteFromProps({alias:c,classification:h,description:e,displayName:l,hubSiteId:t,isPublic:o,lcid:r,owners:Z,siteDesignId:i})}async createModernTeamSiteFromProps(l){let c=Object.assign({},{classification:"",description:"",hubSiteId:Lc,isPublic:!0,lcid:1033,owners:[]},l),o={alias:c.alias,displayName:c.displayName,isPublic:c.isPublic,optionalParams:{Classification:c.classification,CreationOptions:[`SPSiteLanguage:${c.lcid}`,`HubSiteId:${c.hubSiteId}`],Description:c.description,Owners:c.owners}};if(c.siteDesignId)o.optionalParams.CreationOptions.push(`implicit_formula_292aa8a00786498a87a5ca52d9f4214a_${c.siteDesignId}`);return K(I0([this,r0(this.toUrl())],"/_api/GroupSiteManager/CreateGroupEx").using(l8()),D1(o))}update(l){return bs(this,D1(l))}setSiteLogo(l){return K(G0([this,r0(this.toUrl())],"_api/siteiconmanager/setsitelogo"),D1(l))}};U4=I1([J0("_api/site")],U4);var I0=$1(U4),Lv;(function(a){a[a.WebLogo=0]="WebLogo",a[a.HubLogo=1]="HubLogo",a[a.HeaderBackground=2]="HeaderBackground",a[a.GlobalNavLogo=3]="GlobalNavLogo"})(Lv||(Lv={}));var Cv;(function(a){a[a.Square=0]="Square",a[a.Rectangular=1]="Rectangular"})(Cv||(Cv={}));Reflect.defineProperty(C2.prototype,"site",{configurable:!0,enumerable:!0,get:function(){return this.create(I0)}});Reflect.defineProperty(C2.prototype,"web",{configurable:!0,enumerable:!0,get:function(){return this.create(e0)}});function M8(){return new URL(window.location.href).searchParams.get("web")??""}function Uc(a=""){let l=a?a:C4();if(!window.__SPFxExtensions.__CurrentContext)return h8(l).using(ye());let c;if(window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext")c={pageContext:{web:{absoluteUrl:window.__SPFxExtensions.__CurrentContext.context.web.absoluteUrl},legacyPageContext:{formDigestTimeoutSeconds:window.__SPFxExtensions.__CurrentContext.context.legacyPageContext.formDigestTimeoutSeconds,formDigestValue:window.__SPFxExtensions.__CurrentContext.context.legacyPageContext.formDigestValue}}};else c={pageContext:{web:{absoluteUrl:window.__SPFxExtensions.__CurrentContext.context.webAbsoluteUrl},legacyPageContext:{formDigestTimeoutSeconds:window.__SPFxExtensions.__CurrentContext.context.formDigestTimeoutSeconds,formDigestValue:window.__SPFxExtensions.__CurrentContext.context.formDigestValue}}};return h8(l).using(oV(c))}function Z7(a){return a.web.toUrl().replace("/_api/web","")}function MV(){let l=M8()??C4();return Uc(l)}function Te(a){if(!a.appDefinitionMap)a.appDefinitionMap=[];if(!a.appRelativeEntryPointUrls)a.appRelativeEntryPointUrls=[];if(!a.manualEntries)a.manualEntries=[];return a}async function Ee(a,l,c){let o=[],[r,e]=a.web.batched();for(let h of l)r.getFileByUrl(`${w1}/${h}/${k0}`).getText().then((Z)=>{let t=Rv(h);try{let i=JSON.parse(Z);Te(i),t.manifest=i,t.activated=c.includes(h),o.push(t)}catch{o.push(t)}}).catch(()=>{o.push(Rv(h))});return await e(),o}var vy=["Forms"];async function p8(a,l){try{await we(a);let c=a.web.lists.getByTitle(w1).rootFolder,o=await Sv(a),r=await _8(a);if(!o.some((e)=>e===l))await c.folders.addUsingPath(l),o.push(l);return t7.value=await Ee(a,o,r.data.enabledAppCollections),t7.value.find((e)=>e.name===l)}catch(c){return c?.message}}async function pV(a,l){let o=a.web.lists.getByTitle(w1).rootFolder;try{let r=await o.folders.getByUrl(l)();await Ts(a,D4.data.ServerRelativeUrl,l)}catch(r){m1(`Error while removing ${l} from ${w1} folder in ${Z7(a)}`,r)}return!1}async function Sv(a){return await we(a),(await a.web.lists.getByTitle(w1).rootFolder.folders()).filter((o)=>!vy.includes(o.Name)).map((o)=>o.Name)}async function qe(a,l){wv.value=!0,await _8(a);let c=Z7(a),o=a.web.getFileByUrl(`${w1}/${$5}`);try{return await o.setContent(JSON.stringify(l)),!0}catch(r){return m1(`Error while updating ${$5} in ${w1} folder in ${c}`,r),!1}finally{wv.value=!1}}async function _8(a){let l=a.web.getFileByUrl(`${w1}/${$5}`),c=Z7(a),o=await l.exists(),r={data:mc,error:"",isError:!1,warnings:[]};if(!o)return await we(a),await a.web.lists.getByTitle(w1).rootFolder.files.addUsingPath($5,JSON.stringify(mc)),L0(`Created ${$5} in ${w1} folder in ${c}`),r;try{let h=await(await l.getBlob()).text(),Z=JSON.parse(h);if(!Array.isArray(Z.enabledAppCollections)||!Array.isArray(Z.urlMap)){let t=`Invalid data inside ${$5} in ${w1} folder in ${c}, it should be an array`;return m1(t),r.error=t,r.isError=!0,r.data=mc,r}return r.data=Z,r}catch(e){let h=`Error while parsing ${$5} in ${w1} folder in ${c}`;return m1(h,e),r.error=h,r.isError=!0,r.data=mc,r}}async function _V(a,l,c){if(c.some((h)=>h.indexOf("/")>-1))throw Error("Nested path cannot contain /");let o=Z7(a),r=a.web.getFolderByServerRelativePath(`${w1}/${l}`),e="";for(let h of c){if(e=`${e?`${e}/`:""}${h}`,!(await r.folders()).some((t)=>t.Name.toLowerCase()===h.toLowerCase()))L0(`Creating subfolder ${e} in ${w1}/${l} folder in ${o}`),await r.addSubFolderUsingPath(h);r=r.folders.getByUrl(h)}}var Gv=class extends c5{getById(l){return mV(this,`GetById?hubSiteId='${l}'`)}};Gv=I1([J0("_api/hubsites")],Gv);var Uv=$1(Gv);class AV extends Q0{async getSite(){let a=await this.select("SiteUrl")();return I0([this,a.SiteUrl])}}var mV=$1(AV);U4.prototype.joinHubSite=async function(a){await K(I0(this,`joinHubSite('${a}')`))};U4.prototype.registerHubSite=async function(){await K(I0(this,"registerHubSite"))};U4.prototype.unRegisterHubSite=async function(){await K(I0(this,"unRegisterHubSite"))};a0.prototype.hubSiteData=async function(a=!1){let l=await e0(this,`hubSiteData(${a})`)();if(typeof l==="string")return JSON.parse(l);return l};a0.prototype.syncHubSiteTheme=function(){return K(e0(this,"syncHubSiteTheme"))};Reflect.defineProperty(C2.prototype,"hubSites",{configurable:!0,enumerable:!0,get:function(){return this.create(Uv)}});function Dv(a,l){let c=a.findIndex((t)=>t.isHubRoot&&t.hubid===l);if(c<0)return;let o=a.splice(c,1)[0],r={...o,webs:[o]},e={...o,sites:[r],webs:[]},h=A8(a,e.siteId,l);r.webs.push(...h);let Z=be(a,l);return e.sites.push(...Z),e.webs.push(...A8(a,e.siteId,l)),e}function We(a){let l=Object.groupBy(a,(i)=>i.hubid),c=Object.keys(l).filter((i)=>i&&i!==z0),o=Object.keys(l).filter((i)=>!i||i===z0),r=c.map((i)=>l[i]??[]).flat(),e=o.map((i)=>l[i]??[]).flat(),h=[],Z=[],t=[];for(let i of c){let n=Dv(r,i);if(!n)continue;h.push(n)}if(r.length>0)e.push(...r);return Z.push(...be(e)),t.push(...e),{hubs:h,sites:Z,webs:t}}function be(a,l){let c=[];function o(e){return l?e.isRootWeb&&e.hubid===l:e.isRootWeb}let r=a.findIndex(o);while(r>-1){let e=a.splice(r,1)[0],h=c.find((t)=>t.id===e.id);if(!h)h={...e,webs:[e]},c.push(h);let Z=A8(a,e.siteId);h.webs.push(...Z.sort((t,i)=>t.url.localeCompare(i.url))),r=a.findIndex(o)}return c}function A8(a,l,c){let o=[];function r(h){return c?h.siteId===l&&h.hubid===c:h.siteId===l}let e=a.findIndex(r);while(e>-1){let h=a.splice(e,1)[0];o.push(h),e=a.findIndex(r)}return o.sort((h,Z)=>h.url.localeCompare(Z.url))}function HV(a){let l=Object.groupBy(a,(e)=>e.sharepointIds.siteId),c=Object.keys(l),o=[];for(let e of c){let h=l[e];if(!h)continue;let Z=h.sort((t,i)=>t.webUrl.localeCompare(i.webUrl));o.push({id:Z[0].sharepointIds.webId,url:Z[0].webUrl,siteId:Z[0].sharepointIds.siteId,hubid:Z[0].sharepointIds.hubSiteId,isHubRoot:Z[0].sharepointIds.hubSiteId===Z[0].sharepointIds.siteId,isRootWeb:!0})}return a.map((e)=>{return{id:e.sharepointIds.webId,url:e.webUrl,siteId:e.sharepointIds.siteId,hubid:e.sharepointIds.hubSiteId,isHubRoot:e.sharepointIds.hubSiteId===e.sharepointIds.siteId,isRootWeb:o.some((h)=>h.id===e.sharepointIds.webId),title:e.title,template:e.template.name}})}function ze(a,l,c){return{id:a.Id,url:a.Url,siteId:l,hubid:c,isHubRoot:!1,isRootWeb:!1}}function Qe(a,l,c){return a.map((o)=>{return ze(o,l,c)})}async function ny(a){let l=await VV(a);if(l.isError)return m1("Unable to get web info",l.error),[];let c=await kv(l.data);return[...l.data,...c.filter((o)=>!o.isError).flatMap((o)=>o.data)]}async function kv(a){let l=[];for(let r of a){let e=Uc(r.Url);l.push(VV(e))}let c=await Promise.all(l),o=c.filter((r)=>!r.isError&&r.data.length>0).flatMap((r)=>r.data);if(o.length>0)c.push(...await kv(o));return c.some((r)=>r.data.length>0||r.isError)?c:[]}async function uV(a,l=!1){let c=Uc(a.origin+a.pathname),o={data:[],error:"",warnings:[],isError:!1};try{let r=await Ov(c);if(r.isError){let v=`Unable to get site info ${r.error}`;o.warnings.push(v),m1(v,a.href)}let e=await yv(c);if(e.isError){let v=`Unable to get root web info ${e.error}`;o.warnings.push(v),m1(v,a.href)}let h=await Pv(c);if(h.isError){let v=`Unable to get web info ${h.error}`;return o.isError=!0,o.error=v,m1(v,a.href),o}if(!l||e.isError){let v=ze(h.data,r.data?.Id??z0,r.data?.HubSiteId??z0);return v.isRootWeb=e.data?.Id===h.data.Id,v.isHubRoot=r.data?.IsHubSite&&e.data?.Id===h.data.Id,o.data.push(v),o}let Z=Uc(e.data.Url),t=await ny(Z),i=ze(e.data,r.data?.Id??z0,r.data?.HubSiteId??z0),n=Qe(t,r.data?.Id??z0,r.data?.HubSiteId??z0);i.isRootWeb=!0,i.isHubRoot=r.data?.IsHubSite??!1,o.data.push(i),o.data.push(...n)}catch(r){o.isError=!0,o.error=`${r}`,m1("Unable to get web structure",a.href,r)}return o}async function Je(a){if(!$e())return;let l=w2,c={hubid:z0,id:z0,url:"",siteId:z0,isHubRoot:!1,isRootWeb:!1,webs:[]};if(l.isError)return m1(`Unable to get site info ${l.error}`),c;let o=i7;if(o.isError)return m1(`Unable to get root web info ${o.error}`),c;let r=await dy(a);if(r.isError)return m1(`Unable to get root subweb info ${o.error}`),c;let e=await kv(r.data),h=Qe(r.data,l.data.Id,l.data.HubSiteId),Z=Qe(e.filter((n)=>!n.isError).flatMap((n)=>n.data),l.data.Id,l.data.HubSiteId),t=[...h,...Z],i={hubid:l.data.HubSiteId,id:o.data.Id,url:o.data.Url,siteId:l.data.Id,isHubRoot:l.data.IsHubSite,isRootWeb:!0};return c={...i,webs:[i,...A8(t,l.data.Id)]},c}async function Ie(a,l,c){if(!F5())return;if(!Bv)return;let o=c??w2.data.HubSiteId,r=[];for await(let _ of sV(a.web.toUrl().replace("_api/web",""),o))r.push(..._);let e={id:"",url:"",siteId:o,hubid:o,isHubRoot:!0,isRootWeb:!0,sites:[],webs:[]},h=HV(r),Z=h.findIndex((_)=>_.hubid===o&&_.siteId===o),t=Z>-1?h.splice(Z,1)[0]:void 0;if(!t)L2("API Call did not return Hub ROOT",o),t={id:i7.data.Id,url:i7.data.Url,hubid:o,siteId:o,isHubRoot:!0,isRootWeb:!0};e.id=t.id,e.url=t.url,e.hubid=t.hubid,e.siteId=t.siteId,e.sites.push({...t,webs:[t]});let i=A8(h,t.siteId),n=e.sites.find((_)=>_.id===t.id);if(n)n.webs.push(...i);else e.webs.push(...i);let v=be(h);e.sites.push(...v),e.webs.push(...h);for(let _ of Bv.webs.sort((p,A)=>p.url.localeCompare(A.url)))if(e.sites.flatMap((p)=>p.webs).findIndex((p)=>p.id===_.id)===-1){let p=e.sites.findIndex((A)=>A.siteId===_.siteId);if(p<0){e.sites.push({id:_.id,url:_.url,hubid:_.hubid,siteId:_.siteId,isHubRoot:!1,isRootWeb:!0,webs:[_]});continue}e.sites[p].webs.push(_),e.sites[p].webs=e.sites[p].webs.sort((A,m)=>A.url.localeCompare(m.url))}let d=Dv([...l],o);if(d){for(let _ of d.sites){let p=e.sites.find((A)=>A.id===_.id);if(p){for(let A of _.webs)if(p.webs.find((u)=>u.id===A.id))continue;else p.webs.push(A);p.webs=p.webs.sort((A,m)=>A.url.localeCompare(m.url));continue}e.sites.push(_)}for(let _ of d.webs)if(e.webs.find((A)=>A.id===_.id))continue;else e.webs.push(_)}let M=[];for(let _ of e.webs){let p=e.sites.find((m)=>m.id===_.siteId);if(!p)continue;if(M.push({..._}),!p.webs.find((m)=>m.id===_.id))p.webs.push({..._}),p.webs=p.webs.sort((m,u)=>m.url.localeCompare(u.url))}return e.webs=e.webs.filter((_)=>M.findIndex((p)=>p.id===_.id)>-1),e.webs=e.webs.sort((_,p)=>_.url.localeCompare(p.url)),e}async function*sV(a,l,c=!0){let o=k5(a,c?"_api/v2.1/sites":"").using(ye());if(c)o.filter(`sharepointIds/hubSiteId eq '${l}'`).top(99);o.on.parse.replace(async(e,h,Z)=>{let t={"@odata.context":"",value:[],"@odata.nextLink":""};if(h.ok)try{return Z=await h.json(),[e,h,Z]}catch(i){return m1("Unable to parse hubdata response",e,i),[e,h,t]}return m1("Error getting hubdata",e,h.statusText),[e,h,t]});let r=await o();if(yield r.value,r["@odata.nextLink"])yield*sV(r["@odata.nextLink"],l,!1)}async function yv(a){return Dc(()=>a.site.rootWeb(),{})}async function dy(a){return Dc(()=>a.site.rootWeb.webs(),[])}async function Ov(a){return Dc(()=>a.site(),{})}async function Pv(a){return Dc(()=>a.web(),{})}async function VV(a){return Dc(()=>a.web.webs(),[])}async function Dc(a,l){let c={data:l,error:"",warnings:[],isError:!1};try{let o=await a();c.data=o}catch(o){c.isError=!0,c.error=`${o}`}return c}var Tv=M8(),Ye=new URL(Tv?Tv:C4()),j1=MV(),[w2,D4,My,fV]=await Promise.all([Ov(j1),Pv(j1),Sv(j1),_8(j1)]);var S2=!Tv,i7=!w2.isError?await yv(j1):{data:{},warnings:[],error:"Unable to get root web since site is not available",isError:!0};function F5(){if(w2.isError||i7.isError||D4.isError)return!1;return w2.data.IsHubSite&&i7.data.Id===D4.data.Id}function Ev(){if(w2.isError)return!1;return w2.data.HubSiteId!==z0}function $e(){if(i7.isError||D4.isError)return!1;return D4.data.Id===i7.data.Id}function FV(){if(w2.isError||i7.isError)return!0;return i7.data.Id!==D4.data.Id}var[Bv,py]=await Promise.all([Je(j1),Ee(j1,My,fV.data.enabledAppCollections)]);var u0=R0(fV.data),wv=R0(!1),t7=R0(py),C1=R0(),x1=R0(),m8=R0(),Bc=R0(),B4=R0([]),H8=R0(!1);function Rv(a){return{name:a,manifest:_c,activated:!1}}function qv(a){let l=U1(t7.value),c=l.findIndex((o)=>o.name===a.name);if(c>-1)l.splice(c,1,a);else l.push(a);t7.value=l}function v7(a,l=!1){let c=U1(a);if(C1.value=c,l)qv(c)}function Xe(){if(S2)return"global";if(F5())return"hubRoot";if(Ev()&&!F5())return"hubChild";if(!Ev())return"nonHub";if(FV())return"subsite";return"other"}var _y=l6({root:{display:"flex",height:"auto",width:"auto",boxSizing:"border-box"},horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"},wrap:{flexWrap:"wrap"},noWrap:{flexWrap:"nowrap"},horizontalAlign_start:{justifyContent:"flex-start"},horizontalAlign_end:{justifyContent:"flex-end"},horizontalAlign_center:{justifyContent:"center"},horizontalAlign_spaceBetween:{justifyContent:"space-between"},horizontalAlign_spaceAround:{justifyContent:"space-around"},horizontalAlign_spaceEvenly:{justifyContent:"space-evenly"},horizontalAlign_stretch:{justifyContent:"stretch"},verticalAlign_start:{alignItems:"flex-start"},verticalAlign_end:{alignItems:"flex-end"},verticalAlign_center:{alignItems:"center"},verticalAlign_spaceBetween:{alignItems:"space-between"},verticalAlign_spaceAround:{alignItems:"space-around"},verticalAlign_spaceEvenly:{alignItems:"space-evenly"},verticalAlign_stretch:{alignItems:"stretch"},reversedHorizontal:{flexDirection:"row-reverse"},reversedVertical:{flexDirection:"column-reverse"}});function Z1(a){let l=_y(),c=[l.root],o={};if(a.horizontal)if(a.reversed)c.push(l.reversedHorizontal);else c.push(l.horizontal);else if(a.reversed)c.push(l.reversedVertical);else c.push(l.vertical);if(a.grow)o.flexGrow=a.grow;if(a.gap)o.gap=a.gap;return c.push(a.wrap?l.wrap:l.noWrap),Ay(a,c,l),my(a,c,l),/*@__PURE__*/H("div",{className:c.join(" "),style:{...o,...a.style},children:a.children},void 0,!1,void 0,this)}function Ay(a,l,c){switch(a.horizontalAlign){case"start":l.push(c.horizontalAlign_start);break;case"end":l.push(c.horizontalAlign_end);break;case"center":l.push(c.horizontalAlign_center);break;case"space-between":l.push(c.horizontalAlign_spaceBetween);break;case"space-around":l.push(c.horizontalAlign_spaceAround);break;case"space-evenly":l.push(c.horizontalAlign_spaceEvenly);break;case"stretch":l.push(c.horizontalAlign_stretch);break}}function my(a,l,c){switch(a.verticalAlign){case"start":l.push(c.verticalAlign_start);break;case"end":l.push(c.verticalAlign_end);break;case"center":l.push(c.verticalAlign_center);break;case"space-between":l.push(c.verticalAlign_spaceBetween);break;case"space-around":l.push(c.verticalAlign_spaceAround);break;case"space-evenly":l.push(c.verticalAlign_spaceEvenly);break;case"stretch":l.push(c.verticalAlign_stretch);break}}var U3="global-toast-notification";function xV(){return/*@__PURE__*/H(g4,{toasterId:U3},void 0,!1,void 0,this)}function gV(){let[a,l]=h1(""),c=r7(!1);async function o(t,i){c.value=i.open}let{dispatchToast:r,updateToast:e}=x4(U3),h=(t)=>{switch(t){case"progress":r(/*@__PURE__*/H(u2,{children:/*@__PURE__*/H(s2,{media:/*@__PURE__*/H(D5,{size:"tiny"},void 0,!1,void 0,this),children:"Creating..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{toastId:U3,timeout:-1});break}};async function Z(){if(!a)return;h("progress");let t=await p8(j1,a);if(t&&t.name){e({content:/*@__PURE__*/H(u2,{children:/*@__PURE__*/H(s2,{children:"Application created."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"success",toastId:U3,timeout:2000}),c.value=!1;return}e({content:/*@__PURE__*/H(u2,{children:/*@__PURE__*/H(s2,{children:"Error occured. Please check console."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"error",toastId:U3,timeout:2000})}return/*@__PURE__*/H(s5,{open:c.value,surfaceMotion:null,modalType:"alert",onOpenChange:o,children:[/*@__PURE__*/H(B0,{disableButtonEnhancement:!0,children:/*@__PURE__*/H(H2,{appearance:"primary",icon:/*@__PURE__*/H(L6,{},void 0,!1,void 0,this),children:"Create collection"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(A2,{children:/*@__PURE__*/H(p2,{children:[/*@__PURE__*/H(_2,{action:/*@__PURE__*/H(B0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/H(f1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/H($2,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),children:"Create new collection"},void 0,!1,void 0,this),/*@__PURE__*/H(m2,{style:{padding:"16px 0"},children:/*@__PURE__*/H(N0,{value:a,style:{width:"100%"},placeholder:"Enter application name",onChange:(t,i)=>{l(i.value)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(M2,{children:[/*@__PURE__*/H(B0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/H(f1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{appearance:"primary",onClick:()=>{Z()},children:"Create"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function LV({app:a,onChange:l}){return/*@__PURE__*/H(f0,{defaultChecked:a.activated,onChange:(c,o)=>{l?.(a,o.checked)}},void 0,!1,void 0,this)}var I7={SPFXEXT:"SPFXEXT_",SPFXEXT_CORE:"SPFXEXT"};function Wv(){try{let a=typeof globalThis<"u"?globalThis:void 0;if(a&&a.localStorage)return a.localStorage}catch{}try{if(typeof window<"u"&&window.localStorage)return window.localStorage}catch{}return}function Hy(){let a=Wv();if(!a)return[];try{let l=[];for(let c=0;c<a.length;c++){let o=a.key(c);if(o)l.push(o)}return l}catch{return[]}}function uy(a){let l=Wv();if(!l)return null;try{return l.getItem(a)}catch{return null}}function sy(){return Hy().some((a)=>a.indexOf(I7.SPFXEXT)>-1&&Number(uy(a))>0)}function CV(a){return a.hostname.toLowerCase()==="localhost"}function RV(a){try{let l=`${I7.SPFXEXT}${a}`,c=Wv(),o=c?c.getItem?c.getItem(l):c[l]:null;return Number(o)>0}catch{return!1}}var kc=sy();function wV({app:a}){let[l,c]=h1(window.localStorage.getItem(`${I7.SPFXEXT}${a.name}`)??""),[o,r]=h1(!1);return/*@__PURE__*/H(d2,{positioning:"after",open:o,children:[/*@__PURE__*/H(z5,{disableButtonEnhancement:!0,children:/*@__PURE__*/H(c4,{checked:RV(a.name),onChange:()=>{r(!o)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(n2,{tabIndex:-1,children:[/*@__PURE__*/H(N0,{defaultValue:l,onChange:(e,h)=>{c(h.value)}},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{appearance:"primary",onClick:()=>{window.localStorage.setItem(`${I7.SPFXEXT}${a.name}`,l),r(!1)},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}async function Vy(a){try{Bc.value=U1(a),await pV(j1,a.name),t7.value=t7.value.filter((l)=>l.name!==a.name)}finally{Bc.value=void 0}}function SV({item:a}){let[l,c]=h1(!1);function o(r,e){c(e.open)}return/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H(D0,{disabled:Bc?.value?.name!==void 0,onClick:()=>{c(!0)},children:/*@__PURE__*/H("div",{style:{display:"flex"},children:[/*@__PURE__*/H(Zm,{},void 0,!1,void 0,this),Bc.value?.name===a.name&&/*@__PURE__*/H(D5,{size:"extra-small"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(s5,{open:l,surfaceMotion:null,modalType:"modal",onOpenChange:o,children:/*@__PURE__*/H(A2,{children:/*@__PURE__*/H(p2,{children:[/*@__PURE__*/H(_2,{children:["Delete ",a.name,"?"]},void 0,!0,void 0,this),/*@__PURE__*/H(m2,{children:[/*@__PURE__*/H(Q5,{children:["Are you sure you want to delete app collection ",/*@__PURE__*/H("b",{children:a.name},void 0,!1,void 0,this),"?"]},void 0,!0,void 0,this),/*@__PURE__*/H("br",{},void 0,!1,void 0,this),/*@__PURE__*/H(Q5,{children:["Deleting appcollection will result in deletion of all files in"," ",/*@__PURE__*/H(D0,{target:"_blank",onClick:()=>{window.open(`${Ye}/${w1}/${a.name}`,"_blank")},children:"this location"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(M2,{children:[/*@__PURE__*/H(f1,{appearance:"primary",onClick:()=>{Vy(a),c(!1)},children:"Yes"},void 0,!1,void 0,this),/*@__PURE__*/H(B0,{disableButtonEnhancement:!0,children:/*@__PURE__*/H(f1,{appearance:"secondary",children:"No"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function u8(a,l,c="86px"){return/*@__PURE__*/H(b0,{size:"medium",color:a,style:{width:c},children:l},void 0,!1,void 0,this)}function D3({webs:a,control:l,onDeleteClick:c,additionalIcon:o,disableControl:r}){if(a.length===0)return null;function e(Z,t){if(!x1.value)return;let i=U1(x1.value),n=i.config.excludedIds.filter((_)=>Z.id!==_),v=i.config.excludedHubIds.filter((_)=>Z.id!==_),d=i.config.includedIds.filter((_)=>Z.id!==_),M=i.config.includedHubIds.filter((_)=>Z.id!==_);if(!i.config.enabledEverywhere&&t)d.push(Z.id);if(i.config.enabledEverywhere&&!t)n.push(Z.id);i.config.excludedIds=n,i.config.excludedHubIds=v,i.config.includedIds=d,i.config.includedHubIds=M,x1.value=i}function h(Z){if(!x1.value)return!1;if(x1.value.config.enabledEverywhere)return!x1.value.config.excludedIds.includes(Z.id);return x1.value.config.includedIds.includes(Z.id)}return/*@__PURE__*/H(i1,{children:a.map((Z)=>/*@__PURE__*/H(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"36px"},children:[/*@__PURE__*/H(Z1,{horizontal:!0,gap:8,verticalAlign:"center",children:[o,u8(void 0,"Web","64px"),/*@__PURE__*/H(J5,{children:`${Z.url}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/H(f0,{disabled:r,onChange:(t,i)=>{e(Z,i.checked)},checked:h(Z)},void 0,!1,void 0,this):/*@__PURE__*/H(f1,{onClick:()=>c?.({item:Z,itemType:"web"}),icon:/*@__PURE__*/H(v3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}function s8({siteCollections:a,control:l,onDeleteClick:c,additionalIcon:o,disableControl:r}){function e(h,Z){if(!x1.value)return;let t=U1(x1.value),i=t.config.excludedIds.filter((v)=>!h.webs.some((d)=>d.id===v)&&h.siteId!==v),n=t.config.includedIds.filter((v)=>!h.webs.some((d)=>d.id===v)&&h.siteId!==v);if(!t.config.enabledEverywhere&&Z)n.push(h.siteId);if(t.config.enabledEverywhere&&!Z)i.push(h.siteId);t.config.excludedIds=i,t.config.includedIds=n,x1.value=t}return/*@__PURE__*/H(i1,{children:a.map((h)=>/*@__PURE__*/H(Z1,{children:[/*@__PURE__*/H(Z1,{horizontal:!0,style:{minHeight:"36px"},verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/H(Z1,{horizontal:!0,verticalAlign:"center",gap:8,children:[u8("warning","Site"),h.url]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/H(f0,{checked:(x1.value?.config?.enabledEverywhere||x1.value?.config?.includedIds?.includes(h.siteId))&&!x1.value?.config?.excludedIds?.includes(h.siteId),disabled:r,onChange:(Z,t)=>{e(h,t.checked)}},void 0,!1,void 0,this):/*@__PURE__*/H(f1,{onClick:()=>c?.({item:h,itemType:"site"}),icon:/*@__PURE__*/H(v3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(D3,{webs:h.webs,control:l,onDeleteClick:c,additionalIcon:o,disableControl:r||x1.value?.config.excludedIds.includes(h.siteId)||x1.value?.config.includedIds.includes(h.siteId)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}function Ke({hubSites:a,onDeleteClick:l,control:c}){function o(r,e){if(!x1.value)return;let h=U1(x1.value);function Z(d){let M=!r.webs.some((m)=>m.id===d||m.hubid===d),_=!r.sites.some((m)=>m.id===d||m.hubid===d),p=!r.sites.some((m)=>m.webs.some((u)=>u.id===d||u.hubid===d)),A=r.hubid!==d&&r.siteId!==d;return M&&_&&p&&A}let t=h.config.excludedIds.filter(Z),i=h.config.excludedHubIds.filter(Z),n=h.config.includedIds.filter(Z),v=h.config.includedHubIds.filter(Z);if(!h.config.enabledEverywhere&&e)v.push(r.hubid);if(h.config.enabledEverywhere&&!e)i.push(r.hubid);h.config.excludedIds=t,h.config.excludedHubIds=i,h.config.includedIds=n,h.config.includedHubIds=v,x1.value=h}return/*@__PURE__*/H(i1,{children:a.map((r)=>/*@__PURE__*/H(Z1,{children:[/*@__PURE__*/H(Z1,{horizontal:!0,verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/H(Z1,{horizontal:!0,gap:8,verticalAlign:"center",style:{height:"36px"},children:[u8("success","Hub"),r.url]},void 0,!0,void 0,this),c==="switch"?/*@__PURE__*/H(f0,{checked:(x1.value?.config?.enabledEverywhere||x1.value?.config?.includedHubIds?.includes(r.hubid))&&!x1.value?.config?.excludedHubIds?.includes(r.hubid),onChange:(e,h)=>{o(r,h.checked)}},void 0,!1,void 0,this):/*@__PURE__*/H(f1,{onClick:()=>l?.({item:r,itemType:"hub"}),icon:/*@__PURE__*/H(v3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(s8,{control:c,siteCollections:r.sites,onDeleteClick:l,additionalIcon:/*@__PURE__*/H(g6,{},void 0,!1,void 0,this),disableControl:x1.value?.config.excludedHubIds.includes(r.hubid)||x1.value?.config.includedHubIds.includes(r.hubid)},void 0,!1,void 0,this),/*@__PURE__*/H(D3,{control:c,webs:r.webs,onDeleteClick:l,additionalIcon:/*@__PURE__*/H(jo,{},void 0,!1,void 0,this),disableControl:x1.value?.config.excludedHubIds.includes(r.hubid)||x1.value?.config.includedHubIds.includes(r.hubid)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}var fy={invalid:{message:"Invalid URL"},duplicate:{message:"URL already exists"}};function GV(a){let l;if(!(a.toLowerCase().startsWith(window.location.origin.toLowerCase())||a.startsWith("/")))l=fy.invalid;return{urlInput:a,error:l}}function UV(){let[a,l]=h1(""),[c,o]=h1(""),[r,e]=h1(!1);async function h(){if(!c)return;let Z=GV(c);if(Z.error){l(Z.error.message);return}let t=c.startsWith("/")?new URL(c,window.location.origin):new URL(c);e(!0);let i=await uV(t,!0);if(e(!1),i.isError){l(i.error);return}if(F5()){if(!i.data.every((v)=>v.hubid===w2.data.HubSiteId)){l("You can only add child hub sites when configuring a hub root.");return}}let n=U1(u0.value);n.urlMap=n.urlMap.filter((v)=>{return!i.data.some((d)=>d.id===v.id)}),n.urlMap.push(...i.data),u0.value=n,l(""),o("")}return/*@__PURE__*/H(Z1,{style:{padding:"8px 24px",width:"100%"},gap:8,children:[/*@__PURE__*/H(E7,{intent:"info",children:/*@__PURE__*/H(q7,{children:"Add site collections and hub child sites."},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{horizontal:!0,gap:8,children:[/*@__PURE__*/H(N0,{style:{width:"100%"},onChange:(Z,t)=>{o(t.value)},onKeyDown:(Z)=>{if(Z.key==="Enter")h()},onFocus:()=>{l("")},value:c,placeholder:"Site/Web URL"},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{disabled:!c||r,onClick:()=>h(),icon:r?/*@__PURE__*/H(D5,{size:"tiny"},void 0,!1,void 0,this):/*@__PURE__*/H(L6,{},void 0,!1,void 0,this),children:"Add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),a?/*@__PURE__*/H(J5,{style:{color:e2.colorPaletteRedForeground1},children:a},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var V8=R0(!1);function DV(){let a=S7(),[l,c]=h1(!1),[o,r]=h1(!1),[e,h]=h1(u0.value),[Z,t]=h1([]),[i,n]=h1([]),[v,d]=h1([]);Y5(()=>{if(!u0.value)return;if(!e){h(u0.value);return}let p=JSON.stringify(u0.value),A=JSON.stringify(e);h(u0.value),r(p!==A)}),Y5(()=>{if(!u0.value)return;if(S2){let p=We(u0.value.urlMap);t(p.hubs),n(p.sites),d(p.webs);return}if(!S2&&F5())Ie(j1,u0.value.urlMap).then((p)=>{if(p)t([p])})});function M(p){if(!u0.value)return;let A=U1(u0.value);if(p.itemType==="hub")A.urlMap=A.urlMap.filter((m)=>m.hubid!==p.item.hubid);if(p.itemType==="site")A.urlMap=A.urlMap.filter((m)=>m.siteId!==p.item.siteId);if(p.itemType==="web")A.urlMap=A.urlMap.filter((m)=>m.id!==p.item.id);u0.value=A}async function _(){if(!u0.value)return;c(!0);try{await qe(j1,u0.value)}finally{c(!1),r(!1),V8.value=!1}}return/*@__PURE__*/H(V2,{...a,separator:!0,open:V8.value,onOpenChange:()=>{},position:"end",size:"large",children:[/*@__PURE__*/H(F2,{children:/*@__PURE__*/H(x2,{action:/*@__PURE__*/H(f1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/H($2,{},void 0,!1,void 0,this),onClick:()=>{V8.value=!1}},void 0,!1,void 0,this),children:"Manage sites"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(f2,{children:/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H(UV,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{gap:12,children:[Z.length>0?/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H(a5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/H(G5,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{children:/*@__PURE__*/H(Ke,{hubSites:Z,control:"delete",onDeleteClick:M},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,i.length>0?/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H(a5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/H(G5,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{children:/*@__PURE__*/H(s8,{siteCollections:i,control:"delete",additionalIcon:/*@__PURE__*/H(g6,{},void 0,!1,void 0,this),onDeleteClick:M},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,v.length>0?/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H(a5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/H(G5,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{children:/*@__PURE__*/H(D3,{webs:v,control:"delete",onDeleteClick:M},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(W7,{children:/*@__PURE__*/H(Z1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/H(f1,{appearance:"secondary",onClick:()=>{V8.value=!1},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{disabled:!o||l,appearance:"primary",onClick:()=>{_()},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}async function Fy(a,l){let c=await _8(j1),o=c.data.enabledAppCollections.includes(a.name);if(l!==o){if(l)c.data.enabledAppCollections.push(a.name);else c.data.enabledAppCollections.splice(c.data.enabledAppCollections.indexOf(a.name),1);await qe(j1,c.data)}a.activated=l,qv(a)}var xy=[{columnId:"name",text:"App Collection"},{columnId:"enabled",text:"Enabled"},{columnId:"InDebug",text:"In Debug"},{columnId:"Delete",text:""}];function BV(a){if(C1.value)return null;return/*@__PURE__*/H(Z1,{gap:16,children:[/*@__PURE__*/H(H4,{children:/*@__PURE__*/H(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/H(gV,{},void 0,!1,void 0,this),S2||F5()?/*@__PURE__*/H(H2,{appearance:"secondary",onClick:()=>{V8.value=!0},icon:/*@__PURE__*/H(YA,{},void 0,!1,void 0,this),children:"Manage sites"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(s4,{children:[/*@__PURE__*/H(V4,{children:/*@__PURE__*/H(F3,{children:xy.map((l)=>/*@__PURE__*/H(F4,{children:l.text},l.columnId,!1,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(u4,{children:t7.value.map((l)=>/*@__PURE__*/H(F3,{children:[/*@__PURE__*/H(l7,{children:/*@__PURE__*/H(c7,{media:/*@__PURE__*/H($A,{},void 0,!1,void 0,this),children:/*@__PURE__*/H(D0,{onClick:()=>{C1.value=U1(l)},children:l.name},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(l7,{children:/*@__PURE__*/H(c7,{children:/*@__PURE__*/H(LV,{app:l,onChange:Fy},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(l7,{children:/*@__PURE__*/H(c7,{children:/*@__PURE__*/H(wV,{app:l},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(l7,{children:/*@__PURE__*/H(c7,{children:/*@__PURE__*/H(SV,{item:l},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},l.name,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}async function gy(a,l){let c=Z7(a),o=a.web.getFileByUrl(`${w1}/${l}/${k0}`),r=await o.exists(),e={data:_c,error:"",isError:!1,warnings:[]};if(!r)return await p8(a,l),await a.web.lists.getByTitle(w1).rootFolder.folders.getByUrl(l).files.addUsingPath(k0,JSON.stringify(_c)),L0(`Created ${k0} in ${w1}/${l} folder in ${c}`),e;try{let Z=await(await o.getBlob()).text(),t=JSON.parse(Z);return e.data=t,e}catch(h){let Z=`Error while parsing ${k0} in ${w1}/${l} folder in ${c}`;return m1(Z,h),e.error=Z,e.isError=!0,e}}async function kV(a,l,c){await gy(a,l);let o=a.web.getFileByUrl(`${w1}/${l}/${k0}`);try{return await o.setContent(JSON.stringify(Te(c))),!0}catch(r){let e=Z7(a);return m1(`Error while updating ${k0} in ${w1}/${l} folder in ${e}`,r),!1}}var Ly=l6({root:{height:"auto",width:"auto"},verticalFill:{height:"100%"},disableShrink:{flexShrink:0},alignAuto:{alignSelf:"auto"},alignStretch:{alignSelf:"stretch"},alignBaseline:{alignSelf:"baseline"},alignStart:{alignSelf:"start"},alignCenter:{alignSelf:"center"},alignEnd:{alignSelf:"end"}});function yV(a){let l=Ly(),c=[l.root],o={};if(a.disableShrink)c.push(l.disableShrink);else if(a.shrink)o.flexShrink=a.shrink;if(a.grow)o.flexGrow=a.grow;if(a.basis)o.flexBasis=a.basis;if(Cy(a,c,l),a.className)c.push(a.className);return/*@__PURE__*/H("div",{className:c.join(" "),style:{...o},children:a.children},void 0,!1,void 0,this)}function Cy(a,l,c){switch(a.align){case"start":l.push(c.alignStart);break;case"end":l.push(c.alignEnd);break;case"center":l.push(c.alignCenter);break;case"stretch":l.push(c.alignStretch);break;case"baseline":l.push(c.alignBaseline);break;case"auto":l.push(c.alignAuto);break}}async function OV(a,l=0){let o=(/*@__PURE__*/new TextEncoder()).encode(a),r=await window.crypto.subtle.digest("SHA-1",o),h=Array.from(new Uint8Array(r)).map((Z)=>Z.toString(16).padStart(2,"0")).join("");return l>0?h.substring(0,l):h}var Qv=(a,l)=>l.some((c)=>a instanceof c),PV,TV;function Ry(){return PV||(PV=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function wy(){return TV||(TV=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var Jv=/*@__PURE__*/new WeakMap,bv=/*@__PURE__*/new WeakMap,je=/*@__PURE__*/new WeakMap;function Sy(a){let l=new Promise((c,o)=>{let r=()=>{a.removeEventListener("success",e),a.removeEventListener("error",h)},e=()=>{c(B3(a.result)),r()},h=()=>{o(a.error),r()};a.addEventListener("success",e),a.addEventListener("error",h)});return je.set(l,a),l}function Gy(a){if(Jv.has(a))return;let l=new Promise((c,o)=>{let r=()=>{a.removeEventListener("complete",e),a.removeEventListener("error",h),a.removeEventListener("abort",h)},e=()=>{c(),r()},h=()=>{o(a.error||new DOMException("AbortError","AbortError")),r()};a.addEventListener("complete",e),a.addEventListener("error",h),a.addEventListener("abort",h)});Jv.set(a,l)}var Iv={get(a,l,c){if(a instanceof IDBTransaction){if(l==="done")return Jv.get(a);if(l==="store")return c.objectStoreNames[1]?void 0:c.objectStore(c.objectStoreNames[0])}return B3(a[l])},set(a,l,c){return a[l]=c,!0},has(a,l){if(a instanceof IDBTransaction&&(l==="done"||l==="store"))return!0;return l in a}};function bV(a){Iv=a(Iv)}function Uy(a){if(wy().includes(a))return function(...l){return a.apply($v(this),l),B3(this.request)};return function(...l){return B3(a.apply($v(this),l))}}function Dy(a){if(typeof a==="function")return Uy(a);if(a instanceof IDBTransaction)Gy(a);if(Qv(a,Ry()))return new Proxy(a,Iv);return a}function B3(a){if(a instanceof IDBRequest)return Sy(a);if(bv.has(a))return bv.get(a);let l=Dy(a);if(l!==a)bv.set(a,l),je.set(l,a);return l}var $v=(a)=>je.get(a);function zV(a,l,{blocked:c,upgrade:o,blocking:r,terminated:e}={}){let h=indexedDB.open(a,l),Z=B3(h);if(o)h.addEventListener("upgradeneeded",(t)=>{o(B3(h.result),t.oldVersion,t.newVersion,B3(h.transaction),t)});if(c)h.addEventListener("blocked",(t)=>c(t.oldVersion,t.newVersion,t));return Z.then((t)=>{if(e)t.addEventListener("close",()=>e());if(r)t.addEventListener("versionchange",(i)=>r(i.oldVersion,i.newVersion,i))}).catch(()=>{}),Z}function QV(a,{blocked:l}={}){let c=indexedDB.deleteDatabase(a);if(l)c.addEventListener("blocked",(o)=>l(o.oldVersion,o));return B3(c).then(()=>{return})}var By=["get","getKey","getAll","getAllKeys","count"],ky=["put","add","delete","clear"],zv=/*@__PURE__*/new Map;function EV(a,l){if(!(a instanceof IDBDatabase&&!(l in a)&&typeof l==="string"))return;if(zv.get(l))return zv.get(l);let c=l.replace(/FromIndex$/,""),o=l!==c,r=ky.includes(c);if(!(c in(o?IDBIndex:IDBObjectStore).prototype)||!(r||By.includes(c)))return;let e=async function(h,...Z){let t=this.transaction(h,r?"readwrite":"readonly"),i=t.store;if(o)i=i.index(Z.shift());return(await Promise.all([i[c](...Z),r&&t.done]))[0]};return zv.set(l,e),e}bV((a)=>({...a,get:(l,c,o)=>EV(l,c)||a.get(l,c,o),has:(l,c)=>!!EV(l,c)||a.has(l,c)}));var yy=["continue","continuePrimaryKey","advance"],qV={},Yv=/*@__PURE__*/new WeakMap,JV=/*@__PURE__*/new WeakMap,Oy={get(a,l){if(!yy.includes(l))return a[l];let c=qV[l];if(!c)c=qV[l]=function(...o){Yv.set(this,JV.get(this)[l](...o))};return c}};async function*Py(...a){let l=this;if(!(l instanceof IDBCursor))l=await l.openCursor(...a);if(!l)return;l=l;let c=new Proxy(l,Oy);JV.set(c,l),je.set(c,$v(l));while(l)yield c,l=await(Yv.get(c)||l.continue()),Yv.delete(c)}function WV(a,l){return l===Symbol.asyncIterator&&Qv(a,[IDBIndex,IDBObjectStore,IDBCursor])||l==="iterate"&&Qv(a,[IDBIndex,IDBObjectStore])}bV((a)=>({...a,get(l,c,o){if(WV(l,c))return Py;return a.get(l,c,o)},has(l,c){return WV(l,c)||a.has(l,c)}}));var Y1={AppFolderManifestCache:"AppFolderManifestCache",AppCollectionManifestCache:"AppCollectionManifestCache",AllowedApps:"AllowedApps",HubSiteData:"HubSiteData",SPFxExtensionConfig:"SPFxExtensionConfig"},IV=`${I7.SPFXEXT}COREDB`,Xv=zV(IV,1,{blocking(a,l,c){Xv.then((o)=>o.close()),alert("A new version of this page is ready. Please reload the page.")},async upgrade(a,l,c,o,r){if(l===0)a.createObjectStore(Y1.AppFolderManifestCache,{keyPath:"url"}),a.createObjectStore(Y1.AppCollectionManifestCache,{keyPath:"url"}),a.createObjectStore(Y1.AllowedApps,{keyPath:"Id"}),a.createObjectStore(Y1.HubSiteData,{keyPath:"SiteId"}),a.createObjectStore(Y1.SPFxExtensionConfig,{keyPath:"Title"})}});Xv.catch((a)=>{throw m1("Error opening database for Core, please contact your administrator."),QV(IV).then(()=>{window.location.reload()}),a});var o5=await Xv;function f8(a){let l="never";if(a!==1/0){let c=/*@__PURE__*/new Date;c.setMinutes(c.getMinutes()+a),l=c.toISOString()}return{expires:l}}async function F8(a,l){let c=await o5.getAll(a),o=/*@__PURE__*/new Date,r=c.filter((h)=>{if(h.expires==="never")return!1;let Z=new Date(h.expires);return o>=Z}),e=r.length;if(e>0){let h=o5.transaction(a,"readwrite"),Z=h.objectStore(a);r.forEach((t)=>Z.delete(t[l])),await h.done,L2(`Evicted ${e} items from ${a} cache.`)}return e}async function Kv(){return await F8(Y1.SPFxExtensionConfig,"Title"),o5.getAll(Y1.SPFxExtensionConfig)}async function k3(a){return await F8(Y1.SPFxExtensionConfig,"Title"),o5.get(Y1.SPFxExtensionConfig,a)}async function G2(a,l=60){await o5.put(Y1.SPFxExtensionConfig,{...a,...f8(l)})}async function $V(a,l){let c=o5.transaction(Y1.SPFxExtensionConfig,"readwrite"),o=c.objectStore(Y1.SPFxExtensionConfig);return a.forEach((r)=>o.put({...r,...f8(l)})),c.done}async function YV(){return o5.getAll(Y1.AllowedApps)}async function jv(a){return o5.get(Y1.AppFolderManifestCache,a)}async function Nv(a){return o5.get(Y1.AppCollectionManifestCache,a)}async function BY1(a){return o5.get(Y1.HubSiteData,a)}async function kY1(a,l=60){await o5.put(Y1.HubSiteData,{...a,...f8(l)})}async function Ty(a,l=60){await o5.put(Y1.AppCollectionManifestCache,{...a,...f8(l)})}async function Ey(a,l=60){await o5.put(Y1.AppFolderManifestCache,{...a,...f8(l)})}async function XV(a,l=5){let c=f8(l),o=o5.transaction(Y1.AllowedApps,"readwrite"),r=o.objectStore(Y1.AllowedApps);return a.forEach((e)=>r.put({...e,...c})),o.done}async function qy(a){return o5.delete(Y1.AppCollectionManifestCache,a)}async function Wy(a){return o5.delete(Y1.AppFolderManifestCache,a)}async function by(){return F8(Y1.AppCollectionManifestCache,"url")}async function zy(){return F8(Y1.AppFolderManifestCache,"url")}async function KV(){return F8(Y1.AllowedApps,"Id")}async function yY1(){return F8(Y1.HubSiteData,"SiteId")}async function jV(a){if(a){let l=await jv(a.url);if(l){if(l.hash!==a.hash){await Wy(a.url);let c=a.url.toLowerCase().replace(`/${k0}`,"");await Ne([c],!1),L2(`Evicted ${k0} ${l.url} from cache. Because of hash mismatch.`)}}}return zy()}async function NV(a){if(a){let l=await Nv(a.url);if(l){if(l.hash!==a.hash)await qy(a.url),await Ne([a.url],!1),L2(`Evicted ${$5} ${l.url} from cache. Because of hash mismatch.`)}}return by()}async function OY1(a){if(await jV(),kc)return;return jv(a)}async function PY1(a,l){await jV(a);let c=await jv(a.url);if(c&&c.hash===a.hash&&!kc)return;await Ey(a,l)}async function TY1(a,l){await NV(a);let c=await Nv(a.url);if(c&&c.hash===a.hash&&!kc)return;await Ty(a,l)}async function EY1(a){if(await NV(),kc)return;return Nv(a)}var an=/*@__PURE__*/new Map;async function af(a,l=!1){let c="";if(an.has(a)&&!l)c=an.get(a)||"";if(c)return c;let o=await fetch(`${a}/_api/contextinfo`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json"}});if(o.status===200){let e=(await o.json()).d.GetContextWebInformation.FormDigestValue;return an.set(a,e),e}else m1("Error while getting digest",o.status);return""}var ln=(a)=>{},ah;async function lh(a=""){if(ah)return ah;ah=new Promise((l)=>{ln=l});try{let o=(await(await fetch(`${a}/_api/SP_TenantSettings_Current`,{headers:{Accept:"application/json;odata=verbose"}})).json()).d.CorporateCatalogUrl;ln(o)}catch(l){m1("Error while getting app catalog url. Trying default /sites/appcatalog",l);let c=`${window.location.origin}/sites/appcatalog`;ln(c)}return ah}async function lf(a=""){let l=await k3("AppCatalogUrl");if(l?.Data)return l.Data;let c=await lh(a);return await G2({Title:"AppCatalogUrl",Data:c},240),c}async function x5(a=""){let c=`${await lf()}${a?`/${a}`:""}`;return af(c)}var Qy=await lf(),h0=`${Qy}/${m0}`;var of={RootCDNLocation:"RootCDNLocation",InterceptHistory:"InterceptHistory",EnableAppWhiteList:"EnableAppWhiteList",AppCatalogUrl:"AppCatalogUrl",SPFxDataSite:"SPFxDataSite",ConfiguratorPageData:"ConfiguratorPageData",AppWhiteList:"AppWhiteList",Version:"2026-03-18T22:42:54.268Z"},cf=[{Title:"InterceptHistory",Data:"true"},{Title:"EnableAppWhiteList",Data:"false"},{Title:"RootCDNLocation",Data:`/sites/appcatalog/${m0}`}];function rf(a){let l=cf.find((c)=>c.Title==="RootCDNLocation");if(l)l.Data=a;return cf}var Jy=Object.keys(of).length,ch;async function Iy(){let a=`${h0}/_api/web/lists/GetByTitle('${K6}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){let o=(await l.json()).d.results,r=o.map((h)=>h.InternalName),e=o.find((h)=>h.InternalName==="Title");if(!e){m1("Title field not found.");return}if(!e.EnforceUniqueValues){let h=await x5(m0);if((await fetch(`${h0}/_api/web/lists/GetByTitle('${K6}')/fields('${e.Id}')`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":h,"X-HTTP-Method":"MERGE","If-Match":"*"},body:JSON.stringify({__metadata:{type:"SP.Field"},Indexed:!0,EnforceUniqueValues:!0})})).status===204)L0("Title field updated successfully.");else m1("Unable to update Title field.")}if(!r.includes("Data")){let h=await x5(m0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":h},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:"Data",FieldTypeKind:2,Required:!0})})).status===201)L0("Data field added successfully.");else m1("Unable to add Data field.")}}}catch(l){m1("Error while ensuring configuration list data fields.",l)}}async function $y(){let a=!1;try{if(a=(await fetch(`${h0}/_api/web/lists/GetByTitle('${K6}')`)).status===404,a){let c=await x5(m0);if(L0("Creating configuration list."),(await fetch(`${h0}/_api/web/lists`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":c},body:JSON.stringify({__metadata:{type:"SP.List"},BaseTemplate:100,Title:"SPFxExtensionsConfiguration",Description:"Configuration list for SPFxExtensions"})})).status===201)L0("Configuration list created successfully.");else m1("Unable to create configuration list.")}await Iy()}catch(l){m1("Error while ensuring configuration list.",l)}return a}async function ef(){let a=`${h0}/_api/web/lists/GetByTitle('${K6}')/items?$select=Title,Data`,c=await fetch(a,{...{headers:{Accept:"application/json;odata=verbose"}}});if(c.status!==200)return m1("Unable to fetch configuration list items."),[];return(await c.json()).d.results}async function Yy(){let a=await x5(m0);for(let l of rf(h0))if((await fetch(`${h0}/_api/web/lists/GetByTitle('${K6}')/items`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":a},body:JSON.stringify({__metadata:{type:"SP.Data.SPFxExtensionsConfigurationListItem"},...l})})).status===201)L0(`Item ${l.Title} added successfully.`);else m1(`Unable to add item ${l.Title}.`)}function hf(a=!1){if(a)return ef();if(ch)return ch;return ch=Xy(),ch}async function Xy(){let a=await Kv();if(a.length<Jy){if(await $y())await Yy();let c=await ef();await $V(c,240),a=await Kv()}return a}async function Ky(a){let l=await lh(),c=await x5(),o=await fetch(`${l}/_api/web/webs/add`,{method:"POST",headers:{Accept:"application/json;odata=nometadata","Content-Type":"application/json","X-RequestDigest":c},body:JSON.stringify({parameters:{Description:"Site that stores SPFxExtensions Data and global apps",Language:1033,Title:"SPFxExtensions Data",Url:a,UseSamePermissionsAsParentSite:!0,WebTemplate:"STS"}})});if(!o.ok)throw Error(`Failed to create SPFxExtensionsData web in ${l}`);return await o.json()}async function jy(){let a=await lh(),l=await x5(),c=await fetch(`${a}/${m0}/_api/web`,{method:"GET",headers:{Accept:"application/json;odata=nometadata","X-RequestDigest":l}});if(!c.ok){if(c.status===404)return{data:void 0,isError:!1,error:"",warnings:[`SPFxExtensionsData web not found in ${a}`]};return m1(`Failed to fetch data from ${a}/${m0}/_api/web`),{data:void 0,isError:!0,error:`Failed to fetch data from ${a}/${m0}/_api/web`,warnings:[]}}return{data:await c.json(),isError:!1,error:"",warnings:[]}}async function Ny(){return(await k3("SPFxDataSite"))?.Data}var oh;function Zf(){if(oh)return oh;return oh=aO(),oh}async function aO(){let a=await Ny();if(!a){let l=await jy();if(!l.isError&&!l.data){let c=await Ky(m0);l.data=c}return await G2({Title:"SPFxDataSite",Data:l.data},240),l.data}return a}var cn="f3ab710f-2c08-422e-a7ad-5d93eb51e7a3",rh={accept:"application/json"},lO={"Content-Type":"application/json"};async function cO(){let l={"X-RequestDigest":await x5(m0)};return(await(await fetch(`${h0}/_api/sitepages/pages`,{headers:{...rh,...l,...lO},body:JSON.stringify({PageLayoutType:"SingleWebPartAppPage",PromotedState:0}),method:"POST"})).json()).Id}async function on(){let a=await fetch(`${h0}/_api/sitepages/pages/GetByUrl('${de}')`,{headers:{...rh},method:"GET"});if(a.status===404)return;return await a.json()}var oO=[{dataVersion:"1.4",description:"Title Region Description",id:"cbe7b0a9-3504-44dd-a3a3-0e5cacd07788",instanceId:"cbe7b0a9-3504-44dd-a3a3-0e5cacd07788",properties:{authorByline:[],authors:[],layoutType:"FullWidthImage",showPublishDate:!1,showTopicHeader:!1,textAlignment:"Left",title:"SPFx Extensions Configurator",topicHeader:"",enableGradientEffect:!0},reservedHeight:280,serverProcessedContent:{htmlStrings:{},searchablePlainTexts:{},imageSources:{},links:{}},title:"Title area"}],rO=[{addedFromPersistedData:!1,controlType:3,displayMode:2,emphasis:{},id:cn,position:{controlIndex:1,layoutIndex:1,sectionFactor:12,sectionIndex:1,zoneIndex:1},reservedHeight:500,reservedWidth:500,webPartData:{dataVersion:"1.0",description:"Allows you to add a custom developed app",id:Ei,instanceId:cn,properties:{description:"Select an app to load from the dropdown below",selectedApp:Zs,SPFxExtensionAppConfiguration:void 0},title:"SPFx Extension Loader"},webPartId:Ei},{controlType:0,pageSettingsSlice:{isDefaultDescription:!0,isDefaultThumbnail:!0}}],eO={CanvasContent1:`${JSON.stringify(rO)}`,LayoutWebpartsContent:`${JSON.stringify(oO)}`,Title:ts};async function tf(a){let c={"X-RequestDigest":await x5(m0)};await fetch(`${h0}/_api/sitepages/pages(${a})/savepage`,{headers:{"Content-Type":"application/json",...rh,...c},body:JSON.stringify(eO),method:"POST"}),await fetch(`${h0}/_api/sitepages/pages(${a})/publish`,{headers:{...rh,...c},method:"POST"})}async function hO(){let a=await cO();return await tf(a),on()}async function ZO(){let a=await k3("ConfiguratorPageData");if(a?.Data)return a.Data;let l=await on();if(l)await G2({Title:"ConfiguratorPageData",Data:l},480);return l}async function vf(){let a=await ZO();if(!a)return hO();if(a.CanvasContent1.indexOf(cn)===-1){await tf(a.Id);let l=await on();return await G2({Title:"ConfiguratorPageData",Data:l},480),l}return a}async function tO(){let a=`${h0}/_api/web/lists/GetByTitle('${j6}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){if(!(await l.json()).d.results.map((e)=>e.InternalName).some((e)=>e==="EntryPointUrl"))await iO(a,"EntryPointUrl","Full URL to the Entrypoint JS file, if * is specified all entries will be allowed.",!0)}}catch(l){m1("Error while ensuring list fields.",l)}}async function iO(a,l,c,o){let r=await x5(m0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":r},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:l,FieldTypeKind:3,Required:o,Description:c})})).status===201)L0(l,"field added successfully.");else m1(l,"Unable to add field.")}async function vO(){try{let a=await fetch(`${h0}/_api/web/lists/GetByTitle('${j6}')?$select=*`,{method:"GET",headers:{Accept:"application/json;odata=verbose"}});if(a.status===404){L0("Creating app white list.");let c=await x5(m0),o=await fetch(`${h0}/_api/web/lists`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":c},body:JSON.stringify({__metadata:{type:"SP.List"},BaseTemplate:100,Title:j6,Description:"App whitelist for SPFxExtensions"})});if(o.status===201)return L0("App whitelist created successfully."),o.json();else{m1("Unable to create app whitelist.");return}}return await tO(),a.json()}catch(a){m1("Error while ensuring app whitelist.",a)}return}async function nf(){let a=await k3("AppWhiteList");if(a?.Data)return a.Data;let l=await vO();if(l)await G2({Title:"AppWhiteList",Data:l},480);return l}var eh;async function nO(){if(eh)return eh;return eh=dO(),eh}async function dO(){await Zf(),await nf(),await vf(),window.__SPFxExtensions.Utils.ConfiguratorPageUrl=`${h0}/${de}`}async function yc(a=!1){return await nO(),hf(a)}async function FX1(){return`${`${(await yc()).find((o)=>o.Title==="RootCDNLocation")?.Data??`${h0}`}${is}`}${$5}`}async function SX1(){let a=await yc(),l=[hs];if(a.find((c)=>c.Title==="Version")?.Data!=="2026-03-18T22:42:54.268Z")await G2({Title:"Version",Data:"2026-03-18T22:42:54.268Z"},1/0),await Ne(l,!0)}async function Ne(a,l){let c=await window.caches.keys(),o=!1;for(let r of c){let e=await window.caches.open(r),h=await e.keys(),Z=[];for(let t of h){let i=t.url.toLowerCase();if(a.some((n)=>i.indexOf(n.toLowerCase())>-1))L0("Deleting cache key",t,"from",r),o=!0,Z.push(e.delete(t,{ignoreMethod:!0,ignoreSearch:!0,ignoreVary:!0}))}await Promise.allSettled(Z)}if(o&&l)window.location.reload()}function df(){return OV(`${Date.now()}`,13)}var Mf={appId:"",name:"",entryPoint:""};function pf(){let a=r7(U1(Mf)),l=r7(!1),c=r7(!1);if(Y5(()=>{if(m8.value)a.value=U1(m8.value),l.value=!0,c.value=!0}),!C1.value)return null;let o=C1.value;async function r(Z,t){if(c.value=t.open,!t.open)m8.value=void 0}async function e(){if(!a.value.appId||!a.value.name||!a.value.entryPoint)return;let Z=U1(o);Z.manifest.manualEntries=Z.manifest.manualEntries.filter((t)=>t.appId!==a.value.appId),Z.manifest.appDefinitionMap=Z.manifest.appDefinitionMap.filter((t)=>t.appId!==a.value.appId),Z.manifest.appDefinitionMap.push({appId:a.value.appId,config:U1(Ac)}),Z.manifest.manualEntries.push(U1(a.value)),C1.value=Z,c.value=!1}let h=B4.value.filter((Z)=>{return!o.manifest.appRelativeEntryPointUrls.includes(Z)});return/*@__PURE__*/H(s5,{open:c.value,surfaceMotion:null,modalType:"alert",onOpenChange:r,children:[/*@__PURE__*/H(B0,{disableButtonEnhancement:!0,children:/*@__PURE__*/H(H2,{appearance:"outline",icon:/*@__PURE__*/H(L6,{},void 0,!1,void 0,this),children:"Add Entry"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(A2,{children:/*@__PURE__*/H(p2,{children:[/*@__PURE__*/H(_2,{action:/*@__PURE__*/H(B0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/H(f1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/H($2,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),children:"Create new app config"},void 0,!1,void 0,this),/*@__PURE__*/H(m2,{style:{padding:"16px 0"},children:/*@__PURE__*/H(Z1,{gap:16,children:[/*@__PURE__*/H(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/H(N0,{disabled:l.value,value:a.value.appId,style:{width:"100%"},placeholder:"Enter application id (guid) or click Generate",onChange:(Z,t)=>{a.value={...a.value,appId:t.value}}},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{disabled:l.value,onClick:()=>{a.value={...a.value,appId:window.crypto.randomUUID()}},children:"Generate"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(N0,{defaultValue:a.value.name,style:{width:"100%"},placeholder:"Enter application name to be shown below",onChange:(Z,t)=>{a.value={...a.value,name:t.value}}},void 0,!1,void 0,this),/*@__PURE__*/H(p4,{placeholder:"Select entry point",defaultValue:a.value.entryPoint,onOptionSelect:(Z,t)=>{a.value={...a.value,entryPoint:t.optionValue??""}},children:h.map((Z)=>/*@__PURE__*/H(e4,{value:Z,children:Z},Z,!1,void 0,this))},void 0,!1,void 0,this),/*@__PURE__*/H(E7,{children:/*@__PURE__*/H(q7,{children:[/*@__PURE__*/H(L4,{children:"Remember:"},void 0,!1,void 0,this),"While adding your app manually, you have to ensure that the code inside entry point calls window.__SPFxExtensions.RegisterApp and/or window.__SPFxExtensions.InstantiateApp methods. This ensures proper lifecycle management of your SPFx application. If you want just a side-effect, you do not need to call those methods."]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(M2,{children:[/*@__PURE__*/H(B0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/H(f1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{appearance:"primary",disabled:!a.value.appId||!a.value.name||!a.value.entryPoint,onClick:()=>{e()},children:l.value?"Save":"Add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var MO=pO();async function pO(){try{let a=await KV(),l=await YV();if(l.length>0&&!a)return l;if(l.length>0)L0("Cache mismatch, loading allowed apps data...");let c=await _f();return await XV(c,5),c}catch(a){return m1("Unable to load allowed apps data...",a),[]}}async function _f(a=!1){if((await yc(a)).find((o)=>o.Title==="EnableAppWhiteList")?.Data!=="true")return[{Id:1,Title:"All apps allowed",EntryPointUrl:"*",date:(/*@__PURE__*/new Date()).toISOString(),expires:(/*@__PURE__*/new Date()).toISOString()}];return _O()}async function _O(){let a=`${h0}/_api/web/lists/getByTitle('${j6}')/Items?$select=Id,Title,EntryPointUrl&$top=1000`;return await AO(a)}async function AO(a){let l=a,c=[];while(l){let r=await(await fetch(l,{method:"GET",headers:{Accept:"application/json;odata=verbose"}})).json();if(r.error)throw Error(JSON.stringify(r.error));c.push(...r.d.results),l=r.d.__next}return c}function mO(a,l){if(l.some((r)=>r.EntryPointUrl==="*"))return!0;let o=(a.origin+a.pathname).toLowerCase();return l.some((r)=>{try{let e=new URL(r.EntryPointUrl),h=e.origin+e.pathname;return o===h.toLowerCase()}catch(e){return m1("Error while parsing allowed entry URL",r.EntryPointUrl,e),!1}})}async function Af(a,l,c=!1){if(CV(a))return!0;let o=c?await _f(c):await MO;if(!mO(a,o))return L2("File",a,`is not allowed to be executed. Please add it to whitelist @ ${h0}.`),L2(`If you are a developer you can enable this app by adding window.localStorage item ${I7.SPFXEXT}${l} with a number value corresponding to development port of the localhost server.`),!1;return!0}function mf(a,l,c,o){let r=o.find((e)=>e.appId===a);if(r){r.name=l,r.resolved=!0,r.isManual=c;return}o.push({appId:a,name:l,resolved:!0,isManual:c,config:U1(Ac)})}async function Hf(a){let l=a.manifest.appDefinitionMap.map((c)=>{return{appId:c.appId,name:`Unknown_${c.appId}`,isManual:!1,resolved:!1,config:c.config??U1(Ac)}});for(let c of a.manifest.appRelativeEntryPointUrls){let o=c.replace(/\.\.\/?/g,"").replace(/\.\//g,""),r=new URL(`${Ye}/${w1}/${a.name}/${o}`);if(!await Af(r,a.name,!0))continue;r.searchParams.set("t",`${Date.now()}`);try{let h=await import(`${r}`);if(!h.default){m1(`Invalid app definition file ${r}, default export not available.`);continue}if(!Array.isArray(h.default)){m1(`Invalid app definition file ${r}, default export should be an array.`);continue}if(h.default.some((Z)=>!Z.id||!Z.name)){m1(`Invalid app definition file ${r}, default export should be an array of objects with id and name properties.`);continue}for(let Z of h.default)mf(Z.id,Z.name,!1,l)}catch(h){m1(`Error loading ${r}`,h);continue}}for(let c of a.manifest.manualEntries)mf(c.appId,c.name,!0,l);return l}var HO=Xe();function uf(a){let l=S7(),[c,o]=h1(x1.value),[r,e]=h1(!1),[h,Z]=h1([]),[t,i]=h1([]),[n,v]=h1([]);if(Y5(()=>{if(!x1.value)return;if(!c){o(x1.value);return}let d=JSON.stringify(x1.value),M=JSON.stringify(c);o(x1.value),e(d!==M)}),Y5(()=>{if(!S2){if(F5())Ie(j1,u0.value.urlMap).then((d)=>{Z(d?[d]:[])});if($e()&&!F5())Je(j1).then((d)=>{i(d?[d]:[])})}else{let d=We(u0.value.urlMap);Z(d.hubs),i(d.sites),v(d.webs)}}),!x1.value||!C1.value)return null;return/*@__PURE__*/H(V2,{...l,separator:!0,open:!!x1.value,position:"end",size:"large",children:[/*@__PURE__*/H(F2,{children:/*@__PURE__*/H(x2,{action:/*@__PURE__*/H(f1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/H($2,{},void 0,!1,void 0,this),onClick:()=>{x1.value=void 0}},void 0,!1,void 0,this),children:"Enable app on sites"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(f2,{children:/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",children:[/*@__PURE__*/H(Z1,{horizontal:!0,verticalAlign:"center",gap:8,children:[/*@__PURE__*/H(s0,{children:"Enable everywhere"},void 0,!1,void 0,this),/*@__PURE__*/H(d2,{withArrow:!0,children:[/*@__PURE__*/H(z5,{disableButtonEnhancement:!0,children:/*@__PURE__*/H(D0,{children:/*@__PURE__*/H(lr,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(n2,{tabIndex:-1,children:/*@__PURE__*/H(J5,{children:HO==="global"&&"Enables app for all listed and unlisted hubs and sites in tenant."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(f0,{defaultChecked:x1.value.config.enabledEverywhere,onChange:(d,M)=>{let _=U1(x1.value);_.config.enabledEverywhere=M.checked,_.config.includedIds=[],_.config.excludedIds=[],_.config.includedHubIds=[],_.config.excludedHubIds=[],x1.value=_}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(Z1,{gap:12,children:[/*@__PURE__*/H(a5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/H(G5,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{children:h.length>0?/*@__PURE__*/H(Ke,{hubSites:h,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/H(a5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/H(G5,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{children:t.length>0?/*@__PURE__*/H(s8,{additionalIcon:/*@__PURE__*/H(g6,{},void 0,!1,void 0,this),siteCollections:t,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/H(a5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/H(G5,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{children:n.length>0?/*@__PURE__*/H(D3,{additionalIcon:/*@__PURE__*/H(jo,{},void 0,!1,void 0,this),webs:n,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(W7,{children:/*@__PURE__*/H(Z1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/H(f1,{appearance:"secondary",onClick:()=>{x1.value=void 0},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{appearance:"primary",disabled:!r,onClick:()=>{if(!x1.value)return;let d=U1(C1.value),M=U1(x1.value);d.manifest.appDefinitionMap=d.manifest.appDefinitionMap.filter((_)=>_.appId!==M.appId),d.manifest.appDefinitionMap.push(M),C1.value=d,x1.value=void 0},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function sf(){let a=r7([]),l=r7(!1);async function c(r){l.value=!1;let e=await Hf(r);l.value=!0,a.value=e}function o(r){if(!C1.value)return;let e=U1(C1.value);e.manifest.appDefinitionMap=e.manifest.appDefinitionMap.filter((h)=>h.appId!==r.appId),e.manifest.manualEntries=e.manifest.manualEntries.filter((h)=>h.appId!==r.appId),C1.value=e}if(Y5(()=>{if(!C1.value)return;c(C1.value)}),!C1.value)return null;if(!l.value)return/*@__PURE__*/H(Z1,{style:{marginTop:"10px"},children:/*@__PURE__*/H(P7,{},void 0,!1,void 0,this)},void 0,!1,void 0,this);return/*@__PURE__*/H(Z1,{style:{marginTop:"10px",borderBottom:"1px solid #eaeaea"},children:[a.value.map((r)=>{return/*@__PURE__*/H(Z1,{horizontal:!0,gap:8,horizontalAlign:"space-between",verticalAlign:"center",style:{borderTop:"1px solid #eaeaea",padding:"10px 6px",minHeight:"53px"},children:[/*@__PURE__*/H(Z1,{horizontal:!0,verticalAlign:"center",gap:8,grow:!0,children:[r.isManual?/*@__PURE__*/H(jA,{},void 0,!1,void 0,this):/*@__PURE__*/H(NA,{},void 0,!1,void 0,this)," ",/*@__PURE__*/H(D0,{size:"medium",onClick:()=>{x1.value={appId:r.appId,config:r.config}},children:r.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/H(f1,{"aria-label":"Delete configuration item",icon:/*@__PURE__*/H(v3,{},void 0,!1,void 0,this),disabled:!r.isManual&&r.resolved,onClick:()=>{o(r)}},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{"aria-label":"Edit item",icon:/*@__PURE__*/H(WA,{},void 0,!1,void 0,this),disabled:!r.isManual,onClick:()=>{let e=C1.value?.manifest.manualEntries.find((h)=>h.appId===r.appId);if(!e)return;m8.value=U1(e)}},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{"aria-label":"Edit sites",icon:/*@__PURE__*/H(qA,{},void 0,!1,void 0,this),onClick:()=>{x1.value={appId:r.appId,config:r.config}}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}),/*@__PURE__*/H(uf,{appDefinitions:a.value},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var z1=w8(Bf(),1);var LO=/*@__PURE__*/new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function k4(a,l,c){let o=CO(a),{webkitRelativePath:r}=a,e=typeof l==="string"?l:typeof r==="string"&&r.length>0?r:`./${a.name}`;if(typeof o.path!=="string")kf(o,"path",e);if(c!==void 0)Object.defineProperty(o,"handle",{value:c,writable:!1,configurable:!1,enumerable:!0});return kf(o,"relativePath",e),o}function CO(a){let{name:l}=a;if(l&&l.lastIndexOf(".")!==-1&&!a.type){let o=l.split(".").pop().toLowerCase(),r=LO.get(o);if(r)Object.defineProperty(a,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return a}function kf(a,l,c){Object.defineProperty(a,l,{value:c,writable:!1,configurable:!1,enumerable:!0})}var RO=[".DS_Store","Thumbs.db"];function _n(a){return g3(this,void 0,void 0,function*(){if(Zh(a)&&wO(a.dataTransfer))return DO(a.dataTransfer,a.type);else if(SO(a))return GO(a);else if(Array.isArray(a)&&a.every((l)=>("getFile"in l)&&typeof l.getFile==="function"))return UO(a);return[]})}function wO(a){return Zh(a)}function SO(a){return Zh(a)&&Zh(a.target)}function Zh(a){return typeof a==="object"&&a!==null}function GO(a){return pn(a.target.files).map((l)=>k4(l))}function UO(a){return g3(this,void 0,void 0,function*(){return(yield Promise.all(a.map((c)=>c.getFile()))).map((c)=>k4(c))})}function DO(a,l){return g3(this,void 0,void 0,function*(){if(a.items){let c=pn(a.items).filter((r)=>r.kind==="file");if(l!=="drop")return c;let o=yield Promise.all(c.map(BO));return yf(Pf(o))}return yf(pn(a.files).map((c)=>k4(c)))})}function yf(a){return a.filter((l)=>RO.indexOf(l.name)===-1)}function pn(a){if(a===null)return[];let l=[];for(let c=0;c<a.length;c++){let o=a[c];l.push(o)}return l}function BO(a){if(typeof a.webkitGetAsEntry!=="function")return Of(a);let l=a.webkitGetAsEntry();if(l&&l.isDirectory)return Tf(l);return Of(a,l)}function Pf(a){return a.reduce((l,c)=>[...l,...Array.isArray(c)?Pf(c):[c]],[])}function Of(a,l){return g3(this,void 0,void 0,function*(){var c;if(globalThis.isSecureContext&&typeof a.getAsFileSystemHandle==="function"){let e=yield a.getAsFileSystemHandle();if(e===null)throw Error(`${a} is not a File`);if(e!==void 0){let h=yield e.getFile();return h.handle=e,k4(h)}}let o=a.getAsFile();if(!o)throw Error(`${a} is not a File`);return k4(o,(c=l===null||l===void 0?void 0:l.fullPath)!==null&&c!==void 0?c:void 0)})}function kO(a){return g3(this,void 0,void 0,function*(){return a.isDirectory?Tf(a):yO(a)})}function Tf(a){let l=a.createReader();return new Promise((c,o)=>{let r=[];function e(){l.readEntries((h)=>g3(this,void 0,void 0,function*(){if(!h.length)try{let Z=yield Promise.all(r);c(Z)}catch(Z){o(Z)}else{let Z=Promise.all(h.map(kO));r.push(Z),e()}}),(h)=>{o(h)})}e()})}function yO(a){return g3(this,void 0,void 0,function*(){return new Promise((l,c)=>{a.file((o)=>{let r=k4(o,a.fullPath);l(r)},(o)=>{c(o)})})})}var th=w8(Ef(),1);function qf(a){return WO(a)||qO(a)||If(a)||EO()}function EO(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
172
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
173
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
174
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
175
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ZF(a,l){if(!a)return;if(typeof a==="string")return Vn(a,l);var c=Object.prototype.toString.call(a).slice(8,-1);if(c==="Object"&&a.constructor)c=a.constructor.name;if(c==="Map"||c==="Set")return Array.from(a);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return Vn(a,l)}function Vn(a,l){if(l==null||l>a.length)l=a.length;for(var c=0,o=Array(l);c<l;c++)o[c]=a[c];return o}function iP(a,l){var c=a==null?null:typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(c==null)return;var o=[],r=!0,e=!1,h,Z;try{for(c=c.call(a);!(r=(h=c.next()).done);r=!0)if(o.push(h.value),l&&o.length===l)break}catch(t){e=!0,Z=t}finally{try{if(!r&&c.return!=null)c.return()}finally{if(e)throw Z}}return o}function vP(a){if(Array.isArray(a))return a}function eF(a,l){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);l&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(a,r).enumerable})),c.push.apply(c,o)}return c}function N1(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?eF(Object(c),!0).forEach(function(o){fn(a,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):eF(Object(c)).forEach(function(o){Object.defineProperty(a,o,Object.getOwnPropertyDescriptor(c,o))})}return a}function fn(a,l,c){if(l in a)Object.defineProperty(a,l,{value:c,enumerable:!0,configurable:!0,writable:!0});else a[l]=c;return a}function ih(a,l){if(a==null)return{};var c=nP(a,l),o,r;if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(a);for(r=0;r<e.length;r++){if(o=e[r],l.indexOf(o)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(a,o))continue;c[o]=a[o]}}return c}function nP(a,l){if(a==null)return{};var c={},o=Object.keys(a),r,e;for(e=0;e<o.length;e++){if(r=o[e],l.indexOf(r)>=0)continue;c[r]=a[r]}return c}var vh=/*@__PURE__*/z(function(a,l){var c=a.children,o=ih(a,lP),r=dP(o),e=r.open,h=ih(r,cP);return Y0(l,function(){return{open:e}},[e]),/*@__PURE__*/CZ.createElement(i1,null,c(N1(N1({},h),{},{open:e})))});vh.displayName="Dropzone";var tF={disabled:!1,getFilesFromEvent:_n,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};vh.defaultProps=tF;vh.propTypes={children:z1.default.func,accept:z1.default.objectOf(z1.default.arrayOf(z1.default.string)),multiple:z1.default.bool,preventDropOnDocument:z1.default.bool,noClick:z1.default.bool,noKeyboard:z1.default.bool,noDrag:z1.default.bool,noDragEventsBubbling:z1.default.bool,minSize:z1.default.number,maxSize:z1.default.number,maxFiles:z1.default.number,disabled:z1.default.bool,getFilesFromEvent:z1.default.func,onFileDialogCancel:z1.default.func,onFileDialogOpen:z1.default.func,useFsAccessApi:z1.default.bool,autoFocus:z1.default.bool,onDragEnter:z1.default.func,onDragLeave:z1.default.func,onDragOver:z1.default.func,onDrop:z1.default.func,onDropAccepted:z1.default.func,onDropRejected:z1.default.func,onError:z1.default.func,validator:z1.default.func};var iF=vh,Fn={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,isDragGlobal:!1,acceptedFiles:[],fileRejections:[]};function dP(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=N1(N1({},tF),a),c=l.accept,o=l.disabled,r=l.getFilesFromEvent,e=l.maxSize,h=l.minSize,Z=l.multiple,t=l.maxFiles,i=l.onDragEnter,n=l.onDragLeave,v=l.onDragOver,d=l.onDrop,M=l.onDropAccepted,_=l.onDropRejected,p=l.onFileDialogCancel,A=l.onFileDialogOpen,m=l.useFsAccessApi,u=l.autoFocus,V=l.preventDropOnDocument,s=l.noClick,F=l.noKeyboard,L=l.noDrag,C=l.noDragEventsBubbling,P=l.onError,W=l.validator,r1=v1(function(){return Nf(c)},[c]),t1=v1(function(){return jf(c)},[c]),N=v1(function(){return typeof A==="function"?A:hF},[A]),R=v1(function(){return typeof p==="function"?p:hF},[p]),w=y(null),x=y(null),B=a2(MP,Fn),k=sn(B,2),$=k[0],E=k[1],d1=$.isFocused,s1=$.isFileDialogActive,T=y(typeof window<"u"&&window.isSecureContext&&m&&Kf()),O=function(){if(!T.current&&s1)setTimeout(function(){if(x.current){var u1=x.current.files;if(!u1.length)E({type:"closeDialog"}),R()}},300)};X(function(){return window.addEventListener("focus",O,!1),function(){window.removeEventListener("focus",O,!1)}},[x,s1,R,T]);var F1=y([]),R1=y([]),r5=function(u1){if(w.current&&w.current.contains(u1.target))return;u1.preventDefault(),F1.current=[]};X(function(){if(V)document.addEventListener("dragover",un,!1),document.addEventListener("drop",r5,!1);return function(){if(V)document.removeEventListener("dragover",un),document.removeEventListener("drop",r5)}},[w,V]),X(function(){var a1=function(B2){if(R1.current=[].concat(rF(R1.current),[B2.target]),L8(B2))E({isDragGlobal:!0,type:"setDragGlobal"})},u1=function(B2){if(R1.current=R1.current.filter(function(p7){return p7!==B2.target&&p7!==null}),R1.current.length>0)return;E({isDragGlobal:!1,type:"setDragGlobal"})},l0=function(){R1.current=[],E({isDragGlobal:!1,type:"setDragGlobal"})},_0=function(){R1.current=[],E({isDragGlobal:!1,type:"setDragGlobal"})};return document.addEventListener("dragenter",a1,!1),document.addEventListener("dragleave",u1,!1),document.addEventListener("dragend",l0,!1),document.addEventListener("drop",_0,!1),function(){document.removeEventListener("dragenter",a1),document.removeEventListener("dragleave",u1),document.removeEventListener("dragend",l0),document.removeEventListener("drop",_0)}},[w]),X(function(){if(!o&&u&&w.current)w.current.focus();return function(){}},[w,u,o]);var g5=Q(function(a1){if(P)P(a1);else console.error(a1)},[P]),O3=Q(function(a1){if(a1.preventDefault(),a1.persist(),Wc(a1),F1.current=[].concat(rF(F1.current),[a1.target]),L8(a1))Promise.resolve(r(a1)).then(function(u1){if(Tc(a1)&&!C)return;var l0=u1.length,_0=l0>0&&Yf({files:u1,accept:r1,minSize:h,maxSize:e,multiple:Z,maxFiles:t,validator:W}),T0=l0>0&&!_0;if(E({isDragAccept:_0,isDragReject:T0,isDragActive:!0,type:"setDraggedFiles"}),i)i(a1)}).catch(function(u1){return g5(u1)})},[r,i,g5,C,r1,h,e,Z,t,W]),P3=Q(function(a1){a1.preventDefault(),a1.persist(),Wc(a1);var u1=L8(a1);if(u1&&a1.dataTransfer)try{a1.dataTransfer.dropEffect="copy"}catch(l0){}if(u1&&v)v(a1);return!1},[v,C]),P4=Q(function(a1){a1.preventDefault(),a1.persist(),Wc(a1);var u1=F1.current.filter(function(_0){return w.current&&w.current.contains(_0)}),l0=u1.indexOf(a1.target);if(l0!==-1)u1.splice(l0,1);if(F1.current=u1,u1.length>0)return;if(E({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),L8(a1)&&n)n(a1)},[w,n,C]),M7=Q(function(a1,u1){var l0=[],_0=[];if(a1.forEach(function(T0){var B2=mn(T0,r1),p7=sn(B2,2),uh=p7[0],sh=p7[1],Vh=Hn(T0,h,e),bc=sn(Vh,2),fh=bc[0],Fh=bc[1],xh=W?W(T0):null;if(uh&&fh&&!xh)l0.push(T0);else{var gh=[sh,Fh];if(xh)gh=gh.concat(xh);_0.push({file:T0,errors:gh.filter(function(JF){return JF})})}}),!Z&&l0.length>1||Z&&t>=1&&l0.length>t)l0.forEach(function(T0){_0.push({file:T0,errors:[$f]})}),l0.splice(0);if(E({acceptedFiles:l0,fileRejections:_0,type:"setFiles"}),d)d(l0,_0,u1);if(_0.length>0&&_)_(_0,u1);if(l0.length>0&&M)M(l0,u1)},[E,Z,r1,h,e,t,d,M,_,W]),n1=Q(function(a1){if(a1.preventDefault(),a1.persist(),Wc(a1),F1.current=[],L8(a1))Promise.resolve(r(a1)).then(function(u1){if(Tc(a1)&&!C)return;M7(u1,a1)}).catch(function(u1){return g5(u1)});E({type:"reset"})},[r,M7,g5,C]),L5=Q(function(){if(T.current){E({type:"openDialog"}),N();var a1={multiple:Z,types:t1};window.showOpenFilePicker(a1).then(function(u1){return r(u1)}).then(function(u1){M7(u1,null),E({type:"closeDialog"})}).catch(function(u1){if(aF(u1))R(u1),E({type:"closeDialog"});else if(lF(u1))if(T.current=!1,x.current)x.current.value=null,x.current.click();else g5(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."));else g5(u1)});return}if(x.current)E({type:"openDialog"}),N(),x.current.value=null,x.current.click()},[E,N,R,m,M7,g5,t1,Z]),T3=Q(function(a1){if(!w.current||!w.current.isEqualNode(a1.target))return;if(a1.key===" "||a1.key==="Enter"||a1.keyCode===32||a1.keyCode===13)a1.preventDefault(),L5()},[w,L5]),R8=Q(function(){E({type:"focus"})},[]),Gn=Q(function(){E({type:"blur"})},[]),Un=Q(function(){if(s)return;if(Xf())setTimeout(L5,0);else L5()},[s,L5]),T4=function(u1){return o?null:u1},Hh=function(u1){return F?null:T4(u1)},qc=function(u1){return L?null:T4(u1)},Wc=function(u1){if(C)u1.stopPropagation()},bF=v1(function(){return function(){var a1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u1=a1.refKey,l0=u1===void 0?"ref":u1,_0=a1.role,T0=a1.onKeyDown,B2=a1.onFocus,p7=a1.onBlur,uh=a1.onClick,sh=a1.onDragEnter,Vh=a1.onDragOver,bc=a1.onDragLeave,fh=a1.onDrop,Fh=ih(a1,oP);return N1(N1(fn({onKeyDown:Hh(U2(T0,T3)),onFocus:Hh(U2(B2,R8)),onBlur:Hh(U2(p7,Gn)),onClick:T4(U2(uh,Un)),onDragEnter:qc(U2(sh,O3)),onDragOver:qc(U2(Vh,P3)),onDragLeave:qc(U2(bc,P4)),onDrop:qc(U2(fh,n1)),role:typeof _0==="string"&&_0!==""?_0:"presentation"},l0,w),!o&&!F?{tabIndex:0}:{}),Fh)}},[w,T3,R8,Gn,Un,O3,P3,P4,n1,F,L,o]),zF=Q(function(a1){a1.stopPropagation()},[]),QF=v1(function(){return function(){var a1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u1=a1.refKey,l0=u1===void 0?"ref":u1,_0=a1.onChange,T0=a1.onClick,B2=ih(a1,rP),p7=fn({accept:r1,multiple:Z,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:T4(U2(_0,n1)),onClick:T4(U2(T0,zF)),tabIndex:-1},l0,x);return N1(N1({},p7),B2)}},[x,c,Z,n1,o]);return N1(N1({},$),{},{isFocused:d1&&!o,getRootProps:bF,getInputProps:QF,rootRef:w,inputRef:x,open:T4(L5)})}function MP(a,l){switch(l.type){case"focus":return N1(N1({},a),{},{isFocused:!0});case"blur":return N1(N1({},a),{},{isFocused:!1});case"openDialog":return N1(N1({},Fn),{},{isFileDialogActive:!0});case"closeDialog":return N1(N1({},a),{},{isFileDialogActive:!1});case"setDraggedFiles":return N1(N1({},a),{},{isDragActive:l.isDragActive,isDragAccept:l.isDragAccept,isDragReject:l.isDragReject});case"setFiles":return N1(N1({},a),{},{acceptedFiles:l.acceptedFiles,fileRejections:l.fileRejections,isDragReject:!1});case"setDragGlobal":return N1(N1({},a),{},{isDragGlobal:l.isDragGlobal});case"reset":return N1({},Fn);default:return a}}function hF(){}async function vF(a){let l={data:[],warnings:[],error:"",isError:!1},c=a.find((h)=>h.path.toLowerCase().endsWith(k0)),o=-1,r="/";if(!c)l.warnings.push("No manifest.txt file found."),l.isError=!1;else o=c.path.lastIndexOf("/"),r=c.path.substring(0,o+1);for(let h of a){if(h.size===0)continue;let Z=await h.arrayBuffer(),t=new Uint8Array(Z),i=h.path,n=h.path.lastIndexOf("/"),v=n>-1?h.path.substring(0,n+1):"",d="/";if(v){let M=v.split("/").filter((p)=>p.length>0),_=r.split("/").filter((p)=>p.length>0);M.forEach((p)=>{if(_.includes(p))d+=`${p}/`})}i=i.replace(d,"").replace(/^\./,""),l.data.push({fileName:i,content:t})}let e=[];if(r!=="/"){if(e=a.filter((h)=>!h.path.startsWith(r)),e.length>0)l.warnings.push("Some files are outside of manifest.txt directory."),l.warnings.push(...e.map((h)=>`File: ${h.relativePath}`))}return l}async function*nF(a,l,c){await p8(a,l);let o=Z7(a),r={data:[],error:"",isError:!1,warnings:[]},e=[];for(let h of c){let Z=h.fileName.lastIndexOf("/"),t=Z>-1,i=t?h.fileName.substring(Z+1):h.fileName,n=h.fileName.substring(0,Z),v=`${w1}/${l}${n?`/${n}`:""}`,d=a.web.getFolderByServerRelativePath(v);if(t){if(!e.includes(n))try{await _V(a,l,n.split("/")),e.push(n)}catch(M){return r.error=`Error while creating ${n} in ${v} folder in ${o}. ${M}`,r.isError=!0,r}}try{await d.files.addUsingPath(i,new Blob([h.content]),{Overwrite:!0});let M=`${i} uploaded successfully`;r.data.push(M),yield{data:M,success:!0,fileName:h.fileName}}catch(M){let _=`Error while uploading ${i} in ${v} folder in ${o}`;m1(_,M),r.warnings.push(_),yield{data:_,success:!1,fileName:h.fileName}}}if(r.data.length===0&&r.warnings.length>0)r.error="All files failed to upload.",r.isError=!0;return r}async function pP(a,l){let c=await a.web.using(Bs())(),o=a.web.lists.getByTitle(w1).items.select("FileLeafRef","FileDirRef").filter(`FSObjType eq 0 and substringof('${w1}/${l}',FileDirRef)`).top(100),r=[],e=c.ServerRelativeUrl.replace(/\/$/,"");for await(let h of o)h.forEach((t)=>{let i=t.FileDirRef.replace(`${e}/${w1}/${l}`,"."),n=t.FileLeafRef;r.push(`${i}/${n}`)});return r}async function _P(a,l){return(await pP(a,l)).filter((o)=>/\.js$/.test(o))}o7(()=>{if(C1.value?.name)_P(j1,C1.value.name).then((a)=>{B4.value=a})});var dF={},AP=function(a,l,c,o,r){var e=new Worker(dF[l]||(dF[l]=URL.createObjectURL(new Blob([a+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return e.onmessage=function(h){var Z=h.data,t=Z.$e$;if(t){var i=Error(t[0]);i.code=t[1],i.stack=t[2],r(i,null)}else r(null,Z)},e.postMessage(c,o),e},d5=Uint8Array,O4=Uint16Array,_F=Int32Array,Ln=new d5([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Cn=new d5([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),AF=new d5([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),mF=function(a,l){var c=new O4(31);for(var o=0;o<31;++o)c[o]=l+=1<<a[o-1];var r=new _F(c[30]);for(var o=1;o<30;++o)for(var e=c[o];e<c[o+1];++e)r[e]=e-c[o]<<5|o;return{b:c,r}},HF=mF(Ln,2),Rn=HF.b,mP=HF.r;Rn[28]=258,mP[258]=28;var uF=mF(Cn,0),sF=uF.b,wj1=uF.r,ph=new O4(32768);for(S1=0;S1<32768;++S1)n7=(S1&43690)>>1|(S1&21845)<<1,n7=(n7&52428)>>2|(n7&13107)<<2,n7=(n7&61680)>>4|(n7&3855)<<4,ph[S1]=((n7&65280)>>8|(n7&255)<<8)>>1;var n7,S1,C8=function(a,l,c){var o=a.length,r=0,e=new O4(l);for(;r<o;++r)if(a[r])++e[a[r]-1];var h=new O4(l);for(r=1;r<l;++r)h[r]=h[r-1]+e[r-1]<<1;var Z;if(c){Z=new O4(1<<l);var t=15-l;for(r=0;r<o;++r)if(a[r]){var i=r<<4|a[r],n=l-a[r],v=h[a[r]-1]++<<n;for(var d=v|(1<<n)-1;v<=d;++v)Z[ph[v]>>t]=i}}else{Z=new O4(o);for(r=0;r<o;++r)if(a[r])Z[r]=ph[h[a[r]-1]++]>>15-a[r]}return Z},Ec=new d5(288);for(S1=0;S1<144;++S1)Ec[S1]=8;var S1;for(S1=144;S1<256;++S1)Ec[S1]=9;var S1;for(S1=256;S1<280;++S1)Ec[S1]=7;var S1;for(S1=280;S1<288;++S1)Ec[S1]=8;var S1,VF=new d5(32);for(S1=0;S1<32;++S1)VF[S1]=5;var S1;var fF=/*@__PURE__*/C8(Ec,9,1);var FF=/*@__PURE__*/C8(VF,5,1),dh=function(a){var l=a[0];for(var c=1;c<a.length;++c)if(a[c]>l)l=a[c];return l},N5=function(a,l,c){var o=l/8|0;return(a[o]|a[o+1]<<8)>>(l&7)&c},Mh=function(a,l){var c=l/8|0;return(a[c]|a[c+1]<<8|a[c+2]<<16)>>(l&7)},xF=function(a){return(a+7)/8|0},_h=function(a,l,c){if(l==null||l<0)l=0;if(c==null||c>a.length)c=a.length;return new d5(a.subarray(l,c))};var gF=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],n5=function(a,l,c){var o=Error(l||gF[a]);if(o.code=a,Error.captureStackTrace)Error.captureStackTrace(o,n5);if(!c)throw o;return o},LF=function(a,l,c,o){var r=a.length,e=o?o.length:0;if(!r||l.f&&!l.l)return c||new d5(0);var h=!c,Z=h||l.i!=2,t=l.i;if(h)c=new d5(r*3);var i=function(M7){var n1=c.length;if(M7>n1){var L5=new d5(Math.max(n1*2,M7));L5.set(c),c=L5}},n=l.f||0,v=l.p||0,d=l.b||0,M=l.l,_=l.d,p=l.m,A=l.n,m=r*8;do{if(!M){n=N5(a,v,1);var u=N5(a,v+1,3);if(v+=3,!u){var V=xF(v)+4,s=a[V-4]|a[V-3]<<8,F=V+s;if(F>r){if(t)n5(0);break}if(Z)i(d+s);c.set(a.subarray(V,F),d),l.b=d+=s,l.p=v=F*8,l.f=n;continue}else if(u==1)M=fF,_=FF,p=9,A=5;else if(u==2){var L=N5(a,v,31)+257,C=N5(a,v+10,15)+4,P=L+N5(a,v+5,31)+1;v+=14;var W=new d5(P),r1=new d5(19);for(var t1=0;t1<C;++t1)r1[AF[t1]]=N5(a,v+t1*3,7);v+=C*3;var N=dh(r1),R=(1<<N)-1,w=C8(r1,N,1);for(var t1=0;t1<P;){var x=w[N5(a,v,R)];v+=x&15;var V=x>>4;if(V<16)W[t1++]=V;else{var B=0,k=0;if(V==16)k=3+N5(a,v,3),v+=2,B=W[t1-1];else if(V==17)k=3+N5(a,v,7),v+=3;else if(V==18)k=11+N5(a,v,127),v+=7;while(k--)W[t1++]=B}}var $=W.subarray(0,L),E=W.subarray(L);p=dh($),A=dh(E),M=C8($,p,1),_=C8(E,A,1)}else n5(1);if(v>m){if(t)n5(0);break}}if(Z)i(d+131072);var d1=(1<<p)-1,s1=(1<<A)-1,T=v;for(;;T=v){var B=M[Mh(a,v)&d1],O=B>>4;if(v+=B&15,v>m){if(t)n5(0);break}if(!B)n5(2);if(O<256)c[d++]=O;else if(O==256){T=v,M=null;break}else{var F1=O-254;if(O>264){var t1=O-257,R1=Ln[t1];F1=N5(a,v,(1<<R1)-1)+Rn[t1],v+=R1}var r5=_[Mh(a,v)&s1],g5=r5>>4;if(!r5)n5(3);v+=r5&15;var E=sF[g5];if(g5>3){var R1=Cn[g5];E+=Mh(a,v)&(1<<R1)-1,v+=R1}if(v>m){if(t)n5(0);break}if(Z)i(d+131072);var O3=d+F1;if(d<E){var P3=e-E,P4=Math.min(E,O3);if(P3+d<0)n5(3);for(;d<P4;++d)c[d]=o[P3+d]}for(;d<O3;++d)c[d]=c[d-E]}}if(l.l=M,l.p=T,l.b=d,l.f=n,M)n=1,l.m=p,l.d=_,l.n=A}while(!n);return d!=c.length&&h?_h(c,0,d):c.subarray(0,d)};var HP=/*@__PURE__*/new d5(0);var uP=function(a,l){var c={};for(var o in a)c[o]=a[o];for(var o in l)c[o]=l[o];return c},MF=function(a,l,c){var o=a(),r=a.toString(),e=r.slice(r.indexOf("[")+1,r.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(var h=0;h<o.length;++h){var Z=o[h],t=e[h];if(typeof Z=="function"){l+=";"+t+"=";var i=Z.toString();if(Z.prototype)if(i.indexOf("[native code]")!=-1){var n=i.indexOf(" ",8)+1;l+=i.slice(n,i.indexOf("(",n))}else{l+=i;for(var v in Z.prototype)l+=";"+t+".prototype."+v+"="+Z.prototype[v].toString()}else l+=i}else c[t]=Z}return l},nh=[],sP=function(a){var l=[];for(var c in a)if(a[c].buffer)l.push((a[c]=new a[c].constructor(a[c])).buffer);return l},VP=function(a,l,c,o){if(!nh[c]){var r="",e={},h=a.length-1;for(var Z=0;Z<h;++Z)r=MF(a[Z],r,e);nh[c]={c:MF(a[h],r,e),e}}var t=uP({},nh[c].e);return AP(nh[c].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+l.toString()+"}",c,t,sP(t),o)},fP=function(){return[d5,O4,_F,Ln,Cn,AF,Rn,sF,fF,FF,ph,gF,C8,dh,N5,Mh,xF,_h,n5,LF,wn,CF,RF]};var CF=function(a){return postMessage(a,[a.buffer])},RF=function(a){return a&&{out:a.size&&new d5(a.size),dictionary:a.dictionary}},FP=function(a,l,c,o,r,e){var h=VP(c,o,r,function(Z,t){h.terminate(),e(Z,t)});return h.postMessage([a,l],l.consume?[a.buffer]:[]),function(){h.terminate()}};var d7=function(a,l){return a[l]|a[l+1]<<8},D2=function(a,l){return(a[l]|a[l+1]<<8|a[l+2]<<16|a[l+3]<<24)>>>0},xn=function(a,l){return D2(a,l)+D2(a,l+4)*4294967296};function xP(a,l,c){if(!c)c=l,l={};if(typeof c!="function")n5(7);return FP(a,l,[fP],function(o){return CF(wn(o.data[0],RF(o.data[1])))},1,c)}function wn(a,l){return LF(a,{i:2},l&&l.out,l&&l.dictionary)}var gn=typeof TextDecoder<"u"&&/*@__PURE__*/new TextDecoder,gP=0;try{gn.decode(HP,{stream:!0}),gP=1}catch(a){}var LP=function(a){for(var l="",c=0;;){var o=a[c++],r=(o>127)+(o>223)+(o>239);if(c+r>a.length)return{s:l,r:_h(a,c-1)};if(!r)l+=String.fromCharCode(o);else if(r==3)o=((o&15)<<18|(a[c++]&63)<<12|(a[c++]&63)<<6|a[c++]&63)-65536,l+=String.fromCharCode(55296|o>>10,56320|o&1023);else if(r&1)l+=String.fromCharCode((o&31)<<6|a[c++]&63);else l+=String.fromCharCode((o&15)<<12|(a[c++]&63)<<6|a[c++]&63)}};function CP(a,l){if(l){var c="";for(var o=0;o<a.length;o+=16384)c+=String.fromCharCode.apply(null,a.subarray(o,o+16384));return c}else if(gn)return gn.decode(a);else{var r=LP(a),e=r.s,c=r.r;if(c.length)n5(8);return e}}var RP=function(a,l){return l+30+d7(a,l+26)+d7(a,l+28)},wP=function(a,l,c){var o=d7(a,l+28),r=CP(a.subarray(l+46,l+46+o),!(d7(a,l+8)&2048)),e=l+46+o,h=D2(a,l+20),Z=c&&h==4294967295?SP(a,e):[h,D2(a,l+24),D2(a,l+42)],t=Z[0],i=Z[1],n=Z[2];return[d7(a,l+10),t,i,r,e+d7(a,l+30)+d7(a,l+32),n]},SP=function(a,l){for(;d7(a,l)!=1;l+=4+d7(a,l+2));return[xn(a,l+12),xn(a,l+4),xn(a,l+20)]};var pF=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(a){a()};function wF(a,l,c){if(!c)c=l,l={};if(typeof c!="function")n5(7);var o=[],r=function(){for(var A=0;A<o.length;++A)o[A]()},e={},h=function(A,m){pF(function(){c(A,m)})};pF(function(){h=c});var Z=a.length-22;for(;D2(a,Z)!=101010256;--Z)if(!Z||a.length-Z>65558)return h(n5(13,0,1),null),r;var t=d7(a,Z+8);if(t){var i=t,n=D2(a,Z+16),v=n==4294967295||i==65535;if(v){var d=D2(a,Z-12);if(v=D2(a,d)==101075792,v)i=t=D2(a,d+32),n=D2(a,d+48)}var M=l&&l.filter,_=function(A){var m=wP(a,n,v),u=m[0],V=m[1],s=m[2],F=m[3],L=m[4],C=m[5],P=RP(a,C);n=L;var W=function(t1,N){if(t1)r(),h(t1,null);else{if(N)e[F]=N;if(!--t)h(null,e)}};if(!M||M({name:F,size:V,originalSize:s,compression:u}))if(!u)W(null,_h(a,P,P+V));else if(u==8){var r1=a.subarray(P,P+V);if(s<524288||V>0.8*s)try{W(null,wn(r1,{out:new d5(s)}))}catch(t1){W(t1,null)}else o.push(xP(r1,{size:s},W))}else W(n5(14,"unknown compression type "+u,1),null);else W(null,null)};for(var p=0;p<i;++p)_(p)}else h(null,{});return r}async function SF(a){let l=await a.arrayBuffer(),c={data:[],warnings:[],error:"",isError:!1},o=new Promise((v,d)=>{wF(new Uint8Array(l),(M,_)=>{if(M)d(M);v(_)})}),r=void 0;try{r=await o}catch(v){return c.error=`${v}`,c.isError=!0,c}let e=[];Object.keys(r).forEach((v)=>{e.push(v)});let h=e.find((v)=>v.toLowerCase().endsWith(k0));if(!h)c.warnings.push("No manifest file found in the zip."),h="";let Z=h.lastIndexOf("/"),t="";if(Z>-1)t=h.substring(0,Z+1);let i=e.filter((v)=>!v.startsWith(t)),n=e.filter((v)=>v.startsWith(t));if(i.length>0)c.warnings.push("Some files are not in the root directory and wont be included."),c.warnings.push(...i.map((v)=>`File: ${v}`));return n.forEach((v)=>{let d=r[v],M=v.substring(t.length);if(d.length>0)c.data.push({fileName:M,content:d})}),c}var GF={display:"flex",flexDirection:"column",alignItems:"center",padding:"20px",borderWidth:2,borderRadius:4,borderColor:"#eeeeee",borderStyle:"dashed",outline:"none",transition:"border .24s ease-in-out",gap:12,minHeight:"68px",justifyContent:"center"},UF={borderColor:e2.colorCompoundBrandForeground1},DF={borderColor:e2.colorPaletteGreenForeground1},BF={borderColor:e2.colorPaletteRedForeground1};var y3=R0([]),GP=R0(!1);function kF(){let[a,l]=h1(0);async function c(o){y3.value=[...o];let r=nF(j1,C1.value.name,o),e=await r.next(),h=1;while(!e.done){l(h++);let Z=e.value,t=o.find((n)=>n.fileName===Z.fileName),i=Z.fileName.toLowerCase().endsWith(k0);if(t)t.status=Z.success?"uploaded":"error";if(i&&Z.success&&t){let n=U1(C1.value),v=(/*@__PURE__*/new TextDecoder()).decode(t.content),d=JSON.parse(v);n.manifest=d,v7(n,!0)}y3.value=[...o],e=await r.next()}setTimeout(()=>{GP.value=!0,y3.value=[],l(0)},3000)}return/*@__PURE__*/H(Z1,{gap:16,children:/*@__PURE__*/H(Z1,{children:/*@__PURE__*/H(iF,{useFsAccessApi:!1,onDropAccepted:(o,r)=>{if(o.length===1&&o[0].name.endsWith(".zip")){SF(o[0]).then((e)=>{let h=e.data.map((Z)=>{return{status:"uploading",...Z}});c(h)});return}vF(o).then((e)=>{let h=e.data.map((Z)=>{return{status:"uploading",...Z}});c(h)})},multiple:!0,noClick:!0,noKeyboard:!0,children:({getRootProps:o,getInputProps:r,isFocused:e,isDragAccept:h,isDragReject:Z,open:t})=>/*@__PURE__*/H("div",{...o({style:{...GF,...e?UF:{},...h?DF:{},...Z?BF:{}}}),children:y3.value.some((i)=>i.status==="uploading")?/*@__PURE__*/H(a4,{validationMessage:`Uploaded ${a} of ${y3.value.length} files `,validationState:"none",validation:!0,style:{width:"100%"},children:/*@__PURE__*/H(P7,{max:y3.value.length-1,value:a,thickness:"large"},void 0,!1,void 0,this)},void 0,!1,void 0,this):/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H("input",{...r()},void 0,!1,void 0,this),/*@__PURE__*/H(Q5,{children:[/*@__PURE__*/H(P6,{children:"Choose a file(s) "},void 0,!1,void 0,this),"or drag it here"]},void 0,!0,void 0,this),/*@__PURE__*/H(f1,{appearance:"primary",onClick:t,children:"Browse"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function yF({jsFiles:a}){let l=C1.value,c=S7();async function o(r,e){if(!l)return;if(r)l.manifest.appRelativeEntryPointUrls.push(e);if(!r)l.manifest.appRelativeEntryPointUrls=l.manifest.appRelativeEntryPointUrls.filter((h)=>h!==e);v7(l,!0)}if(!l)return null;return/*@__PURE__*/H(V2,{...c,separator:!0,open:H8.value,onOpenChange:(r,{open:e})=>{H8.value=e},style:{width:"440px"},children:[/*@__PURE__*/H(F2,{children:/*@__PURE__*/H(x2,{action:/*@__PURE__*/H(f1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/H($2,{},void 0,!1,void 0,this),onClick:()=>H8.value=!1},void 0,!1,void 0,this),children:"Manage Entry Points"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(f2,{children:/*@__PURE__*/H(Z1,{gap:16,style:{padding:"12px 0px"},children:[/*@__PURE__*/H(kF,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{gap:4,children:[a.map((r)=>/*@__PURE__*/H(f0,{label:r,labelPosition:"before",defaultChecked:l.manifest.appRelativeEntryPointUrls.some((e)=>e===r),onChange:(e,h)=>{o(h.checked,r)},root:{style:{justifyContent:"space-between"}}},void 0,!1,void 0,this)),/*@__PURE__*/H(Z1,{gap:20,style:{marginTop:"10px",padding:"0px 10px 0 8px"},children:y3.value.map((r)=>/*@__PURE__*/H(Z1,{horizontalAlign:"space-between",horizontal:!0,children:[/*@__PURE__*/H(Z1,{children:r.fileName},void 0,!1,void 0,this),r.status==="uploaded"&&/*@__PURE__*/H(b0,{size:"medium",appearance:"ghost",color:"success",icon:/*@__PURE__*/H(om,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),r.status==="error"&&/*@__PURE__*/H(b0,{size:"medium",appearance:"ghost",color:"danger",icon:/*@__PURE__*/H(vm,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),r.status==="uploading"&&/*@__PURE__*/H(D5,{size:"tiny"},void 0,!1,void 0,this)]},r.fileName,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function OF(){let a=C1.value,l=y(null),c=Q((o)=>{l.current?.setTarget(o)},[l]);if(!a)return null;return/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{borderBottom:"1px solid #eaeaea",paddingBottom:"10px"},children:[/*@__PURE__*/H(a5,{children:"Entry points"},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{horizontal:!0,verticalAlign:"center",children:/*@__PURE__*/H(d2,{positioning:{positioningRef:l},withArrow:!0,children:[/*@__PURE__*/H(z5,{disableButtonEnhancement:!0,children:/*@__PURE__*/H(D0,{children:/*@__PURE__*/H(lr,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(n2,{tabIndex:-1,children:/*@__PURE__*/H(J5,{children:/*@__PURE__*/H(Q5,{children:["Select files that export an array of ",/*@__PURE__*/H("i",{children:"SPFxExtensionAppRegistration"},void 0,!1,void 0,this)," as default export."]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B4.value.filter((o)=>a.manifest.appRelativeEntryPointUrls.some((r)=>o===r)).map((o)=>/*@__PURE__*/H(Z1,{horizontal:!0,gap:4,verticalAlign:"center",children:[/*@__PURE__*/H(rm,{},void 0,!1,void 0,this)," ",o]},void 0,!0,void 0,this)),/*@__PURE__*/H(f1,{onClick:()=>{H8.value=!0},children:"Upload / Edit"},void 0,!1,void 0,this),/*@__PURE__*/H(yF,{jsFiles:B4.value},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function PF(){let a=C1.value;if(!a)return null;return/*@__PURE__*/H(Z1,{horizontal:!0,gap:20,children:[/*@__PURE__*/H(Z1,{gap:16,style:{paddingBottom:"20px",flexBasis:"300px",flexShrink:0,paddingRight:"20px",borderRight:"1px solid #eaeaea"},children:/*@__PURE__*/H(OF,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{style:{flexGrow:1},children:[/*@__PURE__*/H(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"32px"},children:[/*@__PURE__*/H(Z1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/H(a5,{children:"App/Entry Point Configuration"},void 0,!1,void 0,this),/*@__PURE__*/H(pf,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/H(f0,{checked:a.manifest.enableCaching,label:"Enable caching",onChange:(l,c)=>{a.manifest.enableCaching=c.checked,v7(a)}},void 0,!1,void 0,this),/*@__PURE__*/H(N0,{placeholder:"Cache string",disabled:!a.manifest.enableCaching,type:"text",value:a.manifest.cacheString??"",onChange:(l,c)=>{a.manifest.cacheString=c.value,v7(a)}},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{size:"medium",disabled:!a.manifest.enableCaching,onClick:async()=>{a.manifest.cacheString=await df(),v7(a)},children:"Generate"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(sf,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function TF(){let[a,l]=h1(""),[c,o]=h1(!1);Y5(()=>{if(!C1.value)return;let e=JSON.stringify(C1.value);if(!a){l(e);return}l(e),o(a!==e)});async function r(){let e=C1.value;await kV(j1,e.name,e.manifest),v7(e,!0),C1.value=void 0}if(!C1.value)return null;return/*@__PURE__*/H(Z1,{gap:20,style:{height:"100%"},children:[/*@__PURE__*/H(Z1,{horizontalAlign:"space-between",horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/H(Z1,{gap:10,horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/H(f1,{appearance:"secondary",icon:/*@__PURE__*/H(am,{},void 0,!1,void 0,this),onClick:()=>{C1.value=void 0}},void 0,!1,void 0,this),/*@__PURE__*/H(T6,{children:["Configuration of ",C1.value.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(Z1,{horizontal:!0,gap:15,children:/*@__PURE__*/H(yV,{children:/*@__PURE__*/H(f1,{appearance:"primary",disabled:!c,onClick:r,children:"Save"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(PF,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var Sn=M8(),Ah=Sn??C4(),mh=Xe();function UP(){let a=[];if(S2)return a.push(/*@__PURE__*/H(b0,{size:"extra-large",shape:"rounded",color:"danger",children:"Global"},"global",!1,void 0,this)),a;if(mh==="hubRoot")a.push(/*@__PURE__*/H(b0,{size:"extra-large",shape:"rounded",color:"success",children:"Hub root site"},"hubRoot",!1,void 0,this));if(mh==="hubChild")a.push(/*@__PURE__*/H(b0,{size:"extra-large",shape:"rounded",color:"warning",children:"Hub child site"},"child",!1,void 0,this));if(mh==="nonHub")a.push(/*@__PURE__*/H(b0,{size:"extra-large",shape:"rounded",color:"brand",children:"Non hub site"},"nonhub",!1,void 0,this));if(mh==="subsite")a.push(/*@__PURE__*/H(b0,{size:"extra-large",shape:"rounded",color:"informative",children:"Sub site"},"subsite",!1,void 0,this));else a.push(/*@__PURE__*/H(b0,{size:"extra-large",shape:"rounded",color:"informative",children:"Site collection"},"siteCollectionRoot",!1,void 0,this));return a}function EF(){let[a]=AZ(),{dispatchToast:l}=x4(U3);if(a)return m1("Error in App component:",a),/*@__PURE__*/H("div",{children:["Error: ",a.message]},void 0,!0,void 0,this);let c=()=>l(/*@__PURE__*/H(u2,{children:/*@__PURE__*/H(s2,{children:"Link copied to clipboard."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{position:"top",intent:"info",timeout:1000,toastId:Ah});return/*@__PURE__*/H(Z1,{style:{padding:"30px"},gap:20,children:[/*@__PURE__*/H(Z1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/H(E6,{children:[Sn?"Web":"Global"," application list"]},void 0,!0,void 0,this),...UP()]},void 0,!0,void 0,this),Sn&&/*@__PURE__*/H(Z1,{horizontal:!0,gap:8,verticalAlign:"center",children:[/*@__PURE__*/H(D0,{target:"_blank",href:Ah,children:Ah},void 0,!1,void 0,this),/*@__PURE__*/H(XA,{onClick:()=>{navigator.clipboard.writeText(Ah),c()}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(BV,{},void 0,!1,void 0,this),/*@__PURE__*/H(TF,{},void 0,!1,void 0,this),/*@__PURE__*/H(DV,{},void 0,!1,void 0,this),/*@__PURE__*/H(xV,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var qF=ne(window.__globalSettings__.customizations.settings.theme.palette),DP=window.__globalSettings__.customizations.settings.theme.isInverted?s6(qF):h3(qF);document.querySelector("#spCommandBar button[name='Edit']")?.setAttribute("style","display:none;");function WF(a){return/*@__PURE__*/H(K3,{theme:DP,style:{height:"100%"},children:/*@__PURE__*/H(EF,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)}async function c10(a){if(a.domElement)A7(WF({instance:a}),a.domElement);return()=>{if(a.domElement)A7(null,a.domElement)}}export{c10 as launch};
|
|
170
|
+
`);let A=await K(e,{body:_.join(""),headers:{"Content-Type":`multipart/mixed; boundary=batch_${h}`}});if(A.length!==M.length)throw Error("Could not properly parse responses to match requests in batch.");for(let m=0;m<A.length;m++)M[m][3](A[m])}await Promise.all(o).then(()=>{return})}]}function S3(){return(a)=>{return a.on.pre.prepend(async function(l,c,o){return c.headers={...c.headers,"X-PnP-BatchNever":"1"},[l,c,o]}),a}}function jk(a){let l=[],c="--batchresponse_",o=new RegExp("^HTTP/[0-9.]+ +([0-9]+) +(.*)","i"),r=a.split(`
|
|
171
|
+
`),e="batch",h,Z,t={},i=[];for(let n=0;n<r.length;++n){let v=r[n];switch(e){case"batch":if(v.substring(0,16)==="--batchresponse_")e="batchHeaders";else if(v.trim()!=="")throw Error(`Invalid response, line ${n}`);break;case"batchHeaders":if(v.trim()==="")e="status";break;case"status":{let d=o.exec(v);if(d.length!==3)throw Error(`Invalid status, line ${n}`);h=parseInt(d[1],10),Z=d[2],e="statusHeaders";break}case"statusHeaders":if(v.trim()==="")e="body";else{let d=v.split(":");if((d===null||d===void 0?void 0:d.length)===2)t[d[0].trim()]=d[1].trim()}break;case"body":i.length=0;while(v.substring(0,16)!=="--batchresponse_")i.push(v),v=r[++n];n--,l.push(new Response(h===204?null:i.join(""),{status:h,statusText:Z,headers:t})),e="batch",t={};break}}if(e!=="status")throw Error("Unexpected end of input");return l}function js(a){let l=/*@__PURE__*/new Date;return!H0(a)||l>a.expiration?null:a}var Ns=/*@__PURE__*/new Map;function Be(a){return(l)=>{return l.on.pre(async function(c,o,r){return this.on.auth(async(e,h)=>{if(/get/i.test(h.method)||h.headers&&(b1(h.headers,"X-RequestDigest")||b1(h.headers,"Authorization")||b1(h.headers,"X-PnPjs-NoDigest")))return[e,h];let Z=e.toString(),t=r0(Z),i=js(Ns.get(t));if(!H0(i)&&f5(a))i=js(a(Z,h));if(!H0(i))i=await K(G0([this,O1(t,"_api/contextinfo")]).using(Le(),S3()),{headers:{Accept:"application/json","X-PnPjs-NoDigest":"1"}}).then((n)=>({expiration:R3(/*@__PURE__*/new Date,"second",n.FormDigestTimeoutSeconds),value:n.FormDigestValue}));if(H0(i))h.headers={"X-RequestDigest":i.value,...h.headers},Ns.set(t,i);return[e,h]}),[c,o,r]}),l}}function ke(a){if((a===null||a===void 0?void 0:a.baseUrl)&&!w0(a.baseUrl))throw Error("SPBrowser props.baseUrl must be absolute when supplied.");return(l)=>{if(l.using(De(),Ue(),Ce(),ge(),Be()),w0(a===null||a===void 0?void 0:a.baseUrl))l.on.pre.prepend(async(c,o,r)=>{if(!w0(c))c=O1(a.baseUrl,c);return[c,o,r]});return l}}class pv extends Error{constructor(a){super(`SPFx Context supplied to ${a} Behavior is null or undefined.`)}static check(a,l){if(typeof l>"u"||l===null)throw new pv(a)}}function aV(a){return pv.check("SPFx",a),(l)=>{return l.using(De(),Ue(),Ce(),ge(),Be((c)=>{var o,r,e;if(new RegExp(`^${O1(a.pageContext.web.absoluteUrl,"/_api")}`,"i").test(c)&&((r=(o=a===null||a===void 0?void 0:a.pageContext)===null||o===void 0?void 0:o.legacyPageContext)===null||r===void 0?void 0:r.formDigestValue)){let Z=new Date(a.pageContext.legacyPageContext.formDigestValue.split(",")[1]);return{value:a.pageContext.legacyPageContext.formDigestValue,expiration:R3(Z,"second",((e=a.pageContext.legacyPageContext)===null||e===void 0?void 0:e.formDigestTimeoutSeconds)-15||1585)}}})),l.on.pre.prepend(async(c,o,r)=>{if(!w0(c))c=O1(a.pageContext.web.absoluteUrl,c);return[c,o,r]}),l}}var _v=class extends c5{getById(l){return p0(this).concat(`('${l}')`)}getByTitle(l){return p0(this,`getByTitle('${W1(l)}')`)}async add(l,c="",o=100,r=!1,e={}){let h={AllowContentTypes:r,BaseTemplate:o,ContentTypesEnabled:r,Description:c,Title:l,...e};return K(this,D1(h))}async ensure(l,c="",o=100,r=!1,e={}){let h={Title:l,Description:c,ContentTypesEnabled:r,...e},Z=this.getByTitle(h.Title);try{return await Z.select("Title")(),{created:!1,data:await Z.update(h),list:this.getByTitle(h.Title)}}catch(t){return{created:!0,data:await this.add(l,c,o,r,h),list:this.getByTitle(h.Title)}}}async ensureSiteAssetsLibrary(){let l=await K(Cc(this,"ensuresiteassetslibrary"));return p0([this,C2(l)])}async ensureSitePagesLibrary(){let l=await K(Cc(this,"ensuresitepageslibrary"));return p0([this,C2(l)])}};_v=I1([J0("lists")],_v);var Cc=$1(_v);class t8 extends Q0{constructor(){super(...arguments);this.delete=J7()}get effectiveBasePermissions(){return G0(this,"EffectiveBasePermissions")}get eventReceivers(){return k5(this,"EventReceivers")}get relatedFields(){return G0(this,"getRelatedFields")}get informationRightsManagementSettings(){return G0(this,"InformationRightsManagementSettings")}async update(a,l="*"){return await e8(this,D1(a,o8({"IF-Match":l})))}getChanges(a){return K(p0(this,"getchanges"),D1({query:a}))}getItemsByCAMLQuery(a,...l){return K(p0(this,"getitems").expand(...l),D1({query:a}))}getListItemChangesSinceToken(a){return K(p0(this,"getlistitemchangessincetoken").using(l8()),D1({query:a}))}async recycle(){return K(p0(this,"recycle"))}async renderListData(a){let l=p0(this,"renderlistdata(@viewXml)");l.query.set("@viewXml",`'${a}'`);let c=await K(l);return JSON.parse(c)}renderListDataAsStream(a,l=null,c=/*@__PURE__*/new Map){if(b1(a,"RenderOptions")&&y0(a.RenderOptions))a.RenderOptions=a.RenderOptions.reduce((e,h)=>e+h);let o=p0(this,"RenderListDataAsStream");if(c&&c.size>0)c.forEach((e,h)=>o.query.set(h,e));let r=H0(l)?{parameters:a,overrideParameters:l}:{parameters:a};return K(o,D1(r))}async renderListFormData(a,l,c){let o=await K(p0(this,`renderlistformdata(itemid=${a}, formid='${l}', mode='${c}')`));return JSON.parse(o)}async reserveListItemId(){return K(p0(this,"reservelistitemid"))}async addValidateUpdateItemUsingPath(a,l,c=!1,o,r){let e={FolderPath:h7(l)};if(H0(r)){if(r.leafName)e.LeafName=h7(r.leafName);if(r.objectType)e.UnderlyingObjectType=r.objectType}return K(p0(this,"AddValidateUpdateItemUsingPath()"),D1({bNewDocumentUpdate:c,checkInComment:o,formValues:a,listItemCreateInfo:e}))}async getParentInfos(){let a=await this.select("Id","RootFolder/UniqueId","RootFolder/ServerRelativeUrl","RootFolder/ServerRelativePath","ParentWeb/Id","ParentWeb/Url","ParentWeb/ServerRelativeUrl","ParentWeb/ServerRelativePath").expand("RootFolder","ParentWeb")();return{List:{Id:a.Id,RootFolderServerRelativePath:a.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.RootFolder.UniqueId},ParentWeb:{Id:a.ParentWeb.Id,ServerRelativePath:a.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ParentWeb.ServerRelativeUrl,Url:a.ParentWeb.Url}}}}var p0=$1(t8),Av;(function(a){a[a.None=0]="None",a[a.ContextInfo=1]="ContextInfo",a[a.ListData=2]="ListData",a[a.ListSchema=4]="ListSchema",a[a.MenuView=8]="MenuView",a[a.ListContentType=16]="ListContentType",a[a.FileSystemItemId=32]="FileSystemItemId",a[a.ClientFormSchema=64]="ClientFormSchema",a[a.QuickLaunch=128]="QuickLaunch",a[a.Spotlight=256]="Spotlight",a[a.Visualization=512]="Visualization",a[a.ViewMetadata=1024]="ViewMetadata",a[a.DisableAutoHyperlink=2048]="DisableAutoHyperlink",a[a.EnableMediaTAUrls=4096]="EnableMediaTAUrls",a[a.ParentInfo=8192]="ParentInfo",a[a.PageContextInfo=16384]="PageContextInfo",a[a.ClientSideComponentManifest=32768]="ClientSideComponentManifest",a[a.ListAvailableContentTypes=65536]="ListAvailableContentTypes",a[a.FolderContentTypeOrder=131072]="FolderContentTypeOrder",a[a.GridInitInfo=262144]="GridInitInfo",a[a.SiteUrlAsMediaTASPItemHost=524288]="SiteUrlAsMediaTASPItemHost",a[a.AddToOneDrive=1048576]="AddToOneDrive",a[a.SPFXCustomActions=2097152]="SPFXCustomActions",a[a.CustomActions=4194304]="CustomActions"})(Av||(Av={}));var mv;(function(a){a[a.Display=1]="Display",a[a.Edit=2]="Edit",a[a.New=3]="New"})(mv||(mv={}));var Hv=class extends c5{getById(l){return K5(this).concat(`(${l})`)}getItemByStringId(l){return K5([this,this.parentUrl],`getItemByStringId('${l}')`)}skip(l,c=!1){if(c)this.query.set("$skiptoken",`Paged=TRUE&PagedPrev=TRUE&p_ID=${l}`);else this.query.set("$skiptoken",`Paged=TRUE&p_ID=${l}`);return this}[Symbol.asyncIterator](){let l=k5(this).using(Y5(async(o)=>{let r=await o.json(),e=b1(r,"d")&&b1(r.d,"__next")?r.d.__next:r["odata.nextLink"];return{hasNext:typeof e==="string"&&e.length>0,nextLink:e,value:rv(r)}})),c=["$top","$select","$expand","$filter","$orderby","$skiptoken"];for(let o=0;o<c.length;o++){let r=this.query.get(c[o]);if(H0(r))l.query.set(c[o],r)}return{_next:l,async next(){if(this._next===null)return{done:!0,value:void 0};let o=await this._next();if(o.hasNext)return this._next=k5([this._next,o.nextLink]),{done:!1,value:o.value};else return this._next=null,{done:!1,value:o.value}}}}async add(l={}){return K(this,D1(l))}};Hv=I1([J0("items")],Hv);var sv=$1(Hv);class i8 extends Q0{constructor(){super(...arguments);this.delete=J7()}get effectiveBasePermissions(){return G0(this,"EffectiveBasePermissions")}get effectiveBasePermissionsForUI(){return G0(this,"EffectiveBasePermissionsForUI")}get fieldValuesAsHTML(){return X5(this,"FieldValuesAsHTML")}get fieldValuesAsText(){return X5(this,"FieldValuesAsText")}get fieldValuesForEdit(){return X5(this,"FieldValuesForEdit")}get versions(){return lV(this)}get list(){return this.getParent(p0,"",this.parentUrl.substring(0,this.parentUrl.lastIndexOf("/")))}async update(a,l="*"){let c=D1(a,o8({"IF-Match":l,"X-HTTP-Method":"MERGE"}));return K(K5(this).using(Nk()),c)}recycle(){return K(K5(this,"recycle"))}async deleteWithParams(a){return K(K5(this,"DeleteWithParameters"),D1({parameters:a}))}async getWopiFrameUrl(a=0){let l=K5(this,"getWOPIFrameUrl(@action)");return l.query.set("@action",a),K(l)}validateUpdateListItem(a,l=!1){return K(K5(this,"validateupdatelistitem"),D1({formValues:a,bNewDocumentUpdate:l}))}async getParentInfos(){let a=await this.select("Id","ParentList/Id","ParentList/Title","ParentList/RootFolder/UniqueId","ParentList/RootFolder/ServerRelativeUrl","ParentList/RootFolder/ServerRelativePath","ParentList/ParentWeb/Id","ParentList/ParentWeb/Url","ParentList/ParentWeb/ServerRelativeUrl","ParentList/ParentWeb/ServerRelativePath").expand("ParentList","ParentList/RootFolder","ParentList/ParentWeb")();return{Item:{Id:a.Id},ParentList:{Id:a.ParentList.Id,Title:a.ParentList.Title,RootFolderServerRelativePath:a.ParentList.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.ParentList.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.ParentList.RootFolder.UniqueId},ParentWeb:{Id:a.ParentList.ParentWeb.Id,ServerRelativePath:a.ParentList.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ParentList.ParentWeb.ServerRelativeUrl,Url:a.ParentList.ParentWeb.Url}}}async setImageField(a,l,c){let o=await this.getParentInfos(),r=r0(this.toUrl()),e=G0([this,r],"/_api/web/UploadImage");e.concat("(listTitle=@a1,imageName=@a2,listId=@a3,itemId=@a4)"),e.query.set("@a1",`'${o.ParentList.Title}'`),e.query.set("@a2",`'${l}'`),e.query.set("@a3",`'${o.ParentList.Id}'`),e.query.set("@a4",o.Item.Id);let h=await K(e,{body:c}),Z={type:"thumbnail",fileName:h.Name,nativeFile:{},fieldName:a,serverUrl:o.ParentWeb.Url.replace(o.ParentWeb.ServerRelativeUrl,""),serverRelativeUrl:h.ServerRelativeUrl,id:h.UniqueId};return this.validateUpdateListItem([{FieldName:a,FieldValue:JSON.stringify(Z)}])}}var K5=$1(i8),uv=class extends c5{getById(l){return oV(this).concat(`(${l})`)}};uv=I1([J0("versions")],uv);var lV=$1(uv);class cV extends Q0{constructor(){super(...arguments);this.delete=J7()}}var oV=$1(cV);function Nk(){return Y5(async(a)=>({etag:a.headers.get("etag")}))}w3.prototype.getContextInfo=async function(a=this.parentUrl){let l=await K(G0([this,r0(a)],"_api/contextinfo"));if(b1(l,"GetContextWebInformation")){let c=l.GetContextWebInformation;return c.SupportedSchemaVersions=c.SupportedSchemaVersions.results,c}else return l};var Vv=class extends c5{getByUrl(l){return P0(this).concat(`('${W1(l)}')`)}async addUsingPath(l,c=!1){return K(Rc(this,`addUsingPath(DecodedUrl='${W1(l)}',overwrite=${c})`))}};Vv=I1([J0("folders")],Vv);var Rc=$1(Vv);class v8 extends Q0{constructor(){super(...arguments);this.delete=J7()}get folders(){return Rc(this)}get listItemAllFields(){return X5(this,"listItemAllFields")}get parentFolder(){return P0(this,"parentFolder")}get properties(){return X5(this,"properties")}get storageMetrics(){return X5(this,"storagemetrics")}async update(a){return e8(this,D1(a))}recycle(){return K(P0(this,"recycle"))}async getItem(...a){let c=await this.listItemAllFields.select(...a)();if(c["odata.null"])throw Error("No associated item was found for this folder. It may be the root folder, which does not have an item.");return Object.assign(K5([this,C2(c)]),c)}async moveByPath(a,...l){let c={KeepBoth:!1,ShouldBypassSharedLocks:!0,RetainEditorAndModifiedOnMove:!1};if(l.length===1){if(typeof l[0]==="boolean")c.KeepBoth=l[0];else if(typeof l[0]==="object")c={...c,...l[0]}}return this.moveCopyImpl(a,c,"MoveFolderByPath")}async copyByPath(a,...l){let c={ShouldBypassSharedLocks:!0,ResetAuthorAndCreatedOnCopy:!0,KeepBoth:!1};if(l.length===1){if(typeof l[0]==="boolean")c.KeepBoth=l[0];else if(typeof l[0]==="object")c={...c,...l[0]}}return this.moveCopyImpl(a,c,"CopyFolderByPath")}async deleteWithParams(a){return K(P0(this,"DeleteWithParameters"),D1({parameters:a}))}async addSubFolderUsingPath(a){return await K(P0(this,"AddSubFolderUsingPath"),D1({leafPath:h7(a)})),this.folders.getByUrl(a)}async getParentInfos(){let a=await this.select("ServerRelativeUrl","ListItemAllFields/ParentList/Id","ListItemAllFields/ParentList/RootFolder/UniqueId","ListItemAllFields/ParentList/RootFolder/ServerRelativeUrl","ListItemAllFields/ParentList/RootFolder/ServerRelativePath","ListItemAllFields/ParentList/ParentWeb/Id","ListItemAllFields/ParentList/ParentWeb/Url","ListItemAllFields/ParentList/ParentWeb/ServerRelativeUrl","ListItemAllFields/ParentList/ParentWeb/ServerRelativePath").expand("ListItemAllFields/ParentList","ListItemAllFields/ParentList/RootFolder","ListItemAllFields/ParentList/ParentWeb")();return{Folder:{ServerRelativeUrl:a.ServerRelativeUrl},ParentList:{Id:a.ListItemAllFields.ParentList.Id,RootFolderServerRelativePath:a.ListItemAllFields.ParentList.RootFolder.ServerRelativePath,RootFolderServerRelativeUrl:a.ListItemAllFields.ParentList.RootFolder.ServerRelativeUrl,RootFolderUniqueId:a.ListItemAllFields.ParentList.RootFolder.UniqueId},ParentWeb:{Id:a.ListItemAllFields.ParentList.ParentWeb.Id,ServerRelativePath:a.ListItemAllFields.ParentList.ParentWeb.ServerRelativePath,ServerRelativeUrl:a.ListItemAllFields.ParentList.ParentWeb.ServerRelativeUrl,Url:a.ListItemAllFields.ParentList.ParentWeb.Url}}}moveCopyImpl(a,l,c){let o=P0(this);return o.on.pre(w4(async(r,e,h)=>{let{ServerRelativeUrl:Z,["odata.id"]:t}=await P0(this).using(S3()).select("ServerRelativeUrl")(),i=new URL(r0(t));return r=O1(i.href,`/_api/SP.MoveCopyUtil.${c}()`),e=D1({destPath:h7(w0(a)?a:O1(i.origin,a)),options:l,srcPath:h7(O1(i.origin,Z))},e),[r,e,h]})),K(o).then(()=>eV(this,a))}}I1([e7],v8.prototype,"moveByPath",null);I1([e7],v8.prototype,"copyByPath",null);var P0=$1(v8);function wc(a,l){return P0([a,r0(a.toUrl())],`_api/web/getFolderByServerRelativePath(decodedUrl='${W1(l)}')`)}async function rV(a,l){let{WebFullUrl:c}=await P0(a).using(S3()).getContextInfo(l),{pathname:o}=new URL(l);return wc(P0([a,O1(c,"_api/web")]),decodeURIComponent(o))}async function eV(a,l){return(w0(l)?rV:wc)(a,l)}O0(t8,"items",sv);function ay(){return Y5(async(a)=>{var l;return{body:a.body,knownLength:parseInt(((l=a===null||a===void 0?void 0:a.headers)===null||l===void 0?void 0:l.get("content-length"))||"-1",10)}})}class ye extends Q0{getText(){return this.getParsed(l8())}getBlob(){return this.getParsed(Rs())}getBuffer(){return this.getParsed(ws())}getJSON(){return this.getParsed(Le())}getStream(){return G0(this,"$value").using(ay(),ev())(o8({binaryStringResponseBody:"true"}))}getParsed(a){return G0(this,"$value").using(a,ev())()}}var n8=class extends c5{getByUrl(l){if(/%#/.test(l))throw Error("For file names containing % or # please use web.getFileByServerRelativePath");return k1(this).concat(`('${W1(l)}')`)}async addUsingPath(l,c,o={Overwrite:!1}){let r=[`AddUsingPath(decodedurl='${W1(l)}'`];if(o){if(o.Overwrite)r.push(",Overwrite=true");if(o.EnsureUniqueFileName)r.push(`,EnsureUniqueFileName=${o.EnsureUniqueFileName}`);if(o.AutoCheckoutOnInvalidData)r.push(",AutoCheckoutOnInvalidData=true");if(!B5(o.XorHash))r.push(`,XorHash=${W1(o.XorHash)}`)}return r.push(")"),K(Sc(this,r.join("")),{body:c})}async addChunked(l,c,o){let r=await this.addUsingPath(l,null,o),e=d8(this,r.ServerRelativeUrl);return e.using(hv(()=>{return k1(e).delete()})),e.setContentChunked(c,o)}async addTemplateFile(l,c){return K(Sc(this,`addTemplateFile(urloffile='${W1(l)}',templatefiletype=${c})`))}};I1([e7],n8.prototype,"addUsingPath",null);I1([e7],n8.prototype,"addChunked",null);I1([e7],n8.prototype,"addTemplateFile",null);n8=I1([J0("files")],n8);var Sc=$1(n8);class Gc extends ye{constructor(){super(...arguments);this.delete=J7()}get listItemAllFields(){return X5(this,"listItemAllFields")}get versions(){return G3(this)}async getLockedByUser(){let a=await Ps(k1(this,"lockedByUser"));if(a["odata.null"]===!0)return null;else return a}approve(a=""){return K(k1(this,`approve(comment='${W1(a)}')`))}cancelUpload(a){return K(k1(this,`cancelUpload(uploadId=guid'${a}')`))}checkin(a="",l=Oe.Major){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return K(k1(this,`checkin(comment=@a2,checkintype=@a3)?@a2=${encodeURIComponent(`'${a.replace(/'/g,"''")}'`)}&@a3=${l}`))}checkout(){return K(k1(this,"checkout"))}copyTo(a,l=!0){return K(k1(this,`copyTo(strnewurl='${W1(a)}',boverwrite=${l})`))}async copyByPath(a,...l){let c={ShouldBypassSharedLocks:!0,ResetAuthorAndCreatedOnCopy:!0,KeepBoth:!1};if(l.length===2){if(typeof l[1]==="boolean")c.KeepBoth=l[1];else if(typeof l[1]==="object")c={...c,...l[1]}}return this.moveCopyImpl(a,c,l[0],"CopyFileByPath")}deny(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return K(k1(this,`deny(comment='${W1(a)}')`))}async moveByPath(a,...l){let c={KeepBoth:!1,ShouldBypassSharedLocks:!0,RetainEditorAndModifiedOnMove:!1};if(l.length===2){if(typeof l[1]==="boolean")c.KeepBoth=l[1];else if(typeof l[1]==="object")c={...c,...l[1]}}return this.moveCopyImpl(a,c,l[0],"MoveFileByPath")}publish(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return K(k1(this,`publish(comment='${W1(a)}')`))}recycle(){return K(k1(this,"recycle"))}async deleteWithParams(a){return K(k1(this,"DeleteWithParameters"),D1({parameters:a}))}undoCheckout(){return K(k1(this,"undoCheckout"))}unpublish(a=""){if(a.length>1023)throw Error("The maximum comment length is 1023 characters.");return K(k1(this,`unpublish(comment='${W1(a)}')`))}async exists(){try{return(await k1(this).select("Exists")()).Exists}catch(a){return!1}}async setContent(a){return await K(k1(this,"$value"),{body:a,headers:{"X-HTTP-Method":"PUT"}}),k1(this)}async getItem(...a){let c=await this.listItemAllFields.select(...a)();return Object.assign(K5([this,C2(c)]),c)}async setContentChunked(a,l){let{progress:c,chunkSize:o=10485760}=ly(l),r=Q7(),e=!0,h,Z=0,t=k1(this).using(hv(()=>{return k1(t).cancelUpload(r)})),n=cy(a).getReader(),v=new Uint8Array;while(h=await n.read()){if(h.value){let d=new Uint8Array(v.length+h.value.length);d.set(v),d.set(h.value,v.length),v=d}while(v.length>=o){let d=v.slice(0,o);if(v=v.slice(o),e)c({offset:Z,stage:"starting",uploadId:r}),Z=await K(k1(t,`startUpload(uploadId=guid'${r}')`),{body:d}),e=!1;else c({offset:Z,stage:"continue",uploadId:r}),Z=await K(k1(t,`continueUpload(uploadId=guid'${r}',fileOffset=${Z})`),{body:d})}if(h.done){if(e)c({offset:Z,stage:"starting",uploadId:r}),Z=await K(k1(t,`startUpload(uploadId=guid'${r}')`),{body:v}),e=!1,v=new Uint8Array;return c({offset:Z,stage:"finishing",uploadId:r}),K(k1(t,`finishUpload(uploadId=guid'${r}',fileOffset=${Z})`),{body:v.length?v:""})}}}moveCopyImpl(a,l,c,o){let r=k1(this);return r.on.pre(w4(async(e,h,Z)=>{let{ServerRelativeUrl:t,["odata.id"]:i}=await k1(this).using(S3()).select("ServerRelativeUrl")(),n=new URL(r0(i));return e=O1(n.toString(),`/_api/SP.MoveCopyUtil.${o}(overwrite=@a1)?@a1=${c}`),h=D1({destPath:h7(w0(a)?a:`${n.protocol}//${n.host}${a}`),options:l,srcPath:h7(w0(t)?t:`${n.protocol}//${n.host}${t}`)},h),[e,h,Z]})),K(r).then(()=>ZV(this,a))}}I1([e7],Gc.prototype,"copyByPath",null);I1([e7],Gc.prototype,"moveByPath",null);I1([e7],Gc.prototype,"setContentChunked",null);var k1=$1(Gc);function d8(a,l){return k1([a,r0(a.toUrl())],`_api/web/getFileByServerRelativePath(decodedUrl='${W1(l)}')`)}async function hV(a,l){let{WebFullUrl:c}=await k1(a).using(S3()).getContextInfo(l),{pathname:o}=new URL(l);return d8(k1([a,O1(c,"_api/web")]),decodeURIComponent(o))}async function ZV(a,l){return(w0(l)?hV:d8)(a,l)}var fv=class extends c5{getById(l){return iV(this).concat(`(${l})`)}deleteAll(){return K(G3(this,"deleteAll"))}deleteById(l){return K(G3(this,`deleteById(vid=${l})`))}recycleByID(l){return K(G3(this,`recycleByID(vid=${l})`))}deleteByLabel(l){return K(G3(this,`deleteByLabel(versionlabel='${W1(l)}')`))}recycleByLabel(l){return K(G3(this,`recycleByLabel(versionlabel='${W1(l)}')`))}restoreByLabel(l){return K(G3(this,`restoreByLabel(versionlabel='${W1(l)}')`))}};fv=I1([J0("versions")],fv);var G3=$1(fv);class tV extends ye{constructor(){super(...arguments);this.delete=Ge()}}var iV=$1(tV),Oe;(function(a){a[a.Minor=0]="Minor",a[a.Major=1]="Major",a[a.Overwrite=2]="Overwrite"})(Oe||(Oe={}));var Fv;(function(a){a[a.None=0]="None",a[a.Overwrite=1]="Overwrite",a[a.AllowBrokenThickets=8]="AllowBrokenThickets",a[a.RetainEditorAndModifiedOnMove=2048]="RetainEditorAndModifiedOnMove"})(Fv||(Fv={}));var xv;(function(a){a[a.StandardPage=0]="StandardPage",a[a.WikiPage=1]="WikiPage",a[a.FormPage=2]="FormPage",a[a.ClientSidePage=3]="ClientSidePage"})(xv||(xv={}));function ly(a){return{progress:()=>null,...a}}function cy(a){if(ey(a))return a.stream();else if(ry(a))return new ReadableStream({start(l){a.on("data",(c)=>{l.enqueue(c)}),a.on("end",()=>{l.close()})}});else if(hy(a))return new ReadableStream({start(l){l.enqueue(a),l.close()}});else if(Zy(a))return a.readable;else return a}var oy=Symbol.toStringTag;function ry(a){return typeof a.on==="function"}function ey(a){return typeof a==="object"&&typeof a.arrayBuffer==="function"&&typeof a.type==="string"&&typeof a.stream==="function"&&typeof a.constructor==="function"&&(/^(Blob|File)$/.test(a[oy])||/^(Blob|File)$/.test(a.constructor.name))}function hy(a){return typeof a==="object"&&typeof a.length==="number"}function Zy(a){return typeof a==="object"&&typeof a.readable==="object"}O0(v8,"files",Sc);O0(i8,"file",k1,"file");a0.prototype.getFileByServerRelativePath=function(a){return d8(this,a)};a0.prototype.getFileById=function(a){return k1(this,`getFileById('${a}')`)};a0.prototype.getFileByUrl=function(a){return k1(this,`getFileByUrl('${W1("!@p1::"+a)}')`)};O0(i8,"folder",P0);O0(t8,"rootFolder",P0);O0(a0,"folders",Rc);O0(a0,"rootFolder",P0);a0.prototype.getFolderByServerRelativePath=function(a){return wc(this,a)};a0.prototype.getFolderById=function(a){return P0(this,`getFolderById('${a}')`)};O0(a0,"lists",Cc);O0(a0,"siteUserInfoList",p0);O0(a0,"defaultDocumentLibrary",p0);O0(a0,"customListTemplates",k5,"getcustomlisttemplates");a0.prototype.getList=function(a){return p0(this,`getList('${W1(a)}')`)};a0.prototype.getCatalog=async function(a){let l=await e0(this,`getcatalog(${a})`).select("Id")();return p0([this,C2(l)])};function gv(a,l){let c="_api/site",o=/(_api[/|\\](site|web))/i.exec(a);if((o===null||o===void 0?void 0:o.length)>0)a=r0(a),c=o[1];if((l===null||l===void 0?void 0:l.indexOf("_api"))<0)a=O1(a,c);return a}var U4=class extends Q0{constructor(l,c){if(typeof l==="string")l=gv(l,c);else if(y0(l))l=[l[0],gv(l[1],c)];else l=[l,gv(l.toUrl(),c)];super(l,c)}get rootWeb(){return e0(this,"rootweb")}getChanges(l){let c=D1({query:l});return K(e0(this,"getchanges"),c)}async openWebById(l){let c=await K(I0(this,`openWebById('${l}')`));return{data:c,web:e0([this,r0(C2(c))])}}async getRootWeb(){let l=await this.rootWeb.select("Url")();return e0([this,l.Url])}async delete(){let l=await I0(this,"").select("Id")(),c=I0([this,this.parentUrl],"_api/SPSiteManager/Delete");await K(c,D1({siteId:l.Id}))}async getDocumentLibraries(l){let c=I0([this,this.parentUrl],"_api/sp.web.getdocumentlibraries(@v)");c.query.set("@v",`'${l}'`);let o=await c();return b1(o,"GetDocumentLibraries")?o.GetDocumentLibraries:o}async getWebUrlFromPageUrl(l){let c=I0([this,this.parentUrl],"_api/sp.web.getweburlfrompageurl(@v)");c.query.set("@v",`'${l}'`);let o=await c();return b1(o,"GetWebUrlFromPageUrl")?o.GetWebUrlFromPageUrl:o}async createCommunicationSite(l,c=1033,o=!1,r,e,h,Z,t,i){return this.createCommunicationSiteFromProps({Classification:h,Description:e,HubSiteId:t,Lcid:c,Owner:i,ShareByEmailEnabled:o,SiteDesignId:Z,Title:l,Url:r})}async createCommunicationSiteFromProps(l){let c={Classification:"",Description:"",HubSiteId:Lc,Lcid:1033,ShareByEmailEnabled:!1,SiteDesignId:Lc,WebTemplate:"SITEPAGEPUBLISHING#0",WebTemplateExtensionId:Lc,...l};return K(I0([this,r0(this.toUrl())],"/_api/SPSiteManager/Create"),D1({request:c}))}async exists(l){return K(I0([this,r0(this.toUrl())],"/_api/SP.Site.Exists"),D1({url:l}))}async createModernTeamSite(l,c,o,r,e,h,Z,t,i){return this.createModernTeamSiteFromProps({alias:c,classification:h,description:e,displayName:l,hubSiteId:t,isPublic:o,lcid:r,owners:Z,siteDesignId:i})}async createModernTeamSiteFromProps(l){let c=Object.assign({},{classification:"",description:"",hubSiteId:Lc,isPublic:!0,lcid:1033,owners:[]},l),o={alias:c.alias,displayName:c.displayName,isPublic:c.isPublic,optionalParams:{Classification:c.classification,CreationOptions:[`SPSiteLanguage:${c.lcid}`,`HubSiteId:${c.hubSiteId}`],Description:c.description,Owners:c.owners}};if(c.siteDesignId)o.optionalParams.CreationOptions.push(`implicit_formula_292aa8a00786498a87a5ca52d9f4214a_${c.siteDesignId}`);return K(I0([this,r0(this.toUrl())],"/_api/GroupSiteManager/CreateGroupEx").using(l8()),D1(o))}update(l){return Es(this,D1(l))}setSiteLogo(l){return K(G0([this,r0(this.toUrl())],"_api/siteiconmanager/setsitelogo"),D1(l))}};U4=I1([J0("_api/site")],U4);var I0=$1(U4),Lv;(function(a){a[a.WebLogo=0]="WebLogo",a[a.HubLogo=1]="HubLogo",a[a.HeaderBackground=2]="HeaderBackground",a[a.GlobalNavLogo=3]="GlobalNavLogo"})(Lv||(Lv={}));var Cv;(function(a){a[a.Square=0]="Square",a[a.Rectangular=1]="Rectangular"})(Cv||(Cv={}));Reflect.defineProperty(L2.prototype,"site",{configurable:!0,enumerable:!0,get:function(){return this.create(I0)}});Reflect.defineProperty(L2.prototype,"web",{configurable:!0,enumerable:!0,get:function(){return this.create(e0)}});function M8(){return new URL(window.location.href).searchParams.get("web")??""}function Uc(a=""){let l=a?a:C4();if(!window.__SPFxExtensions.__CurrentContext)return h8(l).using(ke());let c;if(window.__SPFxExtensions.__CurrentContext.contextType==="SPOModernContext")c={pageContext:{web:{absoluteUrl:window.__SPFxExtensions.__CurrentContext.context.web.absoluteUrl},legacyPageContext:{formDigestTimeoutSeconds:window.__SPFxExtensions.__CurrentContext.context.legacyPageContext.formDigestTimeoutSeconds,formDigestValue:window.__SPFxExtensions.__CurrentContext.context.legacyPageContext.formDigestValue}}};else c={pageContext:{web:{absoluteUrl:window.__SPFxExtensions.__CurrentContext.context.webAbsoluteUrl},legacyPageContext:{formDigestTimeoutSeconds:window.__SPFxExtensions.__CurrentContext.context.formDigestTimeoutSeconds,formDigestValue:window.__SPFxExtensions.__CurrentContext.context.formDigestValue}}};return h8(l).using(aV(c))}function Z7(a){return a.web.toUrl().replace("/_api/web","")}function vV(){let l=M8()??C4();return Uc(l)}function Pe(a){if(!a.appDefinitionMap)a.appDefinitionMap=[];if(!a.appRelativeEntryPointUrls)a.appRelativeEntryPointUrls=[];if(!a.manualEntries)a.manualEntries=[];return a}async function Te(a,l,c){let o=[],[r,e]=a.web.batched();for(let h of l)r.getFileByUrl(`${w1}/${h}/${k0}`).getText().then((Z)=>{let t=Rv(h);try{let i=JSON.parse(Z);Pe(i),t.manifest=i,t.activated=c.includes(h),o.push(t)}catch{o.push(t)}}).catch(()=>{o.push(Rv(h))});return await e(),o}var ty=["Forms"];async function p8(a,l){try{await Re(a);let c=a.web.lists.getByTitle(w1).rootFolder,o=await Sv(a),r=await _8(a);if(!o.some((e)=>e===l))await c.folders.addUsingPath(l),o.push(l);return t7.value=await Te(a,o,r.data.enabledAppCollections),t7.value.find((e)=>e.name===l)}catch(c){return c?.message}}async function nV(a,l){let o=a.web.lists.getByTitle(w1).rootFolder;try{let r=await o.folders.getByUrl(l)();await ys(a,D4.data.ServerRelativeUrl,l)}catch(r){m1(`Error while removing ${l} from ${w1} folder in ${Z7(a)}`,r)}return!1}async function Sv(a){return await Re(a),(await a.web.lists.getByTitle(w1).rootFolder.folders()).filter((o)=>!ty.includes(o.Name)).map((o)=>o.Name)}async function Ee(a,l){wv.value=!0,await _8(a);let c=Z7(a),o=a.web.getFileByUrl(`${w1}/${c7}`);try{return await o.setContent(JSON.stringify(l)),!0}catch(r){return m1(`Error while updating ${c7} in ${w1} folder in ${c}`,r),!1}finally{wv.value=!1}}async function _8(a){let l=a.web.getFileByUrl(`${w1}/${c7}`),c=Z7(a),o=await l.exists(),r={data:mc,error:"",isError:!1,warnings:[]};if(!o)return await Re(a),await a.web.lists.getByTitle(w1).rootFolder.files.addUsingPath(c7,JSON.stringify(mc)),L0(`Created ${c7} in ${w1} folder in ${c}`),r;try{let h=await(await l.getBlob()).text(),Z=JSON.parse(h);if(!Array.isArray(Z.enabledAppCollections)||!Array.isArray(Z.urlMap)){let t=`Invalid data inside ${c7} in ${w1} folder in ${c}, it should be an array`;return m1(t),r.error=t,r.isError=!0,r.data=mc,r}return r.data=Z,r}catch(e){let h=`Error while parsing ${c7} in ${w1} folder in ${c}`;return m1(h,e),r.error=h,r.isError=!0,r.data=mc,r}}async function dV(a,l,c){if(c.some((h)=>h.indexOf("/")>-1))throw Error("Nested path cannot contain /");let o=Z7(a),r=a.web.getFolderByServerRelativePath(`${w1}/${l}`),e="";for(let h of c){if(e=`${e?`${e}/`:""}${h}`,!(await r.folders()).some((t)=>t.Name.toLowerCase()===h.toLowerCase()))L0(`Creating subfolder ${e} in ${w1}/${l} folder in ${o}`),await r.addSubFolderUsingPath(h);r=r.folders.getByUrl(h)}}var Gv=class extends c5{getById(l){return pV(this,`GetById?hubSiteId='${l}'`)}};Gv=I1([J0("_api/hubsites")],Gv);var Uv=$1(Gv);class MV extends Q0{async getSite(){let a=await this.select("SiteUrl")();return I0([this,a.SiteUrl])}}var pV=$1(MV);U4.prototype.joinHubSite=async function(a){await K(I0(this,`joinHubSite('${a}')`))};U4.prototype.registerHubSite=async function(){await K(I0(this,"registerHubSite"))};U4.prototype.unRegisterHubSite=async function(){await K(I0(this,"unRegisterHubSite"))};a0.prototype.hubSiteData=async function(a=!1){let l=await e0(this,`hubSiteData(${a})`)();if(typeof l==="string")return JSON.parse(l);return l};a0.prototype.syncHubSiteTheme=function(){return K(e0(this,"syncHubSiteTheme"))};Reflect.defineProperty(L2.prototype,"hubSites",{configurable:!0,enumerable:!0,get:function(){return this.create(Uv)}});function Dv(a,l){let c=a.findIndex((t)=>t.isHubRoot&&t.hubid===l);if(c<0)return;let o=a.splice(c,1)[0],r={...o,webs:[o]},e={...o,sites:[r],webs:[]},h=A8(a,e.siteId,l);r.webs.push(...h);let Z=We(a,l);return e.sites.push(...Z),e.webs.push(...A8(a,e.siteId,l)),e}function qe(a){let l=Object.groupBy(a,(i)=>i.hubid),c=Object.keys(l).filter((i)=>i&&i!==z0),o=Object.keys(l).filter((i)=>!i||i===z0),r=c.map((i)=>l[i]??[]).flat(),e=o.map((i)=>l[i]??[]).flat(),h=[],Z=[],t=[];for(let i of c){let n=Dv(r,i);if(!n)continue;h.push(n)}if(r.length>0)e.push(...r);return Z.push(...We(e)),t.push(...e),{hubs:h,sites:Z,webs:t}}function We(a,l){let c=[];function o(e){return l?e.isRootWeb&&e.hubid===l:e.isRootWeb}let r=a.findIndex(o);while(r>-1){let e=a.splice(r,1)[0],h=c.find((t)=>t.id===e.id);if(!h)h={...e,webs:[e]},c.push(h);let Z=A8(a,e.siteId);h.webs.push(...Z.sort((t,i)=>t.url.localeCompare(i.url))),r=a.findIndex(o)}return c}function A8(a,l,c){let o=[];function r(h){return c?h.siteId===l&&h.hubid===c:h.siteId===l}let e=a.findIndex(r);while(e>-1){let h=a.splice(e,1)[0];o.push(h),e=a.findIndex(r)}return o.sort((h,Z)=>h.url.localeCompare(Z.url))}function _V(a){let l=Object.groupBy(a,(e)=>e.sharepointIds.siteId),c=Object.keys(l),o=[];for(let e of c){let h=l[e];if(!h)continue;let Z=h.sort((t,i)=>t.webUrl.localeCompare(i.webUrl));o.push({id:Z[0].sharepointIds.webId,url:Z[0].webUrl,siteId:Z[0].sharepointIds.siteId,hubid:Z[0].sharepointIds.hubSiteId,isHubRoot:Z[0].sharepointIds.hubSiteId===Z[0].sharepointIds.siteId,isRootWeb:!0})}return a.map((e)=>{return{id:e.sharepointIds.webId,url:e.webUrl,siteId:e.sharepointIds.siteId,hubid:e.sharepointIds.hubSiteId,isHubRoot:e.sharepointIds.hubSiteId===e.sharepointIds.siteId,isRootWeb:o.some((h)=>h.id===e.sharepointIds.webId),title:e.title,template:e.template.name}})}function be(a,l,c){return{id:a.Id,url:a.Url,siteId:l,hubid:c,isHubRoot:!1,isRootWeb:!1}}function ze(a,l,c){return a.map((o)=>{return be(o,l,c)})}async function iy(a){let l=await HV(a);if(l.isError)return m1("Unable to get web info",l.error),[];let c=await kv(l.data);return[...l.data,...c.filter((o)=>!o.isError).flatMap((o)=>o.data)]}async function kv(a){let l=[];for(let r of a){let e=Uc(r.Url);l.push(HV(e))}let c=await Promise.all(l),o=c.filter((r)=>!r.isError&&r.data.length>0).flatMap((r)=>r.data);if(o.length>0)c.push(...await kv(o));return c.some((r)=>r.data.length>0||r.isError)?c:[]}async function AV(a,l=!1){let c=Uc(a.origin+a.pathname),o={data:[],error:"",warnings:[],isError:!1};try{let r=await Ov(c);if(r.isError){let v=`Unable to get site info ${r.error}`;o.warnings.push(v),m1(v,a.href)}let e=await yv(c);if(e.isError){let v=`Unable to get root web info ${e.error}`;o.warnings.push(v),m1(v,a.href)}let h=await Pv(c);if(h.isError){let v=`Unable to get web info ${h.error}`;return o.isError=!0,o.error=v,m1(v,a.href),o}if(!l||e.isError){let v=be(h.data,r.data?.Id??z0,r.data?.HubSiteId??z0);return v.isRootWeb=e.data?.Id===h.data.Id,v.isHubRoot=r.data?.IsHubSite&&e.data?.Id===h.data.Id,o.data.push(v),o}let Z=Uc(e.data.Url),t=await iy(Z),i=be(e.data,r.data?.Id??z0,r.data?.HubSiteId??z0),n=ze(t,r.data?.Id??z0,r.data?.HubSiteId??z0);i.isRootWeb=!0,i.isHubRoot=r.data?.IsHubSite??!1,o.data.push(i),o.data.push(...n)}catch(r){o.isError=!0,o.error=`${r}`,m1("Unable to get web structure",a.href,r)}return o}async function Qe(a){if(!Ie())return;let l=R2,c={hubid:z0,id:z0,url:"",siteId:z0,isHubRoot:!1,isRootWeb:!1,webs:[]};if(l.isError)return m1(`Unable to get site info ${l.error}`),c;let o=i7;if(o.isError)return m1(`Unable to get root web info ${o.error}`),c;let r=await vy(a);if(r.isError)return m1(`Unable to get root subweb info ${o.error}`),c;let e=await kv(r.data),h=ze(r.data,l.data.Id,l.data.HubSiteId),Z=ze(e.filter((n)=>!n.isError).flatMap((n)=>n.data),l.data.Id,l.data.HubSiteId),t=[...h,...Z],i={hubid:l.data.HubSiteId,id:o.data.Id,url:o.data.Url,siteId:l.data.Id,isHubRoot:l.data.IsHubSite,isRootWeb:!0};return c={...i,webs:[i,...A8(t,l.data.Id)]},c}async function Je(a,l,c){if(!F5())return;if(!Bv)return;let o=c??R2.data.HubSiteId,r=[];for await(let _ of mV(a.web.toUrl().replace("_api/web",""),o))r.push(..._);let e={id:"",url:"",siteId:o,hubid:o,isHubRoot:!0,isRootWeb:!0,sites:[],webs:[]},h=_V(r),Z=h.findIndex((_)=>_.hubid===o&&_.siteId===o),t=Z>-1?h.splice(Z,1)[0]:void 0;if(!t)g2("API Call did not return Hub ROOT",o),t={id:i7.data.Id,url:i7.data.Url,hubid:o,siteId:o,isHubRoot:!0,isRootWeb:!0};e.id=t.id,e.url=t.url,e.hubid=t.hubid,e.siteId=t.siteId,e.sites.push({...t,webs:[t]});let i=A8(h,t.siteId),n=e.sites.find((_)=>_.id===t.id);if(n)n.webs.push(...i);else e.webs.push(...i);let v=We(h);e.sites.push(...v),e.webs.push(...h);for(let _ of Bv.webs.sort((p,A)=>p.url.localeCompare(A.url)))if(e.sites.flatMap((p)=>p.webs).findIndex((p)=>p.id===_.id)===-1){let p=e.sites.findIndex((A)=>A.siteId===_.siteId);if(p<0){e.sites.push({id:_.id,url:_.url,hubid:_.hubid,siteId:_.siteId,isHubRoot:!1,isRootWeb:!0,webs:[_]});continue}e.sites[p].webs.push(_),e.sites[p].webs=e.sites[p].webs.sort((A,m)=>A.url.localeCompare(m.url))}let d=Dv([...l],o);if(d){for(let _ of d.sites){let p=e.sites.find((A)=>A.id===_.id);if(p){for(let A of _.webs)if(p.webs.find((u)=>u.id===A.id))continue;else p.webs.push(A);p.webs=p.webs.sort((A,m)=>A.url.localeCompare(m.url));continue}e.sites.push(_)}for(let _ of d.webs)if(e.webs.find((A)=>A.id===_.id))continue;else e.webs.push(_)}let M=[];for(let _ of e.webs){let p=e.sites.find((m)=>m.id===_.siteId);if(!p)continue;if(M.push({..._}),!p.webs.find((m)=>m.id===_.id))p.webs.push({..._}),p.webs=p.webs.sort((m,u)=>m.url.localeCompare(u.url))}return e.webs=e.webs.filter((_)=>M.findIndex((p)=>p.id===_.id)>-1),e.webs=e.webs.sort((_,p)=>_.url.localeCompare(p.url)),e}async function*mV(a,l,c=!0){let o=k5(a,c?"_api/v2.1/sites":"").using(ke());if(c)o.filter(`sharepointIds/hubSiteId eq '${l}'`).top(99);o.on.parse.replace(async(e,h,Z)=>{let t={"@odata.context":"",value:[],"@odata.nextLink":""};if(h.ok)try{return Z=await h.json(),[e,h,Z]}catch(i){return m1("Unable to parse hubdata response",e,i),[e,h,t]}return m1("Error getting hubdata",e,h.statusText),[e,h,t]});let r=await o();if(yield r.value,r["@odata.nextLink"])yield*mV(r["@odata.nextLink"],l,!1)}async function yv(a){return Dc(()=>a.site.rootWeb(),{})}async function vy(a){return Dc(()=>a.site.rootWeb.webs(),[])}async function Ov(a){return Dc(()=>a.site(),{})}async function Pv(a){return Dc(()=>a.web(),{})}async function HV(a){return Dc(()=>a.web.webs(),[])}async function Dc(a,l){let c={data:l,error:"",warnings:[],isError:!1};try{let o=await a();c.data=o}catch(o){c.isError=!0,c.error=`${o}`}return c}var Tv=M8(),$e=new URL(Tv?Tv:C4()),j1=vV(),[R2,D4,ny,uV]=await Promise.all([Ov(j1),Pv(j1),Sv(j1),_8(j1)]);var w2=!Tv,i7=!R2.isError?await yv(j1):{data:{},warnings:[],error:"Unable to get root web since site is not available",isError:!0};function F5(){if(R2.isError||i7.isError||D4.isError)return!1;return R2.data.IsHubSite&&i7.data.Id===D4.data.Id}function Ev(){if(R2.isError)return!1;return R2.data.HubSiteId!==z0}function Ie(){if(i7.isError||D4.isError)return!1;return D4.data.Id===i7.data.Id}function sV(){if(R2.isError||i7.isError)return!0;return i7.data.Id!==D4.data.Id}var[Bv,dy]=await Promise.all([Qe(j1),Te(j1,ny,uV.data.enabledAppCollections)]);var u0=R0(uV.data),wv=R0(!1),t7=R0(dy),C1=R0(),x1=R0(),m8=R0(),Bc=R0(),B4=R0([]),H8=R0(!1);function Rv(a){return{name:a,manifest:_c,activated:!1}}function qv(a){let l=U1(t7.value),c=l.findIndex((o)=>o.name===a.name);if(c>-1)l.splice(c,1,a);else l.push(a);t7.value=l}function v7(a,l=!1){let c=U1(a);if(C1.value=c,l)qv(c)}function Ye(){if(w2)return"global";if(F5())return"hubRoot";if(Ev()&&!F5())return"hubChild";if(!Ev())return"nonHub";if(sV())return"subsite";return"other"}var My=l6({root:{display:"flex",height:"auto",width:"auto",boxSizing:"border-box"},horizontal:{flexDirection:"row"},vertical:{flexDirection:"column"},wrap:{flexWrap:"wrap"},noWrap:{flexWrap:"nowrap"},horizontalAlign_start:{justifyContent:"flex-start"},horizontalAlign_end:{justifyContent:"flex-end"},horizontalAlign_center:{justifyContent:"center"},horizontalAlign_spaceBetween:{justifyContent:"space-between"},horizontalAlign_spaceAround:{justifyContent:"space-around"},horizontalAlign_spaceEvenly:{justifyContent:"space-evenly"},horizontalAlign_stretch:{justifyContent:"stretch"},verticalAlign_start:{alignItems:"flex-start"},verticalAlign_end:{alignItems:"flex-end"},verticalAlign_center:{alignItems:"center"},verticalAlign_spaceBetween:{alignItems:"space-between"},verticalAlign_spaceAround:{alignItems:"space-around"},verticalAlign_spaceEvenly:{alignItems:"space-evenly"},verticalAlign_stretch:{alignItems:"stretch"},reversedHorizontal:{flexDirection:"row-reverse"},reversedVertical:{flexDirection:"column-reverse"}});function Z1(a){let l=My(),c=[l.root],o={};if(a.horizontal)if(a.reversed)c.push(l.reversedHorizontal);else c.push(l.horizontal);else if(a.reversed)c.push(l.reversedVertical);else c.push(l.vertical);if(a.grow)o.flexGrow=a.grow;if(a.gap)o.gap=a.gap;return c.push(a.wrap?l.wrap:l.noWrap),py(a,c,l),_y(a,c,l),/*@__PURE__*/H("div",{className:c.join(" "),style:{...o,...a.style},children:a.children},void 0,!1,void 0,this)}function py(a,l,c){switch(a.horizontalAlign){case"start":l.push(c.horizontalAlign_start);break;case"end":l.push(c.horizontalAlign_end);break;case"center":l.push(c.horizontalAlign_center);break;case"space-between":l.push(c.horizontalAlign_spaceBetween);break;case"space-around":l.push(c.horizontalAlign_spaceAround);break;case"space-evenly":l.push(c.horizontalAlign_spaceEvenly);break;case"stretch":l.push(c.horizontalAlign_stretch);break}}function _y(a,l,c){switch(a.verticalAlign){case"start":l.push(c.verticalAlign_start);break;case"end":l.push(c.verticalAlign_end);break;case"center":l.push(c.verticalAlign_center);break;case"space-between":l.push(c.verticalAlign_spaceBetween);break;case"space-around":l.push(c.verticalAlign_spaceAround);break;case"space-evenly":l.push(c.verticalAlign_spaceEvenly);break;case"stretch":l.push(c.verticalAlign_stretch);break}}var U3="global-toast-notification";function VV(){return/*@__PURE__*/H(g4,{toasterId:U3},void 0,!1,void 0,this)}function fV(){let[a,l]=h1(""),c=r7(!1);async function o(t,i){c.value=i.open}let{dispatchToast:r,updateToast:e}=x4(U3),h=(t)=>{switch(t){case"progress":r(/*@__PURE__*/H(H2,{children:/*@__PURE__*/H(u2,{media:/*@__PURE__*/H(D5,{size:"tiny"},void 0,!1,void 0,this),children:"Creating..."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{toastId:U3,timeout:-1});break}};async function Z(){if(!a)return;h("progress");let t=await p8(j1,a);if(t&&t.name){e({content:/*@__PURE__*/H(H2,{children:/*@__PURE__*/H(u2,{children:"Application created."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"success",toastId:U3,timeout:2000}),c.value=!1;return}e({content:/*@__PURE__*/H(H2,{children:/*@__PURE__*/H(u2,{children:"Error occured. Please check console."},void 0,!1,void 0,this)},void 0,!1,void 0,this),intent:"error",toastId:U3,timeout:2000})}return/*@__PURE__*/H(s5,{open:c.value,surfaceMotion:null,modalType:"alert",onOpenChange:o,children:[/*@__PURE__*/H(B0,{disableButtonEnhancement:!0,children:/*@__PURE__*/H(m2,{appearance:"primary",icon:/*@__PURE__*/H(L6,{},void 0,!1,void 0,this),children:"Create collection"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(_2,{children:/*@__PURE__*/H(M2,{children:[/*@__PURE__*/H(p2,{action:/*@__PURE__*/H(B0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/H(f1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/H(I2,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),children:"Create new collection"},void 0,!1,void 0,this),/*@__PURE__*/H(A2,{style:{padding:"16px 0"},children:/*@__PURE__*/H(N0,{value:a,style:{width:"100%"},placeholder:"Enter application name",onChange:(t,i)=>{l(i.value)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(d2,{children:[/*@__PURE__*/H(B0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/H(f1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{appearance:"primary",onClick:()=>{Z()},children:"Create"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function FV({app:a,onChange:l}){return/*@__PURE__*/H(f0,{defaultChecked:a.activated,onChange:(c,o)=>{l?.(a,o.checked)}},void 0,!1,void 0,this)}var kI1="[SPFxExtensions/Loader]";var yI1="spfx-extensions-core.js",OI1="spfx-extensions-coreconfigurator.js",PI1="https://localhost",xV="SPFXEXT",I7="SPFXEXT_";function Ay(){try{let a=[];for(let l=0;l<window.localStorage.length;l++){let c=window.localStorage.key(l);if(c)a.push(c)}return a}catch{return[]}}function my(a){try{return window.localStorage.getItem(a)}catch{return null}}function Hy(){return Ay().some((a)=>{let l=a.indexOf(xV)>-1,c=my(a)??"",o=/^\d+$/.test(c),r=c.trim()!=="";return l&&(o||r)})}function Xe(a){try{let l=`${I7}${a}`,c=window.localStorage.getItem(l)?.trim()??"",o=/^\d+$/.test(c??""),r=c.trim()!=="";if(o)return Number(c)>0;return r}catch{return!1}}var qI1=Hy();function gV({app:a}){let[l,c]=h1(window.localStorage.getItem(`${I7}${a.name}`)??""),[o,r]=h1(!1);return/*@__PURE__*/H(n2,{positioning:"after",open:o,children:[/*@__PURE__*/H(z5,{disableButtonEnhancement:!0,children:/*@__PURE__*/H(c4,{checked:Xe(a.name),onChange:()=>{r(!o)}},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(v2,{tabIndex:-1,children:[/*@__PURE__*/H(N0,{defaultValue:l,onChange:(e,h)=>{c(h.value)}},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{appearance:"primary",onClick:()=>{window.localStorage.setItem(`${I7}${a.name}`,l),r(!1)},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}async function uy(a){try{Bc.value=U1(a),await nV(j1,a.name),t7.value=t7.value.filter((l)=>l.name!==a.name)}finally{Bc.value=void 0}}function LV({item:a}){let[l,c]=h1(!1);function o(r,e){c(e.open)}return/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H(D0,{disabled:Bc?.value?.name!==void 0,onClick:()=>{c(!0)},children:/*@__PURE__*/H("div",{style:{display:"flex"},children:[/*@__PURE__*/H(rm,{},void 0,!1,void 0,this),Bc.value?.name===a.name&&/*@__PURE__*/H(D5,{size:"extra-small"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(s5,{open:l,surfaceMotion:null,modalType:"modal",onOpenChange:o,children:/*@__PURE__*/H(_2,{children:/*@__PURE__*/H(M2,{children:[/*@__PURE__*/H(p2,{children:["Delete ",a.name,"?"]},void 0,!0,void 0,this),/*@__PURE__*/H(A2,{children:[/*@__PURE__*/H(Q5,{children:["Are you sure you want to delete app collection ",/*@__PURE__*/H("b",{children:a.name},void 0,!1,void 0,this),"?"]},void 0,!0,void 0,this),/*@__PURE__*/H("br",{},void 0,!1,void 0,this),/*@__PURE__*/H(Q5,{children:["Deleting appcollection will result in deletion of all files in"," ",/*@__PURE__*/H(D0,{target:"_blank",onClick:()=>{window.open(`${$e}/${w1}/${a.name}`,"_blank")},children:"this location"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(d2,{children:[/*@__PURE__*/H(f1,{appearance:"primary",onClick:()=>{uy(a),c(!1)},children:"Yes"},void 0,!1,void 0,this),/*@__PURE__*/H(B0,{disableButtonEnhancement:!0,children:/*@__PURE__*/H(f1,{appearance:"secondary",children:"No"},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function u8(a,l,c="86px"){return/*@__PURE__*/H(b0,{size:"medium",color:a,style:{width:c},children:l},void 0,!1,void 0,this)}function D3({webs:a,control:l,onDeleteClick:c,additionalIcon:o,disableControl:r}){if(a.length===0)return null;function e(Z,t){if(!x1.value)return;let i=U1(x1.value),n=i.config.excludedIds.filter((_)=>Z.id!==_),v=i.config.excludedHubIds.filter((_)=>Z.id!==_),d=i.config.includedIds.filter((_)=>Z.id!==_),M=i.config.includedHubIds.filter((_)=>Z.id!==_);if(!i.config.enabledEverywhere&&t)d.push(Z.id);if(i.config.enabledEverywhere&&!t)n.push(Z.id);i.config.excludedIds=n,i.config.excludedHubIds=v,i.config.includedIds=d,i.config.includedHubIds=M,x1.value=i}function h(Z){if(!x1.value)return!1;if(x1.value.config.enabledEverywhere)return!x1.value.config.excludedIds.includes(Z.id);return x1.value.config.includedIds.includes(Z.id)}return/*@__PURE__*/H(i1,{children:a.map((Z)=>/*@__PURE__*/H(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"36px"},children:[/*@__PURE__*/H(Z1,{horizontal:!0,gap:8,verticalAlign:"center",children:[o,u8(void 0,"Web","64px"),/*@__PURE__*/H(J5,{children:`${Z.url}`},void 0,!1,void 0,this)]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/H(f0,{disabled:r,onChange:(t,i)=>{e(Z,i.checked)},checked:h(Z)},void 0,!1,void 0,this):/*@__PURE__*/H(f1,{onClick:()=>c?.({item:Z,itemType:"web"}),icon:/*@__PURE__*/H(v3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}function s8({siteCollections:a,control:l,onDeleteClick:c,additionalIcon:o,disableControl:r}){function e(h,Z){if(!x1.value)return;let t=U1(x1.value),i=t.config.excludedIds.filter((v)=>!h.webs.some((d)=>d.id===v)&&h.siteId!==v),n=t.config.includedIds.filter((v)=>!h.webs.some((d)=>d.id===v)&&h.siteId!==v);if(!t.config.enabledEverywhere&&Z)n.push(h.siteId);if(t.config.enabledEverywhere&&!Z)i.push(h.siteId);t.config.excludedIds=i,t.config.includedIds=n,x1.value=t}return/*@__PURE__*/H(i1,{children:a.map((h)=>/*@__PURE__*/H(Z1,{children:[/*@__PURE__*/H(Z1,{horizontal:!0,style:{minHeight:"36px"},verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/H(Z1,{horizontal:!0,verticalAlign:"center",gap:8,children:[u8("warning","Site"),h.url]},void 0,!0,void 0,this),l==="switch"?/*@__PURE__*/H(f0,{checked:(x1.value?.config?.enabledEverywhere||x1.value?.config?.includedIds?.includes(h.siteId))&&!x1.value?.config?.excludedIds?.includes(h.siteId),disabled:r,onChange:(Z,t)=>{e(h,t.checked)}},void 0,!1,void 0,this):/*@__PURE__*/H(f1,{onClick:()=>c?.({item:h,itemType:"site"}),icon:/*@__PURE__*/H(v3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(D3,{webs:h.webs,control:l,onDeleteClick:c,additionalIcon:o,disableControl:r||x1.value?.config.excludedIds.includes(h.siteId)||x1.value?.config.includedIds.includes(h.siteId)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}function Ke({hubSites:a,onDeleteClick:l,control:c}){function o(r,e){if(!x1.value)return;let h=U1(x1.value);function Z(d){let M=!r.webs.some((m)=>m.id===d||m.hubid===d),_=!r.sites.some((m)=>m.id===d||m.hubid===d),p=!r.sites.some((m)=>m.webs.some((u)=>u.id===d||u.hubid===d)),A=r.hubid!==d&&r.siteId!==d;return M&&_&&p&&A}let t=h.config.excludedIds.filter(Z),i=h.config.excludedHubIds.filter(Z),n=h.config.includedIds.filter(Z),v=h.config.includedHubIds.filter(Z);if(!h.config.enabledEverywhere&&e)v.push(r.hubid);if(h.config.enabledEverywhere&&!e)i.push(r.hubid);h.config.excludedIds=t,h.config.excludedHubIds=i,h.config.includedIds=n,h.config.includedHubIds=v,x1.value=h}return/*@__PURE__*/H(i1,{children:a.map((r)=>/*@__PURE__*/H(Z1,{children:[/*@__PURE__*/H(Z1,{horizontal:!0,verticalAlign:"center",horizontalAlign:"space-between",children:[/*@__PURE__*/H(Z1,{horizontal:!0,gap:8,verticalAlign:"center",style:{height:"36px"},children:[u8("success","Hub"),r.url]},void 0,!0,void 0,this),c==="switch"?/*@__PURE__*/H(f0,{checked:(x1.value?.config?.enabledEverywhere||x1.value?.config?.includedHubIds?.includes(r.hubid))&&!x1.value?.config?.excludedHubIds?.includes(r.hubid),onChange:(e,h)=>{o(r,h.checked)}},void 0,!1,void 0,this):/*@__PURE__*/H(f1,{onClick:()=>l?.({item:r,itemType:"hub"}),icon:/*@__PURE__*/H(v3,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(s8,{control:c,siteCollections:r.sites,onDeleteClick:l,additionalIcon:/*@__PURE__*/H(g6,{},void 0,!1,void 0,this),disableControl:x1.value?.config.excludedHubIds.includes(r.hubid)||x1.value?.config.includedHubIds.includes(r.hubid)},void 0,!1,void 0,this),/*@__PURE__*/H(D3,{control:c,webs:r.webs,onDeleteClick:l,additionalIcon:/*@__PURE__*/H(Ko,{},void 0,!1,void 0,this),disableControl:x1.value?.config.excludedHubIds.includes(r.hubid)||x1.value?.config.includedHubIds.includes(r.hubid)},void 0,!1,void 0,this)]},void 0,!0,void 0,this))},void 0,!1,void 0,this)}var sy={invalid:{message:"Invalid URL"},duplicate:{message:"URL already exists"}};function CV(a){let l;if(!(a.toLowerCase().startsWith(window.location.origin.toLowerCase())||a.startsWith("/")))l=sy.invalid;return{urlInput:a,error:l}}function RV(){let[a,l]=h1(""),[c,o]=h1(""),[r,e]=h1(!1);async function h(){if(!c)return;let Z=CV(c);if(Z.error){l(Z.error.message);return}let t=c.startsWith("/")?new URL(c,window.location.origin):new URL(c);e(!0);let i=await AV(t,!0);if(e(!1),i.isError){l(i.error);return}if(F5()){if(!i.data.every((v)=>v.hubid===R2.data.HubSiteId)){l("You can only add child hub sites when configuring a hub root.");return}}let n=U1(u0.value);n.urlMap=n.urlMap.filter((v)=>{return!i.data.some((d)=>d.id===v.id)}),n.urlMap.push(...i.data),u0.value=n,l(""),o("")}return/*@__PURE__*/H(Z1,{style:{padding:"8px 24px",width:"100%"},gap:8,children:[/*@__PURE__*/H(E7,{intent:"info",children:/*@__PURE__*/H(q7,{children:"Add site collections and hub child sites."},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{horizontal:!0,gap:8,children:[/*@__PURE__*/H(N0,{style:{width:"100%"},onChange:(Z,t)=>{o(t.value)},onKeyDown:(Z)=>{if(Z.key==="Enter")h()},onFocus:()=>{l("")},value:c,placeholder:"Site/Web URL"},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{disabled:!c||r,onClick:()=>h(),icon:r?/*@__PURE__*/H(D5,{size:"tiny"},void 0,!1,void 0,this):/*@__PURE__*/H(L6,{},void 0,!1,void 0,this),children:"Add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),a?/*@__PURE__*/H(J5,{style:{color:r2.colorPaletteRedForeground1},children:a},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)}var V8=R0(!1);function wV(){let a=S7(),[l,c]=h1(!1),[o,r]=h1(!1),[e,h]=h1(u0.value),[Z,t]=h1([]),[i,n]=h1([]),[v,d]=h1([]);$5(()=>{if(!u0.value)return;if(!e){h(u0.value);return}let p=JSON.stringify(u0.value),A=JSON.stringify(e);h(u0.value),r(p!==A)}),$5(()=>{if(!u0.value)return;if(w2){let p=qe(u0.value.urlMap);t(p.hubs),n(p.sites),d(p.webs);return}if(!w2&&F5())Je(j1,u0.value.urlMap).then((p)=>{if(p)t([p])})});function M(p){if(!u0.value)return;let A=U1(u0.value);if(p.itemType==="hub")A.urlMap=A.urlMap.filter((m)=>m.hubid!==p.item.hubid);if(p.itemType==="site")A.urlMap=A.urlMap.filter((m)=>m.siteId!==p.item.siteId);if(p.itemType==="web")A.urlMap=A.urlMap.filter((m)=>m.id!==p.item.id);u0.value=A}async function _(){if(!u0.value)return;c(!0);try{await Ee(j1,u0.value)}finally{c(!1),r(!1),V8.value=!1}}return/*@__PURE__*/H(s2,{...a,separator:!0,open:V8.value,onOpenChange:()=>{},position:"end",size:"large",children:[/*@__PURE__*/H(f2,{children:/*@__PURE__*/H(F2,{action:/*@__PURE__*/H(f1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/H(I2,{},void 0,!1,void 0,this),onClick:()=>{V8.value=!1}},void 0,!1,void 0,this),children:"Manage sites"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(V2,{children:/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H(RV,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{gap:12,children:[Z.length>0?/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H(a5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/H(G5,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{children:/*@__PURE__*/H(Ke,{hubSites:Z,control:"delete",onDeleteClick:M},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,i.length>0?/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H(a5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/H(G5,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{children:/*@__PURE__*/H(s8,{siteCollections:i,control:"delete",additionalIcon:/*@__PURE__*/H(g6,{},void 0,!1,void 0,this),onDeleteClick:M},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null,v.length>0?/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H(a5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/H(G5,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{children:/*@__PURE__*/H(D3,{webs:v,control:"delete",onDeleteClick:M},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this):null]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(W7,{children:/*@__PURE__*/H(Z1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/H(f1,{appearance:"secondary",onClick:()=>{V8.value=!1},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{disabled:!o||l,appearance:"primary",onClick:()=>{_()},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}async function Vy(a,l){let c=await _8(j1),o=c.data.enabledAppCollections.includes(a.name);if(l!==o){if(l)c.data.enabledAppCollections.push(a.name);else c.data.enabledAppCollections.splice(c.data.enabledAppCollections.indexOf(a.name),1);await Ee(j1,c.data)}a.activated=l,qv(a)}var fy=[{columnId:"name",text:"App Collection"},{columnId:"enabled",text:"Enabled"},{columnId:"InDebug",text:"In Debug"},{columnId:"Delete",text:""}];function SV(a){if(C1.value)return null;return/*@__PURE__*/H(Z1,{gap:16,children:[/*@__PURE__*/H(H4,{children:/*@__PURE__*/H(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/H(fV,{},void 0,!1,void 0,this),w2||F5()?/*@__PURE__*/H(m2,{appearance:"secondary",onClick:()=>{V8.value=!0},icon:/*@__PURE__*/H(JA,{},void 0,!1,void 0,this),children:"Manage sites"},void 0,!1,void 0,this):null]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(s4,{children:[/*@__PURE__*/H(V4,{children:/*@__PURE__*/H(F3,{children:fy.map((l)=>/*@__PURE__*/H(F4,{children:l.text},l.columnId,!1,void 0,this))},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(u4,{children:t7.value.map((l)=>/*@__PURE__*/H(F3,{children:[/*@__PURE__*/H(a7,{children:/*@__PURE__*/H(l7,{media:/*@__PURE__*/H(QA,{},void 0,!1,void 0,this),children:/*@__PURE__*/H(D0,{onClick:()=>{C1.value=U1(l)},children:l.name},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(a7,{children:/*@__PURE__*/H(l7,{children:/*@__PURE__*/H(FV,{app:l,onChange:Vy},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(a7,{children:/*@__PURE__*/H(l7,{children:/*@__PURE__*/H(gV,{app:l},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(a7,{children:/*@__PURE__*/H(l7,{children:/*@__PURE__*/H(LV,{item:l},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},l.name,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}async function Fy(a,l){let c=Z7(a),o=a.web.getFileByUrl(`${w1}/${l}/${k0}`),r=await o.exists(),e={data:_c,error:"",isError:!1,warnings:[]};if(!r)return await p8(a,l),await a.web.lists.getByTitle(w1).rootFolder.folders.getByUrl(l).files.addUsingPath(k0,JSON.stringify(_c)),L0(`Created ${k0} in ${w1}/${l} folder in ${c}`),e;try{let Z=await(await o.getBlob()).text(),t=JSON.parse(Z);return e.data=t,e}catch(h){let Z=`Error while parsing ${k0} in ${w1}/${l} folder in ${c}`;return m1(Z,h),e.error=Z,e.isError=!0,e}}async function GV(a,l,c){await Fy(a,l);let o=a.web.getFileByUrl(`${w1}/${l}/${k0}`);try{return await o.setContent(JSON.stringify(Pe(c))),!0}catch(r){let e=Z7(a);return m1(`Error while updating ${k0} in ${w1}/${l} folder in ${e}`,r),!1}}var xy=l6({root:{height:"auto",width:"auto"},verticalFill:{height:"100%"},disableShrink:{flexShrink:0},alignAuto:{alignSelf:"auto"},alignStretch:{alignSelf:"stretch"},alignBaseline:{alignSelf:"baseline"},alignStart:{alignSelf:"start"},alignCenter:{alignSelf:"center"},alignEnd:{alignSelf:"end"}});function UV(a){let l=xy(),c=[l.root],o={};if(a.disableShrink)c.push(l.disableShrink);else if(a.shrink)o.flexShrink=a.shrink;if(a.grow)o.flexGrow=a.grow;if(a.basis)o.flexBasis=a.basis;if(gy(a,c,l),a.className)c.push(a.className);return/*@__PURE__*/H("div",{className:c.join(" "),style:{...o},children:a.children},void 0,!1,void 0,this)}function gy(a,l,c){switch(a.align){case"start":l.push(c.alignStart);break;case"end":l.push(c.alignEnd);break;case"center":l.push(c.alignCenter);break;case"stretch":l.push(c.alignStretch);break;case"baseline":l.push(c.alignBaseline);break;case"auto":l.push(c.alignAuto);break}}async function DV(a,l=0){let o=(/*@__PURE__*/new TextEncoder()).encode(a),r=await window.crypto.subtle.digest("SHA-1",o),h=Array.from(new Uint8Array(r)).map((Z)=>Z.toString(16).padStart(2,"0")).join("");return l>0?h.substring(0,l):h}var zv=(a,l)=>l.some((c)=>a instanceof c),BV,kV;function Ly(){return BV||(BV=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Cy(){return kV||(kV=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}var Qv=/*@__PURE__*/new WeakMap,Wv=/*@__PURE__*/new WeakMap,je=/*@__PURE__*/new WeakMap;function Ry(a){let l=new Promise((c,o)=>{let r=()=>{a.removeEventListener("success",e),a.removeEventListener("error",h)},e=()=>{c(B3(a.result)),r()},h=()=>{o(a.error),r()};a.addEventListener("success",e),a.addEventListener("error",h)});return je.set(l,a),l}function wy(a){if(Qv.has(a))return;let l=new Promise((c,o)=>{let r=()=>{a.removeEventListener("complete",e),a.removeEventListener("error",h),a.removeEventListener("abort",h)},e=()=>{c(),r()},h=()=>{o(a.error||new DOMException("AbortError","AbortError")),r()};a.addEventListener("complete",e),a.addEventListener("error",h),a.addEventListener("abort",h)});Qv.set(a,l)}var Jv={get(a,l,c){if(a instanceof IDBTransaction){if(l==="done")return Qv.get(a);if(l==="store")return c.objectStoreNames[1]?void 0:c.objectStore(c.objectStoreNames[0])}return B3(a[l])},set(a,l,c){return a[l]=c,!0},has(a,l){if(a instanceof IDBTransaction&&(l==="done"||l==="store"))return!0;return l in a}};function TV(a){Jv=a(Jv)}function Sy(a){if(Cy().includes(a))return function(...l){return a.apply(Iv(this),l),B3(this.request)};return function(...l){return B3(a.apply(Iv(this),l))}}function Gy(a){if(typeof a==="function")return Sy(a);if(a instanceof IDBTransaction)wy(a);if(zv(a,Ly()))return new Proxy(a,Jv);return a}function B3(a){if(a instanceof IDBRequest)return Ry(a);if(Wv.has(a))return Wv.get(a);let l=Gy(a);if(l!==a)Wv.set(a,l),je.set(l,a);return l}var Iv=(a)=>je.get(a);function EV(a,l,{blocked:c,upgrade:o,blocking:r,terminated:e}={}){let h=indexedDB.open(a,l),Z=B3(h);if(o)h.addEventListener("upgradeneeded",(t)=>{o(B3(h.result),t.oldVersion,t.newVersion,B3(h.transaction),t)});if(c)h.addEventListener("blocked",(t)=>c(t.oldVersion,t.newVersion,t));return Z.then((t)=>{if(e)t.addEventListener("close",()=>e());if(r)t.addEventListener("versionchange",(i)=>r(i.oldVersion,i.newVersion,i))}).catch(()=>{}),Z}function qV(a,{blocked:l}={}){let c=indexedDB.deleteDatabase(a);if(l)c.addEventListener("blocked",(o)=>l(o.oldVersion,o));return B3(c).then(()=>{return})}var Uy=["get","getKey","getAll","getAllKeys","count"],Dy=["put","add","delete","clear"],bv=/*@__PURE__*/new Map;function yV(a,l){if(!(a instanceof IDBDatabase&&!(l in a)&&typeof l==="string"))return;if(bv.get(l))return bv.get(l);let c=l.replace(/FromIndex$/,""),o=l!==c,r=Dy.includes(c);if(!(c in(o?IDBIndex:IDBObjectStore).prototype)||!(r||Uy.includes(c)))return;let e=async function(h,...Z){let t=this.transaction(h,r?"readwrite":"readonly"),i=t.store;if(o)i=i.index(Z.shift());return(await Promise.all([i[c](...Z),r&&t.done]))[0]};return bv.set(l,e),e}TV((a)=>({...a,get:(l,c,o)=>yV(l,c)||a.get(l,c,o),has:(l,c)=>!!yV(l,c)||a.has(l,c)}));var By=["continue","continuePrimaryKey","advance"],OV={},$v=/*@__PURE__*/new WeakMap,WV=/*@__PURE__*/new WeakMap,ky={get(a,l){if(!By.includes(l))return a[l];let c=OV[l];if(!c)c=OV[l]=function(...o){$v.set(this,WV.get(this)[l](...o))};return c}};async function*yy(...a){let l=this;if(!(l instanceof IDBCursor))l=await l.openCursor(...a);if(!l)return;l=l;let c=new Proxy(l,ky);WV.set(c,l),je.set(c,Iv(l));while(l)yield c,l=await($v.get(c)||l.continue()),$v.delete(c)}function PV(a,l){return l===Symbol.asyncIterator&&zv(a,[IDBIndex,IDBObjectStore,IDBCursor])||l==="iterate"&&zv(a,[IDBIndex,IDBObjectStore])}TV((a)=>({...a,get(l,c,o){if(PV(l,c))return yy;return a.get(l,c,o)},has(l,c){return PV(l,c)||a.has(l,c)}}));var Y1={AppFolderManifestCache:"AppFolderManifestCache",AppCollectionManifestCache:"AppCollectionManifestCache",AllowedApps:"AllowedApps",HubSiteData:"HubSiteData",SPFxExtensionConfig:"SPFxExtensionConfig"},bV=`${I7}COREDB`,Yv=EV(bV,1,{blocking(a,l,c){Yv.then((o)=>o.close()),alert("A new version of this page is ready. Please reload the page.")},async upgrade(a,l,c,o,r){if(l===0)a.createObjectStore(Y1.AppFolderManifestCache,{keyPath:"url"}),a.createObjectStore(Y1.AppCollectionManifestCache,{keyPath:"url"}),a.createObjectStore(Y1.AllowedApps,{keyPath:"Id"}),a.createObjectStore(Y1.HubSiteData,{keyPath:"SiteId"}),a.createObjectStore(Y1.SPFxExtensionConfig,{keyPath:"Title"})}});Yv.catch((a)=>{throw m1("Error opening database for Core, please contact your administrator."),qV(bV).then(()=>{window.location.reload()}),a});var o5=await Yv;function f8(a){let l="never";if(a!==1/0){let c=/*@__PURE__*/new Date;c.setMinutes(c.getMinutes()+a),l=c.toISOString()}return{expires:l}}async function F8(a,l){let c=await o5.getAll(a),o=/*@__PURE__*/new Date,r=c.filter((h)=>{if(h.expires==="never")return!1;let Z=new Date(h.expires);return o>=Z}),e=r.length;if(e>0){let h=o5.transaction(a,"readwrite"),Z=h.objectStore(a);r.forEach((t)=>Z.delete(t[l])),await h.done,g2(`Evicted ${e} items from ${a} cache.`)}return e}async function Xv(){return await F8(Y1.SPFxExtensionConfig,"Title"),o5.getAll(Y1.SPFxExtensionConfig)}async function k3(a){return await F8(Y1.SPFxExtensionConfig,"Title"),o5.get(Y1.SPFxExtensionConfig,a)}async function S2(a,l=60){await o5.put(Y1.SPFxExtensionConfig,{...a,...f8(l)})}async function zV(a,l){let c=o5.transaction(Y1.SPFxExtensionConfig,"readwrite"),o=c.objectStore(Y1.SPFxExtensionConfig);return a.forEach((r)=>o.put({...r,...f8(l)})),c.done}async function QV(){return o5.getAll(Y1.AllowedApps)}async function JV(a){return o5.get(Y1.AppFolderManifestCache,a)}async function IV(a){return o5.get(Y1.AppCollectionManifestCache,a)}async function yY1(a){return o5.get(Y1.HubSiteData,a)}async function OY1(a,l=60){await o5.put(Y1.HubSiteData,{...a,...f8(l)})}async function $V(a,l=5){let c=f8(l),o=o5.transaction(Y1.AllowedApps,"readwrite"),r=o.objectStore(Y1.AllowedApps);return a.forEach((e)=>r.put({...e,...c})),o.done}async function Oy(a){return o5.delete(Y1.AppCollectionManifestCache,a)}async function Py(a){return o5.delete(Y1.AppFolderManifestCache,a)}async function YV(){return F8(Y1.AllowedApps,"Id")}async function PY1(){return F8(Y1.HubSiteData,"SiteId")}async function XV(a){if(a){let l=await JV(a.url);if(l){if(l.hash!==a.hash){await Py(a.url);let c=a.url.toLowerCase().replace(`/${k0}`,"");await Ne([c],!1),g2(`Evicted ${k0} ${l.url} from cache. Because of hash mismatch.`)}}}return F8(Y1.AppFolderManifestCache,"url")}async function KV(a){if(a){let l=await IV(a.url);if(l){if(l.hash!==a.hash)await Oy(a.url),await Ne([a.url],!1),g2(`Evicted ${c7} ${l.url} from cache. Because of hash mismatch.`)}}return F8(Y1.AppCollectionManifestCache,"url")}async function TY1(a){return await XV(),JV(a)}async function EY1(a,l){await XV(a),await o5.put(Y1.AppFolderManifestCache,{...a,...f8(l)})}async function qY1(a,l){await KV(a),await o5.put(Y1.AppCollectionManifestCache,{...a,...f8(l)})}async function WY1(a){return await KV(),IV(a)}var Kv=/*@__PURE__*/new Map;async function jV(a,l=!1){let c="";if(Kv.has(a)&&!l)c=Kv.get(a)||"";if(c)return c;let o=await fetch(`${a}/_api/contextinfo`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json"}});if(o.status===200){let e=(await o.json()).d.GetContextWebInformation.FormDigestValue;return Kv.set(a,e),e}else m1("Error while getting digest",o.status);return""}var jv=(a)=>{},ah;async function lh(a=""){if(ah)return ah;ah=new Promise((l)=>{jv=l});try{let o=(await(await fetch(`${a}/_api/SP_TenantSettings_Current`,{headers:{Accept:"application/json;odata=verbose"}})).json()).d.CorporateCatalogUrl;jv(o)}catch(l){m1("Error while getting app catalog url. Trying default /sites/appcatalog",l);let c=`${window.location.origin}/sites/appcatalog`;jv(c)}return ah}async function NV(a=""){let l=await k3("AppCatalogUrl");if(l?.Data)return l.Data;let c=await lh(a);return await S2({Title:"AppCatalogUrl",Data:c},240),c}async function x5(a=""){let c=`${await NV()}${a?`/${a}`:""}`;return jV(c)}var Ty=await NV(),h0=`${Ty}/${m0}`;var lf={RootCDNLocation:"RootCDNLocation",InterceptHistory:"InterceptHistory",EnableAppWhiteList:"EnableAppWhiteList",AppCatalogUrl:"AppCatalogUrl",SPFxDataSite:"SPFxDataSite",ConfiguratorPageData:"ConfiguratorPageData",AppWhiteList:"AppWhiteList",Version:"2026-03-21T16:19:46.226Z"},af=[{Title:"InterceptHistory",Data:"true"},{Title:"EnableAppWhiteList",Data:"false"},{Title:"RootCDNLocation",Data:`/sites/appcatalog/${m0}`}];function cf(a){let l=af.find((c)=>c.Title==="RootCDNLocation");if(l)l.Data=a;return af}var Ey=Object.keys(lf).length,ch;async function qy(){let a=`${h0}/_api/web/lists/GetByTitle('${K6}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){let o=(await l.json()).d.results,r=o.map((h)=>h.InternalName),e=o.find((h)=>h.InternalName==="Title");if(!e){m1("Title field not found.");return}if(!e.EnforceUniqueValues){let h=await x5(m0);if((await fetch(`${h0}/_api/web/lists/GetByTitle('${K6}')/fields('${e.Id}')`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":h,"X-HTTP-Method":"MERGE","If-Match":"*"},body:JSON.stringify({__metadata:{type:"SP.Field"},Indexed:!0,EnforceUniqueValues:!0})})).status===204)L0("Title field updated successfully.");else m1("Unable to update Title field.")}if(!r.includes("Data")){let h=await x5(m0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":h},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:"Data",FieldTypeKind:2,Required:!0})})).status===201)L0("Data field added successfully.");else m1("Unable to add Data field.")}}}catch(l){m1("Error while ensuring configuration list data fields.",l)}}async function Wy(){let a=!1;try{if(a=(await fetch(`${h0}/_api/web/lists/GetByTitle('${K6}')`)).status===404,a){let c=await x5(m0);if(L0("Creating configuration list."),(await fetch(`${h0}/_api/web/lists`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":c},body:JSON.stringify({__metadata:{type:"SP.List"},BaseTemplate:100,Title:"SPFxExtensionsConfiguration",Description:"Configuration list for SPFxExtensions"})})).status===201)L0("Configuration list created successfully.");else m1("Unable to create configuration list.")}await qy()}catch(l){m1("Error while ensuring configuration list.",l)}return a}async function of(){let a=`${h0}/_api/web/lists/GetByTitle('${K6}')/items?$select=Title,Data`,c=await fetch(a,{...{headers:{Accept:"application/json;odata=verbose"}}});if(c.status!==200)return m1("Unable to fetch configuration list items."),[];return(await c.json()).d.results}async function by(){let a=await x5(m0);for(let l of cf(h0))if((await fetch(`${h0}/_api/web/lists/GetByTitle('${K6}')/items`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":a},body:JSON.stringify({__metadata:{type:"SP.Data.SPFxExtensionsConfigurationListItem"},...l})})).status===201)L0(`Item ${l.Title} added successfully.`);else m1(`Unable to add item ${l.Title}.`)}function rf(a=!1){if(a)return of();if(ch)return ch;return ch=zy(),ch}async function zy(){let a=await Xv();if(a.length<Ey){if(await Wy())await by();let c=await of();await zV(c,240),a=await Xv()}return a}async function Qy(a){let l=await lh(),c=await x5(),o=await fetch(`${l}/_api/web/webs/add`,{method:"POST",headers:{Accept:"application/json;odata=nometadata","Content-Type":"application/json","X-RequestDigest":c},body:JSON.stringify({parameters:{Description:"Site that stores SPFxExtensions Data and global apps",Language:1033,Title:"SPFxExtensions Data",Url:a,UseSamePermissionsAsParentSite:!0,WebTemplate:"STS"}})});if(!o.ok)throw Error(`Failed to create SPFxExtensionsData web in ${l}`);return await o.json()}async function Jy(){let a=await lh(),l=await x5(),c=await fetch(`${a}/${m0}/_api/web`,{method:"GET",headers:{Accept:"application/json;odata=nometadata","X-RequestDigest":l}});if(!c.ok){if(c.status===404)return{data:void 0,isError:!1,error:"",warnings:[`SPFxExtensionsData web not found in ${a}`]};return m1(`Failed to fetch data from ${a}/${m0}/_api/web`),{data:void 0,isError:!0,error:`Failed to fetch data from ${a}/${m0}/_api/web`,warnings:[]}}return{data:await c.json(),isError:!1,error:"",warnings:[]}}async function Iy(){return(await k3("SPFxDataSite"))?.Data}var oh;function ef(){if(oh)return oh;return oh=$y(),oh}async function $y(){let a=await Iy();if(!a){let l=await Jy();if(!l.isError&&!l.data){let c=await Qy(m0);l.data=c}return await S2({Title:"SPFxDataSite",Data:l.data},240),l.data}return a}var Nv="f3ab710f-2c08-422e-a7ad-5d93eb51e7a3",rh={accept:"application/json"},Yy={"Content-Type":"application/json"};async function Xy(){let l={"X-RequestDigest":await x5(m0)};return(await(await fetch(`${h0}/_api/sitepages/pages`,{headers:{...rh,...l,...Yy},body:JSON.stringify({PageLayoutType:"SingleWebPartAppPage",PromotedState:0}),method:"POST"})).json()).Id}async function an(){let a=await fetch(`${h0}/_api/sitepages/pages/GetByUrl('${ne}')`,{headers:{...rh},method:"GET"});if(a.status===404)return;return await a.json()}var Ky=[{dataVersion:"1.4",description:"Title Region Description",id:"cbe7b0a9-3504-44dd-a3a3-0e5cacd07788",instanceId:"cbe7b0a9-3504-44dd-a3a3-0e5cacd07788",properties:{authorByline:[],authors:[],layoutType:"FullWidthImage",showPublishDate:!1,showTopicHeader:!1,textAlignment:"Left",title:"SPFx Extensions Configurator",topicHeader:"",enableGradientEffect:!0},reservedHeight:280,serverProcessedContent:{htmlStrings:{},searchablePlainTexts:{},imageSources:{},links:{}},title:"Title area"}],jy=[{addedFromPersistedData:!1,controlType:3,displayMode:2,emphasis:{},id:Nv,position:{controlIndex:1,layoutIndex:1,sectionFactor:12,sectionIndex:1,zoneIndex:1},reservedHeight:500,reservedWidth:500,webPartData:{dataVersion:"1.0",description:"Allows you to add a custom developed app",id:Ei,instanceId:Nv,properties:{description:"Select an app to load from the dropdown below",selectedApp:rs,SPFxExtensionAppConfiguration:void 0},title:"SPFx Extension Loader"},webPartId:Ei},{controlType:0,pageSettingsSlice:{isDefaultDescription:!0,isDefaultThumbnail:!0}}],Ny={CanvasContent1:`${JSON.stringify(jy)}`,LayoutWebpartsContent:`${JSON.stringify(Ky)}`,Title:es};async function hf(a){let c={"X-RequestDigest":await x5(m0)};await fetch(`${h0}/_api/sitepages/pages(${a})/savepage`,{headers:{"Content-Type":"application/json",...rh,...c},body:JSON.stringify(Ny),method:"POST"}),await fetch(`${h0}/_api/sitepages/pages(${a})/publish`,{headers:{...rh,...c},method:"POST"})}async function aO(){let a=await Xy();return await hf(a),an()}async function lO(){let a=await k3("ConfiguratorPageData");if(a?.Data)return a.Data;let l=await an();if(l)await S2({Title:"ConfiguratorPageData",Data:l},480);return l}async function Zf(){let a=await lO();if(!a)return aO();if(a.CanvasContent1.indexOf(Nv)===-1){await hf(a.Id);let l=await an();return await S2({Title:"ConfiguratorPageData",Data:l},480),l}return a}async function cO(){let a=`${h0}/_api/web/lists/GetByTitle('${j6}')/fields`;try{let l=await fetch(a,{headers:{Accept:"application/json;odata=verbose"}});if(l.status===200){if(!(await l.json()).d.results.map((e)=>e.InternalName).some((e)=>e==="EntryPointUrl"))await oO(a,"EntryPointUrl","Full URL to the Entrypoint JS file, if * is specified all entries will be allowed.",!0)}}catch(l){m1("Error while ensuring list fields.",l)}}async function oO(a,l,c,o){let r=await x5(m0);if((await fetch(a,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":r},body:JSON.stringify({__metadata:{type:"SP.Field"},Title:l,FieldTypeKind:3,Required:o,Description:c})})).status===201)L0(l,"field added successfully.");else m1(l,"Unable to add field.")}async function rO(){try{let a=await fetch(`${h0}/_api/web/lists/GetByTitle('${j6}')?$select=*`,{method:"GET",headers:{Accept:"application/json;odata=verbose"}});if(a.status===404){L0("Creating app white list.");let c=await x5(m0),o=await fetch(`${h0}/_api/web/lists`,{method:"POST",headers:{Accept:"application/json;odata=verbose","Content-Type":"application/json;odata=verbose","X-RequestDigest":c},body:JSON.stringify({__metadata:{type:"SP.List"},BaseTemplate:100,Title:j6,Description:"App whitelist for SPFxExtensions"})});if(o.status===201)return L0("App whitelist created successfully."),o.json();else{m1("Unable to create app whitelist.");return}}return await cO(),a.json()}catch(a){m1("Error while ensuring app whitelist.",a)}return}async function tf(){let a=await k3("AppWhiteList");if(a?.Data)return a.Data;let l=await rO();if(l)await S2({Title:"AppWhiteList",Data:l},480);return l}var eh;async function eO(){if(eh)return eh;return eh=hO(),eh}async function hO(){await ef(),await tf(),await Zf(),window.__SPFxExtensions.Utils.ConfiguratorPageUrl=`${h0}/${ne}`}async function kc(a=!1){return await eO(),rf(a)}async function LX1(){return`${(await kc()).find((o)=>o.Title==="RootCDNLocation")?.Data??`${h0}`}${hs}`}async function DX1(){let a=await kc(),l=[os];if(a.find((c)=>c.Title==="Version")?.Data!=="2026-03-21T16:19:46.226Z")await S2({Title:"Version",Data:"2026-03-21T16:19:46.226Z"},1/0),await Ne(l,!0)}async function Ne(a,l){let c=await window.caches.keys(),o=!1;for(let r of c){let e=await window.caches.open(r),h=await e.keys(),Z=[];for(let t of h){let i=t.url.toLowerCase();if(a.some((n)=>i.indexOf(n.toLowerCase())>-1))L0("Deleting cache key",t,"from",r),o=!0,Z.push(e.delete(t,{ignoreMethod:!0,ignoreSearch:!0,ignoreVary:!0}))}await Promise.allSettled(Z)}if(o&&l)window.location.reload()}function vf(){return DV(`${Date.now()}`,13)}var nf={appId:"",name:"",entryPoint:""};function df(){let a=r7(U1(nf)),l=r7(!1),c=r7(!1);if($5(()=>{if(m8.value)a.value=U1(m8.value),l.value=!0,c.value=!0}),!C1.value)return null;let o=C1.value;async function r(Z,t){if(c.value=t.open,!t.open)m8.value=void 0}async function e(){if(!a.value.appId||!a.value.name||!a.value.entryPoint)return;let Z=U1(o);Z.manifest.manualEntries=Z.manifest.manualEntries.filter((t)=>t.appId!==a.value.appId),Z.manifest.appDefinitionMap=Z.manifest.appDefinitionMap.filter((t)=>t.appId!==a.value.appId),Z.manifest.appDefinitionMap.push({appId:a.value.appId,config:U1(Ac)}),Z.manifest.manualEntries.push(U1(a.value)),C1.value=Z,c.value=!1}let h=B4.value.filter((Z)=>{return!o.manifest.appRelativeEntryPointUrls.includes(Z)});return/*@__PURE__*/H(s5,{open:c.value,surfaceMotion:null,modalType:"alert",onOpenChange:r,children:[/*@__PURE__*/H(B0,{disableButtonEnhancement:!0,children:/*@__PURE__*/H(m2,{appearance:"outline",icon:/*@__PURE__*/H(L6,{},void 0,!1,void 0,this),children:"Add Entry"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(_2,{children:/*@__PURE__*/H(M2,{children:[/*@__PURE__*/H(p2,{action:/*@__PURE__*/H(B0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/H(f1,{appearance:"subtle","aria-label":"close",icon:/*@__PURE__*/H(I2,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),children:"Create new app config"},void 0,!1,void 0,this),/*@__PURE__*/H(A2,{style:{padding:"16px 0"},children:/*@__PURE__*/H(Z1,{gap:16,children:[/*@__PURE__*/H(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/H(N0,{disabled:l.value,value:a.value.appId,style:{width:"100%"},placeholder:"Enter application id (guid) or click Generate",onChange:(Z,t)=>{a.value={...a.value,appId:t.value}}},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{disabled:l.value,onClick:()=>{a.value={...a.value,appId:window.crypto.randomUUID()}},children:"Generate"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(N0,{defaultValue:a.value.name,style:{width:"100%"},placeholder:"Enter application name to be shown below",onChange:(Z,t)=>{a.value={...a.value,name:t.value}}},void 0,!1,void 0,this),/*@__PURE__*/H(p4,{placeholder:"Select entry point",defaultValue:a.value.entryPoint,onOptionSelect:(Z,t)=>{a.value={...a.value,entryPoint:t.optionValue??""}},children:h.map((Z)=>/*@__PURE__*/H(e4,{value:Z,children:Z},Z,!1,void 0,this))},void 0,!1,void 0,this),/*@__PURE__*/H(E7,{children:/*@__PURE__*/H(q7,{children:[/*@__PURE__*/H(L4,{children:"Remember:"},void 0,!1,void 0,this),"While adding your app manually, you have to ensure that the code inside entry point calls window.__SPFxExtensions.RegisterApp and/or window.__SPFxExtensions.InstantiateApp methods. This ensures proper lifecycle management of your SPFx application. If you want just a side-effect, you do not need to call those methods."]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(d2,{children:[/*@__PURE__*/H(B0,{disableButtonEnhancement:!0,action:"close",children:/*@__PURE__*/H(f1,{appearance:"secondary",children:"Close"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{appearance:"primary",disabled:!a.value.appId||!a.value.name||!a.value.entryPoint,onClick:()=>{e()},children:l.value?"Save":"Add"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var ZO=tO();async function tO(){try{let a=await YV(),l=await QV();if(l.length>0&&!a)return l;if(l.length>0)L0("Cache mismatch, loading allowed apps data...");let c=await Mf();return await $V(c,5),c}catch(a){return m1("Unable to load allowed apps data...",a),[]}}async function Mf(a=!1){if((await kc(a)).find((o)=>o.Title==="EnableAppWhiteList")?.Data!=="true")return[{Id:1,Title:"All apps allowed",EntryPointUrl:"*",date:(/*@__PURE__*/new Date()).toISOString(),expires:(/*@__PURE__*/new Date()).toISOString()}];return iO()}async function iO(){let a=`${h0}/_api/web/lists/getByTitle('${j6}')/Items?$select=Id,Title,EntryPointUrl&$top=1000`;return await vO(a)}async function vO(a){let l=a,c=[];while(l){let r=await(await fetch(l,{method:"GET",headers:{Accept:"application/json;odata=verbose"}})).json();if(r.error)throw Error(JSON.stringify(r.error));c.push(...r.d.results),l=r.d.__next}return c}function nO(a,l){if(l.some((r)=>r.EntryPointUrl==="*"))return!0;let o=(a.origin+a.pathname).toLowerCase();return l.some((r)=>{try{let e=new URL(r.EntryPointUrl),h=e.origin+e.pathname;return o===h.toLowerCase()}catch(e){return m1("Error while parsing allowed entry URL",r.EntryPointUrl,e),!1}})}async function pf(a,l,c=!1){if(Xe(l))return!0;let o=c?await Mf(c):await ZO;if(!nO(a,o))return g2("File",a,`is not allowed to be executed. Please add it to whitelist @ ${h0}.`),g2(`If you are a developer you can enable this app by adding window.localStorage item ${I7}${l} with a number value corresponding to development port of the localhost server or a base URL where manifest.txt resides.`),!1;return!0}function _f(a,l,c,o){let r=o.find((e)=>e.appId===a);if(r){r.name=l,r.resolved=!0,r.isManual=c;return}o.push({appId:a,name:l,resolved:!0,isManual:c,config:U1(Ac)})}async function Af(a){let l=a.manifest.appDefinitionMap.map((c)=>{return{appId:c.appId,name:`Unknown_${c.appId}`,isManual:!1,resolved:!1,config:c.config??U1(Ac)}});for(let c of a.manifest.appRelativeEntryPointUrls){let o=c.replace(/\.\.\/?/g,"").replace(/\.\//g,""),r=new URL(`${$e}/${w1}/${a.name}/${o}`);if(!await pf(r,a.name,!0))continue;r.searchParams.set("t",`${Date.now()}`);try{let h=await import(`${r}`);if(!h.default){m1(`Invalid app definition file ${r}, default export not available.`);continue}if(!Array.isArray(h.default)){m1(`Invalid app definition file ${r}, default export should be an array.`);continue}if(h.default.some((Z)=>!Z.id||!Z.name)){m1(`Invalid app definition file ${r}, default export should be an array of objects with id and name properties.`);continue}for(let Z of h.default)_f(Z.id,Z.name,!1,l)}catch(h){m1(`Error loading ${r}`,h);continue}}for(let c of a.manifest.manualEntries)_f(c.appId,c.name,!0,l);return l}var dO=Ye();function mf(a){let l=S7(),[c,o]=h1(x1.value),[r,e]=h1(!1),[h,Z]=h1([]),[t,i]=h1([]),[n,v]=h1([]);if($5(()=>{if(!x1.value)return;if(!c){o(x1.value);return}let d=JSON.stringify(x1.value),M=JSON.stringify(c);o(x1.value),e(d!==M)}),$5(()=>{if(!w2){if(F5())Je(j1,u0.value.urlMap).then((d)=>{Z(d?[d]:[])});if(Ie()&&!F5())Qe(j1).then((d)=>{i(d?[d]:[])})}else{let d=qe(u0.value.urlMap);Z(d.hubs),i(d.sites),v(d.webs)}}),!x1.value||!C1.value)return null;return/*@__PURE__*/H(s2,{...l,separator:!0,open:!!x1.value,position:"end",size:"large",children:[/*@__PURE__*/H(f2,{children:/*@__PURE__*/H(F2,{action:/*@__PURE__*/H(f1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/H(I2,{},void 0,!1,void 0,this),onClick:()=>{x1.value=void 0}},void 0,!1,void 0,this),children:"Enable app on sites"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(V2,{children:/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",children:[/*@__PURE__*/H(Z1,{horizontal:!0,verticalAlign:"center",gap:8,children:[/*@__PURE__*/H(s0,{children:"Enable everywhere"},void 0,!1,void 0,this),/*@__PURE__*/H(n2,{withArrow:!0,children:[/*@__PURE__*/H(z5,{disableButtonEnhancement:!0,children:/*@__PURE__*/H(D0,{children:/*@__PURE__*/H(ar,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(v2,{tabIndex:-1,children:/*@__PURE__*/H(J5,{children:dO==="global"&&"Enables app for all listed and unlisted hubs and sites in tenant."},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(f0,{defaultChecked:x1.value.config.enabledEverywhere,onChange:(d,M)=>{let _=U1(x1.value);_.config.enabledEverywhere=M.checked,_.config.includedIds=[],_.config.excludedIds=[],_.config.includedHubIds=[],_.config.excludedHubIds=[],x1.value=_}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(Z1,{gap:12,children:[/*@__PURE__*/H(a5,{children:"Hub sites"},void 0,!1,void 0,this),/*@__PURE__*/H(G5,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{children:h.length>0?/*@__PURE__*/H(Ke,{hubSites:h,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/H(a5,{children:"Site collections"},void 0,!1,void 0,this),/*@__PURE__*/H(G5,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{children:t.length>0?/*@__PURE__*/H(s8,{additionalIcon:/*@__PURE__*/H(g6,{},void 0,!1,void 0,this),siteCollections:t,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this),/*@__PURE__*/H(a5,{children:"Webs"},void 0,!1,void 0,this),/*@__PURE__*/H(G5,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{children:n.length>0?/*@__PURE__*/H(D3,{additionalIcon:/*@__PURE__*/H(Ko,{},void 0,!1,void 0,this),webs:n,control:"switch"},void 0,!1,void 0,this):null},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(W7,{children:/*@__PURE__*/H(Z1,{horizontal:!0,gap:8,horizontalAlign:"center",children:[/*@__PURE__*/H(f1,{appearance:"secondary",onClick:()=>{x1.value=void 0},children:"Cancel"},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{appearance:"primary",disabled:!r,onClick:()=>{if(!x1.value)return;let d=U1(C1.value),M=U1(x1.value);d.manifest.appDefinitionMap=d.manifest.appDefinitionMap.filter((_)=>_.appId!==M.appId),d.manifest.appDefinitionMap.push(M),C1.value=d,x1.value=void 0},children:"Save"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function Hf(){let a=r7([]),l=r7(!1);async function c(r){l.value=!1;let e=await Af(r);l.value=!0,a.value=e}function o(r){if(!C1.value)return;let e=U1(C1.value);e.manifest.appDefinitionMap=e.manifest.appDefinitionMap.filter((h)=>h.appId!==r.appId),e.manifest.manualEntries=e.manifest.manualEntries.filter((h)=>h.appId!==r.appId),C1.value=e}if($5(()=>{if(!C1.value)return;c(C1.value)}),!C1.value)return null;if(!l.value)return/*@__PURE__*/H(Z1,{style:{marginTop:"10px"},children:/*@__PURE__*/H(P7,{},void 0,!1,void 0,this)},void 0,!1,void 0,this);return/*@__PURE__*/H(Z1,{style:{marginTop:"10px",borderBottom:"1px solid #eaeaea"},children:[a.value.map((r)=>{return/*@__PURE__*/H(Z1,{horizontal:!0,gap:8,horizontalAlign:"space-between",verticalAlign:"center",style:{borderTop:"1px solid #eaeaea",padding:"10px 6px",minHeight:"53px"},children:[/*@__PURE__*/H(Z1,{horizontal:!0,verticalAlign:"center",gap:8,grow:!0,children:[r.isManual?/*@__PURE__*/H(YA,{},void 0,!1,void 0,this):/*@__PURE__*/H(XA,{},void 0,!1,void 0,this)," ",/*@__PURE__*/H(D0,{size:"medium",onClick:()=>{x1.value={appId:r.appId,config:r.config}},children:r.name},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/H(f1,{"aria-label":"Delete configuration item",icon:/*@__PURE__*/H(v3,{},void 0,!1,void 0,this),disabled:!r.isManual&&r.resolved,onClick:()=>{o(r)}},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{"aria-label":"Edit item",icon:/*@__PURE__*/H(TA,{},void 0,!1,void 0,this),disabled:!r.isManual,onClick:()=>{let e=C1.value?.manifest.manualEntries.find((h)=>h.appId===r.appId);if(!e)return;m8.value=U1(e)}},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{"aria-label":"Edit sites",icon:/*@__PURE__*/H(PA,{},void 0,!1,void 0,this),onClick:()=>{x1.value={appId:r.appId,config:r.config}}},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}),/*@__PURE__*/H(mf,{appDefinitions:a.value},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var z1=w8(Uf(),1);var sO=/*@__PURE__*/new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function k4(a,l,c){let o=VO(a),{webkitRelativePath:r}=a,e=typeof l==="string"?l:typeof r==="string"&&r.length>0?r:`./${a.name}`;if(typeof o.path!=="string")Df(o,"path",e);if(c!==void 0)Object.defineProperty(o,"handle",{value:c,writable:!1,configurable:!1,enumerable:!0});return Df(o,"relativePath",e),o}function VO(a){let{name:l}=a;if(l&&l.lastIndexOf(".")!==-1&&!a.type){let o=l.split(".").pop().toLowerCase(),r=sO.get(o);if(r)Object.defineProperty(a,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return a}function Df(a,l,c){Object.defineProperty(a,l,{value:c,writable:!1,configurable:!1,enumerable:!0})}var fO=[".DS_Store","Thumbs.db"];function dn(a){return g3(this,void 0,void 0,function*(){if(Zh(a)&&FO(a.dataTransfer))return CO(a.dataTransfer,a.type);else if(xO(a))return gO(a);else if(Array.isArray(a)&&a.every((l)=>("getFile"in l)&&typeof l.getFile==="function"))return LO(a);return[]})}function FO(a){return Zh(a)}function xO(a){return Zh(a)&&Zh(a.target)}function Zh(a){return typeof a==="object"&&a!==null}function gO(a){return nn(a.target.files).map((l)=>k4(l))}function LO(a){return g3(this,void 0,void 0,function*(){return(yield Promise.all(a.map((c)=>c.getFile()))).map((c)=>k4(c))})}function CO(a,l){return g3(this,void 0,void 0,function*(){if(a.items){let c=nn(a.items).filter((r)=>r.kind==="file");if(l!=="drop")return c;let o=yield Promise.all(c.map(RO));return Bf(yf(o))}return Bf(nn(a.files).map((c)=>k4(c)))})}function Bf(a){return a.filter((l)=>fO.indexOf(l.name)===-1)}function nn(a){if(a===null)return[];let l=[];for(let c=0;c<a.length;c++){let o=a[c];l.push(o)}return l}function RO(a){if(typeof a.webkitGetAsEntry!=="function")return kf(a);let l=a.webkitGetAsEntry();if(l&&l.isDirectory)return Of(l);return kf(a,l)}function yf(a){return a.reduce((l,c)=>[...l,...Array.isArray(c)?yf(c):[c]],[])}function kf(a,l){return g3(this,void 0,void 0,function*(){var c;if(globalThis.isSecureContext&&typeof a.getAsFileSystemHandle==="function"){let e=yield a.getAsFileSystemHandle();if(e===null)throw Error(`${a} is not a File`);if(e!==void 0){let h=yield e.getFile();return h.handle=e,k4(h)}}let o=a.getAsFile();if(!o)throw Error(`${a} is not a File`);return k4(o,(c=l===null||l===void 0?void 0:l.fullPath)!==null&&c!==void 0?c:void 0)})}function wO(a){return g3(this,void 0,void 0,function*(){return a.isDirectory?Of(a):SO(a)})}function Of(a){let l=a.createReader();return new Promise((c,o)=>{let r=[];function e(){l.readEntries((h)=>g3(this,void 0,void 0,function*(){if(!h.length)try{let Z=yield Promise.all(r);c(Z)}catch(Z){o(Z)}else{let Z=Promise.all(h.map(wO));r.push(Z),e()}}),(h)=>{o(h)})}e()})}function SO(a){return g3(this,void 0,void 0,function*(){return new Promise((l,c)=>{a.file((o)=>{let r=k4(o,a.fullPath);l(r)},(o)=>{c(o)})})})}var th=w8(Pf(),1);function Tf(a){return yO(a)||kO(a)||Qf(a)||BO()}function BO(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
172
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kO(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function yO(a){if(Array.isArray(a))return Mn(a)}function Ef(a,l){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);l&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(a,r).enumerable})),c.push.apply(c,o)}return c}function qf(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?Ef(Object(c),!0).forEach(function(o){zf(a,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):Ef(Object(c)).forEach(function(o){Object.defineProperty(a,o,Object.getOwnPropertyDescriptor(c,o))})}return a}function zf(a,l,c){if(l in a)Object.defineProperty(a,l,{value:c,enumerable:!0,configurable:!0,writable:!0});else a[l]=c;return a}function Oc(a,l){return TO(a)||PO(a,l)||Qf(a,l)||OO()}function OO(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
173
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qf(a,l){if(!a)return;if(typeof a==="string")return Mn(a,l);var c=Object.prototype.toString.call(a).slice(8,-1);if(c==="Object"&&a.constructor)c=a.constructor.name;if(c==="Map"||c==="Set")return Array.from(a);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return Mn(a,l)}function Mn(a,l){if(l==null||l>a.length)l=a.length;for(var c=0,o=Array(l);c<l;c++)o[c]=a[c];return o}function PO(a,l){var c=a==null?null:typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(c==null)return;var o=[],r=!0,e=!1,h,Z;try{for(c=c.call(a);!(r=(h=c.next()).done);r=!0)if(o.push(h.value),l&&o.length===l)break}catch(t){e=!0,Z=t}finally{try{if(!r&&c.return!=null)c.return()}finally{if(e)throw Z}}return o}function TO(a){if(Array.isArray(a))return a}var EO=typeof th.default==="function"?th.default:th.default.default,qO="file-invalid-type",WO="file-too-large",bO="file-too-small",zO="too-many-files";var QO=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",c=l.split(","),o=c.length>1?"one of ".concat(c.join(", ")):c[0];return{code:qO,message:"File type must be ".concat(o)}},Wf=function(l){return{code:WO,message:"File is larger than ".concat(l," ").concat(l===1?"byte":"bytes")}},bf=function(l){return{code:bO,message:"File is smaller than ".concat(l," ").concat(l===1?"byte":"bytes")}},Jf={code:zO,message:"Too many files"};function JO(a){return a.type===""&&typeof a.getAsFile==="function"}function pn(a,l){var c=a.type==="application/x-moz-file"||EO(a,l)||JO(a);return[c,c?null:QO(l)]}function _n(a,l,c){if(y4(a.size)){if(y4(l)&&y4(c)){if(a.size>c)return[!1,Wf(c)];if(a.size<l)return[!1,bf(l)]}else if(y4(l)&&a.size<l)return[!1,bf(l)];else if(y4(c)&&a.size>c)return[!1,Wf(c)]}return[!0,null]}function y4(a){return a!==void 0&&a!==null}function If(a){var{files:l,accept:c,minSize:o,maxSize:r,multiple:e,maxFiles:h,validator:Z}=a;if(!e&&l.length>1||e&&h>=1&&l.length>h)return!1;return l.every(function(t){var i=pn(t,c),n=Oc(i,1),v=n[0],d=_n(t,o,r),M=Oc(d,1),_=M[0],p=Z?Z(t):null;return v&&_&&!p})}function Pc(a){if(typeof a.isPropagationStopped==="function")return a.isPropagationStopped();else if(typeof a.cancelBubble<"u")return a.cancelBubble;return!1}function L8(a){if(!a.dataTransfer)return!!a.target&&!!a.target.files;return Array.prototype.some.call(a.dataTransfer.types,function(l){return l==="Files"||l==="application/x-moz-file"})}function An(a){a.preventDefault()}function IO(a){return a.indexOf("MSIE")!==-1||a.indexOf("Trident/")!==-1}function $O(a){return a.indexOf("Edge/")!==-1}function $f(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return IO(a)||$O(a)}function G2(){for(var a=arguments.length,l=Array(a),c=0;c<a;c++)l[c]=arguments[c];return function(o){for(var r=arguments.length,e=Array(r>1?r-1:0),h=1;h<r;h++)e[h-1]=arguments[h];return l.some(function(Z){if(!Pc(o)&&Z)Z.apply(void 0,[o].concat(e));return Pc(o)})}}function Yf(){return"showOpenFilePicker"in window}function Xf(a){if(y4(a)){var l=Object.entries(a).filter(function(c){var o=Oc(c,2),r=o[0],e=o[1],h=!0;if(!aF(r))console.warn('Skipped "'.concat(r,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),h=!1;if(!Array.isArray(e)||!e.every(lF))console.warn('Skipped "'.concat(r,'" because an invalid file extension was provided.')),h=!1;return h}).reduce(function(c,o){var r=Oc(o,2),e=r[0],h=r[1];return qf(qf({},c),{},zf({},e,h))},{});return[{description:"Files",accept:l}]}return a}function Kf(a){if(y4(a))return Object.entries(a).reduce(function(l,c){var o=Oc(c,2),r=o[0],e=o[1];return[].concat(Tf(l),[r],Tf(e))},[]).filter(function(l){return aF(l)||lF(l)}).join(",");return}function jf(a){return a instanceof DOMException&&(a.name==="AbortError"||a.code===a.ABORT_ERR)}function Nf(a){return a instanceof DOMException&&(a.name==="SecurityError"||a.code===a.SECURITY_ERR)}function aF(a){return a==="audio/*"||a==="video/*"||a==="image/*"||a==="text/*"||a==="application/*"||/\w+\/[-+.\w]+/g.test(a)}function lF(a){return/^.*\.[\w]+$/.test(a)}var YO=["children"],XO=["open"],KO=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],jO=["refKey","onChange","onClick"];function cF(a){return lP(a)||aP(a)||eF(a)||NO()}function NO(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
174
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function aP(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function lP(a){if(Array.isArray(a))return Hn(a)}function mn(a,l){return rP(a)||oP(a,l)||eF(a,l)||cP()}function cP(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
175
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eF(a,l){if(!a)return;if(typeof a==="string")return Hn(a,l);var c=Object.prototype.toString.call(a).slice(8,-1);if(c==="Object"&&a.constructor)c=a.constructor.name;if(c==="Map"||c==="Set")return Array.from(a);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return Hn(a,l)}function Hn(a,l){if(l==null||l>a.length)l=a.length;for(var c=0,o=Array(l);c<l;c++)o[c]=a[c];return o}function oP(a,l){var c=a==null?null:typeof Symbol<"u"&&a[Symbol.iterator]||a["@@iterator"];if(c==null)return;var o=[],r=!0,e=!1,h,Z;try{for(c=c.call(a);!(r=(h=c.next()).done);r=!0)if(o.push(h.value),l&&o.length===l)break}catch(t){e=!0,Z=t}finally{try{if(!r&&c.return!=null)c.return()}finally{if(e)throw Z}}return o}function rP(a){if(Array.isArray(a))return a}function oF(a,l){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);l&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(a,r).enumerable})),c.push.apply(c,o)}return c}function N1(a){for(var l=1;l<arguments.length;l++){var c=arguments[l]!=null?arguments[l]:{};l%2?oF(Object(c),!0).forEach(function(o){un(a,o,c[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(c)):oF(Object(c)).forEach(function(o){Object.defineProperty(a,o,Object.getOwnPropertyDescriptor(c,o))})}return a}function un(a,l,c){if(l in a)Object.defineProperty(a,l,{value:c,enumerable:!0,configurable:!0,writable:!0});else a[l]=c;return a}function ih(a,l){if(a==null)return{};var c=eP(a,l),o,r;if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(a);for(r=0;r<e.length;r++){if(o=e[r],l.indexOf(o)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(a,o))continue;c[o]=a[o]}}return c}function eP(a,l){if(a==null)return{};var c={},o=Object.keys(a),r,e;for(e=0;e<o.length;e++){if(r=o[e],l.indexOf(r)>=0)continue;c[r]=a[r]}return c}var vh=/*@__PURE__*/z(function(a,l){var c=a.children,o=ih(a,YO),r=hP(o),e=r.open,h=ih(r,XO);return Y0(l,function(){return{open:e}},[e]),/*@__PURE__*/CZ.createElement(i1,null,c(N1(N1({},h),{},{open:e})))});vh.displayName="Dropzone";var hF={disabled:!1,getFilesFromEvent:dn,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};vh.defaultProps=hF;vh.propTypes={children:z1.default.func,accept:z1.default.objectOf(z1.default.arrayOf(z1.default.string)),multiple:z1.default.bool,preventDropOnDocument:z1.default.bool,noClick:z1.default.bool,noKeyboard:z1.default.bool,noDrag:z1.default.bool,noDragEventsBubbling:z1.default.bool,minSize:z1.default.number,maxSize:z1.default.number,maxFiles:z1.default.number,disabled:z1.default.bool,getFilesFromEvent:z1.default.func,onFileDialogCancel:z1.default.func,onFileDialogOpen:z1.default.func,useFsAccessApi:z1.default.bool,autoFocus:z1.default.bool,onDragEnter:z1.default.func,onDragLeave:z1.default.func,onDragOver:z1.default.func,onDrop:z1.default.func,onDropAccepted:z1.default.func,onDropRejected:z1.default.func,onError:z1.default.func,validator:z1.default.func};var ZF=vh,sn={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,isDragGlobal:!1,acceptedFiles:[],fileRejections:[]};function hP(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=N1(N1({},hF),a),c=l.accept,o=l.disabled,r=l.getFilesFromEvent,e=l.maxSize,h=l.minSize,Z=l.multiple,t=l.maxFiles,i=l.onDragEnter,n=l.onDragLeave,v=l.onDragOver,d=l.onDrop,M=l.onDropAccepted,_=l.onDropRejected,p=l.onFileDialogCancel,A=l.onFileDialogOpen,m=l.useFsAccessApi,u=l.autoFocus,V=l.preventDropOnDocument,s=l.noClick,F=l.noKeyboard,L=l.noDrag,C=l.noDragEventsBubbling,P=l.onError,W=l.validator,r1=v1(function(){return Kf(c)},[c]),t1=v1(function(){return Xf(c)},[c]),N=v1(function(){return typeof A==="function"?A:rF},[A]),R=v1(function(){return typeof p==="function"?p:rF},[p]),w=y(null),x=y(null),B=N5(ZP,sn),k=mn(B,2),$=k[0],E=k[1],d1=$.isFocused,s1=$.isFileDialogActive,T=y(typeof window<"u"&&window.isSecureContext&&m&&Yf()),O=function(){if(!T.current&&s1)setTimeout(function(){if(x.current){var u1=x.current.files;if(!u1.length)E({type:"closeDialog"}),R()}},300)};X(function(){return window.addEventListener("focus",O,!1),function(){window.removeEventListener("focus",O,!1)}},[x,s1,R,T]);var F1=y([]),R1=y([]),r5=function(u1){if(w.current&&w.current.contains(u1.target))return;u1.preventDefault(),F1.current=[]};X(function(){if(V)document.addEventListener("dragover",An,!1),document.addEventListener("drop",r5,!1);return function(){if(V)document.removeEventListener("dragover",An),document.removeEventListener("drop",r5)}},[w,V]),X(function(){var a1=function(D2){if(R1.current=[].concat(cF(R1.current),[D2.target]),L8(D2))E({isDragGlobal:!0,type:"setDragGlobal"})},u1=function(D2){if(R1.current=R1.current.filter(function(p7){return p7!==D2.target&&p7!==null}),R1.current.length>0)return;E({isDragGlobal:!1,type:"setDragGlobal"})},l0=function(){R1.current=[],E({isDragGlobal:!1,type:"setDragGlobal"})},_0=function(){R1.current=[],E({isDragGlobal:!1,type:"setDragGlobal"})};return document.addEventListener("dragenter",a1,!1),document.addEventListener("dragleave",u1,!1),document.addEventListener("dragend",l0,!1),document.addEventListener("drop",_0,!1),function(){document.removeEventListener("dragenter",a1),document.removeEventListener("dragleave",u1),document.removeEventListener("dragend",l0),document.removeEventListener("drop",_0)}},[w]),X(function(){if(!o&&u&&w.current)w.current.focus();return function(){}},[w,u,o]);var g5=Q(function(a1){if(P)P(a1);else console.error(a1)},[P]),O3=Q(function(a1){if(a1.preventDefault(),a1.persist(),qc(a1),F1.current=[].concat(cF(F1.current),[a1.target]),L8(a1))Promise.resolve(r(a1)).then(function(u1){if(Pc(a1)&&!C)return;var l0=u1.length,_0=l0>0&&If({files:u1,accept:r1,minSize:h,maxSize:e,multiple:Z,maxFiles:t,validator:W}),T0=l0>0&&!_0;if(E({isDragAccept:_0,isDragReject:T0,isDragActive:!0,type:"setDraggedFiles"}),i)i(a1)}).catch(function(u1){return g5(u1)})},[r,i,g5,C,r1,h,e,Z,t,W]),P3=Q(function(a1){a1.preventDefault(),a1.persist(),qc(a1);var u1=L8(a1);if(u1&&a1.dataTransfer)try{a1.dataTransfer.dropEffect="copy"}catch(l0){}if(u1&&v)v(a1);return!1},[v,C]),P4=Q(function(a1){a1.preventDefault(),a1.persist(),qc(a1);var u1=F1.current.filter(function(_0){return w.current&&w.current.contains(_0)}),l0=u1.indexOf(a1.target);if(l0!==-1)u1.splice(l0,1);if(F1.current=u1,u1.length>0)return;if(E({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),L8(a1)&&n)n(a1)},[w,n,C]),M7=Q(function(a1,u1){var l0=[],_0=[];if(a1.forEach(function(T0){var D2=pn(T0,r1),p7=mn(D2,2),uh=p7[0],sh=p7[1],Vh=_n(T0,h,e),Wc=mn(Vh,2),fh=Wc[0],Fh=Wc[1],xh=W?W(T0):null;if(uh&&fh&&!xh)l0.push(T0);else{var gh=[sh,Fh];if(xh)gh=gh.concat(xh);_0.push({file:T0,errors:gh.filter(function(zF){return zF})})}}),!Z&&l0.length>1||Z&&t>=1&&l0.length>t)l0.forEach(function(T0){_0.push({file:T0,errors:[Jf]})}),l0.splice(0);if(E({acceptedFiles:l0,fileRejections:_0,type:"setFiles"}),d)d(l0,_0,u1);if(_0.length>0&&_)_(_0,u1);if(l0.length>0&&M)M(l0,u1)},[E,Z,r1,h,e,t,d,M,_,W]),n1=Q(function(a1){if(a1.preventDefault(),a1.persist(),qc(a1),F1.current=[],L8(a1))Promise.resolve(r(a1)).then(function(u1){if(Pc(a1)&&!C)return;M7(u1,a1)}).catch(function(u1){return g5(u1)});E({type:"reset"})},[r,M7,g5,C]),L5=Q(function(){if(T.current){E({type:"openDialog"}),N();var a1={multiple:Z,types:t1};window.showOpenFilePicker(a1).then(function(u1){return r(u1)}).then(function(u1){M7(u1,null),E({type:"closeDialog"})}).catch(function(u1){if(jf(u1))R(u1),E({type:"closeDialog"});else if(Nf(u1))if(T.current=!1,x.current)x.current.value=null,x.current.click();else g5(Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."));else g5(u1)});return}if(x.current)E({type:"openDialog"}),N(),x.current.value=null,x.current.click()},[E,N,R,m,M7,g5,t1,Z]),T3=Q(function(a1){if(!w.current||!w.current.isEqualNode(a1.target))return;if(a1.key===" "||a1.key==="Enter"||a1.keyCode===32||a1.keyCode===13)a1.preventDefault(),L5()},[w,L5]),R8=Q(function(){E({type:"focus"})},[]),Rn=Q(function(){E({type:"blur"})},[]),wn=Q(function(){if(s)return;if($f())setTimeout(L5,0);else L5()},[s,L5]),T4=function(u1){return o?null:u1},Hh=function(u1){return F?null:T4(u1)},Ec=function(u1){return L?null:T4(u1)},qc=function(u1){if(C)u1.stopPropagation()},qF=v1(function(){return function(){var a1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u1=a1.refKey,l0=u1===void 0?"ref":u1,_0=a1.role,T0=a1.onKeyDown,D2=a1.onFocus,p7=a1.onBlur,uh=a1.onClick,sh=a1.onDragEnter,Vh=a1.onDragOver,Wc=a1.onDragLeave,fh=a1.onDrop,Fh=ih(a1,KO);return N1(N1(un({onKeyDown:Hh(G2(T0,T3)),onFocus:Hh(G2(D2,R8)),onBlur:Hh(G2(p7,Rn)),onClick:T4(G2(uh,wn)),onDragEnter:Ec(G2(sh,O3)),onDragOver:Ec(G2(Vh,P3)),onDragLeave:Ec(G2(Wc,P4)),onDrop:Ec(G2(fh,n1)),role:typeof _0==="string"&&_0!==""?_0:"presentation"},l0,w),!o&&!F?{tabIndex:0}:{}),Fh)}},[w,T3,R8,Rn,wn,O3,P3,P4,n1,F,L,o]),WF=Q(function(a1){a1.stopPropagation()},[]),bF=v1(function(){return function(){var a1=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u1=a1.refKey,l0=u1===void 0?"ref":u1,_0=a1.onChange,T0=a1.onClick,D2=ih(a1,jO),p7=un({accept:r1,multiple:Z,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:T4(G2(_0,n1)),onClick:T4(G2(T0,WF)),tabIndex:-1},l0,x);return N1(N1({},p7),D2)}},[x,c,Z,n1,o]);return N1(N1({},$),{},{isFocused:d1&&!o,getRootProps:qF,getInputProps:bF,rootRef:w,inputRef:x,open:T4(L5)})}function ZP(a,l){switch(l.type){case"focus":return N1(N1({},a),{},{isFocused:!0});case"blur":return N1(N1({},a),{},{isFocused:!1});case"openDialog":return N1(N1({},sn),{},{isFileDialogActive:!0});case"closeDialog":return N1(N1({},a),{},{isFileDialogActive:!1});case"setDraggedFiles":return N1(N1({},a),{},{isDragActive:l.isDragActive,isDragAccept:l.isDragAccept,isDragReject:l.isDragReject});case"setFiles":return N1(N1({},a),{},{acceptedFiles:l.acceptedFiles,fileRejections:l.fileRejections,isDragReject:!1});case"setDragGlobal":return N1(N1({},a),{},{isDragGlobal:l.isDragGlobal});case"reset":return N1({},sn);default:return a}}function rF(){}async function tF(a){let l={data:[],warnings:[],error:"",isError:!1},c=a.find((h)=>h.path.toLowerCase().endsWith(k0)),o=-1,r="/";if(!c)l.warnings.push("No manifest.txt file found."),l.isError=!1;else o=c.path.lastIndexOf("/"),r=c.path.substring(0,o+1);for(let h of a){if(h.size===0)continue;let Z=await h.arrayBuffer(),t=new Uint8Array(Z),i=h.path,n=h.path.lastIndexOf("/"),v=n>-1?h.path.substring(0,n+1):"",d="/";if(v){let M=v.split("/").filter((p)=>p.length>0),_=r.split("/").filter((p)=>p.length>0);M.forEach((p)=>{if(_.includes(p))d+=`${p}/`})}i=i.replace(d,"").replace(/^\./,""),l.data.push({fileName:i,content:t})}let e=[];if(r!=="/"){if(e=a.filter((h)=>!h.path.startsWith(r)),e.length>0)l.warnings.push("Some files are outside of manifest.txt directory."),l.warnings.push(...e.map((h)=>`File: ${h.relativePath}`))}return l}async function*iF(a,l,c){await p8(a,l);let o=Z7(a),r={data:[],error:"",isError:!1,warnings:[]},e=[];for(let h of c){let Z=h.fileName.lastIndexOf("/"),t=Z>-1,i=t?h.fileName.substring(Z+1):h.fileName,n=h.fileName.substring(0,Z),v=`${w1}/${l}${n?`/${n}`:""}`,d=a.web.getFolderByServerRelativePath(v);if(t){if(!e.includes(n))try{await dV(a,l,n.split("/")),e.push(n)}catch(M){return r.error=`Error while creating ${n} in ${v} folder in ${o}. ${M}`,r.isError=!0,r}}try{await d.files.addUsingPath(i,new Blob([h.content]),{Overwrite:!0});let M=`${i} uploaded successfully`;r.data.push(M),yield{data:M,success:!0,fileName:h.fileName}}catch(M){let _=`Error while uploading ${i} in ${v} folder in ${o}`;m1(_,M),r.warnings.push(_),yield{data:_,success:!1,fileName:h.fileName}}}if(r.data.length===0&&r.warnings.length>0)r.error="All files failed to upload.",r.isError=!0;return r}async function tP(a,l){let c=await a.web.using(Gs())(),o=a.web.lists.getByTitle(w1).items.select("FileLeafRef","FileDirRef").filter(`FSObjType eq 0 and substringof('${w1}/${l}',FileDirRef)`).top(100),r=[],e=c.ServerRelativeUrl.replace(/\/$/,"");for await(let h of o)h.forEach((t)=>{let i=t.FileDirRef.replace(`${e}/${w1}/${l}`,"."),n=t.FileLeafRef;r.push(`${i}/${n}`)});return r}async function iP(a,l){return(await tP(a,l)).filter((o)=>/\.js$/.test(o))}o7(()=>{if(C1.value?.name)iP(j1,C1.value.name).then((a)=>{B4.value=a})});var vF={},vP=function(a,l,c,o,r){var e=new Worker(vF[l]||(vF[l]=URL.createObjectURL(new Blob([a+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return e.onmessage=function(h){var Z=h.data,t=Z.$e$;if(t){var i=Error(t[0]);i.code=t[1],i.stack=t[2],r(i,null)}else r(null,Z)},e.postMessage(c,o),e},d5=Uint8Array,O4=Uint16Array,MF=Int32Array,Fn=new d5([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),xn=new d5([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),pF=new d5([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),_F=function(a,l){var c=new O4(31);for(var o=0;o<31;++o)c[o]=l+=1<<a[o-1];var r=new MF(c[30]);for(var o=1;o<30;++o)for(var e=c[o];e<c[o+1];++e)r[e]=e-c[o]<<5|o;return{b:c,r}},AF=_F(Fn,2),gn=AF.b,nP=AF.r;gn[28]=258,nP[258]=28;var mF=_F(xn,0),HF=mF.b,Dj1=mF.r,ph=new O4(32768);for(S1=0;S1<32768;++S1)n7=(S1&43690)>>1|(S1&21845)<<1,n7=(n7&52428)>>2|(n7&13107)<<2,n7=(n7&61680)>>4|(n7&3855)<<4,ph[S1]=((n7&65280)>>8|(n7&255)<<8)>>1;var n7,S1,C8=function(a,l,c){var o=a.length,r=0,e=new O4(l);for(;r<o;++r)if(a[r])++e[a[r]-1];var h=new O4(l);for(r=1;r<l;++r)h[r]=h[r-1]+e[r-1]<<1;var Z;if(c){Z=new O4(1<<l);var t=15-l;for(r=0;r<o;++r)if(a[r]){var i=r<<4|a[r],n=l-a[r],v=h[a[r]-1]++<<n;for(var d=v|(1<<n)-1;v<=d;++v)Z[ph[v]>>t]=i}}else{Z=new O4(o);for(r=0;r<o;++r)if(a[r])Z[r]=ph[h[a[r]-1]++]>>15-a[r]}return Z},Tc=new d5(288);for(S1=0;S1<144;++S1)Tc[S1]=8;var S1;for(S1=144;S1<256;++S1)Tc[S1]=9;var S1;for(S1=256;S1<280;++S1)Tc[S1]=7;var S1;for(S1=280;S1<288;++S1)Tc[S1]=8;var S1,uF=new d5(32);for(S1=0;S1<32;++S1)uF[S1]=5;var S1;var sF=/*@__PURE__*/C8(Tc,9,1);var VF=/*@__PURE__*/C8(uF,5,1),dh=function(a){var l=a[0];for(var c=1;c<a.length;++c)if(a[c]>l)l=a[c];return l},j5=function(a,l,c){var o=l/8|0;return(a[o]|a[o+1]<<8)>>(l&7)&c},Mh=function(a,l){var c=l/8|0;return(a[c]|a[c+1]<<8|a[c+2]<<16)>>(l&7)},fF=function(a){return(a+7)/8|0},_h=function(a,l,c){if(l==null||l<0)l=0;if(c==null||c>a.length)c=a.length;return new d5(a.subarray(l,c))};var FF=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],n5=function(a,l,c){var o=Error(l||FF[a]);if(o.code=a,Error.captureStackTrace)Error.captureStackTrace(o,n5);if(!c)throw o;return o},xF=function(a,l,c,o){var r=a.length,e=o?o.length:0;if(!r||l.f&&!l.l)return c||new d5(0);var h=!c,Z=h||l.i!=2,t=l.i;if(h)c=new d5(r*3);var i=function(M7){var n1=c.length;if(M7>n1){var L5=new d5(Math.max(n1*2,M7));L5.set(c),c=L5}},n=l.f||0,v=l.p||0,d=l.b||0,M=l.l,_=l.d,p=l.m,A=l.n,m=r*8;do{if(!M){n=j5(a,v,1);var u=j5(a,v+1,3);if(v+=3,!u){var V=fF(v)+4,s=a[V-4]|a[V-3]<<8,F=V+s;if(F>r){if(t)n5(0);break}if(Z)i(d+s);c.set(a.subarray(V,F),d),l.b=d+=s,l.p=v=F*8,l.f=n;continue}else if(u==1)M=sF,_=VF,p=9,A=5;else if(u==2){var L=j5(a,v,31)+257,C=j5(a,v+10,15)+4,P=L+j5(a,v+5,31)+1;v+=14;var W=new d5(P),r1=new d5(19);for(var t1=0;t1<C;++t1)r1[pF[t1]]=j5(a,v+t1*3,7);v+=C*3;var N=dh(r1),R=(1<<N)-1,w=C8(r1,N,1);for(var t1=0;t1<P;){var x=w[j5(a,v,R)];v+=x&15;var V=x>>4;if(V<16)W[t1++]=V;else{var B=0,k=0;if(V==16)k=3+j5(a,v,3),v+=2,B=W[t1-1];else if(V==17)k=3+j5(a,v,7),v+=3;else if(V==18)k=11+j5(a,v,127),v+=7;while(k--)W[t1++]=B}}var $=W.subarray(0,L),E=W.subarray(L);p=dh($),A=dh(E),M=C8($,p,1),_=C8(E,A,1)}else n5(1);if(v>m){if(t)n5(0);break}}if(Z)i(d+131072);var d1=(1<<p)-1,s1=(1<<A)-1,T=v;for(;;T=v){var B=M[Mh(a,v)&d1],O=B>>4;if(v+=B&15,v>m){if(t)n5(0);break}if(!B)n5(2);if(O<256)c[d++]=O;else if(O==256){T=v,M=null;break}else{var F1=O-254;if(O>264){var t1=O-257,R1=Fn[t1];F1=j5(a,v,(1<<R1)-1)+gn[t1],v+=R1}var r5=_[Mh(a,v)&s1],g5=r5>>4;if(!r5)n5(3);v+=r5&15;var E=HF[g5];if(g5>3){var R1=xn[g5];E+=Mh(a,v)&(1<<R1)-1,v+=R1}if(v>m){if(t)n5(0);break}if(Z)i(d+131072);var O3=d+F1;if(d<E){var P3=e-E,P4=Math.min(E,O3);if(P3+d<0)n5(3);for(;d<P4;++d)c[d]=o[P3+d]}for(;d<O3;++d)c[d]=c[d-E]}}if(l.l=M,l.p=T,l.b=d,l.f=n,M)n=1,l.m=p,l.d=_,l.n=A}while(!n);return d!=c.length&&h?_h(c,0,d):c.subarray(0,d)};var dP=/*@__PURE__*/new d5(0);var MP=function(a,l){var c={};for(var o in a)c[o]=a[o];for(var o in l)c[o]=l[o];return c},nF=function(a,l,c){var o=a(),r=a.toString(),e=r.slice(r.indexOf("[")+1,r.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(var h=0;h<o.length;++h){var Z=o[h],t=e[h];if(typeof Z=="function"){l+=";"+t+"=";var i=Z.toString();if(Z.prototype)if(i.indexOf("[native code]")!=-1){var n=i.indexOf(" ",8)+1;l+=i.slice(n,i.indexOf("(",n))}else{l+=i;for(var v in Z.prototype)l+=";"+t+".prototype."+v+"="+Z.prototype[v].toString()}else l+=i}else c[t]=Z}return l},nh=[],pP=function(a){var l=[];for(var c in a)if(a[c].buffer)l.push((a[c]=new a[c].constructor(a[c])).buffer);return l},_P=function(a,l,c,o){if(!nh[c]){var r="",e={},h=a.length-1;for(var Z=0;Z<h;++Z)r=nF(a[Z],r,e);nh[c]={c:nF(a[h],r,e),e}}var t=MP({},nh[c].e);return vP(nh[c].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+l.toString()+"}",c,t,pP(t),o)},AP=function(){return[d5,O4,MF,Fn,xn,pF,gn,HF,sF,VF,ph,FF,C8,dh,j5,Mh,fF,_h,n5,xF,Ln,gF,LF]};var gF=function(a){return postMessage(a,[a.buffer])},LF=function(a){return a&&{out:a.size&&new d5(a.size),dictionary:a.dictionary}},mP=function(a,l,c,o,r,e){var h=_P(c,o,r,function(Z,t){h.terminate(),e(Z,t)});return h.postMessage([a,l],l.consume?[a.buffer]:[]),function(){h.terminate()}};var d7=function(a,l){return a[l]|a[l+1]<<8},U2=function(a,l){return(a[l]|a[l+1]<<8|a[l+2]<<16|a[l+3]<<24)>>>0},Vn=function(a,l){return U2(a,l)+U2(a,l+4)*4294967296};function HP(a,l,c){if(!c)c=l,l={};if(typeof c!="function")n5(7);return mP(a,l,[AP],function(o){return gF(Ln(o.data[0],LF(o.data[1])))},1,c)}function Ln(a,l){return xF(a,{i:2},l&&l.out,l&&l.dictionary)}var fn=typeof TextDecoder<"u"&&/*@__PURE__*/new TextDecoder,uP=0;try{fn.decode(dP,{stream:!0}),uP=1}catch(a){}var sP=function(a){for(var l="",c=0;;){var o=a[c++],r=(o>127)+(o>223)+(o>239);if(c+r>a.length)return{s:l,r:_h(a,c-1)};if(!r)l+=String.fromCharCode(o);else if(r==3)o=((o&15)<<18|(a[c++]&63)<<12|(a[c++]&63)<<6|a[c++]&63)-65536,l+=String.fromCharCode(55296|o>>10,56320|o&1023);else if(r&1)l+=String.fromCharCode((o&31)<<6|a[c++]&63);else l+=String.fromCharCode((o&15)<<12|(a[c++]&63)<<6|a[c++]&63)}};function VP(a,l){if(l){var c="";for(var o=0;o<a.length;o+=16384)c+=String.fromCharCode.apply(null,a.subarray(o,o+16384));return c}else if(fn)return fn.decode(a);else{var r=sP(a),e=r.s,c=r.r;if(c.length)n5(8);return e}}var fP=function(a,l){return l+30+d7(a,l+26)+d7(a,l+28)},FP=function(a,l,c){var o=d7(a,l+28),r=VP(a.subarray(l+46,l+46+o),!(d7(a,l+8)&2048)),e=l+46+o,h=U2(a,l+20),Z=c&&h==4294967295?xP(a,e):[h,U2(a,l+24),U2(a,l+42)],t=Z[0],i=Z[1],n=Z[2];return[d7(a,l+10),t,i,r,e+d7(a,l+30)+d7(a,l+32),n]},xP=function(a,l){for(;d7(a,l)!=1;l+=4+d7(a,l+2));return[Vn(a,l+12),Vn(a,l+4),Vn(a,l+20)]};var dF=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(a){a()};function CF(a,l,c){if(!c)c=l,l={};if(typeof c!="function")n5(7);var o=[],r=function(){for(var A=0;A<o.length;++A)o[A]()},e={},h=function(A,m){dF(function(){c(A,m)})};dF(function(){h=c});var Z=a.length-22;for(;U2(a,Z)!=101010256;--Z)if(!Z||a.length-Z>65558)return h(n5(13,0,1),null),r;var t=d7(a,Z+8);if(t){var i=t,n=U2(a,Z+16),v=n==4294967295||i==65535;if(v){var d=U2(a,Z-12);if(v=U2(a,d)==101075792,v)i=t=U2(a,d+32),n=U2(a,d+48)}var M=l&&l.filter,_=function(A){var m=FP(a,n,v),u=m[0],V=m[1],s=m[2],F=m[3],L=m[4],C=m[5],P=fP(a,C);n=L;var W=function(t1,N){if(t1)r(),h(t1,null);else{if(N)e[F]=N;if(!--t)h(null,e)}};if(!M||M({name:F,size:V,originalSize:s,compression:u}))if(!u)W(null,_h(a,P,P+V));else if(u==8){var r1=a.subarray(P,P+V);if(s<524288||V>0.8*s)try{W(null,Ln(r1,{out:new d5(s)}))}catch(t1){W(t1,null)}else o.push(HP(r1,{size:s},W))}else W(n5(14,"unknown compression type "+u,1),null);else W(null,null)};for(var p=0;p<i;++p)_(p)}else h(null,{});return r}async function RF(a){let l=await a.arrayBuffer(),c={data:[],warnings:[],error:"",isError:!1},o=new Promise((v,d)=>{CF(new Uint8Array(l),(M,_)=>{if(M)d(M);v(_)})}),r=void 0;try{r=await o}catch(v){return c.error=`${v}`,c.isError=!0,c}let e=[];Object.keys(r).forEach((v)=>{e.push(v)});let h=e.find((v)=>v.toLowerCase().endsWith(k0));if(!h)c.warnings.push("No manifest file found in the zip."),h="";let Z=h.lastIndexOf("/"),t="";if(Z>-1)t=h.substring(0,Z+1);let i=e.filter((v)=>!v.startsWith(t)),n=e.filter((v)=>v.startsWith(t));if(i.length>0)c.warnings.push("Some files are not in the root directory and wont be included."),c.warnings.push(...i.map((v)=>`File: ${v}`));return n.forEach((v)=>{let d=r[v],M=v.substring(t.length);if(d.length>0)c.data.push({fileName:M,content:d})}),c}var wF={display:"flex",flexDirection:"column",alignItems:"center",padding:"20px",borderWidth:2,borderRadius:4,borderColor:"#eeeeee",borderStyle:"dashed",outline:"none",transition:"border .24s ease-in-out",gap:12,minHeight:"68px",justifyContent:"center"},SF={borderColor:r2.colorCompoundBrandForeground1},GF={borderColor:r2.colorPaletteGreenForeground1},UF={borderColor:r2.colorPaletteRedForeground1};var y3=R0([]),gP=R0(!1);function DF(){let[a,l]=h1(0);async function c(o){y3.value=[...o];let r=iF(j1,C1.value.name,o),e=await r.next(),h=1;while(!e.done){l(h++);let Z=e.value,t=o.find((n)=>n.fileName===Z.fileName),i=Z.fileName.toLowerCase().endsWith(k0);if(t)t.status=Z.success?"uploaded":"error";if(i&&Z.success&&t){let n=U1(C1.value),v=(/*@__PURE__*/new TextDecoder()).decode(t.content),d=JSON.parse(v);n.manifest=d,v7(n,!0)}y3.value=[...o],e=await r.next()}setTimeout(()=>{gP.value=!0,y3.value=[],l(0)},3000)}return/*@__PURE__*/H(Z1,{gap:16,children:/*@__PURE__*/H(Z1,{children:/*@__PURE__*/H(ZF,{useFsAccessApi:!1,onDropAccepted:(o,r)=>{if(o.length===1&&o[0].name.endsWith(".zip")){RF(o[0]).then((e)=>{let h=e.data.map((Z)=>{return{status:"uploading",...Z}});c(h)});return}tF(o).then((e)=>{let h=e.data.map((Z)=>{return{status:"uploading",...Z}});c(h)})},multiple:!0,noClick:!0,noKeyboard:!0,children:({getRootProps:o,getInputProps:r,isFocused:e,isDragAccept:h,isDragReject:Z,open:t})=>/*@__PURE__*/H("div",{...o({style:{...wF,...e?SF:{},...h?GF:{},...Z?UF:{}}}),children:y3.value.some((i)=>i.status==="uploading")?/*@__PURE__*/H(a4,{validationMessage:`Uploaded ${a} of ${y3.value.length} files `,validationState:"none",validation:!0,style:{width:"100%"},children:/*@__PURE__*/H(P7,{max:y3.value.length-1,value:a,thickness:"large"},void 0,!1,void 0,this)},void 0,!1,void 0,this):/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H("input",{...r()},void 0,!1,void 0,this),/*@__PURE__*/H(Q5,{children:[/*@__PURE__*/H(P6,{children:"Choose a file(s) "},void 0,!1,void 0,this),"or drag it here"]},void 0,!0,void 0,this),/*@__PURE__*/H(f1,{appearance:"primary",onClick:t,children:"Browse"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)}function BF({jsFiles:a}){let l=C1.value,c=S7();async function o(r,e){if(!l)return;if(r)l.manifest.appRelativeEntryPointUrls.push(e);if(!r)l.manifest.appRelativeEntryPointUrls=l.manifest.appRelativeEntryPointUrls.filter((h)=>h!==e);v7(l,!0)}if(!l)return null;return/*@__PURE__*/H(s2,{...c,separator:!0,open:H8.value,onOpenChange:(r,{open:e})=>{H8.value=e},style:{width:"440px"},children:[/*@__PURE__*/H(f2,{children:/*@__PURE__*/H(F2,{action:/*@__PURE__*/H(f1,{appearance:"subtle","aria-label":"Close",icon:/*@__PURE__*/H(I2,{},void 0,!1,void 0,this),onClick:()=>H8.value=!1},void 0,!1,void 0,this),children:"Manage Entry Points"},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(V2,{children:/*@__PURE__*/H(Z1,{gap:16,style:{padding:"12px 0px"},children:[/*@__PURE__*/H(DF,{},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{gap:4,children:[a.map((r)=>/*@__PURE__*/H(f0,{label:r,labelPosition:"before",defaultChecked:l.manifest.appRelativeEntryPointUrls.some((e)=>e===r),onChange:(e,h)=>{o(h.checked,r)},root:{style:{justifyContent:"space-between"}}},void 0,!1,void 0,this)),/*@__PURE__*/H(Z1,{gap:20,style:{marginTop:"10px",padding:"0px 10px 0 8px"},children:y3.value.map((r)=>/*@__PURE__*/H(Z1,{horizontalAlign:"space-between",horizontal:!0,children:[/*@__PURE__*/H(Z1,{children:r.fileName},void 0,!1,void 0,this),r.status==="uploaded"&&/*@__PURE__*/H(b0,{size:"medium",appearance:"ghost",color:"success",icon:/*@__PURE__*/H(am,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),r.status==="error"&&/*@__PURE__*/H(b0,{size:"medium",appearance:"ghost",color:"danger",icon:/*@__PURE__*/H(Zm,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),r.status==="uploading"&&/*@__PURE__*/H(D5,{size:"tiny"},void 0,!1,void 0,this)]},r.fileName,!0,void 0,this))},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function kF(){let a=C1.value,l=y(null),c=Q((o)=>{l.current?.setTarget(o)},[l]);if(!a)return null;return/*@__PURE__*/H(i1,{children:[/*@__PURE__*/H(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{borderBottom:"1px solid #eaeaea",paddingBottom:"10px"},children:[/*@__PURE__*/H(a5,{children:"Entry points"},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{horizontal:!0,verticalAlign:"center",children:/*@__PURE__*/H(n2,{positioning:{positioningRef:l},withArrow:!0,children:[/*@__PURE__*/H(z5,{disableButtonEnhancement:!0,children:/*@__PURE__*/H(D0,{children:/*@__PURE__*/H(ar,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(v2,{tabIndex:-1,children:/*@__PURE__*/H(J5,{children:/*@__PURE__*/H(Q5,{children:["Select files that export an array of ",/*@__PURE__*/H("i",{children:"SPFxExtensionAppRegistration"},void 0,!1,void 0,this)," as default export."]},void 0,!0,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),B4.value.filter((o)=>a.manifest.appRelativeEntryPointUrls.some((r)=>o===r)).map((o)=>/*@__PURE__*/H(Z1,{horizontal:!0,gap:4,verticalAlign:"center",children:[/*@__PURE__*/H(lm,{},void 0,!1,void 0,this)," ",o]},void 0,!0,void 0,this)),/*@__PURE__*/H(f1,{onClick:()=>{H8.value=!0},children:"Upload / Edit"},void 0,!1,void 0,this),/*@__PURE__*/H(BF,{jsFiles:B4.value},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}function yF(){let a=C1.value;if(!a)return null;return/*@__PURE__*/H(Z1,{horizontal:!0,gap:20,children:[/*@__PURE__*/H(Z1,{gap:16,style:{paddingBottom:"20px",flexBasis:"300px",flexShrink:0,paddingRight:"20px",borderRight:"1px solid #eaeaea"},children:/*@__PURE__*/H(kF,{},void 0,!1,void 0,this)},void 0,!1,void 0,this),/*@__PURE__*/H(Z1,{style:{flexGrow:1},children:[/*@__PURE__*/H(Z1,{horizontal:!0,horizontalAlign:"space-between",verticalAlign:"center",style:{minHeight:"32px"},children:[/*@__PURE__*/H(Z1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/H(a5,{children:"App/Entry Point Configuration"},void 0,!1,void 0,this),/*@__PURE__*/H(df,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(Z1,{gap:8,horizontal:!0,children:[/*@__PURE__*/H(f0,{checked:a.manifest.enableCaching,label:"Enable caching",onChange:(l,c)=>{a.manifest.enableCaching=c.checked,v7(a)}},void 0,!1,void 0,this),/*@__PURE__*/H(N0,{placeholder:"Cache string",disabled:!a.manifest.enableCaching,type:"text",value:a.manifest.cacheString??"",onChange:(l,c)=>{a.manifest.cacheString=c.value,v7(a)}},void 0,!1,void 0,this),/*@__PURE__*/H(f1,{size:"medium",disabled:!a.manifest.enableCaching,onClick:async()=>{a.manifest.cacheString=await vf(),v7(a)},children:"Generate"},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(Hf,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)}function OF(){let[a,l]=h1(""),[c,o]=h1(!1);$5(()=>{if(!C1.value)return;let e=JSON.stringify(C1.value);if(!a){l(e);return}l(e),o(a!==e)});async function r(){let e=C1.value;await GV(j1,e.name,e.manifest),v7(e,!0),C1.value=void 0}if(!C1.value)return null;return/*@__PURE__*/H(Z1,{gap:20,style:{height:"100%"},children:[/*@__PURE__*/H(Z1,{horizontalAlign:"space-between",horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/H(Z1,{gap:10,horizontal:!0,verticalAlign:"center",children:[/*@__PURE__*/H(f1,{appearance:"secondary",icon:/*@__PURE__*/H(KA,{},void 0,!1,void 0,this),onClick:()=>{C1.value=void 0}},void 0,!1,void 0,this),/*@__PURE__*/H(T6,{children:["Configuration of ",C1.value.name]},void 0,!0,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(Z1,{horizontal:!0,gap:15,children:/*@__PURE__*/H(UV,{children:/*@__PURE__*/H(f1,{appearance:"primary",disabled:!c,onClick:r,children:"Save"},void 0,!1,void 0,this)},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(yF,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var Cn=M8(),Ah=Cn??C4(),mh=Ye();function LP(){let a=[];if(w2)return a.push(/*@__PURE__*/H(b0,{size:"extra-large",shape:"rounded",color:"danger",children:"Global"},"global",!1,void 0,this)),a;if(mh==="hubRoot")a.push(/*@__PURE__*/H(b0,{size:"extra-large",shape:"rounded",color:"success",children:"Hub root site"},"hubRoot",!1,void 0,this));if(mh==="hubChild")a.push(/*@__PURE__*/H(b0,{size:"extra-large",shape:"rounded",color:"warning",children:"Hub child site"},"child",!1,void 0,this));if(mh==="nonHub")a.push(/*@__PURE__*/H(b0,{size:"extra-large",shape:"rounded",color:"brand",children:"Non hub site"},"nonhub",!1,void 0,this));if(mh==="subsite")a.push(/*@__PURE__*/H(b0,{size:"extra-large",shape:"rounded",color:"informative",children:"Sub site"},"subsite",!1,void 0,this));else a.push(/*@__PURE__*/H(b0,{size:"extra-large",shape:"rounded",color:"informative",children:"Site collection"},"siteCollectionRoot",!1,void 0,this));return a}function PF(){let[a]=AZ(),{dispatchToast:l}=x4(U3);if(a)return m1("Error in App component:",a),/*@__PURE__*/H("div",{children:["Error: ",a.message]},void 0,!0,void 0,this);let c=()=>l(/*@__PURE__*/H(H2,{children:/*@__PURE__*/H(u2,{children:"Link copied to clipboard."},void 0,!1,void 0,this)},void 0,!1,void 0,this),{position:"top",intent:"info",timeout:1000,toastId:Ah});return/*@__PURE__*/H(Z1,{style:{padding:"30px"},gap:20,children:[/*@__PURE__*/H(Z1,{horizontal:!0,gap:16,verticalAlign:"center",children:[/*@__PURE__*/H(E6,{children:[Cn?"Web":"Global"," application list"]},void 0,!0,void 0,this),...LP()]},void 0,!0,void 0,this),Cn&&/*@__PURE__*/H(Z1,{horizontal:!0,gap:8,verticalAlign:"center",children:[/*@__PURE__*/H(D0,{target:"_blank",href:Ah,children:Ah},void 0,!1,void 0,this),/*@__PURE__*/H(IA,{onClick:()=>{navigator.clipboard.writeText(Ah),c()}},void 0,!1,void 0,this)]},void 0,!0,void 0,this),/*@__PURE__*/H(SV,{},void 0,!1,void 0,this),/*@__PURE__*/H(OF,{},void 0,!1,void 0,this),/*@__PURE__*/H(wV,{},void 0,!1,void 0,this),/*@__PURE__*/H(VV,{},void 0,!1,void 0,this)]},void 0,!0,void 0,this)}var TF=ve(window.__globalSettings__.customizations.settings.theme.palette),CP=window.__globalSettings__.customizations.settings.theme.isInverted?s6(TF):h3(TF);document.querySelector("#spCommandBar button[name='Edit']")?.setAttribute("style","display:none;");function EF(a){return/*@__PURE__*/H(K3,{theme:CP,style:{height:"100%"},children:/*@__PURE__*/H(PF,{},void 0,!1,void 0,this)},void 0,!1,void 0,this)}async function h10(a){if(a.domElement)A7(EF({instance:a}),a.domElement);return()=>{if(a.domElement)A7(null,a.domElement)}}export{h10 as launch};
|